Class ExponentialHistogramDataPoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExponentialHistogramDataPoint.Builder>
-
- io.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExponentialHistogramDataPointOrBuilder,Cloneable
- Enclosing class:
- ExponentialHistogramDataPoint
public static final class ExponentialHistogramDataPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExponentialHistogramDataPoint.Builder> implements ExponentialHistogramDataPointOrBuilder
ExponentialHistogramDataPoint is a single data point in a timeseries that describes the time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains summary statistics for a population of values, it may optionally contain the distribution of those values across a set of buckets.
Protobuf typeopentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExponentialHistogramDataPoint.BuilderaddAllAttributes(Iterable<? extends KeyValue> values)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExponentialHistogramDataPoint.BuilderaddAllExemplars(Iterable<? extends Exemplar> values)(Optional) List of exemplars collected from measurements that were used to form the data pointExponentialHistogramDataPoint.BuilderaddAttributes(int index, KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExponentialHistogramDataPoint.BuilderaddAttributes(int index, KeyValue.Builder builderForValue)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExponentialHistogramDataPoint.BuilderaddAttributes(KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExponentialHistogramDataPoint.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.ExponentialHistogramDataPoint.BuilderaddExemplars(int index, Exemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointExponentialHistogramDataPoint.BuilderaddExemplars(int index, Exemplar.Builder builderForValue)(Optional) List of exemplars collected from measurements that were used to form the data pointExponentialHistogramDataPoint.BuilderaddExemplars(Exemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointExponentialHistogramDataPoint.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 pointExponentialHistogramDataPoint.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExponentialHistogramDataPointbuild()ExponentialHistogramDataPointbuildPartial()ExponentialHistogramDataPoint.Builderclear()ExponentialHistogramDataPoint.BuilderclearAttributes()The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExponentialHistogramDataPoint.BuilderclearCount()count is the number of values in the population.ExponentialHistogramDataPoint.BuilderclearExemplars()(Optional) List of exemplars collected from measurements that were used to form the data pointExponentialHistogramDataPoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExponentialHistogramDataPoint.BuilderclearFlags()Flags that apply to this specific data point.ExponentialHistogramDataPoint.BuilderclearNegative()negative carries the negative range of exponential bucket counts.ExponentialHistogramDataPoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExponentialHistogramDataPoint.BuilderclearPositive()positive carries the positive range of exponential bucket counts.ExponentialHistogramDataPoint.BuilderclearScale()scale describes the resolution of the histogram.ExponentialHistogramDataPoint.BuilderclearStartTimeUnixNano()StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.ExponentialHistogramDataPoint.BuilderclearSum()sum of the values in the population.ExponentialHistogramDataPoint.BuilderclearTimeUnixNano()TimeUnixNano is required, see the detailed comments above Metric.ExponentialHistogramDataPoint.BuilderclearZeroCount()zero_count is the count of values that are either exactly zero or within the region considered zero by the instrumentation at the tolerated degree of precision.ExponentialHistogramDataPoint.Builderclone()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.longgetCount()count is the number of values in the population.ExponentialHistogramDataPointgetDefaultInstanceForType()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.ExponentialHistogramDataPoint.BucketsgetNegative()negative carries the negative range of exponential bucket counts.ExponentialHistogramDataPoint.Buckets.BuildergetNegativeBuilder()negative carries the negative range of exponential bucket counts.ExponentialHistogramDataPoint.BucketsOrBuildergetNegativeOrBuilder()negative carries the negative range of exponential bucket counts.ExponentialHistogramDataPoint.BucketsgetPositive()positive carries the positive range of exponential bucket counts.ExponentialHistogramDataPoint.Buckets.BuildergetPositiveBuilder()positive carries the positive range of exponential bucket counts.ExponentialHistogramDataPoint.BucketsOrBuildergetPositiveOrBuilder()positive carries the positive range of exponential bucket counts.intgetScale()scale describes the resolution of the histogram.longgetStartTimeUnixNano()StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.doublegetSum()sum of the values in the population.longgetTimeUnixNano()TimeUnixNano is required, see the detailed comments above Metric.longgetZeroCount()zero_count is the count of values that are either exactly zero or within the region considered zero by the instrumentation at the tolerated degree of precision.booleanhasNegative()negative carries the negative range of exponential bucket counts.booleanhasPositive()positive carries the positive range of exponential bucket counts.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExponentialHistogramDataPoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExponentialHistogramDataPoint.BuildermergeFrom(com.google.protobuf.Message other)ExponentialHistogramDataPoint.BuildermergeFrom(ExponentialHistogramDataPoint other)ExponentialHistogramDataPoint.BuildermergeNegative(ExponentialHistogramDataPoint.Buckets value)negative carries the negative range of exponential bucket counts.ExponentialHistogramDataPoint.BuildermergePositive(ExponentialHistogramDataPoint.Buckets value)positive carries the positive range of exponential bucket counts.ExponentialHistogramDataPoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExponentialHistogramDataPoint.BuilderremoveAttributes(int index)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExponentialHistogramDataPoint.BuilderremoveExemplars(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointExponentialHistogramDataPoint.BuildersetAttributes(int index, KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExponentialHistogramDataPoint.BuildersetAttributes(int index, KeyValue.Builder builderForValue)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.ExponentialHistogramDataPoint.BuildersetCount(long value)count is the number of values in the population.ExponentialHistogramDataPoint.BuildersetExemplars(int index, Exemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointExponentialHistogramDataPoint.BuildersetExemplars(int index, Exemplar.Builder builderForValue)(Optional) List of exemplars collected from measurements that were used to form the data pointExponentialHistogramDataPoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExponentialHistogramDataPoint.BuildersetFlags(int value)Flags that apply to this specific data point.ExponentialHistogramDataPoint.BuildersetNegative(ExponentialHistogramDataPoint.Buckets value)negative carries the negative range of exponential bucket counts.ExponentialHistogramDataPoint.BuildersetNegative(ExponentialHistogramDataPoint.Buckets.Builder builderForValue)negative carries the negative range of exponential bucket counts.ExponentialHistogramDataPoint.BuildersetPositive(ExponentialHistogramDataPoint.Buckets value)positive carries the positive range of exponential bucket counts.ExponentialHistogramDataPoint.BuildersetPositive(ExponentialHistogramDataPoint.Buckets.Builder builderForValue)positive carries the positive range of exponential bucket counts.ExponentialHistogramDataPoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExponentialHistogramDataPoint.BuildersetScale(int value)scale describes the resolution of the histogram.ExponentialHistogramDataPoint.BuildersetStartTimeUnixNano(long value)StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.ExponentialHistogramDataPoint.BuildersetSum(double value)sum of the values in the population.ExponentialHistogramDataPoint.BuildersetTimeUnixNano(long value)TimeUnixNano is required, see the detailed comments above Metric.ExponentialHistogramDataPoint.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExponentialHistogramDataPoint.BuildersetZeroCount(long value)zero_count is the count of values that are either exactly zero or within the region considered zero by the instrumentation at the tolerated degree of precision.-
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<ExponentialHistogramDataPoint.Builder>
-
clear
public ExponentialHistogramDataPoint.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<ExponentialHistogramDataPoint.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<ExponentialHistogramDataPoint.Builder>
-
getDefaultInstanceForType
public ExponentialHistogramDataPoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExponentialHistogramDataPoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExponentialHistogramDataPoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExponentialHistogramDataPoint.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<ExponentialHistogramDataPoint.Builder>
-
setField
public ExponentialHistogramDataPoint.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<ExponentialHistogramDataPoint.Builder>
-
clearField
public ExponentialHistogramDataPoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExponentialHistogramDataPoint.Builder>
-
clearOneof
public ExponentialHistogramDataPoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExponentialHistogramDataPoint.Builder>
-
setRepeatedField
public ExponentialHistogramDataPoint.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<ExponentialHistogramDataPoint.Builder>
-
addRepeatedField
public ExponentialHistogramDataPoint.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<ExponentialHistogramDataPoint.Builder>
-
mergeFrom
public ExponentialHistogramDataPoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExponentialHistogramDataPoint.Builder>
-
mergeFrom
public ExponentialHistogramDataPoint.Builder mergeFrom(ExponentialHistogramDataPoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExponentialHistogramDataPoint.Builder>
-
mergeFrom
public ExponentialHistogramDataPoint.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<ExponentialHistogramDataPoint.Builder>- Throws:
IOException
-
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 = 1;- Specified by:
getAttributesListin interfaceExponentialHistogramDataPointOrBuilder
-
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 = 1;- Specified by:
getAttributesCountin interfaceExponentialHistogramDataPointOrBuilder
-
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 = 1;- Specified by:
getAttributesin interfaceExponentialHistogramDataPointOrBuilder
-
setAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
setAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
addAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
addAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
addAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
addAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
addAllAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
clearAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
removeAttributes
public ExponentialHistogramDataPoint.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 = 1;
-
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 = 1;
-
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 = 1;- Specified by:
getAttributesOrBuilderin interfaceExponentialHistogramDataPointOrBuilder
-
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 = 1;- Specified by:
getAttributesOrBuilderListin interfaceExponentialHistogramDataPointOrBuilder
-
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 = 1;
-
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 = 1;
-
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 = 1;
-
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 interfaceExponentialHistogramDataPointOrBuilder
-
setStartTimeUnixNano
public ExponentialHistogramDataPoint.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 ExponentialHistogramDataPoint.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 interfaceExponentialHistogramDataPointOrBuilder
-
setTimeUnixNano
public ExponentialHistogramDataPoint.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 ExponentialHistogramDataPoint.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;
-
getCount
public long getCount()
count is the number of values in the population. Must be non-negative. This value must be equal to the sum of the "bucket_counts" values in the positive and negative Buckets plus the "zero_count" field.
fixed64 count = 4;- Specified by:
getCountin interfaceExponentialHistogramDataPointOrBuilder
-
setCount
public ExponentialHistogramDataPoint.Builder setCount(long value)
count is the number of values in the population. Must be non-negative. This value must be equal to the sum of the "bucket_counts" values in the positive and negative Buckets plus the "zero_count" field.
fixed64 count = 4;
-
clearCount
public ExponentialHistogramDataPoint.Builder clearCount()
count is the number of values in the population. Must be non-negative. This value must be equal to the sum of the "bucket_counts" values in the positive and negative Buckets plus the "zero_count" field.
fixed64 count = 4;
-
getSum
public double getSum()
sum of the values in the population. If count is zero then this field must be zero. Note: Sum should only be filled out when measuring non-negative discrete events, and is assumed to be monotonic over the values of these events. Negative events *can* be recorded, but sum should not be filled out when doing so. This is specifically to enforce compatibility w/ OpenMetrics, see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
double sum = 5;- Specified by:
getSumin interfaceExponentialHistogramDataPointOrBuilder
-
setSum
public ExponentialHistogramDataPoint.Builder setSum(double value)
sum of the values in the population. If count is zero then this field must be zero. Note: Sum should only be filled out when measuring non-negative discrete events, and is assumed to be monotonic over the values of these events. Negative events *can* be recorded, but sum should not be filled out when doing so. This is specifically to enforce compatibility w/ OpenMetrics, see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
double sum = 5;
-
clearSum
public ExponentialHistogramDataPoint.Builder clearSum()
sum of the values in the population. If count is zero then this field must be zero. Note: Sum should only be filled out when measuring non-negative discrete events, and is assumed to be monotonic over the values of these events. Negative events *can* be recorded, but sum should not be filled out when doing so. This is specifically to enforce compatibility w/ OpenMetrics, see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
double sum = 5;
-
getScale
public int getScale()
scale describes the resolution of the histogram. Boundaries are located at powers of the base, where: base = (2^(2^-scale)) The histogram bucket identified by `index`, a signed integer, contains values that are greater than or equal to (base^index) and less than (base^(index+1)). The positive and negative ranges of the histogram are expressed separately. Negative values are mapped by their absolute value into the negative range using the same scale as the positive range. scale is not restricted by the protocol, as the permissible values depend on the range of the data.
sint32 scale = 6;- Specified by:
getScalein interfaceExponentialHistogramDataPointOrBuilder
-
setScale
public ExponentialHistogramDataPoint.Builder setScale(int value)
scale describes the resolution of the histogram. Boundaries are located at powers of the base, where: base = (2^(2^-scale)) The histogram bucket identified by `index`, a signed integer, contains values that are greater than or equal to (base^index) and less than (base^(index+1)). The positive and negative ranges of the histogram are expressed separately. Negative values are mapped by their absolute value into the negative range using the same scale as the positive range. scale is not restricted by the protocol, as the permissible values depend on the range of the data.
sint32 scale = 6;
-
clearScale
public ExponentialHistogramDataPoint.Builder clearScale()
scale describes the resolution of the histogram. Boundaries are located at powers of the base, where: base = (2^(2^-scale)) The histogram bucket identified by `index`, a signed integer, contains values that are greater than or equal to (base^index) and less than (base^(index+1)). The positive and negative ranges of the histogram are expressed separately. Negative values are mapped by their absolute value into the negative range using the same scale as the positive range. scale is not restricted by the protocol, as the permissible values depend on the range of the data.
sint32 scale = 6;
-
getZeroCount
public long getZeroCount()
zero_count is the count of values that are either exactly zero or within the region considered zero by the instrumentation at the tolerated degree of precision. This bucket stores values that cannot be expressed using the standard exponential formula as well as values that have been rounded to zero. Implementations MAY consider the zero bucket to have probability mass equal to (zero_count / count).
fixed64 zero_count = 7;- Specified by:
getZeroCountin interfaceExponentialHistogramDataPointOrBuilder
-
setZeroCount
public ExponentialHistogramDataPoint.Builder setZeroCount(long value)
zero_count is the count of values that are either exactly zero or within the region considered zero by the instrumentation at the tolerated degree of precision. This bucket stores values that cannot be expressed using the standard exponential formula as well as values that have been rounded to zero. Implementations MAY consider the zero bucket to have probability mass equal to (zero_count / count).
fixed64 zero_count = 7;
-
clearZeroCount
public ExponentialHistogramDataPoint.Builder clearZeroCount()
zero_count is the count of values that are either exactly zero or within the region considered zero by the instrumentation at the tolerated degree of precision. This bucket stores values that cannot be expressed using the standard exponential formula as well as values that have been rounded to zero. Implementations MAY consider the zero bucket to have probability mass equal to (zero_count / count).
fixed64 zero_count = 7;
-
hasPositive
public boolean hasPositive()
positive carries the positive range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;- Specified by:
hasPositivein interfaceExponentialHistogramDataPointOrBuilder
-
getPositive
public ExponentialHistogramDataPoint.Buckets getPositive()
positive carries the positive range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;- Specified by:
getPositivein interfaceExponentialHistogramDataPointOrBuilder
-
setPositive
public ExponentialHistogramDataPoint.Builder setPositive(ExponentialHistogramDataPoint.Buckets value)
positive carries the positive range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;
-
setPositive
public ExponentialHistogramDataPoint.Builder setPositive(ExponentialHistogramDataPoint.Buckets.Builder builderForValue)
positive carries the positive range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;
-
mergePositive
public ExponentialHistogramDataPoint.Builder mergePositive(ExponentialHistogramDataPoint.Buckets value)
positive carries the positive range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;
-
clearPositive
public ExponentialHistogramDataPoint.Builder clearPositive()
positive carries the positive range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;
-
getPositiveBuilder
public ExponentialHistogramDataPoint.Buckets.Builder getPositiveBuilder()
positive carries the positive range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;
-
getPositiveOrBuilder
public ExponentialHistogramDataPoint.BucketsOrBuilder getPositiveOrBuilder()
positive carries the positive range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;- Specified by:
getPositiveOrBuilderin interfaceExponentialHistogramDataPointOrBuilder
-
hasNegative
public boolean hasNegative()
negative carries the negative range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;- Specified by:
hasNegativein interfaceExponentialHistogramDataPointOrBuilder
-
getNegative
public ExponentialHistogramDataPoint.Buckets getNegative()
negative carries the negative range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;- Specified by:
getNegativein interfaceExponentialHistogramDataPointOrBuilder
-
setNegative
public ExponentialHistogramDataPoint.Builder setNegative(ExponentialHistogramDataPoint.Buckets value)
negative carries the negative range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;
-
setNegative
public ExponentialHistogramDataPoint.Builder setNegative(ExponentialHistogramDataPoint.Buckets.Builder builderForValue)
negative carries the negative range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;
-
mergeNegative
public ExponentialHistogramDataPoint.Builder mergeNegative(ExponentialHistogramDataPoint.Buckets value)
negative carries the negative range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;
-
clearNegative
public ExponentialHistogramDataPoint.Builder clearNegative()
negative carries the negative range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;
-
getNegativeBuilder
public ExponentialHistogramDataPoint.Buckets.Builder getNegativeBuilder()
negative carries the negative range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;
-
getNegativeOrBuilder
public ExponentialHistogramDataPoint.BucketsOrBuilder getNegativeOrBuilder()
negative carries the negative range of exponential bucket counts.
.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;- Specified by:
getNegativeOrBuilderin interfaceExponentialHistogramDataPointOrBuilder
-
getFlags
public int getFlags()
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 10;- Specified by:
getFlagsin interfaceExponentialHistogramDataPointOrBuilder
-
setFlags
public ExponentialHistogramDataPoint.Builder setFlags(int value)
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 10;
-
clearFlags
public ExponentialHistogramDataPoint.Builder clearFlags()
Flags that apply to this specific data point. See DataPointFlags for the available flags and their meaning.
uint32 flags = 10;
-
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 = 11;- Specified by:
getExemplarsListin interfaceExponentialHistogramDataPointOrBuilder
-
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 = 11;- Specified by:
getExemplarsCountin interfaceExponentialHistogramDataPointOrBuilder
-
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 = 11;- Specified by:
getExemplarsin interfaceExponentialHistogramDataPointOrBuilder
-
setExemplars
public ExponentialHistogramDataPoint.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 = 11;
-
setExemplars
public ExponentialHistogramDataPoint.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 = 11;
-
addExemplars
public ExponentialHistogramDataPoint.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 = 11;
-
addExemplars
public ExponentialHistogramDataPoint.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 = 11;
-
addExemplars
public ExponentialHistogramDataPoint.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 = 11;
-
addExemplars
public ExponentialHistogramDataPoint.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 = 11;
-
addAllExemplars
public ExponentialHistogramDataPoint.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 = 11;
-
clearExemplars
public ExponentialHistogramDataPoint.Builder clearExemplars()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11;
-
removeExemplars
public ExponentialHistogramDataPoint.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 = 11;
-
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 = 11;
-
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 = 11;- Specified by:
getExemplarsOrBuilderin interfaceExponentialHistogramDataPointOrBuilder
-
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 = 11;- Specified by:
getExemplarsOrBuilderListin interfaceExponentialHistogramDataPointOrBuilder
-
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 = 11;
-
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 = 11;
-
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 = 11;
-
setUnknownFields
public final ExponentialHistogramDataPoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExponentialHistogramDataPoint.Builder>
-
mergeUnknownFields
public final ExponentialHistogramDataPoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExponentialHistogramDataPoint.Builder>
-
-