Interface AggregationResult.HistogramOrBuilder (0.12.0)

public static interface AggregationResult.HistogramOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuckets(int index)

public abstract AggregationResult.Histogram.Bucket getBuckets(int index)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationResult.Histogram.Bucket

getBucketsCount()

public abstract int getBucketsCount()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;

Returns
TypeDescription
int

getBucketsList()

public abstract List<AggregationResult.Histogram.Bucket> getBucketsList()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;

Returns
TypeDescription
List<Bucket>

getBucketsOrBuilder(int index)

public abstract AggregationResult.Histogram.BucketOrBuilder getBucketsOrBuilder(int index)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AggregationResult.Histogram.BucketOrBuilder

getBucketsOrBuilderList()

public abstract List<? extends AggregationResult.Histogram.BucketOrBuilder> getBucketsOrBuilderList()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.AggregationResult.Histogram.BucketOrBuilder>