Class VerifyAttestationResponse.Builder (0.5.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
TypeDescription
Descriptor

Methods

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

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
TypeDescription
VerifyAttestationResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public VerifyAttestationResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
ByteString

The claimsToken.

getDefaultInstanceForType()

public VerifyAttestationResponse getDefaultInstanceForType()
Returns
TypeDescription
VerifyAttestationResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

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
NameDescription
valueByteString

The claimsToken to set.

Returns
TypeDescription
VerifyAttestationResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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