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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 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.
|
List<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(String fieldName,
Object value) |
FilterCriteria |
setCondition(BooleanCondition condition)
A condition that must be true for values to be shown.
|
FilterCriteria |
setHiddenValues(List<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, 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 BooleanCondition getCondition()
null for nonepublic FilterCriteria setCondition(BooleanCondition condition)
condition - condition or null for nonepublic List<String> getHiddenValues()
null for nonepublic FilterCriteria setHiddenValues(List<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(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic FilterCriteria clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.