Class VerifyAttestationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VerifyAttestationRequest.Builder>
com.google.cloud.confidentialcomputing.v1alpha1.VerifyAttestationRequest.Builder
- All Implemented Interfaces:
VerifyAttestationRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VerifyAttestationRequest
public static final class VerifyAttestationRequest.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional.Required.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.Required.Required.Required.booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Required.setChallenge(String value) Required.setChallengeBytes(com.google.protobuf.ByteString value) Required.setGcpCredentials(GcpCredentials value) Optional.setGcpCredentials(GcpCredentials.Builder builderForValue) Optional.setTpmAttestation(TpmAttestation value) Required.setTpmAttestation(TpmAttestation.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VerifyAttestationRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VerifyAttestationRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VerifyAttestationRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerifyAttestationRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VerifyAttestationRequest.Builder>
-
mergeFrom
public VerifyAttestationRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerifyAttestationRequest.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getChallengein interfaceVerifyAttestationRequestOrBuilder- Returns:
- The challenge.
-
getChallengeBytes
public com.google.protobuf.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) = { ... }- Specified by:
getChallengeBytesin interfaceVerifyAttestationRequestOrBuilder- Returns:
- The bytes for challenge.
-
setChallenge
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) = { ... }- Parameters:
value- The challenge to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Returns:
- This builder for chaining.
-
setChallengeBytes
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) = { ... }- Parameters:
value- The bytes for challenge to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasGcpCredentialsin interfaceVerifyAttestationRequestOrBuilder- Returns:
- Whether the gcpCredentials field is set.
-
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];- Specified by:
getGcpCredentialsin interfaceVerifyAttestationRequestOrBuilder- Returns:
- The gcpCredentials.
-
setGcpCredentials
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
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]; -
mergeGcpCredentials
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]; -
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]; -
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
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];- Specified by:
getGcpCredentialsOrBuilderin interfaceVerifyAttestationRequestOrBuilder
-
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];- Specified by:
hasTpmAttestationin interfaceVerifyAttestationRequestOrBuilder- Returns:
- Whether the tpmAttestation field is set.
-
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];- Specified by:
getTpmAttestationin interfaceVerifyAttestationRequestOrBuilder- Returns:
- The tpmAttestation.
-
setTpmAttestation
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
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]; -
mergeTpmAttestation
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]; -
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]; -
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
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];- Specified by:
getTpmAttestationOrBuilderin interfaceVerifyAttestationRequestOrBuilder
-