public static final class ReportSummary.HistogramChartData.Bucket.Builder extends GeneratedMessage.Builder<ReportSummary.HistogramChartData.Bucket.Builder> implements ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReportSummary.HistogramChartData.Bucket.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReportSummary.HistogramChartData.Bucket build()| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket |
|
buildPartial()
public ReportSummary.HistogramChartData.Bucket buildPartial()| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket |
|
clear()
public ReportSummary.HistogramChartData.Bucket.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
|
clearCount()
public ReportSummary.HistogramChartData.Bucket.Builder clearCount()Count of items in the bucket.
int64 count = 3;
| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
This builder for chaining. |
clearLowerBound()
public ReportSummary.HistogramChartData.Bucket.Builder clearLowerBound()Lower bound - inclusive.
int64 lower_bound = 1;
| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
This builder for chaining. |
clearUpperBound()
public ReportSummary.HistogramChartData.Bucket.Builder clearUpperBound()Upper bound - exclusive.
int64 upper_bound = 2;
| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.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 ReportSummary.HistogramChartData.Bucket getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLowerBound()
public long getLowerBound()Lower bound - inclusive.
int64 lower_bound = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The lowerBound. |
getUpperBound()
public long getUpperBound()Upper bound - exclusive.
int64 upper_bound = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The upperBound. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReportSummary.HistogramChartData.Bucket other)
public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(ReportSummary.HistogramChartData.Bucket other)| Parameter | |
|---|---|
| Name | Description |
other |
ReportSummary.HistogramChartData.Bucket |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
|
setCount(long value)
public ReportSummary.HistogramChartData.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 |
ReportSummary.HistogramChartData.Bucket.Builder |
This builder for chaining. |
setLowerBound(long value)
public ReportSummary.HistogramChartData.Bucket.Builder setLowerBound(long value)Lower bound - inclusive.
int64 lower_bound = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe lowerBound to set. |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
This builder for chaining. |
setUpperBound(long value)
public ReportSummary.HistogramChartData.Bucket.Builder setUpperBound(long value)Upper bound - exclusive.
int64 upper_bound = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe upperBound to set. |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
This builder for chaining. |