Class VerifyConfidentialSpaceResponse.Builder (0.69.0)

public static final class VerifyConfidentialSpaceResponse.Builder extends GeneratedMessage.Builder<VerifyConfidentialSpaceResponse.Builder> implements VerifyConfidentialSpaceResponseOrBuilder

VerifyConfidentialSpaceResponse is returned once a Confidential Space attestation has been successfully verified, containing a signed token.

Protobuf type google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPartialErrors(Iterable<? extends Status> values)

public VerifyConfidentialSpaceResponse.Builder addAllPartialErrors(Iterable<? extends Status> values)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

addPartialErrors(Status value)

public VerifyConfidentialSpaceResponse.Builder addPartialErrors(Status value)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

addPartialErrors(Status.Builder builderForValue)

public VerifyConfidentialSpaceResponse.Builder addPartialErrors(Status.Builder builderForValue)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

addPartialErrors(int index, Status value)

public VerifyConfidentialSpaceResponse.Builder addPartialErrors(int index, Status value)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

addPartialErrors(int index, Status.Builder builderForValue)

public VerifyConfidentialSpaceResponse.Builder addPartialErrors(int index, Status.Builder builderForValue)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

addPartialErrorsBuilder()

public Status.Builder addPartialErrorsBuilder()

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

addPartialErrorsBuilder(int index)

public Status.Builder addPartialErrorsBuilder(int index)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

build()

public VerifyConfidentialSpaceResponse build()
Returns
Type Description
VerifyConfidentialSpaceResponse

buildPartial()

public VerifyConfidentialSpaceResponse buildPartial()
Returns
Type Description
VerifyConfidentialSpaceResponse

clear()

public VerifyConfidentialSpaceResponse.Builder clear()
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides

clearAttestationToken()

public VerifyConfidentialSpaceResponse.Builder clearAttestationToken()

Output only. The attestation token issued by this service. It contains specific platform claims based on the contents of the provided attestation.

string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

This builder for chaining.

clearPartialErrors()

public VerifyConfidentialSpaceResponse.Builder clearPartialErrors()

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

getAttestationToken()

public String getAttestationToken()

Output only. The attestation token issued by this service. It contains specific platform claims based on the contents of the provided attestation.

string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The attestationToken.

getAttestationTokenBytes()

public ByteString getAttestationTokenBytes()

Output only. The attestation token issued by this service. It contains specific platform claims based on the contents of the provided attestation.

string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for attestationToken.

getDefaultInstanceForType()

public VerifyConfidentialSpaceResponse getDefaultInstanceForType()
Returns
Type Description
VerifyConfidentialSpaceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPartialErrors(int index)

public Status getPartialErrors(int index)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialErrorsBuilder(int index)

public Status.Builder getPartialErrorsBuilder(int index)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

getPartialErrorsBuilderList()

public List<Status.Builder> getPartialErrorsBuilderList()

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<com.google.rpc.Status.Builder>

getPartialErrorsCount()

public int getPartialErrorsCount()

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPartialErrorsList()

public List<Status> getPartialErrorsList()

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<com.google.rpc.Status>

getPartialErrorsOrBuilder(int index)

public StatusOrBuilder getPartialErrorsOrBuilder(int index)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VerifyConfidentialSpaceResponse other)

public VerifyConfidentialSpaceResponse.Builder mergeFrom(VerifyConfidentialSpaceResponse other)
Parameter
Name Description
other VerifyConfidentialSpaceResponse
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VerifyConfidentialSpaceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VerifyConfidentialSpaceResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides

removePartialErrors(int index)

public VerifyConfidentialSpaceResponse.Builder removePartialErrors(int index)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

setAttestationToken(String value)

public VerifyConfidentialSpaceResponse.Builder setAttestationToken(String value)

Output only. The attestation token issued by this service. It contains specific platform claims based on the contents of the provided attestation.

string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The attestationToken to set.

Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

This builder for chaining.

setAttestationTokenBytes(ByteString value)

public VerifyConfidentialSpaceResponse.Builder setAttestationTokenBytes(ByteString value)

Output only. The attestation token issued by this service. It contains specific platform claims based on the contents of the provided attestation.

string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for attestationToken to set.

Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

This builder for chaining.

setPartialErrors(int index, Status value)

public VerifyConfidentialSpaceResponse.Builder setPartialErrors(int index, Status value)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder

setPartialErrors(int index, Status.Builder builderForValue)

public VerifyConfidentialSpaceResponse.Builder setPartialErrors(int index, Status.Builder builderForValue)

Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder