public final class FilterCriteria
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 |
---|
FilterCriteria() |
Modifier and Type | Method and Description |
---|---|
FilterCriteria |
clone() |
BooleanCondition |
getCondition()
A condition that must be true for values to be shown.
|
java.util.List<java.lang.String> |
getHiddenValues()
Values that should be hidden.
|
Color |
getVisibleBackgroundColor()
The background fill color to filter by; only cells with this fill color are shown.
|
ColorStyle |
getVisibleBackgroundColorStyle()
The background fill color to filter by; only cells with this fill color are shown.
|
Color |
getVisibleForegroundColor()
The foreground color to filter by; only cells with this foreground color are shown.
|
ColorStyle |
getVisibleForegroundColorStyle()
The foreground color to filter by; only cells with this foreground color are shown.
|
FilterCriteria |
set(java.lang.String fieldName,
java.lang.Object value) |
FilterCriteria |
setCondition(BooleanCondition condition)
A condition that must be true for values to be shown.
|
FilterCriteria |
setHiddenValues(java.util.List<java.lang.String> hiddenValues)
Values that should be hidden.
|
FilterCriteria |
setVisibleBackgroundColor(Color visibleBackgroundColor)
The background fill color to filter by; only cells with this fill color are shown.
|
FilterCriteria |
setVisibleBackgroundColorStyle(ColorStyle visibleBackgroundColorStyle)
The background fill color to filter by; only cells with this fill color are shown.
|
FilterCriteria |
setVisibleForegroundColor(Color visibleForegroundColor)
The foreground color to filter by; only cells with this foreground color are shown.
|
FilterCriteria |
setVisibleForegroundColorStyle(ColorStyle visibleForegroundColorStyle)
The foreground color to filter by; only cells with this foreground color are shown.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public BooleanCondition getCondition()
null
for nonepublic FilterCriteria setCondition(BooleanCondition condition)
condition
- condition or null
for nonepublic java.util.List<java.lang.String> getHiddenValues()
null
for nonepublic FilterCriteria setHiddenValues(java.util.List<java.lang.String> hiddenValues)
hiddenValues
- hiddenValues or null
for nonepublic Color getVisibleBackgroundColor()
null
for nonepublic FilterCriteria setVisibleBackgroundColor(Color visibleBackgroundColor)
visibleBackgroundColor
- visibleBackgroundColor or null
for nonepublic ColorStyle getVisibleBackgroundColorStyle()
null
for nonepublic FilterCriteria setVisibleBackgroundColorStyle(ColorStyle visibleBackgroundColorStyle)
visibleBackgroundColorStyle
- visibleBackgroundColorStyle or null
for nonepublic Color getVisibleForegroundColor()
null
for nonepublic FilterCriteria setVisibleForegroundColor(Color visibleForegroundColor)
visibleForegroundColor
- visibleForegroundColor or null
for nonepublic ColorStyle getVisibleForegroundColorStyle()
null
for nonepublic FilterCriteria setVisibleForegroundColorStyle(ColorStyle visibleForegroundColorStyle)
visibleForegroundColorStyle
- visibleForegroundColorStyle or null
for nonepublic FilterCriteria set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public FilterCriteria clone()
clone
in class com.google.api.client.json.GenericJson