Class Float64Stats (2.46.0)

public final class Float64Stats extends GeneratedMessageV3 implements Float64StatsOrBuilder

The data statistics of a series of FLOAT64 values.

Protobuf type google.cloud.automl.v1beta1.Float64Stats

Static Fields

HISTOGRAM_BUCKETS_FIELD_NUMBER

public static final int HISTOGRAM_BUCKETS_FIELD_NUMBER
Field Value
Type Description
int

MEAN_FIELD_NUMBER

public static final int MEAN_FIELD_NUMBER
Field Value
Type Description
int

QUANTILES_FIELD_NUMBER

public static final int QUANTILES_FIELD_NUMBER
Field Value
Type Description
int

STANDARD_DEVIATION_FIELD_NUMBER

public static final int STANDARD_DEVIATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Float64Stats getDefaultInstance()
Returns
Type Description
Float64Stats

getDescriptor()

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

newBuilder()

public static Float64Stats.Builder newBuilder()
Returns
Type Description
Float64Stats.Builder

newBuilder(Float64Stats prototype)

public static Float64Stats.Builder newBuilder(Float64Stats prototype)
Parameter
Name Description
prototype Float64Stats
Returns
Type Description
Float64Stats.Builder

parseDelimitedFrom(InputStream input)

public static Float64Stats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Float64Stats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Float64Stats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Float64Stats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Float64Stats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Float64Stats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Float64Stats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Float64Stats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Float64Stats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Float64Stats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Float64Stats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Float64Stats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Float64Stats> parser()
Returns
Type Description
Parser<Float64Stats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Float64Stats getDefaultInstanceForType()
Returns
Type Description
Float64Stats

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

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.

getParserForType()

public Parser<Float64Stats> getParserForType()
Returns
Type Description
Parser<Float64Stats>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStandardDeviation()

public double getStandardDeviation()

The standard deviation of the series.

double standard_deviation = 2;

Returns
Type Description
double

The standardDeviation.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Float64Stats.Builder newBuilderForType()
Returns
Type Description
Float64Stats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Float64Stats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Float64Stats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Float64Stats.Builder toBuilder()
Returns
Type Description
Float64Stats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException