public final class GridData
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 Sheets 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 |
---|
GridData() |
Modifier and Type | Method and Description |
---|---|
GridData |
clone() |
java.util.List<DimensionProperties> |
getColumnMetadata()
Metadata about the requested columns in the grid, starting with the column in start_column.
|
java.util.List<RowData> |
getRowData()
The data in the grid, one entry per row, starting with the row in startRow.
|
java.util.List<DimensionProperties> |
getRowMetadata()
Metadata about the requested rows in the grid, starting with the row in start_row.
|
java.lang.Integer |
getStartColumn()
The first column this GridData refers to, zero-based.
|
java.lang.Integer |
getStartRow()
The first row this GridData refers to, zero-based.
|
GridData |
set(java.lang.String fieldName,
java.lang.Object value) |
GridData |
setColumnMetadata(java.util.List<DimensionProperties> columnMetadata)
Metadata about the requested columns in the grid, starting with the column in start_column.
|
GridData |
setRowData(java.util.List<RowData> rowData)
The data in the grid, one entry per row, starting with the row in startRow.
|
GridData |
setRowMetadata(java.util.List<DimensionProperties> rowMetadata)
Metadata about the requested rows in the grid, starting with the row in start_row.
|
GridData |
setStartColumn(java.lang.Integer startColumn)
The first column this GridData refers to, zero-based.
|
GridData |
setStartRow(java.lang.Integer startRow)
The first row this GridData refers to, zero-based.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<DimensionProperties> getColumnMetadata()
null
for nonepublic GridData setColumnMetadata(java.util.List<DimensionProperties> columnMetadata)
columnMetadata
- columnMetadata or null
for nonepublic java.util.List<RowData> getRowData()
null
for nonepublic GridData setRowData(java.util.List<RowData> rowData)
rowData
- rowData or null
for nonepublic java.util.List<DimensionProperties> getRowMetadata()
null
for nonepublic GridData setRowMetadata(java.util.List<DimensionProperties> rowMetadata)
rowMetadata
- rowMetadata or null
for nonepublic java.lang.Integer getStartColumn()
null
for nonepublic GridData setStartColumn(java.lang.Integer startColumn)
startColumn
- startColumn or null
for nonepublic java.lang.Integer getStartRow()
null
for nonepublic GridData setStartRow(java.lang.Integer startRow)
startRow
- startRow or null
for nonepublic GridData set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GridData clone()
clone
in class com.google.api.client.json.GenericJson