Class ReportSummary.HistogramChartData.Bucket.Builder (0.65.0)

public static final class ReportSummary.HistogramChartData.Bucket.Builder extends GeneratedMessage.Builder<ReportSummary.HistogramChartData.Bucket.Builder> implements ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

setCount(long value)

public ReportSummary.HistogramChartData.Bucket.Builder setCount(long value)

Count of items in the bucket.

int64 count = 3;

Parameter
Name Description
value long

The 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 long

The 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 long

The upperBound to set.

Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder

This builder for chaining.