Class AwsPrincipalTagsOptions.Builder (0.69.0)

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

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

Protobuf type google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions

Static Methods

getDescriptor()

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

Methods

build()

public AwsPrincipalTagsOptions build()
Returns
Type Description
AwsPrincipalTagsOptions

buildPartial()

public AwsPrincipalTagsOptions buildPartial()
Returns
Type Description
AwsPrincipalTagsOptions

clear()

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

clearAllowedPrincipalTags()

public AwsPrincipalTagsOptions.Builder clearAllowedPrincipalTags()

Optional. Principal tags to allow in the token.

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

Returns
Type Description
AwsPrincipalTagsOptions.Builder

getAllowedPrincipalTags()

public AwsPrincipalTagsOptions.AllowedPrincipalTags getAllowedPrincipalTags()

Optional. Principal tags to allow in the token.

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

Returns
Type Description
AwsPrincipalTagsOptions.AllowedPrincipalTags

The allowedPrincipalTags.

getAllowedPrincipalTagsBuilder()

public AwsPrincipalTagsOptions.AllowedPrincipalTags.Builder getAllowedPrincipalTagsBuilder()

Optional. Principal tags to allow in the token.

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

Returns
Type Description
AwsPrincipalTagsOptions.AllowedPrincipalTags.Builder

getAllowedPrincipalTagsOrBuilder()

public AwsPrincipalTagsOptions.AllowedPrincipalTagsOrBuilder getAllowedPrincipalTagsOrBuilder()

Optional. Principal tags to allow in the token.

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

Returns
Type Description
AwsPrincipalTagsOptions.AllowedPrincipalTagsOrBuilder

getDefaultInstanceForType()

public AwsPrincipalTagsOptions getDefaultInstanceForType()
Returns
Type Description
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.AwsPrincipalTagsOptions.AllowedPrincipalTags allowed_principal_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the allowedPrincipalTags field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllowedPrincipalTags(AwsPrincipalTagsOptions.AllowedPrincipalTags value)

public AwsPrincipalTagsOptions.Builder mergeAllowedPrincipalTags(AwsPrincipalTagsOptions.AllowedPrincipalTags value)

Optional. Principal tags to allow in the token.

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

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

mergeFrom(AwsPrincipalTagsOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAllowedPrincipalTags(AwsPrincipalTagsOptions.AllowedPrincipalTags value)

public AwsPrincipalTagsOptions.Builder setAllowedPrincipalTags(AwsPrincipalTagsOptions.AllowedPrincipalTags value)

Optional. Principal tags to allow in the token.

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

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

setAllowedPrincipalTags(AwsPrincipalTagsOptions.AllowedPrincipalTags.Builder builderForValue)

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

Optional. Principal tags to allow in the token.

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

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