public final class ReportRow 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 |
---|
ReportRow() |
Modifier and Type | Method and Description |
---|---|
ReportRow |
clone() |
List<String> |
getDimensions()
List of requested dimensions.
|
List<DateRangeValues> |
getMetrics()
List of metrics for each requested DateRange.
|
ReportRow |
set(String fieldName,
Object value) |
ReportRow |
setDimensions(List<String> dimensions)
List of requested dimensions.
|
ReportRow |
setMetrics(List<DateRangeValues> metrics)
List of metrics for each requested DateRange.
|
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> getDimensions()
null
for nonepublic ReportRow setDimensions(List<String> dimensions)
dimensions
- dimensions or null
for nonepublic List<DateRangeValues> getMetrics()
null
for nonepublic ReportRow setMetrics(List<DateRangeValues> metrics)
metrics
- metrics or null
for nonepublic ReportRow set(String fieldName, Object value)
set
in class GenericJson
public ReportRow clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.