public final class CounterStructuredName 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 Google Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CounterStructuredName() |
Modifier and Type | Method and Description |
---|---|
CounterStructuredName |
clone() |
String |
getComponentStepName()
Name of the optimized step being executed by the workers.
|
String |
getExecutionStepName()
Name of the stage.
|
String |
getName()
Counter name.
|
String |
getOrigin()
One of the standard Origins defined above.
|
String |
getOriginalStepName()
System generated name of the original step in the user's graph, before optimization.
|
String |
getOriginNamespace()
A string containing a more specific namespace of the counter's origin.
|
String |
getPortion()
Portion of this counter, either key or value.
|
String |
getWorkerId()
ID of a particular worker.
|
CounterStructuredName |
set(String fieldName,
Object value) |
CounterStructuredName |
setComponentStepName(String componentStepName)
Name of the optimized step being executed by the workers.
|
CounterStructuredName |
setExecutionStepName(String executionStepName)
Name of the stage.
|
CounterStructuredName |
setName(String name)
Counter name.
|
CounterStructuredName |
setOrigin(String origin)
One of the standard Origins defined above.
|
CounterStructuredName |
setOriginalStepName(String originalStepName)
System generated name of the original step in the user's graph, before optimization.
|
CounterStructuredName |
setOriginNamespace(String originNamespace)
A string containing a more specific namespace of the counter's origin.
|
CounterStructuredName |
setPortion(String portion)
Portion of this counter, either key or value.
|
CounterStructuredName |
setWorkerId(String workerId)
ID of a particular worker.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getComponentStepName()
null
for nonepublic CounterStructuredName setComponentStepName(String componentStepName)
componentStepName
- componentStepName or null
for nonepublic String getExecutionStepName()
null
for nonepublic CounterStructuredName setExecutionStepName(String executionStepName)
executionStepName
- executionStepName or null
for nonepublic String getName()
null
for nonepublic CounterStructuredName setName(String name)
name
- name or null
for nonepublic String getOrigin()
null
for nonepublic CounterStructuredName setOrigin(String origin)
origin
- origin or null
for nonepublic String getOriginNamespace()
null
for nonepublic CounterStructuredName setOriginNamespace(String originNamespace)
originNamespace
- originNamespace or null
for nonepublic String getOriginalStepName()
null
for nonepublic CounterStructuredName setOriginalStepName(String originalStepName)
originalStepName
- originalStepName or null
for nonepublic String getPortion()
null
for nonepublic CounterStructuredName setPortion(String portion)
portion
- portion or null
for nonepublic String getWorkerId()
null
for nonepublic CounterStructuredName setWorkerId(String workerId)
workerId
- workerId or null
for nonepublic CounterStructuredName set(String fieldName, Object value)
set
in class GenericJson
public CounterStructuredName clone()
clone
in class GenericJson