public final class PivotHeaderEntry 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 Analytics Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PivotHeaderEntry() |
| Modifier and Type | Method and Description |
|---|---|
PivotHeaderEntry |
clone() |
List<String> |
getDimensionNames()
The name of the dimensions in the pivot response.
|
List<String> |
getDimensionValues()
The values for the dimensions in the pivot.
|
MetricHeaderEntry |
getMetric()
The metric header for the metric in the pivot.
|
PivotHeaderEntry |
set(String fieldName,
Object value) |
PivotHeaderEntry |
setDimensionNames(List<String> dimensionNames)
The name of the dimensions in the pivot response.
|
PivotHeaderEntry |
setDimensionValues(List<String> dimensionValues)
The values for the dimensions in the pivot.
|
PivotHeaderEntry |
setMetric(MetricHeaderEntry metric)
The metric header for the metric in the pivot.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getDimensionNames()
null for nonepublic PivotHeaderEntry setDimensionNames(List<String> dimensionNames)
dimensionNames - dimensionNames or null for nonepublic List<String> getDimensionValues()
null for nonepublic PivotHeaderEntry setDimensionValues(List<String> dimensionValues)
dimensionValues - dimensionValues or null for nonepublic MetricHeaderEntry getMetric()
null for nonepublic PivotHeaderEntry setMetric(MetricHeaderEntry metric)
metric - metric or null for nonepublic PivotHeaderEntry set(String fieldName, Object value)
set in class GenericJsonpublic PivotHeaderEntry clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.