public final class VerifyAttestationRequest extends GeneratedMessageV3 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.v1.VerifyAttestationRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VerifyAttestationRequestImplements
VerifyAttestationRequestOrBuilderStatic Fields
CHALLENGE_FIELD_NUMBER
public static final int CHALLENGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
GCP_CREDENTIALS_FIELD_NUMBER
public static final int GCP_CREDENTIALS_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 VerifyAttestationRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static VerifyAttestationRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
newBuilder(VerifyAttestationRequest prototype)
public static VerifyAttestationRequest.Builder newBuilder(VerifyAttestationRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype | VerifyAttestationRequest |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
parseDelimitedFrom(InputStream input)
public static VerifyAttestationRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static VerifyAttestationRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static VerifyAttestationRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static VerifyAttestationRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static VerifyAttestationRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static VerifyAttestationRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<VerifyAttestationRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<VerifyAttestationRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
getGcpCredentials()
public GcpCredentials getGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.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.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GcpCredentialsOrBuilder |
getParserForType()
public Parser<VerifyAttestationRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<VerifyAttestationRequest> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TpmAttestation | The tpmAttestation. |
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.v1.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.v1.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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the tpmAttestation field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public VerifyAttestationRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VerifyAttestationRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public VerifyAttestationRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |