public final class PivotGroup
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 |
---|
PivotGroup() |
Modifier and Type | Method and Description |
---|---|
PivotGroup |
clone() |
DataSourceColumnReference |
getDataSourceColumnReference()
The reference to the data source column this grouping is based on.
|
PivotGroupLimit |
getGroupLimit()
The count limit on rows or columns to apply to this pivot group.
|
PivotGroupRule |
getGroupRule()
The group rule to apply to this row/column group.
|
String |
getLabel()
The labels to use for the row/column groups which can be customized.
|
Boolean |
getRepeatHeadings()
True if the headings in this pivot group should be repeated.
|
Boolean |
getShowTotals()
True if the pivot table should include the totals for this grouping.
|
String |
getSortOrder()
The order the values in this group should be sorted.
|
Integer |
getSourceColumnOffset()
The column offset of the source range that this grouping is based on.
|
PivotGroupSortValueBucket |
getValueBucket()
The bucket of the opposite pivot group to sort by.
|
List<PivotGroupValueMetadata> |
getValueMetadata()
Metadata about values in the grouping.
|
PivotGroup |
set(String fieldName,
Object value) |
PivotGroup |
setDataSourceColumnReference(DataSourceColumnReference dataSourceColumnReference)
The reference to the data source column this grouping is based on.
|
PivotGroup |
setGroupLimit(PivotGroupLimit groupLimit)
The count limit on rows or columns to apply to this pivot group.
|
PivotGroup |
setGroupRule(PivotGroupRule groupRule)
The group rule to apply to this row/column group.
|
PivotGroup |
setLabel(String label)
The labels to use for the row/column groups which can be customized.
|
PivotGroup |
setRepeatHeadings(Boolean repeatHeadings)
True if the headings in this pivot group should be repeated.
|
PivotGroup |
setShowTotals(Boolean showTotals)
True if the pivot table should include the totals for this grouping.
|
PivotGroup |
setSortOrder(String sortOrder)
The order the values in this group should be sorted.
|
PivotGroup |
setSourceColumnOffset(Integer sourceColumnOffset)
The column offset of the source range that this grouping is based on.
|
PivotGroup |
setValueBucket(PivotGroupSortValueBucket valueBucket)
The bucket of the opposite pivot group to sort by.
|
PivotGroup |
setValueMetadata(List<PivotGroupValueMetadata> valueMetadata)
Metadata about values in the grouping.
|
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 DataSourceColumnReference getDataSourceColumnReference()
null
for nonepublic PivotGroup setDataSourceColumnReference(DataSourceColumnReference dataSourceColumnReference)
dataSourceColumnReference
- dataSourceColumnReference or null
for nonepublic PivotGroupLimit getGroupLimit()
null
for nonepublic PivotGroup setGroupLimit(PivotGroupLimit groupLimit)
groupLimit
- groupLimit or null
for nonepublic PivotGroupRule getGroupRule()
null
for nonepublic PivotGroup setGroupRule(PivotGroupRule groupRule)
groupRule
- groupRule or null
for nonepublic String getLabel()
null
for nonepublic PivotGroup setLabel(String label)
label
- label or null
for nonepublic Boolean getRepeatHeadings()
null
for nonepublic PivotGroup setRepeatHeadings(Boolean repeatHeadings)
repeatHeadings
- repeatHeadings or null
for nonepublic Boolean getShowTotals()
null
for nonepublic PivotGroup setShowTotals(Boolean showTotals)
showTotals
- showTotals or null
for nonepublic String getSortOrder()
null
for nonepublic PivotGroup setSortOrder(String sortOrder)
sortOrder
- sortOrder or null
for nonepublic Integer getSourceColumnOffset()
null
for nonepublic PivotGroup setSourceColumnOffset(Integer sourceColumnOffset)
sourceColumnOffset
- sourceColumnOffset or null
for nonepublic PivotGroupSortValueBucket getValueBucket()
null
for nonepublic PivotGroup setValueBucket(PivotGroupSortValueBucket valueBucket)
valueBucket
- valueBucket or null
for nonepublic List<PivotGroupValueMetadata> getValueMetadata()
null
for nonepublic PivotGroup setValueMetadata(List<PivotGroupValueMetadata> valueMetadata)
valueMetadata
- valueMetadata or null
for nonepublic PivotGroup set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PivotGroup clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.