Class NodePoolAutoConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NodePoolAutoConfig.Builder>
com.google.container.v1.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.GeneratedMessage.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.v1.NodePoolAutoConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.NetworkTags network_tags = 1;
      Specified by:
      getNetworkTagsOrBuilder in interface NodePoolAutoConfigOrBuilder
    • hasResourceManagerTags

      public boolean hasResourceManagerTags()
       Resource manager tag keys and values to be attached to the nodes
       for managing Compute Engine firewalls using Network Firewall Policies.
       
      .google.container.v1.ResourceManagerTags resource_manager_tags = 2;
      Specified by:
      hasResourceManagerTags in interface NodePoolAutoConfigOrBuilder
      Returns:
      Whether the resourceManagerTags field is set.
    • getResourceManagerTags

      public ResourceManagerTags getResourceManagerTags()
       Resource manager tag keys and values to be attached to the nodes
       for managing Compute Engine firewalls using Network Firewall Policies.
       
      .google.container.v1.ResourceManagerTags resource_manager_tags = 2;
      Specified by:
      getResourceManagerTags in interface NodePoolAutoConfigOrBuilder
      Returns:
      The resourceManagerTags.
    • setResourceManagerTags

      public NodePoolAutoConfig.Builder setResourceManagerTags(ResourceManagerTags value)
       Resource manager tag keys and values to be attached to the nodes
       for managing Compute Engine firewalls using Network Firewall Policies.
       
      .google.container.v1.ResourceManagerTags resource_manager_tags = 2;
    • setResourceManagerTags

      public NodePoolAutoConfig.Builder setResourceManagerTags(ResourceManagerTags.Builder builderForValue)
       Resource manager tag keys and values to be attached to the nodes
       for managing Compute Engine firewalls using Network Firewall Policies.
       
      .google.container.v1.ResourceManagerTags resource_manager_tags = 2;
    • mergeResourceManagerTags

      public NodePoolAutoConfig.Builder mergeResourceManagerTags(ResourceManagerTags value)
       Resource manager tag keys and values to be attached to the nodes
       for managing Compute Engine firewalls using Network Firewall Policies.
       
      .google.container.v1.ResourceManagerTags resource_manager_tags = 2;
    • clearResourceManagerTags

      public NodePoolAutoConfig.Builder clearResourceManagerTags()
       Resource manager tag keys and values to be attached to the nodes
       for managing Compute Engine firewalls using Network Firewall Policies.
       
      .google.container.v1.ResourceManagerTags resource_manager_tags = 2;
    • getResourceManagerTagsBuilder

      public ResourceManagerTags.Builder getResourceManagerTagsBuilder()
       Resource manager tag keys and values to be attached to the nodes
       for managing Compute Engine firewalls using Network Firewall Policies.
       
      .google.container.v1.ResourceManagerTags resource_manager_tags = 2;
    • getResourceManagerTagsOrBuilder

      public ResourceManagerTagsOrBuilder getResourceManagerTagsOrBuilder()
       Resource manager tag keys and values to be attached to the nodes
       for managing Compute Engine firewalls using Network Firewall Policies.
       
      .google.container.v1.ResourceManagerTags resource_manager_tags = 2;
      Specified by:
      getResourceManagerTagsOrBuilder in interface NodePoolAutoConfigOrBuilder
    • hasNodeKubeletConfig

      public boolean hasNodeKubeletConfig()
       NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
      
       Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
       
      .google.container.v1.NodeKubeletConfig node_kubelet_config = 3;
      Specified by:
      hasNodeKubeletConfig in interface NodePoolAutoConfigOrBuilder
      Returns:
      Whether the nodeKubeletConfig field is set.
    • getNodeKubeletConfig

      public NodeKubeletConfig getNodeKubeletConfig()
       NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
      
       Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
       
      .google.container.v1.NodeKubeletConfig node_kubelet_config = 3;
      Specified by:
      getNodeKubeletConfig in interface NodePoolAutoConfigOrBuilder
      Returns:
      The nodeKubeletConfig.
    • setNodeKubeletConfig

      public NodePoolAutoConfig.Builder setNodeKubeletConfig(NodeKubeletConfig value)
       NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
      
       Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
       
      .google.container.v1.NodeKubeletConfig node_kubelet_config = 3;
    • setNodeKubeletConfig

      public NodePoolAutoConfig.Builder setNodeKubeletConfig(NodeKubeletConfig.Builder builderForValue)
       NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
      
       Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
       
      .google.container.v1.NodeKubeletConfig node_kubelet_config = 3;
    • mergeNodeKubeletConfig

      public NodePoolAutoConfig.Builder mergeNodeKubeletConfig(NodeKubeletConfig value)
       NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
      
       Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
       
      .google.container.v1.NodeKubeletConfig node_kubelet_config = 3;
    • clearNodeKubeletConfig

      public NodePoolAutoConfig.Builder clearNodeKubeletConfig()
       NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
      
       Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
       
      .google.container.v1.NodeKubeletConfig node_kubelet_config = 3;
    • getNodeKubeletConfigBuilder

      public NodeKubeletConfig.Builder getNodeKubeletConfigBuilder()
       NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
      
       Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
       
      .google.container.v1.NodeKubeletConfig node_kubelet_config = 3;
    • getNodeKubeletConfigOrBuilder

      public NodeKubeletConfigOrBuilder getNodeKubeletConfigOrBuilder()
       NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
      
       Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
       
      .google.container.v1.NodeKubeletConfig node_kubelet_config = 3;
      Specified by:
      getNodeKubeletConfigOrBuilder in interface NodePoolAutoConfigOrBuilder
    • hasLinuxNodeConfig

      public boolean hasLinuxNodeConfig()
       Output only. Configuration options for Linux nodes.
       
      .google.container.v1.LinuxNodeConfig linux_node_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLinuxNodeConfig in interface NodePoolAutoConfigOrBuilder
      Returns:
      Whether the linuxNodeConfig field is set.
    • getLinuxNodeConfig

      public LinuxNodeConfig getLinuxNodeConfig()
       Output only. Configuration options for Linux nodes.
       
      .google.container.v1.LinuxNodeConfig linux_node_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinuxNodeConfig in interface NodePoolAutoConfigOrBuilder
      Returns:
      The linuxNodeConfig.
    • setLinuxNodeConfig

      public NodePoolAutoConfig.Builder setLinuxNodeConfig(LinuxNodeConfig value)
       Output only. Configuration options for Linux nodes.
       
      .google.container.v1.LinuxNodeConfig linux_node_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setLinuxNodeConfig

      public NodePoolAutoConfig.Builder setLinuxNodeConfig(LinuxNodeConfig.Builder builderForValue)
       Output only. Configuration options for Linux nodes.
       
      .google.container.v1.LinuxNodeConfig linux_node_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeLinuxNodeConfig

      public NodePoolAutoConfig.Builder mergeLinuxNodeConfig(LinuxNodeConfig value)
       Output only. Configuration options for Linux nodes.
       
      .google.container.v1.LinuxNodeConfig linux_node_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearLinuxNodeConfig

      public NodePoolAutoConfig.Builder clearLinuxNodeConfig()
       Output only. Configuration options for Linux nodes.
       
      .google.container.v1.LinuxNodeConfig linux_node_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLinuxNodeConfigBuilder

      public LinuxNodeConfig.Builder getLinuxNodeConfigBuilder()
       Output only. Configuration options for Linux nodes.
       
      .google.container.v1.LinuxNodeConfig linux_node_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLinuxNodeConfigOrBuilder

      public LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()
       Output only. Configuration options for Linux nodes.
       
      .google.container.v1.LinuxNodeConfig linux_node_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLinuxNodeConfigOrBuilder in interface NodePoolAutoConfigOrBuilder