target.apidocs.com.google.api.services.sheets.v4.model.FindReplaceResponse.html Maven / Gradle / Ivy
FindReplaceResponse (Google Sheets API v4-rev20240312-2.0.0)
com.google.api.services.sheets.v4.model
Class FindReplaceResponse
- 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.FindReplaceResponse
-
public final class FindReplaceResponse
extends com.google.api.client.json.GenericJson
The result of the find/replace.
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
FindReplaceResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FindReplaceResponse
clone()
Integer
getFormulasChanged()
The number of formula cells changed.
Integer
getOccurrencesChanged()
The number of occurrences (possibly multiple within a cell) changed.
Integer
getRowsChanged()
The number of rows changed.
Integer
getSheetsChanged()
The number of sheets changed.
Integer
getValuesChanged()
The number of non-formula cells changed.
FindReplaceResponse
set(String fieldName,
Object value)
FindReplaceResponse
setFormulasChanged(Integer formulasChanged)
The number of formula cells changed.
FindReplaceResponse
setOccurrencesChanged(Integer occurrencesChanged)
The number of occurrences (possibly multiple within a cell) changed.
FindReplaceResponse
setRowsChanged(Integer rowsChanged)
The number of rows changed.
FindReplaceResponse
setSheetsChanged(Integer sheetsChanged)
The number of sheets changed.
FindReplaceResponse
setValuesChanged(Integer valuesChanged)
The number of non-formula cells changed.
-
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
-
getFormulasChanged
public Integer getFormulasChanged()
The number of formula cells changed.
- Returns:
- value or
null
for none
-
setFormulasChanged
public FindReplaceResponse setFormulasChanged(Integer formulasChanged)
The number of formula cells changed.
- Parameters:
formulasChanged
- formulasChanged or null
for none
-
getOccurrencesChanged
public Integer getOccurrencesChanged()
The number of occurrences (possibly multiple within a cell) changed. For example, if replacing
`"e"` with `"o"` in `"Google Sheets"`, this would be `"3"` because `"Google Sheets"` ->
`"Googlo Shoots"`.
- Returns:
- value or
null
for none
-
setOccurrencesChanged
public FindReplaceResponse setOccurrencesChanged(Integer occurrencesChanged)
The number of occurrences (possibly multiple within a cell) changed. For example, if replacing
`"e"` with `"o"` in `"Google Sheets"`, this would be `"3"` because `"Google Sheets"` ->
`"Googlo Shoots"`.
- Parameters:
occurrencesChanged
- occurrencesChanged or null
for none
-
getRowsChanged
public Integer getRowsChanged()
The number of rows changed.
- Returns:
- value or
null
for none
-
setRowsChanged
public FindReplaceResponse setRowsChanged(Integer rowsChanged)
The number of rows changed.
- Parameters:
rowsChanged
- rowsChanged or null
for none
-
getSheetsChanged
public Integer getSheetsChanged()
The number of sheets changed.
- Returns:
- value or
null
for none
-
setSheetsChanged
public FindReplaceResponse setSheetsChanged(Integer sheetsChanged)
The number of sheets changed.
- Parameters:
sheetsChanged
- sheetsChanged or null
for none
-
getValuesChanged
public Integer getValuesChanged()
The number of non-formula cells changed.
- Returns:
- value or
null
for none
-
setValuesChanged
public FindReplaceResponse setValuesChanged(Integer valuesChanged)
The number of non-formula cells changed.
- Parameters:
valuesChanged
- valuesChanged or null
for none
-
set
public FindReplaceResponse set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public FindReplaceResponse clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.