Class VerifyAttestationRequest (0.29.0)

publicfinalclass VerifyAttestationRequestextendsGeneratedMessageV3implementsVerifyAttestationRequestOrBuilder

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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

CHALLENGE_FIELD_NUMBER

publicstaticfinalintCHALLENGE_FIELD_NUMBER
Field Value
Type Description
int

CONFIDENTIAL_SPACE_INFO_FIELD_NUMBER

publicstaticfinalintCONFIDENTIAL_SPACE_INFO_FIELD_NUMBER
Field Value
Type Description
int

GCP_CREDENTIALS_FIELD_NUMBER

publicstaticfinalintGCP_CREDENTIALS_FIELD_NUMBER
Field Value
Type Description
int

TOKEN_OPTIONS_FIELD_NUMBER

publicstaticfinalintTOKEN_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

TPM_ATTESTATION_FIELD_NUMBER

publicstaticfinalintTPM_ATTESTATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticVerifyAttestationRequestgetDefaultInstance()
Returns
Type Description
VerifyAttestationRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticVerifyAttestationRequest.BuildernewBuilder()
Returns
Type Description
VerifyAttestationRequest.Builder

newBuilder(VerifyAttestationRequest prototype)

publicstaticVerifyAttestationRequest.BuildernewBuilder(VerifyAttestationRequestprototype)
Parameter
Name Description
prototype VerifyAttestationRequest
Returns
Type Description
VerifyAttestationRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticVerifyAttestationRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticVerifyAttestationRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticVerifyAttestationRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticVerifyAttestationRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticVerifyAttestationRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticVerifyAttestationRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticVerifyAttestationRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticVerifyAttestationRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticVerifyAttestationRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticVerifyAttestationRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticVerifyAttestationRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticVerifyAttestationRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyAttestationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<VerifyAttestationRequest>parser()
Returns
Type Description
Parser<VerifyAttestationRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

getConfidentialSpaceInfo()

publicConfidentialSpaceInfogetConfidentialSpaceInfo()

Optional. Optional information related to the Confidential Space TEE.

.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfidentialSpaceInfo

The confidentialSpaceInfo.

getConfidentialSpaceInfoOrBuilder()

publicConfidentialSpaceInfoOrBuildergetConfidentialSpaceInfoOrBuilder()

Optional. Optional information related to the Confidential Space TEE.

.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfidentialSpaceInfoOrBuilder

getDefaultInstanceForType()

publicVerifyAttestationRequestgetDefaultInstanceForType()
Returns
Type Description
VerifyAttestationRequest

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.

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

getParserForType()

publicParser<VerifyAttestationRequest>getParserForType()
Returns
Type Description
Parser<VerifyAttestationRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getTokenOptions()

publicTokenOptionsgetTokenOptions()

Optional. A collection of optional, workload-specified claims that modify the token output.

.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TokenOptions

The tokenOptions.

getTokenOptionsOrBuilder()

publicTokenOptionsOrBuildergetTokenOptionsOrBuilder()

Optional. A collection of optional, workload-specified claims that modify the token output.

.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TokenOptionsOrBuilder

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.

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

hasConfidentialSpaceInfo()

publicbooleanhasConfidentialSpaceInfo()

Optional. Optional information related to the Confidential Space TEE.

.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the confidentialSpaceInfo field is set.

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.

hasTokenOptions()

publicbooleanhasTokenOptions()

Optional. A collection of optional, workload-specified claims that modify the token output.

.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tokenOptions 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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicVerifyAttestationRequest.BuildernewBuilderForType()
Returns
Type Description
VerifyAttestationRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedVerifyAttestationRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicVerifyAttestationRequest.BuildertoBuilder()
Returns
Type Description
VerifyAttestationRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.