Class VerifyConfidentialSpaceRequest (0.60.0)

public final class VerifyConfidentialSpaceRequest extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VerifyConfidentialSpaceRequest

Static Fields

CHALLENGE_FIELD_NUMBER

public static final int CHALLENGE_FIELD_NUMBER
Field Value
Type Description
int

GCE_SHIELDED_IDENTITY_FIELD_NUMBER

public static final int GCE_SHIELDED_IDENTITY_FIELD_NUMBER
Field Value
Type Description
int

GCP_CREDENTIALS_FIELD_NUMBER

public static final int GCP_CREDENTIALS_FIELD_NUMBER
Field Value
Type Description
int

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

SIGNED_ENTITIES_FIELD_NUMBER

public static final int SIGNED_ENTITIES_FIELD_NUMBER
Field Value
Type Description
int

TD_CCEL_FIELD_NUMBER

public static final int TD_CCEL_FIELD_NUMBER
Field Value
Type Description
int

TPM_ATTESTATION_FIELD_NUMBER

public static final int TPM_ATTESTATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VerifyConfidentialSpaceRequest getDefaultInstance()
Returns
Type Description
VerifyConfidentialSpaceRequest

getDescriptor()

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

newBuilder()

public static VerifyConfidentialSpaceRequest.Builder newBuilder()
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

newBuilder(VerifyConfidentialSpaceRequest prototype)

public static VerifyConfidentialSpaceRequest.Builder newBuilder(VerifyConfidentialSpaceRequest prototype)
Parameter
Name Description
prototype VerifyConfidentialSpaceRequest
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder

parseDelimitedFrom(InputStream input)

public static VerifyConfidentialSpaceRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyConfidentialSpaceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VerifyConfidentialSpaceRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VerifyConfidentialSpaceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VerifyConfidentialSpaceRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VerifyConfidentialSpaceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VerifyConfidentialSpaceRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyConfidentialSpaceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VerifyConfidentialSpaceRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyConfidentialSpaceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VerifyConfidentialSpaceRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VerifyConfidentialSpaceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyConfidentialSpaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VerifyConfidentialSpaceRequest> parser()
Returns
Type Description
Parser<VerifyConfidentialSpaceRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

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.

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.

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

getParserForType()

public Parser<VerifyConfidentialSpaceRequest> getParserForType()
Returns
Type Description
Parser<VerifyConfidentialSpaceRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VerifyConfidentialSpaceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VerifyConfidentialSpaceRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException