public final class MetricShortId
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 |
---|
MetricShortId() |
Modifier and Type | Method and Description |
---|---|
MetricShortId |
clone() |
java.lang.Integer |
getMetricIndex()
The index of the corresponding metric in the ReportWorkItemStatusRequest.
|
java.lang.Long |
getShortId()
The service-generated short identifier for the metric.
|
MetricShortId |
set(java.lang.String fieldName,
java.lang.Object value) |
MetricShortId |
setMetricIndex(java.lang.Integer metricIndex)
The index of the corresponding metric in the ReportWorkItemStatusRequest.
|
MetricShortId |
setShortId(java.lang.Long shortId)
The service-generated short identifier for the metric.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getMetricIndex()
null
for nonepublic MetricShortId setMetricIndex(java.lang.Integer metricIndex)
metricIndex
- metricIndex or null
for nonepublic java.lang.Long getShortId()
null
for nonepublic MetricShortId setShortId(java.lang.Long shortId)
shortId
- shortId or null
for nonepublic MetricShortId set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public MetricShortId clone()
clone
in class com.google.api.client.json.GenericJson