public final class SheetProperties
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 |
---|
SheetProperties() |
Modifier and Type | Method and Description |
---|---|
SheetProperties |
clone() |
DataSourceSheetProperties |
getDataSourceSheetProperties()
Output only.
|
GridProperties |
getGridProperties()
Additional properties of the sheet if this sheet is a grid.
|
Boolean |
getHidden()
True if the sheet is hidden in the UI, false if it's visible.
|
Integer |
getIndex()
The index of the sheet within the spreadsheet.
|
Boolean |
getRightToLeft()
True if the sheet is an RTL sheet instead of an LTR sheet.
|
Integer |
getSheetId()
The ID of the sheet.
|
String |
getSheetType()
The type of sheet.
|
Color |
getTabColor()
The color of the tab in the UI.
|
ColorStyle |
getTabColorStyle()
The color of the tab in the UI.
|
String |
getTitle()
The name of the sheet.
|
SheetProperties |
set(String fieldName,
Object value) |
SheetProperties |
setDataSourceSheetProperties(DataSourceSheetProperties dataSourceSheetProperties)
Output only.
|
SheetProperties |
setGridProperties(GridProperties gridProperties)
Additional properties of the sheet if this sheet is a grid.
|
SheetProperties |
setHidden(Boolean hidden)
True if the sheet is hidden in the UI, false if it's visible.
|
SheetProperties |
setIndex(Integer index)
The index of the sheet within the spreadsheet.
|
SheetProperties |
setRightToLeft(Boolean rightToLeft)
True if the sheet is an RTL sheet instead of an LTR sheet.
|
SheetProperties |
setSheetId(Integer sheetId)
The ID of the sheet.
|
SheetProperties |
setSheetType(String sheetType)
The type of sheet.
|
SheetProperties |
setTabColor(Color tabColor)
The color of the tab in the UI.
|
SheetProperties |
setTabColorStyle(ColorStyle tabColorStyle)
The color of the tab in the UI.
|
SheetProperties |
setTitle(String title)
The name of the sheet.
|
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 DataSourceSheetProperties getDataSourceSheetProperties()
null
for nonepublic SheetProperties setDataSourceSheetProperties(DataSourceSheetProperties dataSourceSheetProperties)
dataSourceSheetProperties
- dataSourceSheetProperties or null
for nonepublic GridProperties getGridProperties()
null
for nonepublic SheetProperties setGridProperties(GridProperties gridProperties)
gridProperties
- gridProperties or null
for nonepublic Boolean getHidden()
null
for nonepublic SheetProperties setHidden(Boolean hidden)
hidden
- hidden or null
for nonepublic Integer getIndex()
null
for nonepublic SheetProperties setIndex(Integer index)
index
- index or null
for nonepublic Boolean getRightToLeft()
null
for nonepublic SheetProperties setRightToLeft(Boolean rightToLeft)
rightToLeft
- rightToLeft or null
for nonepublic Integer getSheetId()
null
for nonepublic SheetProperties setSheetId(Integer sheetId)
sheetId
- sheetId or null
for nonepublic String getSheetType()
null
for nonepublic SheetProperties setSheetType(String sheetType)
sheetType
- sheetType or null
for nonepublic Color getTabColor()
null
for nonepublic SheetProperties setTabColor(Color tabColor)
tabColor
- tabColor or null
for nonepublic ColorStyle getTabColorStyle()
null
for nonepublic SheetProperties setTabColorStyle(ColorStyle tabColorStyle)
tabColorStyle
- tabColorStyle or null
for nonepublic String getTitle()
null
for nonepublic SheetProperties setTitle(String title)
title
- title or null
for nonepublic SheetProperties set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SheetProperties clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.