Class Float64Stats.Builder (2.42.0)

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

The data statistics of a series of FLOAT64 values.

Protobuf type google.cloud.automl.v1beta1.Float64Stats

Static Methods

getDescriptor()

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

Methods

addAllHistogramBuckets(Iterable<? extends Float64Stats.HistogramBucket> values)

public Float64Stats.Builder addAllHistogramBuckets(Iterable<? extends Float64Stats.HistogramBucket> values)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.automl.v1beta1.Float64Stats.HistogramBucket>
Returns
Type Description
Float64Stats.Builder

addAllQuantiles(Iterable<? extends Double> values)

public Float64Stats.Builder addAllQuantiles(Iterable<? extends Double> values)

Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.

repeated double quantiles = 3;

Parameter
Name Description
values Iterable<? extends java.lang.Double>

The quantiles to add.

Returns
Type Description
Float64Stats.Builder

This builder for chaining.

addHistogramBuckets(Float64Stats.HistogramBucket value)

public Float64Stats.Builder addHistogramBuckets(Float64Stats.HistogramBucket value)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameter
Name Description
value Float64Stats.HistogramBucket
Returns
Type Description
Float64Stats.Builder

addHistogramBuckets(Float64Stats.HistogramBucket.Builder builderForValue)

public Float64Stats.Builder addHistogramBuckets(Float64Stats.HistogramBucket.Builder builderForValue)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameter
Name Description
builderForValue Float64Stats.HistogramBucket.Builder
Returns
Type Description
Float64Stats.Builder

addHistogramBuckets(int index, Float64Stats.HistogramBucket value)

public Float64Stats.Builder addHistogramBuckets(int index, Float64Stats.HistogramBucket value)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameters
Name Description
index int
value Float64Stats.HistogramBucket
Returns
Type Description
Float64Stats.Builder

addHistogramBuckets(int index, Float64Stats.HistogramBucket.Builder builderForValue)

public Float64Stats.Builder addHistogramBuckets(int index, Float64Stats.HistogramBucket.Builder builderForValue)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameters
Name Description
index int
builderForValue Float64Stats.HistogramBucket.Builder
Returns
Type Description
Float64Stats.Builder

addHistogramBucketsBuilder()

public Float64Stats.HistogramBucket.Builder addHistogramBucketsBuilder()

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Returns
Type Description
Float64Stats.HistogramBucket.Builder

addHistogramBucketsBuilder(int index)

public Float64Stats.HistogramBucket.Builder addHistogramBucketsBuilder(int index)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameter
Name Description
index int
Returns
Type Description
Float64Stats.HistogramBucket.Builder

addQuantiles(double value)

public Float64Stats.Builder addQuantiles(double value)

Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.

repeated double quantiles = 3;

Parameter
Name Description
value double

The quantiles to add.

Returns
Type Description
Float64Stats.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Float64Stats build()
Returns
Type Description
Float64Stats

buildPartial()

public Float64Stats buildPartial()
Returns
Type Description
Float64Stats

clear()

public Float64Stats.Builder clear()
Returns
Type Description
Float64Stats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearHistogramBuckets()

public Float64Stats.Builder clearHistogramBuckets()

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Returns
Type Description
Float64Stats.Builder

clearMean()

public Float64Stats.Builder clearMean()

The mean of the series.

double mean = 1;

Returns
Type Description
Float64Stats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuantiles()

public Float64Stats.Builder clearQuantiles()

Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.

repeated double quantiles = 3;

Returns
Type Description
Float64Stats.Builder

This builder for chaining.

clearStandardDeviation()

public Float64Stats.Builder clearStandardDeviation()

The standard deviation of the series.

double standard_deviation = 2;

Returns
Type Description
Float64Stats.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Float64Stats getDefaultInstanceForType()
Returns
Type Description
Float64Stats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHistogramBuckets(int index)

public Float64Stats.HistogramBucket getHistogramBuckets(int index)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameter
Name Description
index int
Returns
Type Description
Float64Stats.HistogramBucket

getHistogramBucketsBuilder(int index)

public Float64Stats.HistogramBucket.Builder getHistogramBucketsBuilder(int index)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameter
Name Description
index int
Returns
Type Description
Float64Stats.HistogramBucket.Builder

getHistogramBucketsBuilderList()

public List<Float64Stats.HistogramBucket.Builder> getHistogramBucketsBuilderList()

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Returns
Type Description
List<Builder>

getHistogramBucketsCount()

public int getHistogramBucketsCount()

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Returns
Type Description
int

getHistogramBucketsList()

public List<Float64Stats.HistogramBucket> getHistogramBucketsList()

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Returns
Type Description
List<HistogramBucket>

getHistogramBucketsOrBuilder(int index)

public Float64Stats.HistogramBucketOrBuilder getHistogramBucketsOrBuilder(int index)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameter
Name Description
index int
Returns
Type Description
Float64Stats.HistogramBucketOrBuilder

getHistogramBucketsOrBuilderList()

public List<? extends Float64Stats.HistogramBucketOrBuilder> getHistogramBucketsOrBuilderList()

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Returns
Type Description
List<? extends com.google.cloud.automl.v1beta1.Float64Stats.HistogramBucketOrBuilder>

getMean()

public double getMean()

The mean of the series.

double mean = 1;

Returns
Type Description
double

The mean.

getQuantiles(int index)

public double getQuantiles(int index)

Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.

repeated double quantiles = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
double

The quantiles at the given index.

getQuantilesCount()

public int getQuantilesCount()

Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.

repeated double quantiles = 3;

Returns
Type Description
int

The count of quantiles.

getQuantilesList()

public List<Double> getQuantilesList()

Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.

repeated double quantiles = 3;

Returns
Type Description
List<Double>

A list containing the quantiles.

getStandardDeviation()

public double getStandardDeviation()

The standard deviation of the series.

double standard_deviation = 2;

Returns
Type Description
double

The standardDeviation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Float64Stats other)

public Float64Stats.Builder mergeFrom(Float64Stats other)
Parameter
Name Description
other Float64Stats
Returns
Type Description
Float64Stats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Float64Stats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Float64Stats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Float64Stats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeHistogramBuckets(int index)

public Float64Stats.Builder removeHistogramBuckets(int index)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameter
Name Description
index int
Returns
Type Description
Float64Stats.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHistogramBuckets(int index, Float64Stats.HistogramBucket value)

public Float64Stats.Builder setHistogramBuckets(int index, Float64Stats.HistogramBucket value)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameters
Name Description
index int
value Float64Stats.HistogramBucket
Returns
Type Description
Float64Stats.Builder

setHistogramBuckets(int index, Float64Stats.HistogramBucket.Builder builderForValue)

public Float64Stats.Builder setHistogramBuckets(int index, Float64Stats.HistogramBucket.Builder builderForValue)

Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being "-Infinity", and max of the last one being "Infinity".

repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;

Parameters
Name Description
index int
builderForValue Float64Stats.HistogramBucket.Builder
Returns
Type Description
Float64Stats.Builder

setMean(double value)

public Float64Stats.Builder setMean(double value)

The mean of the series.

double mean = 1;

Parameter
Name Description
value double

The mean to set.

Returns
Type Description
Float64Stats.Builder

This builder for chaining.

setQuantiles(int index, double value)

public Float64Stats.Builder setQuantiles(int index, double value)

Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.

repeated double quantiles = 3;

Parameters
Name Description
index int

The index to set the value at.

value double

The quantiles to set.

Returns
Type Description
Float64Stats.Builder

This builder for chaining.

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

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

setStandardDeviation(double value)

public Float64Stats.Builder setStandardDeviation(double value)

The standard deviation of the series.

double standard_deviation = 2;

Parameter
Name Description
value double

The standardDeviation to set.

Returns
Type Description
Float64Stats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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