public interface InstancesSetLabelsRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)map<string, string> labels = 500195327;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getLabelFingerprint()
public abstract String getLabelFingerprint()Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.
optional string label_fingerprint = 178124825;
| Type | Description |
| String | The labelFingerprint. |
getLabelFingerprintBytes()
public abstract ByteString getLabelFingerprintBytes()Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.
optional string label_fingerprint = 178124825;
| Type | Description |
| ByteString | The bytes for labelFingerprint. |
getLabels()
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Type | Description |
| Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()map<string, string> labels = 500195327;
| Type | Description |
| int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()map<string, string> labels = 500195327;
| Type | Description |
| Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)map<string, string> labels = 500195327;
| Name | Description |
| key | String |
| defaultValue | String |
| Type | Description |
| String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)map<string, string> labels = 500195327;
| Name | Description |
| key | String |
| Type | Description |
| String |
hasLabelFingerprint()
public abstract boolean hasLabelFingerprint()Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.
optional string label_fingerprint = 178124825;
| Type | Description |
| boolean | Whether the labelFingerprint field is set. |