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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportSummary.HistogramChartData.Bucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReportSummary.HistogramChartData.Bucket build()
buildPartial()
public ReportSummary.HistogramChartData.Bucket buildPartial()
clear()
public ReportSummary.HistogramChartData.Bucket.Builder clear()
Overrides
clearCount()
public ReportSummary.HistogramChartData.Bucket.Builder clearCount()
Count of items in the bucket.
int64 count = 3;
clearField(Descriptors.FieldDescriptor field)
public ReportSummary.HistogramChartData.Bucket.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLowerBound()
public ReportSummary.HistogramChartData.Bucket.Builder clearLowerBound()
Lower bound - inclusive.
int64 lower_bound = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportSummary.HistogramChartData.Bucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpperBound()
public ReportSummary.HistogramChartData.Bucket.Builder clearUpperBound()
Upper bound - exclusive.
int64 upper_bound = 2;
clone()
public ReportSummary.HistogramChartData.Bucket.Builder clone()
Overrides
getCount()
Count of items in the bucket.
int64 count = 3;
Returns |
---|
Type | Description |
long | The count.
|
getDefaultInstanceForType()
public ReportSummary.HistogramChartData.Bucket getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReportSummary.HistogramChartData.Bucket other)
public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(ReportSummary.HistogramChartData.Bucket other)
public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReportSummary.HistogramChartData.Bucket.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportSummary.HistogramChartData.Bucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReportSummary.HistogramChartData.Bucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportSummary.HistogramChartData.Bucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportSummary.HistogramChartData.Bucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|