Interface Meta.LabelSelectorRequirementOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Meta.LabelSelectorRequirement, Meta.LabelSelectorRequirement.Builder
Enclosing class:
Meta

public static interface Meta.LabelSelectorRequirementOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    key is the label key that the selector applies to.
    com.google.protobuf.ByteString
    key is the label key that the selector applies to.
    operator represents a key's relationship to a set of values.
    com.google.protobuf.ByteString
    operator represents a key's relationship to a set of values.
    getValues(int index)
    values is an array of string values.
    com.google.protobuf.ByteString
    getValuesBytes(int index)
    values is an array of string values.
    int
    values is an array of string values.
    values is an array of string values.
    boolean
    key is the label key that the selector applies to.
    boolean
    operator represents a key's relationship to a set of values.

    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

    • hasKey

      boolean hasKey()
       key is the label key that the selector applies to.
       +patchMergeKey=key
       +patchStrategy=merge
       
      optional string key = 1;
    • getKey

      String getKey()
       key is the label key that the selector applies to.
       +patchMergeKey=key
       +patchStrategy=merge
       
      optional string key = 1;
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       key is the label key that the selector applies to.
       +patchMergeKey=key
       +patchStrategy=merge
       
      optional string key = 1;
    • hasOperator

      boolean hasOperator()
       operator represents a key's relationship to a set of values.
       Valid operators are In, NotIn, Exists and DoesNotExist.
       
      optional string operator = 2;
    • getOperator

      String getOperator()
       operator represents a key's relationship to a set of values.
       Valid operators are In, NotIn, Exists and DoesNotExist.
       
      optional string operator = 2;
    • getOperatorBytes

      com.google.protobuf.ByteString getOperatorBytes()
       operator represents a key's relationship to a set of values.
       Valid operators are In, NotIn, Exists and DoesNotExist.
       
      optional string operator = 2;
    • getValuesList

      List<String> getValuesList()
       values is an array of string values. If the operator is In or NotIn,
       the values array must be non-empty. If the operator is Exists or DoesNotExist,
       the values array must be empty. This array is replaced during a strategic
       merge patch.
       +optional
       
      repeated string values = 3;
    • getValuesCount

      int getValuesCount()
       values is an array of string values. If the operator is In or NotIn,
       the values array must be non-empty. If the operator is Exists or DoesNotExist,
       the values array must be empty. This array is replaced during a strategic
       merge patch.
       +optional
       
      repeated string values = 3;
    • getValues

      String getValues(int index)
       values is an array of string values. If the operator is In or NotIn,
       the values array must be non-empty. If the operator is Exists or DoesNotExist,
       the values array must be empty. This array is replaced during a strategic
       merge patch.
       +optional
       
      repeated string values = 3;
    • getValuesBytes

      com.google.protobuf.ByteString getValuesBytes(int index)
       values is an array of string values. If the operator is In or NotIn,
       the values array must be non-empty. If the operator is Exists or DoesNotExist,
       the values array must be empty. This array is replaced during a strategic
       merge patch.
       +optional
       
      repeated string values = 3;