Send feedback
Class GkeNodePoolTarget (4.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.8.0 keyboard_arrow_down
public final class GkeNodePoolTarget extends GeneratedMessageV3 implements GkeNodePoolTargetOrBuilder
GKE NodePools that Dataproc workloads run on.
Protobuf type google.cloud.dataproc.v1.GkeNodePoolTarget
Static Fields
NODE_POOL_CONFIG_FIELD_NUMBER
public static final int NODE_POOL_CONFIG_FIELD_NUMBER
Field Value
NODE_POOL_FIELD_NUMBER
public static final int NODE_POOL_FIELD_NUMBER
Field Value
ROLES_FIELD_NUMBER
public static final int ROLES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GkeNodePoolTarget getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static GkeNodePoolTarget . Builder newBuilder ()
Returns
newBuilder(GkeNodePoolTarget prototype)
public static GkeNodePoolTarget . Builder newBuilder ( GkeNodePoolTarget prototype )
Parameter
Returns
public static GkeNodePoolTarget parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static GkeNodePoolTarget parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GkeNodePoolTarget parseFrom ( byte [] data )
Parameter
Name Description data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolTarget parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GkeNodePoolTarget parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolTarget parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static GkeNodePoolTarget parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static GkeNodePoolTarget parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static GkeNodePoolTarget parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static GkeNodePoolTarget parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GkeNodePoolTarget parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolTarget parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<GkeNodePoolTarget> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GkeNodePoolTarget getDefaultInstanceForType ()
Returns
getNodePool()
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];
Returns
Type Description String
The nodePool.
getNodePoolBytes()
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];
Returns
getNodePoolConfig()
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];
Returns
getNodePoolConfigOrBuilder()
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];
Returns
getParserForType()
public Parser<GkeNodePoolTarget> getParserForType ()
Returns
Overrides
getRoles(int index)
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];
Parameter
Name Description index
int
The index of the element to return.
Returns
getRolesCount()
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];
Returns
Type Description int
The count of roles.
getRolesList()
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];
Returns
Type Description List <Role >
A list containing the roles.
getRolesValue(int index)
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];
Parameter
Name Description index
int
The index of the value to return.
Returns
Type Description int
The enum numeric value on the wire of roles at the given index.
getRolesValueList()
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];
Returns
Type Description List <Integer >
A list containing the enum numeric values on the wire for roles.
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hasNodePoolConfig()
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];
Returns
Type Description boolean
Whether the nodePoolConfig field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public GkeNodePoolTarget . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GkeNodePoolTarget . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public GkeNodePoolTarget . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]