Interface ResourceLabelsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ResourceLabels, ResourceLabels.Builder

@Generated public interface ResourceLabelsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Map of node label keys and node label values.
    Deprecated.
    int
    Map of node label keys and node label values.
    Map of node label keys and node label values.
    getLabelsOrDefault(String key, String defaultValue)
    Map of node label keys and node label values.
    Map of node label keys and node label 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

    • getLabelsCount

      int getLabelsCount()
       Map of node label keys and node label values.
       
      map<string, string> labels = 1;
    • containsLabels

      boolean containsLabels(String key)
       Map of node label keys and node label values.
       
      map<string, string> labels = 1;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Map of node label keys and node label values.
       
      map<string, string> labels = 1;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Map of node label keys and node label values.
       
      map<string, string> labels = 1;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Map of node label keys and node label values.
       
      map<string, string> labels = 1;