public final class ValueRange
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 |
---|
ValueRange() |
Modifier and Type | Method and Description |
---|---|
ValueRange |
clone() |
java.lang.String |
getMajorDimension()
The major dimension of the values.
|
java.lang.String |
getRange()
The range the values cover, in A1 notation.
|
java.util.List<java.util.List<java.lang.Object>> |
getValues()
The data that was read or to be written.
|
ValueRange |
set(java.lang.String fieldName,
java.lang.Object value) |
ValueRange |
setMajorDimension(java.lang.String majorDimension)
The major dimension of the values.
|
ValueRange |
setRange(java.lang.String range)
The range the values cover, in A1 notation.
|
ValueRange |
setValues(java.util.List<java.util.List<java.lang.Object>> values)
The data that was read or to be written.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getMajorDimension()
null
for nonepublic ValueRange setMajorDimension(java.lang.String majorDimension)
majorDimension
- majorDimension or null
for nonepublic java.lang.String getRange()
null
for nonepublic ValueRange setRange(java.lang.String range)
range
- range or null
for nonepublic java.util.List<java.util.List<java.lang.Object>> getValues()
null
for nonepublic ValueRange setValues(java.util.List<java.util.List<java.lang.Object>> values)
values
- values or null
for nonepublic ValueRange set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ValueRange clone()
clone
in class com.google.api.client.json.GenericJson