Interface GkeNodePoolTargetOrBuilder (4.0.8)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
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 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
Type Description
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
Type Description
boolean

Whether the nodePoolConfig field is set.