Interface OSPolicyAssignment.LabelSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OSPolicyAssignment.LabelSet,OSPolicyAssignment.LabelSet.Builder
- Enclosing class:
- OSPolicyAssignment
public static interface OSPolicyAssignment.LabelSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels are identified by key/value pairs in this map.Deprecated.intLabels are identified by key/value pairs in this map.Labels are identified by key/value pairs in this map.getLabelsOrDefault(String key, String defaultValue) Labels are identified by key/value pairs in this map.getLabelsOrThrow(String key) Labels are identified by key/value pairs in this map.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
-
getLabelsCount
int getLabelsCount()Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
map<string, string> labels = 1; -
containsLabels
Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
map<string, string> labels = 1; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
map<string, string> labels = 1; -
getLabelsOrDefault
Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
map<string, string> labels = 1; -
getLabelsOrThrow
Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
map<string, string> labels = 1;
-