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 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.
         +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;
      • 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<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;