public final class ParameterMetadata
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ParameterMetadata() |
Modifier and Type | Method and Description |
---|---|
ParameterMetadata |
clone() |
java.lang.String |
getHelpText()
Required.
|
java.lang.Boolean |
getIsOptional()
Optional.
|
java.lang.String |
getLabel()
Required.
|
java.lang.String |
getName()
Required.
|
java.util.List<java.lang.String> |
getRegexes()
Optional.
|
ParameterMetadata |
set(java.lang.String fieldName,
java.lang.Object value) |
ParameterMetadata |
setHelpText(java.lang.String helpText)
Required.
|
ParameterMetadata |
setIsOptional(java.lang.Boolean isOptional)
Optional.
|
ParameterMetadata |
setLabel(java.lang.String label)
Required.
|
ParameterMetadata |
setName(java.lang.String name)
Required.
|
ParameterMetadata |
setRegexes(java.util.List<java.lang.String> regexes)
Optional.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getHelpText()
null
for nonepublic ParameterMetadata setHelpText(java.lang.String helpText)
helpText
- helpText or null
for nonepublic java.lang.Boolean getIsOptional()
null
for nonepublic ParameterMetadata setIsOptional(java.lang.Boolean isOptional)
isOptional
- isOptional or null
for nonepublic java.lang.String getLabel()
null
for nonepublic ParameterMetadata setLabel(java.lang.String label)
label
- label or null
for nonepublic java.lang.String getName()
null
for nonepublic ParameterMetadata setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<java.lang.String> getRegexes()
null
for nonepublic ParameterMetadata setRegexes(java.util.List<java.lang.String> regexes)
regexes
- regexes or null
for nonepublic ParameterMetadata set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ParameterMetadata clone()
clone
in class com.google.api.client.json.GenericJson