public final class PartnerMetadata
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 Compute Engine 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 |
|---|
PartnerMetadata() |
| Modifier and Type | Method and Description |
|---|---|
PartnerMetadata |
clone() |
byte[] |
decodeFingerprint()
Instance-level hash to be used for optimistic locking.
|
PartnerMetadata |
encodeFingerprint(byte[] fingerprint)
Instance-level hash to be used for optimistic locking.
|
String |
getFingerprint()
Instance-level hash to be used for optimistic locking.
|
Map<String,StructuredEntries> |
getPartnerMetadata()
Partner Metadata assigned to the instance.
|
PartnerMetadata |
set(String fieldName,
Object value) |
PartnerMetadata |
setFingerprint(String fingerprint)
Instance-level hash to be used for optimistic locking.
|
PartnerMetadata |
setPartnerMetadata(Map<String,StructuredEntries> partnerMetadata)
Partner Metadata assigned to the instance.
|
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 getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public PartnerMetadata setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public PartnerMetadata encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public Map<String,StructuredEntries> getPartnerMetadata()
null for nonepublic PartnerMetadata setPartnerMetadata(Map<String,StructuredEntries> partnerMetadata)
partnerMetadata - partnerMetadata or null for nonepublic PartnerMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PartnerMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.