Package io.kubernetes.client.proto
Interface Meta.LabelSelectorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Meta.LabelSelector
,Meta.LabelSelector.Builder
- Enclosing class:
- Meta
public static interface Meta.LabelSelectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matchLabels is a map of {key,value} pairs.getMatchExpressions
(int index) matchExpressions is a list of label selector requirements.int
matchExpressions is a list of label selector requirements.matchExpressions is a list of label selector requirements.getMatchExpressionsOrBuilder
(int index) matchExpressions is a list of label selector requirements.List<? extends Meta.LabelSelectorRequirementOrBuilder>
matchExpressions is a list of label selector requirements.Deprecated.int
matchLabels is a map of {key,value} pairs.matchLabels is a map of {key,value} pairs.getMatchLabelsOrDefault
(String key, String defaultValue) matchLabels is a map of {key,value} pairs.matchLabels is a map of {key,value} pairs.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMatchLabelsCount
int getMatchLabelsCount()matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. +optional
map<string, string> matchLabels = 1;
-
containsMatchLabels
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. +optional
map<string, string> matchLabels = 1;
-
getMatchLabels
Deprecated.UsegetMatchLabelsMap()
instead. -
getMatchLabelsMap
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. +optional
map<string, string> matchLabels = 1;
-
getMatchLabelsOrDefault
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. +optional
map<string, string> matchLabels = 1;
-
getMatchLabelsOrThrow
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. +optional
map<string, string> matchLabels = 1;
-
getMatchExpressionsList
List<Meta.LabelSelectorRequirement> getMatchExpressionsList()matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-
getMatchExpressions
matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-
getMatchExpressionsCount
int getMatchExpressionsCount()matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-
getMatchExpressionsOrBuilderList
List<? extends Meta.LabelSelectorRequirementOrBuilder> getMatchExpressionsOrBuilderList()matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-
getMatchExpressionsOrBuilder
matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-