Class AwsPrincipalTagsOptions.Builder (0.60.0)

public static final class AwsPrincipalTagsOptions.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsPrincipalTagsOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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