Class Metrics.Histogram
java.lang.Object
io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_36_2.Metrics.Histogram
- All Implemented Interfaces:
Metrics.HistogramOrBuilder, Serializable
- Enclosing class:
Metrics
Protobuf type
io.prometheus.client.Histogram- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeio.prometheus.client.Histogram -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static booleanstatic final intstatic final intstatic final intprotected intprotected intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprotected com.google.protobuf.UnknownFieldSetstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> voidprotected static voidcheckByteStringIsUtf8(com.google.protobuf.ByteString arg0) protected static intcomputeStringSize(int arg0, Object arg1) protected static intcomputeStringSizeNoTag(Object arg0) protected static com.google.protobuf.Internal.BooleanListprotected static com.google.protobuf.Internal.DoubleListprotected static com.google.protobuf.Internal.FloatListprotected static com.google.protobuf.Internal.IntListprotected static <T> com.google.protobuf.Internal.ProtobufList<T> protected static com.google.protobuf.Internal.LongListbooleangetBucket(int index) Buckets for the conventional histogram.intBuckets for the conventional histogram.Buckets for the conventional histogram.getBucketOrBuilder(int index) Buckets for the conventional histogram.List<? extends Metrics.BucketOrBuilder> Buckets for the conventional histogram.com.google.protobuf.Timestampoptional .google.protobuf.Timestamp created_timestamp = 15;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp created_timestamp = 15;static Metrics.Histogramstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExemplars(int index) Only used for native histograms.intOnly used for native histograms.Only used for native histograms.getExemplarsOrBuilder(int index) Only used for native histograms.List<? extends Metrics.ExemplarOrBuilder> Only used for native histograms.getField(com.google.protobuf.Descriptors.FieldDescriptor arg0) getField(com.google.protobuf.Descriptors.FieldDescriptor arg0) doublegetNegativeCount(int index) Absolute count of each bucket.intAbsolute count of each bucket.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.intUse either "negative_delta" or "negative_count", the former for regular histograms with integer counts, the latter for float histograms.Use either "negative_delta" or "negative_count", the former for regular histograms with integer counts, the latter for float histograms.getNegativeSpan(int index) Negative buckets for the native histogram.intNegative buckets for the native histogram.Negative buckets for the native histogram.getNegativeSpanOrBuilder(int index) Negative buckets for the native histogram.List<? extends Metrics.BucketSpanOrBuilder> Negative buckets for the native histogram.com.google.protobuf.Descriptors.FieldDescriptorgetOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) com.google.protobuf.Descriptors.FieldDescriptorgetOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) com.google.protobuf.Parser<Metrics.Histogram> doublegetPositiveCount(int index) Absolute count of each bucket.intAbsolute count of each bucket.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.intUse either "positive_delta" or "positive_count", the former for regular histograms with integer counts, the latter for float histograms.Use either "positive_delta" or "positive_count", the former for regular histograms with integer counts, the latter for float histograms.getPositiveSpan(int index) Positive buckets for the native histogram.intPositive buckets for the native histogram.Positive buckets for the native histogram.getPositiveSpanOrBuilder(int index) Positive buckets for the native histogram.List<? extends Metrics.BucketSpanOrBuilder> Positive buckets for the native histogram.getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) longoptional uint64 sample_count = 1;doubleOverrides sample_count if > 0.doubleoptional double sample_sum = 2;intschema defines the bucket schema.intcom.google.protobuf.UnknownFieldSetcom.google.protobuf.UnknownFieldSetlongCount in zero bucket.doubleOverrides sb_zero_count if > 0.doubleBreadth of the zero bucket.booleanoptional .google.protobuf.Timestamp created_timestamp = 15;booleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) booleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) inthashCode()protected static inthashFields(int arg0, Map<com.google.protobuf.Descriptors.FieldDescriptor, Object> arg1) booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) booleanoptional uint64 sample_count = 1;booleanOverrides sample_count if > 0.booleanoptional double sample_sum = 2;booleanschema defines the bucket schema.booleanCount in zero bucket.booleanOverrides sb_zero_count if > 0.booleanBreadth of the zero bucket.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int arg0) Deprecated.protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int arg0) final booleanprotected static booleanisStringEmpty(Object arg0) protected voidprotected static <ListT extends com.google.protobuf.Internal.ProtobufList<?>>
ListTmakeMutableCopy(ListT arg0) protected static <ListT extends com.google.protobuf.Internal.ProtobufList<?>>
ListTmakeMutableCopy(ListT arg0, int arg1) static Metrics.Histogram.Builderstatic Metrics.Histogram.BuildernewBuilder(Metrics.Histogram prototype) protected Metrics.Histogram.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static <ContainingT extends com.google.protobuf.Message, T>
com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> newFileScopedGeneratedExtension(Class<?> arg0, com.google.protobuf.Message arg1) protected ObjectnewInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter arg0) static <ContainingT extends com.google.protobuf.Message, T>
com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> newMessageScopedGeneratedExtension(com.google.protobuf.Message arg0, int arg1, Class<?> arg2, com.google.protobuf.Message arg3) static Metrics.HistogramparseDelimitedFrom(InputStream input) static Metrics.HistogramparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) protected static <M extends com.google.protobuf.Message>
MparseDelimitedWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1) protected static <M extends com.google.protobuf.Message>
MparseDelimitedWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) 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()protected booleanparseUnknownField(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.UnknownFieldSet.Builder arg1, com.google.protobuf.ExtensionRegistryLite arg2, int arg3) protected booleanparseUnknownFieldProto3(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.UnknownFieldSet.Builder arg1, com.google.protobuf.ExtensionRegistryLite arg2, int arg3) protected static <M extends com.google.protobuf.Message>
MparseWithIOException(com.google.protobuf.Parser<M> arg0, com.google.protobuf.CodedInputStream arg1) protected static <M extends com.google.protobuf.Message>
MparseWithIOException(com.google.protobuf.Parser<M> arg0, com.google.protobuf.CodedInputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) protected static <M extends com.google.protobuf.Message>
MparseWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1) protected static <M extends com.google.protobuf.Message>
MparseWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) protected static <V> voidserializeBooleanMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Boolean, V> arg1, com.google.protobuf.MapEntry<Boolean, V> arg2, int arg3) protected static <V> voidserializeIntegerMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Integer, V> arg1, com.google.protobuf.MapEntry<Integer, V> arg2, int arg3) protected static <V> voidserializeLongMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Long, V> arg1, com.google.protobuf.MapEntry<Long, V> arg2, int arg3) protected static <V> voidserializeStringMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<String, V> arg1, com.google.protobuf.MapEntry<String, V> arg2, int arg3) byte[]byte[]com.google.protobuf.ByteStringcom.google.protobuf.ByteStringfinal StringtoString()voidwriteDelimitedTo(OutputStream arg0) voidwriteDelimitedTo(OutputStream arg0) protected Objectprotected static voidwriteString(com.google.protobuf.CodedOutputStream arg0, int arg1, Object arg2) protected static voidwriteStringNoTag(com.google.protobuf.CodedOutputStream arg0, Object arg1) voidwriteTo(com.google.protobuf.CodedOutputStream output) voidwriteTo(OutputStream arg0) voidwriteTo(OutputStream arg0)
-
Field Details
-
SAMPLE_COUNT_FIELD_NUMBER
public static final int SAMPLE_COUNT_FIELD_NUMBER- See Also:
-
SAMPLE_COUNT_FLOAT_FIELD_NUMBER
public static final int SAMPLE_COUNT_FLOAT_FIELD_NUMBER- See Also:
-
SAMPLE_SUM_FIELD_NUMBER
public static final int SAMPLE_SUM_FIELD_NUMBER- See Also:
-
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER- See Also:
-
CREATED_TIMESTAMP_FIELD_NUMBER
public static final int CREATED_TIMESTAMP_FIELD_NUMBER- See Also:
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER- See Also:
-
ZERO_THRESHOLD_FIELD_NUMBER
public static final int ZERO_THRESHOLD_FIELD_NUMBER- See Also:
-
ZERO_COUNT_FIELD_NUMBER
public static final int ZERO_COUNT_FIELD_NUMBER- See Also:
-
ZERO_COUNT_FLOAT_FIELD_NUMBER
public static final int ZERO_COUNT_FLOAT_FIELD_NUMBER- See Also:
-
NEGATIVE_SPAN_FIELD_NUMBER
public static final int NEGATIVE_SPAN_FIELD_NUMBER- See Also:
-
NEGATIVE_DELTA_FIELD_NUMBER
public static final int NEGATIVE_DELTA_FIELD_NUMBER- See Also:
-
NEGATIVE_COUNT_FIELD_NUMBER
public static final int NEGATIVE_COUNT_FIELD_NUMBER- See Also:
-
POSITIVE_SPAN_FIELD_NUMBER
public static final int POSITIVE_SPAN_FIELD_NUMBER- See Also:
-
POSITIVE_DELTA_FIELD_NUMBER
public static final int POSITIVE_DELTA_FIELD_NUMBER- See Also:
-
POSITIVE_COUNT_FIELD_NUMBER
public static final int POSITIVE_COUNT_FIELD_NUMBER- See Also:
-
EXEMPLARS_FIELD_NUMBER
public static final int EXEMPLARS_FIELD_NUMBER- See Also:
-
alwaysUseFieldBuilders
protected static boolean alwaysUseFieldBuilders -
unknownFields
protected com.google.protobuf.UnknownFieldSet unknownFields -
loggedPre22TypeNames
-
memoizedSize
protected int memoizedSize -
memoizedHashCode
protected int memoizedHashCode
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() -
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
Buckets for the conventional histogram.
repeated .io.prometheus.client.Bucket bucket = 3;- Specified by:
getBucketListin interfaceMetrics.HistogramOrBuilder
-
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
Buckets for the conventional histogram.
repeated .io.prometheus.client.Bucket bucket = 3;- Specified by:
getBucketin interfaceMetrics.HistogramOrBuilder
-
getBucketOrBuilder
Buckets for the conventional histogram.
repeated .io.prometheus.client.Bucket bucket = 3;- Specified by:
getBucketOrBuilderin interfaceMetrics.HistogramOrBuilder
-
hasCreatedTimestamp
public boolean hasCreatedTimestamp()optional .google.protobuf.Timestamp created_timestamp = 15;- Specified by:
hasCreatedTimestampin interfaceMetrics.HistogramOrBuilder- Returns:
- Whether the createdTimestamp field is set.
-
getCreatedTimestamp
public com.google.protobuf.Timestamp getCreatedTimestamp()optional .google.protobuf.Timestamp created_timestamp = 15;- Specified by:
getCreatedTimestampin interfaceMetrics.HistogramOrBuilder- Returns:
- The createdTimestamp.
-
getCreatedTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedTimestampOrBuilder()optional .google.protobuf.Timestamp created_timestamp = 15;- Specified by:
getCreatedTimestampOrBuilderin 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
Negative buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan negative_span = 9;- Specified by:
getNegativeSpanListin interfaceMetrics.HistogramOrBuilder
-
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
Negative buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan negative_span = 9;- Specified by:
getNegativeSpanin interfaceMetrics.HistogramOrBuilder
-
getNegativeSpanOrBuilder
Negative buckets for the native histogram.
repeated .io.prometheus.client.BucketSpan negative_span = 9;- Specified by:
getNegativeSpanOrBuilderin interfaceMetrics.HistogramOrBuilder
-
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
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
Positive buckets for the native histogram. Use a no-op span (offset 0, length 0) for a native histogram without any observations yet and with a zero_threshold of 0. Otherwise, it would be indistinguishable from a classic histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanListin interfaceMetrics.HistogramOrBuilder
-
getPositiveSpanOrBuilderList
Positive buckets for the native histogram. Use a no-op span (offset 0, length 0) for a native histogram without any observations yet and with a zero_threshold of 0. Otherwise, it would be indistinguishable from a classic histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanOrBuilderListin interfaceMetrics.HistogramOrBuilder
-
getPositiveSpanCount
public int getPositiveSpanCount()Positive buckets for the native histogram. Use a no-op span (offset 0, length 0) for a native histogram without any observations yet and with a zero_threshold of 0. Otherwise, it would be indistinguishable from a classic histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanCountin interfaceMetrics.HistogramOrBuilder
-
getPositiveSpan
Positive buckets for the native histogram. Use a no-op span (offset 0, length 0) for a native histogram without any observations yet and with a zero_threshold of 0. Otherwise, it would be indistinguishable from a classic histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanin interfaceMetrics.HistogramOrBuilder
-
getPositiveSpanOrBuilder
Positive buckets for the native histogram. Use a no-op span (offset 0, length 0) for a native histogram without any observations yet and with a zero_threshold of 0. Otherwise, it would be indistinguishable from a classic histogram.
repeated .io.prometheus.client.BucketSpan positive_span = 12;- Specified by:
getPositiveSpanOrBuilderin interfaceMetrics.HistogramOrBuilder
-
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
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.
-
getExemplarsList
Only used for native histograms. These exemplars MUST have a timestamp.
repeated .io.prometheus.client.Exemplar exemplars = 16;- Specified by:
getExemplarsListin interfaceMetrics.HistogramOrBuilder
-
getExemplarsOrBuilderList
Only used for native histograms. These exemplars MUST have a timestamp.
repeated .io.prometheus.client.Exemplar exemplars = 16;- Specified by:
getExemplarsOrBuilderListin interfaceMetrics.HistogramOrBuilder
-
getExemplarsCount
public int getExemplarsCount()Only used for native histograms. These exemplars MUST have a timestamp.
repeated .io.prometheus.client.Exemplar exemplars = 16;- Specified by:
getExemplarsCountin interfaceMetrics.HistogramOrBuilder
-
getExemplars
Only used for native histograms. These exemplars MUST have a timestamp.
repeated .io.prometheus.client.Exemplar exemplars = 16;- Specified by:
getExemplarsin interfaceMetrics.HistogramOrBuilder
-
getExemplarsOrBuilder
Only used for native histograms. These exemplars MUST have a timestamp.
repeated .io.prometheus.client.Exemplar exemplars = 16;- Specified by:
getExemplarsOrBuilderin interfaceMetrics.HistogramOrBuilder
-
isInitialized
public final boolean isInitialized() -
writeTo
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize() -
equals
-
hashCode
public int hashCode() -
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
- Throws:
IOException
-
parseFrom
public static Metrics.Histogram parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilder
-
newBuilder
-
toBuilder
-
newBuilderForType
protected Metrics.Histogram.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) -
getDefaultInstance
-
parser
-
getParserForType
-
getDefaultInstanceForType
-
findInitializationErrors
-
getInitializationErrorString
String getInitializationErrorString() -
getAllFields
-
hasOneof
boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
getOneofFieldDescriptor
com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
hasField
boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getField
-
getRepeatedFieldCount
int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getRepeatedField
-
getUnknownFields
com.google.protobuf.UnknownFieldSet getUnknownFields() -
getAllFields
-
hasOneof
public boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
getOneofFieldDescriptor
public com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
hasField
public boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getField
-
getRepeatedFieldCount
public int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getRepeatedField
-
getUnknownFields
public com.google.protobuf.UnknownFieldSet getUnknownFields() -
parseUnknownField
protected boolean parseUnknownField(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.UnknownFieldSet.Builder arg1, com.google.protobuf.ExtensionRegistryLite arg2, int arg3) throws IOException - Throws:
IOException
-
parseUnknownFieldProto3
protected boolean parseUnknownFieldProto3(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.UnknownFieldSet.Builder arg1, com.google.protobuf.ExtensionRegistryLite arg2, int arg3) throws IOException - Throws:
IOException
-
parseWithIOException
protected static <M extends com.google.protobuf.Message> M parseWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1) throws IOException - Throws:
IOException
-
parseWithIOException
protected static <M extends com.google.protobuf.Message> M parseWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) throws IOException - Throws:
IOException
-
parseWithIOException
protected static <M extends com.google.protobuf.Message> M parseWithIOException(com.google.protobuf.Parser<M> arg0, com.google.protobuf.CodedInputStream arg1) throws IOException - Throws:
IOException
-
parseWithIOException
protected static <M extends com.google.protobuf.Message> M parseWithIOException(com.google.protobuf.Parser<M> arg0, com.google.protobuf.CodedInputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) throws IOException - Throws:
IOException
-
parseDelimitedWithIOException
protected static <M extends com.google.protobuf.Message> M parseDelimitedWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1) throws IOException - Throws:
IOException
-
parseDelimitedWithIOException
protected static <M extends com.google.protobuf.Message> M parseDelimitedWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) throws IOException - Throws:
IOException
-
emptyIntList
protected static com.google.protobuf.Internal.IntList emptyIntList() -
makeExtensionsImmutable
protected void makeExtensionsImmutable() -
emptyLongList
protected static com.google.protobuf.Internal.LongList emptyLongList() -
emptyFloatList
protected static com.google.protobuf.Internal.FloatList emptyFloatList() -
emptyDoubleList
protected static com.google.protobuf.Internal.DoubleList emptyDoubleList() -
emptyBooleanList
protected static com.google.protobuf.Internal.BooleanList emptyBooleanList() -
makeMutableCopy
protected static <ListT extends com.google.protobuf.Internal.ProtobufList<?>> ListT makeMutableCopy(ListT arg0) -
makeMutableCopy
protected static <ListT extends com.google.protobuf.Internal.ProtobufList<?>> ListT makeMutableCopy(ListT arg0, int arg1) -
emptyList
-
newInstance
-
newMessageScopedGeneratedExtension
public static <ContainingT extends com.google.protobuf.Message, T> com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> newMessageScopedGeneratedExtension(com.google.protobuf.Message arg0, int arg1, Class<?> arg2, com.google.protobuf.Message arg3) -
newFileScopedGeneratedExtension
public static <ContainingT extends com.google.protobuf.Message, T> com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> newFileScopedGeneratedExtension(Class<?> arg0, com.google.protobuf.Message arg1) -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int arg0) -
internalGetMapField
Deprecated. -
writeReplace
- Throws:
ObjectStreamException
-
isStringEmpty
-
computeStringSize
-
computeStringSizeNoTag
-
writeString
protected static void writeString(com.google.protobuf.CodedOutputStream arg0, int arg1, Object arg2) throws IOException - Throws:
IOException
-
writeStringNoTag
protected static void writeStringNoTag(com.google.protobuf.CodedOutputStream arg0, Object arg1) throws IOException - Throws:
IOException
-
serializeIntegerMapTo
protected static <V> void serializeIntegerMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Integer, V> arg1, com.google.protobuf.MapEntry<Integer, throws IOExceptionV> arg2, int arg3) - Throws:
IOException
-
serializeLongMapTo
protected static <V> void serializeLongMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Long, V> arg1, com.google.protobuf.MapEntry<Long, throws IOExceptionV> arg2, int arg3) - Throws:
IOException
-
serializeStringMapTo
protected static <V> void serializeStringMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<String, V> arg1, com.google.protobuf.MapEntry<String, throws IOExceptionV> arg2, int arg3) - Throws:
IOException
-
serializeBooleanMapTo
protected static <V> void serializeBooleanMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Boolean, V> arg1, com.google.protobuf.MapEntry<Boolean, throws IOExceptionV> arg2, int arg3) - Throws:
IOException
-
findInitializationErrors
-
getInitializationErrorString
-
toString
-
hashFields
-
toByteString
com.google.protobuf.ByteString toByteString() -
toByteArray
byte[] toByteArray() -
writeTo
- Throws:
IOException
-
writeDelimitedTo
- Throws:
IOException
-
toByteString
public com.google.protobuf.ByteString toByteString() -
toByteArray
public byte[] toByteArray() -
writeTo
- Throws:
IOException
-
writeDelimitedTo
- Throws:
IOException
-
checkByteStringIsUtf8
protected static void checkByteStringIsUtf8(com.google.protobuf.ByteString arg0) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
addAll
-