Class VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder>
com.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder
- All Implemented Interfaces:
VerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VerifyConfidentialGkeRequest.ConfidentialGkeOptions
public static final class VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder>
implements VerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder
Token options for Confidential GKE attestation.Protobuf type
google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions-
Method Summary
Modifier and TypeMethodDescriptionaddAllNonce(Iterable<String> values) Optional.Optional.addNonceBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNonce(int index) Optional.com.google.protobuf.ByteStringgetNonceBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.intOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAudience(String value) Optional.setAudienceBytes(com.google.protobuf.ByteString value) Optional.Optional.setSignatureType(SignatureType value) Optional.setSignatureTypeValue(int value) Optional.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.ConfidentialGkeOptions.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.ConfidentialGkeOptions.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.ConfidentialGkeOptions.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
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder>
-
mergeFrom
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.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.ConfidentialGkeOptions.Builder>- Throws:
IOException
-
getAudience
Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAudiencein interfaceVerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder- Returns:
- The audience.
-
getAudienceBytes
public com.google.protobuf.ByteString getAudienceBytes()Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAudienceBytesin interfaceVerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder- Returns:
- The bytes for audience.
-
setAudience
Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The audience to set.- Returns:
- This builder for chaining.
-
clearAudience
Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setAudienceBytes
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder setAudienceBytes(com.google.protobuf.ByteString value) Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for audience to set.- Returns:
- This builder for chaining.
-
getNonceList
public com.google.protobuf.ProtocolStringList getNonceList()Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNonceListin interfaceVerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder- Returns:
- A list containing the nonce.
-
getNonceCount
public int getNonceCount()Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNonceCountin interfaceVerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder- Returns:
- The count of nonce.
-
getNonce
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNoncein interfaceVerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The nonce at the given index.
-
getNonceBytes
public com.google.protobuf.ByteString getNonceBytes(int index) Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNonceBytesin interfaceVerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nonce at the given index.
-
setNonce
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder setNonce(int index, String value) Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The nonce to set.- Returns:
- This builder for chaining.
-
addNonce
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The nonce to add.- Returns:
- This builder for chaining.
-
addAllNonce
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder addAllNonce(Iterable<String> values) Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The nonce to add.- Returns:
- This builder for chaining.
-
clearNonce
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addNonceBytes
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder addNonceBytes(com.google.protobuf.ByteString value) Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the nonce to add.- Returns:
- This builder for chaining.
-
getSignatureTypeValue
public int getSignatureTypeValue()Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSignatureTypeValuein interfaceVerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder- Returns:
- The enum numeric value on the wire for signatureType.
-
setSignatureTypeValue
Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for signatureType to set.- Returns:
- This builder for chaining.
-
getSignatureType
Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSignatureTypein interfaceVerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilder- Returns:
- The signatureType.
-
setSignatureType
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder setSignatureType(SignatureType value) Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The signatureType to set.- Returns:
- This builder for chaining.
-
clearSignatureType
Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-