public final class GooglePrivacyDlpV2RedactImageResponse extends 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 Cloud Data Loss Prevention (DLP) API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GooglePrivacyDlpV2RedactImageResponse() |
| Modifier and Type | Method and Description |
|---|---|
GooglePrivacyDlpV2RedactImageResponse |
clone() |
byte[] |
decodeRedactedImage()
The redacted image.
|
GooglePrivacyDlpV2RedactImageResponse |
encodeRedactedImage(byte[] redactedImage)
The redacted image.
|
String |
getExtractedText()
If an image was being inspected and the InspectConfig's include_quote was set to true, then
this field will include all text, if any, that was found in the image.
|
GooglePrivacyDlpV2InspectResult |
getInspectResult()
The findings.
|
String |
getRedactedImage()
The redacted image.
|
GooglePrivacyDlpV2RedactImageResponse |
set(String fieldName,
Object value) |
GooglePrivacyDlpV2RedactImageResponse |
setExtractedText(String extractedText)
If an image was being inspected and the InspectConfig's include_quote was set to true, then
this field will include all text, if any, that was found in the image.
|
GooglePrivacyDlpV2RedactImageResponse |
setInspectResult(GooglePrivacyDlpV2InspectResult inspectResult)
The findings.
|
GooglePrivacyDlpV2RedactImageResponse |
setRedactedImage(String redactedImage)
The redacted image.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GooglePrivacyDlpV2RedactImageResponse()
public String getExtractedText()
null for nonepublic GooglePrivacyDlpV2RedactImageResponse setExtractedText(String extractedText)
extractedText - extractedText or null for nonepublic GooglePrivacyDlpV2InspectResult getInspectResult()
null for nonepublic GooglePrivacyDlpV2RedactImageResponse setInspectResult(GooglePrivacyDlpV2InspectResult inspectResult)
inspectResult - inspectResult or null for nonepublic String getRedactedImage()
null for nonedecodeRedactedImage()public byte[] decodeRedactedImage()
null for nonegetRedactedImage()public GooglePrivacyDlpV2RedactImageResponse setRedactedImage(String redactedImage)
redactedImage - redactedImage or null for none#encodeRedactedImage()public GooglePrivacyDlpV2RedactImageResponse encodeRedactedImage(byte[] redactedImage)
The value is encoded Base64 or {@code null} for none.
public GooglePrivacyDlpV2RedactImageResponse set(String fieldName, Object value)
set in class GenericJsonpublic GooglePrivacyDlpV2RedactImageResponse clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.