Class NodePoolAutoConfig.Builder

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

    public static final class NodePoolAutoConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<NodePoolAutoConfig.Builder>
    implements NodePoolAutoConfigOrBuilder
     node pool configs that apply to all auto-provisioned node pools
     in autopilot clusters and node auto-provisioning enabled clusters
     
    Protobuf type google.container.v1beta1.NodePoolAutoConfig
    • Method Detail

      • getDescriptor

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

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

        public NodePoolAutoConfig.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<NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • setField

        public NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • clearField

        public NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • clearOneof

        public NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • setRepeatedField

        public NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • addRepeatedField

        public NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • mergeFrom

        public NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • isInitialized

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

        public NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
        Throws:
        IOException
      • hasNetworkTags

        public boolean hasNetworkTags()
         The list of instance tags applied to all nodes. Tags are used to identify
         valid sources or targets for network firewalls and are specified by
         the client during cluster creation. Each tag within the list
         must comply with RFC1035.
         
        .google.container.v1beta1.NetworkTags network_tags = 1;
        Specified by:
        hasNetworkTags in interface NodePoolAutoConfigOrBuilder
        Returns:
        Whether the networkTags field is set.
      • getNetworkTags

        public NetworkTags getNetworkTags()
         The list of instance tags applied to all nodes. Tags are used to identify
         valid sources or targets for network firewalls and are specified by
         the client during cluster creation. Each tag within the list
         must comply with RFC1035.
         
        .google.container.v1beta1.NetworkTags network_tags = 1;
        Specified by:
        getNetworkTags in interface NodePoolAutoConfigOrBuilder
        Returns:
        The networkTags.
      • setNetworkTags

        public NodePoolAutoConfig.Builder setNetworkTags​(NetworkTags value)
         The list of instance tags applied to all nodes. Tags are used to identify
         valid sources or targets for network firewalls and are specified by
         the client during cluster creation. Each tag within the list
         must comply with RFC1035.
         
        .google.container.v1beta1.NetworkTags network_tags = 1;
      • setNetworkTags

        public NodePoolAutoConfig.Builder setNetworkTags​(NetworkTags.Builder builderForValue)
         The list of instance tags applied to all nodes. Tags are used to identify
         valid sources or targets for network firewalls and are specified by
         the client during cluster creation. Each tag within the list
         must comply with RFC1035.
         
        .google.container.v1beta1.NetworkTags network_tags = 1;
      • mergeNetworkTags

        public NodePoolAutoConfig.Builder mergeNetworkTags​(NetworkTags value)
         The list of instance tags applied to all nodes. Tags are used to identify
         valid sources or targets for network firewalls and are specified by
         the client during cluster creation. Each tag within the list
         must comply with RFC1035.
         
        .google.container.v1beta1.NetworkTags network_tags = 1;
      • clearNetworkTags

        public NodePoolAutoConfig.Builder clearNetworkTags()
         The list of instance tags applied to all nodes. Tags are used to identify
         valid sources or targets for network firewalls and are specified by
         the client during cluster creation. Each tag within the list
         must comply with RFC1035.
         
        .google.container.v1beta1.NetworkTags network_tags = 1;
      • getNetworkTagsBuilder

        public NetworkTags.Builder getNetworkTagsBuilder()
         The list of instance tags applied to all nodes. Tags are used to identify
         valid sources or targets for network firewalls and are specified by
         the client during cluster creation. Each tag within the list
         must comply with RFC1035.
         
        .google.container.v1beta1.NetworkTags network_tags = 1;
      • getNetworkTagsOrBuilder

        public NetworkTagsOrBuilder getNetworkTagsOrBuilder()
         The list of instance tags applied to all nodes. Tags are used to identify
         valid sources or targets for network firewalls and are specified by
         the client during cluster creation. Each tag within the list
         must comply with RFC1035.
         
        .google.container.v1beta1.NetworkTags network_tags = 1;
        Specified by:
        getNetworkTagsOrBuilder in interface NodePoolAutoConfigOrBuilder
      • setUnknownFields

        public final NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>
      • mergeUnknownFields

        public final NodePoolAutoConfig.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<NodePoolAutoConfig.Builder>