Package com.google.cloud.dataproc.v1
Interface StopClusterRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StopClusterRequest,StopClusterRequest.Builder
public interface StopClusterRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClusterName()Required.com.google.protobuf.ByteStringgetClusterNameBytes()Required.StringgetClusterUuid()Optional.com.google.protobuf.ByteStringgetClusterUuidBytes()Optional.StringgetProjectId()Required.com.google.protobuf.ByteStringgetProjectIdBytes()Required.StringgetRegion()Required.com.google.protobuf.ByteStringgetRegionBytes()Required.StringgetRequestId()Optional.com.google.protobuf.ByteStringgetRequestIdBytes()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectId
String getProjectId()
Required. The ID of the Google Cloud Platform project the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the Google Cloud Platform project the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for projectId.
-
getRegion
String getRegion()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for region.
-
getClusterName
String getClusterName()
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterName.
-
getClusterUuid
String getClusterUuid()
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The clusterUuid.
-
getClusterUuidBytes
com.google.protobuf.ByteString getClusterUuidBytes()
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for clusterUuid.
-
getRequestId
String getRequestId()
Optional. A unique ID used to identify the request. If the server receives two [StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)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. 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 = 5 [(.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 [StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)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. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for requestId.
-
-