All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sheets.v4.model.FilterView.html Maven / Gradle / Ivy

There is a newer version: v4-rev20240423-2.0.0
Show newest version






FilterView (Google Sheets API v4-rev20240312-2.0.0)












com.google.api.services.sheets.v4.model

Class FilterView

    • Constructor Detail

      • FilterView

        public FilterView()
    • Method Detail

      • getCriteria

        public Map<String,FilterCriteria> getCriteria()
        The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column. This field is deprecated in favor of filter_specs.
        Returns:
        value or null for none
      • setCriteria

        public FilterView setCriteria(Map<String,FilterCriteria> criteria)
        The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column. This field is deprecated in favor of filter_specs.
        Parameters:
        criteria - criteria or null for none
      • getFilterSpecs

        public List<FilterSpec> getFilterSpecs()
        The filter criteria for showing/hiding values per column. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.
        Returns:
        value or null for none
      • setFilterSpecs

        public FilterView setFilterSpecs(List<FilterSpec> filterSpecs)
        The filter criteria for showing/hiding values per column. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.
        Parameters:
        filterSpecs - filterSpecs or null for none
      • getFilterViewId

        public Integer getFilterViewId()
        The ID of the filter view.
        Returns:
        value or null for none
      • setFilterViewId

        public FilterView setFilterViewId(Integer filterViewId)
        The ID of the filter view.
        Parameters:
        filterViewId - filterViewId or null for none
      • getNamedRangeId

        public String getNamedRangeId()
        The named range this filter view is backed by, if any. When writing, only one of range or named_range_id may be set.
        Returns:
        value or null for none
      • setNamedRangeId

        public FilterView setNamedRangeId(String namedRangeId)
        The named range this filter view is backed by, if any. When writing, only one of range or named_range_id may be set.
        Parameters:
        namedRangeId - namedRangeId or null for none
      • getRange

        public GridRange getRange()
        The range this filter view covers. When writing, only one of range or named_range_id may be set.
        Returns:
        value or null for none
      • setRange

        public FilterView setRange(GridRange range)
        The range this filter view covers. When writing, only one of range or named_range_id may be set.
        Parameters:
        range - range or null for none
      • getSortSpecs

        public List<SortSpec> getSortSpecs()
        The sort order per column. Later specifications are used when values are equal in the earlier specifications.
        Returns:
        value or null for none
      • setSortSpecs

        public FilterView setSortSpecs(List<SortSpec> sortSpecs)
        The sort order per column. Later specifications are used when values are equal in the earlier specifications.
        Parameters:
        sortSpecs - sortSpecs or null for none
      • getTitle

        public String getTitle()
        The name of the filter view.
        Returns:
        value or null for none
      • setTitle

        public FilterView setTitle(String title)
        The name of the filter view.
        Parameters:
        title - title or null for none
      • set

        public FilterView set(String fieldName,
                              Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public FilterView clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy