Class NodeManagement.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NodeManagement.Builder>
com.google.container.v1.NodeManagement.Builder
All Implemented Interfaces:
NodeManagementOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NodeManagement

public static final class NodeManagement.Builder extends com.google.protobuf.GeneratedMessage.Builder<NodeManagement.Builder> implements NodeManagementOrBuilder
 NodeManagement defines the set of node management services turned on for the
 node pool.
 
Protobuf type google.container.v1.NodeManagement
  • 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<NodeManagement.Builder>
    • clear

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

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

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

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

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

      public NodeManagement.Builder mergeFrom(NodeManagement other)
    • isInitialized

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

      public NodeManagement.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<NodeManagement.Builder>
      Throws:
      IOException
    • getAutoUpgrade

      public boolean getAutoUpgrade()
       A flag that specifies whether node auto-upgrade is enabled for the node
       pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
       up to date with the latest release version of Kubernetes.
       
      bool auto_upgrade = 1;
      Specified by:
      getAutoUpgrade in interface NodeManagementOrBuilder
      Returns:
      The autoUpgrade.
    • setAutoUpgrade

      public NodeManagement.Builder setAutoUpgrade(boolean value)
       A flag that specifies whether node auto-upgrade is enabled for the node
       pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
       up to date with the latest release version of Kubernetes.
       
      bool auto_upgrade = 1;
      Parameters:
      value - The autoUpgrade to set.
      Returns:
      This builder for chaining.
    • clearAutoUpgrade

      public NodeManagement.Builder clearAutoUpgrade()
       A flag that specifies whether node auto-upgrade is enabled for the node
       pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
       up to date with the latest release version of Kubernetes.
       
      bool auto_upgrade = 1;
      Returns:
      This builder for chaining.
    • getAutoRepair

      public boolean getAutoRepair()
       A flag that specifies whether the node auto-repair is enabled for the node
       pool. If enabled, the nodes in this node pool will be monitored and, if
       they fail health checks too many times, an automatic repair action will be
       triggered.
       
      bool auto_repair = 2;
      Specified by:
      getAutoRepair in interface NodeManagementOrBuilder
      Returns:
      The autoRepair.
    • setAutoRepair

      public NodeManagement.Builder setAutoRepair(boolean value)
       A flag that specifies whether the node auto-repair is enabled for the node
       pool. If enabled, the nodes in this node pool will be monitored and, if
       they fail health checks too many times, an automatic repair action will be
       triggered.
       
      bool auto_repair = 2;
      Parameters:
      value - The autoRepair to set.
      Returns:
      This builder for chaining.
    • clearAutoRepair

      public NodeManagement.Builder clearAutoRepair()
       A flag that specifies whether the node auto-repair is enabled for the node
       pool. If enabled, the nodes in this node pool will be monitored and, if
       they fail health checks too many times, an automatic repair action will be
       triggered.
       
      bool auto_repair = 2;
      Returns:
      This builder for chaining.
    • hasUpgradeOptions

      public boolean hasUpgradeOptions()
       Specifies the Auto Upgrade knobs for the node pool.
       
      .google.container.v1.AutoUpgradeOptions upgrade_options = 10;
      Specified by:
      hasUpgradeOptions in interface NodeManagementOrBuilder
      Returns:
      Whether the upgradeOptions field is set.
    • getUpgradeOptions

      public AutoUpgradeOptions getUpgradeOptions()
       Specifies the Auto Upgrade knobs for the node pool.
       
      .google.container.v1.AutoUpgradeOptions upgrade_options = 10;
      Specified by:
      getUpgradeOptions in interface NodeManagementOrBuilder
      Returns:
      The upgradeOptions.
    • setUpgradeOptions

      public NodeManagement.Builder setUpgradeOptions(AutoUpgradeOptions value)
       Specifies the Auto Upgrade knobs for the node pool.
       
      .google.container.v1.AutoUpgradeOptions upgrade_options = 10;
    • setUpgradeOptions

      public NodeManagement.Builder setUpgradeOptions(AutoUpgradeOptions.Builder builderForValue)
       Specifies the Auto Upgrade knobs for the node pool.
       
      .google.container.v1.AutoUpgradeOptions upgrade_options = 10;
    • mergeUpgradeOptions

      public NodeManagement.Builder mergeUpgradeOptions(AutoUpgradeOptions value)
       Specifies the Auto Upgrade knobs for the node pool.
       
      .google.container.v1.AutoUpgradeOptions upgrade_options = 10;
    • clearUpgradeOptions

      public NodeManagement.Builder clearUpgradeOptions()
       Specifies the Auto Upgrade knobs for the node pool.
       
      .google.container.v1.AutoUpgradeOptions upgrade_options = 10;
    • getUpgradeOptionsBuilder

      public AutoUpgradeOptions.Builder getUpgradeOptionsBuilder()
       Specifies the Auto Upgrade knobs for the node pool.
       
      .google.container.v1.AutoUpgradeOptions upgrade_options = 10;
    • getUpgradeOptionsOrBuilder

      public AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder()
       Specifies the Auto Upgrade knobs for the node pool.
       
      .google.container.v1.AutoUpgradeOptions upgrade_options = 10;
      Specified by:
      getUpgradeOptionsOrBuilder in interface NodeManagementOrBuilder