Class NodePool

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.NodePool
All Implemented Interfaces:
NodePoolOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class NodePool extends com.google.protobuf.GeneratedMessage implements NodePoolOrBuilder
 NodePool contains the name and configuration for a cluster's node pool.
 Node pools are a set of nodes (i.e. VM's), with a common configuration and
 specification, under the control of the cluster master. They may have a set
 of Kubernetes labels applied to them, which may be used to reference them
 during pod scheduling. They may also be resized up or down, to accommodate
 the workload.
 
Protobuf type google.container.v1.NodePool
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CONFIG_FIELD_NUMBER

      public static final int CONFIG_FIELD_NUMBER
      See Also:
    • INITIAL_NODE_COUNT_FIELD_NUMBER

      public static final int INITIAL_NODE_COUNT_FIELD_NUMBER
      See Also:
    • LOCATIONS_FIELD_NUMBER

      public static final int LOCATIONS_FIELD_NUMBER
      See Also:
    • NETWORK_CONFIG_FIELD_NUMBER

      public static final int NETWORK_CONFIG_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • INSTANCE_GROUP_URLS_FIELD_NUMBER

      public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • STATUS_MESSAGE_FIELD_NUMBER

      public static final int STATUS_MESSAGE_FIELD_NUMBER
      See Also:
    • AUTOSCALING_FIELD_NUMBER

      public static final int AUTOSCALING_FIELD_NUMBER
      See Also:
    • MANAGEMENT_FIELD_NUMBER

      public static final int MANAGEMENT_FIELD_NUMBER
      See Also:
    • MAX_PODS_CONSTRAINT_FIELD_NUMBER

      public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER
      See Also:
    • CONDITIONS_FIELD_NUMBER

      public static final int CONDITIONS_FIELD_NUMBER
      See Also:
    • POD_IPV4_CIDR_SIZE_FIELD_NUMBER

      public static final int POD_IPV4_CIDR_SIZE_FIELD_NUMBER
      See Also:
    • UPGRADE_SETTINGS_FIELD_NUMBER

      public static final int UPGRADE_SETTINGS_FIELD_NUMBER
      See Also:
    • PLACEMENT_POLICY_FIELD_NUMBER

      public static final int PLACEMENT_POLICY_FIELD_NUMBER
      See Also:
    • UPDATE_INFO_FIELD_NUMBER

      public static final int UPDATE_INFO_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
    • QUEUED_PROVISIONING_FIELD_NUMBER

      public static final int QUEUED_PROVISIONING_FIELD_NUMBER
      See Also:
    • BEST_EFFORT_PROVISIONING_FIELD_NUMBER

      public static final int BEST_EFFORT_PROVISIONING_FIELD_NUMBER
      See Also:
    • NODE_DRAIN_CONFIG_FIELD_NUMBER

      public static final int NODE_DRAIN_CONFIG_FIELD_NUMBER
      See Also:
    • MAINTENANCE_POLICY_FIELD_NUMBER

      public static final int MAINTENANCE_POLICY_FIELD_NUMBER
      See Also:
  • 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
    • getName

      public String getName()
       The name of the node pool.
       
      string name = 1;
      Specified by:
      getName in interface NodePoolOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the node pool.
       
      string name = 1;
      Specified by:
      getNameBytes in interface NodePoolOrBuilder
      Returns:
      The bytes for name.
    • hasConfig

      public boolean hasConfig()
       The node configuration of the pool.
       
      .google.container.v1.NodeConfig config = 2;
      Specified by:
      hasConfig in interface NodePoolOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public NodeConfig getConfig()
       The node configuration of the pool.
       
      .google.container.v1.NodeConfig config = 2;
      Specified by:
      getConfig in interface NodePoolOrBuilder
      Returns:
      The config.
    • getConfigOrBuilder

      public NodeConfigOrBuilder getConfigOrBuilder()
       The node configuration of the pool.
       
      .google.container.v1.NodeConfig config = 2;
      Specified by:
      getConfigOrBuilder in interface NodePoolOrBuilder
    • getInitialNodeCount

      public int getInitialNodeCount()
       The initial node count for the pool. You must ensure that your
       Compute Engine [resource
       quota](https://cloud.google.com/compute/quotas)
       is sufficient for this number of instances. You must also have available
       firewall and routes quota.
       
      int32 initial_node_count = 3;
      Specified by:
      getInitialNodeCount in interface NodePoolOrBuilder
      Returns:
      The initialNodeCount.
    • getLocationsList

      public com.google.protobuf.ProtocolStringList getLocationsList()
       The list of Google Compute Engine
       [zones](https://cloud.google.com/compute/docs/zones#available)
       in which the NodePool's nodes should be located.
      
       If this value is unspecified during node pool creation, the
       [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations)
       value will be used, instead.
      
       Warning: changing node pool locations will result in nodes being added
       and/or removed.
       
      repeated string locations = 13;
      Specified by:
      getLocationsList in interface NodePoolOrBuilder
      Returns:
      A list containing the locations.
    • getLocationsCount

      public int getLocationsCount()
       The list of Google Compute Engine
       [zones](https://cloud.google.com/compute/docs/zones#available)
       in which the NodePool's nodes should be located.
      
       If this value is unspecified during node pool creation, the
       [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations)
       value will be used, instead.
      
       Warning: changing node pool locations will result in nodes being added
       and/or removed.
       
      repeated string locations = 13;
      Specified by:
      getLocationsCount in interface NodePoolOrBuilder
      Returns:
      The count of locations.
    • getLocations

      public String getLocations(int index)
       The list of Google Compute Engine
       [zones](https://cloud.google.com/compute/docs/zones#available)
       in which the NodePool's nodes should be located.
      
       If this value is unspecified during node pool creation, the
       [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations)
       value will be used, instead.
      
       Warning: changing node pool locations will result in nodes being added
       and/or removed.
       
      repeated string locations = 13;
      Specified by:
      getLocations in interface NodePoolOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The locations at the given index.
    • getLocationsBytes

      public com.google.protobuf.ByteString getLocationsBytes(int index)
       The list of Google Compute Engine
       [zones](https://cloud.google.com/compute/docs/zones#available)
       in which the NodePool's nodes should be located.
      
       If this value is unspecified during node pool creation, the
       [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations)
       value will be used, instead.
      
       Warning: changing node pool locations will result in nodes being added
       and/or removed.
       
      repeated string locations = 13;
      Specified by:
      getLocationsBytes in interface NodePoolOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the locations at the given index.
    • hasNetworkConfig

      public boolean hasNetworkConfig()
       Networking configuration for this NodePool. If specified, it overrides the
       cluster-level defaults.
       
      .google.container.v1.NodeNetworkConfig network_config = 14;
      Specified by:
      hasNetworkConfig in interface NodePoolOrBuilder
      Returns:
      Whether the networkConfig field is set.
    • getNetworkConfig

      public NodeNetworkConfig getNetworkConfig()
       Networking configuration for this NodePool. If specified, it overrides the
       cluster-level defaults.
       
      .google.container.v1.NodeNetworkConfig network_config = 14;
      Specified by:
      getNetworkConfig in interface NodePoolOrBuilder
      Returns:
      The networkConfig.
    • getNetworkConfigOrBuilder

      public NodeNetworkConfigOrBuilder getNetworkConfigOrBuilder()
       Networking configuration for this NodePool. If specified, it overrides the
       cluster-level defaults.
       
      .google.container.v1.NodeNetworkConfig network_config = 14;
      Specified by:
      getNetworkConfigOrBuilder in interface NodePoolOrBuilder
    • getSelfLink

      public String getSelfLink()
       Output only. Server-defined URL for the resource.
       
      string self_link = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSelfLink in interface NodePoolOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. Server-defined URL for the resource.
       
      string self_link = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSelfLinkBytes in interface NodePoolOrBuilder
      Returns:
      The bytes for selfLink.
    • getVersion

      public String getVersion()
       The version of Kubernetes running on this NodePool's nodes. If unspecified,
       it defaults as described
       [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
       
      string version = 101;
      Specified by:
      getVersion in interface NodePoolOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The version of Kubernetes running on this NodePool's nodes. If unspecified,
       it defaults as described
       [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
       
      string version = 101;
      Specified by:
      getVersionBytes in interface NodePoolOrBuilder
      Returns:
      The bytes for version.
    • getInstanceGroupUrlsList

      public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList()
       Output only. The resource URLs of the [managed instance
       groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with this node pool.
       During the node pool blue-green upgrade operation, the URLs contain both
       blue and green resources.
       
      repeated string instance_group_urls = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstanceGroupUrlsList in interface NodePoolOrBuilder
      Returns:
      A list containing the instanceGroupUrls.
    • getInstanceGroupUrlsCount

      public int getInstanceGroupUrlsCount()
       Output only. The resource URLs of the [managed instance
       groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with this node pool.
       During the node pool blue-green upgrade operation, the URLs contain both
       blue and green resources.
       
      repeated string instance_group_urls = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstanceGroupUrlsCount in interface NodePoolOrBuilder
      Returns:
      The count of instanceGroupUrls.
    • getInstanceGroupUrls

      public String getInstanceGroupUrls(int index)
       Output only. The resource URLs of the [managed instance
       groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with this node pool.
       During the node pool blue-green upgrade operation, the URLs contain both
       blue and green resources.
       
      repeated string instance_group_urls = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstanceGroupUrls in interface NodePoolOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The instanceGroupUrls at the given index.
    • getInstanceGroupUrlsBytes

      public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index)
       Output only. The resource URLs of the [managed instance
       groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with this node pool.
       During the node pool blue-green upgrade operation, the URLs contain both
       blue and green resources.
       
      repeated string instance_group_urls = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstanceGroupUrlsBytes in interface NodePoolOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the instanceGroupUrls at the given index.
    • getStatusValue

      public int getStatusValue()
       Output only. The status of the nodes in this pool instance.
       
      .google.container.v1.NodePool.Status status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface NodePoolOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public NodePool.Status getStatus()
       Output only. The status of the nodes in this pool instance.
       
      .google.container.v1.NodePool.Status status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface NodePoolOrBuilder
      Returns:
      The status.
    • getStatusMessage

      @Deprecated public String getStatusMessage()
      Deprecated.
      google.container.v1.NodePool.status_message is deprecated. See google/container/v1/cluster_service.proto;l=5361
       Output only. Deprecated. Use conditions instead.
       Additional information about the current status of this
       node pool instance, if available.
       
      string status_message = 104 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusMessage in interface NodePoolOrBuilder
      Returns:
      The statusMessage.
    • getStatusMessageBytes

      @Deprecated public com.google.protobuf.ByteString getStatusMessageBytes()
      Deprecated.
      google.container.v1.NodePool.status_message is deprecated. See google/container/v1/cluster_service.proto;l=5361
       Output only. Deprecated. Use conditions instead.
       Additional information about the current status of this
       node pool instance, if available.
       
      string status_message = 104 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusMessageBytes in interface NodePoolOrBuilder
      Returns:
      The bytes for statusMessage.
    • hasAutoscaling

      public boolean hasAutoscaling()
       Autoscaler configuration for this NodePool. Autoscaler is enabled
       only if a valid configuration is present.
       
      .google.container.v1.NodePoolAutoscaling autoscaling = 4;
      Specified by:
      hasAutoscaling in interface NodePoolOrBuilder
      Returns:
      Whether the autoscaling field is set.
    • getAutoscaling

      public NodePoolAutoscaling getAutoscaling()
       Autoscaler configuration for this NodePool. Autoscaler is enabled
       only if a valid configuration is present.
       
      .google.container.v1.NodePoolAutoscaling autoscaling = 4;
      Specified by:
      getAutoscaling in interface NodePoolOrBuilder
      Returns:
      The autoscaling.
    • getAutoscalingOrBuilder

      public NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()
       Autoscaler configuration for this NodePool. Autoscaler is enabled
       only if a valid configuration is present.
       
      .google.container.v1.NodePoolAutoscaling autoscaling = 4;
      Specified by:
      getAutoscalingOrBuilder in interface NodePoolOrBuilder
    • hasManagement

      public boolean hasManagement()
       NodeManagement configuration for this NodePool.
       
      .google.container.v1.NodeManagement management = 5;
      Specified by:
      hasManagement in interface NodePoolOrBuilder
      Returns:
      Whether the management field is set.
    • getManagement

      public NodeManagement getManagement()
       NodeManagement configuration for this NodePool.
       
      .google.container.v1.NodeManagement management = 5;
      Specified by:
      getManagement in interface NodePoolOrBuilder
      Returns:
      The management.
    • getManagementOrBuilder

      public NodeManagementOrBuilder getManagementOrBuilder()
       NodeManagement configuration for this NodePool.
       
      .google.container.v1.NodeManagement management = 5;
      Specified by:
      getManagementOrBuilder in interface NodePoolOrBuilder
    • hasMaxPodsConstraint

      public boolean hasMaxPodsConstraint()
       The constraint on the maximum number of pods that can be run
       simultaneously on a node in the node pool.
       
      .google.container.v1.MaxPodsConstraint max_pods_constraint = 6;
      Specified by:
      hasMaxPodsConstraint in interface NodePoolOrBuilder
      Returns:
      Whether the maxPodsConstraint field is set.
    • getMaxPodsConstraint

      public MaxPodsConstraint getMaxPodsConstraint()
       The constraint on the maximum number of pods that can be run
       simultaneously on a node in the node pool.
       
      .google.container.v1.MaxPodsConstraint max_pods_constraint = 6;
      Specified by:
      getMaxPodsConstraint in interface NodePoolOrBuilder
      Returns:
      The maxPodsConstraint.
    • getMaxPodsConstraintOrBuilder

      public MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder()
       The constraint on the maximum number of pods that can be run
       simultaneously on a node in the node pool.
       
      .google.container.v1.MaxPodsConstraint max_pods_constraint = 6;
      Specified by:
      getMaxPodsConstraintOrBuilder in interface NodePoolOrBuilder
    • getConditionsList

      public List<StatusCondition> getConditionsList()
       Which conditions caused the current node pool state.
       
      repeated .google.container.v1.StatusCondition conditions = 105;
      Specified by:
      getConditionsList in interface NodePoolOrBuilder
    • getConditionsOrBuilderList

      public List<? extends StatusConditionOrBuilder> getConditionsOrBuilderList()
       Which conditions caused the current node pool state.
       
      repeated .google.container.v1.StatusCondition conditions = 105;
      Specified by:
      getConditionsOrBuilderList in interface NodePoolOrBuilder
    • getConditionsCount

      public int getConditionsCount()
       Which conditions caused the current node pool state.
       
      repeated .google.container.v1.StatusCondition conditions = 105;
      Specified by:
      getConditionsCount in interface NodePoolOrBuilder
    • getConditions

      public StatusCondition getConditions(int index)
       Which conditions caused the current node pool state.
       
      repeated .google.container.v1.StatusCondition conditions = 105;
      Specified by:
      getConditions in interface NodePoolOrBuilder
    • getConditionsOrBuilder

      public StatusConditionOrBuilder getConditionsOrBuilder(int index)
       Which conditions caused the current node pool state.
       
      repeated .google.container.v1.StatusCondition conditions = 105;
      Specified by:
      getConditionsOrBuilder in interface NodePoolOrBuilder
    • getPodIpv4CidrSize

      public int getPodIpv4CidrSize()
       Output only. The pod CIDR block size per node in this node pool.
       
      int32 pod_ipv4_cidr_size = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPodIpv4CidrSize in interface NodePoolOrBuilder
      Returns:
      The podIpv4CidrSize.
    • hasUpgradeSettings

      public boolean hasUpgradeSettings()
       Upgrade settings control disruption and speed of the upgrade.
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;
      Specified by:
      hasUpgradeSettings in interface NodePoolOrBuilder
      Returns:
      Whether the upgradeSettings field is set.
    • getUpgradeSettings

      public NodePool.UpgradeSettings getUpgradeSettings()
       Upgrade settings control disruption and speed of the upgrade.
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;
      Specified by:
      getUpgradeSettings in interface NodePoolOrBuilder
      Returns:
      The upgradeSettings.
    • getUpgradeSettingsOrBuilder

      public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
       Upgrade settings control disruption and speed of the upgrade.
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;
      Specified by:
      getUpgradeSettingsOrBuilder in interface NodePoolOrBuilder
    • hasPlacementPolicy

      public boolean hasPlacementPolicy()
       Specifies the node placement policy.
       
      .google.container.v1.NodePool.PlacementPolicy placement_policy = 108;
      Specified by:
      hasPlacementPolicy in interface NodePoolOrBuilder
      Returns:
      Whether the placementPolicy field is set.
    • getPlacementPolicy

      public NodePool.PlacementPolicy getPlacementPolicy()
       Specifies the node placement policy.
       
      .google.container.v1.NodePool.PlacementPolicy placement_policy = 108;
      Specified by:
      getPlacementPolicy in interface NodePoolOrBuilder
      Returns:
      The placementPolicy.
    • getPlacementPolicyOrBuilder

      public NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder()
       Specifies the node placement policy.
       
      .google.container.v1.NodePool.PlacementPolicy placement_policy = 108;
      Specified by:
      getPlacementPolicyOrBuilder in interface NodePoolOrBuilder
    • hasUpdateInfo

      public boolean hasUpdateInfo()
       Output only. Update info contains relevant information during a node
       pool update.
       
      .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateInfo in interface NodePoolOrBuilder
      Returns:
      Whether the updateInfo field is set.
    • getUpdateInfo

      public NodePool.UpdateInfo getUpdateInfo()
       Output only. Update info contains relevant information during a node
       pool update.
       
      .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateInfo in interface NodePoolOrBuilder
      Returns:
      The updateInfo.
    • getUpdateInfoOrBuilder

      public NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder()
       Output only. Update info contains relevant information during a node
       pool update.
       
      .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateInfoOrBuilder in interface NodePoolOrBuilder
    • getEtag

      public String getEtag()
       This checksum is computed by the server based on the value of node pool
       fields, and may be sent on update requests to ensure the client has an
       up-to-date value before proceeding.
       
      string etag = 110;
      Specified by:
      getEtag in interface NodePoolOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       This checksum is computed by the server based on the value of node pool
       fields, and may be sent on update requests to ensure the client has an
       up-to-date value before proceeding.
       
      string etag = 110;
      Specified by:
      getEtagBytes in interface NodePoolOrBuilder
      Returns:
      The bytes for etag.
    • hasQueuedProvisioning

      public boolean hasQueuedProvisioning()
       Specifies the configuration of queued provisioning.
       
      .google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112;
      Specified by:
      hasQueuedProvisioning in interface NodePoolOrBuilder
      Returns:
      Whether the queuedProvisioning field is set.
    • getQueuedProvisioning

      public NodePool.QueuedProvisioning getQueuedProvisioning()
       Specifies the configuration of queued provisioning.
       
      .google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112;
      Specified by:
      getQueuedProvisioning in interface NodePoolOrBuilder
      Returns:
      The queuedProvisioning.
    • getQueuedProvisioningOrBuilder

      public NodePool.QueuedProvisioningOrBuilder getQueuedProvisioningOrBuilder()
       Specifies the configuration of queued provisioning.
       
      .google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112;
      Specified by:
      getQueuedProvisioningOrBuilder in interface NodePoolOrBuilder
    • hasBestEffortProvisioning

      public boolean hasBestEffortProvisioning()
       Enable best effort provisioning for nodes
       
      .google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;
      Specified by:
      hasBestEffortProvisioning in interface NodePoolOrBuilder
      Returns:
      Whether the bestEffortProvisioning field is set.
    • getBestEffortProvisioning

      public BestEffortProvisioning getBestEffortProvisioning()
       Enable best effort provisioning for nodes
       
      .google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;
      Specified by:
      getBestEffortProvisioning in interface NodePoolOrBuilder
      Returns:
      The bestEffortProvisioning.
    • getBestEffortProvisioningOrBuilder

      public BestEffortProvisioningOrBuilder getBestEffortProvisioningOrBuilder()
       Enable best effort provisioning for nodes
       
      .google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;
      Specified by:
      getBestEffortProvisioningOrBuilder in interface NodePoolOrBuilder
    • hasNodeDrainConfig

      public boolean hasNodeDrainConfig()
       Specifies the node drain configuration for this node pool.
       
      .google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116;
      Specified by:
      hasNodeDrainConfig in interface NodePoolOrBuilder
      Returns:
      Whether the nodeDrainConfig field is set.
    • getNodeDrainConfig

      public NodePool.NodeDrainConfig getNodeDrainConfig()
       Specifies the node drain configuration for this node pool.
       
      .google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116;
      Specified by:
      getNodeDrainConfig in interface NodePoolOrBuilder
      Returns:
      The nodeDrainConfig.
    • getNodeDrainConfigOrBuilder

      public NodePool.NodeDrainConfigOrBuilder getNodeDrainConfigOrBuilder()
       Specifies the node drain configuration for this node pool.
       
      .google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116;
      Specified by:
      getNodeDrainConfigOrBuilder in interface NodePoolOrBuilder
    • hasMaintenancePolicy

      public boolean hasMaintenancePolicy()
       Optional. Specifies the maintenance policy for the node pool.
       
      .google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMaintenancePolicy in interface NodePoolOrBuilder
      Returns:
      Whether the maintenancePolicy field is set.
    • getMaintenancePolicy

      public NodePool.NodePoolMaintenancePolicy getMaintenancePolicy()
       Optional. Specifies the maintenance policy for the node pool.
       
      .google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenancePolicy in interface NodePoolOrBuilder
      Returns:
      The maintenancePolicy.
    • getMaintenancePolicyOrBuilder

      public NodePool.NodePoolMaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
       Optional. Specifies the maintenance policy for the node pool.
       
      .google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenancePolicyOrBuilder in interface NodePoolOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NodePool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodePool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodePool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodePool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodePool parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodePool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodePool parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodePool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodePool parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodePool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public NodePool.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NodePool.Builder newBuilder()
    • newBuilder

      public static NodePool.Builder newBuilder(NodePool prototype)
    • toBuilder

      public NodePool.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NodePool.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NodePool getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NodePool> parser()
    • getParserForType

      public com.google.protobuf.Parser<NodePool> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public NodePool getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder