public final class DecryptRequest
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 |
|---|
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.
|
java.lang.String |
getAdditionalAuthenticatedData()
Optional data that must match the data originally supplied in
EncryptRequest.additional_authenticated_data.
|
java.lang.String |
getCiphertext()
Required.
|
DecryptRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
DecryptRequest |
setAdditionalAuthenticatedData(java.lang.String additionalAuthenticatedData)
Optional data that must match the data originally supplied in
EncryptRequest.additional_authenticated_data.
|
DecryptRequest |
setCiphertext(java.lang.String ciphertext)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAdditionalAuthenticatedData()
null for nonedecodeAdditionalAuthenticatedData()public byte[] decodeAdditionalAuthenticatedData()
null for nonegetAdditionalAuthenticatedData()public DecryptRequest setAdditionalAuthenticatedData(java.lang.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 java.lang.String getCiphertext()
null for nonedecodeCiphertext()public byte[] decodeCiphertext()
null for nonegetCiphertext()public DecryptRequest setCiphertext(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DecryptRequest clone()
clone in class com.google.api.client.json.GenericJson