Class InstrumentationLibraryLogs

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

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

      • INSTRUMENTATION_LIBRARY_FIELD_NUMBER

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

        public static final int LOG_RECORDS_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 logs 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 InstrumentationLibraryLogsOrBuilder
        Returns:
        Whether the instrumentationLibrary field is set.
      • getInstrumentationLibrary

        public InstrumentationLibrary getInstrumentationLibrary()
        Deprecated.
         The instrumentation library information for the logs 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 InstrumentationLibraryLogsOrBuilder
        Returns:
        The instrumentationLibrary.
      • getInstrumentationLibraryOrBuilder

        public InstrumentationLibraryOrBuilder getInstrumentationLibraryOrBuilder()
        Deprecated.
         The instrumentation library information for the logs 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:
        getInstrumentationLibraryOrBuilder in interface InstrumentationLibraryLogsOrBuilder
      • getLogRecordsCount

        public int getLogRecordsCount()
        Deprecated.
         A list of logs that originate from an instrumentation library.
         
        repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
        Specified by:
        getLogRecordsCount in interface InstrumentationLibraryLogsOrBuilder
      • getSchemaUrlBytes

        public com.google.protobuf.ByteString getSchemaUrlBytes()
        Deprecated.
         This schema_url applies to all logs in the "logs" field.
         
        string schema_url = 3;
        Specified by:
        getSchemaUrlBytes in interface InstrumentationLibraryLogsOrBuilder
        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 InstrumentationLibraryLogs parseFrom​(ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static InstrumentationLibraryLogs 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 InstrumentationLibraryLogs parseFrom​(byte[] data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public com.google.protobuf.Parser<InstrumentationLibraryLogs> 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 InstrumentationLibraryLogs getDefaultInstanceForType()
        Deprecated.
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder