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() |
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<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<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.
|
Sheet |
set(java.lang.String fieldName,
java.lang.Object value) |
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 |
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 |
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public 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<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<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 Sheet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Sheet clone()
clone
in class com.google.api.client.json.GenericJson