public final class GooglePrivacyDlpV2ByteContentItem 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 |
|---|
GooglePrivacyDlpV2ByteContentItem() |
| Modifier and Type | Method and Description |
|---|---|
GooglePrivacyDlpV2ByteContentItem |
clone() |
byte[] |
decodeData()
Content data to inspect or redact.
|
GooglePrivacyDlpV2ByteContentItem |
encodeData(byte[] data)
Content data to inspect or redact.
|
String |
getData()
Content data to inspect or redact.
|
String |
getType()
The type of data stored in the bytes string.
|
GooglePrivacyDlpV2ByteContentItem |
set(String fieldName,
Object value) |
GooglePrivacyDlpV2ByteContentItem |
setData(String data)
Content data to inspect or redact.
|
GooglePrivacyDlpV2ByteContentItem |
setType(String type)
The type of data stored in the bytes string.
|
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 String getData()
null for nonedecodeData()public byte[] decodeData()
null for nonegetData()public GooglePrivacyDlpV2ByteContentItem setData(String data)
data - data or null for none#encodeData()public GooglePrivacyDlpV2ByteContentItem encodeData(byte[] data)
The value is encoded Base64 or {@code null} for none.
public String getType()
null for nonepublic GooglePrivacyDlpV2ByteContentItem setType(String type)
type - type or null for nonepublic GooglePrivacyDlpV2ByteContentItem set(String fieldName, Object value)
set in class GenericJsonpublic GooglePrivacyDlpV2ByteContentItem clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.