public interface GlobalSetLabelsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
A list of labels to apply for this resource.
|
String |
getLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
com.google.protobuf.ByteString |
getLabelFingerprintBytes()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
A list of labels to apply for this resource.
|
Map<String,String> |
getLabelsMap()
A list of labels to apply for this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
A list of labels to apply for this resource.
|
String |
getLabelsOrThrow(String key)
A list of labels to apply for this resource.
|
boolean |
hasLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;String getLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;com.google.protobuf.ByteString getLabelFingerprintBytes()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;int getLabelsCount()
A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
map<string, string> labels = 500195327;boolean containsLabels(String key)
A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
map<string, string> labels = 500195327;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
map<string, string> labels = 500195327;String getLabelsOrDefault(String key, String defaultValue)
A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
map<string, string> labels = 500195327;Copyright © 2023 Google LLC. All rights reserved.