
target.apidocs.com.google.api.services.dataproc.model.SubmitJobRequest.html Maven / Gradle / Ivy
SubmitJobRequest (Cloud Dataproc API v1-rev20240605-2.0.0)
com.google.api.services.dataproc.model
Class SubmitJobRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataproc.model.SubmitJobRequest
-
public final class SubmitJobRequest
extends com.google.api.client.json.GenericJson
A request to submit a job.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Cloud Dataproc API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
SubmitJobRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SubmitJobRequest
clone()
Job
getJob()
Required.
String
getRequestId()
Optional.
SubmitJobRequest
set(String fieldName,
Object value)
SubmitJobRequest
setJob(Job job)
Required.
SubmitJobRequest
setRequestId(String requestId)
Optional.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getJob
public Job getJob()
Required. The job resource.
- Returns:
- value or
null
for none
-
setJob
public SubmitJobRequest setJob(Job job)
Required. The job resource.
- Parameters:
job
- job or null
for none
-
getRequestId
public 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.dat
aproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the
first 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.
- Returns:
- value or
null
for none
-
setRequestId
public SubmitJobRequest setRequestId(String requestId)
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.dat
aproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the
first 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.
- Parameters:
requestId
- requestId or null
for none
-
set
public SubmitJobRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public SubmitJobRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy