Class VerifyConfidentialGkeRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialGkeRequest.Builder>
com.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.Builder
- All Implemented Interfaces:
VerifyConfidentialGkeRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VerifyConfidentialGkeRequest
public static final class VerifyConfidentialGkeRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialGkeRequest.Builder>
implements VerifyConfidentialGkeRequestOrBuilder
A request for an attestation token, providing all the necessary information needed for this service to verify Confidential GKE platform state of the requestor.Protobuf type
google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional.The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.booleanOptional.booleanThe TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.setChallenge(String value) Required.setChallengeBytes(com.google.protobuf.ByteString value) Required.Optional.setOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder builderForValue) Optional.setTpmAttestation(TpmAttestation value) The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.setTpmAttestation(TpmAttestation.Builder builderForValue) The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.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<VerifyConfidentialGkeRequest.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<VerifyConfidentialGkeRequest.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<VerifyConfidentialGkeRequest.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<VerifyConfidentialGkeRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialGkeRequest.Builder>
-
mergeFrom
public VerifyConfidentialGkeRequest.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<VerifyConfidentialGkeRequest.Builder>- Throws:
IOException
-
getTeeAttestationCase
- Specified by:
getTeeAttestationCasein interfaceVerifyConfidentialGkeRequestOrBuilder
-
clearTeeAttestation
-
hasTpmAttestation
public boolean hasTpmAttestation()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 = 2;- Specified by:
hasTpmAttestationin interfaceVerifyConfidentialGkeRequestOrBuilder- Returns:
- Whether the tpmAttestation field is set.
-
getTpmAttestation
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 = 2;- Specified by:
getTpmAttestationin interfaceVerifyConfidentialGkeRequestOrBuilder- Returns:
- The tpmAttestation.
-
setTpmAttestation
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 = 2; -
setTpmAttestation
public VerifyConfidentialGkeRequest.Builder setTpmAttestation(TpmAttestation.Builder builderForValue) 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 = 2; -
mergeTpmAttestation
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 = 2; -
clearTpmAttestation
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 = 2; -
getTpmAttestationBuilder
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 = 2; -
getTpmAttestationOrBuilder
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 = 2;- Specified by:
getTpmAttestationOrBuilderin interfaceVerifyConfidentialGkeRequestOrBuilder
-
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 interfaceVerifyConfidentialGkeRequestOrBuilder- 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 interfaceVerifyConfidentialGkeRequestOrBuilder- 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.
-
hasOptions
public boolean hasOptions()Optional. A collection of fields that modify the token output.
.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasOptionsin interfaceVerifyConfidentialGkeRequestOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
Optional. A collection of fields that modify the token output.
.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOptionsin interfaceVerifyConfidentialGkeRequestOrBuilder- Returns:
- The options.
-
setOptions
public VerifyConfidentialGkeRequest.Builder setOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions value) Optional. A collection of fields that modify the token output.
.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setOptions
public VerifyConfidentialGkeRequest.Builder setOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder builderForValue) Optional. A collection of fields that modify the token output.
.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeOptions
public VerifyConfidentialGkeRequest.Builder mergeOptions(VerifyConfidentialGkeRequest.ConfidentialGkeOptions value) Optional. A collection of fields that modify the token output.
.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearOptions
Optional. A collection of fields that modify the token output.
.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getOptionsBuilder
Optional. A collection of fields that modify the token output.
.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getOptionsOrBuilder
Optional. A collection of fields that modify the token output.
.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOptionsOrBuilderin interfaceVerifyConfidentialGkeRequestOrBuilder
-