Class AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder>
com.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder
- All Implemented Interfaces:
AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignaturesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
public static final class AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder>
implements 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.AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures-
Method Summary
Modifier and TypeMethodDescriptionaddAllKeyIds(Iterable<String> values) Optional.Optional.addKeyIdsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKeyIds(int index) Optional.com.google.protobuf.ByteStringgetKeyIdsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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<AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.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<AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.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<AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder>
-
getDefaultInstanceForType
public AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures 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 AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder>
-
mergeFrom
public AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.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<AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder>- Throws:
IOException
-
getKeyIdsList
public com.google.protobuf.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];- Specified by:
getKeyIdsListin interfaceAwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignaturesOrBuilder- Returns:
- A list containing the keyIds.
-
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];- Specified by:
getKeyIdsCountin interfaceAwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignaturesOrBuilder- Returns:
- The count of keyIds.
-
getKeyIds
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];- Specified by:
getKeyIdsin interfaceAwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignaturesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keyIds at the given index.
-
getKeyIdsBytes
public com.google.protobuf.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];- Specified by:
getKeyIdsBytesin interfaceAwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignaturesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keyIds at the given index.
-
setKeyIds
public 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:
index- The index to set the value at.value- The keyIds to set.- Returns:
- This builder for chaining.
-
addKeyIds
public 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];- Parameters:
value- The keyIds to add.- Returns:
- This builder for chaining.
-
addAllKeyIds
public 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];- Parameters:
values- The keyIds to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addKeyIdsBytes
public AwsPrincipalTagsOptions.AllowedPrincipalTags.ContainerImageSignatures.Builder addKeyIdsBytes(com.google.protobuf.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];- Parameters:
value- The bytes of the keyIds to add.- Returns:
- This builder for chaining.
-