Interface NumberDataPointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NumberDataPoint,NumberDataPoint.Builder
@Generated
public interface NumberDataPointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubledouble as_double = 4;longgetAsInt()sfixed64 as_int = 6;getAttributes(int index) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.intThe set of key/value pairs that uniquely identify the timeseries from where this point belongs.The set of key/value pairs that uniquely identify the timeseries from where this point belongs.getAttributesOrBuilder(int index) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.List<? extends KeyValueOrBuilder>The set of key/value pairs that uniquely identify the timeseries from where this point belongs.getExemplars(int index) (Optional) List of exemplars collected from measurements that were used to form the data pointint(Optional) List of exemplars collected from measurements that were used to form the data point(Optional) List of exemplars collected from measurements that were used to form the data pointgetExemplarsOrBuilder(int index) (Optional) List of exemplars collected from measurements that were used to form the data pointList<? extends ExemplarOrBuilder>(Optional) List of exemplars collected from measurements that were used to form the data pointintgetFlags()Flags that apply to this specific data point.longStartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.longTimeUnixNano is required, see the detailed comments above Metric.booleandouble as_double = 4;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
-
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). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7; -
getAttributes
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). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
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). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
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). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7; -
getAttributesOrBuilder
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). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
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
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
getExemplars
(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
(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()
-