Class InstrumentationLibrarySpans

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstrumentationLibrarySpansOrBuilder, Serializable

    @Deprecated
    public final class InstrumentationLibrarySpans
    extends com.google.protobuf.GeneratedMessageV3
    implements InstrumentationLibrarySpansOrBuilder
    Deprecated.
     A collection of Spans produced by an InstrumentationLibrary.
     InstrumentationLibrarySpans is wire-compatible with ScopeSpans for binary
     Protobuf format.
     This message is deprecated and will be removed on June 15, 2022.
     
    Protobuf type opentelemetry.proto.trace.v1.InstrumentationLibrarySpans
    See Also:
    Serialized Form
    • Field Detail

      • INSTRUMENTATION_LIBRARY_FIELD_NUMBER

        public static final int INSTRUMENTATION_LIBRARY_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
      • SPANS_FIELD_NUMBER

        public static final int SPANS_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
      • SCHEMA_URL_FIELD_NUMBER

        public static final int SCHEMA_URL_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Deprecated.
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Deprecated.
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
        Deprecated.
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Deprecated.
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasInstrumentationLibrary

        public boolean hasInstrumentationLibrary()
        Deprecated.
         The instrumentation library information for the spans in this message.
         Semantically when InstrumentationLibrary isn't set, it is equivalent with
         an empty instrumentation library name (unknown).
         
        .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;
        Specified by:
        hasInstrumentationLibrary in interface InstrumentationLibrarySpansOrBuilder
        Returns:
        Whether the instrumentationLibrary field is set.
      • getInstrumentationLibrary

        public InstrumentationLibrary getInstrumentationLibrary()
        Deprecated.
         The instrumentation library information for the spans in this message.
         Semantically when InstrumentationLibrary isn't set, it is equivalent with
         an empty instrumentation library name (unknown).
         
        .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;
        Specified by:
        getInstrumentationLibrary in interface InstrumentationLibrarySpansOrBuilder
        Returns:
        The instrumentationLibrary.
      • getSpansCount

        public int getSpansCount()
        Deprecated.
         A list of Spans that originate from an instrumentation library.
         
        repeated .opentelemetry.proto.trace.v1.Span spans = 2;
        Specified by:
        getSpansCount in interface InstrumentationLibrarySpansOrBuilder
      • getSpans

        public Span getSpans​(int index)
        Deprecated.
         A list of Spans that originate from an instrumentation library.
         
        repeated .opentelemetry.proto.trace.v1.Span spans = 2;
        Specified by:
        getSpans in interface InstrumentationLibrarySpansOrBuilder
      • getSchemaUrlBytes

        public com.google.protobuf.ByteString getSchemaUrlBytes()
        Deprecated.
         This schema_url applies to all spans and span events in the "spans" field.
         
        string schema_url = 3;
        Specified by:
        getSchemaUrlBytes in interface InstrumentationLibrarySpansOrBuilder
        Returns:
        The bytes for schemaUrl.
      • isInitialized

        public final boolean isInitialized()
        Deprecated.
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Deprecated.
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Deprecated.
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static InstrumentationLibrarySpans parseFrom​(ByteBuffer data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static InstrumentationLibrarySpans parseFrom​(ByteBuffer data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static InstrumentationLibrarySpans parseFrom​(com.google.protobuf.ByteString data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static InstrumentationLibrarySpans parseFrom​(com.google.protobuf.ByteString data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static InstrumentationLibrarySpans parseFrom​(byte[] data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static InstrumentationLibrarySpans parseFrom​(byte[] data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public InstrumentationLibrarySpans.Builder newBuilderForType()
        Deprecated.
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public InstrumentationLibrarySpans.Builder toBuilder()
        Deprecated.
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected InstrumentationLibrarySpans.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Deprecated.
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<InstrumentationLibrarySpans> getParserForType()
        Deprecated.
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public InstrumentationLibrarySpans getDefaultInstanceForType()
        Deprecated.
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder