Package com.google.cloud.compute.v1
Interface NodeGroupAutoscalingPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodeGroupAutoscalingPolicy
,NodeGroupAutoscalingPolicy.Builder
public interface NodeGroupAutoscalingPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxNodes()
The maximum number of nodes that the group should have.int
getMinNodes()
The minimum number of nodes that the group should have.String
getMode()
The autoscaling mode.com.google.protobuf.ByteString
getModeBytes()
The autoscaling mode.boolean
hasMaxNodes()
The maximum number of nodes that the group should have.boolean
hasMinNodes()
The minimum number of nodes that the group should have.boolean
hasMode()
The autoscaling mode.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMaxNodes
boolean hasMaxNodes()
The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
optional int32 max_nodes = 297762838;
- Returns:
- Whether the maxNodes field is set.
-
getMaxNodes
int getMaxNodes()
The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
optional int32 max_nodes = 297762838;
- Returns:
- The maxNodes.
-
hasMinNodes
boolean hasMinNodes()
The minimum number of nodes that the group should have.
optional int32 min_nodes = 533370500;
- Returns:
- Whether the minNodes field is set.
-
getMinNodes
int getMinNodes()
The minimum number of nodes that the group should have.
optional int32 min_nodes = 533370500;
- Returns:
- The minNodes.
-
hasMode
boolean hasMode()
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
- Returns:
- Whether the mode field is set.
-
getMode
String getMode()
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
- Returns:
- The mode.
-
getModeBytes
com.google.protobuf.ByteString getModeBytes()
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
- Returns:
- The bytes for mode.
-
-