Class VerifyConfidentialGkeRequest (0.60.0)

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

CHALLENGE_FIELD_NUMBER

public static final int CHALLENGE_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 VerifyConfidentialGkeRequest getDefaultInstance()
Returns
Type Description
VerifyConfidentialGkeRequest

getDescriptor()

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

newBuilder()

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

newBuilder(VerifyConfidentialGkeRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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

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.

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 VerifyConfidentialGkeRequest.Builder newBuilderForType()
Returns
Type Description
VerifyConfidentialGkeRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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