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 |
getOriginalStepName()
System generated name of the original step in the user's graph, before optimization.
|
String |
getOtherOrigin()
A string containing the origin of the counter.
|
String |
getPortion()
Portion of this counter, either key or value.
|
String |
getStandardOrigin()
One of the standard Origins defined above.
|
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 |
setOriginalStepName(String originalStepName)
System generated name of the original step in the user's graph, before optimization.
|
CounterStructuredName |
setOtherOrigin(String otherOrigin)
A string containing the origin of the counter.
|
CounterStructuredName |
setPortion(String portion)
Portion of this counter, either key or value.
|
CounterStructuredName |
setStandardOrigin(String standardOrigin)
One of the standard Origins defined above.
|
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 getOriginalStepName()
null
for nonepublic CounterStructuredName setOriginalStepName(String originalStepName)
originalStepName
- originalStepName or null
for nonepublic String getOtherOrigin()
null
for nonepublic CounterStructuredName setOtherOrigin(String otherOrigin)
otherOrigin
- otherOrigin or null
for nonepublic String getPortion()
null
for nonepublic CounterStructuredName setPortion(String portion)
portion
- portion or null
for nonepublic String getStandardOrigin()
null
for nonepublic CounterStructuredName setStandardOrigin(String standardOrigin)
standardOrigin
- standardOrigin 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