Interface ResourceOrBuilder

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

    public interface ResourceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getType

        String getType()
         Type identifier for the resource.
         
        string type = 1;
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         Type identifier for the resource.
         
        string type = 1;
        Returns:
        The bytes for type.
      • getLabelsCount

        int getLabelsCount()
         Set of labels that describe the resource.
         
        map<string, string> labels = 2;
      • containsLabels

        boolean containsLabels​(String key)
         Set of labels that describe the resource.
         
        map<string, string> labels = 2;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Set of labels that describe the resource.
         
        map<string, string> labels = 2;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Set of labels that describe the resource.
         
        map<string, string> labels = 2;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Set of labels that describe the resource.
         
        map<string, string> labels = 2;