io.opentelemetry.proto.metrics.v1.MetricOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/metrics/v1/metrics.proto
package io.opentelemetry.proto.metrics.v1;
public interface MetricOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.metrics.v1.Metric)
com.google.protobuf.MessageOrBuilder {
/**
*
* name of the metric, including its DNS name prefix. It must be unique.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* name of the metric, including its DNS name prefix. It must be unique.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* description of the metric, which can be used in documentation.
*
*
* string description = 2;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* description of the metric, which can be used in documentation.
*
*
* string description = 2;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* unit in which the metric value is reported. Follows the format
* described by http://unitsofmeasure.org/ucum.html.
*
*
* string unit = 3;
* @return The unit.
*/
java.lang.String getUnit();
/**
*
* unit in which the metric value is reported. Follows the format
* described by http://unitsofmeasure.org/ucum.html.
*
*
* string unit = 3;
* @return The bytes for unit.
*/
com.google.protobuf.ByteString
getUnitBytes();
/**
* .opentelemetry.proto.metrics.v1.Gauge gauge = 5;
* @return Whether the gauge field is set.
*/
boolean hasGauge();
/**
* .opentelemetry.proto.metrics.v1.Gauge gauge = 5;
* @return The gauge.
*/
io.opentelemetry.proto.metrics.v1.Gauge getGauge();
/**
* .opentelemetry.proto.metrics.v1.Gauge gauge = 5;
*/
io.opentelemetry.proto.metrics.v1.GaugeOrBuilder getGaugeOrBuilder();
/**
* .opentelemetry.proto.metrics.v1.Sum sum = 7;
* @return Whether the sum field is set.
*/
boolean hasSum();
/**
* .opentelemetry.proto.metrics.v1.Sum sum = 7;
* @return The sum.
*/
io.opentelemetry.proto.metrics.v1.Sum getSum();
/**
* .opentelemetry.proto.metrics.v1.Sum sum = 7;
*/
io.opentelemetry.proto.metrics.v1.SumOrBuilder getSumOrBuilder();
/**
* .opentelemetry.proto.metrics.v1.Histogram histogram = 9;
* @return Whether the histogram field is set.
*/
boolean hasHistogram();
/**
* .opentelemetry.proto.metrics.v1.Histogram histogram = 9;
* @return The histogram.
*/
io.opentelemetry.proto.metrics.v1.Histogram getHistogram();
/**
* .opentelemetry.proto.metrics.v1.Histogram histogram = 9;
*/
io.opentelemetry.proto.metrics.v1.HistogramOrBuilder getHistogramOrBuilder();
/**
* .opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;
* @return Whether the exponentialHistogram field is set.
*/
boolean hasExponentialHistogram();
/**
* .opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;
* @return The exponentialHistogram.
*/
io.opentelemetry.proto.metrics.v1.ExponentialHistogram getExponentialHistogram();
/**
* .opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;
*/
io.opentelemetry.proto.metrics.v1.ExponentialHistogramOrBuilder getExponentialHistogramOrBuilder();
/**
* .opentelemetry.proto.metrics.v1.Summary summary = 11;
* @return Whether the summary field is set.
*/
boolean hasSummary();
/**
* .opentelemetry.proto.metrics.v1.Summary summary = 11;
* @return The summary.
*/
io.opentelemetry.proto.metrics.v1.Summary getSummary();
/**
* .opentelemetry.proto.metrics.v1.Summary summary = 11;
*/
io.opentelemetry.proto.metrics.v1.SummaryOrBuilder getSummaryOrBuilder();
public io.opentelemetry.proto.metrics.v1.Metric.DataCase getDataCase();
}