Class VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder>
com.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder
- All Implemented Interfaces:
VerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions
public static final class VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder>
implements VerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder
Token options for Confidential Space attestation.Protobuf type
google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions-
Method Summary
Modifier and TypeMethodDescriptionaddAllNonce(Iterable<String> values) Optional.Optional.addNonceBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.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.Optional.intOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(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.setAwsPrincipalTagsOptions(AwsPrincipalTagsOptions.Builder builderForValue) Optional.Optional.setSignatureType(SignatureType value) Optional.setSignatureTypeValue(int value) Optional.setTokenProfile(TokenProfile value) Optional.setTokenProfileValue(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<VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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<VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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<VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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 VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder>
-
mergeFrom
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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<VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder>- Throws:
IOException
-
getTokenProfileOptionsCase
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.TokenProfileOptionsCase getTokenProfileOptionsCase()- Specified by:
getTokenProfileOptionsCasein interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder
-
clearTokenProfileOptions
-
hasAwsPrincipalTagsOptions
public boolean hasAwsPrincipalTagsOptions()Optional. Options for the AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAwsPrincipalTagsOptionsin interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- Returns:
- Whether the awsPrincipalTagsOptions field is set.
-
getAwsPrincipalTagsOptions
Optional. Options for the AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAwsPrincipalTagsOptionsin interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- Returns:
- The awsPrincipalTagsOptions.
-
setAwsPrincipalTagsOptions
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder setAwsPrincipalTagsOptions(AwsPrincipalTagsOptions value) Optional. Options for the AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setAwsPrincipalTagsOptions
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder setAwsPrincipalTagsOptions(AwsPrincipalTagsOptions.Builder builderForValue) Optional. Options for the AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeAwsPrincipalTagsOptions
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder mergeAwsPrincipalTagsOptions(AwsPrincipalTagsOptions value) Optional. Options for the AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearAwsPrincipalTagsOptions
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder clearAwsPrincipalTagsOptions()Optional. Options for the AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAwsPrincipalTagsOptionsBuilder
Optional. Options for the AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAwsPrincipalTagsOptionsOrBuilder
Optional. Options for the AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAwsPrincipalTagsOptionsOrBuilderin interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder
-
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 interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- 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 interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- 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 VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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.
-
getTokenProfileValue
public int getTokenProfileValue()Optional. Optional specification for token claims profile.
.google.cloud.confidentialcomputing.v1.TokenProfile token_profile = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokenProfileValuein interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- Returns:
- The enum numeric value on the wire for tokenProfile.
-
setTokenProfileValue
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder setTokenProfileValue(int value) Optional. Optional specification for token claims profile.
.google.cloud.confidentialcomputing.v1.TokenProfile token_profile = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for tokenProfile to set.- Returns:
- This builder for chaining.
-
getTokenProfile
Optional. Optional specification for token claims profile.
.google.cloud.confidentialcomputing.v1.TokenProfile token_profile = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokenProfilein interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- Returns:
- The tokenProfile.
-
setTokenProfile
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder setTokenProfile(TokenProfile value) Optional. Optional specification for token claims profile.
.google.cloud.confidentialcomputing.v1.TokenProfile token_profile = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The tokenProfile to set.- Returns:
- This builder for chaining.
-
clearTokenProfile
Optional. Optional specification for token claims profile.
.google.cloud.confidentialcomputing.v1.TokenProfile token_profile = 2 [(.google.api.field_behavior) = OPTIONAL];- 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 interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- 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 interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- 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 interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- 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 interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nonce at the given index.
-
setNonce
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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 VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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 VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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 interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- Returns:
- The enum numeric value on the wire for signatureType.
-
setSignatureTypeValue
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.Builder setSignatureTypeValue(int 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 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 interfaceVerifyConfidentialSpaceRequest.ConfidentialSpaceOptionsOrBuilder- Returns:
- The signatureType.
-
setSignatureType
public VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions.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.
-