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 attributes that describe the resource.
         Attribute keys MUST be unique (it is not allowed to have more than one
         attribute with the same key).
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getAttributes

        KeyValue getAttributes​(int index)
         Set of attributes that describe the resource.
         Attribute keys MUST be unique (it is not allowed to have more than one
         attribute with the same key).
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getAttributesCount

        int getAttributesCount()
         Set of attributes that describe the resource.
         Attribute keys MUST be unique (it is not allowed to have more than one
         attribute with the same key).
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getAttributesOrBuilderList

        List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()
         Set of attributes that describe the resource.
         Attribute keys MUST be unique (it is not allowed to have more than one
         attribute with the same key).
         
        repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
      • getAttributesOrBuilder

        KeyValueOrBuilder getAttributesOrBuilder​(int index)
         Set of attributes that describe the resource.
         Attribute keys MUST be unique (it is not allowed to have more than one
         attribute with the same key).
         
        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;
        Returns:
        The droppedAttributesCount.