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 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

      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.
       +optional
       
      map<string, string> matchLabels = 1;
    • getMatchLabels

      @Deprecated Map<String,String> getMatchLabels()
      Deprecated.
      Use getMatchLabelsMap() 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.
       +optional
       
      map<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.
       +optional
       
      map<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.
       +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

      Meta.LabelSelectorRequirement getMatchExpressions(int index)
       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

      Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder(int index)
       matchExpressions is a list of label selector requirements. The requirements are ANDed.
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;