Enum GkeNodePoolTarget.Role (4.19.0)

public enum GkeNodePoolTarget.Role extends Enum<GkeNodePoolTarget.Role> implements ProtocolMessageEnum

Role specifies the tasks that will run on the node pool. Roles can be specific to workloads. Exactly one GkeNodePoolTarget within the virtual cluster must have the DEFAULT role, which is used to run all workloads that are not associated with a node pool.

Protobuf enum google.cloud.dataproc.v1.GkeNodePoolTarget.Role

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CONTROLLER

Run work associated with the Dataproc control plane (for example, controllers and webhooks). Very low resource requirements.

CONTROLLER = 2;

CONTROLLER_VALUE

Run work associated with the Dataproc control plane (for example, controllers and webhooks). Very low resource requirements.

CONTROLLER = 2;

DEFAULT

At least one node pool must have the DEFAULT role. Work assigned to a role that is not associated with a node pool is assigned to the node pool with the DEFAULT role. For example, work assigned to the CONTROLLER role will be assigned to the node pool with the DEFAULT role if no node pool has the CONTROLLER role.

DEFAULT = 1;

DEFAULT_VALUE

At least one node pool must have the DEFAULT role. Work assigned to a role that is not associated with a node pool is assigned to the node pool with the DEFAULT role. For example, work assigned to the CONTROLLER role will be assigned to the node pool with the DEFAULT role if no node pool has the CONTROLLER role.

DEFAULT = 1;

ROLE_UNSPECIFIED

Role is unspecified.

ROLE_UNSPECIFIED = 0;

ROLE_UNSPECIFIED_VALUE

Role is unspecified.

ROLE_UNSPECIFIED = 0;

SPARK_DRIVER

Run work associated with a Spark driver of a job.

SPARK_DRIVER = 3;

SPARK_DRIVER_VALUE

Run work associated with a Spark driver of a job.

SPARK_DRIVER = 3;

SPARK_EXECUTOR

Run work associated with a Spark executor of a job.

SPARK_EXECUTOR = 4;

SPARK_EXECUTOR_VALUE

Run work associated with a Spark executor of a job.

SPARK_EXECUTOR = 4;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()