Package io.prometheus.client
Class Metrics.Histogram
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.prometheus.client.Metrics.Histogram
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Metrics.HistogramOrBuilder,Serializable
- Enclosing class:
- Metrics
public static final class Metrics.Histogram extends com.google.protobuf.GeneratedMessageV3 implements Metrics.HistogramOrBuilder
Protobuf typeio.prometheus.client.Histogram- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetrics.Histogram.BuilderProtobuf typeio.prometheus.client.Histogram-
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 intBUCKET_FIELD_NUMBERstatic intNEGATIVE_COUNT_FIELD_NUMBERstatic intNEGATIVE_DELTA_FIELD_NUMBERstatic intNEGATIVE_SPAN_FIELD_NUMBERstatic com.google.protobuf.Parser<Metrics.Histogram>PARSERDeprecated.static intPOSITIVE_COUNT_FIELD_NUMBERstatic intPOSITIVE_DELTA_FIELD_NUMBERstatic intPOSITIVE_SPAN_FIELD_NUMBERstatic intSAMPLE_COUNT_FIELD_NUMBERstatic intSAMPLE_COUNT_FLOAT_FIELD_NUMBERstatic intSAMPLE_SUM_FIELD_NUMBERstatic intSCHEMA_FIELD_NUMBERstatic intZERO_COUNT_FIELD_NUMBERstatic intZERO_COUNT_FLOAT_FIELD_NUMBERstatic intZERO_THRESHOLD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Metrics.BucketgetBucket(int index)Buckets for the conventional histogram.intgetBucketCount()Buckets for the conventional histogram.List<Metrics.Bucket>getBucketList()Buckets for the conventional histogram.Metrics.BucketOrBuildergetBucketOrBuilder(int index)Buckets for the conventional histogram.List<? extends Metrics.BucketOrBuilder>getBucketOrBuilderList()Buckets for the conventional histogram.static Metrics.HistogramgetDefaultInstance()Metrics.HistogramgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()doublegetNegativeCount(int index)Absolute count of each bucket.intgetNegativeCountCount()Absolute count of each bucket.List<Double>getNegativeCountList()Absolute count of each bucket.longgetNegativeDelta(int index)Use either "negative_delta" or "negative_count", the former for regular histograms with integer counts, the latter for float histograms.intgetNegativeDeltaCount()Use either "negative_delta" or "negative_count", the former for regular histograms with integer counts, the latter for float histograms.List<Long>getNegativeDeltaList()Use either "negative_delta" or "negative_count", the former for regular histograms with integer counts, the latter for float histograms.Metrics.BucketSpangetNegativeSpan(int index)Negative buckets for the native histogram.intgetNegativeSpanCount()Negative buckets for the native histogram.List<Metrics.BucketSpan>getNegativeSpanList()Negative buckets for the native histogram.Metrics.BucketSpanOrBuildergetNegativeSpanOrBuilder(int index)Negative buckets for the native histogram.List<? extends Metrics.BucketSpanOrBuilder>getNegativeSpanOrBuilderList()Negative buckets for the native histogram.com.google.protobuf.Parser<Metrics.Histogram>getParserForType()doublegetPositiveCount(int index)Absolute count of each bucket.intgetPositiveCountCount()Absolute count of each bucket.List<Double>getPositiveCountList()Absolute count of each bucket.longgetPositiveDelta(int index)Use either "positive_delta" or "positive_count", the former for regular histograms with integer counts, the latter for float histograms.intgetPositiveDeltaCount()Use either "positive_delta" or "positive_count", the former for regular histograms with integer counts, the latter for float histograms.List<Long>getPositiveDeltaList()Use either "positive_delta" or "positive_count", the former for regular histograms with integer counts, the latter for float histograms.Metrics.BucketSpangetPositiveSpan(int index)Positive buckets for the native histogram.intgetPositiveSpanCount()Positive buckets for the native histogram.List<Metrics.BucketSpan>getPositiveSpanList()Positive buckets for the native histogram.Metrics.BucketSpanOrBuildergetPositiveSpanOrBuilder(int index)Positive buckets for the native histogram.List<? extends Metrics.BucketSpanOrBuilder>getPositiveSpanOrBuilderList()Positive buckets for the native histogram.longgetSampleCount()optional uint64 sample_count = 1;doublegetSampleCountFloat()Overrides sample_count if > 0.doublegetSampleSum()optional double sample_sum = 2;intgetSchema()schema defines the bucket schema.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()longgetZeroCount()Count in zero bucket.doublegetZeroCountFloat()Overrides sb_zero_count if > 0.doublegetZeroThreshold()Breadth of the zero bucket.inthashCode()booleanhasSampleCount()optional uint64 sample_count = 1;booleanhasSampleCountFloat()Overrides sample_count if > 0.booleanhasSampleSum()optional double sample_sum = 2;booleanhasSchema()schema defines the bucket schema.booleanhasZeroCount()Count in zero bucket.booleanhasZeroCountFloat()Overrides sb_zero_count if > 0.booleanhasZeroThreshold()Breadth of the zero bucket.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Metrics.Histogram.BuildernewBuilder()static Metrics.Histogram.BuildernewBuilder(Metrics.Histogram prototype)Metrics.Histogram.BuildernewBuilderForType()protected Metrics.Histogram.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Metrics.HistogramparseDelimitedFrom(InputStream input)static Metrics.HistogramparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Metrics.HistogramparseFrom(byte[] data)static Metrics.HistogramparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Metrics.HistogramparseFrom(com.google.protobuf.ByteString data)static Metrics.HistogramparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Metrics.HistogramparseFrom(com.google.protobuf.CodedInputStream input)static Metrics.HistogramparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Metrics.HistogramparseFrom(InputStream input)static Metrics.HistogramparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Metrics.HistogramparseFrom(ByteBuffer data)static Metrics.HistogramparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Metrics.Histogram>parser()Metrics.Histogram.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
-
SAMPLE_COUNT_FIELD_NUMBER
public static final int SAMPLE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLE_COUNT_FLOAT_FIELD_NUMBER
public static final int SAMPLE_COUNT_FLOAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLE_SUM_FIELD_NUMBER
public static final int SAMPLE_SUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZERO_THRESHOLD_FIELD_NUMBER
public static final int ZERO_THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZERO_COUNT_FIELD_NUMBER
public static final int ZERO_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZERO_COUNT_FLOAT_FIELD_NUMBER
public static final int ZERO_COUNT_FLOAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEGATIVE_SPAN_FIELD_NUMBER
public static final int NEGATIVE_SPAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEGATIVE_DELTA_FIELD_NUMBER
public static final int NEGATIVE_DELTA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEGATIVE_COUNT_FIELD_NUMBER
public static final int NEGATIVE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSITIVE_SPAN_FIELD_NUMBER
public static final int POSITIVE_SPAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSITIVE_DELTA_FIELD_NUMBER
public static final int POSITIVE_DELTA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSITIVE_COUNT_FIELD_NUMBER
public static final int POSITIVE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Metrics.Histogram> PARSER
Deprecated.
-
-
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
-
hasSampleCount
public boolean hasSampleCount()
optional uint64 sample_count = 1;- Specified by:
hasSampleCountin interfaceMetrics.HistogramOrBuilder- Returns:
- Whether the sampleCount field is set.
-
getSampleCount
public long getSampleCount()
optional uint64 sample_count = 1;- Specified by:
getSampleCountin interfaceMetrics.HistogramOrBuilder- Returns:
- The sampleCount.
-
hasSampleCountFloat
public boolean hasSampleCountFloat()
Overrides sample_count if > 0.
optional double sample_count_float = 4;- Specified by:
hasSampleCountFloatin interfaceMetrics.HistogramOrBuilder- Returns:
- Whether the sampleCountFloat field is set.
-
getSampleCountFloat
public double getSampleCountFloat()
Overrides sample_count if > 0.
optional double sample_count_float = 4;- Specified by:
getSampleCountFloatin interfaceMetrics.HistogramOrBuilder- Returns:
- The sampleCountFloat.
-
hasSampleSum
public boolean hasSampleSum()
optional double sample_sum = 2;- Specified by:
hasSampleSumin interfaceMetrics.HistogramOrBuilder- Returns:
- Whether the sampleSum field is set.
-
getSampleSum
public double getSampleSum()
optional double sample_sum = 2;- Specified by:
getSampleSumin interfaceMetrics.HistogramOrBuilder- Returns:
- The sampleSum.
-
getBucketList
public List<Metrics.Bucket> getBucketList()
Buckets for the conventional histogram.
repeated .io.prometheus.client.Bucket bucket = 3;- Specified by:
getBucketListin interfaceMetrics.HistogramOrBuilder
-
getBucketOrBuilderList
public List<? extends Metrics.BucketOrBuilder> getBucketOrBuilderList()
Buckets for the conventional histogram.
repeated .io.prometheus.client.Bucket bucket = 3;- Specified by:
getBucketOrBuilderListin interfaceMetrics.HistogramOrBuilder
-
getBucketCount
public int getBucketCount()
Buckets for the conventional histogram.
repeated .io.prometheus.client.Bucket bucket = 3;- Specified by:
getBucketCountin interfaceMetrics.HistogramOrBuilder
-
getBucket
public Metrics.Bucket getBucket(int index)
Buckets for the conventional histogram.
repeated .io.prometheus.client.Bucket bucket = 3;- Specified by:
getBucketin interfaceMetrics.HistogramOrBuilder
-
getBucketOrBuilder
public Metrics.BucketOrBuilder getBucketOrBuilder(int index)
Buckets for the conventional histogram.
repeated .io.prometheus.client.Bucket bucket = 3;- Specified by:
getBucketOrBuilderin interfaceMetrics.HistogramOrBuilder
-
hasSchema
public boolean hasSchema()
schema defines the bucket schema. Currently, valid numbers are -4 <= n <= 8. They are all for base-2 bucket schemas, where 1 is a bucket boundary in each case, and then each power of two is divided into 2^n logarithmic buckets. Or in other words, each bucket boundary is the previous boundary times 2^(2^-n). In the future, more bucket schemas may be added using numbers < -4 or > 8.
optional sint32 schema = 5;- Specified by:
hasSchemain interfaceMetrics.HistogramOrBuilder- Returns:
- Whether the schema field is set.
-
getSchema
public int getSchema()
schema defines the bucket schema. Currently, valid numbers are -4 <= n <= 8. They are all for base-2 bucket schemas, where 1 is a bucket boundary in each case, and then each power of two is divided into 2^n logarithmic buckets. Or in other words, each bucket boundary is the previous boundary times 2^(2^-n). In the future, more bucket schemas may be added using numbers < -4 or > 8.
optional sint32 schema = 5;- Specified by:
getSchemain interfaceMetrics.HistogramOrBuilder- Returns:
- The schema.
-
hasZeroThreshold
public boolean hasZeroThreshold()
Breadth of the zero bucket.
optional double zero_threshold = 6;- Specified by:
hasZeroThresholdin interfaceMetrics.HistogramOrBuilder- Returns:
- Whether the zeroThreshold field is set.
-
getZeroThreshold
public double getZeroThreshold()
Breadth of the zero bucket.
optional double zero_threshold = 6;- Specified by:
getZeroThresholdin interfaceMetrics.HistogramOrBuilder- Returns:
- The zeroThreshold.
-
hasZeroCount
public boolean hasZeroCount()
Count in zero bucket.
optional uint64 zero_count = 7;- Specified by:
hasZeroCountin interfaceMetrics.HistogramOrBuilder- Returns:
- Whether the zeroCount field is set.
-
getZeroCount
public long getZeroCount()
Count in zero bucket.
optional uint64 zero_count = 7;- Specified by:
getZeroCountin interfaceMetrics.HistogramOrBuilder- Returns:
- The zeroCount.
-
hasZeroCountFloat
public boolean hasZeroCountFloat()
Overrides sb_zero_count if > 0.
optional double zero_count_float = 8;- Specified by:
hasZeroCountFloatin interfaceMetrics.HistogramOrBuilder- Returns:
- Whether the zeroCountFloat field is set.
-
getZeroCountFloat
public double getZeroCountFloat()
Overrides sb_zero_count if > 0.
optional double zero_count_float = 8;- Specified by:
getZeroCountFloatin interfaceMetrics.HistogramOrBuilder- Returns:
- The zeroCountFloat.
-
getNegativeSpanList
public List<Metrics.BucketSpan> getNegativeSpanList()
Negative buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan negative_span = 9;- Specified by:
getNegativeSpanListin interfaceMetrics.HistogramOrBuilder
-
getNegativeSpanOrBuilderList
public List<? extends Metrics.BucketSpanOrBuilder> getNegativeSpanOrBuilderList()
Negative buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan negative_span = 9;- Specified by:
getNegativeSpanOrBuilderListin interfaceMetrics.HistogramOrBuilder
-
getNegativeSpanCount
public int getNegativeSpanCount()
Negative buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan negative_span = 9;- Specified by:
getNegativeSpanCountin interfaceMetrics.HistogramOrBuilder
-
getNegativeSpan
public Metrics.BucketSpan getNegativeSpan(int index)
Negative buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan negative_span = 9;- Specified by:
getNegativeSpanin interfaceMetrics.HistogramOrBuilder
-
getNegativeSpanOrBuilder
public Metrics.BucketSpanOrBuilder getNegativeSpanOrBuilder(int index)
Negative buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan negative_span = 9;- Specified by:
getNegativeSpanOrBuilderin interfaceMetrics.HistogramOrBuilder
-
getNegativeDeltaList
public List<Long> getNegativeDeltaList()
Use either "negative_delta" or "negative_count", the former for regular histograms with integer counts, the latter for float histograms.
repeated sint64 negative_delta = 10;- Specified by:
getNegativeDeltaListin interfaceMetrics.HistogramOrBuilder- Returns:
- A list containing the negativeDelta.
-
getNegativeDeltaCount
public int getNegativeDeltaCount()
Use either "negative_delta" or "negative_count", the former for regular histograms with integer counts, the latter for float histograms.
repeated sint64 negative_delta = 10;- Specified by:
getNegativeDeltaCountin interfaceMetrics.HistogramOrBuilder- Returns:
- The count of negativeDelta.
-
getNegativeDelta
public long getNegativeDelta(int index)
Use either "negative_delta" or "negative_count", the former for regular histograms with integer counts, the latter for float histograms.
repeated sint64 negative_delta = 10;- Specified by:
getNegativeDeltain interfaceMetrics.HistogramOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The negativeDelta at the given index.
-
getNegativeCountList
public List<Double> getNegativeCountList()
Absolute count of each bucket.
repeated double negative_count = 11;- Specified by:
getNegativeCountListin interfaceMetrics.HistogramOrBuilder- Returns:
- A list containing the negativeCount.
-
getNegativeCountCount
public int getNegativeCountCount()
Absolute count of each bucket.
repeated double negative_count = 11;- Specified by:
getNegativeCountCountin interfaceMetrics.HistogramOrBuilder- Returns:
- The count of negativeCount.
-
getNegativeCount
public double getNegativeCount(int index)
Absolute count of each bucket.
repeated double negative_count = 11;- Specified by:
getNegativeCountin interfaceMetrics.HistogramOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The negativeCount at the given index.
-
getPositiveSpanList
public List<Metrics.BucketSpan> getPositiveSpanList()
Positive buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanListin interfaceMetrics.HistogramOrBuilder
-
getPositiveSpanOrBuilderList
public List<? extends Metrics.BucketSpanOrBuilder> getPositiveSpanOrBuilderList()
Positive buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanOrBuilderListin interfaceMetrics.HistogramOrBuilder
-
getPositiveSpanCount
public int getPositiveSpanCount()
Positive buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanCountin interfaceMetrics.HistogramOrBuilder
-
getPositiveSpan
public Metrics.BucketSpan getPositiveSpan(int index)
Positive buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanin interfaceMetrics.HistogramOrBuilder
-
getPositiveSpanOrBuilder
public Metrics.BucketSpanOrBuilder getPositiveSpanOrBuilder(int index)
Positive buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanOrBuilderin interfaceMetrics.HistogramOrBuilder
-
getPositiveDeltaList
public List<Long> getPositiveDeltaList()
Use either "positive_delta" or "positive_count", the former for regular histograms with integer counts, the latter for float histograms.
repeated sint64 positive_delta = 13;- Specified by:
getPositiveDeltaListin interfaceMetrics.HistogramOrBuilder- Returns:
- A list containing the positiveDelta.
-
getPositiveDeltaCount
public int getPositiveDeltaCount()
Use either "positive_delta" or "positive_count", the former for regular histograms with integer counts, the latter for float histograms.
repeated sint64 positive_delta = 13;- Specified by:
getPositiveDeltaCountin interfaceMetrics.HistogramOrBuilder- Returns:
- The count of positiveDelta.
-
getPositiveDelta
public long getPositiveDelta(int index)
Use either "positive_delta" or "positive_count", the former for regular histograms with integer counts, the latter for float histograms.
repeated sint64 positive_delta = 13;- Specified by:
getPositiveDeltain interfaceMetrics.HistogramOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The positiveDelta at the given index.
-
getPositiveCountList
public List<Double> getPositiveCountList()
Absolute count of each bucket.
repeated double positive_count = 14;- Specified by:
getPositiveCountListin interfaceMetrics.HistogramOrBuilder- Returns:
- A list containing the positiveCount.
-
getPositiveCountCount
public int getPositiveCountCount()
Absolute count of each bucket.
repeated double positive_count = 14;- Specified by:
getPositiveCountCountin interfaceMetrics.HistogramOrBuilder- Returns:
- The count of positiveCount.
-
getPositiveCount
public double getPositiveCount(int index)
Absolute count of each bucket.
repeated double positive_count = 14;- Specified by:
getPositiveCountin interfaceMetrics.HistogramOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The positiveCount at the given index.
-
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 Metrics.Histogram parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.Histogram parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.Histogram parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.Histogram parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.Histogram parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.Histogram parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.Histogram parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Metrics.Histogram parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Metrics.Histogram parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Metrics.Histogram parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Metrics.Histogram parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Metrics.Histogram parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Metrics.Histogram.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Metrics.Histogram.Builder newBuilder()
-
newBuilder
public static Metrics.Histogram.Builder newBuilder(Metrics.Histogram prototype)
-
toBuilder
public Metrics.Histogram.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Metrics.Histogram.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Metrics.Histogram getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Metrics.Histogram> parser()
-
getParserForType
public com.google.protobuf.Parser<Metrics.Histogram> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Metrics.Histogram getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-