public final class NetworkReportSpec 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 AdMob 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 |
|---|
NetworkReportSpec() |
| Modifier and Type | Method and Description |
|---|---|
NetworkReportSpec |
clone() |
DateRange |
getDateRange()
The date range for which the report is generated.
|
List<NetworkReportSpecDimensionFilter> |
getDimensionFilters()
Describes which report rows to match based on their dimension values.
|
List<String> |
getDimensions()
List of dimensions of the report.
|
LocalizationSettings |
getLocalizationSettings()
Localization settings of the report.
|
Integer |
getMaxReportRows()
Maximum number of report data rows to return.
|
List<String> |
getMetrics()
List of metrics of the report.
|
List<NetworkReportSpecSortCondition> |
getSortConditions()
Describes the sorting of report rows.
|
String |
getTimeZone()
A report time zone.
|
NetworkReportSpec |
set(String fieldName,
Object value) |
NetworkReportSpec |
setDateRange(DateRange dateRange)
The date range for which the report is generated.
|
NetworkReportSpec |
setDimensionFilters(List<NetworkReportSpecDimensionFilter> dimensionFilters)
Describes which report rows to match based on their dimension values.
|
NetworkReportSpec |
setDimensions(List<String> dimensions)
List of dimensions of the report.
|
NetworkReportSpec |
setLocalizationSettings(LocalizationSettings localizationSettings)
Localization settings of the report.
|
NetworkReportSpec |
setMaxReportRows(Integer maxReportRows)
Maximum number of report data rows to return.
|
NetworkReportSpec |
setMetrics(List<String> metrics)
List of metrics of the report.
|
NetworkReportSpec |
setSortConditions(List<NetworkReportSpecSortCondition> sortConditions)
Describes the sorting of report rows.
|
NetworkReportSpec |
setTimeZone(String timeZone)
A report time zone.
|
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 DateRange getDateRange()
null for nonepublic NetworkReportSpec setDateRange(DateRange dateRange)
dateRange - dateRange or null for nonepublic List<NetworkReportSpecDimensionFilter> getDimensionFilters()
null for nonepublic NetworkReportSpec setDimensionFilters(List<NetworkReportSpecDimensionFilter> dimensionFilters)
dimensionFilters - dimensionFilters or null for nonepublic List<String> getDimensions()
null for nonepublic NetworkReportSpec setDimensions(List<String> dimensions)
dimensions - dimensions or null for nonepublic LocalizationSettings getLocalizationSettings()
null for nonepublic NetworkReportSpec setLocalizationSettings(LocalizationSettings localizationSettings)
localizationSettings - localizationSettings or null for nonepublic Integer getMaxReportRows()
null for nonepublic NetworkReportSpec setMaxReportRows(Integer maxReportRows)
maxReportRows - maxReportRows or null for nonepublic List<String> getMetrics()
null for nonepublic NetworkReportSpec setMetrics(List<String> metrics)
metrics - metrics or null for nonepublic List<NetworkReportSpecSortCondition> getSortConditions()
null for nonepublic NetworkReportSpec setSortConditions(List<NetworkReportSpecSortCondition> sortConditions)
sortConditions - sortConditions or null for nonepublic String getTimeZone()
null for nonepublic NetworkReportSpec setTimeZone(String timeZone)
timeZone - timeZone or null for nonepublic NetworkReportSpec set(String fieldName, Object value)
set in class GenericJsonpublic NetworkReportSpec clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.