Package com.google.cloud.dataproc.v1
Interface GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
,GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder
- Enclosing class:
- GkeNodePoolConfig
public static interface GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxNodeCount()
The maximum number of nodes in the node pool.int
getMinNodeCount()
The 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
-
getMinNodeCount
int getMinNodeCount()
The minimum number of nodes in the node pool. Must be >= 0 and <= max_node_count.
int32 min_node_count = 2;
- Returns:
- The minNodeCount.
-
getMaxNodeCount
int getMaxNodeCount()
The maximum number of nodes in the node pool. Must be >= min_node_count, and must be > 0. **Note:** Quota must be sufficient to scale up the cluster.
int32 max_node_count = 3;
- Returns:
- The maxNodeCount.
-
-