public static final class Float64Stats.HistogramBucket.Builder extends GeneratedMessage.Builder<Float64Stats.HistogramBucket.Builder> implements Float64Stats.HistogramBucketOrBuilderA bucket of a histogram.
Protobuf type google.cloud.automl.v1beta1.Float64Stats.HistogramBucket
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Float64Stats.HistogramBucket.BuilderImplements
Float64Stats.HistogramBucketOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Float64Stats.HistogramBucket build()| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket |
|
buildPartial()
public Float64Stats.HistogramBucket buildPartial()| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket |
|
clear()
public Float64Stats.HistogramBucket.Builder clear()| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
|
clearCount()
public Float64Stats.HistogramBucket.Builder clearCount()The number of data values that are in the bucket, i.e. are between min and max values.
int64 count = 3;
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
This builder for chaining. |
clearMax()
public Float64Stats.HistogramBucket.Builder clearMax() The maximum value of the bucket, exclusive unless max = "Infinity", in
which case it's inclusive.
double max = 2;
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
This builder for chaining. |
clearMin()
public Float64Stats.HistogramBucket.Builder clearMin()The minimum value of the bucket, inclusive.
double min = 1;
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
This builder for chaining. |
getCount()
public long getCount()The number of data values that are in the bucket, i.e. are between min and max values.
int64 count = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public Float64Stats.HistogramBucket getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMax()
public double getMax() The maximum value of the bucket, exclusive unless max = "Infinity", in
which case it's inclusive.
double max = 2;
| Returns | |
|---|---|
| Type | Description |
double |
The max. |
getMin()
public double getMin()The minimum value of the bucket, inclusive.
double min = 1;
| Returns | |
|---|---|
| Type | Description |
double |
The min. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Float64Stats.HistogramBucket other)
public Float64Stats.HistogramBucket.Builder mergeFrom(Float64Stats.HistogramBucket other)| Parameter | |
|---|---|
| Name | Description |
other |
Float64Stats.HistogramBucket |
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Float64Stats.HistogramBucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Float64Stats.HistogramBucket.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
|
setCount(long value)
public Float64Stats.HistogramBucket.Builder setCount(long value)The number of data values that are in the bucket, i.e. are between min and max values.
int64 count = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
This builder for chaining. |
setMax(double value)
public Float64Stats.HistogramBucket.Builder setMax(double value) The maximum value of the bucket, exclusive unless max = "Infinity", in
which case it's inclusive.
double max = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe max to set. |
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
This builder for chaining. |
setMin(double value)
public Float64Stats.HistogramBucket.Builder setMin(double value)The minimum value of the bucket, inclusive.
double min = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe min to set. |
| Returns | |
|---|---|
| Type | Description |
Float64Stats.HistogramBucket.Builder |
This builder for chaining. |