public final class OrderBy
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 Google Analytics Data 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OrderBy() |
| Modifier and Type | Method and Description |
|---|---|
OrderBy |
clone() |
Boolean |
getDesc()
If true, sorts by descending order.
|
DimensionOrderBy |
getDimension()
Sorts results by a dimension's values.
|
MetricOrderBy |
getMetric()
Sorts results by a metric's values.
|
PivotOrderBy |
getPivot()
Sorts results by a metric's values within a pivot column group.
|
OrderBy |
set(String fieldName,
Object value) |
OrderBy |
setDesc(Boolean desc)
If true, sorts by descending order.
|
OrderBy |
setDimension(DimensionOrderBy dimension)
Sorts results by a dimension's values.
|
OrderBy |
setMetric(MetricOrderBy metric)
Sorts results by a metric's values.
|
OrderBy |
setPivot(PivotOrderBy pivot)
Sorts results by a metric's values within a pivot column group.
|
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 Boolean getDesc()
null for nonepublic OrderBy setDesc(Boolean desc)
desc - desc or null for nonepublic DimensionOrderBy getDimension()
null for nonepublic OrderBy setDimension(DimensionOrderBy dimension)
dimension - dimension or null for nonepublic MetricOrderBy getMetric()
null for nonepublic OrderBy setMetric(MetricOrderBy metric)
metric - metric or null for nonepublic PivotOrderBy getPivot()
null for nonepublic OrderBy setPivot(PivotOrderBy pivot)
pivot - pivot or null for nonepublic OrderBy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic OrderBy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.