Package com.google.container.v1
Interface NodePoolAutoscalingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePoolAutoscaling,NodePoolAutoscaling.Builder
@Generated
public interface NodePoolAutoscalingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCan this node pool be deleted automatically.booleanIs autoscaling enabled for this node pool.Location policy used when scaling up a node pool.intLocation policy used when scaling up a node pool.intMaximum number of nodes for one location in the node pool.intMinimum number of nodes for one location in the node pool.intMaximum number of nodes in the node pool.intMinimum number of nodes in the node pool.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnabled
boolean getEnabled()Is autoscaling enabled for this node pool.
bool enabled = 1;- Returns:
- The enabled.
-
getMinNodeCount
int getMinNodeCount()Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count.
int32 min_node_count = 2;- Returns:
- The minNodeCount.
-
getMaxNodeCount
int getMaxNodeCount()Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
int32 max_node_count = 3;- Returns:
- The maxNodeCount.
-
getAutoprovisioned
boolean getAutoprovisioned()Can this node pool be deleted automatically.
bool autoprovisioned = 4;- Returns:
- The autoprovisioned.
-
getLocationPolicyValue
int getLocationPolicyValue()Location policy used when scaling up a node pool.
.google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5;- Returns:
- The enum numeric value on the wire for locationPolicy.
-
getLocationPolicy
NodePoolAutoscaling.LocationPolicy getLocationPolicy()Location policy used when scaling up a node pool.
.google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5;- Returns:
- The locationPolicy.
-
getTotalMinNodeCount
int getTotalMinNodeCount()Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
int32 total_min_node_count = 6;- Returns:
- The totalMinNodeCount.
-
getTotalMaxNodeCount
int getTotalMaxNodeCount()Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
int32 total_max_node_count = 7;- Returns:
- The totalMaxNodeCount.
-