Class AzureNodePoolAutoscaling (0.28.0)

public final class AzureNodePoolAutoscaling extends GeneratedMessageV3 implements AzureNodePoolAutoscalingOrBuilder

Configuration related to Kubernetes cluster autoscaler.

The Kubernetes cluster autoscaler will automatically adjust the size of the node pool based on the cluster load.

Protobuf type google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling

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 AzureNodePoolAutoscaling getDefaultInstance()
Returns
TypeDescription
AzureNodePoolAutoscaling

getDescriptor()

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

newBuilder()

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

newBuilder(AzureNodePoolAutoscaling prototype)

public static AzureNodePoolAutoscaling.Builder newBuilder(AzureNodePoolAutoscaling prototype)
Parameter
NameDescription
prototypeAzureNodePoolAutoscaling
Returns
TypeDescription
AzureNodePoolAutoscaling.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AzureNodePoolAutoscaling getDefaultInstanceForType()
Returns
TypeDescription
AzureNodePoolAutoscaling

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<AzureNodePoolAutoscaling> getParserForType()
Returns
TypeDescription
Parser<AzureNodePoolAutoscaling>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 AzureNodePoolAutoscaling.Builder newBuilderForType()
Returns
TypeDescription
AzureNodePoolAutoscaling.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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