Package com.google.cloud.dataproc.v1
Interface CreateNodeGroupRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateNodeGroupRequest
,CreateNodeGroupRequest.Builder
public interface CreateNodeGroupRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeGroup
getNodeGroup()
Required.String
getNodeGroupId()
Optional.com.google.protobuf.ByteString
getNodeGroupIdBytes()
Optional.NodeGroupOrBuilder
getNodeGroupOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.String
getRequestId()
Optional.com.google.protobuf.ByteString
getRequestIdBytes()
Optional.boolean
hasNodeGroup()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasNodeGroup
boolean hasNodeGroup()
Required. The node group to create.
.google.cloud.dataproc.v1.NodeGroup node_group = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the nodeGroup field is set.
-
getNodeGroup
NodeGroup getNodeGroup()
Required. The node group to create.
.google.cloud.dataproc.v1.NodeGroup node_group = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The nodeGroup.
-
getNodeGroupOrBuilder
NodeGroupOrBuilder getNodeGroupOrBuilder()
Required. The node group to create.
.google.cloud.dataproc.v1.NodeGroup node_group = 2 [(.google.api.field_behavior) = REQUIRED];
-
getNodeGroupId
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:
- The nodeGroupId.
-
getNodeGroupIdBytes
com.google.protobuf.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:
- The bytes for nodeGroupId.
-
getRequestId
String getRequestId()
Optional. A unique ID used to identify the request. If the server receives two [CreateNodeGroupRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequests) with the same ID, the second request is ignored and the first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend is returned. Recommendation: Set this value to a [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). 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:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
Optional. A unique ID used to identify the request. If the server receives two [CreateNodeGroupRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequests) with the same ID, the second request is ignored and the first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend is returned. Recommendation: Set this value to a [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). 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:
- The bytes for requestId.
-
-