public interface DurationHistogramOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBucketCounts(int index)
public abstract long getBucketCounts(int index)Count of items in each bucket.
repeated int64 bucket_counts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
long |
The bucketCounts at the given index. |
getBucketCountsCount()
public abstract int getBucketCountsCount()Count of items in each bucket.
repeated int64 bucket_counts = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of bucketCounts. |
getBucketCountsList()
public abstract List<Long> getBucketCountsList()Count of items in each bucket.
repeated int64 bucket_counts = 1;
| Returns | |
|---|---|
| Type | Description |
List<Long> |
A list containing the bucketCounts. |
getCount()
public abstract long getCount()Total count of recorded duration events.
int64 count = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getExplicitBounds(int index)
public abstract double getExplicitBounds(int index)Upper bounds for each bucket in milliseconds.
repeated double explicit_bounds = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
double |
The explicitBounds at the given index. |
getExplicitBoundsCount()
public abstract int getExplicitBoundsCount()Upper bounds for each bucket in milliseconds.
repeated double explicit_bounds = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of explicitBounds. |
getExplicitBoundsList()
public abstract List<Double> getExplicitBoundsList()Upper bounds for each bucket in milliseconds.
repeated double explicit_bounds = 2;
| Returns | |
|---|---|
| Type | Description |
List<Double> |
A list containing the explicitBounds. |
getSum()
public abstract double getSum()Cumulative sum of recorded durations in milliseconds.
double sum = 4;
| Returns | |
|---|---|
| Type | Description |
double |
The sum. |