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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public PivotHeaderEntry clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.