public final class HadoopJob extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HadoopJob() |
Modifier and Type | Method and Description |
---|---|
HadoopJob |
clone() |
List<String> |
getArchiveUris()
Optional.
|
List<String> |
getArgs()
Optional.
|
List<String> |
getFileUris()
Optional.
|
List<String> |
getJarFileUris()
Optional.
|
LoggingConfig |
getLoggingConfig()
Optional.
|
String |
getMainClass()
The name of the driver's main class.
|
String |
getMainJarFileUri()
The HCFS URI of the jar file containing the main class.
|
Map<String,String> |
getProperties()
Optional.
|
HadoopJob |
set(String fieldName,
Object value) |
HadoopJob |
setArchiveUris(List<String> archiveUris)
Optional.
|
HadoopJob |
setArgs(List<String> args)
Optional.
|
HadoopJob |
setFileUris(List<String> fileUris)
Optional.
|
HadoopJob |
setJarFileUris(List<String> jarFileUris)
Optional.
|
HadoopJob |
setLoggingConfig(LoggingConfig loggingConfig)
Optional.
|
HadoopJob |
setMainClass(String mainClass)
The name of the driver's main class.
|
HadoopJob |
setMainJarFileUri(String mainJarFileUri)
The HCFS URI of the jar file containing the main class.
|
HadoopJob |
setProperties(Map<String,String> properties)
Optional.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<String> getArchiveUris()
null
for nonepublic HadoopJob setArchiveUris(List<String> archiveUris)
archiveUris
- archiveUris or null
for nonepublic List<String> getArgs()
null
for nonepublic HadoopJob setArgs(List<String> args)
args
- args or null
for nonepublic List<String> getFileUris()
null
for nonepublic HadoopJob setFileUris(List<String> fileUris)
fileUris
- fileUris or null
for nonepublic List<String> getJarFileUris()
null
for nonepublic HadoopJob setJarFileUris(List<String> jarFileUris)
jarFileUris
- jarFileUris or null
for nonepublic LoggingConfig getLoggingConfig()
null
for nonepublic HadoopJob setLoggingConfig(LoggingConfig loggingConfig)
loggingConfig
- loggingConfig or null
for nonepublic String getMainClass()
null
for nonepublic HadoopJob setMainClass(String mainClass)
mainClass
- mainClass or null
for nonepublic String getMainJarFileUri()
null
for nonepublic HadoopJob setMainJarFileUri(String mainJarFileUri)
mainJarFileUri
- mainJarFileUri or null
for nonepublic Map<String,String> getProperties()
null
for nonepublic HadoopJob setProperties(Map<String,String> properties)
properties
- properties or null
for nonepublic HadoopJob set(String fieldName, Object value)
set
in class GenericJson
public HadoopJob clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.