public final class GkeNodePoolConfig extends com.google.protobuf.GeneratedMessageV3 implements GkeNodePoolConfigOrBuilder
The configuration of a GKE node pool used by a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster).Protobuf type
google.cloud.dataproc.v1.GkeNodePoolConfig| Modifier and Type | Class and Description |
|---|---|
static class |
GkeNodePoolConfig.Builder
The configuration of a GKE node pool used by a [Dataproc-on-GKE
cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster).
|
static class |
GkeNodePoolConfig.GkeNodeConfig
Parameters that describe cluster nodes.
|
static interface |
GkeNodePoolConfig.GkeNodeConfigOrBuilder |
static class |
GkeNodePoolConfig.GkeNodePoolAcceleratorConfig
A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request
for a node pool.
|
static interface |
GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder |
static class |
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig
GkeNodePoolAutoscaling contains information the cluster autoscaler needs to
adjust the size of the node pool to the current cluster usage.
|
static interface |
GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTOSCALING_FIELD_NUMBER |
static int |
CONFIG_FIELD_NUMBER |
static int |
LOCATIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig |
getAutoscaling()
Optional.
|
GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder |
getAutoscalingOrBuilder()
Optional.
|
GkeNodePoolConfig.GkeNodeConfig |
getConfig()
Optional.
|
GkeNodePoolConfig.GkeNodeConfigOrBuilder |
getConfigOrBuilder()
Optional.
|
static GkeNodePoolConfig |
getDefaultInstance() |
GkeNodePoolConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLocations(int index)
Optional.
|
com.google.protobuf.ByteString |
getLocationsBytes(int index)
Optional.
|
int |
getLocationsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getLocationsList()
Optional.
|
com.google.protobuf.Parser<GkeNodePoolConfig> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasAutoscaling()
Optional.
|
boolean |
hasConfig()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GkeNodePoolConfig.Builder |
newBuilder() |
static GkeNodePoolConfig.Builder |
newBuilder(GkeNodePoolConfig prototype) |
GkeNodePoolConfig.Builder |
newBuilderForType() |
protected GkeNodePoolConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GkeNodePoolConfig |
parseDelimitedFrom(InputStream input) |
static GkeNodePoolConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GkeNodePoolConfig |
parseFrom(byte[] data) |
static GkeNodePoolConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GkeNodePoolConfig |
parseFrom(ByteBuffer data) |
static GkeNodePoolConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GkeNodePoolConfig |
parseFrom(com.google.protobuf.ByteString data) |
static GkeNodePoolConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GkeNodePoolConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GkeNodePoolConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GkeNodePoolConfig |
parseFrom(InputStream input) |
static GkeNodePoolConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GkeNodePoolConfig> |
parser() |
GkeNodePoolConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONFIG_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
public static final int AUTOSCALING_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasConfig()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
hasConfig in interface GkeNodePoolConfigOrBuilderpublic GkeNodePoolConfig.GkeNodeConfig getConfig()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
getConfig in interface GkeNodePoolConfigOrBuilderpublic GkeNodePoolConfig.GkeNodeConfigOrBuilder getConfigOrBuilder()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
getConfigOrBuilder in interface GkeNodePoolConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getLocationsList()
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where node pool nodes associated with a Dataproc on GKE virtual cluster will be located. **Note:** All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region. If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];getLocationsList in interface GkeNodePoolConfigOrBuilderpublic int getLocationsCount()
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where node pool nodes associated with a Dataproc on GKE virtual cluster will be located. **Note:** All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region. If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];getLocationsCount in interface GkeNodePoolConfigOrBuilderpublic String getLocations(int index)
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where node pool nodes associated with a Dataproc on GKE virtual cluster will be located. **Note:** All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region. If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];getLocations in interface GkeNodePoolConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getLocationsBytes(int index)
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where node pool nodes associated with a Dataproc on GKE virtual cluster will be located. **Note:** All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region. If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];getLocationsBytes in interface GkeNodePoolConfigOrBuilderindex - The index of the value to return.public boolean hasAutoscaling()
Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
hasAutoscaling in interface GkeNodePoolConfigOrBuilderpublic GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getAutoscaling()
Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
getAutoscaling in interface GkeNodePoolConfigOrBuilderpublic GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder getAutoscalingOrBuilder()
Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
getAutoscalingOrBuilder in interface GkeNodePoolConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GkeNodePoolConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GkeNodePoolConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GkeNodePoolConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GkeNodePoolConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GkeNodePoolConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GkeNodePoolConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GkeNodePoolConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static GkeNodePoolConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GkeNodePoolConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GkeNodePoolConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GkeNodePoolConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GkeNodePoolConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GkeNodePoolConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GkeNodePoolConfig.Builder newBuilder()
public static GkeNodePoolConfig.Builder newBuilder(GkeNodePoolConfig prototype)
public GkeNodePoolConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GkeNodePoolConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GkeNodePoolConfig getDefaultInstance()
public static com.google.protobuf.Parser<GkeNodePoolConfig> parser()
public com.google.protobuf.Parser<GkeNodePoolConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GkeNodePoolConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.