Class AwsNodePoolAutoscaling (0.15.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
TypeDescription
int

MIN_NODE_COUNT_FIELD_NUMBER

public static final int MIN_NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsNodePoolAutoscaling getDefaultInstance()
Returns
TypeDescription
AwsNodePoolAutoscaling

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AwsNodePoolAutoscaling.Builder newBuilder()
Returns
TypeDescription
AwsNodePoolAutoscaling.Builder

newBuilder(AwsNodePoolAutoscaling prototype)

public static AwsNodePoolAutoscaling.Builder newBuilder(AwsNodePoolAutoscaling prototype)
Parameter
NameDescription
prototypeAwsNodePoolAutoscaling
Returns
TypeDescription
AwsNodePoolAutoscaling.Builder

parseDelimitedFrom(InputStream input)

public static AwsNodePoolAutoscaling parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AwsNodePoolAutoscaling parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsNodePoolAutoscaling parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsNodePoolAutoscaling parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AwsNodePoolAutoscaling parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AwsNodePoolAutoscaling parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsNodePoolAutoscaling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodePoolAutoscaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AwsNodePoolAutoscaling> parser()
Returns
TypeDescription
Parser<AwsNodePoolAutoscaling>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AwsNodePoolAutoscaling getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The minNodeCount.

getParserForType()

public Parser<AwsNodePoolAutoscaling> getParserForType()
Returns
TypeDescription
Parser<AwsNodePoolAutoscaling>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AwsNodePoolAutoscaling.Builder newBuilderForType()
Returns
TypeDescription
AwsNodePoolAutoscaling.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsNodePoolAutoscaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AwsNodePoolAutoscaling.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AwsNodePoolAutoscaling.Builder toBuilder()
Returns
TypeDescription
AwsNodePoolAutoscaling.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException