Enum GkeNodePoolTarget.Role (4.4.0)

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

Role specifies whose tasks will run on the NodePool. The roles can be specific to workloads. Exactly one GkeNodePoolTarget within the VirtualCluster must have 'default' role, which is used to run all workloads that are not associated with a NodePool.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CONTROLLER

Run controllers and webhooks.

CONTROLLER = 2;

CONTROLLER_VALUE

Run controllers and webhooks.

CONTROLLER = 2;

DEFAULT

Any roles that are not directly assigned to a NodePool run on the default role's NodePool.

DEFAULT = 1;

DEFAULT_VALUE

Any roles that are not directly assigned to a NodePool run on the default role's NodePool.

DEFAULT = 1;

ROLE_UNSPECIFIED

Role is unspecified.

ROLE_UNSPECIFIED = 0;

ROLE_UNSPECIFIED_VALUE

Role is unspecified.

ROLE_UNSPECIFIED = 0;

SPARK_DRIVER

Run spark driver.

SPARK_DRIVER = 3;

SPARK_DRIVER_VALUE

Run spark driver.

SPARK_DRIVER = 3;

SPARK_EXECUTOR

Run spark executors.

SPARK_EXECUTOR = 4;

SPARK_EXECUTOR_VALUE

Run spark executors.

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