target.apidocs.com.google.api.services.analytics.model.Columns.html Maven / Gradle / Ivy
Columns (Google Analytics API v3-rev20190807-1.31.0)
com.google.api.services.analytics.model
Class Columns
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.Columns
-
public final class Columns
extends GenericJson
Lists columns (dimensions and metrics) for a particular report type.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Columns()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Columns
clone()
List<String>
getAttributeNames()
List of attributes names returned by columns.
String
getEtag()
Etag of collection.
List<Column>
getItems()
List of columns for a report type.
String
getKind()
Collection type.
Integer
getTotalResults()
Total number of columns returned in the response.
Columns
set(String fieldName,
Object value)
Columns
setAttributeNames(List<String> attributeNames)
List of attributes names returned by columns.
Columns
setEtag(String etag)
Etag of collection.
Columns
setItems(List<Column> items)
List of columns for a report type.
Columns
setKind(String kind)
Collection type.
Columns
setTotalResults(Integer totalResults)
Total number of columns returned in the response.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAttributeNames
public List<String> getAttributeNames()
List of attributes names returned by columns.
- Returns:
- value or
null
for none
-
setAttributeNames
public Columns setAttributeNames(List<String> attributeNames)
List of attributes names returned by columns.
- Parameters:
attributeNames
- attributeNames or null
for none
-
getEtag
public String getEtag()
Etag of collection. This etag can be compared with the last response etag to check if response
has changed.
- Returns:
- value or
null
for none
-
setEtag
public Columns setEtag(String etag)
Etag of collection. This etag can be compared with the last response etag to check if response
has changed.
- Parameters:
etag
- etag or null
for none
-
getItems
public List<Column> getItems()
List of columns for a report type.
- Returns:
- value or
null
for none
-
setItems
public Columns setItems(List<Column> items)
List of columns for a report type.
- Parameters:
items
- items or null
for none
-
getKind
public String getKind()
Collection type.
- Returns:
- value or
null
for none
-
setKind
public Columns setKind(String kind)
Collection type.
- Parameters:
kind
- kind or null
for none
-
getTotalResults
public Integer getTotalResults()
Total number of columns returned in the response.
- Returns:
- value or
null
for none
-
setTotalResults
public Columns setTotalResults(Integer totalResults)
Total number of columns returned in the response.
- Parameters:
totalResults
- totalResults or null
for none
-
set
public Columns set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Columns clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.