Class AzureNodePoolAutoscaling (0.41.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
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 AzureNodePoolAutoscaling getDefaultInstance()
Returns
Type Description
AzureNodePoolAutoscaling

getDescriptor()

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

newBuilder()

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

newBuilder(AzureNodePoolAutoscaling prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AzureNodePoolAutoscaling getDefaultInstanceForType()
Returns
Type Description
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
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<AzureNodePoolAutoscaling> getParserForType()
Returns
Type Description
Parser<AzureNodePoolAutoscaling>
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 AzureNodePoolAutoscaling.Builder newBuilderForType()
Returns
Type Description
AzureNodePoolAutoscaling.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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