public final class Table
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 Docs API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
Table |
clone() |
java.lang.Integer |
getColumns()
Number of columns in the table.
|
java.lang.Integer |
getRows()
Number of rows in the table.
|
java.util.List<java.lang.String> |
getSuggestedDeletionIds()
The suggested deletion IDs.
|
java.util.List<java.lang.String> |
getSuggestedInsertionIds()
The suggested insertion IDs.
|
java.util.List<TableRow> |
getTableRows()
The contents and style of each row.
|
TableStyle |
getTableStyle()
The style of the table.
|
Table |
set(java.lang.String fieldName,
java.lang.Object value) |
Table |
setColumns(java.lang.Integer columns)
Number of columns in the table.
|
Table |
setRows(java.lang.Integer rows)
Number of rows in the table.
|
Table |
setSuggestedDeletionIds(java.util.List<java.lang.String> suggestedDeletionIds)
The suggested deletion IDs.
|
Table |
setSuggestedInsertionIds(java.util.List<java.lang.String> suggestedInsertionIds)
The suggested insertion IDs.
|
Table |
setTableRows(java.util.List<TableRow> tableRows)
The contents and style of each row.
|
Table |
setTableStyle(TableStyle tableStyle)
The style of the table.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getColumns()
null
for nonepublic Table setColumns(java.lang.Integer columns)
columns
- columns or null
for nonepublic java.lang.Integer getRows()
null
for nonepublic Table setRows(java.lang.Integer rows)
rows
- rows or null
for nonepublic java.util.List<java.lang.String> getSuggestedDeletionIds()
null
for nonepublic Table setSuggestedDeletionIds(java.util.List<java.lang.String> suggestedDeletionIds)
suggestedDeletionIds
- suggestedDeletionIds or null
for nonepublic java.util.List<java.lang.String> getSuggestedInsertionIds()
null
for nonepublic Table setSuggestedInsertionIds(java.util.List<java.lang.String> suggestedInsertionIds)
suggestedInsertionIds
- suggestedInsertionIds or null
for nonepublic java.util.List<TableRow> getTableRows()
null
for nonepublic Table setTableRows(java.util.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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Table clone()
clone
in class com.google.api.client.json.GenericJson