public final class AsymmetricDecryptRequest 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 |
|---|
AsymmetricDecryptRequest() |
| Modifier and Type | Method and Description |
|---|---|
AsymmetricDecryptRequest |
clone() |
byte[] |
decodeCiphertext()
Required.
|
AsymmetricDecryptRequest |
encodeCiphertext(byte[] ciphertext)
Required.
|
String |
getCiphertext()
Required.
|
Long |
getCiphertextCrc32c()
Optional.
|
AsymmetricDecryptRequest |
set(String fieldName,
Object value) |
AsymmetricDecryptRequest |
setCiphertext(String ciphertext)
Required.
|
AsymmetricDecryptRequest |
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 getCiphertext()
null for nonedecodeCiphertext()public byte[] decodeCiphertext()
null for nonegetCiphertext()public AsymmetricDecryptRequest setCiphertext(String ciphertext)
ciphertext - ciphertext or null for none#encodeCiphertext()public AsymmetricDecryptRequest encodeCiphertext(byte[] ciphertext)
The value is encoded Base64 or {@code null} for none.
public Long getCiphertextCrc32c()
null for nonepublic AsymmetricDecryptRequest setCiphertextCrc32c(Long ciphertextCrc32c)
ciphertextCrc32c - ciphertextCrc32c or null for nonepublic AsymmetricDecryptRequest set(String fieldName, Object value)
set in class GenericJsonpublic AsymmetricDecryptRequest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.