Interface Fleet.LabelSelectorOrBuilder

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

public static interface Fleet.LabelSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional. match_labels is a map of {key,value} pairs.
    Deprecated.
    int
    Optional. match_labels is a map of {key,value} pairs.
    Optional. match_labels is a map of {key,value} pairs.
    Optional. match_labels is a map of {key,value} pairs.
    Optional. match_labels 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()
       Optional. match_labels is a map of {key,value} pairs. Each {key,value}
       pair must match an existing label key and value exactly in order to
       satisfy the match.
       
      map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • containsMatchLabels

      boolean containsMatchLabels(String key)
       Optional. match_labels is a map of {key,value} pairs. Each {key,value}
       pair must match an existing label key and value exactly in order to
       satisfy the match.
       
      map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getMatchLabels

      @Deprecated Map<String,String> getMatchLabels()
      Deprecated.
      Use getMatchLabelsMap() instead.
    • getMatchLabelsMap

      Map<String,String> getMatchLabelsMap()
       Optional. match_labels is a map of {key,value} pairs. Each {key,value}
       pair must match an existing label key and value exactly in order to
       satisfy the match.
       
      map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getMatchLabelsOrDefault

      String getMatchLabelsOrDefault(String key, String defaultValue)
       Optional. match_labels is a map of {key,value} pairs. Each {key,value}
       pair must match an existing label key and value exactly in order to
       satisfy the match.
       
      map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getMatchLabelsOrThrow

      String getMatchLabelsOrThrow(String key)
       Optional. match_labels is a map of {key,value} pairs. Each {key,value}
       pair must match an existing label key and value exactly in order to
       satisfy the match.
       
      map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];