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
Constructor and Description |
---|
PivotGroup() |
Modifier and Type | Method and Description |
---|---|
PivotGroup |
clone() |
PivotGroupRule |
getGroupRule()
The group rule to apply to this row/column group.
|
java.lang.String |
getLabel()
The labels to use for the row/column groups which can be customized.
|
java.lang.Boolean |
getRepeatHeadings()
True if the headings in this pivot group should be repeated.
|
java.lang.Boolean |
getShowTotals()
True if the pivot table should include the totals for this grouping.
|
java.lang.String |
getSortOrder()
The order the values in this group should be sorted.
|
java.lang.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.
|
java.util.List<PivotGroupValueMetadata> |
getValueMetadata()
Metadata about values in the grouping.
|
PivotGroup |
set(java.lang.String fieldName,
java.lang.Object value) |
PivotGroup |
setGroupRule(PivotGroupRule groupRule)
The group rule to apply to this row/column group.
|
PivotGroup |
setLabel(java.lang.String label)
The labels to use for the row/column groups which can be customized.
|
PivotGroup |
setRepeatHeadings(java.lang.Boolean repeatHeadings)
True if the headings in this pivot group should be repeated.
|
PivotGroup |
setShowTotals(java.lang.Boolean showTotals)
True if the pivot table should include the totals for this grouping.
|
PivotGroup |
setSortOrder(java.lang.String sortOrder)
The order the values in this group should be sorted.
|
PivotGroup |
setSourceColumnOffset(java.lang.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(java.util.List<PivotGroupValueMetadata> valueMetadata)
Metadata about values in the grouping.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public PivotGroupRule getGroupRule()
null
for nonepublic PivotGroup setGroupRule(PivotGroupRule groupRule)
groupRule
- groupRule or null
for nonepublic java.lang.String getLabel()
null
for nonepublic PivotGroup setLabel(java.lang.String label)
label
- label or null
for nonepublic java.lang.Boolean getRepeatHeadings()
null
for nonepublic PivotGroup setRepeatHeadings(java.lang.Boolean repeatHeadings)
repeatHeadings
- repeatHeadings or null
for nonepublic java.lang.Boolean getShowTotals()
null
for nonepublic PivotGroup setShowTotals(java.lang.Boolean showTotals)
showTotals
- showTotals or null
for nonepublic java.lang.String getSortOrder()
null
for nonepublic PivotGroup setSortOrder(java.lang.String sortOrder)
sortOrder
- sortOrder or null
for nonepublic java.lang.Integer getSourceColumnOffset()
null
for nonepublic PivotGroup setSourceColumnOffset(java.lang.Integer sourceColumnOffset)
sourceColumnOffset
- sourceColumnOffset or null
for nonepublic PivotGroupSortValueBucket getValueBucket()
null
for nonepublic PivotGroup setValueBucket(PivotGroupSortValueBucket valueBucket)
valueBucket
- valueBucket or null
for nonepublic java.util.List<PivotGroupValueMetadata> getValueMetadata()
null
for nonepublic PivotGroup setValueMetadata(java.util.List<PivotGroupValueMetadata> valueMetadata)
valueMetadata
- valueMetadata or null
for nonepublic PivotGroup set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PivotGroup clone()
clone
in class com.google.api.client.json.GenericJson