public final class AsymmetricSignRequest 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 |
|---|
AsymmetricSignRequest() |
| Modifier and Type | Method and Description |
|---|---|
AsymmetricSignRequest |
clone() |
byte[] |
decodeData()
Optional.
|
AsymmetricSignRequest |
encodeData(byte[] data)
Optional.
|
String |
getData()
Optional.
|
Long |
getDataCrc32c()
Optional.
|
Digest |
getDigest()
Optional.
|
Long |
getDigestCrc32c()
Optional.
|
AsymmetricSignRequest |
set(String fieldName,
Object value) |
AsymmetricSignRequest |
setData(String data)
Optional.
|
AsymmetricSignRequest |
setDataCrc32c(Long dataCrc32c)
Optional.
|
AsymmetricSignRequest |
setDigest(Digest digest)
Optional.
|
AsymmetricSignRequest |
setDigestCrc32c(Long digestCrc32c)
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 getData()
null for nonedecodeData()public byte[] decodeData()
null for nonegetData()public AsymmetricSignRequest setData(String data)
data - data or null for none#encodeData()public AsymmetricSignRequest encodeData(byte[] data)
The value is encoded Base64 or {@code null} for none.
public Long getDataCrc32c()
null for nonepublic AsymmetricSignRequest setDataCrc32c(Long dataCrc32c)
dataCrc32c - dataCrc32c or null for nonepublic Digest getDigest()
null for nonepublic AsymmetricSignRequest setDigest(Digest digest)
digest - digest or null for nonepublic Long getDigestCrc32c()
null for nonepublic AsymmetricSignRequest setDigestCrc32c(Long digestCrc32c)
digestCrc32c - digestCrc32c or null for nonepublic AsymmetricSignRequest set(String fieldName, Object value)
set in class GenericJsonpublic AsymmetricSignRequest clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.