Class AwsNodeConfig.Builder

  • All Implemented Interfaces:
    AwsNodeConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    AwsNodeConfig

    public static final class AwsNodeConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
    implements AwsNodeConfigOrBuilder
     Parameters that describe the nodes in a cluster.
     
    Protobuf type google.cloud.gkemulticloud.v1.AwsNodeConfig
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • clear

        public AwsNodeConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • getDefaultInstanceForType

        public AwsNodeConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AwsNodeConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AwsNodeConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public AwsNodeConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • setField

        public AwsNodeConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • clearField

        public AwsNodeConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • clearOneof

        public AwsNodeConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • setRepeatedField

        public AwsNodeConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      int index,
                                                      Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • addRepeatedField

        public AwsNodeConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • mergeFrom

        public AwsNodeConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AwsNodeConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • mergeFrom

        public AwsNodeConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AwsNodeConfig.Builder>
        Throws:
        IOException
      • getInstanceType

        public String getInstanceType()
         Optional. The AWS instance type.
        
         When unspecified, it uses a default based on the node pool's version.
         
        string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInstanceType in interface AwsNodeConfigOrBuilder
        Returns:
        The instanceType.
      • getInstanceTypeBytes

        public com.google.protobuf.ByteString getInstanceTypeBytes()
         Optional. The AWS instance type.
        
         When unspecified, it uses a default based on the node pool's version.
         
        string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInstanceTypeBytes in interface AwsNodeConfigOrBuilder
        Returns:
        The bytes for instanceType.
      • setInstanceType

        public AwsNodeConfig.Builder setInstanceType​(String value)
         Optional. The AWS instance type.
        
         When unspecified, it uses a default based on the node pool's version.
         
        string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The instanceType to set.
        Returns:
        This builder for chaining.
      • clearInstanceType

        public AwsNodeConfig.Builder clearInstanceType()
         Optional. The AWS instance type.
        
         When unspecified, it uses a default based on the node pool's version.
         
        string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setInstanceTypeBytes

        public AwsNodeConfig.Builder setInstanceTypeBytes​(com.google.protobuf.ByteString value)
         Optional. The AWS instance type.
        
         When unspecified, it uses a default based on the node pool's version.
         
        string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for instanceType to set.
        Returns:
        This builder for chaining.
      • hasRootVolume

        public boolean hasRootVolume()
         Optional. Template for the root volume provisioned for node pool nodes.
         Volumes will be provisioned in the availability zone assigned
         to the node pool subnet.
        
         When unspecified, it defaults to 32 GiB with the GP2 volume type.
         
        .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasRootVolume in interface AwsNodeConfigOrBuilder
        Returns:
        Whether the rootVolume field is set.
      • getRootVolume

        public AwsVolumeTemplate getRootVolume()
         Optional. Template for the root volume provisioned for node pool nodes.
         Volumes will be provisioned in the availability zone assigned
         to the node pool subnet.
        
         When unspecified, it defaults to 32 GiB with the GP2 volume type.
         
        .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRootVolume in interface AwsNodeConfigOrBuilder
        Returns:
        The rootVolume.
      • setRootVolume

        public AwsNodeConfig.Builder setRootVolume​(AwsVolumeTemplate value)
         Optional. Template for the root volume provisioned for node pool nodes.
         Volumes will be provisioned in the availability zone assigned
         to the node pool subnet.
        
         When unspecified, it defaults to 32 GiB with the GP2 volume type.
         
        .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
      • setRootVolume

        public AwsNodeConfig.Builder setRootVolume​(AwsVolumeTemplate.Builder builderForValue)
         Optional. Template for the root volume provisioned for node pool nodes.
         Volumes will be provisioned in the availability zone assigned
         to the node pool subnet.
        
         When unspecified, it defaults to 32 GiB with the GP2 volume type.
         
        .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
      • mergeRootVolume

        public AwsNodeConfig.Builder mergeRootVolume​(AwsVolumeTemplate value)
         Optional. Template for the root volume provisioned for node pool nodes.
         Volumes will be provisioned in the availability zone assigned
         to the node pool subnet.
        
         When unspecified, it defaults to 32 GiB with the GP2 volume type.
         
        .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
      • clearRootVolume

        public AwsNodeConfig.Builder clearRootVolume()
         Optional. Template for the root volume provisioned for node pool nodes.
         Volumes will be provisioned in the availability zone assigned
         to the node pool subnet.
        
         When unspecified, it defaults to 32 GiB with the GP2 volume type.
         
        .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getRootVolumeBuilder

        public AwsVolumeTemplate.Builder getRootVolumeBuilder()
         Optional. Template for the root volume provisioned for node pool nodes.
         Volumes will be provisioned in the availability zone assigned
         to the node pool subnet.
        
         When unspecified, it defaults to 32 GiB with the GP2 volume type.
         
        .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getRootVolumeOrBuilder

        public AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder()
         Optional. Template for the root volume provisioned for node pool nodes.
         Volumes will be provisioned in the availability zone assigned
         to the node pool subnet.
        
         When unspecified, it defaults to 32 GiB with the GP2 volume type.
         
        .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRootVolumeOrBuilder in interface AwsNodeConfigOrBuilder
      • getTaintsList

        public List<NodeTaint> getTaintsList()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaintsList in interface AwsNodeConfigOrBuilder
      • getTaintsCount

        public int getTaintsCount()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaintsCount in interface AwsNodeConfigOrBuilder
      • getTaints

        public NodeTaint getTaints​(int index)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaints in interface AwsNodeConfigOrBuilder
      • setTaints

        public AwsNodeConfig.Builder setTaints​(int index,
                                               NodeTaint value)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • setTaints

        public AwsNodeConfig.Builder setTaints​(int index,
                                               NodeTaint.Builder builderForValue)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addTaints

        public AwsNodeConfig.Builder addTaints​(NodeTaint value)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addTaints

        public AwsNodeConfig.Builder addTaints​(int index,
                                               NodeTaint value)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addTaints

        public AwsNodeConfig.Builder addTaints​(NodeTaint.Builder builderForValue)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addTaints

        public AwsNodeConfig.Builder addTaints​(int index,
                                               NodeTaint.Builder builderForValue)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addAllTaints

        public AwsNodeConfig.Builder addAllTaints​(Iterable<? extends NodeTaint> values)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • clearTaints

        public AwsNodeConfig.Builder clearTaints()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • removeTaints

        public AwsNodeConfig.Builder removeTaints​(int index)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getTaintsBuilder

        public NodeTaint.Builder getTaintsBuilder​(int index)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getTaintsOrBuilder

        public NodeTaintOrBuilder getTaintsOrBuilder​(int index)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaintsOrBuilder in interface AwsNodeConfigOrBuilder
      • getTaintsOrBuilderList

        public List<? extends NodeTaintOrBuilder> getTaintsOrBuilderList()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaintsOrBuilderList in interface AwsNodeConfigOrBuilder
      • addTaintsBuilder

        public NodeTaint.Builder addTaintsBuilder()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addTaintsBuilder

        public NodeTaint.Builder addTaintsBuilder​(int index)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getTaintsBuilderList

        public List<NodeTaint.Builder> getTaintsBuilderList()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: AwsNodeConfigOrBuilder
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsCount in interface AwsNodeConfigOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface AwsNodeConfigOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsMap in interface AwsNodeConfigOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrDefault in interface AwsNodeConfigOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrThrow in interface AwsNodeConfigOrBuilder
      • removeLabels

        public AwsNodeConfig.Builder removeLabels​(String key)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public AwsNodeConfig.Builder putLabels​(String key,
                                               String value)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • putAllLabels

        public AwsNodeConfig.Builder putAllLabels​(Map<String,​String> values)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getTagsCount

        public int getTagsCount()
        Description copied from interface: AwsNodeConfigOrBuilder
         Optional. Key/value metadata to assign to each underlying AWS resource.
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsCount in interface AwsNodeConfigOrBuilder
      • containsTags

        public boolean containsTags​(String key)
         Optional. Key/value metadata to assign to each underlying AWS resource.
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsTags in interface AwsNodeConfigOrBuilder
      • getTagsMap

        public Map<String,​String> getTagsMap()
         Optional. Key/value metadata to assign to each underlying AWS resource.
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsMap in interface AwsNodeConfigOrBuilder
      • getTagsOrDefault

        public String getTagsOrDefault​(String key,
                                       String defaultValue)
         Optional. Key/value metadata to assign to each underlying AWS resource.
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsOrDefault in interface AwsNodeConfigOrBuilder
      • getTagsOrThrow

        public String getTagsOrThrow​(String key)
         Optional. Key/value metadata to assign to each underlying AWS resource.
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsOrThrow in interface AwsNodeConfigOrBuilder
      • removeTags

        public AwsNodeConfig.Builder removeTags​(String key)
         Optional. Key/value metadata to assign to each underlying AWS resource.
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableTags

        @Deprecated
        public Map<String,​String> getMutableTags()
        Deprecated.
        Use alternate mutation accessors instead.
      • putTags

        public AwsNodeConfig.Builder putTags​(String key,
                                             String value)
         Optional. Key/value metadata to assign to each underlying AWS resource.
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      • putAllTags

        public AwsNodeConfig.Builder putAllTags​(Map<String,​String> values)
         Optional. Key/value metadata to assign to each underlying AWS resource.
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getIamInstanceProfile

        public String getIamInstanceProfile()
         Required. The name or ARN of the AWS IAM role assigned to nodes in the
         pool.
         
        string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getIamInstanceProfile in interface AwsNodeConfigOrBuilder
        Returns:
        The iamInstanceProfile.
      • getIamInstanceProfileBytes

        public com.google.protobuf.ByteString getIamInstanceProfileBytes()
         Required. The name or ARN of the AWS IAM role assigned to nodes in the
         pool.
         
        string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getIamInstanceProfileBytes in interface AwsNodeConfigOrBuilder
        Returns:
        The bytes for iamInstanceProfile.
      • setIamInstanceProfile

        public AwsNodeConfig.Builder setIamInstanceProfile​(String value)
         Required. The name or ARN of the AWS IAM role assigned to nodes in the
         pool.
         
        string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The iamInstanceProfile to set.
        Returns:
        This builder for chaining.
      • clearIamInstanceProfile

        public AwsNodeConfig.Builder clearIamInstanceProfile()
         Required. The name or ARN of the AWS IAM role assigned to nodes in the
         pool.
         
        string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setIamInstanceProfileBytes

        public AwsNodeConfig.Builder setIamInstanceProfileBytes​(com.google.protobuf.ByteString value)
         Required. The name or ARN of the AWS IAM role assigned to nodes in the
         pool.
         
        string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for iamInstanceProfile to set.
        Returns:
        This builder for chaining.
      • getImageType

        public String getImageType()
         Optional. The OS image type to use on node pool instances.
         Can have a value of `ubuntu`, or `windows` if the cluster enables
         the Windows node pool preview feature.
        
         When unspecified, it defaults to `ubuntu`.
         
        string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getImageType in interface AwsNodeConfigOrBuilder
        Returns:
        The imageType.
      • getImageTypeBytes

        public com.google.protobuf.ByteString getImageTypeBytes()
         Optional. The OS image type to use on node pool instances.
         Can have a value of `ubuntu`, or `windows` if the cluster enables
         the Windows node pool preview feature.
        
         When unspecified, it defaults to `ubuntu`.
         
        string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getImageTypeBytes in interface AwsNodeConfigOrBuilder
        Returns:
        The bytes for imageType.
      • setImageType

        public AwsNodeConfig.Builder setImageType​(String value)
         Optional. The OS image type to use on node pool instances.
         Can have a value of `ubuntu`, or `windows` if the cluster enables
         the Windows node pool preview feature.
        
         When unspecified, it defaults to `ubuntu`.
         
        string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The imageType to set.
        Returns:
        This builder for chaining.
      • clearImageType

        public AwsNodeConfig.Builder clearImageType()
         Optional. The OS image type to use on node pool instances.
         Can have a value of `ubuntu`, or `windows` if the cluster enables
         the Windows node pool preview feature.
        
         When unspecified, it defaults to `ubuntu`.
         
        string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setImageTypeBytes

        public AwsNodeConfig.Builder setImageTypeBytes​(com.google.protobuf.ByteString value)
         Optional. The OS image type to use on node pool instances.
         Can have a value of `ubuntu`, or `windows` if the cluster enables
         the Windows node pool preview feature.
        
         When unspecified, it defaults to `ubuntu`.
         
        string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for imageType to set.
        Returns:
        This builder for chaining.
      • hasSshConfig

        public boolean hasSshConfig()
         Optional. The SSH configuration.
         
        .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasSshConfig in interface AwsNodeConfigOrBuilder
        Returns:
        Whether the sshConfig field is set.
      • getSshConfig

        public AwsSshConfig getSshConfig()
         Optional. The SSH configuration.
         
        .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSshConfig in interface AwsNodeConfigOrBuilder
        Returns:
        The sshConfig.
      • setSshConfig

        public AwsNodeConfig.Builder setSshConfig​(AwsSshConfig value)
         Optional. The SSH configuration.
         
        .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • setSshConfig

        public AwsNodeConfig.Builder setSshConfig​(AwsSshConfig.Builder builderForValue)
         Optional. The SSH configuration.
         
        .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • mergeSshConfig

        public AwsNodeConfig.Builder mergeSshConfig​(AwsSshConfig value)
         Optional. The SSH configuration.
         
        .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • clearSshConfig

        public AwsNodeConfig.Builder clearSshConfig()
         Optional. The SSH configuration.
         
        .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • getSshConfigBuilder

        public AwsSshConfig.Builder getSshConfigBuilder()
         Optional. The SSH configuration.
         
        .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • getSecurityGroupIdsList

        public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList()
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSecurityGroupIdsList in interface AwsNodeConfigOrBuilder
        Returns:
        A list containing the securityGroupIds.
      • getSecurityGroupIdsCount

        public int getSecurityGroupIdsCount()
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSecurityGroupIdsCount in interface AwsNodeConfigOrBuilder
        Returns:
        The count of securityGroupIds.
      • getSecurityGroupIds

        public String getSecurityGroupIds​(int index)
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSecurityGroupIds in interface AwsNodeConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The securityGroupIds at the given index.
      • getSecurityGroupIdsBytes

        public com.google.protobuf.ByteString getSecurityGroupIdsBytes​(int index)
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSecurityGroupIdsBytes in interface AwsNodeConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the securityGroupIds at the given index.
      • setSecurityGroupIds

        public AwsNodeConfig.Builder setSecurityGroupIds​(int index,
                                                         String value)
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index to set the value at.
        value - The securityGroupIds to set.
        Returns:
        This builder for chaining.
      • addSecurityGroupIds

        public AwsNodeConfig.Builder addSecurityGroupIds​(String value)
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The securityGroupIds to add.
        Returns:
        This builder for chaining.
      • addAllSecurityGroupIds

        public AwsNodeConfig.Builder addAllSecurityGroupIds​(Iterable<String> values)
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        values - The securityGroupIds to add.
        Returns:
        This builder for chaining.
      • clearSecurityGroupIds

        public AwsNodeConfig.Builder clearSecurityGroupIds()
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • addSecurityGroupIdsBytes

        public AwsNodeConfig.Builder addSecurityGroupIdsBytes​(com.google.protobuf.ByteString value)
         Optional. The IDs of additional security groups to add to nodes in this
         pool. The manager will automatically create security groups with minimum
         rules needed for a functioning cluster.
         
        repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes of the securityGroupIds to add.
        Returns:
        This builder for chaining.
      • hasProxyConfig

        public boolean hasProxyConfig()
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasProxyConfig in interface AwsNodeConfigOrBuilder
        Returns:
        Whether the proxyConfig field is set.
      • getProxyConfig

        public AwsProxyConfig getProxyConfig()
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getProxyConfig in interface AwsNodeConfigOrBuilder
        Returns:
        The proxyConfig.
      • setProxyConfig

        public AwsNodeConfig.Builder setProxyConfig​(AwsProxyConfig value)
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • setProxyConfig

        public AwsNodeConfig.Builder setProxyConfig​(AwsProxyConfig.Builder builderForValue)
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • mergeProxyConfig

        public AwsNodeConfig.Builder mergeProxyConfig​(AwsProxyConfig value)
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • clearProxyConfig

        public AwsNodeConfig.Builder clearProxyConfig()
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • getProxyConfigBuilder

        public AwsProxyConfig.Builder getProxyConfigBuilder()
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • hasConfigEncryption

        public boolean hasConfigEncryption()
         Required. Config encryption for user data.
         
        .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasConfigEncryption in interface AwsNodeConfigOrBuilder
        Returns:
        Whether the configEncryption field is set.
      • getConfigEncryption

        public AwsConfigEncryption getConfigEncryption()
         Required. Config encryption for user data.
         
        .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConfigEncryption in interface AwsNodeConfigOrBuilder
        Returns:
        The configEncryption.
      • setConfigEncryption

        public AwsNodeConfig.Builder setConfigEncryption​(AwsConfigEncryption value)
         Required. Config encryption for user data.
         
        .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
      • setConfigEncryption

        public AwsNodeConfig.Builder setConfigEncryption​(AwsConfigEncryption.Builder builderForValue)
         Required. Config encryption for user data.
         
        .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
      • mergeConfigEncryption

        public AwsNodeConfig.Builder mergeConfigEncryption​(AwsConfigEncryption value)
         Required. Config encryption for user data.
         
        .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
      • clearConfigEncryption

        public AwsNodeConfig.Builder clearConfigEncryption()
         Required. Config encryption for user data.
         
        .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
      • getConfigEncryptionBuilder

        public AwsConfigEncryption.Builder getConfigEncryptionBuilder()
         Required. Config encryption for user data.
         
        .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
      • hasInstancePlacement

        public boolean hasInstancePlacement()
         Optional. Placement related info for this node.
         When unspecified, the VPC's default tenancy will be used.
         
        .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasInstancePlacement in interface AwsNodeConfigOrBuilder
        Returns:
        Whether the instancePlacement field is set.
      • getInstancePlacement

        public AwsInstancePlacement getInstancePlacement()
         Optional. Placement related info for this node.
         When unspecified, the VPC's default tenancy will be used.
         
        .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInstancePlacement in interface AwsNodeConfigOrBuilder
        Returns:
        The instancePlacement.
      • setInstancePlacement

        public AwsNodeConfig.Builder setInstancePlacement​(AwsInstancePlacement value)
         Optional. Placement related info for this node.
         When unspecified, the VPC's default tenancy will be used.
         
        .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];
      • setInstancePlacement

        public AwsNodeConfig.Builder setInstancePlacement​(AwsInstancePlacement.Builder builderForValue)
         Optional. Placement related info for this node.
         When unspecified, the VPC's default tenancy will be used.
         
        .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];
      • mergeInstancePlacement

        public AwsNodeConfig.Builder mergeInstancePlacement​(AwsInstancePlacement value)
         Optional. Placement related info for this node.
         When unspecified, the VPC's default tenancy will be used.
         
        .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];
      • clearInstancePlacement

        public AwsNodeConfig.Builder clearInstancePlacement()
         Optional. Placement related info for this node.
         When unspecified, the VPC's default tenancy will be used.
         
        .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];
      • getInstancePlacementBuilder

        public AwsInstancePlacement.Builder getInstancePlacementBuilder()
         Optional. Placement related info for this node.
         When unspecified, the VPC's default tenancy will be used.
         
        .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];
      • getInstancePlacementOrBuilder

        public AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder()
         Optional. Placement related info for this node.
         When unspecified, the VPC's default tenancy will be used.
         
        .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInstancePlacementOrBuilder in interface AwsNodeConfigOrBuilder
      • hasAutoscalingMetricsCollection

        public boolean hasAutoscalingMetricsCollection()
         Optional. Configuration related to CloudWatch metrics collection on the
         Auto Scaling group of the node pool.
        
         When unspecified, metrics collection is disabled.
         
        .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasAutoscalingMetricsCollection in interface AwsNodeConfigOrBuilder
        Returns:
        Whether the autoscalingMetricsCollection field is set.
      • getAutoscalingMetricsCollection

        public AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection()
         Optional. Configuration related to CloudWatch metrics collection on the
         Auto Scaling group of the node pool.
        
         When unspecified, metrics collection is disabled.
         
        .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAutoscalingMetricsCollection in interface AwsNodeConfigOrBuilder
        Returns:
        The autoscalingMetricsCollection.
      • setAutoscalingMetricsCollection

        public AwsNodeConfig.Builder setAutoscalingMetricsCollection​(AwsAutoscalingGroupMetricsCollection value)
         Optional. Configuration related to CloudWatch metrics collection on the
         Auto Scaling group of the node pool.
        
         When unspecified, metrics collection is disabled.
         
        .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];
      • setAutoscalingMetricsCollection

        public AwsNodeConfig.Builder setAutoscalingMetricsCollection​(AwsAutoscalingGroupMetricsCollection.Builder builderForValue)
         Optional. Configuration related to CloudWatch metrics collection on the
         Auto Scaling group of the node pool.
        
         When unspecified, metrics collection is disabled.
         
        .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];
      • mergeAutoscalingMetricsCollection

        public AwsNodeConfig.Builder mergeAutoscalingMetricsCollection​(AwsAutoscalingGroupMetricsCollection value)
         Optional. Configuration related to CloudWatch metrics collection on the
         Auto Scaling group of the node pool.
        
         When unspecified, metrics collection is disabled.
         
        .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];
      • clearAutoscalingMetricsCollection

        public AwsNodeConfig.Builder clearAutoscalingMetricsCollection()
         Optional. Configuration related to CloudWatch metrics collection on the
         Auto Scaling group of the node pool.
        
         When unspecified, metrics collection is disabled.
         
        .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];
      • getAutoscalingMetricsCollectionBuilder

        public AwsAutoscalingGroupMetricsCollection.Builder getAutoscalingMetricsCollectionBuilder()
         Optional. Configuration related to CloudWatch metrics collection on the
         Auto Scaling group of the node pool.
        
         When unspecified, metrics collection is disabled.
         
        .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];
      • getAutoscalingMetricsCollectionOrBuilder

        public AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder()
         Optional. Configuration related to CloudWatch metrics collection on the
         Auto Scaling group of the node pool.
        
         When unspecified, metrics collection is disabled.
         
        .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAutoscalingMetricsCollectionOrBuilder in interface AwsNodeConfigOrBuilder
      • setUnknownFields

        public final AwsNodeConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>
      • mergeUnknownFields

        public final AwsNodeConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AwsNodeConfig.Builder>