- 0.67.0 (latest)
- 0.65.0
- 0.64.0
- 0.62.0
- 0.60.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class AggregationResult.Histogram.Bucket.Builder extends GeneratedMessage.Builder<AggregationResult.Histogram.Bucket.Builder> implements AggregationResult.Histogram.BucketOrBuilderA 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AggregationResult.Histogram.Bucket.BuilderImplements
AggregationResult.Histogram.BucketOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AggregationResult.Histogram.Bucket build()| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket |
|
buildPartial()
public AggregationResult.Histogram.Bucket buildPartial()| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket |
|
clear()
public AggregationResult.Histogram.Bucket.Builder clear()| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
|
clearCount()
public AggregationResult.Histogram.Bucket.Builder clearCount()Count of items in the bucket.
int64 count = 3;
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
This builder for chaining. |
clearLowerBound()
public AggregationResult.Histogram.Bucket.Builder clearLowerBound()Lower bound - inclusive.
double lower_bound = 1;
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
This builder for chaining. |
clearUpperBound()
public AggregationResult.Histogram.Bucket.Builder clearUpperBound()Upper bound - exclusive.
double upper_bound = 2;
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
This builder for chaining. |
getCount()
public long getCount()Count of items in the bucket.
int64 count = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public AggregationResult.Histogram.Bucket getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AggregationResult.Histogram.Bucket other)
public AggregationResult.Histogram.Bucket.Builder mergeFrom(AggregationResult.Histogram.Bucket other)| Parameter | |
|---|---|
| Name | Description |
other |
AggregationResult.Histogram.Bucket |
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AggregationResult.Histogram.Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AggregationResult.Histogram.Bucket.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
|
setCount(long value)
public AggregationResult.Histogram.Bucket.Builder setCount(long value)Count of items in the bucket.
int64 count = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
This builder for chaining. |
setLowerBound(double value)
public AggregationResult.Histogram.Bucket.Builder setLowerBound(double value)Lower bound - inclusive.
double lower_bound = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe lowerBound to set. |
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
This builder for chaining. |
setUpperBound(double value)
public AggregationResult.Histogram.Bucket.Builder setUpperBound(double value)Upper bound - exclusive.
double upper_bound = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe upperBound to set. |
| Returns | |
|---|---|
| Type | Description |
AggregationResult.Histogram.Bucket.Builder |
This builder for chaining. |