Interface NumberDataPointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NumberDataPoint,NumberDataPoint.Builder
public interface NumberDataPointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetAsDouble()double as_double = 4;longgetAsInt()sfixed64 as_int = 6;KeyValuegetAttributes(int index)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.intgetAttributesCount()The set of key/value pairs that uniquely identify the timeseries from where this point belongs.List<KeyValue>getAttributesList()The set of key/value pairs that uniquely identify the timeseries from where this point belongs.KeyValueOrBuildergetAttributesOrBuilder(int index)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.List<? extends KeyValueOrBuilder>getAttributesOrBuilderList()The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExemplargetExemplars(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointintgetExemplarsCount()(Optional) List of exemplars collected from measurements that were used to form the data pointList<Exemplar>getExemplarsList()(Optional) List of exemplars collected from measurements that were used to form the data pointExemplarOrBuildergetExemplarsOrBuilder(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointList<? extends ExemplarOrBuilder>getExemplarsOrBuilderList()(Optional) List of exemplars collected from measurements that were used to form the data pointintgetFlags()Flags that apply to this specific data point.longgetStartTimeUnixNano()StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.longgetTimeUnixNano()TimeUnixNano is required, see the detailed comments above Metric.NumberDataPoint.ValueCasegetValueCase()booleanhasAsDouble()double as_double = 4;booleanhasAsInt()sfixed64 as_int = 6;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAttributesList
List<KeyValue> 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;
-
getAttributes
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;
-
getAttributesCount
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;
-
getAttributesOrBuilderList
List<? extends 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;
-
getAttributesOrBuilder
KeyValueOrBuilder getAttributesOrBuilder(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;
-
getStartTimeUnixNano
long getStartTimeUnixNano()
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;- Returns:
- The startTimeUnixNano.
-
getTimeUnixNano
long getTimeUnixNano()
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;- Returns:
- The timeUnixNano.
-
hasAsDouble
boolean hasAsDouble()
double as_double = 4;- Returns:
- Whether the asDouble field is set.
-
getAsDouble
double getAsDouble()
double as_double = 4;- 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.
-
getExemplarsList
List<Exemplar> getExemplarsList()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
getExemplars
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;
-
getExemplarsCount
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;
-
getExemplarsOrBuilderList
List<? extends 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;
-
getExemplarsOrBuilder
ExemplarOrBuilder getExemplarsOrBuilder(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;
-
getFlags
int getFlags()
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 8;- Returns:
- The flags.
-
getValueCase
NumberDataPoint.ValueCase getValueCase()
-
-