Class ReportSummary.HistogramChartData.Builder (0.31.0)

public static final class ReportSummary.HistogramChartData.Builder extends GeneratedMessageV3.Builder<ReportSummary.HistogramChartData.Builder> implements ReportSummary.HistogramChartDataOrBuilder

A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBuckets(Iterable<? extends ReportSummary.HistogramChartData.Bucket> values)

public ReportSummary.HistogramChartData.Builder addAllBuckets(Iterable<? extends ReportSummary.HistogramChartData.Bucket> values)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket>
Returns
Type Description
ReportSummary.HistogramChartData.Builder

addBuckets(ReportSummary.HistogramChartData.Bucket value)

public ReportSummary.HistogramChartData.Builder addBuckets(ReportSummary.HistogramChartData.Bucket value)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameter
Name Description
value ReportSummary.HistogramChartData.Bucket
Returns
Type Description
ReportSummary.HistogramChartData.Builder

addBuckets(ReportSummary.HistogramChartData.Bucket.Builder builderForValue)

public ReportSummary.HistogramChartData.Builder addBuckets(ReportSummary.HistogramChartData.Bucket.Builder builderForValue)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameter
Name Description
builderForValue ReportSummary.HistogramChartData.Bucket.Builder
Returns
Type Description
ReportSummary.HistogramChartData.Builder

addBuckets(int index, ReportSummary.HistogramChartData.Bucket value)

public ReportSummary.HistogramChartData.Builder addBuckets(int index, ReportSummary.HistogramChartData.Bucket value)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameters
Name Description
index int
value ReportSummary.HistogramChartData.Bucket
Returns
Type Description
ReportSummary.HistogramChartData.Builder

addBuckets(int index, ReportSummary.HistogramChartData.Bucket.Builder builderForValue)

public ReportSummary.HistogramChartData.Builder addBuckets(int index, ReportSummary.HistogramChartData.Bucket.Builder builderForValue)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameters
Name Description
index int
builderForValue ReportSummary.HistogramChartData.Bucket.Builder
Returns
Type Description
ReportSummary.HistogramChartData.Builder

addBucketsBuilder()

public ReportSummary.HistogramChartData.Bucket.Builder addBucketsBuilder()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder

addBucketsBuilder(int index)

public ReportSummary.HistogramChartData.Bucket.Builder addBucketsBuilder(int index)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.HistogramChartData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

build()

public ReportSummary.HistogramChartData build()
Returns
Type Description
ReportSummary.HistogramChartData

buildPartial()

public ReportSummary.HistogramChartData buildPartial()
Returns
Type Description
ReportSummary.HistogramChartData

clear()

public ReportSummary.HistogramChartData.Builder clear()
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

clearBuckets()

public ReportSummary.HistogramChartData.Builder clearBuckets()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Returns
Type Description
ReportSummary.HistogramChartData.Builder

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.HistogramChartData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.HistogramChartData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

clone()

public ReportSummary.HistogramChartData.Builder clone()
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

getBuckets(int index)

public ReportSummary.HistogramChartData.Bucket getBuckets(int index)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.HistogramChartData.Bucket

getBucketsBuilder(int index)

public ReportSummary.HistogramChartData.Bucket.Builder getBucketsBuilder(int index)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder

getBucketsBuilderList()

public List<ReportSummary.HistogramChartData.Bucket.Builder> getBucketsBuilderList()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Returns
Type Description
List<Builder>

getBucketsCount()

public int getBucketsCount()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Returns
Type Description
int

getBucketsList()

public List<ReportSummary.HistogramChartData.Bucket> getBucketsList()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Returns
Type Description
List<Bucket>

getBucketsOrBuilder(int index)

public ReportSummary.HistogramChartData.BucketOrBuilder getBucketsOrBuilder(int index)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.HistogramChartData.BucketOrBuilder

getBucketsOrBuilderList()

public List<? extends ReportSummary.HistogramChartData.BucketOrBuilder> getBucketsOrBuilderList()

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.BucketOrBuilder>

getDefaultInstanceForType()

public ReportSummary.HistogramChartData getDefaultInstanceForType()
Returns
Type Description
ReportSummary.HistogramChartData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportSummary.HistogramChartData other)

public ReportSummary.HistogramChartData.Builder mergeFrom(ReportSummary.HistogramChartData other)
Parameter
Name Description
other ReportSummary.HistogramChartData
Returns
Type Description
ReportSummary.HistogramChartData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.HistogramChartData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportSummary.HistogramChartData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.HistogramChartData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

removeBuckets(int index)

public ReportSummary.HistogramChartData.Builder removeBuckets(int index)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.HistogramChartData.Builder

setBuckets(int index, ReportSummary.HistogramChartData.Bucket value)

public ReportSummary.HistogramChartData.Builder setBuckets(int index, ReportSummary.HistogramChartData.Bucket value)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameters
Name Description
index int
value ReportSummary.HistogramChartData.Bucket
Returns
Type Description
ReportSummary.HistogramChartData.Builder

setBuckets(int index, ReportSummary.HistogramChartData.Bucket.Builder builderForValue)

public ReportSummary.HistogramChartData.Builder setBuckets(int index, ReportSummary.HistogramChartData.Bucket.Builder builderForValue)

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

repeated .google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket buckets = 1;

Parameters
Name Description
index int
builderForValue ReportSummary.HistogramChartData.Bucket.Builder
Returns
Type Description
ReportSummary.HistogramChartData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.HistogramChartData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

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

public ReportSummary.HistogramChartData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.HistogramChartData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.HistogramChartData.Builder
Overrides