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
@Generated
public interface InstancesSetLabelsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) map<string, string> labels = 500195327;Fingerprint of the previous set of labels for this resource, used to prevent conflicts.com.google.protobuf.ByteStringFingerprint of the previous set of labels for this resource, used to prevent conflicts.Deprecated.intmap<string, string> labels = 500195327;map<string, string> labels = 500195327;getLabelsOrDefault(String key, String defaultValue) map<string, string> labels = 500195327;getLabelsOrThrow(String key) map<string, string> labels = 500195327;booleanFingerprint of the previous set of labels for this resource, used to prevent conflicts.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
map<string, string> labels = 500195327; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
map<string, string> labels = 500195327; -
getLabelsOrDefault
map<string, string> labels = 500195327; -
getLabelsOrThrow
map<string, string> labels = 500195327;
-