Interface Generated.LabelSelectorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.LabelSelector,Generated.LabelSelector.Builder
- Enclosing class:
- Generated
public static interface Generated.LabelSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMatchLabels(String key)matchLabels is a map of {key,value} pairs.Generated.LabelSelectorRequirementgetMatchExpressions(int index)matchExpressions is a list of label selector requirements.intgetMatchExpressionsCount()matchExpressions is a list of label selector requirements.List<Generated.LabelSelectorRequirement>getMatchExpressionsList()matchExpressions is a list of label selector requirements.Generated.LabelSelectorRequirementOrBuildergetMatchExpressionsOrBuilder(int index)matchExpressions is a list of label selector requirements.List<? extends Generated.LabelSelectorRequirementOrBuilder>getMatchExpressionsOrBuilderList()matchExpressions is a list of label selector requirements.Map<String,String>getMatchLabels()Deprecated.intgetMatchLabelsCount()matchLabels is a map of {key,value} pairs.Map<String,String>getMatchLabelsMap()matchLabels is a map of {key,value} pairs.StringgetMatchLabelsOrDefault(String key, String defaultValue)matchLabels is a map of {key,value} pairs.StringgetMatchLabelsOrThrow(String key)matchLabels is a map of {key,value} pairs.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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. +optionalmap<string, string> matchLabels = 1;
-
containsMatchLabels
boolean containsMatchLabels(String key)
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. +optionalmap<string, string> matchLabels = 1;
-
getMatchLabels
@Deprecated Map<String,String> getMatchLabels()
Deprecated.UsegetMatchLabelsMap()instead.
-
getMatchLabelsMap
Map<String,String> 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. +optionalmap<string, string> matchLabels = 1;
-
getMatchLabelsOrDefault
String getMatchLabelsOrDefault(String key, String defaultValue)
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. +optionalmap<string, string> matchLabels = 1;
-
getMatchLabelsOrThrow
String getMatchLabelsOrThrow(String key)
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. +optionalmap<string, string> matchLabels = 1;
-
getMatchExpressionsList
List<Generated.LabelSelectorRequirement> getMatchExpressionsList()
matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-
getMatchExpressions
Generated.LabelSelectorRequirement getMatchExpressions(int index)
matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional +listType=atomic
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 +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-
getMatchExpressionsOrBuilderList
List<? extends Generated.LabelSelectorRequirementOrBuilder> getMatchExpressionsOrBuilderList()
matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-
getMatchExpressionsOrBuilder
Generated.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder(int index)
matchExpressions is a list of label selector requirements. The requirements are ANDed. +optional +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
-
-