Interface ExponentialHistogramDataPoint.BucketsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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).
      int getBucketCountsCount()
      bucket_counts is an array of count values, where bucket_counts[i] carries the count of the bucket at index (offset+i).
      java.util.List<java.lang.Long> getBucketCountsList()
      bucket_counts is an array of count values, where bucket_counts[i] carries the count of the bucket at index (offset+i).
      int getOffset()
      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 Detail

      • 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

        java.util.List<java.lang.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.