Class VerifyAttestationResponse.Builder (0.34.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
Type Description
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
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
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
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
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
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
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
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 VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.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 VerifyAttestationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyAttestationResponse.Builder
Overrides

build()

public VerifyAttestationResponse build()
Returns
Type Description
VerifyAttestationResponse

buildPartial()

public VerifyAttestationResponse buildPartial()
Returns
Type Description
VerifyAttestationResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public VerifyAttestationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
VerifyAttestationResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VerifyAttestationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
VerifyAttestationResponse.Builder

clone()

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

getDefaultInstanceForType()

public VerifyAttestationResponse getDefaultInstanceForType()
Returns
Type Description
VerifyAttestationResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
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 VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.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 VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.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 VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.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 VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.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 VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.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 VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.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(VerifyAttestationResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VerifyAttestationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
VerifyAttestationResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VerifyAttestationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The oidcClaimsToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for oidcClaimsToken to set.

Returns
Type Description
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
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
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
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
VerifyAttestationResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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