Class Float64Stats.HistogramBucket.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Float64Stats.HistogramBucket build()
Returns
TypeDescription
Float64Stats.HistogramBucket

buildPartial()

public Float64Stats.HistogramBucket buildPartial()
Returns
TypeDescription
Float64Stats.HistogramBucket

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Float64Stats.HistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Float64Stats.HistogramBucket.Builder

This builder for chaining.

clearMin()

public Float64Stats.HistogramBucket.Builder clearMin()

The minimum value of the bucket, inclusive.

double min = 1;

Returns
TypeDescription
Float64Stats.HistogramBucket.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Float64Stats.HistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder
Overrides

clone()

public Float64Stats.HistogramBucket.Builder clone()
Returns
TypeDescription
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
TypeDescription
long

The count.

getDefaultInstanceForType()

public Float64Stats.HistogramBucket getDefaultInstanceForType()
Returns
TypeDescription
Float64Stats.HistogramBucket

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
double

The max.

getMin()

public double getMin()

The minimum value of the bucket, inclusive.

double min = 1;

Returns
TypeDescription
double

The min.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Float64Stats.HistogramBucket other)

public Float64Stats.HistogramBucket.Builder mergeFrom(Float64Stats.HistogramBucket other)
Parameter
NameDescription
otherFloat64Stats.HistogramBucket
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Float64Stats.HistogramBucket.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Float64Stats.HistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The count to set.

Returns
TypeDescription
Float64Stats.HistogramBucket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Float64Stats.HistogramBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The max to set.

Returns
TypeDescription
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
NameDescription
valuedouble

The min to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Float64Stats.HistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder
Overrides