public interface CreateClusterRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
FailureAction |
getActionOnFailedPrimaryWorkers()
Optional.
|
int |
getActionOnFailedPrimaryWorkersValue()
Optional.
|
Cluster |
getCluster()
Required.
|
ClusterOrBuilder |
getClusterOrBuilder()
Required.
|
String |
getProjectId()
Required.
|
ByteString |
getProjectIdBytes()
Required.
|
String |
getRegion()
Required.
|
ByteString |
getRegionBytes()
Required.
|
String |
getRequestId()
Optional.
|
ByteString |
getRequestIdBytes()
Optional.
|
boolean |
hasCluster()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getProjectId()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
ByteString getProjectIdBytes()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
String getRegion()
Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
ByteString getRegionBytes()
Required. The Dataproc region in which to handle the request.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
boolean hasCluster()
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Cluster getCluster()
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
ClusterOrBuilder getClusterOrBuilder()
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
String getRequestId()
Optional. A unique ID used to identify the request. If the server receives two [CreateClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s with the same id, then the second request will be ignored and the first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend is returned. It is recommended to always 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
ByteString getRequestIdBytes()
Optional. A unique ID used to identify the request. If the server receives two [CreateClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s with the same id, then the second request will be ignored and the first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend is returned. It is recommended to always 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
int getActionOnFailedPrimaryWorkersValue()
Optional. Failure action when primary worker creation fails.
.google.cloud.dataproc.v1.FailureAction action_on_failed_primary_workers = 5 [(.google.api.field_behavior) = OPTIONAL];
FailureAction getActionOnFailedPrimaryWorkers()
Optional. Failure action when primary worker creation fails.
.google.cloud.dataproc.v1.FailureAction action_on_failed_primary_workers = 5 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2022 Google LLC. All rights reserved.