public static final class VerifyAttestationRequest.Builder extends GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VerifyAttestationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VerifyAttestationRequest build()
buildPartial()
public VerifyAttestationRequest buildPartial()
clear()
public VerifyAttestationRequest.Builder clear()
Overrides
clearChallenge()
public VerifyAttestationRequest.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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public VerifyAttestationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcpCredentials()
public VerifyAttestationRequest.Builder clearGcpCredentials()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public VerifyAttestationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTpmAttestation()
public VerifyAttestationRequest.Builder clearTpmAttestation()
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];
clone()
public VerifyAttestationRequest.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
getGcpCredentialsBuilder()
public GcpCredentials.Builder getGcpCredentialsBuilder()
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];
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];
getTpmAttestationBuilder()
public TpmAttestation.Builder getTpmAttestationBuilder()
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VerifyAttestationRequest other)
public VerifyAttestationRequest.Builder mergeFrom(VerifyAttestationRequest other)
public VerifyAttestationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VerifyAttestationRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeGcpCredentials(GcpCredentials value)
public VerifyAttestationRequest.Builder mergeGcpCredentials(GcpCredentials value)
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];
mergeTpmAttestation(TpmAttestation value)
public VerifyAttestationRequest.Builder mergeTpmAttestation(TpmAttestation value)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VerifyAttestationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setChallenge(String value)
public VerifyAttestationRequest.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.
|
setChallengeBytes(ByteString value)
public VerifyAttestationRequest.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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public VerifyAttestationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGcpCredentials(GcpCredentials value)
public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials value)
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];
setGcpCredentials(GcpCredentials.Builder builderForValue)
public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials.Builder builderForValue)
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VerifyAttestationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTpmAttestation(TpmAttestation value)
public VerifyAttestationRequest.Builder setTpmAttestation(TpmAttestation value)
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];
setTpmAttestation(TpmAttestation.Builder builderForValue)
public VerifyAttestationRequest.Builder setTpmAttestation(TpmAttestation.Builder builderForValue)
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final VerifyAttestationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides