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| Constructor and Description |
|---|
FindReplaceRequest() |
| Modifier and Type | Method and Description |
|---|---|
FindReplaceRequest |
clone() |
java.lang.Boolean |
getAllSheets()
True to find/replace over all sheets.
|
java.lang.String |
getFind()
The value to search.
|
java.lang.Boolean |
getIncludeFormulas()
True if the search should include cells with formulas.
|
java.lang.Boolean |
getMatchCase()
True if the search is case sensitive.
|
java.lang.Boolean |
getMatchEntireCell()
True if the find value should match the entire cell.
|
GridRange |
getRange()
The range to find/replace over.
|
java.lang.String |
getReplacement()
The value to use as the replacement.
|
java.lang.Boolean |
getSearchByRegex()
True if the find value is a regex.
|
java.lang.Integer |
getSheetId()
The sheet to find/replace over.
|
FindReplaceRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
FindReplaceRequest |
setAllSheets(java.lang.Boolean allSheets)
True to find/replace over all sheets.
|
FindReplaceRequest |
setFind(java.lang.String find)
The value to search.
|
FindReplaceRequest |
setIncludeFormulas(java.lang.Boolean includeFormulas)
True if the search should include cells with formulas.
|
FindReplaceRequest |
setMatchCase(java.lang.Boolean matchCase)
True if the search is case sensitive.
|
FindReplaceRequest |
setMatchEntireCell(java.lang.Boolean matchEntireCell)
True if the find value should match the entire cell.
|
FindReplaceRequest |
setRange(GridRange range)
The range to find/replace over.
|
FindReplaceRequest |
setReplacement(java.lang.String replacement)
The value to use as the replacement.
|
FindReplaceRequest |
setSearchByRegex(java.lang.Boolean searchByRegex)
True if the find value is a regex.
|
FindReplaceRequest |
setSheetId(java.lang.Integer sheetId)
The sheet to find/replace over.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Boolean getAllSheets()
null for nonepublic FindReplaceRequest setAllSheets(java.lang.Boolean allSheets)
allSheets - allSheets or null for nonepublic java.lang.String getFind()
null for nonepublic FindReplaceRequest setFind(java.lang.String find)
find - find or null for nonepublic java.lang.Boolean getIncludeFormulas()
null for nonepublic FindReplaceRequest setIncludeFormulas(java.lang.Boolean includeFormulas)
includeFormulas - includeFormulas or null for nonepublic java.lang.Boolean getMatchCase()
null for nonepublic FindReplaceRequest setMatchCase(java.lang.Boolean matchCase)
matchCase - matchCase or null for nonepublic java.lang.Boolean getMatchEntireCell()
null for nonepublic FindReplaceRequest setMatchEntireCell(java.lang.Boolean matchEntireCell)
matchEntireCell - matchEntireCell or null for nonepublic GridRange getRange()
null for nonepublic FindReplaceRequest setRange(GridRange range)
range - range or null for nonepublic java.lang.String getReplacement()
null for nonepublic FindReplaceRequest setReplacement(java.lang.String replacement)
replacement - replacement or null for nonepublic java.lang.Boolean getSearchByRegex()
null for nonepublic FindReplaceRequest setSearchByRegex(java.lang.Boolean searchByRegex)
searchByRegex - searchByRegex or null for nonepublic java.lang.Integer getSheetId()
null for nonepublic FindReplaceRequest setSheetId(java.lang.Integer sheetId)
sheetId - sheetId or null for nonepublic FindReplaceRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic FindReplaceRequest clone()
clone in class com.google.api.client.json.GenericJson