Class VerifyAttestationResponse.Builder (0.25.0)

public static final class VerifyAttestationResponse.Builder extends GeneratedMessageV3.Builder<VerifyAttestationResponse.Builder> implements VerifyAttestationResponseOrBuilder

A response once an attestation has been successfully verified, containing a signed OIDC token.

Protobuf type google.cloud.confidentialcomputing.v1.VerifyAttestationResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllPartialErrors(Iterable<? extends Status> values)

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

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameter
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
VerifyAttestationResponse.Builder

addPartialErrors(Status value)

public VerifyAttestationResponse.Builder addPartialErrors(Status value)

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
VerifyAttestationResponse.Builder

addPartialErrors(Status.Builder builderForValue)

public VerifyAttestationResponse.Builder addPartialErrors(Status.Builder builderForValue)

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
VerifyAttestationResponse.Builder

addPartialErrors(int index, Status value)

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

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
VerifyAttestationResponse.Builder

addPartialErrors(int index, Status.Builder builderForValue)

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

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
VerifyAttestationResponse.Builder

addPartialErrorsBuilder()

public Status.Builder addPartialErrorsBuilder()

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Returns
TypeDescription
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 VerifyAttestation.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VerifyAttestationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

build()

public VerifyAttestationResponse build()
Returns
TypeDescription
VerifyAttestationResponse

buildPartial()

public VerifyAttestationResponse buildPartial()
Returns
TypeDescription
VerifyAttestationResponse

clear()

public VerifyAttestationResponse.Builder clear()
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VerifyAttestationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

clearOidcClaimsToken()

public VerifyAttestationResponse.Builder clearOidcClaimsToken()

Output only. Same as claims_token, but as a string.

string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
VerifyAttestationResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VerifyAttestationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

clearPartialErrors()

public VerifyAttestationResponse.Builder clearPartialErrors()

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Returns
TypeDescription
VerifyAttestationResponse.Builder

clone()

public VerifyAttestationResponse.Builder clone()
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

getDefaultInstanceForType()

public VerifyAttestationResponse getDefaultInstanceForType()
Returns
TypeDescription
VerifyAttestationResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOidcClaimsToken()

public String getOidcClaimsToken()

Output only. Same as claims_token, but as a string.

string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The oidcClaimsToken.

getOidcClaimsTokenBytes()

public ByteString getOidcClaimsTokenBytes()

Output only. Same as claims_token, but as a string.

string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for oidcClaimsToken.

getPartialErrors(int index)

public Status getPartialErrors(int index)

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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 VerifyAttestation.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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 VerifyAttestation.

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

Returns
TypeDescription
List<com.google.rpc.Status.Builder>

getPartialErrorsCount()

public int getPartialErrorsCount()

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Returns
TypeDescription
int

getPartialErrorsList()

public List<Status> getPartialErrorsList()

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Returns
TypeDescription
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 VerifyAttestation.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getPartialErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VerifyAttestationResponse other)

public VerifyAttestationResponse.Builder mergeFrom(VerifyAttestationResponse other)
Parameter
NameDescription
otherVerifyAttestationResponse
Returns
TypeDescription
VerifyAttestationResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VerifyAttestationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VerifyAttestationResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VerifyAttestationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

removePartialErrors(int index)

public VerifyAttestationResponse.Builder removePartialErrors(int index)

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VerifyAttestationResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VerifyAttestationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

setOidcClaimsToken(String value)

public VerifyAttestationResponse.Builder setOidcClaimsToken(String value)

Output only. Same as claims_token, but as a string.

string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The oidcClaimsToken to set.

Returns
TypeDescription
VerifyAttestationResponse.Builder

This builder for chaining.

setOidcClaimsTokenBytes(ByteString value)

public VerifyAttestationResponse.Builder setOidcClaimsTokenBytes(ByteString value)

Output only. Same as claims_token, but as a string.

string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for oidcClaimsToken to set.

Returns
TypeDescription
VerifyAttestationResponse.Builder

This builder for chaining.

setPartialErrors(int index, Status value)

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

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
VerifyAttestationResponse.Builder

setPartialErrors(int index, Status.Builder builderForValue)

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

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

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

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
VerifyAttestationResponse.Builder

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

public VerifyAttestationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VerifyAttestationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VerifyAttestationResponse.Builder
Overrides