Interface ExemplarOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Exemplar,Exemplar.Builder
public interface ExemplarOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubledouble as_double = 3;longgetAsInt()sfixed64 as_int = 6;getFilteredAttributes(int index) The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.intThe set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.getFilteredAttributesOrBuilder(int index) The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.List<? extends KeyValueOrBuilder>The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.com.google.protobuf.ByteString(Optional) Span ID of the exemplar trace.longtime_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.com.google.protobuf.ByteString(Optional) Trace ID of the exemplar trace.booleandouble as_double = 3;booleanhasAsInt()sfixed64 as_int = 6;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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; -
getFilteredAttributes
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; -
getFilteredAttributesCount
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; -
getFilteredAttributesOrBuilderList
List<? extends 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; -
getFilteredAttributesOrBuilder
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; -
getTimeUnixNano
long getTimeUnixNano()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;- Returns:
- The timeUnixNano.
-
hasAsDouble
boolean hasAsDouble()double as_double = 3;- Returns:
- Whether the asDouble field is set.
-
getAsDouble
double getAsDouble()double as_double = 3;- Returns:
- The asDouble.
-
hasAsInt
boolean hasAsInt()sfixed64 as_int = 6;- Returns:
- Whether the asInt field is set.
-
getAsInt
long getAsInt()sfixed64 as_int = 6;- Returns:
- The asInt.
-
getSpanId
com.google.protobuf.ByteString getSpanId()(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;- Returns:
- The spanId.
-
getTraceId
com.google.protobuf.ByteString getTraceId()(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;- Returns:
- The traceId.
-
getValueCase
Exemplar.ValueCase getValueCase()
-