Class SummaryDataPoint
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.opentelemetry.proto.metrics.v1.SummaryDataPoint
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SummaryDataPointOrBuilder,Serializable
public final class SummaryDataPoint
extends com.google.protobuf.GeneratedMessageV3
implements SummaryDataPointOrBuilder
SummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary metric.Protobuf type
opentelemetry.proto.metrics.v1.SummaryDataPoint- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary metric.static final classRepresents the value at a given quantile of a distribution.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttributes(int index) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.intThe set of key/value pairs that uniquely identify the timeseries from where this point belongs.The set of key/value pairs that uniquely identify the timeseries from where this point belongs.getAttributesOrBuilder(int index) The set of key/value pairs that uniquely identify the timeseries from where this point belongs.List<? extends KeyValueOrBuilder>The set of key/value pairs that uniquely identify the timeseries from where this point belongs.longgetCount()count is the number of values in the population.static SummaryDataPointstatic final com.google.protobuf.Descriptors.DescriptorintgetFlags()Flags that apply to this specific data point.com.google.protobuf.Parser<SummaryDataPoint>getQuantileValues(int index) (Optional) list of values at different quantiles of the distribution calculated from the current snapshot.int(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.getQuantileValuesOrBuilder(int index) (Optional) list of values at different quantiles of the distribution calculated from the current snapshot.List<? extends SummaryDataPoint.ValueAtQuantileOrBuilder>(Optional) list of values at different quantiles of the distribution calculated from the current snapshot.intlongStartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.doublegetSum()sum of the values in the population.longTimeUnixNano is required, see the detailed comments above Metric.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic SummaryDataPoint.Builderstatic SummaryDataPoint.BuildernewBuilder(SummaryDataPoint prototype) protected SummaryDataPoint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SummaryDataPointparseDelimitedFrom(InputStream input) static SummaryDataPointparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SummaryDataPointparseFrom(byte[] data) static SummaryDataPointparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SummaryDataPointparseFrom(com.google.protobuf.ByteString data) static SummaryDataPointparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SummaryDataPointparseFrom(com.google.protobuf.CodedInputStream input) static SummaryDataPointparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SummaryDataPointparseFrom(InputStream input) static SummaryDataPointparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SummaryDataPointparseFrom(ByteBuffer data) static SummaryDataPointparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SummaryDataPoint>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
START_TIME_UNIX_NANO_FIELD_NUMBER
public static final int START_TIME_UNIX_NANO_FIELD_NUMBER- See Also:
-
TIME_UNIX_NANO_FIELD_NUMBER
public static final int TIME_UNIX_NANO_FIELD_NUMBER- See Also:
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER- See Also:
-
SUM_FIELD_NUMBER
public static final int SUM_FIELD_NUMBER- See Also:
-
QUANTILE_VALUES_FIELD_NUMBER
public static final int QUANTILE_VALUES_FIELD_NUMBER- See Also:
-
FLAGS_FIELD_NUMBER
public static final int FLAGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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
-
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
-
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
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
-
getAttributesOrBuilder
The set of key/value pairs that uniquely identify the timeseries from where this point belongs. The list may be empty (may contain 0 elements). Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;- Specified by:
getAttributesOrBuilderin interfaceSummaryDataPointOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
(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
-
getQuantileValuesOrBuilder
(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
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SummaryDataPoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryDataPoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryDataPoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryDataPoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryDataPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryDataPoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SummaryDataPoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SummaryDataPoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SummaryDataPoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SummaryDataPoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SummaryDataPoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-