Package com.google.container.v1
Interface ResourceLabelsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceLabels,ResourceLabels.Builder
public interface ResourceLabelsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Map of node label keys and node label values.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Map of node label keys and node label values.Map<String,String>getLabelsMap()Map of node label keys and node label values.StringgetLabelsOrDefault(String key, String defaultValue)Map of node label keys and node label values.StringgetLabelsOrThrow(String key)Map of node label keys and node label values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLabelsCount
int getLabelsCount()
Map of node label keys and node label values.
map<string, string> labels = 1;
-
containsLabels
boolean containsLabels(String key)
Map of node label keys and node label values.
map<string, string> labels = 1;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Map of node label keys and node label values.
map<string, string> labels = 1;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Map of node label keys and node label values.
map<string, string> labels = 1;
-
-