Interface MetricOrBuilder

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

    public interface MetricOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         name of the metric, including its DNS name prefix. It must be unique.
         
        string name = 1;
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         name of the metric, including its DNS name prefix. It must be unique.
         
        string name = 1;
      • getDescription

        String getDescription()
         description of the metric, which can be used in documentation.
         
        string description = 2;
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         description of the metric, which can be used in documentation.
         
        string description = 2;
      • getUnit

        String getUnit()
         unit in which the metric value is reported. Follows the format
         described by http://unitsofmeasure.org/ucum.html.
         
        string unit = 3;
      • getUnitBytes

        com.google.protobuf.ByteString getUnitBytes()
         unit in which the metric value is reported. Follows the format
         described by http://unitsofmeasure.org/ucum.html.
         
        string unit = 3;
      • hasIntGauge

        @Deprecated
        boolean hasIntGauge()
        Deprecated.
         IntGauge and IntSum are deprecated and will be removed soon.
         1. Old senders and receivers that are not aware of this change will
         continue using the `int_gauge` and `int_sum` fields.
         2. New senders, which are aware of this change MUST send only `gauge`
         and `sum` fields.
         3. New receivers, which are aware of this change MUST convert these into
         `gauge` and `sum` by using the provided as_int field in the oneof values.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntGauge int_gauge = 4 [deprecated = true];
      • getIntGauge

        @Deprecated
        IntGauge getIntGauge()
        Deprecated.
         IntGauge and IntSum are deprecated and will be removed soon.
         1. Old senders and receivers that are not aware of this change will
         continue using the `int_gauge` and `int_sum` fields.
         2. New senders, which are aware of this change MUST send only `gauge`
         and `sum` fields.
         3. New receivers, which are aware of this change MUST convert these into
         `gauge` and `sum` by using the provided as_int field in the oneof values.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntGauge int_gauge = 4 [deprecated = true];
      • getIntGaugeOrBuilder

        @Deprecated
        IntGaugeOrBuilder getIntGaugeOrBuilder()
        Deprecated.
         IntGauge and IntSum are deprecated and will be removed soon.
         1. Old senders and receivers that are not aware of this change will
         continue using the `int_gauge` and `int_sum` fields.
         2. New senders, which are aware of this change MUST send only `gauge`
         and `sum` fields.
         3. New receivers, which are aware of this change MUST convert these into
         `gauge` and `sum` by using the provided as_int field in the oneof values.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntGauge int_gauge = 4 [deprecated = true];
      • hasGauge

        boolean hasGauge()
        .opentelemetry.proto.metrics.v1.Gauge gauge = 5;
      • getGauge

        Gauge getGauge()
        .opentelemetry.proto.metrics.v1.Gauge gauge = 5;
      • getGaugeOrBuilder

        GaugeOrBuilder getGaugeOrBuilder()
        .opentelemetry.proto.metrics.v1.Gauge gauge = 5;
      • hasIntSum

        @Deprecated
        boolean hasIntSum()
        Deprecated.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntSum int_sum = 6 [deprecated = true];
      • getIntSum

        @Deprecated
        IntSum getIntSum()
        Deprecated.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntSum int_sum = 6 [deprecated = true];
      • getIntSumOrBuilder

        @Deprecated
        IntSumOrBuilder getIntSumOrBuilder()
        Deprecated.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntSum int_sum = 6 [deprecated = true];
      • hasSum

        boolean hasSum()
        .opentelemetry.proto.metrics.v1.Sum sum = 7;
      • getSum

        Sum getSum()
        .opentelemetry.proto.metrics.v1.Sum sum = 7;
      • getSumOrBuilder

        SumOrBuilder getSumOrBuilder()
        .opentelemetry.proto.metrics.v1.Sum sum = 7;
      • hasIntHistogram

        @Deprecated
        boolean hasIntHistogram()
        Deprecated.
         IntHistogram is deprecated and will be removed soon.
         1. Old senders and receivers that are not aware of this change will
         continue using the `int_histogram` field.
         2. New senders, which are aware of this change MUST send only `histogram`.
         3. New receivers, which are aware of this change MUST convert this into
         `histogram` by simply converting all int64 values into float.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntHistogram int_histogram = 8 [deprecated = true];
      • getIntHistogram

        @Deprecated
        IntHistogram getIntHistogram()
        Deprecated.
         IntHistogram is deprecated and will be removed soon.
         1. Old senders and receivers that are not aware of this change will
         continue using the `int_histogram` field.
         2. New senders, which are aware of this change MUST send only `histogram`.
         3. New receivers, which are aware of this change MUST convert this into
         `histogram` by simply converting all int64 values into float.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntHistogram int_histogram = 8 [deprecated = true];
      • getIntHistogramOrBuilder

        @Deprecated
        IntHistogramOrBuilder getIntHistogramOrBuilder()
        Deprecated.
         IntHistogram is deprecated and will be removed soon.
         1. Old senders and receivers that are not aware of this change will
         continue using the `int_histogram` field.
         2. New senders, which are aware of this change MUST send only `histogram`.
         3. New receivers, which are aware of this change MUST convert this into
         `histogram` by simply converting all int64 values into float.
         This field will be removed in ~3 months, on July 1, 2021.
         
        .opentelemetry.proto.metrics.v1.IntHistogram int_histogram = 8 [deprecated = true];
      • hasHistogram

        boolean hasHistogram()
        .opentelemetry.proto.metrics.v1.Histogram histogram = 9;
      • getHistogram

        Histogram getHistogram()
        .opentelemetry.proto.metrics.v1.Histogram histogram = 9;
      • getHistogramOrBuilder

        HistogramOrBuilder getHistogramOrBuilder()
        .opentelemetry.proto.metrics.v1.Histogram histogram = 9;
      • hasExponentialHistogram

        boolean hasExponentialHistogram()
        .opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;
      • getExponentialHistogram

        ExponentialHistogram getExponentialHistogram()
        .opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;
      • getExponentialHistogramOrBuilder

        ExponentialHistogramOrBuilder getExponentialHistogramOrBuilder()
        .opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;
      • hasSummary

        boolean hasSummary()
        .opentelemetry.proto.metrics.v1.Summary summary = 11;
      • getSummary

        Summary getSummary()
        .opentelemetry.proto.metrics.v1.Summary summary = 11;
      • getSummaryOrBuilder

        SummaryOrBuilder getSummaryOrBuilder()
        .opentelemetry.proto.metrics.v1.Summary summary = 11;