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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReportSummary.HistogramChartData.Bucket.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportSummary.HistogramChartData.Bucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
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 |
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. |
clearField(Descriptors.FieldDescriptor field)
public ReportSummary.HistogramChartData.Bucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportSummary.HistogramChartData.Bucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
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. |
clone()
public ReportSummary.HistogramChartData.Bucket.Builder clone()
Returns | |
---|---|
Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
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 |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportSummary.HistogramChartData.Bucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
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. |
setField(Descriptors.FieldDescriptor field, Object value)
public ReportSummary.HistogramChartData.Bucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportSummary.HistogramChartData.Bucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportSummary.HistogramChartData.Bucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportSummary.HistogramChartData.Bucket.Builder |
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. |