Class Float64Stats.HistogramBucket.Builder (2.7.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

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

build()

public Float64Stats.HistogramBucket build()
Returns

buildPartial()

public Float64Stats.HistogramBucket buildPartial()
Returns

clear()

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

clone()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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