public final class ExtendedValue
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 |
---|
ExtendedValue() |
Modifier and Type | Method and Description |
---|---|
ExtendedValue |
clone() |
Boolean |
getBoolValue()
Represents a boolean value.
|
ErrorValue |
getErrorValue()
Represents an error.
|
String |
getFormulaValue()
Represents a formula.
|
Double |
getNumberValue()
Represents a double value.
|
String |
getStringValue()
Represents a string value.
|
ExtendedValue |
set(String fieldName,
Object value) |
ExtendedValue |
setBoolValue(Boolean boolValue)
Represents a boolean value.
|
ExtendedValue |
setErrorValue(ErrorValue errorValue)
Represents an error.
|
ExtendedValue |
setFormulaValue(String formulaValue)
Represents a formula.
|
ExtendedValue |
setNumberValue(Double numberValue)
Represents a double value.
|
ExtendedValue |
setStringValue(String stringValue)
Represents a string value.
|
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 Boolean getBoolValue()
null
for nonepublic ExtendedValue setBoolValue(Boolean boolValue)
boolValue
- boolValue or null
for nonepublic ErrorValue getErrorValue()
null
for nonepublic ExtendedValue setErrorValue(ErrorValue errorValue)
errorValue
- errorValue or null
for nonepublic String getFormulaValue()
null
for nonepublic ExtendedValue setFormulaValue(String formulaValue)
formulaValue
- formulaValue or null
for nonepublic Double getNumberValue()
null
for nonepublic ExtendedValue setNumberValue(Double numberValue)
numberValue
- numberValue or null
for nonepublic String getStringValue()
null
for nonepublic ExtendedValue setStringValue(String stringValue)
stringValue
- stringValue or null
for nonepublic ExtendedValue set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ExtendedValue clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.