Class NumberDataPoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type
opentelemetry.proto.metrics.v1.NumberDataPoint-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttributes(Iterable<? extends KeyValue> values) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.addAllExemplars(Iterable<? extends Exemplar> values) (Optional) List of exemplars collected from measurements that were used to form the data pointaddAttributes(int index, KeyValue value) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.addAttributes(int index, KeyValue.Builder builderForValue) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.addAttributes(KeyValue value) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.addAttributes(KeyValue.Builder builderForValue) The 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.addAttributesBuilder(int index) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.addExemplars(int index, Exemplar value) (Optional) List of exemplars collected from measurements that were used to form the data pointaddExemplars(int index, Exemplar.Builder builderForValue) (Optional) List of exemplars collected from measurements that were used to form the data pointaddExemplars(Exemplar value) (Optional) List of exemplars collected from measurements that were used to form the data pointaddExemplars(Exemplar.Builder builderForValue) (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 pointaddExemplarsBuilder(int index) (Optional) List of exemplars collected from measurements that were used to form the data pointaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()double as_double = 4;sfixed64 as_int = 6;The set of key/value pairs that uniquely identify the timeseries from where this point belongs.(Optional) List of exemplars collected from measurements that were used to form the data pointclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Flags that apply to this specific data point.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.TimeUnixNano is required, see the detailed comments above Metric.clone()doubledouble 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.getAttributesBuilder(int index) The 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.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExemplars(int index) (Optional) List of exemplars collected from measurements that were used to form the data pointgetExemplarsBuilder(int index) (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 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;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(NumberDataPoint other) final NumberDataPoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeAttributes(int index) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.removeExemplars(int index) (Optional) List of exemplars collected from measurements that were used to form the data pointsetAsDouble(double value) double as_double = 4;setAsInt(long value) sfixed64 as_int = 6;setAttributes(int index, KeyValue value) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.setAttributes(int index, KeyValue.Builder builderForValue) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.setExemplars(int index, Exemplar value) (Optional) List of exemplars collected from measurements that were used to form the data pointsetExemplars(int index, Exemplar.Builder builderForValue) (Optional) List of exemplars collected from measurements that were used to form the data pointsetFlags(int value) Flags that apply to this specific data point.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartTimeUnixNano(long value) StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.setTimeUnixNano(long value) TimeUnixNano is required, see the detailed comments above Metric.final 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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NumberDataPoint.Builder>
-
clearOneof
- 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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NumberDataPoint.Builder>
-
mergeFrom
-
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
- Specified by:
getValueCasein interfaceNumberDataPointOrBuilder
-
clearValue
-
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;- 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). 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;- Specified by:
getAttributesCountin interfaceNumberDataPointOrBuilder
-
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).
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;- Specified by:
getAttributesin interfaceNumberDataPointOrBuilder
-
setAttributes
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; -
setAttributes
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; -
addAttributes
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; -
addAttributes
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; -
addAttributes
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; -
addAttributes
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; -
addAllAttributes
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; -
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). 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; -
removeAttributes
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; -
getAttributesBuilder
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
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;- Specified by:
getAttributesOrBuilderin interfaceNumberDataPointOrBuilder
-
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;- Specified by:
getAttributesOrBuilderListin interfaceNumberDataPointOrBuilder
-
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). 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; -
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). 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; -
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). 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
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- Returns:
- The startTimeUnixNano.
-
setStartTimeUnixNano
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;- Parameters:
value- The startTimeUnixNano to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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- Returns:
- The timeUnixNano.
-
setTimeUnixNano
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;- Parameters:
value- The timeUnixNano to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
hasAsDouble
public boolean hasAsDouble()double as_double = 4;- Specified by:
hasAsDoublein interfaceNumberDataPointOrBuilder- Returns:
- Whether the asDouble field is set.
-
getAsDouble
public double getAsDouble()double as_double = 4;- Specified by:
getAsDoublein interfaceNumberDataPointOrBuilder- Returns:
- The asDouble.
-
setAsDouble
double as_double = 4;- Parameters:
value- The asDouble to set.- Returns:
- This builder for chaining.
-
clearAsDouble
double as_double = 4;- Returns:
- This builder for chaining.
-
hasAsInt
public boolean hasAsInt()sfixed64 as_int = 6;- Specified by:
hasAsIntin interfaceNumberDataPointOrBuilder- Returns:
- Whether the asInt field is set.
-
getAsInt
public long getAsInt()sfixed64 as_int = 6;- Specified by:
getAsIntin interfaceNumberDataPointOrBuilder- Returns:
- The asInt.
-
setAsInt
sfixed64 as_int = 6;- Parameters:
value- The asInt to set.- Returns:
- This builder for chaining.
-
clearAsInt
sfixed64 as_int = 6;- Returns:
- This builder for chaining.
-
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
(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
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
setExemplars
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
addExemplars
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
addExemplars
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
addExemplars
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
addExemplars
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
addAllExemplars
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
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
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
getExemplarsBuilder
(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;- Specified by:
getExemplarsOrBuilderin interfaceNumberDataPointOrBuilder
-
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
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
addExemplarsBuilder
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; -
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- Returns:
- The flags.
-
setFlags
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 8;- Parameters:
value- The flags to set.- Returns:
- This builder for chaining.
-
clearFlags
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 8;- Returns:
- This builder for chaining.
-
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>
-