public static final class AggregationResult.Histogram.Bucket.Builder extends GeneratedMessageV3.Builder<AggregationResult.Histogram.Bucket.Builder> implements AggregationResult.Histogram.BucketOrBuilder
A histogram bucket with a lower and upper bound, and a count of items
with a field value between those bounds.
The lower bound is inclusive and the upper bound is exclusive.
Lower bound may be -infinity and upper bound may be infinity.
Protobuf type google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AggregationResult.Histogram.Bucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AggregationResult.Histogram.Bucket build()
buildPartial()
public AggregationResult.Histogram.Bucket buildPartial()
clear()
public AggregationResult.Histogram.Bucket.Builder clear()
Overrides
clearCount()
public AggregationResult.Histogram.Bucket.Builder clearCount()
Count of items in the bucket.
int64 count = 3;
clearField(Descriptors.FieldDescriptor field)
public AggregationResult.Histogram.Bucket.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLowerBound()
public AggregationResult.Histogram.Bucket.Builder clearLowerBound()
Lower bound - inclusive.
double lower_bound = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AggregationResult.Histogram.Bucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpperBound()
public AggregationResult.Histogram.Bucket.Builder clearUpperBound()
Upper bound - exclusive.
double upper_bound = 2;
clone()
public AggregationResult.Histogram.Bucket.Builder clone()
Overrides
getCount()
Count of items in the bucket.
int64 count = 3;
Returns |
Type |
Description |
long |
The count.
|
getDefaultInstanceForType()
public AggregationResult.Histogram.Bucket getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLowerBound()
public double getLowerBound()
Lower bound - inclusive.
double lower_bound = 1;
Returns |
Type |
Description |
double |
The lowerBound.
|
getUpperBound()
public double getUpperBound()
Upper bound - exclusive.
double upper_bound = 2;
Returns |
Type |
Description |
double |
The upperBound.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AggregationResult.Histogram.Bucket other)
public AggregationResult.Histogram.Bucket.Builder mergeFrom(AggregationResult.Histogram.Bucket other)
public AggregationResult.Histogram.Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AggregationResult.Histogram.Bucket.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult.Histogram.Bucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCount(long value)
public AggregationResult.Histogram.Bucket.Builder setCount(long value)
Count of items in the bucket.
int64 count = 3;
Parameter |
Name |
Description |
value |
long
The count to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AggregationResult.Histogram.Bucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLowerBound(double value)
public AggregationResult.Histogram.Bucket.Builder setLowerBound(double value)
Lower bound - inclusive.
double lower_bound = 1;
Parameter |
Name |
Description |
value |
double
The lowerBound to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AggregationResult.Histogram.Bucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult.Histogram.Bucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpperBound(double value)
public AggregationResult.Histogram.Bucket.Builder setUpperBound(double value)
Upper bound - exclusive.
double upper_bound = 2;
Parameter |
Name |
Description |
value |
double
The upperBound to set.
|