public final class Sheet
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 |
|---|
Sheet() |
| Modifier and Type | Method and Description |
|---|---|
Sheet |
clone() |
java.util.List<BandedRange> |
getBandedRanges()
The banded (alternating colors) ranges on this sheet.
|
BasicFilter |
getBasicFilter()
The filter on this sheet, if any.
|
java.util.List<EmbeddedChart> |
getCharts()
The specifications of every chart on this sheet.
|
java.util.List<DimensionGroup> |
getColumnGroups()
All column groups on this sheet, ordered by increasing range start index, then by group depth.
|
java.util.List<ConditionalFormatRule> |
getConditionalFormats()
The conditional format rules in this sheet.
|
java.util.List<GridData> |
getData()
Data in the grid, if this is a grid sheet.
|
java.util.List<DeveloperMetadata> |
getDeveloperMetadata()
The developer metadata associated with a sheet.
|
java.util.List<FilterView> |
getFilterViews()
The filter views in this sheet.
|
java.util.List<GridRange> |
getMerges()
The ranges that are merged together.
|
SheetProperties |
getProperties()
The properties of the sheet.
|
java.util.List<ProtectedRange> |
getProtectedRanges()
The protected ranges in this sheet.
|
java.util.List<DimensionGroup> |
getRowGroups()
All row groups on this sheet, ordered by increasing range start index, then by group depth.
|
java.util.List<Slicer> |
getSlicers()
The slicers on this sheet.
|
Sheet |
set(java.lang.String fieldName,
java.lang.Object value) |
Sheet |
setBandedRanges(java.util.List<BandedRange> bandedRanges)
The banded (alternating colors) ranges on this sheet.
|
Sheet |
setBasicFilter(BasicFilter basicFilter)
The filter on this sheet, if any.
|
Sheet |
setCharts(java.util.List<EmbeddedChart> charts)
The specifications of every chart on this sheet.
|
Sheet |
setColumnGroups(java.util.List<DimensionGroup> columnGroups)
All column groups on this sheet, ordered by increasing range start index, then by group depth.
|
Sheet |
setConditionalFormats(java.util.List<ConditionalFormatRule> conditionalFormats)
The conditional format rules in this sheet.
|
Sheet |
setData(java.util.List<GridData> data)
Data in the grid, if this is a grid sheet.
|
Sheet |
setDeveloperMetadata(java.util.List<DeveloperMetadata> developerMetadata)
The developer metadata associated with a sheet.
|
Sheet |
setFilterViews(java.util.List<FilterView> filterViews)
The filter views in this sheet.
|
Sheet |
setMerges(java.util.List<GridRange> merges)
The ranges that are merged together.
|
Sheet |
setProperties(SheetProperties properties)
The properties of the sheet.
|
Sheet |
setProtectedRanges(java.util.List<ProtectedRange> protectedRanges)
The protected ranges in this sheet.
|
Sheet |
setRowGroups(java.util.List<DimensionGroup> rowGroups)
All row groups on this sheet, ordered by increasing range start index, then by group depth.
|
Sheet |
setSlicers(java.util.List<Slicer> slicers)
The slicers on this sheet.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<BandedRange> getBandedRanges()
null for nonepublic Sheet setBandedRanges(java.util.List<BandedRange> bandedRanges)
bandedRanges - bandedRanges or null for nonepublic BasicFilter getBasicFilter()
null for nonepublic Sheet setBasicFilter(BasicFilter basicFilter)
basicFilter - basicFilter or null for nonepublic java.util.List<EmbeddedChart> getCharts()
null for nonepublic Sheet setCharts(java.util.List<EmbeddedChart> charts)
charts - charts or null for nonepublic java.util.List<DimensionGroup> getColumnGroups()
null for nonepublic Sheet setColumnGroups(java.util.List<DimensionGroup> columnGroups)
columnGroups - columnGroups or null for nonepublic java.util.List<ConditionalFormatRule> getConditionalFormats()
null for nonepublic Sheet setConditionalFormats(java.util.List<ConditionalFormatRule> conditionalFormats)
conditionalFormats - conditionalFormats or null for nonepublic java.util.List<GridData> getData()
null for nonepublic Sheet setData(java.util.List<GridData> data)
data - data or null for nonepublic java.util.List<DeveloperMetadata> getDeveloperMetadata()
null for nonepublic Sheet setDeveloperMetadata(java.util.List<DeveloperMetadata> developerMetadata)
developerMetadata - developerMetadata or null for nonepublic java.util.List<FilterView> getFilterViews()
null for nonepublic Sheet setFilterViews(java.util.List<FilterView> filterViews)
filterViews - filterViews or null for nonepublic java.util.List<GridRange> getMerges()
null for nonepublic Sheet setMerges(java.util.List<GridRange> merges)
merges - merges or null for nonepublic SheetProperties getProperties()
null for nonepublic Sheet setProperties(SheetProperties properties)
properties - properties or null for nonepublic java.util.List<ProtectedRange> getProtectedRanges()
null for nonepublic Sheet setProtectedRanges(java.util.List<ProtectedRange> protectedRanges)
protectedRanges - protectedRanges or null for nonepublic java.util.List<DimensionGroup> getRowGroups()
null for nonepublic Sheet setRowGroups(java.util.List<DimensionGroup> rowGroups)
rowGroups - rowGroups or null for nonepublic java.util.List<Slicer> getSlicers()
null for nonepublic Sheet setSlicers(java.util.List<Slicer> slicers)
slicers - slicers or null for nonepublic Sheet set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Sheet clone()
clone in class com.google.api.client.json.GenericJson