public final class NamedRange
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 |
---|
NamedRange() |
Modifier and Type | Method and Description |
---|---|
NamedRange |
clone() |
java.lang.String |
getName()
The name of the named range.
|
java.lang.String |
getNamedRangeId()
The ID of the named range.
|
GridRange |
getRange()
The range this represents.
|
NamedRange |
set(java.lang.String fieldName,
java.lang.Object value) |
NamedRange |
setName(java.lang.String name)
The name of the named range.
|
NamedRange |
setNamedRangeId(java.lang.String namedRangeId)
The ID of the named range.
|
NamedRange |
setRange(GridRange range)
The range this represents.
|
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 getName()
null
for nonepublic NamedRange setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getNamedRangeId()
null
for nonepublic NamedRange setNamedRangeId(java.lang.String namedRangeId)
namedRangeId
- namedRangeId or null
for nonepublic GridRange getRange()
null
for nonepublic NamedRange setRange(GridRange range)
range
- range or null
for nonepublic NamedRange set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public NamedRange clone()
clone
in class com.google.api.client.json.GenericJson