public final class Challenge
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 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Challenge() |
| Modifier and Type | Method and Description |
|---|---|
Challenge |
clone() |
byte[] |
decodeChallenge()
Output only.
|
Challenge |
encodeChallenge(byte[] challenge)
Output only.
|
String |
getChallenge()
Output only.
|
String |
getPublicKeyPem()
Output only.
|
Challenge |
set(String fieldName,
Object value) |
Challenge |
setChallenge(String challenge)
Output only.
|
Challenge |
setPublicKeyPem(String publicKeyPem)
Output only.
|
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 getChallenge()
null for nonedecodeChallenge()public byte[] decodeChallenge()
null for nonegetChallenge()public Challenge setChallenge(String challenge)
challenge - challenge or null for none#encodeChallenge()public Challenge encodeChallenge(byte[] challenge)
The value is encoded Base64 or {@code null} for none.
public String getPublicKeyPem()
null for nonepublic Challenge setPublicKeyPem(String publicKeyPem)
publicKeyPem - publicKeyPem or null for nonepublic Challenge set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Challenge clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.