public final class AwsNodePoolAutoscaling extends GeneratedMessageV3 implements AwsNodePoolAutoscalingOrBuilder
AwsNodePoolAutoscaling contains information required by cluster autoscaler
to adjust the size of the node pool to the current cluster usage.
Protobuf type google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling
Static Fields
MAX_NODE_COUNT_FIELD_NUMBER
public static final int MAX_NODE_COUNT_FIELD_NUMBER
Field Value
MIN_NODE_COUNT_FIELD_NUMBER
public static final int MIN_NODE_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsNodePoolAutoscaling getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsNodePoolAutoscaling.Builder newBuilder()
Returns
newBuilder(AwsNodePoolAutoscaling prototype)
public static AwsNodePoolAutoscaling.Builder newBuilder(AwsNodePoolAutoscaling prototype)
Parameter
Returns
public static AwsNodePoolAutoscaling parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsNodePoolAutoscaling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsNodePoolAutoscaling parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsNodePoolAutoscaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsNodePoolAutoscaling parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsNodePoolAutoscaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsNodePoolAutoscaling parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsNodePoolAutoscaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsNodePoolAutoscaling parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsNodePoolAutoscaling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsNodePoolAutoscaling parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsNodePoolAutoscaling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsNodePoolAutoscaling> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AwsNodePoolAutoscaling getDefaultInstanceForType()
Returns
getMaxNodeCount()
public int getMaxNodeCount()
Required. Maximum number of nodes in the node pool. Must be greater than or
equal to min_node_count and less than or equal to 50.
int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The maxNodeCount.
|
getMinNodeCount()
public int getMinNodeCount()
Required. Minimum number of nodes in the node pool. Must be greater than or
equal to 1 and less than or equal to max_node_count.
int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The minNodeCount.
|
getParserForType()
public Parser<AwsNodePoolAutoscaling> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AwsNodePoolAutoscaling.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsNodePoolAutoscaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsNodePoolAutoscaling.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions