Package com.google.cloud.dataproc.v1
Interface SubmitJobRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubmitJobRequest
,SubmitJobRequest.Builder
public interface SubmitJobRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Job
getJob()
Required.JobOrBuilder
getJobOrBuilder()
Required.String
getProjectId()
Required.com.google.protobuf.ByteString
getProjectIdBytes()
Required.String
getRegion()
Required.com.google.protobuf.ByteString
getRegionBytes()
Required.String
getRequestId()
Optional.com.google.protobuf.ByteString
getRequestIdBytes()
Optional.boolean
hasJob()
Required.-
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 that the job 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 that the job 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 = 3 [(.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 = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for region.
-
hasJob
boolean hasJob()
Required. The job resource.
.google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the job field is set.
-
getJob
Job getJob()
Required. The job resource.
.google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The job.
-
getJobOrBuilder
JobOrBuilder getJobOrBuilder()
Required. The job resource.
.google.cloud.dataproc.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
-
getRequestId
String getRequestId()
Optional. A unique id used to identify the request. If the server receives two [SubmitJobRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the first [Job][google.cloud.dataproc.v1.Job] 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];
- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
Optional. A unique id used to identify the request. If the server receives two [SubmitJobRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the first [Job][google.cloud.dataproc.v1.Job] 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];
- Returns:
- The bytes for requestId.
-
-