public final class RealtimeData
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 API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
| Modifier and Type | Class and Description |
|---|---|
static class |
RealtimeData.ColumnHeaders
Model definition for RealtimeDataColumnHeaders.
|
static class |
RealtimeData.ProfileInfo
Information for the view (profile), for which the real time data was requested.
|
static class |
RealtimeData.Query
Real time data request query parameters.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
RealtimeData() |
| Modifier and Type | Method and Description |
|---|---|
RealtimeData |
clone() |
java.util.List<RealtimeData.ColumnHeaders> |
getColumnHeaders()
Column headers that list dimension names followed by the metric names.
|
java.lang.String |
getId()
Unique ID for this data response.
|
java.lang.String |
getKind()
Resource type.
|
RealtimeData.ProfileInfo |
getProfileInfo()
Information for the view (profile), for which the real time data was requested.
|
RealtimeData.Query |
getQuery()
Real time data request query parameters.
|
java.util.List<java.util.List<java.lang.String>> |
getRows()
Real time data rows, where each row contains a list of dimension values followed by the metric
values.
|
java.lang.String |
getSelfLink()
Link to this page.
|
java.lang.Integer |
getTotalResults()
The total number of rows for the query, regardless of the number of rows in the response.
|
java.util.Map<java.lang.String,java.lang.String> |
getTotalsForAllResults()
Total values for the requested metrics over all the results, not just the results returned in
this response.
|
RealtimeData |
set(java.lang.String fieldName,
java.lang.Object value) |
RealtimeData |
setColumnHeaders(java.util.List<RealtimeData.ColumnHeaders> columnHeaders)
Column headers that list dimension names followed by the metric names.
|
RealtimeData |
setId(java.lang.String id)
Unique ID for this data response.
|
RealtimeData |
setKind(java.lang.String kind)
Resource type.
|
RealtimeData |
setProfileInfo(RealtimeData.ProfileInfo profileInfo)
Information for the view (profile), for which the real time data was requested.
|
RealtimeData |
setQuery(RealtimeData.Query query)
Real time data request query parameters.
|
RealtimeData |
setRows(java.util.List<java.util.List<java.lang.String>> rows)
Real time data rows, where each row contains a list of dimension values followed by the metric
values.
|
RealtimeData |
setSelfLink(java.lang.String selfLink)
Link to this page.
|
RealtimeData |
setTotalResults(java.lang.Integer totalResults)
The total number of rows for the query, regardless of the number of rows in the response.
|
RealtimeData |
setTotalsForAllResults(java.util.Map<java.lang.String,java.lang.String> totalsForAllResults)
Total values for the requested metrics over all the results, not just the results returned in
this response.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<RealtimeData.ColumnHeaders> getColumnHeaders()
null for nonepublic RealtimeData setColumnHeaders(java.util.List<RealtimeData.ColumnHeaders> columnHeaders)
columnHeaders - columnHeaders or null for nonepublic java.lang.String getId()
null for nonepublic RealtimeData setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic RealtimeData setKind(java.lang.String kind)
kind - kind or null for nonepublic RealtimeData.ProfileInfo getProfileInfo()
null for nonepublic RealtimeData setProfileInfo(RealtimeData.ProfileInfo profileInfo)
profileInfo - profileInfo or null for nonepublic RealtimeData.Query getQuery()
null for nonepublic RealtimeData setQuery(RealtimeData.Query query)
query - query or null for nonepublic java.util.List<java.util.List<java.lang.String>> getRows()
null for nonepublic RealtimeData setRows(java.util.List<java.util.List<java.lang.String>> rows)
rows - rows or null for nonepublic java.lang.String getSelfLink()
null for nonepublic RealtimeData setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.Integer getTotalResults()
null for nonepublic RealtimeData setTotalResults(java.lang.Integer totalResults)
totalResults - totalResults or null for nonepublic java.util.Map<java.lang.String,java.lang.String> getTotalsForAllResults()
null for nonepublic RealtimeData setTotalsForAllResults(java.util.Map<java.lang.String,java.lang.String> totalsForAllResults)
totalsForAllResults - totalsForAllResults or null for nonepublic RealtimeData set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic RealtimeData clone()
clone in class com.google.api.client.json.GenericJson