Class Float64Stats.HistogramBucket.Builder (2.44.0)

public static final class Float64Stats.HistogramBucket.Builder extends GeneratedMessageV3.Builder<Float64Stats.HistogramBucket.Builder> implements Float64Stats.HistogramBucketOrBuilder

A bucket of a histogram.

Protobuf type google.cloud.automl.v1beta1.Float64Stats.HistogramBucket

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Float64Stats.HistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Float64Stats.HistogramBucket.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Float64Stats.HistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Float64Stats.HistogramBucket.Builder
Overrides

clone()

public Float64Stats.HistogramBucket.Builder clone()
Returns
Type Description
Float64Stats.HistogramBucket.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Float64Stats.HistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Float64Stats.HistogramBucket.Builder
Overrides

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 long

The count to set.

Returns
Type Description
Float64Stats.HistogramBucket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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 double

The 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 double

The min to set.

Returns
Type Description
Float64Stats.HistogramBucket.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Float64Stats.HistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Float64Stats.HistogramBucket.Builder
Overrides