Class VerifyAttestationRequest.Builder (0.1.0)

publicstaticfinalclass VerifyAttestationRequest.BuilderextendsGeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>implementsVerifyAttestationRequestOrBuilder

A request for an OIDC token, providing all the necessary information needed for this service to verify the plaform state of the requestor.

Protobuf type google.cloud.confidentialcomputing.v1.VerifyAttestationRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicVerifyAttestationRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

build()

publicVerifyAttestationRequestbuild()
Returns
Type Description
VerifyAttestationRequest

buildPartial()

publicVerifyAttestationRequestbuildPartial()
Returns
Type Description
VerifyAttestationRequest

clear()

publicVerifyAttestationRequest.Builderclear()
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

clearChallenge()

publicVerifyAttestationRequest.BuilderclearChallenge()

Required. The name of the Challenge whose nonce was used to generate the attestation, in the format projects/*/locations/*/challenges/*. The provided Challenge will be consumed, and cannot be used again.

string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
VerifyAttestationRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicVerifyAttestationRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

clearGcpCredentials()

publicVerifyAttestationRequest.BuilderclearGcpCredentials()

Optional. Credentials used to populate the "emails" claim in the claims_token.

.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyAttestationRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicVerifyAttestationRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

clearTpmAttestation()

publicVerifyAttestationRequest.BuilderclearTpmAttestation()

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

.google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VerifyAttestationRequest.Builder

clone()

publicVerifyAttestationRequest.Builderclone()
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

getChallenge()

publicStringgetChallenge()

Required. The name of the Challenge whose nonce was used to generate the attestation, in the format projects/*/locations/*/challenges/*. The provided Challenge will be consumed, and cannot be used again.

string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The challenge.

getChallengeBytes()

publicByteStringgetChallengeBytes()

Required. The name of the Challenge whose nonce was used to generate the attestation, in the format projects/*/locations/*/challenges/*. The provided Challenge will be consumed, and cannot be used again.

string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for challenge.

getDefaultInstanceForType()

publicVerifyAttestationRequestgetDefaultInstanceForType()
Returns
Type Description
VerifyAttestationRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcpCredentials()

publicGcpCredentialsgetGcpCredentials()

Optional. Credentials used to populate the "emails" claim in the claims_token.

.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcpCredentials

The gcpCredentials.

getGcpCredentialsBuilder()

publicGcpCredentials.BuildergetGcpCredentialsBuilder()

Optional. Credentials used to populate the "emails" claim in the claims_token.

.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcpCredentials.Builder

getGcpCredentialsOrBuilder()

publicGcpCredentialsOrBuildergetGcpCredentialsOrBuilder()

Optional. Credentials used to populate the "emails" claim in the claims_token.

.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcpCredentialsOrBuilder

getTpmAttestation()

publicTpmAttestationgetTpmAttestation()

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

.google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TpmAttestation

The tpmAttestation.

getTpmAttestationBuilder()

publicTpmAttestation.BuildergetTpmAttestationBuilder()

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

.google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TpmAttestation.Builder

getTpmAttestationOrBuilder()

publicTpmAttestationOrBuildergetTpmAttestationOrBuilder()

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

.google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TpmAttestationOrBuilder

hasGcpCredentials()

publicbooleanhasGcpCredentials()

Optional. Credentials used to populate the "emails" claim in the claims_token.

.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gcpCredentials field is set.

hasTpmAttestation()

publicbooleanhasTpmAttestation()

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

.google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tpmAttestation field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VerifyAttestationRequest other)

publicVerifyAttestationRequest.BuildermergeFrom(VerifyAttestationRequestother)
Parameter
Name Description
other VerifyAttestationRequest
Returns
Type Description
VerifyAttestationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicVerifyAttestationRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicVerifyAttestationRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

mergeGcpCredentials(GcpCredentials value)

publicVerifyAttestationRequest.BuildermergeGcpCredentials(GcpCredentialsvalue)

Optional. Credentials used to populate the "emails" claim in the claims_token.

.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GcpCredentials
Returns
Type Description
VerifyAttestationRequest.Builder

mergeTpmAttestation(TpmAttestation value)

publicVerifyAttestationRequest.BuildermergeTpmAttestation(TpmAttestationvalue)

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

.google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TpmAttestation
Returns
Type Description
VerifyAttestationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalVerifyAttestationRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

setChallenge(String value)

publicVerifyAttestationRequest.BuildersetChallenge(Stringvalue)

Required. The name of the Challenge whose nonce was used to generate the attestation, in the format projects/*/locations/*/challenges/*. The provided Challenge will be consumed, and cannot be used again.

string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The challenge to set.

Returns
Type Description
VerifyAttestationRequest.Builder

This builder for chaining.

setChallengeBytes(ByteString value)

publicVerifyAttestationRequest.BuildersetChallengeBytes(ByteStringvalue)

Required. The name of the Challenge whose nonce was used to generate the attestation, in the format projects/*/locations/*/challenges/*. The provided Challenge will be consumed, and cannot be used again.

string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for challenge to set.

Returns
Type Description
VerifyAttestationRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicVerifyAttestationRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

setGcpCredentials(GcpCredentials value)

publicVerifyAttestationRequest.BuildersetGcpCredentials(GcpCredentialsvalue)

Optional. Credentials used to populate the "emails" claim in the claims_token.

.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GcpCredentials
Returns
Type Description
VerifyAttestationRequest.Builder

setGcpCredentials(GcpCredentials.Builder builderForValue)

publicVerifyAttestationRequest.BuildersetGcpCredentials(GcpCredentials.BuilderbuilderForValue)

Optional. Credentials used to populate the "emails" claim in the claims_token.

.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GcpCredentials.Builder
Returns
Type Description
VerifyAttestationRequest.Builder

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

publicVerifyAttestationRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

setTpmAttestation(TpmAttestation value)

publicVerifyAttestationRequest.BuildersetTpmAttestation(TpmAttestationvalue)

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

.google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TpmAttestation
Returns
Type Description
VerifyAttestationRequest.Builder

setTpmAttestation(TpmAttestation.Builder builderForValue)

publicVerifyAttestationRequest.BuildersetTpmAttestation(TpmAttestation.BuilderbuilderForValue)

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

.google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TpmAttestation.Builder
Returns
Type Description
VerifyAttestationRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalVerifyAttestationRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.