Interface Span.EventOrBuilder

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

    public static interface Span.EventOrBuilder
    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 event.
      int getAttributesCount()
      attributes is a collection of attribute key/value pairs on the event.
      List<KeyValue> getAttributesList()
      attributes is a collection of attribute key/value pairs on the event.
      KeyValueOrBuilder getAttributesOrBuilder​(int index)
      attributes is a collection of attribute key/value pairs on the event.
      List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()
      attributes is a collection of attribute key/value pairs on the event.
      int getDroppedAttributesCount()
      dropped_attributes_count is the number of dropped attributes.
      String getName()
      name of the event.
      com.google.protobuf.ByteString getNameBytes()
      name of the event.
      long getTimeUnixNano()
      time_unix_nano is the time the event occurred.
      • 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

      • getTimeUnixNano

        long getTimeUnixNano()
         time_unix_nano is the time the event occurred.
         
        fixed64 time_unix_nano = 1;
        Returns:
        The timeUnixNano.
      • getName

        String getName()
         name of the event.
         This field is semantically required to be set to non-empty string.
         
        string name = 2;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         name of the event.
         This field is semantically required to be set to non-empty string.
         
        string name = 2;
        Returns:
        The bytes for name.
      • getAttributesList

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

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

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

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

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