Interface Span.LinkOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Span.Link, Span.Link.Builder
    Enclosing class:
    Span

    public static interface Span.LinkOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      KeyValue getAttributes​(int index)
      attributes is a collection of attribute key/value pairs on the link.
      int getAttributesCount()
      attributes is a collection of attribute key/value pairs on the link.
      List<KeyValue> getAttributesList()
      attributes is a collection of attribute key/value pairs on the link.
      KeyValueOrBuilder getAttributesOrBuilder​(int index)
      attributes is a collection of attribute key/value pairs on the link.
      List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()
      attributes is a collection of attribute key/value pairs on the link.
      int getDroppedAttributesCount()
      dropped_attributes_count is the number of dropped attributes.
      com.google.protobuf.ByteString getSpanId()
      A unique identifier for the linked span.
      com.google.protobuf.ByteString getTraceId()
      A unique identifier of a trace that this linked span is part of.
      String getTraceState()
      The trace_state associated with the link.
      com.google.protobuf.ByteString getTraceStateBytes()
      The trace_state associated with the link.
      • 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 Detail

      • getTraceId

        com.google.protobuf.ByteString getTraceId()
         A unique identifier of a trace that this linked span is part of. The ID is a
         16-byte array.
         
        bytes trace_id = 1;
        Returns:
        The traceId.
      • getSpanId

        com.google.protobuf.ByteString getSpanId()
         A unique identifier for the linked span. The ID is an 8-byte array.
         
        bytes span_id = 2;
        Returns:
        The spanId.
      • getTraceState

        String getTraceState()
         The trace_state associated with the link.
         
        string trace_state = 3;
        Returns:
        The traceState.
      • getTraceStateBytes

        com.google.protobuf.ByteString getTraceStateBytes()
         The trace_state associated with the link.
         
        string trace_state = 3;
        Returns:
        The bytes for traceState.
      • getAttributesList

        List<KeyValue> getAttributesList()
         attributes is a collection of attribute key/value pairs on the link.
         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 = 4;
      • getAttributes

        KeyValue getAttributes​(int index)
         attributes is a collection of attribute key/value pairs on the link.
         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 = 4;
      • getAttributesCount

        int getAttributesCount()
         attributes is a collection of attribute key/value pairs on the link.
         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 = 4;
      • getAttributesOrBuilderList

        List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()
         attributes is a collection of attribute key/value pairs on the link.
         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 = 4;
      • getAttributesOrBuilder

        KeyValueOrBuilder getAttributesOrBuilder​(int index)
         attributes is a collection of attribute key/value pairs on the link.
         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 = 4;
      • 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 = 5;
        Returns:
        The droppedAttributesCount.