Package io.opencensus.proto.metrics.v1
Class SummaryValue.Snapshot
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.opencensus.proto.metrics.v1.SummaryValue.Snapshot
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SummaryValue.SnapshotOrBuilder,Serializable
- Enclosing class:
- SummaryValue
public static final class SummaryValue.Snapshot extends com.google.protobuf.GeneratedMessageV3 implements SummaryValue.SnapshotOrBuilder
The values in this message can be reset at arbitrary unknown times, with the requirement that all of them are reset at the same time.
Protobuf typeopencensus.proto.metrics.v1.SummaryValue.Snapshot- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSummaryValue.Snapshot.BuilderThe values in this message can be reset at arbitrary unknown times, with the requirement that all of them are reset at the same time.static classSummaryValue.Snapshot.ValueAtPercentileRepresents the value at a given percentile of a distribution.static interfaceSummaryValue.Snapshot.ValueAtPercentileOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOUNT_FIELD_NUMBERstatic intPERCENTILE_VALUES_FIELD_NUMBERstatic intSUM_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.Int64ValuegetCount()The number of values in the snapshot.com.google.protobuf.Int64ValueOrBuildergetCountOrBuilder()The number of values in the snapshot.static SummaryValue.SnapshotgetDefaultInstance()SummaryValue.SnapshotgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<SummaryValue.Snapshot>getParserForType()SummaryValue.Snapshot.ValueAtPercentilegetPercentileValues(int index)A list of values at different percentiles of the distribution calculated from the current snapshot.intgetPercentileValuesCount()A list of values at different percentiles of the distribution calculated from the current snapshot.List<SummaryValue.Snapshot.ValueAtPercentile>getPercentileValuesList()A list of values at different percentiles of the distribution calculated from the current snapshot.SummaryValue.Snapshot.ValueAtPercentileOrBuildergetPercentileValuesOrBuilder(int index)A list of values at different percentiles of the distribution calculated from the current snapshot.List<? extends SummaryValue.Snapshot.ValueAtPercentileOrBuilder>getPercentileValuesOrBuilderList()A list of values at different percentiles of the distribution calculated from the current snapshot.intgetSerializedSize()com.google.protobuf.DoubleValuegetSum()The sum of values in the snapshot.com.google.protobuf.DoubleValueOrBuildergetSumOrBuilder()The sum of values in the snapshot.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCount()The number of values in the snapshot.inthashCode()booleanhasSum()The sum of values in the snapshot.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SummaryValue.Snapshot.BuildernewBuilder()static SummaryValue.Snapshot.BuildernewBuilder(SummaryValue.Snapshot prototype)SummaryValue.Snapshot.BuildernewBuilderForType()protected SummaryValue.Snapshot.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SummaryValue.SnapshotparseDelimitedFrom(InputStream input)static SummaryValue.SnapshotparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SummaryValue.SnapshotparseFrom(byte[] data)static SummaryValue.SnapshotparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SummaryValue.SnapshotparseFrom(com.google.protobuf.ByteString data)static SummaryValue.SnapshotparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SummaryValue.SnapshotparseFrom(com.google.protobuf.CodedInputStream input)static SummaryValue.SnapshotparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SummaryValue.SnapshotparseFrom(InputStream input)static SummaryValue.SnapshotparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SummaryValue.SnapshotparseFrom(ByteBuffer data)static SummaryValue.SnapshotparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SummaryValue.Snapshot>parser()SummaryValue.Snapshot.BuildertoBuilder()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, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUM_FIELD_NUMBER
public static final int SUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERCENTILE_VALUES_FIELD_NUMBER
public static final int PERCENTILE_VALUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasCount
public boolean hasCount()
The number of values in the snapshot. Optional since some systems don't expose this.
.google.protobuf.Int64Value count = 1;- Specified by:
hasCountin interfaceSummaryValue.SnapshotOrBuilder- Returns:
- Whether the count field is set.
-
getCount
public com.google.protobuf.Int64Value getCount()
The number of values in the snapshot. Optional since some systems don't expose this.
.google.protobuf.Int64Value count = 1;- Specified by:
getCountin interfaceSummaryValue.SnapshotOrBuilder- Returns:
- The count.
-
getCountOrBuilder
public com.google.protobuf.Int64ValueOrBuilder getCountOrBuilder()
The number of values in the snapshot. Optional since some systems don't expose this.
.google.protobuf.Int64Value count = 1;- Specified by:
getCountOrBuilderin interfaceSummaryValue.SnapshotOrBuilder
-
hasSum
public boolean hasSum()
The sum of values in the snapshot. Optional since some systems don't expose this. If count is zero then this field must be zero or not set (if not supported).
.google.protobuf.DoubleValue sum = 2;- Specified by:
hasSumin interfaceSummaryValue.SnapshotOrBuilder- Returns:
- Whether the sum field is set.
-
getSum
public com.google.protobuf.DoubleValue getSum()
The sum of values in the snapshot. Optional since some systems don't expose this. If count is zero then this field must be zero or not set (if not supported).
.google.protobuf.DoubleValue sum = 2;- Specified by:
getSumin interfaceSummaryValue.SnapshotOrBuilder- Returns:
- The sum.
-
getSumOrBuilder
public com.google.protobuf.DoubleValueOrBuilder getSumOrBuilder()
The sum of values in the snapshot. Optional since some systems don't expose this. If count is zero then this field must be zero or not set (if not supported).
.google.protobuf.DoubleValue sum = 2;- Specified by:
getSumOrBuilderin interfaceSummaryValue.SnapshotOrBuilder
-
getPercentileValuesList
public List<SummaryValue.Snapshot.ValueAtPercentile> getPercentileValuesList()
A list of values at different percentiles of the distribution calculated from the current snapshot. The percentiles must be strictly increasing.
repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;- Specified by:
getPercentileValuesListin interfaceSummaryValue.SnapshotOrBuilder
-
getPercentileValuesOrBuilderList
public List<? extends SummaryValue.Snapshot.ValueAtPercentileOrBuilder> getPercentileValuesOrBuilderList()
A list of values at different percentiles of the distribution calculated from the current snapshot. The percentiles must be strictly increasing.
repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;- Specified by:
getPercentileValuesOrBuilderListin interfaceSummaryValue.SnapshotOrBuilder
-
getPercentileValuesCount
public int getPercentileValuesCount()
A list of values at different percentiles of the distribution calculated from the current snapshot. The percentiles must be strictly increasing.
repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;- Specified by:
getPercentileValuesCountin interfaceSummaryValue.SnapshotOrBuilder
-
getPercentileValues
public SummaryValue.Snapshot.ValueAtPercentile getPercentileValues(int index)
A list of values at different percentiles of the distribution calculated from the current snapshot. The percentiles must be strictly increasing.
repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;- Specified by:
getPercentileValuesin interfaceSummaryValue.SnapshotOrBuilder
-
getPercentileValuesOrBuilder
public SummaryValue.Snapshot.ValueAtPercentileOrBuilder getPercentileValuesOrBuilder(int index)
A list of values at different percentiles of the distribution calculated from the current snapshot. The percentiles must be strictly increasing.
repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;- Specified by:
getPercentileValuesOrBuilderin interfaceSummaryValue.SnapshotOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 SummaryValue.Snapshot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SummaryValue.Snapshot parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SummaryValue.Snapshot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SummaryValue.Snapshot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SummaryValue.Snapshot.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SummaryValue.Snapshot.Builder newBuilder()
-
newBuilder
public static SummaryValue.Snapshot.Builder newBuilder(SummaryValue.Snapshot prototype)
-
toBuilder
public SummaryValue.Snapshot.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SummaryValue.Snapshot.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SummaryValue.Snapshot getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SummaryValue.Snapshot> parser()
-
getParserForType
public com.google.protobuf.Parser<SummaryValue.Snapshot> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SummaryValue.Snapshot getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-