io.opentelemetry.proto.metrics.v1.NumberDataPointOrBuilder 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 NumberDataPointOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.metrics.v1.NumberDataPoint)
com.google.protobuf.MessageOrBuilder {
/**
*
* The set of key/value pairs that uniquely identify the timeseries from
* where this point belongs. The list may be empty (may contain 0 elements).
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
*/
java.util.List
getAttributesList();
/**
*
* The set of key/value pairs that uniquely identify the timeseries from
* where this point belongs. The list may be empty (may contain 0 elements).
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
*/
io.opentelemetry.proto.common.v1.KeyValue getAttributes(int index);
/**
*
* The set of key/value pairs that uniquely identify the timeseries from
* where this point belongs. The list may be empty (may contain 0 elements).
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
*/
int getAttributesCount();
/**
*
* The set of key/value pairs that uniquely identify the timeseries from
* where this point belongs. The list may be empty (may contain 0 elements).
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
*/
java.util.List extends io.opentelemetry.proto.common.v1.KeyValueOrBuilder>
getAttributesOrBuilderList();
/**
*
* The set of key/value pairs that uniquely identify the timeseries from
* where this point belongs. The list may be empty (may contain 0 elements).
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
*/
io.opentelemetry.proto.common.v1.KeyValueOrBuilder getAttributesOrBuilder(
int index);
/**
*
* StartTimeUnixNano is optional but strongly encouraged, see the
* the detailed comments above Metric.
* Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
* 1970.
*
*
* fixed64 start_time_unix_nano = 2;
* @return The startTimeUnixNano.
*/
long getStartTimeUnixNano();
/**
*
* TimeUnixNano is required, see the detailed comments above Metric.
* Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
* 1970.
*
*
* fixed64 time_unix_nano = 3;
* @return The timeUnixNano.
*/
long getTimeUnixNano();
/**
* double as_double = 4;
* @return Whether the asDouble field is set.
*/
boolean hasAsDouble();
/**
* double as_double = 4;
* @return The asDouble.
*/
double getAsDouble();
/**
* sfixed64 as_int = 6;
* @return Whether the asInt field is set.
*/
boolean hasAsInt();
/**
* sfixed64 as_int = 6;
* @return The asInt.
*/
long getAsInt();
/**
*
* (Optional) List of exemplars collected from
* measurements that were used to form the data point
*
*
* repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
*/
java.util.List
getExemplarsList();
/**
*
* (Optional) List of exemplars collected from
* measurements that were used to form the data point
*
*
* repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
*/
io.opentelemetry.proto.metrics.v1.Exemplar getExemplars(int index);
/**
*
* (Optional) List of exemplars collected from
* measurements that were used to form the data point
*
*
* repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
*/
int getExemplarsCount();
/**
*
* (Optional) List of exemplars collected from
* measurements that were used to form the data point
*
*
* repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
*/
java.util.List extends io.opentelemetry.proto.metrics.v1.ExemplarOrBuilder>
getExemplarsOrBuilderList();
/**
*
* (Optional) List of exemplars collected from
* measurements that were used to form the data point
*
*
* repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
*/
io.opentelemetry.proto.metrics.v1.ExemplarOrBuilder getExemplarsOrBuilder(
int index);
/**
*
* Flags that apply to this specific data point. See DataPointFlags
* for the available flags and their meaning.
*
*
* uint32 flags = 8;
* @return The flags.
*/
int getFlags();
public io.opentelemetry.proto.metrics.v1.NumberDataPoint.ValueCase getValueCase();
}