Class VerifyConfidentialGkeRequest.Builder (0.71.0)

public static final class VerifyConfidentialGkeRequest.Builder extends GeneratedMessage.Builder<VerifyConfidentialGkeRequest.Builder> implements VerifyConfidentialGkeRequestOrBuilder

A request for an attestation token, providing all the necessary information needed for this service to verify Confidential GKE platform state of the requestor.

Protobuf type google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest

Static Methods

getDescriptor()

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

Methods

build()

public VerifyConfidentialGkeRequest build()
Returns
Type Description
VerifyConfidentialGkeRequest

buildPartial()

public VerifyConfidentialGkeRequest buildPartial()
Returns
Type Description
VerifyConfidentialGkeRequest

clear()

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

clearChallenge()

public VerifyConfidentialGkeRequest.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
VerifyConfidentialGkeRequest.Builder

This builder for chaining.

clearOptions()

public VerifyConfidentialGkeRequest.Builder clearOptions()

Optional. A collection of fields that modify the token output.

.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialGkeRequest.Builder

clearTeeAttestation()

public VerifyConfidentialGkeRequest.Builder clearTeeAttestation()
Returns
Type Description
VerifyConfidentialGkeRequest.Builder

clearTpmAttestation()

public VerifyConfidentialGkeRequest.Builder clearTpmAttestation()

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 = 2;

Returns
Type Description
VerifyConfidentialGkeRequest.Builder

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 VerifyConfidentialGkeRequest getDefaultInstanceForType()
Returns
Type Description
VerifyConfidentialGkeRequest

getDescriptorForType()

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

getOptions()

public VerifyConfidentialGkeRequest.ConfidentialGkeOptions getOptions()

Optional. A collection of fields that modify the token output.

.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialGkeRequest.ConfidentialGkeOptions

The options.

getOptionsBuilder()

public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder getOptionsBuilder()

Optional. A collection of fields that modify the token output.

.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder

getOptionsOrBuilder()

public VerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder getOptionsOrBuilder()

Optional. A collection of fields that modify the token output.

.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder

getTeeAttestationCase()

public VerifyConfidentialGkeRequest.TeeAttestationCase getTeeAttestationCase()
Returns
Type Description
VerifyConfidentialGkeRequest.TeeAttestationCase

getTpmAttestation()

public TpmAttestation getTpmAttestation()

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 = 2;

Returns
Type Description
TpmAttestation

The tpmAttestation.

getTpmAttestationBuilder()

public TpmAttestation.Builder getTpmAttestationBuilder()

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 = 2;

Returns
Type Description
TpmAttestation.Builder

getTpmAttestationOrBuilder()

public TpmAttestationOrBuilder getTpmAttestationOrBuilder()

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 = 2;

Returns
Type Description
TpmAttestationOrBuilder

hasOptions()

public boolean hasOptions()

Optional. A collection of fields that modify the token output.

.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the options field is set.

hasTpmAttestation()

public boolean hasTpmAttestation()

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 = 2;

Returns
Type Description
boolean

Whether the tpmAttestation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VerifyConfidentialGkeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions value)

public VerifyConfidentialGkeRequest.Builder mergeOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions value)

Optional. A collection of fields that modify the token output.

.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VerifyConfidentialGkeRequest.ConfidentialGkeOptions
Returns
Type Description
VerifyConfidentialGkeRequest.Builder

mergeTpmAttestation(TpmAttestation value)

public VerifyConfidentialGkeRequest.Builder mergeTpmAttestation(TpmAttestation value)

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 = 2;

Parameter
Name Description
value TpmAttestation
Returns
Type Description
VerifyConfidentialGkeRequest.Builder

setChallenge(String value)

public VerifyConfidentialGkeRequest.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
VerifyConfidentialGkeRequest.Builder

This builder for chaining.

setChallengeBytes(ByteString value)

public VerifyConfidentialGkeRequest.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
VerifyConfidentialGkeRequest.Builder

This builder for chaining.

setOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions value)

public VerifyConfidentialGkeRequest.Builder setOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions value)

Optional. A collection of fields that modify the token output.

.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VerifyConfidentialGkeRequest.ConfidentialGkeOptions
Returns
Type Description
VerifyConfidentialGkeRequest.Builder

setOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder builderForValue)

public VerifyConfidentialGkeRequest.Builder setOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder builderForValue)

Optional. A collection of fields that modify the token output.

.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder
Returns
Type Description
VerifyConfidentialGkeRequest.Builder

setTpmAttestation(TpmAttestation value)

public VerifyConfidentialGkeRequest.Builder setTpmAttestation(TpmAttestation value)

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 = 2;

Parameter
Name Description
value TpmAttestation
Returns
Type Description
VerifyConfidentialGkeRequest.Builder

setTpmAttestation(TpmAttestation.Builder builderForValue)

public VerifyConfidentialGkeRequest.Builder setTpmAttestation(TpmAttestation.Builder builderForValue)

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 = 2;

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