Class VerifyAttestationResponse.Builder (0.29.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.v1alpha1.VerifyAttestationResponse

Static Methods

getDescriptor()

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

Methods

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

clearClaimsToken()

public VerifyAttestationResponse.Builder clearClaimsToken()

Output only. The OIDC token issued by this service. It contains specific

platform claims based on the contents of the provided attestation.

bytes claims_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyAttestationResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getClaimsToken()

public ByteString getClaimsToken()

Output only. The OIDC token issued by this service. It contains specific

platform claims based on the contents of the provided attestation.

bytes claims_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The claimsToken.

getDefaultInstanceForType()

public VerifyAttestationResponse getDefaultInstanceForType()
Returns
Type Description
VerifyAttestationResponse

getDescriptorForType()

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

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

setClaimsToken(ByteString value)

public VerifyAttestationResponse.Builder setClaimsToken(ByteString value)

Output only. The OIDC token issued by this service. It contains specific

platform claims based on the contents of the provided attestation.

bytes claims_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The claimsToken to set.

Returns
Type Description
VerifyAttestationResponse.Builder

This builder for chaining.

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

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