public final class TemplateVersion 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 |
---|
TemplateVersion() |
Modifier and Type | Method and Description |
---|---|
TemplateVersion |
clone() |
Artifact |
getArtifact()
Job graph and metadata if it is a legacy Template.
|
String |
getCreateTime()
Creation time of this TemplateVersion.
|
String |
getDescription()
Template description from the user.
|
String |
getDisplayName()
A customized name for Template.
|
Map<String,String> |
getLabels()
Labels for the Template Version.
|
String |
getProjectId()
A unique project_id.
|
List<String> |
getTags()
Alias for version_id, helps locate a TemplateVersion.
|
String |
getType()
Either LEGACY or FLEX.
|
String |
getVersionId()
An auto generated version_id for TemplateVersion.
|
TemplateVersion |
set(String fieldName,
Object value) |
TemplateVersion |
setArtifact(Artifact artifact)
Job graph and metadata if it is a legacy Template.
|
TemplateVersion |
setCreateTime(String createTime)
Creation time of this TemplateVersion.
|
TemplateVersion |
setDescription(String description)
Template description from the user.
|
TemplateVersion |
setDisplayName(String displayName)
A customized name for Template.
|
TemplateVersion |
setLabels(Map<String,String> labels)
Labels for the Template Version.
|
TemplateVersion |
setProjectId(String projectId)
A unique project_id.
|
TemplateVersion |
setTags(List<String> tags)
Alias for version_id, helps locate a TemplateVersion.
|
TemplateVersion |
setType(String type)
Either LEGACY or FLEX.
|
TemplateVersion |
setVersionId(String versionId)
An auto generated version_id for TemplateVersion.
|
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 Artifact getArtifact()
null
for nonepublic TemplateVersion setArtifact(Artifact artifact)
artifact
- artifact or null
for nonepublic String getCreateTime()
null
for nonepublic TemplateVersion setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getDescription()
null
for nonepublic TemplateVersion setDescription(String description)
description
- description or null
for nonepublic String getDisplayName()
null
for nonepublic TemplateVersion setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic Map<String,String> getLabels()
null
for nonepublic TemplateVersion setLabels(Map<String,String> labels)
labels
- labels or null
for nonepublic String getProjectId()
null
for nonepublic TemplateVersion setProjectId(String projectId)
projectId
- projectId or null
for nonepublic List<String> getTags()
null
for nonepublic TemplateVersion setTags(List<String> tags)
tags
- tags or null
for nonepublic String getType()
null
for nonepublic TemplateVersion setType(String type)
type
- type or null
for nonepublic String getVersionId()
null
for nonepublic TemplateVersion setVersionId(String versionId)
versionId
- versionId or null
for nonepublic TemplateVersion set(String fieldName, Object value)
set
in class GenericJson
public TemplateVersion clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.