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

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

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.

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

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.

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