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 |
getCalculatedDisplayType()
If specified, indicates that pivot values should be displayed as the result of a calculation
with another pivot value.
|
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 |
setCalculatedDisplayType(java.lang.String calculatedDisplayType)
If specified, indicates that pivot values should be displayed as the result of a calculation
with another pivot 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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCalculatedDisplayType()
null
for nonepublic PivotValue setCalculatedDisplayType(java.lang.String calculatedDisplayType)
calculatedDisplayType
- calculatedDisplayType or null
for nonepublic 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.GenericJson
public PivotValue clone()
clone
in class com.google.api.client.json.GenericJson