Class InstrumentationLibraryMetrics

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

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

      • INSTRUMENTATION_LIBRARY_FIELD_NUMBER

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

        public static final int METRICS_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 metrics 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 InstrumentationLibraryMetricsOrBuilder
        Returns:
        Whether the instrumentationLibrary field is set.
      • getInstrumentationLibrary

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

        public int getMetricsCount()
        Deprecated.
         A list of metrics that originate from an instrumentation library.
         
        repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;
        Specified by:
        getMetricsCount in interface InstrumentationLibraryMetricsOrBuilder
      • getMetrics

        public Metric getMetrics​(int index)
        Deprecated.
         A list of metrics that originate from an instrumentation library.
         
        repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;
        Specified by:
        getMetrics in interface InstrumentationLibraryMetricsOrBuilder
      • getSchemaUrlBytes

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

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

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

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

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

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

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

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

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