public final class ZoneSetLabelsRequest
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.Flags
Constructor and Description |
---|
ZoneSetLabelsRequest() |
Modifier and Type | Method and Description |
---|---|
ZoneSetLabelsRequest |
clone() |
byte[] |
decodeLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
ZoneSetLabelsRequest |
encodeLabelFingerprint(byte[] labelFingerprint)
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
java.lang.String |
getLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
The labels to set for this resource.
|
ZoneSetLabelsRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
ZoneSetLabelsRequest |
setLabelFingerprint(java.lang.String labelFingerprint)
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
ZoneSetLabelsRequest |
setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
The labels to set for this resource.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getLabelFingerprint()
null
for nonedecodeLabelFingerprint()
public byte[] decodeLabelFingerprint()
null
for nonegetLabelFingerprint()
public ZoneSetLabelsRequest setLabelFingerprint(java.lang.String labelFingerprint)
labelFingerprint
- labelFingerprint or null
for none#encodeLabelFingerprint()
public ZoneSetLabelsRequest encodeLabelFingerprint(byte[] labelFingerprint)
The value is encoded Base64 or {@code null} for none.
public java.util.Map<java.lang.String,java.lang.String> getLabels()
null
for nonepublic ZoneSetLabelsRequest setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels
- labels or null
for nonepublic ZoneSetLabelsRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ZoneSetLabelsRequest clone()
clone
in class com.google.api.client.json.GenericJson