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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PivotValue() |
Modifier and Type | Method and Description |
---|---|
PivotValue |
clone() |
String |
getCalculatedDisplayType()
If specified, indicates that pivot values should be displayed as the result of a calculation
with another pivot value.
|
DataSourceColumnReference |
getDataSourceColumnReference()
The reference to the data source column that this value reads from.
|
String |
getFormula()
A custom formula to calculate the value.
|
String |
getName()
A name to use for the value.
|
Integer |
getSourceColumnOffset()
The column offset of the source range that this value reads from.
|
String |
getSummarizeFunction()
A function to summarize the value.
|
PivotValue |
set(String fieldName,
Object value) |
PivotValue |
setCalculatedDisplayType(String calculatedDisplayType)
If specified, indicates that pivot values should be displayed as the result of a calculation
with another pivot value.
|
PivotValue |
setDataSourceColumnReference(DataSourceColumnReference dataSourceColumnReference)
The reference to the data source column that this value reads from.
|
PivotValue |
setFormula(String formula)
A custom formula to calculate the value.
|
PivotValue |
setName(String name)
A name to use for the value.
|
PivotValue |
setSourceColumnOffset(Integer sourceColumnOffset)
The column offset of the source range that this value reads from.
|
PivotValue |
setSummarizeFunction(String summarizeFunction)
A function to summarize the 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 String getCalculatedDisplayType()
null
for nonepublic PivotValue setCalculatedDisplayType(String calculatedDisplayType)
calculatedDisplayType
- calculatedDisplayType or null
for nonepublic DataSourceColumnReference getDataSourceColumnReference()
null
for nonepublic PivotValue setDataSourceColumnReference(DataSourceColumnReference dataSourceColumnReference)
dataSourceColumnReference
- dataSourceColumnReference or null
for nonepublic String getFormula()
null
for nonepublic PivotValue setFormula(String formula)
formula
- formula or null
for nonepublic String getName()
null
for nonepublic PivotValue setName(String name)
name
- name or null
for nonepublic Integer getSourceColumnOffset()
null
for nonepublic PivotValue setSourceColumnOffset(Integer sourceColumnOffset)
sourceColumnOffset
- sourceColumnOffset or null
for nonepublic String getSummarizeFunction()
null
for nonepublic PivotValue setSummarizeFunction(String summarizeFunction)
summarizeFunction
- summarizeFunction or null
for nonepublic PivotValue set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PivotValue clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.