Interface GkeNodePoolTargetOrBuilder (4.15.0)

public interface GkeNodePoolTargetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNodePool()

public abstract String getNodePool()

Required. The target GKE node pool. 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 node pool. 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()

Input only. The configuration for the GKE node pool. If specified, Dataproc attempts to create a node pool 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 node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values. This is an input only field. It will not be returned by the API.

.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
GkeNodePoolConfig

The nodePoolConfig.

getNodePoolConfigOrBuilder()

public abstract GkeNodePoolConfigOrBuilder getNodePoolConfigOrBuilder()

Input only. The configuration for the GKE node pool. If specified, Dataproc attempts to create a node pool 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 node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values. This is an input only field. It will not be returned by the API.

.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
GkeNodePoolConfigOrBuilder

getRoles(int index)

public abstract GkeNodePoolTarget.Role getRoles(int index)

Required. The roles associated with the GKE node pool.

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 roles associated with the GKE node pool.

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 roles associated with the GKE node pool.

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 roles associated with the GKE node pool.

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 roles associated with the GKE node pool.

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()

Input only. The configuration for the GKE node pool. If specified, Dataproc attempts to create a node pool 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 node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values. This is an input only field. It will not be returned by the API.

.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the nodePoolConfig field is set.