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 Deprecated 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.StringKeyValuegetLabels(int index)Deprecated.intgetLabelsCount()Deprecated.List<StringKeyValue>getLabelsList()Deprecated.StringKeyValueOrBuildergetLabelsOrBuilder(int index)Deprecated.List<? extends StringKeyValueOrBuilder>getLabelsOrBuilderList()Deprecated.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()-
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).
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).
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).
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).
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).
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
-
getLabelsList
@Deprecated List<StringKeyValue> getLabelsList()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `labels` field. 2. New senders, which are aware of this change MUST send only `attributes`. 3. New receivers, which are aware of this change MUST convert this into `labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1 [deprecated = true];
-
getLabels
@Deprecated StringKeyValue getLabels(int index)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `labels` field. 2. New senders, which are aware of this change MUST send only `attributes`. 3. New receivers, which are aware of this change MUST convert this into `labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1 [deprecated = true];
-
getLabelsCount
@Deprecated int getLabelsCount()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `labels` field. 2. New senders, which are aware of this change MUST send only `attributes`. 3. New receivers, which are aware of this change MUST convert this into `labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1 [deprecated = true];
-
getLabelsOrBuilderList
@Deprecated List<? extends StringKeyValueOrBuilder> getLabelsOrBuilderList()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `labels` field. 2. New senders, which are aware of this change MUST send only `attributes`. 3. New receivers, which are aware of this change MUST convert this into `labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1 [deprecated = true];
-
getLabelsOrBuilder
@Deprecated StringKeyValueOrBuilder getLabelsOrBuilder(int index)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `labels` field. 2. New senders, which are aware of this change MUST send only `attributes`. 3. New receivers, which are aware of this change MUST convert this into `labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1 [deprecated = true];
-
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;
-
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;
-
getAsDouble
double getAsDouble()
double as_double = 4;
-
getAsInt
long getAsInt()
sfixed64 as_int = 6;
-
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;
-
getValueCase
NumberDataPoint.ValueCase getValueCase()
-
-