public final class Dimension
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 Reporting 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.Flags| Constructor and Description |
|---|
Dimension() |
| Modifier and Type | Method and Description |
|---|---|
Dimension |
clone() |
java.util.List<java.lang.Long> |
getHistogramBuckets()
If non-empty, we place dimension values into buckets after string to int64.
|
java.lang.String |
getName()
Name of the dimension to fetch, for example `ga:browser`.
|
Dimension |
set(java.lang.String fieldName,
java.lang.Object value) |
Dimension |
setHistogramBuckets(java.util.List<java.lang.Long> histogramBuckets)
If non-empty, we place dimension values into buckets after string to int64.
|
Dimension |
setName(java.lang.String name)
Name of the dimension to fetch, for example `ga:browser`.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<java.lang.Long> getHistogramBuckets()
null for nonepublic Dimension setHistogramBuckets(java.util.List<java.lang.Long> histogramBuckets)
histogramBuckets - histogramBuckets or null for nonepublic java.lang.String getName()
null for nonepublic Dimension setName(java.lang.String name)
name - name or null for nonepublic Dimension set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Dimension clone()
clone in class com.google.api.client.json.GenericJson