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.
|
byte[] |
decodeCiphertext()
Required.
|
DecryptRequest |
encodeAdditionalAuthenticatedData(byte[] additionalAuthenticatedData)
Optional.
|
DecryptRequest |
encodeCiphertext(byte[] ciphertext)
Required.
|
String |
getAdditionalAuthenticatedData()
Optional.
|
Long |
getAdditionalAuthenticatedDataCrc32c()
Optional.
|
String |
getCiphertext()
Required.
|
Long |
getCiphertextCrc32c()
Optional.
|
DecryptRequest |
set(String fieldName,
Object value) |
DecryptRequest |
setAdditionalAuthenticatedData(String additionalAuthenticatedData)
Optional.
|
DecryptRequest |
setAdditionalAuthenticatedDataCrc32c(Long additionalAuthenticatedDataCrc32c)
Optional.
|
DecryptRequest |
setCiphertext(String ciphertext)
Required.
|
DecryptRequest |
setCiphertextCrc32c(Long ciphertextCrc32c)
Optional.
|
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 Long getAdditionalAuthenticatedDataCrc32c()
null for nonepublic DecryptRequest setAdditionalAuthenticatedDataCrc32c(Long additionalAuthenticatedDataCrc32c)
additionalAuthenticatedDataCrc32c - additionalAuthenticatedDataCrc32c or null for nonepublic 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 Long getCiphertextCrc32c()
null for nonepublic DecryptRequest setCiphertextCrc32c(Long ciphertextCrc32c)
ciphertextCrc32c - ciphertextCrc32c or null for nonepublic DecryptRequest set(String fieldName, Object value)
set in class GenericJsonpublic DecryptRequest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.