public interface LabelSelectorOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsLabels(String key)
Resource labels for this selector.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Resource labels for this selector.
|
Map<String,String> |
getLabelsMap()
Resource labels for this selector.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Resource labels for this selector.
|
String |
getLabelsOrThrow(String key)
Resource labels for this selector.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getLabelsCount()
Resource labels for this selector.
map<string, string> labels = 1;
boolean containsLabels(String key)
Resource labels for this selector.
map<string, string> labels = 1;
@Deprecated Map<String,String> getLabels()
getLabelsMap()
instead.Map<String,String> getLabelsMap()
Resource labels for this selector.
map<string, string> labels = 1;
String getLabelsOrDefault(String key, String defaultValue)
Resource labels for this selector.
map<string, string> labels = 1;
Copyright © 2020 Google LLC. All rights reserved.