Class VerifyAttestationRequest.Builder (0.28.0)

public static final class VerifyAttestationRequest.Builder extends GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder> implements VerifyAttestationRequestOrBuilder

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.v1alpha1.VerifyAttestationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VerifyAttestationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

build()

public VerifyAttestationRequest build()
Returns
Type Description
VerifyAttestationRequest

buildPartial()

public VerifyAttestationRequest buildPartial()
Returns
Type Description
VerifyAttestationRequest

clear()

public VerifyAttestationRequest.Builder clear()
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

clearChallenge()

public VerifyAttestationRequest.Builder clearChallenge()

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)

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

clearGcpCredentials()

public VerifyAttestationRequest.Builder clearGcpCredentials()

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

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

Returns
Type Description
VerifyAttestationRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTpmAttestation()

public VerifyAttestationRequest.Builder clearTpmAttestation()

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

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

Returns
Type Description
VerifyAttestationRequest.Builder

clone()

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

getChallenge()

public String getChallenge()

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()

public ByteString getChallengeBytes()

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()

public VerifyAttestationRequest getDefaultInstanceForType()
Returns
Type Description
VerifyAttestationRequest

getDescriptorForType()

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

getGcpCredentials()

public GcpCredentials getGcpCredentials()

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

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

Returns
Type Description
GcpCredentials

The gcpCredentials.

getGcpCredentialsBuilder()

public GcpCredentials.Builder getGcpCredentialsBuilder()

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

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

Returns
Type Description
GcpCredentials.Builder

getGcpCredentialsOrBuilder()

public GcpCredentialsOrBuilder getGcpCredentialsOrBuilder()

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

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

Returns
Type Description
GcpCredentialsOrBuilder

getTpmAttestation()

public TpmAttestation getTpmAttestation()

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

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

Returns
Type Description
TpmAttestation

The tpmAttestation.

getTpmAttestationBuilder()

public TpmAttestation.Builder getTpmAttestationBuilder()

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

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

Returns
Type Description
TpmAttestation.Builder

getTpmAttestationOrBuilder()

public TpmAttestationOrBuilder getTpmAttestationOrBuilder()

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

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

Returns
Type Description
TpmAttestationOrBuilder

hasGcpCredentials()

public boolean hasGcpCredentials()

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

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

Returns
Type Description
boolean

Whether the gcpCredentials field is set.

hasTpmAttestation()

public boolean hasTpmAttestation()

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

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

Returns
Type Description
boolean

Whether the tpmAttestation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VerifyAttestationRequest other)

public VerifyAttestationRequest.Builder mergeFrom(VerifyAttestationRequest other)
Parameter
Name Description
other VerifyAttestationRequest
Returns
Type Description
VerifyAttestationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VerifyAttestationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VerifyAttestationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

mergeGcpCredentials(GcpCredentials value)

public VerifyAttestationRequest.Builder mergeGcpCredentials(GcpCredentials value)

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

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

Parameter
Name Description
value GcpCredentials
Returns
Type Description
VerifyAttestationRequest.Builder

mergeTpmAttestation(TpmAttestation value)

public VerifyAttestationRequest.Builder mergeTpmAttestation(TpmAttestation value)

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

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

Parameter
Name Description
value TpmAttestation
Returns
Type Description
VerifyAttestationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VerifyAttestationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

setChallenge(String value)

public VerifyAttestationRequest.Builder setChallenge(String value)

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)

public VerifyAttestationRequest.Builder setChallengeBytes(ByteString value)

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)

public VerifyAttestationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

setGcpCredentials(GcpCredentials value)

public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials value)

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

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

Parameter
Name Description
value GcpCredentials
Returns
Type Description
VerifyAttestationRequest.Builder

setGcpCredentials(GcpCredentials.Builder builderForValue)

public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials.Builder builderForValue)

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

.google.cloud.confidentialcomputing.v1alpha1.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)

public VerifyAttestationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides

setTpmAttestation(TpmAttestation value)

public VerifyAttestationRequest.Builder setTpmAttestation(TpmAttestation value)

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

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

Parameter
Name Description
value TpmAttestation
Returns
Type Description
VerifyAttestationRequest.Builder

setTpmAttestation(TpmAttestation.Builder builderForValue)

public VerifyAttestationRequest.Builder setTpmAttestation(TpmAttestation.Builder builderForValue)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final VerifyAttestationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VerifyAttestationRequest.Builder
Overrides