public final class McfData
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
McfData.ColumnHeaders
Model definition for McfDataColumnHeaders.
|
static class |
McfData.ProfileInfo
Information for the view (profile), for which the Analytics data was requested.
|
static class |
McfData.Query
Analytics data request query parameters.
|
static class |
McfData.Rows
A union object representing a dimension or metric value.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
McfData() |
| Modifier and Type | Method and Description |
|---|---|
McfData |
clone() |
java.util.List<McfData.ColumnHeaders> |
getColumnHeaders()
Column headers that list dimension names followed by the metric names.
|
java.lang.Boolean |
getContainsSampledData()
Determines if the Analytics data contains sampled data.
|
java.lang.String |
getId()
Unique ID for this data response.
|
java.lang.Integer |
getItemsPerPage()
The maximum number of rows the response can contain, regardless of the actual number of rows
returned.
|
java.lang.String |
getKind()
Resource type.
|
java.lang.String |
getNextLink()
Link to next page for this Analytics data query.
|
java.lang.String |
getPreviousLink()
Link to previous page for this Analytics data query.
|
McfData.ProfileInfo |
getProfileInfo()
Information for the view (profile), for which the Analytics data was requested.
|
McfData.Query |
getQuery()
Analytics data request query parameters.
|
java.util.List<java.util.List<McfData.Rows>> |
getRows()
Analytics data rows, where each row contains a list of dimension values followed by the metric
values.
|
java.lang.Long |
getSampleSize()
The number of samples used to calculate the result.
|
java.lang.Long |
getSampleSpace()
Total size of the sample space from which the samples were selected.
|
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.
|
McfData |
set(java.lang.String fieldName,
java.lang.Object value) |
McfData |
setColumnHeaders(java.util.List<McfData.ColumnHeaders> columnHeaders)
Column headers that list dimension names followed by the metric names.
|
McfData |
setContainsSampledData(java.lang.Boolean containsSampledData)
Determines if the Analytics data contains sampled data.
|
McfData |
setId(java.lang.String id)
Unique ID for this data response.
|
McfData |
setItemsPerPage(java.lang.Integer itemsPerPage)
The maximum number of rows the response can contain, regardless of the actual number of rows
returned.
|
McfData |
setKind(java.lang.String kind)
Resource type.
|
McfData |
setNextLink(java.lang.String nextLink)
Link to next page for this Analytics data query.
|
McfData |
setPreviousLink(java.lang.String previousLink)
Link to previous page for this Analytics data query.
|
McfData |
setProfileInfo(McfData.ProfileInfo profileInfo)
Information for the view (profile), for which the Analytics data was requested.
|
McfData |
setQuery(McfData.Query query)
Analytics data request query parameters.
|
McfData |
setRows(java.util.List<java.util.List<McfData.Rows>> rows)
Analytics data rows, where each row contains a list of dimension values followed by the metric
values.
|
McfData |
setSampleSize(java.lang.Long sampleSize)
The number of samples used to calculate the result.
|
McfData |
setSampleSpace(java.lang.Long sampleSpace)
Total size of the sample space from which the samples were selected.
|
McfData |
setSelfLink(java.lang.String selfLink)
Link to this page.
|
McfData |
setTotalResults(java.lang.Integer totalResults)
The total number of rows for the query, regardless of the number of rows in the response.
|
McfData |
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<McfData.ColumnHeaders> getColumnHeaders()
null for nonepublic McfData setColumnHeaders(java.util.List<McfData.ColumnHeaders> columnHeaders)
columnHeaders - columnHeaders or null for nonepublic java.lang.Boolean getContainsSampledData()
null for nonepublic McfData setContainsSampledData(java.lang.Boolean containsSampledData)
containsSampledData - containsSampledData or null for nonepublic java.lang.String getId()
null for nonepublic McfData setId(java.lang.String id)
id - id or null for nonepublic java.lang.Integer getItemsPerPage()
null for nonepublic McfData setItemsPerPage(java.lang.Integer itemsPerPage)
itemsPerPage - itemsPerPage or null for nonepublic java.lang.String getKind()
null for nonepublic McfData setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getNextLink()
null for nonepublic McfData setNextLink(java.lang.String nextLink)
nextLink - nextLink or null for nonepublic java.lang.String getPreviousLink()
null for nonepublic McfData setPreviousLink(java.lang.String previousLink)
previousLink - previousLink or null for nonepublic McfData.ProfileInfo getProfileInfo()
null for nonepublic McfData setProfileInfo(McfData.ProfileInfo profileInfo)
profileInfo - profileInfo or null for nonepublic McfData.Query getQuery()
null for nonepublic McfData setQuery(McfData.Query query)
query - query or null for nonepublic java.util.List<java.util.List<McfData.Rows>> getRows()
null for nonepublic McfData setRows(java.util.List<java.util.List<McfData.Rows>> rows)
rows - rows or null for nonepublic java.lang.Long getSampleSize()
null for nonepublic McfData setSampleSize(java.lang.Long sampleSize)
sampleSize - sampleSize or null for nonepublic java.lang.Long getSampleSpace()
null for nonepublic McfData setSampleSpace(java.lang.Long sampleSpace)
sampleSpace - sampleSpace or null for nonepublic java.lang.String getSelfLink()
null for nonepublic McfData setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.Integer getTotalResults()
null for nonepublic McfData setTotalResults(java.lang.Integer totalResults)
totalResults - totalResults or null for nonepublic java.util.Map<java.lang.String,java.lang.String> getTotalsForAllResults()
null for nonepublic McfData setTotalsForAllResults(java.util.Map<java.lang.String,java.lang.String> totalsForAllResults)
totalsForAllResults - totalsForAllResults or null for nonepublic McfData set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic McfData clone()
clone in class com.google.api.client.json.GenericJson