public final class Artifact 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 Dataflow 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 |
---|
Artifact() |
Modifier and Type | Method and Description |
---|---|
Artifact |
clone() |
ContainerSpec |
getContainerSpec()
Container image path set for flex Template.
|
String |
getJobGraphGcsPath()
job_graph_gcs_path set for legacy Template.
|
TemplateMetadata |
getMetadata()
Metadata set for legacy Template.
|
Artifact |
set(String fieldName,
Object value) |
Artifact |
setContainerSpec(ContainerSpec containerSpec)
Container image path set for flex Template.
|
Artifact |
setJobGraphGcsPath(String jobGraphGcsPath)
job_graph_gcs_path set for legacy Template.
|
Artifact |
setMetadata(TemplateMetadata metadata)
Metadata set for legacy Template.
|
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 ContainerSpec getContainerSpec()
null
for nonepublic Artifact setContainerSpec(ContainerSpec containerSpec)
containerSpec
- containerSpec or null
for nonepublic String getJobGraphGcsPath()
null
for nonepublic Artifact setJobGraphGcsPath(String jobGraphGcsPath)
jobGraphGcsPath
- jobGraphGcsPath or null
for nonepublic TemplateMetadata getMetadata()
null
for nonepublic Artifact setMetadata(TemplateMetadata metadata)
metadata
- metadata or null
for nonepublic Artifact set(String fieldName, Object value)
set
in class GenericJson
public Artifact clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.