public final class InstancesSetLabelsRequest 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 Compute Engine 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 | 
|---|
| InstancesSetLabelsRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| InstancesSetLabelsRequest | clone() | 
| byte[] | decodeLabelFingerprint()Fingerprint of the previous set of labels for this resource, used to prevent conflicts. | 
| InstancesSetLabelsRequest | encodeLabelFingerprint(byte[] labelFingerprint)Fingerprint of the previous set of labels for this resource, used to prevent conflicts. | 
| String | getLabelFingerprint()Fingerprint of the previous set of labels for this resource, used to prevent conflicts. | 
| Map<String,String> | getLabels() | 
| InstancesSetLabelsRequest | set(String fieldName,
   Object value) | 
| InstancesSetLabelsRequest | setLabelFingerprint(String labelFingerprint)Fingerprint of the previous set of labels for this resource, used to prevent conflicts. | 
| InstancesSetLabelsRequest | setLabels(Map<String,String> labels) | 
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 getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public InstancesSetLabelsRequest setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public InstancesSetLabelsRequest encodeLabelFingerprint(byte[] labelFingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public InstancesSetLabelsRequest setLabels(Map<String,String> labels)
labels - labels or null for nonepublic InstancesSetLabelsRequest set(String fieldName, Object value)
set in class GenericJsonpublic InstancesSetLabelsRequest clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.