public final class DimensionRange
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 |
|---|
DimensionRange() |
| Modifier and Type | Method and Description |
|---|---|
DimensionRange |
clone() |
java.lang.String |
getDimension()
The dimension of the span.
|
java.lang.Integer |
getEndIndex()
The end (exclusive) of the span, or not set if unbounded.
|
java.lang.Integer |
getSheetId()
The sheet this span is on.
|
java.lang.Integer |
getStartIndex()
The start (inclusive) of the span, or not set if unbounded.
|
DimensionRange |
set(java.lang.String fieldName,
java.lang.Object value) |
DimensionRange |
setDimension(java.lang.String dimension)
The dimension of the span.
|
DimensionRange |
setEndIndex(java.lang.Integer endIndex)
The end (exclusive) of the span, or not set if unbounded.
|
DimensionRange |
setSheetId(java.lang.Integer sheetId)
The sheet this span is on.
|
DimensionRange |
setStartIndex(java.lang.Integer startIndex)
The start (inclusive) of the span, or not set if unbounded.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getDimension()
null for nonepublic DimensionRange setDimension(java.lang.String dimension)
dimension - dimension or null for nonepublic java.lang.Integer getEndIndex()
null for nonepublic DimensionRange setEndIndex(java.lang.Integer endIndex)
endIndex - endIndex or null for nonepublic java.lang.Integer getSheetId()
null for nonepublic DimensionRange setSheetId(java.lang.Integer sheetId)
sheetId - sheetId or null for nonepublic java.lang.Integer getStartIndex()
null for nonepublic DimensionRange setStartIndex(java.lang.Integer startIndex)
startIndex - startIndex or null for nonepublic DimensionRange set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DimensionRange clone()
clone in class com.google.api.client.json.GenericJson