Class Float64Stats.Builder (2.2.3)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.automl.v1beta1.Float64Stats.HistogramBucket>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends java.lang.Double>

The quantiles to add.

Returns
TypeDescription
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
NameDescription
valueFloat64Stats.HistogramBucket
Returns
TypeDescription
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
NameDescription
builderForValueFloat64Stats.HistogramBucket.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFloat64Stats.HistogramBucket
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFloat64Stats.HistogramBucket.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuedouble

The quantiles to add.

Returns
TypeDescription
Float64Stats.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Float64Stats build()
Returns
TypeDescription
Float64Stats

buildPartial()

public Float64Stats buildPartial()
Returns
TypeDescription
Float64Stats

clear()

public Float64Stats.Builder clear()
Returns
TypeDescription
Float64Stats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMean()

public Float64Stats.Builder clearMean()

The mean of the series.

double mean = 1;

Returns
TypeDescription
Float64Stats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Float64Stats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Float64Stats.Builder

This builder for chaining.

clearStandardDeviation()

public Float64Stats.Builder clearStandardDeviation()

The standard deviation of the series.

double standard_deviation = 2;

Returns
TypeDescription
Float64Stats.Builder

This builder for chaining.

clone()

public Float64Stats.Builder clone()
Returns
TypeDescription
Float64Stats.Builder
Overrides

getDefaultInstanceForType()

public Float64Stats getDefaultInstanceForType()
Returns
TypeDescription
Float64Stats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.automl.v1beta1.Float64Stats.HistogramBucketOrBuilder>

getMean()

public double getMean()

The mean of the series.

double mean = 1;

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

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<Double>

A list containing the quantiles.

getStandardDeviation()

public double getStandardDeviation()

The standard deviation of the series.

double standard_deviation = 2;

Returns
TypeDescription
double

The standardDeviation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Float64Stats other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMean(double value)

public Float64Stats.Builder setMean(double value)

The mean of the series.

double mean = 1;

Parameter
NameDescription
valuedouble

The mean to set.

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

The index to set the value at.

valuedouble

The quantiles to set.

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

setStandardDeviation(double value)

public Float64Stats.Builder setStandardDeviation(double value)

The standard deviation of the series.

double standard_deviation = 2;

Parameter
NameDescription
valuedouble

The standardDeviation to set.

Returns
TypeDescription
Float64Stats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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