Class GkeNodePoolConfig.GkeNodePoolAutoscalingConfig (4.43.0)

public static final class GkeNodePoolConfig.GkeNodePoolAutoscalingConfig extends GeneratedMessageV3 implements GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder

GkeNodePoolAutoscaling contains information the cluster autoscaler needs to adjust the size of the node pool to the current cluster usage.

Protobuf type google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GkeNodePoolConfig.GkeNodePoolAutoscalingConfig

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 GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getDefaultInstance()
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig

getDescriptor()

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

newBuilder()

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder newBuilder()
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder

newBuilder(GkeNodePoolConfig.GkeNodePoolAutoscalingConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<GkeNodePoolConfig.GkeNodePoolAutoscalingConfig> parser()
Returns
Type Description
Parser<GkeNodePoolAutoscalingConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getDefaultInstanceForType()
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig

getMaxNodeCount()

public int getMaxNodeCount()

The maximum number of nodes in the node pool. Must be >= min_node_count, and must be > 0. Note: Quota must be sufficient to scale up the cluster.

int32 max_node_count = 3;

Returns
Type Description
int

The maxNodeCount.

getMinNodeCount()

public int getMinNodeCount()

The minimum number of nodes in the node pool. Must be >= 0 and <= max_node_count.

int32 min_node_count = 2;

Returns
Type Description
int

The minNodeCount.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder toBuilder()
Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder

writeTo(CodedOutputStream output)

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