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.v1alpha1.VerifyAttestationRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VerifyAttestationRequest.Builder newBuilder()
newBuilder(VerifyAttestationRequest prototype)
public static VerifyAttestationRequest.Builder newBuilder(VerifyAttestationRequest prototype)
public static VerifyAttestationRequest parseDelimitedFrom(InputStream input)
public static VerifyAttestationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VerifyAttestationRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VerifyAttestationRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(CodedInputStream input)
public static VerifyAttestationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(InputStream input)
public static VerifyAttestationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VerifyAttestationRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VerifyAttestationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VerifyAttestationRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 VerifyAttestationRequest getDefaultInstanceForType()
getGcpCredentials()
public GcpCredentials getGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the
claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
getGcpCredentialsOrBuilder()
public GcpCredentialsOrBuilder getGcpCredentialsOrBuilder()
Optional. Credentials used to populate the "emails" claim in the
claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<VerifyAttestationRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
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.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasGcpCredentials()
public boolean hasGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the
claims_token.
.google.cloud.confidentialcomputing.v1alpha1.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.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the tpmAttestation field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VerifyAttestationRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VerifyAttestationRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VerifyAttestationRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides