Class VerifyConfidentialSpaceRequest.Builder (0.60.0)

public static final class VerifyConfidentialSpaceRequest.Builder extends GeneratedMessageV3.Builder<VerifyConfidentialSpaceRequest.Builder> implements VerifyConfidentialSpaceRequestOrBuilder

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

Protobuf type google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest

Static Methods

getDescriptor()

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

Methods

addAllSignedEntities(Iterable<? extends SignedEntity> values)

public VerifyConfidentialSpaceRequest.Builder addAllSignedEntities(Iterable<? extends SignedEntity> values)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.confidentialcomputing.v1.SignedEntity>
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSignedEntities(SignedEntity value)

public VerifyConfidentialSpaceRequest.Builder addSignedEntities(SignedEntity value)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SignedEntity
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

addSignedEntities(SignedEntity.Builder builderForValue)

public VerifyConfidentialSpaceRequest.Builder addSignedEntities(SignedEntity.Builder builderForValue)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SignedEntity.Builder
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

addSignedEntities(int index, SignedEntity value)

public VerifyConfidentialSpaceRequest.Builder addSignedEntities(int index, SignedEntity value)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value SignedEntity
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

addSignedEntities(int index, SignedEntity.Builder builderForValue)

public VerifyConfidentialSpaceRequest.Builder addSignedEntities(int index, SignedEntity.Builder builderForValue)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue SignedEntity.Builder
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

addSignedEntitiesBuilder()

public SignedEntity.Builder addSignedEntitiesBuilder()

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SignedEntity.Builder

addSignedEntitiesBuilder(int index)

public SignedEntity.Builder addSignedEntitiesBuilder(int index)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SignedEntity.Builder

build()

public VerifyConfidentialSpaceRequest build()
Returns
Type Description
VerifyConfidentialSpaceRequest

buildPartial()

public VerifyConfidentialSpaceRequest buildPartial()
Returns
Type Description
VerifyConfidentialSpaceRequest

clear()

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

clearChallenge()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGceShieldedIdentity()

public VerifyConfidentialSpaceRequest.Builder clearGceShieldedIdentity()

Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

.google.cloud.confidentialcomputing.v1.GceShieldedIdentity gce_shielded_identity = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

clearGcpCredentials()

public VerifyConfidentialSpaceRequest.Builder clearGcpCredentials()

Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.

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

Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOptions()

public VerifyConfidentialSpaceRequest.Builder clearOptions()

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

.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions options = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

clearSignedEntities()

public VerifyConfidentialSpaceRequest.Builder clearSignedEntities()

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

clearTdCcel()

public VerifyConfidentialSpaceRequest.Builder clearTdCcel()

Input only. A TDX with CCEL and RTMR Attestation Quote.

.google.cloud.confidentialcomputing.v1.TdxCcelAttestation td_ccel = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

clearTeeAttestation()

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

clearTpmAttestation()

public VerifyConfidentialSpaceRequest.Builder clearTpmAttestation()

Input only. 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 = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

clone()

public VerifyConfidentialSpaceRequest.Builder clone()
Returns
Type Description
VerifyConfidentialSpaceRequest.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 VerifyConfidentialSpaceRequest getDefaultInstanceForType()
Returns
Type Description
VerifyConfidentialSpaceRequest

getDescriptorForType()

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

getGceShieldedIdentity()

public GceShieldedIdentity getGceShieldedIdentity()

Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

.google.cloud.confidentialcomputing.v1.GceShieldedIdentity gce_shielded_identity = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GceShieldedIdentity

The gceShieldedIdentity.

getGceShieldedIdentityBuilder()

public GceShieldedIdentity.Builder getGceShieldedIdentityBuilder()

Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

.google.cloud.confidentialcomputing.v1.GceShieldedIdentity gce_shielded_identity = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GceShieldedIdentity.Builder

getGceShieldedIdentityOrBuilder()

public GceShieldedIdentityOrBuilder getGceShieldedIdentityOrBuilder()

Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

.google.cloud.confidentialcomputing.v1.GceShieldedIdentity gce_shielded_identity = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GceShieldedIdentityOrBuilder

getGcpCredentials()

public GcpCredentials getGcpCredentials()

Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.

.google.cloud.confidentialcomputing.v1.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. If not present, token will not contain the "emails" claim.

.google.cloud.confidentialcomputing.v1.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. If not present, token will not contain the "emails" claim.

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

Returns
Type Description
GcpCredentialsOrBuilder

getOptions()

public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions getOptions()

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

.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions options = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions

The options.

getOptionsBuilder()

public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder getOptionsBuilder()

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

.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions options = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder

getOptionsOrBuilder()

public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder getOptionsOrBuilder()

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

.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions options = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder

getSignedEntities(int index)

public SignedEntity getSignedEntities(int index)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SignedEntity

getSignedEntitiesBuilder(int index)

public SignedEntity.Builder getSignedEntitiesBuilder(int index)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SignedEntity.Builder

getSignedEntitiesBuilderList()

public List<SignedEntity.Builder> getSignedEntitiesBuilderList()

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getSignedEntitiesCount()

public int getSignedEntitiesCount()

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSignedEntitiesList()

public List<SignedEntity> getSignedEntitiesList()

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SignedEntity>

getSignedEntitiesOrBuilder(int index)

public SignedEntityOrBuilder getSignedEntitiesOrBuilder(int index)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SignedEntityOrBuilder

getSignedEntitiesOrBuilderList()

public List<? extends SignedEntityOrBuilder> getSignedEntitiesOrBuilderList()

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.confidentialcomputing.v1.SignedEntityOrBuilder>

getTdCcel()

public TdxCcelAttestation getTdCcel()

Input only. A TDX with CCEL and RTMR Attestation Quote.

.google.cloud.confidentialcomputing.v1.TdxCcelAttestation td_ccel = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
TdxCcelAttestation

The tdCcel.

getTdCcelBuilder()

public TdxCcelAttestation.Builder getTdCcelBuilder()

Input only. A TDX with CCEL and RTMR Attestation Quote.

.google.cloud.confidentialcomputing.v1.TdxCcelAttestation td_ccel = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
TdxCcelAttestation.Builder

getTdCcelOrBuilder()

public TdxCcelAttestationOrBuilder getTdCcelOrBuilder()

Input only. A TDX with CCEL and RTMR Attestation Quote.

.google.cloud.confidentialcomputing.v1.TdxCcelAttestation td_ccel = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
TdxCcelAttestationOrBuilder

getTeeAttestationCase()

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

getTpmAttestation()

public TpmAttestation getTpmAttestation()

Input only. 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 = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
TpmAttestation

The tpmAttestation.

getTpmAttestationBuilder()

public TpmAttestation.Builder getTpmAttestationBuilder()

Input only. 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 = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
TpmAttestation.Builder

getTpmAttestationOrBuilder()

public TpmAttestationOrBuilder getTpmAttestationOrBuilder()

Input only. 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 = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
TpmAttestationOrBuilder

hasGceShieldedIdentity()

public boolean hasGceShieldedIdentity()

Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

.google.cloud.confidentialcomputing.v1.GceShieldedIdentity gce_shielded_identity = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gceShieldedIdentity field is set.

hasGcpCredentials()

public boolean hasGcpCredentials()

Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.

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

Returns
Type Description
boolean

Whether the gcpCredentials field is set.

hasOptions()

public boolean hasOptions()

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

.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions options = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the options field is set.

hasTdCcel()

public boolean hasTdCcel()

Input only. A TDX with CCEL and RTMR Attestation Quote.

.google.cloud.confidentialcomputing.v1.TdxCcelAttestation td_ccel = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the tdCcel field is set.

hasTpmAttestation()

public boolean hasTpmAttestation()

Input only. 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 = 4 [(.google.api.field_behavior) = INPUT_ONLY];

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGceShieldedIdentity(GceShieldedIdentity value)

public VerifyConfidentialSpaceRequest.Builder mergeGceShieldedIdentity(GceShieldedIdentity value)

Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

.google.cloud.confidentialcomputing.v1.GceShieldedIdentity gce_shielded_identity = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GceShieldedIdentity
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

mergeGcpCredentials(GcpCredentials value)

public VerifyConfidentialSpaceRequest.Builder mergeGcpCredentials(GcpCredentials value)

Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.

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

Parameter
Name Description
value GcpCredentials
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

mergeOptions(VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions value)

public VerifyConfidentialSpaceRequest.Builder mergeOptions(VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions value)

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

.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions options = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

mergeTdCcel(TdxCcelAttestation value)

public VerifyConfidentialSpaceRequest.Builder mergeTdCcel(TdxCcelAttestation value)

Input only. A TDX with CCEL and RTMR Attestation Quote.

.google.cloud.confidentialcomputing.v1.TdxCcelAttestation td_ccel = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value TdxCcelAttestation
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

mergeTpmAttestation(TpmAttestation value)

public VerifyConfidentialSpaceRequest.Builder mergeTpmAttestation(TpmAttestation value)

Input only. 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 = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value TpmAttestation
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSignedEntities(int index)

public VerifyConfidentialSpaceRequest.Builder removeSignedEntities(int index)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setChallenge(String value)

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

This builder for chaining.

setChallengeBytes(ByteString value)

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGceShieldedIdentity(GceShieldedIdentity value)

public VerifyConfidentialSpaceRequest.Builder setGceShieldedIdentity(GceShieldedIdentity value)

Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

.google.cloud.confidentialcomputing.v1.GceShieldedIdentity gce_shielded_identity = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GceShieldedIdentity
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setGceShieldedIdentity(GceShieldedIdentity.Builder builderForValue)

public VerifyConfidentialSpaceRequest.Builder setGceShieldedIdentity(GceShieldedIdentity.Builder builderForValue)

Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

.google.cloud.confidentialcomputing.v1.GceShieldedIdentity gce_shielded_identity = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GceShieldedIdentity.Builder
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setGcpCredentials(GcpCredentials value)

public VerifyConfidentialSpaceRequest.Builder setGcpCredentials(GcpCredentials value)

Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.

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

Parameter
Name Description
value GcpCredentials
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setGcpCredentials(GcpCredentials.Builder builderForValue)

public VerifyConfidentialSpaceRequest.Builder setGcpCredentials(GcpCredentials.Builder builderForValue)

Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.

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

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

setOptions(VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions value)

public VerifyConfidentialSpaceRequest.Builder setOptions(VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions value)

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

.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions options = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setOptions(VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder builderForValue)

public VerifyConfidentialSpaceRequest.Builder setOptions(VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder builderForValue)

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

.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions options = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

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

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

setSignedEntities(int index, SignedEntity value)

public VerifyConfidentialSpaceRequest.Builder setSignedEntities(int index, SignedEntity value)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value SignedEntity
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setSignedEntities(int index, SignedEntity.Builder builderForValue)

public VerifyConfidentialSpaceRequest.Builder setSignedEntities(int index, SignedEntity.Builder builderForValue)

Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue SignedEntity.Builder
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setTdCcel(TdxCcelAttestation value)

public VerifyConfidentialSpaceRequest.Builder setTdCcel(TdxCcelAttestation value)

Input only. A TDX with CCEL and RTMR Attestation Quote.

.google.cloud.confidentialcomputing.v1.TdxCcelAttestation td_ccel = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value TdxCcelAttestation
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setTdCcel(TdxCcelAttestation.Builder builderForValue)

public VerifyConfidentialSpaceRequest.Builder setTdCcel(TdxCcelAttestation.Builder builderForValue)

Input only. A TDX with CCEL and RTMR Attestation Quote.

.google.cloud.confidentialcomputing.v1.TdxCcelAttestation td_ccel = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
builderForValue TdxCcelAttestation.Builder
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setTpmAttestation(TpmAttestation value)

public VerifyConfidentialSpaceRequest.Builder setTpmAttestation(TpmAttestation value)

Input only. 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 = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value TpmAttestation
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

setTpmAttestation(TpmAttestation.Builder builderForValue)

public VerifyConfidentialSpaceRequest.Builder setTpmAttestation(TpmAttestation.Builder builderForValue)

Input only. 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 = 4 [(.google.api.field_behavior) = INPUT_ONLY];

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

setUnknownFields(UnknownFieldSet unknownFields)

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