public static final class AggregationResult.Histogram.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AggregationResult.Histogram.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public AggregationResult.Histogram.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AggregationResult.Histogram.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AggregationResult.Histogram.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult.Histogram.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public AggregationResult.Histogram.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AggregationResult.Histogram.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult.Histogram.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides