Class ReportSummary.HistogramChartData.Builder (0.10.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket>
Returns
TypeDescription
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
NameDescription
valueReportSummary.HistogramChartData.Bucket
Returns
TypeDescription
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
NameDescription
builderForValueReportSummary.HistogramChartData.Bucket.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReportSummary.HistogramChartData.Bucket
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportSummary.HistogramChartData.Bucket.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public ReportSummary.HistogramChartData.Builder clear()
Returns
TypeDescription
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
TypeDescription
ReportSummary.HistogramChartData.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ReportSummary.HistogramChartData.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.BucketOrBuilder>

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportSummary.HistogramChartData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.HistogramChartData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportSummary.HistogramChartData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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