Class ReportSummary.HistogramChartData.Bucket.Builder (0.5.0)

public static final class ReportSummary.HistogramChartData.Bucket.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.HistogramChartData.Bucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

build()

public ReportSummary.HistogramChartData.Bucket build()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket

buildPartial()

public ReportSummary.HistogramChartData.Bucket buildPartial()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket

clear()

public ReportSummary.HistogramChartData.Bucket.Builder clear()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

clearCount()

public ReportSummary.HistogramChartData.Bucket.Builder clearCount()

Count of items in the bucket.

int64 count = 3;

Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.HistogramChartData.Bucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

clearLowerBound()

public ReportSummary.HistogramChartData.Bucket.Builder clearLowerBound()

Lower bound - inclusive.

int64 lower_bound = 1;

Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.HistogramChartData.Bucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

clearUpperBound()

public ReportSummary.HistogramChartData.Bucket.Builder clearUpperBound()

Upper bound - exclusive.

int64 upper_bound = 2;

Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

This builder for chaining.

clone()

public ReportSummary.HistogramChartData.Bucket.Builder clone()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

getCount()

public long getCount()

Count of items in the bucket.

int64 count = 3;

Returns
TypeDescription
long

The count.

getDefaultInstanceForType()

public ReportSummary.HistogramChartData.Bucket getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLowerBound()

public long getLowerBound()

Lower bound - inclusive.

int64 lower_bound = 1;

Returns
TypeDescription
long

The lowerBound.

getUpperBound()

public long getUpperBound()

Upper bound - exclusive.

int64 upper_bound = 2;

Returns
TypeDescription
long

The upperBound.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportSummary.HistogramChartData.Bucket other)

public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(ReportSummary.HistogramChartData.Bucket other)
Parameter
NameDescription
otherReportSummary.HistogramChartData.Bucket
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.HistogramChartData.Bucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The count to set.

Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.HistogramChartData.Bucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

setLowerBound(long value)

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

Lower bound - inclusive.

int64 lower_bound = 1;

Parameter
NameDescription
valuelong

The lowerBound to set.

Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportSummary.HistogramChartData.Bucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.HistogramChartData.Bucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

setUpperBound(long value)

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

Upper bound - exclusive.

int64 upper_bound = 2;

Parameter
NameDescription
valuelong

The upperBound to set.

Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

This builder for chaining.