public final class QueryResponse extends 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 YouTube Analytics API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
QueryResponse() |
| Modifier and Type | Method and Description |
|---|---|
QueryResponse |
clone() |
List<ResultTableColumnHeader> |
getColumnHeaders()
This value specifies information about the data returned in the `rows` fields.
|
Errors |
getErrors()
When set, indicates that the operation failed.
|
String |
getKind()
This value specifies the type of data included in the API response.
|
List<List<Object>> |
getRows()
The list contains all rows of the result table.
|
QueryResponse |
set(String fieldName,
Object value) |
QueryResponse |
setColumnHeaders(List<ResultTableColumnHeader> columnHeaders)
This value specifies information about the data returned in the `rows` fields.
|
QueryResponse |
setErrors(Errors errors)
When set, indicates that the operation failed.
|
QueryResponse |
setKind(String kind)
This value specifies the type of data included in the API response.
|
QueryResponse |
setRows(List<List<Object>> rows)
The list contains all rows of the result table.
|
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 List<ResultTableColumnHeader> getColumnHeaders()
null for nonepublic QueryResponse setColumnHeaders(List<ResultTableColumnHeader> columnHeaders)
columnHeaders - columnHeaders or null for nonepublic Errors getErrors()
null for nonepublic QueryResponse setErrors(Errors errors)
errors - errors or null for nonepublic String getKind()
null for nonepublic QueryResponse setKind(String kind)
kind - kind or null for nonepublic List<List<Object>> getRows()
null for nonepublic QueryResponse setRows(List<List<Object>> rows)
rows - rows or null for nonepublic QueryResponse set(String fieldName, Object value)
set in class GenericJsonpublic QueryResponse clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.