Class VerifyAttestationRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
- com.google.cloud.confidentialcomputing.v1.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.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 typegoogle.cloud.confidentialcomputing.v1.VerifyAttestationRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
clear
public VerifyAttestationRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
getDefaultInstanceForType
public VerifyAttestationRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VerifyAttestationRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VerifyAttestationRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VerifyAttestationRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
setField
public VerifyAttestationRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
clearField
public VerifyAttestationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
clearOneof
public VerifyAttestationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
setRepeatedField
public VerifyAttestationRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
addRepeatedField
public VerifyAttestationRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
mergeFrom
public VerifyAttestationRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerifyAttestationRequest.Builder>
-
mergeFrom
public VerifyAttestationRequest.Builder mergeFrom(VerifyAttestationRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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) = { ... }- 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
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) = { ... }- Parameters:
value- The challenge to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Returns:
- This builder for chaining.
-
setChallengeBytes
public VerifyAttestationRequest.Builder setChallengeBytes(com.google.protobuf.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) = { ... }- 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.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGcpCredentialsin interfaceVerifyAttestationRequestOrBuilder- Returns:
- Whether the gcpCredentials field is set.
-
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];- Specified by:
getGcpCredentialsin interfaceVerifyAttestationRequestOrBuilder- Returns:
- The gcpCredentials.
-
setGcpCredentials
public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials value)
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];
-
setGcpCredentials
public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials.Builder builderForValue)
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];
-
mergeGcpCredentials
public VerifyAttestationRequest.Builder mergeGcpCredentials(GcpCredentials value)
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];
-
clearGcpCredentials
public VerifyAttestationRequest.Builder clearGcpCredentials()
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];
-
getGcpCredentialsBuilder
public GcpCredentials.Builder getGcpCredentialsBuilder()
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];
-
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];- 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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasTpmAttestationin interfaceVerifyAttestationRequestOrBuilder- Returns:
- Whether the tpmAttestation field is set.
-
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];- Specified by:
getTpmAttestationin interfaceVerifyAttestationRequestOrBuilder- Returns:
- The tpmAttestation.
-
setTpmAttestation
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
-
setTpmAttestation
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
-
mergeTpmAttestation
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
-
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.v1.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.v1.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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTpmAttestationOrBuilderin interfaceVerifyAttestationRequestOrBuilder
-
hasConfidentialSpaceInfo
public boolean hasConfidentialSpaceInfo()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasConfidentialSpaceInfoin interfaceVerifyAttestationRequestOrBuilder- Returns:
- Whether the confidentialSpaceInfo field is set.
-
getConfidentialSpaceInfo
public ConfidentialSpaceInfo getConfidentialSpaceInfo()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfidentialSpaceInfoin interfaceVerifyAttestationRequestOrBuilder- Returns:
- The confidentialSpaceInfo.
-
setConfidentialSpaceInfo
public VerifyAttestationRequest.Builder setConfidentialSpaceInfo(ConfidentialSpaceInfo value)
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
-
setConfidentialSpaceInfo
public VerifyAttestationRequest.Builder setConfidentialSpaceInfo(ConfidentialSpaceInfo.Builder builderForValue)
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
-
mergeConfidentialSpaceInfo
public VerifyAttestationRequest.Builder mergeConfidentialSpaceInfo(ConfidentialSpaceInfo value)
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
-
clearConfidentialSpaceInfo
public VerifyAttestationRequest.Builder clearConfidentialSpaceInfo()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getConfidentialSpaceInfoBuilder
public ConfidentialSpaceInfo.Builder getConfidentialSpaceInfoBuilder()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getConfidentialSpaceInfoOrBuilder
public ConfidentialSpaceInfoOrBuilder getConfidentialSpaceInfoOrBuilder()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfidentialSpaceInfoOrBuilderin interfaceVerifyAttestationRequestOrBuilder
-
hasTokenOptions
public boolean hasTokenOptions()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTokenOptionsin interfaceVerifyAttestationRequestOrBuilder- Returns:
- Whether the tokenOptions field is set.
-
getTokenOptions
public TokenOptions getTokenOptions()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokenOptionsin interfaceVerifyAttestationRequestOrBuilder- Returns:
- The tokenOptions.
-
setTokenOptions
public VerifyAttestationRequest.Builder setTokenOptions(TokenOptions value)
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
-
setTokenOptions
public VerifyAttestationRequest.Builder setTokenOptions(TokenOptions.Builder builderForValue)
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
-
mergeTokenOptions
public VerifyAttestationRequest.Builder mergeTokenOptions(TokenOptions value)
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
-
clearTokenOptions
public VerifyAttestationRequest.Builder clearTokenOptions()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getTokenOptionsBuilder
public TokenOptions.Builder getTokenOptionsBuilder()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getTokenOptionsOrBuilder
public TokenOptionsOrBuilder getTokenOptionsOrBuilder()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokenOptionsOrBuilderin interfaceVerifyAttestationRequestOrBuilder
-
setUnknownFields
public final VerifyAttestationRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
mergeUnknownFields
public final VerifyAttestationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
-