Package com.google.container.v1
Interface NodeLabelsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodeLabels
,NodeLabels.Builder
public interface NodeLabelsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Map of node label keys and node label values.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Map of node label keys and node label values.Map<String,String>
getLabelsMap()
Map of node label keys and node label values.String
getLabelsOrDefault(String key, String defaultValue)
Map of node label keys and node label values.String
getLabelsOrThrow(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;
-
-