Interface CreateNodeGroupRequestOrBuilder (4.9.0)

public interface CreateNodeGroupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNodeGroup()

public abstract NodeGroup getNodeGroup()

Required. The node group to create.

.google.cloud.dataproc.v1.NodeGroup node_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NodeGroup

The nodeGroup.

getNodeGroupId()

public abstract String getNodeGroupId()

Optional. An optional node group ID. Generated if not specified. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.

string node_group_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The nodeGroupId.

getNodeGroupIdBytes()

public abstract ByteString getNodeGroupIdBytes()

Optional. An optional node group ID. Generated if not specified. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.

string node_group_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for nodeGroupId.

getNodeGroupOrBuilder()

public abstract NodeGroupOrBuilder getNodeGroupOrBuilder()

Required. The node group to create.

.google.cloud.dataproc.v1.NodeGroup node_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NodeGroupOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned. Recommendation: Set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned. Recommendation: Set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for requestId.

hasNodeGroup()

public abstract boolean hasNodeGroup()

Required. The node group to create.

.google.cloud.dataproc.v1.NodeGroup node_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the nodeGroup field is set.