public final class DecryptRequest 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 Key Management Service (KMS) 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 |
|---|
DecryptRequest() |
| Modifier and Type | Method and Description |
|---|---|
DecryptRequest |
clone() |
byte[] |
decodeAdditionalAuthenticatedData()
Optional data that must match the data originally supplied in
EncryptRequest.additional_authenticated_data.
|
byte[] |
decodeCiphertext()
Required.
|
DecryptRequest |
encodeAdditionalAuthenticatedData(byte[] additionalAuthenticatedData)
Optional data that must match the data originally supplied in
EncryptRequest.additional_authenticated_data.
|
DecryptRequest |
encodeCiphertext(byte[] ciphertext)
Required.
|
String |
getAdditionalAuthenticatedData()
Optional data that must match the data originally supplied in
EncryptRequest.additional_authenticated_data.
|
String |
getCiphertext()
Required.
|
DecryptRequest |
set(String fieldName,
Object value) |
DecryptRequest |
setAdditionalAuthenticatedData(String additionalAuthenticatedData)
Optional data that must match the data originally supplied in
EncryptRequest.additional_authenticated_data.
|
DecryptRequest |
setCiphertext(String ciphertext)
Required.
|
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 getAdditionalAuthenticatedData()
null for nonedecodeAdditionalAuthenticatedData()public byte[] decodeAdditionalAuthenticatedData()
null for nonegetAdditionalAuthenticatedData()public DecryptRequest setAdditionalAuthenticatedData(String additionalAuthenticatedData)
additionalAuthenticatedData - additionalAuthenticatedData or null for none#encodeAdditionalAuthenticatedData()public DecryptRequest encodeAdditionalAuthenticatedData(byte[] additionalAuthenticatedData)
The value is encoded Base64 or {@code null} for none.
public String getCiphertext()
null for nonedecodeCiphertext()public byte[] decodeCiphertext()
null for nonegetCiphertext()public DecryptRequest setCiphertext(String ciphertext)
ciphertext - ciphertext or null for none#encodeCiphertext()public DecryptRequest encodeCiphertext(byte[] ciphertext)
The value is encoded Base64 or {@code null} for none.
public DecryptRequest set(String fieldName, Object value)
set in class GenericJsonpublic DecryptRequest clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.