public final class FilterView
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 |
---|
FilterView() |
Modifier and Type | Method and Description |
---|---|
FilterView |
clone() |
Map<String,FilterCriteria> |
getCriteria()
The criteria for showing/hiding values per column.
|
List<FilterSpec> |
getFilterSpecs()
The filter criteria for showing/hiding values per column.
|
Integer |
getFilterViewId()
The ID of the filter view.
|
String |
getNamedRangeId()
The named range this filter view is backed by, if any.
|
GridRange |
getRange()
The range this filter view covers.
|
List<SortSpec> |
getSortSpecs()
The sort order per column.
|
String |
getTitle()
The name of the filter view.
|
FilterView |
set(String fieldName,
Object value) |
FilterView |
setCriteria(Map<String,FilterCriteria> criteria)
The criteria for showing/hiding values per column.
|
FilterView |
setFilterSpecs(List<FilterSpec> filterSpecs)
The filter criteria for showing/hiding values per column.
|
FilterView |
setFilterViewId(Integer filterViewId)
The ID of the filter view.
|
FilterView |
setNamedRangeId(String namedRangeId)
The named range this filter view is backed by, if any.
|
FilterView |
setRange(GridRange range)
The range this filter view covers.
|
FilterView |
setSortSpecs(List<SortSpec> sortSpecs)
The sort order per column.
|
FilterView |
setTitle(String title)
The name of the filter view.
|
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 Map<String,FilterCriteria> getCriteria()
null
for nonepublic FilterView setCriteria(Map<String,FilterCriteria> criteria)
criteria
- criteria or null
for nonepublic List<FilterSpec> getFilterSpecs()
null
for nonepublic FilterView setFilterSpecs(List<FilterSpec> filterSpecs)
filterSpecs
- filterSpecs or null
for nonepublic Integer getFilterViewId()
null
for nonepublic FilterView setFilterViewId(Integer filterViewId)
filterViewId
- filterViewId or null
for nonepublic String getNamedRangeId()
null
for nonepublic FilterView setNamedRangeId(String namedRangeId)
namedRangeId
- namedRangeId or null
for nonepublic GridRange getRange()
null
for nonepublic FilterView setRange(GridRange range)
range
- range or null
for nonepublic List<SortSpec> getSortSpecs()
null
for nonepublic FilterView setSortSpecs(List<SortSpec> sortSpecs)
sortSpecs
- sortSpecs or null
for nonepublic String getTitle()
null
for nonepublic FilterView setTitle(String title)
title
- title or null
for nonepublic FilterView set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public FilterView clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.