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

      • getAttributesList

        List<KeyValue> getAttributesList()
         Set of labels that describe the resource.
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getAttributes

        KeyValue getAttributes​(int index)
         Set of labels that describe the resource.
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getAttributesCount

        int getAttributesCount()
         Set of labels that describe the resource.
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getAttributesOrBuilderList

        List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()
         Set of labels that describe the resource.
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getAttributesOrBuilder

        KeyValueOrBuilder getAttributesOrBuilder​(int index)
         Set of labels that describe the resource.
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getDroppedAttributesCount

        int getDroppedAttributesCount()
         dropped_attributes_count is the number of dropped attributes. If the value is 0, then
         no attributes were dropped.
         
        uint32 dropped_attributes_count = 2;