public final class GridRange
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 |
---|
GridRange() |
Modifier and Type | Method and Description |
---|---|
GridRange |
clone() |
Integer |
getEndColumnIndex()
The end column (exclusive) of the range, or not set if unbounded.
|
Integer |
getEndRowIndex()
The end row (exclusive) of the range, or not set if unbounded.
|
Integer |
getSheetId()
The sheet this range is on.
|
Integer |
getStartColumnIndex()
The start column (inclusive) of the range, or not set if unbounded.
|
Integer |
getStartRowIndex()
The start row (inclusive) of the range, or not set if unbounded.
|
GridRange |
set(String fieldName,
Object value) |
GridRange |
setEndColumnIndex(Integer endColumnIndex)
The end column (exclusive) of the range, or not set if unbounded.
|
GridRange |
setEndRowIndex(Integer endRowIndex)
The end row (exclusive) of the range, or not set if unbounded.
|
GridRange |
setSheetId(Integer sheetId)
The sheet this range is on.
|
GridRange |
setStartColumnIndex(Integer startColumnIndex)
The start column (inclusive) of the range, or not set if unbounded.
|
GridRange |
setStartRowIndex(Integer startRowIndex)
The start row (inclusive) of the range, or not set if unbounded.
|
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 getEndColumnIndex()
null
for nonepublic GridRange setEndColumnIndex(Integer endColumnIndex)
endColumnIndex
- endColumnIndex or null
for nonepublic Integer getEndRowIndex()
null
for nonepublic GridRange setEndRowIndex(Integer endRowIndex)
endRowIndex
- endRowIndex or null
for nonepublic Integer getSheetId()
null
for nonepublic GridRange setSheetId(Integer sheetId)
sheetId
- sheetId or null
for nonepublic Integer getStartColumnIndex()
null
for nonepublic GridRange setStartColumnIndex(Integer startColumnIndex)
startColumnIndex
- startColumnIndex or null
for nonepublic Integer getStartRowIndex()
null
for nonepublic GridRange setStartRowIndex(Integer startRowIndex)
startRowIndex
- startRowIndex or null
for nonepublic GridRange set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public GridRange clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.