io.opentelemetry.proto.metrics.v1.ExemplarOrBuilder 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 ExemplarOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.metrics.v1.Exemplar)
com.google.protobuf.MessageOrBuilder {
/**
*
* The set of key/value pairs that were filtered out by the aggregator, but
* recorded alongside the original measurement. Only key/value pairs that were
* filtered out by the aggregator should be included
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
*/
java.util.List
getFilteredAttributesList();
/**
*
* The set of key/value pairs that were filtered out by the aggregator, but
* recorded alongside the original measurement. Only key/value pairs that were
* filtered out by the aggregator should be included
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
*/
io.opentelemetry.proto.common.v1.KeyValue getFilteredAttributes(int index);
/**
*
* The set of key/value pairs that were filtered out by the aggregator, but
* recorded alongside the original measurement. Only key/value pairs that were
* filtered out by the aggregator should be included
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
*/
int getFilteredAttributesCount();
/**
*
* The set of key/value pairs that were filtered out by the aggregator, but
* recorded alongside the original measurement. Only key/value pairs that were
* filtered out by the aggregator should be included
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
*/
java.util.List extends io.opentelemetry.proto.common.v1.KeyValueOrBuilder>
getFilteredAttributesOrBuilderList();
/**
*
* The set of key/value pairs that were filtered out by the aggregator, but
* recorded alongside the original measurement. Only key/value pairs that were
* filtered out by the aggregator should be included
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
*/
io.opentelemetry.proto.common.v1.KeyValueOrBuilder getFilteredAttributesOrBuilder(
int index);
/**
*
* time_unix_nano is the exact time when this exemplar was recorded
* Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
* 1970.
*
*
* fixed64 time_unix_nano = 2;
* @return The timeUnixNano.
*/
long getTimeUnixNano();
/**
* double as_double = 3;
* @return Whether the asDouble field is set.
*/
boolean hasAsDouble();
/**
* double as_double = 3;
* @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) Span ID of the exemplar trace.
* span_id may be missing if the measurement is not recorded inside a trace
* or if the trace is not sampled.
*
*
* bytes span_id = 4;
* @return The spanId.
*/
com.google.protobuf.ByteString getSpanId();
/**
*
* (Optional) Trace ID of the exemplar trace.
* trace_id may be missing if the measurement is not recorded inside a trace
* or if the trace is not sampled.
*
*
* bytes trace_id = 5;
* @return The traceId.
*/
com.google.protobuf.ByteString getTraceId();
public io.opentelemetry.proto.metrics.v1.Exemplar.ValueCase getValueCase();
}