Package com.google.cloud.compute.v1
Interface InstancesSetLabelsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstancesSetLabelsRequest,InstancesSetLabelsRequest.Builder
public interface InstancesSetLabelsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)map<string, string> labels = 500195327;StringgetLabelFingerprint()Fingerprint of the previous set of labels for this resource, used to prevent conflicts.com.google.protobuf.ByteStringgetLabelFingerprintBytes()Fingerprint of the previous set of labels for this resource, used to prevent conflicts.Map<String,String>getLabels()Deprecated.intgetLabelsCount()map<string, string> labels = 500195327;Map<String,String>getLabelsMap()map<string, string> labels = 500195327;StringgetLabelsOrDefault(String key, String defaultValue)map<string, string> labels = 500195327;StringgetLabelsOrThrow(String key)map<string, string> labels = 500195327;booleanhasLabelFingerprint()Fingerprint of the previous set of labels for this resource, used to prevent conflicts.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLabelFingerprint
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;- Returns:
- Whether the labelFingerprint field is set.
-
getLabelFingerprint
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;- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
com.google.protobuf.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;- Returns:
- The bytes for labelFingerprint.
-
getLabelsCount
int getLabelsCount()
map<string, string> labels = 500195327;
-
containsLabels
boolean containsLabels(String key)
map<string, string> labels = 500195327;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
map<string, string> labels = 500195327;
-
-