Class IntHistogramDataPoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IntHistogramDataPoint.Builder>
-
- io.opentelemetry.proto.metrics.v1.IntHistogramDataPoint.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IntHistogramDataPointOrBuilder,Cloneable
- Enclosing class:
- IntHistogramDataPoint
public static final class IntHistogramDataPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IntHistogramDataPoint.Builder> implements IntHistogramDataPointOrBuilder
IntHistogramDataPoint is deprecated; use HistogramDataPoint.
Protobuf typeopentelemetry.proto.metrics.v1.IntHistogramDataPoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntHistogramDataPoint.BuilderaddAllBucketCounts(Iterable<? extends Long> values)bucket_counts is an optional field contains the count values of histogram for each bucket.IntHistogramDataPoint.BuilderaddAllExemplars(Iterable<? extends IntExemplar> values)(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuilderaddAllExplicitBounds(Iterable<? extends Double> values)explicit_bounds specifies buckets with explicitly defined bounds for values.IntHistogramDataPoint.BuilderaddAllLabels(Iterable<? extends StringKeyValue> values)The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuilderaddBucketCounts(long value)bucket_counts is an optional field contains the count values of histogram for each bucket.IntHistogramDataPoint.BuilderaddExemplars(int index, IntExemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuilderaddExemplars(int index, IntExemplar.Builder builderForValue)(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuilderaddExemplars(IntExemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuilderaddExemplars(IntExemplar.Builder builderForValue)(Optional) List of exemplars collected from measurements that were used to form the data pointIntExemplar.BuilderaddExemplarsBuilder()(Optional) List of exemplars collected from measurements that were used to form the data pointIntExemplar.BuilderaddExemplarsBuilder(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuilderaddExplicitBounds(double value)explicit_bounds specifies buckets with explicitly defined bounds for values.IntHistogramDataPoint.BuilderaddLabels(int index, StringKeyValue value)The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuilderaddLabels(int index, StringKeyValue.Builder builderForValue)The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuilderaddLabels(StringKeyValue value)The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuilderaddLabels(StringKeyValue.Builder builderForValue)The set of labels that uniquely identify this timeseries.StringKeyValue.BuilderaddLabelsBuilder()The set of labels that uniquely identify this timeseries.StringKeyValue.BuilderaddLabelsBuilder(int index)The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IntHistogramDataPointbuild()IntHistogramDataPointbuildPartial()IntHistogramDataPoint.Builderclear()IntHistogramDataPoint.BuilderclearBucketCounts()bucket_counts is an optional field contains the count values of histogram for each bucket.IntHistogramDataPoint.BuilderclearCount()count is the number of values in the population.IntHistogramDataPoint.BuilderclearExemplars()(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuilderclearExplicitBounds()explicit_bounds specifies buckets with explicitly defined bounds for values.IntHistogramDataPoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)IntHistogramDataPoint.BuilderclearLabels()The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)IntHistogramDataPoint.BuilderclearStartTimeUnixNano()StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.IntHistogramDataPoint.BuilderclearSum()sum of the values in the population.IntHistogramDataPoint.BuilderclearTimeUnixNano()TimeUnixNano is required, see the detailed comments above Metric.IntHistogramDataPoint.Builderclone()longgetBucketCounts(int index)bucket_counts is an optional field contains the count values of histogram for each bucket.intgetBucketCountsCount()bucket_counts is an optional field contains the count values of histogram for each bucket.List<Long>getBucketCountsList()bucket_counts is an optional field contains the count values of histogram for each bucket.longgetCount()count is the number of values in the population.IntHistogramDataPointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()IntExemplargetExemplars(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointIntExemplar.BuildergetExemplarsBuilder(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointList<IntExemplar.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<IntExemplar>getExemplarsList()(Optional) List of exemplars collected from measurements that were used to form the data pointIntExemplarOrBuildergetExemplarsOrBuilder(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointList<? extends IntExemplarOrBuilder>getExemplarsOrBuilderList()(Optional) List of exemplars collected from measurements that were used to form the data pointdoublegetExplicitBounds(int index)explicit_bounds specifies buckets with explicitly defined bounds for values.intgetExplicitBoundsCount()explicit_bounds specifies buckets with explicitly defined bounds for values.List<Double>getExplicitBoundsList()explicit_bounds specifies buckets with explicitly defined bounds for values.StringKeyValuegetLabels(int index)The set of labels that uniquely identify this timeseries.StringKeyValue.BuildergetLabelsBuilder(int index)The set of labels that uniquely identify this timeseries.List<StringKeyValue.Builder>getLabelsBuilderList()The set of labels that uniquely identify this timeseries.intgetLabelsCount()The set of labels that uniquely identify this timeseries.List<StringKeyValue>getLabelsList()The set of labels that uniquely identify this timeseries.StringKeyValueOrBuildergetLabelsOrBuilder(int index)The set of labels that uniquely identify this timeseries.List<? extends StringKeyValueOrBuilder>getLabelsOrBuilderList()The set of labels that uniquely identify this timeseries.longgetStartTimeUnixNano()StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.longgetSum()sum of the values in the population.longgetTimeUnixNano()TimeUnixNano is required, see the detailed comments above Metric.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()IntHistogramDataPoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)IntHistogramDataPoint.BuildermergeFrom(com.google.protobuf.Message other)IntHistogramDataPoint.BuildermergeFrom(IntHistogramDataPoint other)IntHistogramDataPoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IntHistogramDataPoint.BuilderremoveExemplars(int index)(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuilderremoveLabels(int index)The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuildersetBucketCounts(int index, long value)bucket_counts is an optional field contains the count values of histogram for each bucket.IntHistogramDataPoint.BuildersetCount(long value)count is the number of values in the population.IntHistogramDataPoint.BuildersetExemplars(int index, IntExemplar value)(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuildersetExemplars(int index, IntExemplar.Builder builderForValue)(Optional) List of exemplars collected from measurements that were used to form the data pointIntHistogramDataPoint.BuildersetExplicitBounds(int index, double value)explicit_bounds specifies buckets with explicitly defined bounds for values.IntHistogramDataPoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IntHistogramDataPoint.BuildersetLabels(int index, StringKeyValue value)The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuildersetLabels(int index, StringKeyValue.Builder builderForValue)The set of labels that uniquely identify this timeseries.IntHistogramDataPoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)IntHistogramDataPoint.BuildersetStartTimeUnixNano(long value)StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.IntHistogramDataPoint.BuildersetSum(long value)sum of the values in the population.IntHistogramDataPoint.BuildersetTimeUnixNano(long value)TimeUnixNano is required, see the detailed comments above Metric.IntHistogramDataPoint.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<IntHistogramDataPoint.Builder>
-
clear
public IntHistogramDataPoint.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<IntHistogramDataPoint.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<IntHistogramDataPoint.Builder>
-
getDefaultInstanceForType
public IntHistogramDataPoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public IntHistogramDataPoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IntHistogramDataPoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public IntHistogramDataPoint.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<IntHistogramDataPoint.Builder>
-
setField
public IntHistogramDataPoint.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<IntHistogramDataPoint.Builder>
-
clearField
public IntHistogramDataPoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntHistogramDataPoint.Builder>
-
clearOneof
public IntHistogramDataPoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IntHistogramDataPoint.Builder>
-
setRepeatedField
public IntHistogramDataPoint.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<IntHistogramDataPoint.Builder>
-
addRepeatedField
public IntHistogramDataPoint.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<IntHistogramDataPoint.Builder>
-
mergeFrom
public IntHistogramDataPoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IntHistogramDataPoint.Builder>
-
mergeFrom
public IntHistogramDataPoint.Builder mergeFrom(IntHistogramDataPoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IntHistogramDataPoint.Builder>
-
mergeFrom
public IntHistogramDataPoint.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<IntHistogramDataPoint.Builder>- Throws:
IOException
-
getLabelsList
public List<StringKeyValue> getLabelsList()
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;- Specified by:
getLabelsListin interfaceIntHistogramDataPointOrBuilder
-
getLabelsCount
public int getLabelsCount()
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;- Specified by:
getLabelsCountin interfaceIntHistogramDataPointOrBuilder
-
getLabels
public StringKeyValue getLabels(int index)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;- Specified by:
getLabelsin interfaceIntHistogramDataPointOrBuilder
-
setLabels
public IntHistogramDataPoint.Builder setLabels(int index, StringKeyValue value)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
setLabels
public IntHistogramDataPoint.Builder setLabels(int index, StringKeyValue.Builder builderForValue)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
addLabels
public IntHistogramDataPoint.Builder addLabels(StringKeyValue value)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
addLabels
public IntHistogramDataPoint.Builder addLabels(int index, StringKeyValue value)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
addLabels
public IntHistogramDataPoint.Builder addLabels(StringKeyValue.Builder builderForValue)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
addLabels
public IntHistogramDataPoint.Builder addLabels(int index, StringKeyValue.Builder builderForValue)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
addAllLabels
public IntHistogramDataPoint.Builder addAllLabels(Iterable<? extends StringKeyValue> values)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
clearLabels
public IntHistogramDataPoint.Builder clearLabels()
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
removeLabels
public IntHistogramDataPoint.Builder removeLabels(int index)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
getLabelsBuilder
public StringKeyValue.Builder getLabelsBuilder(int index)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
getLabelsOrBuilder
public StringKeyValueOrBuilder getLabelsOrBuilder(int index)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;- Specified by:
getLabelsOrBuilderin interfaceIntHistogramDataPointOrBuilder
-
getLabelsOrBuilderList
public List<? extends StringKeyValueOrBuilder> getLabelsOrBuilderList()
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;- Specified by:
getLabelsOrBuilderListin interfaceIntHistogramDataPointOrBuilder
-
addLabelsBuilder
public StringKeyValue.Builder addLabelsBuilder()
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
addLabelsBuilder
public StringKeyValue.Builder addLabelsBuilder(int index)
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;
-
getLabelsBuilderList
public List<StringKeyValue.Builder> getLabelsBuilderList()
The set of labels that uniquely identify this timeseries.
repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 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 interfaceIntHistogramDataPointOrBuilder
-
setStartTimeUnixNano
public IntHistogramDataPoint.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 IntHistogramDataPoint.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 interfaceIntHistogramDataPointOrBuilder
-
setTimeUnixNano
public IntHistogramDataPoint.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 IntHistogramDataPoint.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 "count" fields in buckets if a histogram is provided.
fixed64 count = 4;- Specified by:
getCountin interfaceIntHistogramDataPointOrBuilder
-
setCount
public IntHistogramDataPoint.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 "count" fields in buckets if a histogram is provided.
fixed64 count = 4;
-
clearCount
public IntHistogramDataPoint.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 "count" fields in buckets if a histogram is provided.
fixed64 count = 4;
-
getSum
public long getSum()
sum of the values in the population. If count is zero then this field must be zero. This value must be equal to the sum of the "sum" fields in buckets if a histogram is provided.
sfixed64 sum = 5;- Specified by:
getSumin interfaceIntHistogramDataPointOrBuilder
-
setSum
public IntHistogramDataPoint.Builder setSum(long value)
sum of the values in the population. If count is zero then this field must be zero. This value must be equal to the sum of the "sum" fields in buckets if a histogram is provided.
sfixed64 sum = 5;
-
clearSum
public IntHistogramDataPoint.Builder clearSum()
sum of the values in the population. If count is zero then this field must be zero. This value must be equal to the sum of the "sum" fields in buckets if a histogram is provided.
sfixed64 sum = 5;
-
getBucketCountsList
public List<Long> getBucketCountsList()
bucket_counts is an optional field contains the count values of histogram for each bucket. The sum of the bucket_counts must equal the value in the count field. The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array.
repeated fixed64 bucket_counts = 6;- Specified by:
getBucketCountsListin interfaceIntHistogramDataPointOrBuilder
-
getBucketCountsCount
public int getBucketCountsCount()
bucket_counts is an optional field contains the count values of histogram for each bucket. The sum of the bucket_counts must equal the value in the count field. The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array.
repeated fixed64 bucket_counts = 6;- Specified by:
getBucketCountsCountin interfaceIntHistogramDataPointOrBuilder
-
getBucketCounts
public long getBucketCounts(int index)
bucket_counts is an optional field contains the count values of histogram for each bucket. The sum of the bucket_counts must equal the value in the count field. The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array.
repeated fixed64 bucket_counts = 6;- Specified by:
getBucketCountsin interfaceIntHistogramDataPointOrBuilder
-
setBucketCounts
public IntHistogramDataPoint.Builder setBucketCounts(int index, long value)
bucket_counts is an optional field contains the count values of histogram for each bucket. The sum of the bucket_counts must equal the value in the count field. The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array.
repeated fixed64 bucket_counts = 6;
-
addBucketCounts
public IntHistogramDataPoint.Builder addBucketCounts(long value)
bucket_counts is an optional field contains the count values of histogram for each bucket. The sum of the bucket_counts must equal the value in the count field. The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array.
repeated fixed64 bucket_counts = 6;
-
addAllBucketCounts
public IntHistogramDataPoint.Builder addAllBucketCounts(Iterable<? extends Long> values)
bucket_counts is an optional field contains the count values of histogram for each bucket. The sum of the bucket_counts must equal the value in the count field. The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array.
repeated fixed64 bucket_counts = 6;
-
clearBucketCounts
public IntHistogramDataPoint.Builder clearBucketCounts()
bucket_counts is an optional field contains the count values of histogram for each bucket. The sum of the bucket_counts must equal the value in the count field. The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array.
repeated fixed64 bucket_counts = 6;
-
getExplicitBoundsList
public List<Double> getExplicitBoundsList()
explicit_bounds specifies buckets with explicitly defined bounds for values. The boundaries for bucket at index i are: (-infinity, explicit_bounds[i]] for i == 0 (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) The values in the explicit_bounds array must be strictly increasing. Histogram buckets are inclusive of their upper boundary, except the last bucket where the boundary is at infinity. This format is intentionally compatible with the OpenMetrics histogram definition.
repeated double explicit_bounds = 7;- Specified by:
getExplicitBoundsListin interfaceIntHistogramDataPointOrBuilder
-
getExplicitBoundsCount
public int getExplicitBoundsCount()
explicit_bounds specifies buckets with explicitly defined bounds for values. The boundaries for bucket at index i are: (-infinity, explicit_bounds[i]] for i == 0 (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) The values in the explicit_bounds array must be strictly increasing. Histogram buckets are inclusive of their upper boundary, except the last bucket where the boundary is at infinity. This format is intentionally compatible with the OpenMetrics histogram definition.
repeated double explicit_bounds = 7;- Specified by:
getExplicitBoundsCountin interfaceIntHistogramDataPointOrBuilder
-
getExplicitBounds
public double getExplicitBounds(int index)
explicit_bounds specifies buckets with explicitly defined bounds for values. The boundaries for bucket at index i are: (-infinity, explicit_bounds[i]] for i == 0 (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) The values in the explicit_bounds array must be strictly increasing. Histogram buckets are inclusive of their upper boundary, except the last bucket where the boundary is at infinity. This format is intentionally compatible with the OpenMetrics histogram definition.
repeated double explicit_bounds = 7;- Specified by:
getExplicitBoundsin interfaceIntHistogramDataPointOrBuilder
-
setExplicitBounds
public IntHistogramDataPoint.Builder setExplicitBounds(int index, double value)
explicit_bounds specifies buckets with explicitly defined bounds for values. The boundaries for bucket at index i are: (-infinity, explicit_bounds[i]] for i == 0 (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) The values in the explicit_bounds array must be strictly increasing. Histogram buckets are inclusive of their upper boundary, except the last bucket where the boundary is at infinity. This format is intentionally compatible with the OpenMetrics histogram definition.
repeated double explicit_bounds = 7;
-
addExplicitBounds
public IntHistogramDataPoint.Builder addExplicitBounds(double value)
explicit_bounds specifies buckets with explicitly defined bounds for values. The boundaries for bucket at index i are: (-infinity, explicit_bounds[i]] for i == 0 (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) The values in the explicit_bounds array must be strictly increasing. Histogram buckets are inclusive of their upper boundary, except the last bucket where the boundary is at infinity. This format is intentionally compatible with the OpenMetrics histogram definition.
repeated double explicit_bounds = 7;
-
addAllExplicitBounds
public IntHistogramDataPoint.Builder addAllExplicitBounds(Iterable<? extends Double> values)
explicit_bounds specifies buckets with explicitly defined bounds for values. The boundaries for bucket at index i are: (-infinity, explicit_bounds[i]] for i == 0 (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) The values in the explicit_bounds array must be strictly increasing. Histogram buckets are inclusive of their upper boundary, except the last bucket where the boundary is at infinity. This format is intentionally compatible with the OpenMetrics histogram definition.
repeated double explicit_bounds = 7;
-
clearExplicitBounds
public IntHistogramDataPoint.Builder clearExplicitBounds()
explicit_bounds specifies buckets with explicitly defined bounds for values. The boundaries for bucket at index i are: (-infinity, explicit_bounds[i]] for i == 0 (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) The values in the explicit_bounds array must be strictly increasing. Histogram buckets are inclusive of their upper boundary, except the last bucket where the boundary is at infinity. This format is intentionally compatible with the OpenMetrics histogram definition.
repeated double explicit_bounds = 7;
-
getExemplarsList
public List<IntExemplar> getExemplarsList()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;- Specified by:
getExemplarsListin interfaceIntHistogramDataPointOrBuilder
-
getExemplarsCount
public int getExemplarsCount()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;- Specified by:
getExemplarsCountin interfaceIntHistogramDataPointOrBuilder
-
getExemplars
public IntExemplar getExemplars(int index)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;- Specified by:
getExemplarsin interfaceIntHistogramDataPointOrBuilder
-
setExemplars
public IntHistogramDataPoint.Builder setExemplars(int index, IntExemplar value)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
setExemplars
public IntHistogramDataPoint.Builder setExemplars(int index, IntExemplar.Builder builderForValue)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
addExemplars
public IntHistogramDataPoint.Builder addExemplars(IntExemplar value)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
addExemplars
public IntHistogramDataPoint.Builder addExemplars(int index, IntExemplar value)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
addExemplars
public IntHistogramDataPoint.Builder addExemplars(IntExemplar.Builder builderForValue)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
addExemplars
public IntHistogramDataPoint.Builder addExemplars(int index, IntExemplar.Builder builderForValue)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
addAllExemplars
public IntHistogramDataPoint.Builder addAllExemplars(Iterable<? extends IntExemplar> values)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
clearExemplars
public IntHistogramDataPoint.Builder clearExemplars()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
removeExemplars
public IntHistogramDataPoint.Builder removeExemplars(int index)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
getExemplarsBuilder
public IntExemplar.Builder getExemplarsBuilder(int index)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
getExemplarsOrBuilder
public IntExemplarOrBuilder getExemplarsOrBuilder(int index)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;- Specified by:
getExemplarsOrBuilderin interfaceIntHistogramDataPointOrBuilder
-
getExemplarsOrBuilderList
public List<? extends IntExemplarOrBuilder> getExemplarsOrBuilderList()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;- Specified by:
getExemplarsOrBuilderListin interfaceIntHistogramDataPointOrBuilder
-
addExemplarsBuilder
public IntExemplar.Builder addExemplarsBuilder()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
addExemplarsBuilder
public IntExemplar.Builder addExemplarsBuilder(int index)
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
getExemplarsBuilderList
public List<IntExemplar.Builder> getExemplarsBuilderList()
(Optional) List of exemplars collected from measurements that were used to form the data point
repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;
-
setUnknownFields
public final IntHistogramDataPoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IntHistogramDataPoint.Builder>
-
mergeUnknownFields
public final IntHistogramDataPoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IntHistogramDataPoint.Builder>
-
-