Class AwsNodePoolAutoscaling (0.47.0)

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
Type Description
int

MIN_NODE_COUNT_FIELD_NUMBER

public static final int MIN_NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AwsNodePoolAutoscaling getDefaultInstance()
Returns
Type Description
AwsNodePoolAutoscaling

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AwsNodePoolAutoscaling.Builder newBuilder()
Returns
Type Description
AwsNodePoolAutoscaling.Builder

newBuilder(AwsNodePoolAutoscaling prototype)

public static AwsNodePoolAutoscaling.Builder newBuilder(AwsNodePoolAutoscaling prototype)
Parameter
Name Description
prototype AwsNodePoolAutoscaling
Returns
Type Description
AwsNodePoolAutoscaling.Builder

parseDelimitedFrom(InputStream input)

public static AwsNodePoolAutoscaling parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AwsNodePoolAutoscaling parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsNodePoolAutoscaling parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsNodePoolAutoscaling parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AwsNodePoolAutoscaling parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AwsNodePoolAutoscaling parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsNodePoolAutoscaling
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AwsNodePoolAutoscaling> parser()
Returns
Type Description
Parser<AwsNodePoolAutoscaling>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AwsNodePoolAutoscaling getDefaultInstanceForType()
Returns
Type Description
AwsNodePoolAutoscaling

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
Type Description
Parser<AwsNodePoolAutoscaling>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AwsNodePoolAutoscaling.Builder newBuilderForType()
Returns
Type Description
AwsNodePoolAutoscaling.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsNodePoolAutoscaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AwsNodePoolAutoscaling.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AwsNodePoolAutoscaling.Builder toBuilder()
Returns
Type Description
AwsNodePoolAutoscaling.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException