Interface ScopeSpansOrBuilder

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

public interface ScopeSpansOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    This schema_url applies to all spans and span events in the "spans" field.
    com.google.protobuf.ByteString
    This schema_url applies to all spans and span events in the "spans" field.
    The instrumentation scope information for the spans in this message.
    The instrumentation scope information for the spans in this message.
    getSpans(int index)
    A list of Spans that originate from an instrumentation scope.
    int
    A list of Spans that originate from an instrumentation scope.
    A list of Spans that originate from an instrumentation scope.
    getSpansOrBuilder(int index)
    A list of Spans that originate from an instrumentation scope.
    List<? extends SpanOrBuilder>
    A list of Spans that originate from an instrumentation scope.
    boolean
    The instrumentation scope information for the spans in this message.

    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 Details

    • hasScope

      boolean hasScope()
       The instrumentation scope information for the spans in this message.
       Semantically when InstrumentationScope isn't set, it is equivalent with
       an empty instrumentation scope name (unknown).
       
      .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;
      Returns:
      Whether the scope field is set.
    • getScope

       The instrumentation scope information for the spans in this message.
       Semantically when InstrumentationScope isn't set, it is equivalent with
       an empty instrumentation scope name (unknown).
       
      .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;
      Returns:
      The scope.
    • getScopeOrBuilder

      InstrumentationScopeOrBuilder getScopeOrBuilder()
       The instrumentation scope information for the spans in this message.
       Semantically when InstrumentationScope isn't set, it is equivalent with
       an empty instrumentation scope name (unknown).
       
      .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;
    • getSpansList

      List<Span> getSpansList()
       A list of Spans that originate from an instrumentation scope.
       
      repeated .opentelemetry.proto.trace.v1.Span spans = 2;
    • getSpans

      Span getSpans(int index)
       A list of Spans that originate from an instrumentation scope.
       
      repeated .opentelemetry.proto.trace.v1.Span spans = 2;
    • getSpansCount

      int getSpansCount()
       A list of Spans that originate from an instrumentation scope.
       
      repeated .opentelemetry.proto.trace.v1.Span spans = 2;
    • getSpansOrBuilderList

      List<? extends SpanOrBuilder> getSpansOrBuilderList()
       A list of Spans that originate from an instrumentation scope.
       
      repeated .opentelemetry.proto.trace.v1.Span spans = 2;
    • getSpansOrBuilder

      SpanOrBuilder getSpansOrBuilder(int index)
       A list of Spans that originate from an instrumentation scope.
       
      repeated .opentelemetry.proto.trace.v1.Span spans = 2;
    • getSchemaUrl

      String getSchemaUrl()
       This schema_url applies to all spans and span events in the "spans" field.
       
      string schema_url = 3;
      Returns:
      The schemaUrl.
    • getSchemaUrlBytes

      com.google.protobuf.ByteString getSchemaUrlBytes()
       This schema_url applies to all spans and span events in the "spans" field.
       
      string schema_url = 3;
      Returns:
      The bytes for schemaUrl.