public final class PivotValue
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 |
|---|
PivotValue() |
| Modifier and Type | Method and Description |
|---|---|
PivotValue |
clone() |
java.lang.String |
getFormula()
A custom formula to calculate the value.
|
java.lang.String |
getName()
A name to use for the value.
|
java.lang.Integer |
getSourceColumnOffset()
The column offset of the source range that this value reads from.
|
java.lang.String |
getSummarizeFunction()
A function to summarize the value.
|
PivotValue |
set(java.lang.String fieldName,
java.lang.Object value) |
PivotValue |
setFormula(java.lang.String formula)
A custom formula to calculate the value.
|
PivotValue |
setName(java.lang.String name)
A name to use for the value.
|
PivotValue |
setSourceColumnOffset(java.lang.Integer sourceColumnOffset)
The column offset of the source range that this value reads from.
|
PivotValue |
setSummarizeFunction(java.lang.String summarizeFunction)
A function to summarize the value.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getFormula()
null for nonepublic PivotValue setFormula(java.lang.String formula)
formula - formula or null for nonepublic java.lang.String getName()
null for nonepublic PivotValue setName(java.lang.String name)
name - name or null for nonepublic java.lang.Integer getSourceColumnOffset()
null for nonepublic PivotValue setSourceColumnOffset(java.lang.Integer sourceColumnOffset)
sourceColumnOffset - sourceColumnOffset or null for nonepublic java.lang.String getSummarizeFunction()
null for nonepublic PivotValue setSummarizeFunction(java.lang.String summarizeFunction)
summarizeFunction - summarizeFunction or null for nonepublic PivotValue set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PivotValue clone()
clone in class com.google.api.client.json.GenericJson