Interface ResourceOrBuilder

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

public interface ResourceOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • 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).
       The behavior of software that receives duplicated keys can be unpredictable.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1 [json_name = "attributes"];
    • 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).
       The behavior of software that receives duplicated keys can be unpredictable.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1 [json_name = "attributes"];
    • 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).
       The behavior of software that receives duplicated keys can be unpredictable.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1 [json_name = "attributes"];
    • getDroppedAttributesCount

      int getDroppedAttributesCount()
       The number of dropped attributes. If the value is 0, then
       no attributes were dropped.
       
      uint32 dropped_attributes_count = 2 [json_name = "droppedAttributesCount"];
      Returns:
      The droppedAttributesCount.
    • getEntityRefsList

      List<EntityRef> getEntityRefsList()
       Set of entities that participate in this Resource.
      
       Note: keys in the references MUST exist in attributes of this message.
      
       Status: [Development]
       
      repeated .opentelemetry.proto.common.v1.EntityRef entity_refs = 3 [json_name = "entityRefs"];
    • getEntityRefs

      EntityRef getEntityRefs(int index)
       Set of entities that participate in this Resource.
      
       Note: keys in the references MUST exist in attributes of this message.
      
       Status: [Development]
       
      repeated .opentelemetry.proto.common.v1.EntityRef entity_refs = 3 [json_name = "entityRefs"];
    • getEntityRefsCount

      int getEntityRefsCount()
       Set of entities that participate in this Resource.
      
       Note: keys in the references MUST exist in attributes of this message.
      
       Status: [Development]
       
      repeated .opentelemetry.proto.common.v1.EntityRef entity_refs = 3 [json_name = "entityRefs"];