public final class GkeNodePoolTarget extends GeneratedMessageV3 implements GkeNodePoolTargetOrBuilder
GKE NodePools that Dataproc workloads run on.Protobuf type
google.cloud.dataproc.v1.GkeNodePoolTarget
Modifier and Type | Class and Description |
---|---|
static class |
GkeNodePoolTarget.Builder
GKE NodePools that Dataproc workloads run on.
|
static class |
GkeNodePoolTarget.Role
`Role` specifies whose tasks will run on the NodePool.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
NODE_POOL_CONFIG_FIELD_NUMBER |
static int |
NODE_POOL_FIELD_NUMBER |
static int |
ROLES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NODE_POOL_FIELD_NUMBER
public static final int ROLES_FIELD_NUMBER
public static final int NODE_POOL_CONFIG_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getNodePool()
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
getNodePool
in interface GkeNodePoolTargetOrBuilder
public ByteString getNodePoolBytes()
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
getNodePoolBytes
in interface GkeNodePoolTargetOrBuilder
public List<GkeNodePoolTarget.Role> getRolesList()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRolesList
in interface GkeNodePoolTargetOrBuilder
public int getRolesCount()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRolesCount
in interface GkeNodePoolTargetOrBuilder
public GkeNodePoolTarget.Role getRoles(int index)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRoles
in interface GkeNodePoolTargetOrBuilder
index
- The index of the element to return.public List<Integer> getRolesValueList()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRolesValueList
in interface GkeNodePoolTargetOrBuilder
public int getRolesValue(int index)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRolesValue
in interface GkeNodePoolTargetOrBuilder
index
- The index of the value to return.public boolean hasNodePoolConfig()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
hasNodePoolConfig
in interface GkeNodePoolTargetOrBuilder
public GkeNodePoolConfig getNodePoolConfig()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getNodePoolConfig
in interface GkeNodePoolTargetOrBuilder
public GkeNodePoolConfigOrBuilder getNodePoolConfigOrBuilder()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getNodePoolConfigOrBuilder
in interface GkeNodePoolTargetOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static GkeNodePoolTarget parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GkeNodePoolTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GkeNodePoolTarget parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GkeNodePoolTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GkeNodePoolTarget parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GkeNodePoolTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GkeNodePoolTarget parseFrom(InputStream input) throws IOException
IOException
public static GkeNodePoolTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GkeNodePoolTarget parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GkeNodePoolTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GkeNodePoolTarget parseFrom(CodedInputStream input) throws IOException
IOException
public static GkeNodePoolTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GkeNodePoolTarget.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static GkeNodePoolTarget.Builder newBuilder()
public static GkeNodePoolTarget.Builder newBuilder(GkeNodePoolTarget prototype)
public GkeNodePoolTarget.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected GkeNodePoolTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static GkeNodePoolTarget getDefaultInstance()
public static Parser<GkeNodePoolTarget> parser()
public Parser<GkeNodePoolTarget> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public GkeNodePoolTarget getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.