public final class Table 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 Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
Table |
clone() |
Headers |
getColumnHeaders()
Headers of the table's columns.
|
String |
getName()
Name of the table.
|
Headers |
getRowHeaders()
Headers of the table's rows.
|
List<Row> |
getRows()
The list of rows that constitute the table.
|
Table |
set(String fieldName,
Object value) |
Table |
setColumnHeaders(Headers columnHeaders)
Headers of the table's columns.
|
Table |
setName(String name)
Name of the table.
|
Table |
setRowHeaders(Headers rowHeaders)
Headers of the table's rows.
|
Table |
setRows(List<Row> rows)
The list of rows that constitute the table.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Headers getColumnHeaders()
null
for nonepublic Table setColumnHeaders(Headers columnHeaders)
columnHeaders
- columnHeaders or null
for nonepublic String getName()
null
for nonepublic Table setName(String name)
name
- name or null
for nonepublic Headers getRowHeaders()
null
for nonepublic Table setRowHeaders(Headers rowHeaders)
rowHeaders
- rowHeaders or null
for nonepublic List<Row> getRows()
null
for nonepublic Table setRows(List<Row> rows)
rows
- rows or null
for nonepublic Table set(String fieldName, Object value)
set
in class GenericJson
public Table clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.