Class NumberDataPoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
- io.opentelemetry.proto.metrics.v1.NumberDataPoint.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NumberDataPointOrBuilder,Cloneable
- Enclosing class:
- NumberDataPoint
public static final class NumberDataPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder> implements NumberDataPointOrBuilder
NumberDataPoint is a single data point in a timeseries that describes the time-varying scalar value of a metric.
Protobuf typeopentelemetry.proto.metrics.v1.NumberDataPoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NumberDataPoint.BuilderaddAllAttributes(Iterable<? extends KeyValue> values)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuilderaddAllExemplars(Iterable<? extends Exemplar> values)(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuilderaddAllLabels(Iterable<? extends StringKeyValue> values)Deprecated.NumberDataPoint.BuilderaddAttributes(int index, KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuilderaddAttributes(int index, KeyValue.Builder builderForValue)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuilderaddAttributes(KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuilderaddAttributes(KeyValue.Builder builderForValue)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.KeyValue.BuilderaddAttributesBuilder()The set of key/value pairs that uniquely identify the timeseries from where this point belongs.KeyValue.BuilderaddAttributesBuilder(int index)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuilderaddExemplars(int index, Exemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuilderaddExemplars(int index, Exemplar.Builder builderForValue)(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuilderaddExemplars(Exemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuilderaddExemplars(Exemplar.Builder builderForValue)(Optional) List of exemplars collected from measurements that were used to form the data pointExemplar.BuilderaddExemplarsBuilder()(Optional) List of exemplars collected from measurements that were used to form the data pointExemplar.BuilderaddExemplarsBuilder(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuilderaddLabels(int index, StringKeyValue value)Deprecated.NumberDataPoint.BuilderaddLabels(int index, StringKeyValue.Builder builderForValue)Deprecated.NumberDataPoint.BuilderaddLabels(StringKeyValue value)Deprecated.NumberDataPoint.BuilderaddLabels(StringKeyValue.Builder builderForValue)Deprecated.StringKeyValue.BuilderaddLabelsBuilder()Deprecated.StringKeyValue.BuilderaddLabelsBuilder(int index)Deprecated.NumberDataPoint.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NumberDataPointbuild()NumberDataPointbuildPartial()NumberDataPoint.Builderclear()NumberDataPoint.BuilderclearAsDouble()double as_double = 4;NumberDataPoint.BuilderclearAsInt()sfixed64 as_int = 6;NumberDataPoint.BuilderclearAttributes()The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuilderclearExemplars()(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NumberDataPoint.BuilderclearFlags()Flags that apply to this specific data point.NumberDataPoint.BuilderclearLabels()Deprecated.NumberDataPoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NumberDataPoint.BuilderclearStartTimeUnixNano()StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.NumberDataPoint.BuilderclearTimeUnixNano()TimeUnixNano is required, see the detailed comments above Metric.NumberDataPoint.BuilderclearValue()NumberDataPoint.Builderclone()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.KeyValue.BuildergetAttributesBuilder(int index)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.List<KeyValue.Builder>getAttributesBuilderList()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.NumberDataPointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ExemplargetExemplars(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointExemplar.BuildergetExemplarsBuilder(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointList<Exemplar.Builder>getExemplarsBuilderList()(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.StringKeyValue.BuildergetLabelsBuilder(int index)Deprecated.List<StringKeyValue.Builder>getLabelsBuilderList()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()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NumberDataPoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NumberDataPoint.BuildermergeFrom(com.google.protobuf.Message other)NumberDataPoint.BuildermergeFrom(NumberDataPoint other)NumberDataPoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NumberDataPoint.BuilderremoveAttributes(int index)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuilderremoveExemplars(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuilderremoveLabels(int index)Deprecated.NumberDataPoint.BuildersetAsDouble(double value)double as_double = 4;NumberDataPoint.BuildersetAsInt(long value)sfixed64 as_int = 6;NumberDataPoint.BuildersetAttributes(int index, KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuildersetAttributes(int index, KeyValue.Builder builderForValue)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.NumberDataPoint.BuildersetExemplars(int index, Exemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuildersetExemplars(int index, Exemplar.Builder builderForValue)(Optional) List of exemplars collected from measurements that were used to form the data pointNumberDataPoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NumberDataPoint.BuildersetFlags(int value)Flags that apply to this specific data point.NumberDataPoint.BuildersetLabels(int index, StringKeyValue value)Deprecated.NumberDataPoint.BuildersetLabels(int index, StringKeyValue.Builder builderForValue)Deprecated.NumberDataPoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NumberDataPoint.BuildersetStartTimeUnixNano(long value)StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.NumberDataPoint.BuildersetTimeUnixNano(long value)TimeUnixNano is required, see the detailed comments above Metric.NumberDataPoint.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
clear
public NumberDataPoint.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
getDefaultInstanceForType
public NumberDataPoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NumberDataPoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NumberDataPoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NumberDataPoint.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
setField
public NumberDataPoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
clearField
public NumberDataPoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
clearOneof
public NumberDataPoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
setRepeatedField
public NumberDataPoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
addRepeatedField
public NumberDataPoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
mergeFrom
public NumberDataPoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NumberDataPoint.Builder>
-
mergeFrom
public NumberDataPoint.Builder mergeFrom(NumberDataPoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
mergeFrom
public NumberDataPoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NumberDataPoint.Builder>- Throws:
IOException
-
getValueCase
public NumberDataPoint.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceNumberDataPointOrBuilder
-
clearValue
public NumberDataPoint.Builder clearValue()
-
getAttributesList
public 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;- Specified by:
getAttributesListin interfaceNumberDataPointOrBuilder
-
getAttributesCount
public 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;- Specified by:
getAttributesCountin interfaceNumberDataPointOrBuilder
-
getAttributes
public 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;- Specified by:
getAttributesin interfaceNumberDataPointOrBuilder
-
setAttributes
public NumberDataPoint.Builder setAttributes(int index, KeyValue value)
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;
-
setAttributes
public NumberDataPoint.Builder setAttributes(int index, KeyValue.Builder builderForValue)
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;
-
addAttributes
public NumberDataPoint.Builder addAttributes(KeyValue value)
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;
-
addAttributes
public NumberDataPoint.Builder addAttributes(int index, KeyValue value)
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;
-
addAttributes
public NumberDataPoint.Builder addAttributes(KeyValue.Builder builderForValue)
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;
-
addAttributes
public NumberDataPoint.Builder addAttributes(int index, KeyValue.Builder builderForValue)
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;
-
addAllAttributes
public NumberDataPoint.Builder addAllAttributes(Iterable<? extends KeyValue> values)
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;
-
clearAttributes
public NumberDataPoint.Builder clearAttributes()
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;
-
removeAttributes
public NumberDataPoint.Builder removeAttributes(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;
-
getAttributesBuilder
public KeyValue.Builder getAttributesBuilder(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;
-
getAttributesOrBuilder
public 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;- Specified by:
getAttributesOrBuilderin interfaceNumberDataPointOrBuilder
-
getAttributesOrBuilderList
public 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;- Specified by:
getAttributesOrBuilderListin interfaceNumberDataPointOrBuilder
-
addAttributesBuilder
public KeyValue.Builder addAttributesBuilder()
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;
-
addAttributesBuilder
public KeyValue.Builder addAttributesBuilder(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;
-
getAttributesBuilderList
public List<KeyValue.Builder> getAttributesBuilderList()
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 public 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];- Specified by:
getLabelsListin interfaceNumberDataPointOrBuilder
-
getLabelsCount
@Deprecated public 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];- Specified by:
getLabelsCountin interfaceNumberDataPointOrBuilder
-
getLabels
@Deprecated public 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];- Specified by:
getLabelsin interfaceNumberDataPointOrBuilder
-
setLabels
@Deprecated public NumberDataPoint.Builder setLabels(int index, StringKeyValue value)
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];
-
setLabels
@Deprecated public NumberDataPoint.Builder setLabels(int index, StringKeyValue.Builder builderForValue)
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];
-
addLabels
@Deprecated public NumberDataPoint.Builder addLabels(StringKeyValue value)
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];
-
addLabels
@Deprecated public NumberDataPoint.Builder addLabels(int index, StringKeyValue value)
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];
-
addLabels
@Deprecated public NumberDataPoint.Builder addLabels(StringKeyValue.Builder builderForValue)
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];
-
addLabels
@Deprecated public NumberDataPoint.Builder addLabels(int index, StringKeyValue.Builder builderForValue)
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];
-
addAllLabels
@Deprecated public NumberDataPoint.Builder addAllLabels(Iterable<? extends StringKeyValue> values)
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];
-
clearLabels
@Deprecated public NumberDataPoint.Builder clearLabels()
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];
-
removeLabels
@Deprecated public NumberDataPoint.Builder removeLabels(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];
-
getLabelsBuilder
@Deprecated public StringKeyValue.Builder getLabelsBuilder(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];
-
getLabelsOrBuilder
@Deprecated public 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];- Specified by:
getLabelsOrBuilderin interfaceNumberDataPointOrBuilder
-
getLabelsOrBuilderList
@Deprecated public 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];- Specified by:
getLabelsOrBuilderListin interfaceNumberDataPointOrBuilder
-
addLabelsBuilder
@Deprecated public StringKeyValue.Builder addLabelsBuilder()
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];
-
addLabelsBuilder
@Deprecated public StringKeyValue.Builder addLabelsBuilder(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];
-
getLabelsBuilderList
@Deprecated public List<StringKeyValue.Builder> getLabelsBuilderList()
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
public 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;- Specified by:
getStartTimeUnixNanoin interfaceNumberDataPointOrBuilder
-
setStartTimeUnixNano
public NumberDataPoint.Builder setStartTimeUnixNano(long value)
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;
-
clearStartTimeUnixNano
public NumberDataPoint.Builder clearStartTimeUnixNano()
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
public 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;- Specified by:
getTimeUnixNanoin interfaceNumberDataPointOrBuilder
-
setTimeUnixNano
public NumberDataPoint.Builder setTimeUnixNano(long value)
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;
-
clearTimeUnixNano
public NumberDataPoint.Builder clearTimeUnixNano()
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
public double getAsDouble()
double as_double = 4;- Specified by:
getAsDoublein interfaceNumberDataPointOrBuilder
-
setAsDouble
public NumberDataPoint.Builder setAsDouble(double value)
double as_double = 4;
-
clearAsDouble
public NumberDataPoint.Builder clearAsDouble()
double as_double = 4;
-
getAsInt
public long getAsInt()
sfixed64 as_int = 6;- Specified by:
getAsIntin interfaceNumberDataPointOrBuilder
-
setAsInt
public NumberDataPoint.Builder setAsInt(long value)
sfixed64 as_int = 6;
-
clearAsInt
public NumberDataPoint.Builder clearAsInt()
sfixed64 as_int = 6;
-
getExemplarsList
public 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;- Specified by:
getExemplarsListin interfaceNumberDataPointOrBuilder
-
getExemplarsCount
public 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;- Specified by:
getExemplarsCountin interfaceNumberDataPointOrBuilder
-
getExemplars
public 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;- Specified by:
getExemplarsin interfaceNumberDataPointOrBuilder
-
setExemplars
public NumberDataPoint.Builder setExemplars(int index, Exemplar value)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
setExemplars
public NumberDataPoint.Builder setExemplars(int index, Exemplar.Builder builderForValue)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
addExemplars
public NumberDataPoint.Builder addExemplars(Exemplar value)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
addExemplars
public NumberDataPoint.Builder addExemplars(int index, Exemplar value)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
addExemplars
public NumberDataPoint.Builder addExemplars(Exemplar.Builder builderForValue)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
addExemplars
public NumberDataPoint.Builder addExemplars(int index, Exemplar.Builder builderForValue)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
addAllExemplars
public NumberDataPoint.Builder addAllExemplars(Iterable<? extends Exemplar> values)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
clearExemplars
public NumberDataPoint.Builder clearExemplars()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
removeExemplars
public NumberDataPoint.Builder removeExemplars(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;
-
getExemplarsBuilder
public Exemplar.Builder getExemplarsBuilder(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;
-
getExemplarsOrBuilder
public 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;- Specified by:
getExemplarsOrBuilderin interfaceNumberDataPointOrBuilder
-
getExemplarsOrBuilderList
public 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;- Specified by:
getExemplarsOrBuilderListin interfaceNumberDataPointOrBuilder
-
addExemplarsBuilder
public Exemplar.Builder addExemplarsBuilder()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
addExemplarsBuilder
public Exemplar.Builder addExemplarsBuilder(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;
-
getExemplarsBuilderList
public List<Exemplar.Builder> getExemplarsBuilderList()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
-
getFlags
public int getFlags()
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 8;- Specified by:
getFlagsin interfaceNumberDataPointOrBuilder
-
setFlags
public NumberDataPoint.Builder setFlags(int value)
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 8;
-
clearFlags
public NumberDataPoint.Builder clearFlags()
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 8;
-
setUnknownFields
public final NumberDataPoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
mergeUnknownFields
public final NumberDataPoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
-