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
AbstractMap.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, 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 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 com.google.api.client.json.GenericJson
public GridData clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.