Interface GkeNodePoolTargetOrBuilder (4.4.0)

public interface GkeNodePoolTargetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNodePool()

public abstract 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
TypeDescription
String

The nodePool.

getNodePoolBytes()

public abstract 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
TypeDescription
ByteString

The bytes for nodePool.

getNodePoolConfig()

public abstract 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
TypeDescription
GkeNodePoolConfig

The nodePoolConfig.

getNodePoolConfigOrBuilder()

public abstract 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
TypeDescription
GkeNodePoolConfigOrBuilder

getRoles(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
GkeNodePoolTarget.Role

The roles at the given index.

getRolesCount()

public abstract 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
TypeDescription
int

The count of roles.

getRolesList()

public abstract 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
TypeDescription
List<Role>

A list containing the roles.

getRolesValue(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of roles at the given index.

getRolesValueList()

public abstract 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
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for roles.

hasNodePoolConfig()

public abstract 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
TypeDescription
boolean

Whether the nodePoolConfig field is set.