public final class GridData 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 Sheets 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 |
|---|
GridData() |
| Modifier and Type | Method and Description |
|---|---|
GridData |
clone() |
List<DimensionProperties> |
getColumnMetadata()
Metadata about the requested columns in the grid, starting with the column in start_column.
|
List<RowData> |
getRowData()
The data in the grid, one entry per row, starting with the row in startRow.
|
List<DimensionProperties> |
getRowMetadata()
Metadata about the requested rows in the grid, starting with the row in start_row.
|
Integer |
getStartColumn()
The first column this GridData refers to, zero-based.
|
Integer |
getStartRow()
The first row this GridData refers to, zero-based.
|
GridData |
set(String fieldName,
Object value) |
GridData |
setColumnMetadata(List<DimensionProperties> columnMetadata)
Metadata about the requested columns in the grid, starting with the column in start_column.
|
GridData |
setRowData(List<RowData> rowData)
The data in the grid, one entry per row, starting with the row in startRow.
|
GridData |
setRowMetadata(List<DimensionProperties> rowMetadata)
Metadata about the requested rows in the grid, starting with the row in start_row.
|
GridData |
setStartColumn(Integer startColumn)
The first column this GridData refers to, zero-based.
|
GridData |
setStartRow(Integer startRow)
The first row this GridData refers to, zero-based.
|
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<DimensionProperties> getColumnMetadata()
null for nonepublic GridData setColumnMetadata(List<DimensionProperties> columnMetadata)
columnMetadata - columnMetadata or null for nonepublic List<RowData> getRowData()
null for nonepublic GridData setRowData(List<RowData> rowData)
rowData - rowData or null for nonepublic List<DimensionProperties> getRowMetadata()
null for nonepublic GridData setRowMetadata(List<DimensionProperties> rowMetadata)
rowMetadata - rowMetadata or null for nonepublic Integer getStartColumn()
null for nonepublic GridData setStartColumn(Integer startColumn)
startColumn - startColumn or null for nonepublic Integer getStartRow()
null for nonepublic GridData setStartRow(Integer startRow)
startRow - startRow or null for nonepublic GridData set(String fieldName, Object value)
set in class GenericJsonpublic GridData clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.