Class GkeNodePoolConfig.GkeNodePoolAutoscalingConfig (4.31.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
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 GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getDefaultInstance()
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig

getDescriptor()

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

newBuilder()

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder newBuilder()
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder

newBuilder(GkeNodePoolConfig.GkeNodePoolAutoscalingConfig prototype)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder newBuilder(GkeNodePoolConfig.GkeNodePoolAutoscalingConfig prototype)
Parameter
NameDescription
prototypeGkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder

parseDelimitedFrom(InputStream input)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static GkeNodePoolConfig.GkeNodePoolAutoscalingConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The minNodeCount.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder toBuilder()
Returns
TypeDescription
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder

writeTo(CodedOutputStream output)

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