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
@Generated
public interface NodeGroupAutoscalingPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe maximum number of nodes that the group should have.intThe minimum number of nodes that the group should have.getMode()The autoscaling mode.com.google.protobuf.ByteStringThe autoscaling mode.booleanThe maximum number of nodes that the group should have.booleanThe minimum number of nodes that the group should have.booleanhasMode()The autoscaling mode.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
-
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.
-