public final class Sheet extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Sheet() |
| Modifier and Type | Method and Description |
|---|---|
Sheet |
clone() |
List<BandedRange> |
getBandedRanges()
The banded (alternating colors) ranges on this sheet.
|
BasicFilter |
getBasicFilter()
The filter on this sheet, if any.
|
List<EmbeddedChart> |
getCharts()
The specifications of every chart on this sheet.
|
List<DimensionGroup> |
getColumnGroups()
All column groups on this sheet, ordered by increasing range start index, then by group depth.
|
List<ConditionalFormatRule> |
getConditionalFormats()
The conditional format rules in this sheet.
|
List<GridData> |
getData()
Data in the grid, if this is a grid sheet.
|
List<DeveloperMetadata> |
getDeveloperMetadata()
The developer metadata associated with a sheet.
|
List<FilterView> |
getFilterViews()
The filter views in this sheet.
|
List<GridRange> |
getMerges()
The ranges that are merged together.
|
SheetProperties |
getProperties()
The properties of the sheet.
|
List<ProtectedRange> |
getProtectedRanges()
The protected ranges in this sheet.
|
List<DimensionGroup> |
getRowGroups()
All row groups on this sheet, ordered by increasing range start index, then by group depth.
|
List<Slicer> |
getSlicers()
The slicers on this sheet.
|
Sheet |
set(String fieldName,
Object value) |
Sheet |
setBandedRanges(List<BandedRange> bandedRanges)
The banded (alternating colors) ranges on this sheet.
|
Sheet |
setBasicFilter(BasicFilter basicFilter)
The filter on this sheet, if any.
|
Sheet |
setCharts(List<EmbeddedChart> charts)
The specifications of every chart on this sheet.
|
Sheet |
setColumnGroups(List<DimensionGroup> columnGroups)
All column groups on this sheet, ordered by increasing range start index, then by group depth.
|
Sheet |
setConditionalFormats(List<ConditionalFormatRule> conditionalFormats)
The conditional format rules in this sheet.
|
Sheet |
setData(List<GridData> data)
Data in the grid, if this is a grid sheet.
|
Sheet |
setDeveloperMetadata(List<DeveloperMetadata> developerMetadata)
The developer metadata associated with a sheet.
|
Sheet |
setFilterViews(List<FilterView> filterViews)
The filter views in this sheet.
|
Sheet |
setMerges(List<GridRange> merges)
The ranges that are merged together.
|
Sheet |
setProperties(SheetProperties properties)
The properties of the sheet.
|
Sheet |
setProtectedRanges(List<ProtectedRange> protectedRanges)
The protected ranges in this sheet.
|
Sheet |
setRowGroups(List<DimensionGroup> rowGroups)
All row groups on this sheet, ordered by increasing range start index, then by group depth.
|
Sheet |
setSlicers(List<Slicer> slicers)
The slicers on this sheet.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<BandedRange> getBandedRanges()
null for nonepublic Sheet setBandedRanges(List<BandedRange> bandedRanges)
bandedRanges - bandedRanges or null for nonepublic BasicFilter getBasicFilter()
null for nonepublic Sheet setBasicFilter(BasicFilter basicFilter)
basicFilter - basicFilter or null for nonepublic List<EmbeddedChart> getCharts()
null for nonepublic Sheet setCharts(List<EmbeddedChart> charts)
charts - charts or null for nonepublic List<DimensionGroup> getColumnGroups()
null for nonepublic Sheet setColumnGroups(List<DimensionGroup> columnGroups)
columnGroups - columnGroups or null for nonepublic List<ConditionalFormatRule> getConditionalFormats()
null for nonepublic Sheet setConditionalFormats(List<ConditionalFormatRule> conditionalFormats)
conditionalFormats - conditionalFormats or null for nonepublic List<GridData> getData()
null for nonepublic Sheet setData(List<GridData> data)
data - data or null for nonepublic List<DeveloperMetadata> getDeveloperMetadata()
null for nonepublic Sheet setDeveloperMetadata(List<DeveloperMetadata> developerMetadata)
developerMetadata - developerMetadata or null for nonepublic List<FilterView> getFilterViews()
null for nonepublic Sheet setFilterViews(List<FilterView> filterViews)
filterViews - filterViews or null for nonepublic List<GridRange> getMerges()
null for nonepublic Sheet setMerges(List<GridRange> merges)
merges - merges or null for nonepublic SheetProperties getProperties()
null for nonepublic Sheet setProperties(SheetProperties properties)
properties - properties or null for nonepublic List<ProtectedRange> getProtectedRanges()
null for nonepublic Sheet setProtectedRanges(List<ProtectedRange> protectedRanges)
protectedRanges - protectedRanges or null for nonepublic List<DimensionGroup> getRowGroups()
null for nonepublic Sheet setRowGroups(List<DimensionGroup> rowGroups)
rowGroups - rowGroups or null for nonepublic List<Slicer> getSlicers()
null for nonepublic Sheet setSlicers(List<Slicer> slicers)
slicers - slicers or null for nonepublic Sheet set(String fieldName, Object value)
set in class GenericJsonpublic Sheet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.