target.apidocs.com.google.api.services.sheets.v4.model.DataFilterValueRange.html Maven / Gradle / Ivy
DataFilterValueRange (Google Sheets API v4-rev20240319-2.0.0)
com.google.api.services.sheets.v4.model
Class DataFilterValueRange
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sheets.v4.model.DataFilterValueRange
-
public final class DataFilterValueRange
extends com.google.api.client.json.GenericJson
A range of values whose location is specified by a DataFilter.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
DataFilterValueRange()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DataFilterValueRange
clone()
DataFilter
getDataFilter()
The data filter describing the location of the values in the spreadsheet.
String
getMajorDimension()
The major dimension of the values.
List<List<Object>>
getValues()
The data to be written.
DataFilterValueRange
set(String fieldName,
Object value)
DataFilterValueRange
setDataFilter(DataFilter dataFilter)
The data filter describing the location of the values in the spreadsheet.
DataFilterValueRange
setMajorDimension(String majorDimension)
The major dimension of the values.
DataFilterValueRange
setValues(List<List<Object>> values)
The data to be written.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDataFilter
public DataFilter getDataFilter()
The data filter describing the location of the values in the spreadsheet.
- Returns:
- value or
null
for none
-
setDataFilter
public DataFilterValueRange setDataFilter(DataFilter dataFilter)
The data filter describing the location of the values in the spreadsheet.
- Parameters:
dataFilter
- dataFilter or null
for none
-
getMajorDimension
public String getMajorDimension()
The major dimension of the values.
- Returns:
- value or
null
for none
-
setMajorDimension
public DataFilterValueRange setMajorDimension(String majorDimension)
The major dimension of the values.
- Parameters:
majorDimension
- majorDimension or null
for none
-
getValues
public List<List<Object>> getValues()
The data to be written. If the provided values exceed any of the ranges matched by the data
filter then the request fails. If the provided values are less than the matched ranges only the
specified values are written, existing values in the matched ranges remain unaffected.
- Returns:
- value or
null
for none
-
setValues
public DataFilterValueRange setValues(List<List<Object>> values)
The data to be written. If the provided values exceed any of the ranges matched by the data
filter then the request fails. If the provided values are less than the matched ranges only the
specified values are written, existing values in the matched ranges remain unaffected.
- Parameters:
values
- values or null
for none
-
set
public DataFilterValueRange set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DataFilterValueRange clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.