Class TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder (0.41.0)

public static final class TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder extends GeneratedMessageV3.Builder<TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder> implements TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignaturesOrBuilder

Allowed Container Image Signatures. Key IDs are required to allow this claim to fit within the narrow AWS IAM restrictions.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder

Static Methods

getDescriptor()

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

Methods

addAllKeyIds(Iterable<String> values)

public TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder addAllKeyIds(Iterable<String> values)

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The keyIds to add.

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder

This builder for chaining.

addKeyIds(String value)

public TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder addKeyIds(String value)

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The keyIds to add.

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder

This builder for chaining.

addKeyIdsBytes(ByteString value)

public TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder addKeyIdsBytes(ByteString value)

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the keyIds to add.

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeyIds()

public TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder clearKeyIds()

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getKeyIds(int index)

public String getKeyIds(int index)

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The keyIds at the given index.

getKeyIdsBytes(int index)

public ByteString getKeyIdsBytes(int index)

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the keyIds at the given index.

getKeyIdsCount()

public int getKeyIdsCount()

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of keyIds.

getKeyIdsList()

public ProtocolStringList getKeyIdsList()

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the keyIds.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeyIds(int index, String value)

public TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder setKeyIds(int index, String value)

Optional. List of key ids to filter into the Principal tags. Only keys that have been validated and added to the token will be filtered into principal tags. Unrecognized key ids will be ignored.

repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The keyIds to set.

Returns
Type Description
TokenOptions.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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