public final class DecryptResponse
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 Cloud Key Management Service (KMS) 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 |
|---|
DecryptResponse() |
| Modifier and Type | Method and Description |
|---|---|
DecryptResponse |
clone() |
byte[] |
decodePlaintext()
The decrypted data originally supplied in EncryptRequest.plaintext.
|
DecryptResponse |
encodePlaintext(byte[] plaintext)
The decrypted data originally supplied in EncryptRequest.plaintext.
|
java.lang.String |
getPlaintext()
The decrypted data originally supplied in EncryptRequest.plaintext.
|
DecryptResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
DecryptResponse |
setPlaintext(java.lang.String plaintext)
The decrypted data originally supplied in EncryptRequest.plaintext.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getPlaintext()
null for nonedecodePlaintext()public byte[] decodePlaintext()
null for nonegetPlaintext()public DecryptResponse setPlaintext(java.lang.String plaintext)
plaintext - plaintext or null for none#encodePlaintext()public DecryptResponse encodePlaintext(byte[] plaintext)
The value is encoded Base64 or {@code null} for none.
public DecryptResponse set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DecryptResponse clone()
clone in class com.google.api.client.json.GenericJson