Class SummaryDataPoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SummaryDataPoint.Builder>
-
- io.opentelemetry.proto.metrics.v1.SummaryDataPoint.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SummaryDataPointOrBuilder,Cloneable
- Enclosing class:
- SummaryDataPoint
public static final class SummaryDataPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SummaryDataPoint.Builder> implements SummaryDataPointOrBuilder
SummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary metric.
Protobuf typeopentelemetry.proto.metrics.v1.SummaryDataPoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SummaryDataPoint.BuilderaddAllAttributes(Iterable<? extends KeyValue> values)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.SummaryDataPoint.BuilderaddAllQuantileValues(Iterable<? extends SummaryDataPoint.ValueAtQuantile> values)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuilderaddAttributes(int index, KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.SummaryDataPoint.BuilderaddAttributes(int index, KeyValue.Builder builderForValue)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.SummaryDataPoint.BuilderaddAttributes(KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.SummaryDataPoint.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.SummaryDataPoint.BuilderaddQuantileValues(int index, SummaryDataPoint.ValueAtQuantile value)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuilderaddQuantileValues(int index, SummaryDataPoint.ValueAtQuantile.Builder builderForValue)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuilderaddQuantileValues(SummaryDataPoint.ValueAtQuantile value)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuilderaddQuantileValues(SummaryDataPoint.ValueAtQuantile.Builder builderForValue)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.ValueAtQuantile.BuilderaddQuantileValuesBuilder()(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.ValueAtQuantile.BuilderaddQuantileValuesBuilder(int index)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SummaryDataPointbuild()SummaryDataPointbuildPartial()SummaryDataPoint.Builderclear()SummaryDataPoint.BuilderclearAttributes()The set of key/value pairs that uniquely identify the timeseries from where this point belongs.SummaryDataPoint.BuilderclearCount()count is the number of values in the population.SummaryDataPoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SummaryDataPoint.BuilderclearFlags()Flags that apply to this specific data point.SummaryDataPoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SummaryDataPoint.BuilderclearQuantileValues()(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuilderclearStartTimeUnixNano()StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.SummaryDataPoint.BuilderclearSum()sum of the values in the population.SummaryDataPoint.BuilderclearTimeUnixNano()TimeUnixNano is required, see the detailed comments above Metric.SummaryDataPoint.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.SummaryDataPointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetFlags()Flags that apply to this specific data point.SummaryDataPoint.ValueAtQuantilegetQuantileValues(int index)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.ValueAtQuantile.BuildergetQuantileValuesBuilder(int index)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.List<SummaryDataPoint.ValueAtQuantile.Builder>getQuantileValuesBuilderList()(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.intgetQuantileValuesCount()(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.List<SummaryDataPoint.ValueAtQuantile>getQuantileValuesList()(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.ValueAtQuantileOrBuildergetQuantileValuesOrBuilder(int index)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.List<? extends SummaryDataPoint.ValueAtQuantileOrBuilder>getQuantileValuesOrBuilderList()(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SummaryDataPoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SummaryDataPoint.BuildermergeFrom(com.google.protobuf.Message other)SummaryDataPoint.BuildermergeFrom(SummaryDataPoint other)SummaryDataPoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SummaryDataPoint.BuilderremoveAttributes(int index)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.SummaryDataPoint.BuilderremoveQuantileValues(int index)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuildersetAttributes(int index, KeyValue value)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.SummaryDataPoint.BuildersetAttributes(int index, KeyValue.Builder builderForValue)The set of key/value pairs that uniquely identify the timeseries from where this point belongs.SummaryDataPoint.BuildersetCount(long value)count is the number of values in the population.SummaryDataPoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SummaryDataPoint.BuildersetFlags(int value)Flags that apply to this specific data point.SummaryDataPoint.BuildersetQuantileValues(int index, SummaryDataPoint.ValueAtQuantile value)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuildersetQuantileValues(int index, SummaryDataPoint.ValueAtQuantile.Builder builderForValue)(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.SummaryDataPoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SummaryDataPoint.BuildersetStartTimeUnixNano(long value)StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.SummaryDataPoint.BuildersetSum(double value)sum of the values in the population.SummaryDataPoint.BuildersetTimeUnixNano(long value)TimeUnixNano is required, see the detailed comments above Metric.SummaryDataPoint.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, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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<SummaryDataPoint.Builder>
-
clear
public SummaryDataPoint.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<SummaryDataPoint.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<SummaryDataPoint.Builder>
-
getDefaultInstanceForType
public SummaryDataPoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SummaryDataPoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SummaryDataPoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SummaryDataPoint.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<SummaryDataPoint.Builder>
-
setField
public SummaryDataPoint.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<SummaryDataPoint.Builder>
-
clearField
public SummaryDataPoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SummaryDataPoint.Builder>
-
clearOneof
public SummaryDataPoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SummaryDataPoint.Builder>
-
setRepeatedField
public SummaryDataPoint.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<SummaryDataPoint.Builder>
-
addRepeatedField
public SummaryDataPoint.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<SummaryDataPoint.Builder>
-
mergeFrom
public SummaryDataPoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SummaryDataPoint.Builder>
-
mergeFrom
public SummaryDataPoint.Builder mergeFrom(SummaryDataPoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SummaryDataPoint.Builder>
-
mergeFrom
public SummaryDataPoint.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<SummaryDataPoint.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). 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 interfaceSummaryDataPointOrBuilder
-
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 interfaceSummaryDataPointOrBuilder
-
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). 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 interfaceSummaryDataPointOrBuilder
-
setAttributes
public SummaryDataPoint.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). 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
public SummaryDataPoint.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). 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
public SummaryDataPoint.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). 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
public SummaryDataPoint.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). 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
public SummaryDataPoint.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). 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
public SummaryDataPoint.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). 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
public SummaryDataPoint.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). 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
public SummaryDataPoint.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). 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
public SummaryDataPoint.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). 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
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). 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
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). 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 interfaceSummaryDataPointOrBuilder
-
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). 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 interfaceSummaryDataPointOrBuilder
-
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). 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
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). 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
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). 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 interfaceSummaryDataPointOrBuilder- Returns:
- The startTimeUnixNano.
-
setStartTimeUnixNano
public SummaryDataPoint.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;- Parameters:
value- The startTimeUnixNano to set.- Returns:
- This builder for chaining.
-
clearStartTimeUnixNano
public SummaryDataPoint.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;- 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 interfaceSummaryDataPointOrBuilder- Returns:
- The timeUnixNano.
-
setTimeUnixNano
public SummaryDataPoint.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;- Parameters:
value- The timeUnixNano to set.- Returns:
- This builder for chaining.
-
clearTimeUnixNano
public SummaryDataPoint.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;- Returns:
- This builder for chaining.
-
getCount
public long getCount()
count is the number of values in the population. Must be non-negative.
fixed64 count = 4;- Specified by:
getCountin interfaceSummaryDataPointOrBuilder- Returns:
- The count.
-
setCount
public SummaryDataPoint.Builder setCount(long value)
count is the number of values in the population. Must be non-negative.
fixed64 count = 4;- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
clearCount
public SummaryDataPoint.Builder clearCount()
count is the number of values in the population. Must be non-negative.
fixed64 count = 4;- Returns:
- This builder for chaining.
-
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#summary
double sum = 5;- Specified by:
getSumin interfaceSummaryDataPointOrBuilder- Returns:
- The sum.
-
setSum
public SummaryDataPoint.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#summary
double sum = 5;- Parameters:
value- The sum to set.- Returns:
- This builder for chaining.
-
clearSum
public SummaryDataPoint.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#summary
double sum = 5;- Returns:
- This builder for chaining.
-
getQuantileValuesList
public List<SummaryDataPoint.ValueAtQuantile> getQuantileValuesList()
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;- Specified by:
getQuantileValuesListin interfaceSummaryDataPointOrBuilder
-
getQuantileValuesCount
public int getQuantileValuesCount()
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;- Specified by:
getQuantileValuesCountin interfaceSummaryDataPointOrBuilder
-
getQuantileValues
public SummaryDataPoint.ValueAtQuantile getQuantileValues(int index)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;- Specified by:
getQuantileValuesin interfaceSummaryDataPointOrBuilder
-
setQuantileValues
public SummaryDataPoint.Builder setQuantileValues(int index, SummaryDataPoint.ValueAtQuantile value)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
setQuantileValues
public SummaryDataPoint.Builder setQuantileValues(int index, SummaryDataPoint.ValueAtQuantile.Builder builderForValue)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
addQuantileValues
public SummaryDataPoint.Builder addQuantileValues(SummaryDataPoint.ValueAtQuantile value)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
addQuantileValues
public SummaryDataPoint.Builder addQuantileValues(int index, SummaryDataPoint.ValueAtQuantile value)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
addQuantileValues
public SummaryDataPoint.Builder addQuantileValues(SummaryDataPoint.ValueAtQuantile.Builder builderForValue)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
addQuantileValues
public SummaryDataPoint.Builder addQuantileValues(int index, SummaryDataPoint.ValueAtQuantile.Builder builderForValue)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
addAllQuantileValues
public SummaryDataPoint.Builder addAllQuantileValues(Iterable<? extends SummaryDataPoint.ValueAtQuantile> values)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
clearQuantileValues
public SummaryDataPoint.Builder clearQuantileValues()
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
removeQuantileValues
public SummaryDataPoint.Builder removeQuantileValues(int index)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
getQuantileValuesBuilder
public SummaryDataPoint.ValueAtQuantile.Builder getQuantileValuesBuilder(int index)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
getQuantileValuesOrBuilder
public SummaryDataPoint.ValueAtQuantileOrBuilder getQuantileValuesOrBuilder(int index)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;- Specified by:
getQuantileValuesOrBuilderin interfaceSummaryDataPointOrBuilder
-
getQuantileValuesOrBuilderList
public List<? extends SummaryDataPoint.ValueAtQuantileOrBuilder> getQuantileValuesOrBuilderList()
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;- Specified by:
getQuantileValuesOrBuilderListin interfaceSummaryDataPointOrBuilder
-
addQuantileValuesBuilder
public SummaryDataPoint.ValueAtQuantile.Builder addQuantileValuesBuilder()
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
addQuantileValuesBuilder
public SummaryDataPoint.ValueAtQuantile.Builder addQuantileValuesBuilder(int index)
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
getQuantileValuesBuilderList
public List<SummaryDataPoint.ValueAtQuantile.Builder> getQuantileValuesBuilderList()
(Optional) list of values at different quantiles of the distribution calculated from the current snapshot. The quantiles must be strictly increasing.
repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;
-
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 interfaceSummaryDataPointOrBuilder- Returns:
- The flags.
-
setFlags
public SummaryDataPoint.Builder setFlags(int value)
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
public SummaryDataPoint.Builder 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 SummaryDataPoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SummaryDataPoint.Builder>
-
mergeUnknownFields
public final SummaryDataPoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SummaryDataPoint.Builder>
-
-