Package com.google.container.v1beta1
Interface NodePoolAutoscalingOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePoolAutoscaling
,NodePoolAutoscaling.Builder
public interface NodePoolAutoscalingOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAutoprovisioned()
Can this node pool be deleted automatically.boolean
getEnabled()
Is autoscaling enabled for this node pool.NodePoolAutoscaling.LocationPolicy
getLocationPolicy()
Location policy used when scaling up a nodepool.int
getLocationPolicyValue()
Location policy used when scaling up a nodepool.int
getMaxNodeCount()
Maximum number of nodes for one location in the NodePool.int
getMinNodeCount()
Minimum number of nodes for one location in the NodePool.int
getTotalMaxNodeCount()
Maximum number of nodes in the node pool.int
getTotalMinNodeCount()
Minimum number of nodes in the node pool.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 NodePool. Must be >= 1 and <= max_node_count.
int32 min_node_count = 2;
- Returns:
- The minNodeCount.
-
getMaxNodeCount
int getMaxNodeCount()
Maximum number of nodes for one location in the NodePool. 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 nodepool.
.google.container.v1beta1.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 nodepool.
.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5;
- Returns:
- The locationPolicy.
-
getTotalMinNodeCount
int getTotalMinNodeCount()
Minimum number of nodes in the node pool. Must be greater than 1 less than 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 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.
-
-