public final class FindReplaceRequest
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 |
---|
FindReplaceRequest() |
Modifier and Type | Method and Description |
---|---|
FindReplaceRequest |
clone() |
Boolean |
getAllSheets()
True to find/replace over all sheets.
|
String |
getFind()
The value to search.
|
Boolean |
getIncludeFormulas()
True if the search should include cells with formulas.
|
Boolean |
getMatchCase()
True if the search is case sensitive.
|
Boolean |
getMatchEntireCell()
True if the find value should match the entire cell.
|
GridRange |
getRange()
The range to find/replace over.
|
String |
getReplacement()
The value to use as the replacement.
|
Boolean |
getSearchByRegex()
True if the find value is a regex.
|
Integer |
getSheetId()
The sheet to find/replace over.
|
FindReplaceRequest |
set(String fieldName,
Object value) |
FindReplaceRequest |
setAllSheets(Boolean allSheets)
True to find/replace over all sheets.
|
FindReplaceRequest |
setFind(String find)
The value to search.
|
FindReplaceRequest |
setIncludeFormulas(Boolean includeFormulas)
True if the search should include cells with formulas.
|
FindReplaceRequest |
setMatchCase(Boolean matchCase)
True if the search is case sensitive.
|
FindReplaceRequest |
setMatchEntireCell(Boolean matchEntireCell)
True if the find value should match the entire cell.
|
FindReplaceRequest |
setRange(GridRange range)
The range to find/replace over.
|
FindReplaceRequest |
setReplacement(String replacement)
The value to use as the replacement.
|
FindReplaceRequest |
setSearchByRegex(Boolean searchByRegex)
True if the find value is a regex.
|
FindReplaceRequest |
setSheetId(Integer sheetId)
The sheet to find/replace over.
|
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 Boolean getAllSheets()
null
for nonepublic FindReplaceRequest setAllSheets(Boolean allSheets)
allSheets
- allSheets or null
for nonepublic String getFind()
null
for nonepublic FindReplaceRequest setFind(String find)
find
- find or null
for nonepublic Boolean getIncludeFormulas()
null
for nonepublic FindReplaceRequest setIncludeFormulas(Boolean includeFormulas)
includeFormulas
- includeFormulas or null
for nonepublic Boolean getMatchCase()
null
for nonepublic FindReplaceRequest setMatchCase(Boolean matchCase)
matchCase
- matchCase or null
for nonepublic Boolean getMatchEntireCell()
null
for nonepublic FindReplaceRequest setMatchEntireCell(Boolean matchEntireCell)
matchEntireCell
- matchEntireCell or null
for nonepublic GridRange getRange()
null
for nonepublic FindReplaceRequest setRange(GridRange range)
range
- range or null
for nonepublic String getReplacement()
null
for nonepublic FindReplaceRequest setReplacement(String replacement)
replacement
- replacement or null
for nonepublic Boolean getSearchByRegex()
null
for nonepublic FindReplaceRequest setSearchByRegex(Boolean searchByRegex)
searchByRegex
- searchByRegex or null
for nonepublic Integer getSheetId()
null
for nonepublic FindReplaceRequest setSheetId(Integer sheetId)
sheetId
- sheetId or null
for nonepublic FindReplaceRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public FindReplaceRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.