public static final class AggregationResult.Histogram.Builder extends GeneratedMessage.Builder<AggregationResult.Histogram.Builder> implements AggregationResult.HistogramOrBuilder
The result of a bucketed histogram aggregation.
Protobuf type google.cloud.migrationcenter.v1.AggregationResult.Histogram
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBuckets(Iterable<? extends AggregationResult.Histogram.Bucket> values)
public AggregationResult.Histogram.Builder addAllBuckets(Iterable<? extends AggregationResult.Histogram.Bucket> values)
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 |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket>
|
addBuckets(AggregationResult.Histogram.Bucket value)
public AggregationResult.Histogram.Builder addBuckets(AggregationResult.Histogram.Bucket value)
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;
addBuckets(AggregationResult.Histogram.Bucket.Builder builderForValue)
public AggregationResult.Histogram.Builder addBuckets(AggregationResult.Histogram.Bucket.Builder builderForValue)
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;
addBuckets(int index, AggregationResult.Histogram.Bucket value)
public AggregationResult.Histogram.Builder addBuckets(int index, AggregationResult.Histogram.Bucket value)
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;
addBuckets(int index, AggregationResult.Histogram.Bucket.Builder builderForValue)
public AggregationResult.Histogram.Builder addBuckets(int index, AggregationResult.Histogram.Bucket.Builder builderForValue)
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;
addBucketsBuilder()
public AggregationResult.Histogram.Bucket.Builder addBucketsBuilder()
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;
addBucketsBuilder(int index)
public AggregationResult.Histogram.Bucket.Builder addBucketsBuilder(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 |
| Name |
Description |
index |
int
|
build()
public AggregationResult.Histogram build()
buildPartial()
public AggregationResult.Histogram buildPartial()
clear()
public AggregationResult.Histogram.Builder clear()
Overrides
clearBuckets()
public AggregationResult.Histogram.Builder clearBuckets()
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;
getBuckets(int index)
public 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 |
| Name |
Description |
index |
int
|
getBucketsBuilder(int index)
public AggregationResult.Histogram.Bucket.Builder getBucketsBuilder(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 |
| Name |
Description |
index |
int
|
getBucketsBuilderList()
public List<AggregationResult.Histogram.Bucket.Builder> getBucketsBuilderList()
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;
getBucketsCount()
public 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 |
| Type |
Description |
int |
|
getBucketsList()
public 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;
getBucketsOrBuilder(int index)
public 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 |
| Name |
Description |
index |
int
|
getBucketsOrBuilderList()
public 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 |
| Type |
Description |
List<? extends com.google.cloud.migrationcenter.v1.AggregationResult.Histogram.BucketOrBuilder> |
|
getDefaultInstanceForType()
public AggregationResult.Histogram getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AggregationResult.Histogram other)
public AggregationResult.Histogram.Builder mergeFrom(AggregationResult.Histogram other)
public AggregationResult.Histogram.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AggregationResult.Histogram.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeBuckets(int index)
public AggregationResult.Histogram.Builder removeBuckets(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 |
| Name |
Description |
index |
int
|
setBuckets(int index, AggregationResult.Histogram.Bucket value)
public AggregationResult.Histogram.Builder setBuckets(int index, AggregationResult.Histogram.Bucket value)
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;
setBuckets(int index, AggregationResult.Histogram.Bucket.Builder builderForValue)
public AggregationResult.Histogram.Builder setBuckets(int index, AggregationResult.Histogram.Bucket.Builder builderForValue)
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;