Class TokenOptions.AwsPrincipalTagsOptions.Builder (0.41.0)

public static final class TokenOptions.AwsPrincipalTagsOptions.Builder extends GeneratedMessageV3.Builder<TokenOptions.AwsPrincipalTagsOptions.Builder> implements TokenOptions.AwsPrincipalTagsOptionsOrBuilder

Token options that only apply to the AWS Principal Tags token type.

Protobuf type google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TokenOptions.AwsPrincipalTagsOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

build()

public TokenOptions.AwsPrincipalTagsOptions build()
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions

buildPartial()

public TokenOptions.AwsPrincipalTagsOptions buildPartial()
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions

clear()

public TokenOptions.AwsPrincipalTagsOptions.Builder clear()
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

clearAllowedPrincipalTags()

public TokenOptions.AwsPrincipalTagsOptions.Builder clearAllowedPrincipalTags()

Optional. Principal tags to allow in the token.

.google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder

clearField(Descriptors.FieldDescriptor field)

public TokenOptions.AwsPrincipalTagsOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TokenOptions.AwsPrincipalTagsOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

clone()

public TokenOptions.AwsPrincipalTagsOptions.Builder clone()
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

getAllowedPrincipalTags()

public TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags getAllowedPrincipalTags()

Optional. Principal tags to allow in the token.

.google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags

The allowedPrincipalTags.

getAllowedPrincipalTagsBuilder()

public TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.Builder getAllowedPrincipalTagsBuilder()

Optional. Principal tags to allow in the token.

.google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.Builder

getAllowedPrincipalTagsOrBuilder()

public TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTagsOrBuilder getAllowedPrincipalTagsOrBuilder()

Optional. Principal tags to allow in the token.

.google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTagsOrBuilder

getDefaultInstanceForType()

public TokenOptions.AwsPrincipalTagsOptions getDefaultInstanceForType()
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAllowedPrincipalTags()

public boolean hasAllowedPrincipalTags()

Optional. Principal tags to allow in the token.

.google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the allowedPrincipalTags field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllowedPrincipalTags(TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags value)

public TokenOptions.AwsPrincipalTagsOptions.Builder mergeAllowedPrincipalTags(TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags value)

Optional. Principal tags to allow in the token.

.google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder

mergeFrom(TokenOptions.AwsPrincipalTagsOptions other)

public TokenOptions.AwsPrincipalTagsOptions.Builder mergeFrom(TokenOptions.AwsPrincipalTagsOptions other)
Parameter
Name Description
other TokenOptions.AwsPrincipalTagsOptions
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TokenOptions.AwsPrincipalTagsOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TokenOptions.AwsPrincipalTagsOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TokenOptions.AwsPrincipalTagsOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

setAllowedPrincipalTags(TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags value)

public TokenOptions.AwsPrincipalTagsOptions.Builder setAllowedPrincipalTags(TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags value)

Optional. Principal tags to allow in the token.

.google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder

setAllowedPrincipalTags(TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.Builder builderForValue)

public TokenOptions.AwsPrincipalTagsOptions.Builder setAllowedPrincipalTags(TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.Builder builderForValue)

Optional. Principal tags to allow in the token.

.google.cloud.confidentialcomputing.v1.TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.Builder
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TokenOptions.AwsPrincipalTagsOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TokenOptions.AwsPrincipalTagsOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TokenOptions.AwsPrincipalTagsOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.Builder
Overrides