Class VerifyConfidentialSpaceResponse.Builder (0.60.0)

public static final class VerifyConfidentialSpaceResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VerifyConfidentialSpaceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public VerifyConfidentialSpaceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VerifyConfidentialSpaceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VerifyConfidentialSpaceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public VerifyConfidentialSpaceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VerifyConfidentialSpaceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VerifyConfidentialSpaceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VerifyConfidentialSpaceResponse.Builder
Overrides