public final class NodeGroupAutoscalingPolicy extends GeneratedMessageV3 implements NodeGroupAutoscalingPolicyOrBuilder
Protobuf type google.cloud.compute.v1.NodeGroupAutoscalingPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
MAX_NODES_FIELD_NUMBER
public static final int MAX_NODES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MIN_NODES_FIELD_NUMBER
public static final int MIN_NODES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static NodeGroupAutoscalingPolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NodeGroupAutoscalingPolicy.Builder newBuilder()
newBuilder(NodeGroupAutoscalingPolicy prototype)
public static NodeGroupAutoscalingPolicy.Builder newBuilder(NodeGroupAutoscalingPolicy prototype)
public static NodeGroupAutoscalingPolicy parseDelimitedFrom(InputStream input)
public static NodeGroupAutoscalingPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NodeGroupAutoscalingPolicy parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NodeGroupAutoscalingPolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom(CodedInputStream input)
public static NodeGroupAutoscalingPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom(InputStream input)
public static NodeGroupAutoscalingPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NodeGroupAutoscalingPolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NodeGroupAutoscalingPolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public NodeGroupAutoscalingPolicy getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for mode.
|
getParserForType()
public Parser<NodeGroupAutoscalingPolicy> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NodeGroupAutoscalingPolicy.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeGroupAutoscalingPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NodeGroupAutoscalingPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides