Interface ExponentialHistogramDataPoint.BucketsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExponentialHistogramDataPoint.Buckets, ExponentialHistogramDataPoint.Buckets.Builder
Enclosing class:
ExponentialHistogramDataPoint

public static interface ExponentialHistogramDataPoint.BucketsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    getBucketCounts(int index)
    bucket_counts is an array of count values, where bucket_counts[i] carries the count of the bucket at index (offset+i). bucket_counts[i] is the count of values greater than base^(offset+i) and less than or equal to base^(offset+i+1).
    int
    bucket_counts is an array of count values, where bucket_counts[i] carries the count of the bucket at index (offset+i). bucket_counts[i] is the count of values greater than base^(offset+i) and less than or equal to base^(offset+i+1).
    bucket_counts is an array of count values, where bucket_counts[i] carries the count of the bucket at index (offset+i). bucket_counts[i] is the count of values greater than base^(offset+i) and less than or equal to base^(offset+i+1).
    int
    Offset is the bucket index of the first entry in the bucket_counts array.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getOffset

      int getOffset()
       Offset is the bucket index of the first entry in the bucket_counts array.
      
       Note: This uses a varint encoding as a simple form of compression.
       
      sint32 offset = 1;
      Returns:
      The offset.
    • getBucketCountsList

      List<Long> getBucketCountsList()
       bucket_counts is an array of count values, where bucket_counts[i] carries
       the count of the bucket at index (offset+i). bucket_counts[i] is the count
       of values greater than base^(offset+i) and less than or equal to
       base^(offset+i+1).
      
       Note: By contrast, the explicit HistogramDataPoint uses
       fixed64.  This field is expected to have many buckets,
       especially zeros, so uint64 has been selected to ensure
       varint encoding.
       
      repeated uint64 bucket_counts = 2;
      Returns:
      A list containing the bucketCounts.
    • getBucketCountsCount

      int getBucketCountsCount()
       bucket_counts is an array of count values, where bucket_counts[i] carries
       the count of the bucket at index (offset+i). bucket_counts[i] is the count
       of values greater than base^(offset+i) and less than or equal to
       base^(offset+i+1).
      
       Note: By contrast, the explicit HistogramDataPoint uses
       fixed64.  This field is expected to have many buckets,
       especially zeros, so uint64 has been selected to ensure
       varint encoding.
       
      repeated uint64 bucket_counts = 2;
      Returns:
      The count of bucketCounts.
    • getBucketCounts

      long getBucketCounts(int index)
       bucket_counts is an array of count values, where bucket_counts[i] carries
       the count of the bucket at index (offset+i). bucket_counts[i] is the count
       of values greater than base^(offset+i) and less than or equal to
       base^(offset+i+1).
      
       Note: By contrast, the explicit HistogramDataPoint uses
       fixed64.  This field is expected to have many buckets,
       especially zeros, so uint64 has been selected to ensure
       varint encoding.
       
      repeated uint64 bucket_counts = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The bucketCounts at the given index.