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 Google Docs API. 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() |
Integer |
getColumns()
Number of columns in the table.
|
Integer |
getRows()
Number of rows in the table.
|
List<String> |
getSuggestedDeletionIds()
The suggested deletion IDs.
|
List<String> |
getSuggestedInsertionIds()
The suggested insertion IDs.
|
List<TableRow> |
getTableRows()
The contents and style of each row.
|
TableStyle |
getTableStyle()
The style of the table.
|
Table |
set(String fieldName,
Object value) |
Table |
setColumns(Integer columns)
Number of columns in the table.
|
Table |
setRows(Integer rows)
Number of rows in the table.
|
Table |
setSuggestedDeletionIds(List<String> suggestedDeletionIds)
The suggested deletion IDs.
|
Table |
setSuggestedInsertionIds(List<String> suggestedInsertionIds)
The suggested insertion IDs.
|
Table |
setTableRows(List<TableRow> tableRows)
The contents and style of each row.
|
Table |
setTableStyle(TableStyle tableStyle)
The style of 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 Integer getColumns()
null
for nonepublic Table setColumns(Integer columns)
columns
- columns or null
for nonepublic Integer getRows()
null
for nonepublic Table setRows(Integer rows)
rows
- rows or null
for nonepublic List<String> getSuggestedDeletionIds()
null
for nonepublic Table setSuggestedDeletionIds(List<String> suggestedDeletionIds)
suggestedDeletionIds
- suggestedDeletionIds or null
for nonepublic List<String> getSuggestedInsertionIds()
null
for nonepublic Table setSuggestedInsertionIds(List<String> suggestedInsertionIds)
suggestedInsertionIds
- suggestedInsertionIds or null
for nonepublic List<TableRow> getTableRows()
null
for nonepublic Table setTableRows(List<TableRow> tableRows)
tableRows
- tableRows or null
for nonepublic TableStyle getTableStyle()
null
for nonepublic Table setTableStyle(TableStyle tableStyle)
tableStyle
- tableStyle or null
for nonepublic Table set(String fieldName, Object value)
set
in class GenericJson
public Table clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.