public final class NodeGroupAutoscalingPolicy extends GeneratedMessageV3 implements NodeGroupAutoscalingPolicyOrBuilder
Protobuf type google.cloud.compute.v1.NodeGroupAutoscalingPolicy
Static Fields
MAX_NODES_FIELD_NUMBER
public static final int MAX_NODES_FIELD_NUMBER
Field Value
MIN_NODES_FIELD_NUMBER
public static final int MIN_NODES_FIELD_NUMBER
Field Value
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NodeGroupAutoscalingPolicy getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NodeGroupAutoscalingPolicy.Builder newBuilder()
Returns
newBuilder(NodeGroupAutoscalingPolicy prototype)
public static NodeGroupAutoscalingPolicy.Builder newBuilder(NodeGroupAutoscalingPolicy prototype)
Parameter
Returns
public static NodeGroupAutoscalingPolicy parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeGroupAutoscalingPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NodeGroupAutoscalingPolicy parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NodeGroupAutoscalingPolicy parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeGroupAutoscalingPolicy parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NodeGroupAutoscalingPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeGroupAutoscalingPolicy parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeGroupAutoscalingPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NodeGroupAutoscalingPolicy parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NodeGroupAutoscalingPolicy> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public NodeGroupAutoscalingPolicy getDefaultInstanceForType()
Returns
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
Type | Description |
int | The maxNodes.
|
getMinNodes()
The minimum number of nodes that the group should have.
optional int32 min_nodes = 533370500;
Returns
Type | Description |
int | The minNodes.
|
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
Type | Description |
String | The mode.
|
getModeBytes()
public 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
getParserForType()
public Parser<NodeGroupAutoscalingPolicy> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasMaxNodes()
public 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
Type | Description |
boolean | Whether the maxNodes field is set.
|
hasMinNodes()
public boolean hasMinNodes()
The minimum number of nodes that the group should have.
optional int32 min_nodes = 533370500;
Returns
Type | Description |
boolean | Whether the minNodes field is set.
|
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
Type | Description |
boolean | Whether the mode field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NodeGroupAutoscalingPolicy.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeGroupAutoscalingPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NodeGroupAutoscalingPolicy.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions