Class Float64Stats (2.2.3)

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
TypeDescription
int

MEAN_FIELD_NUMBER

public static final int MEAN_FIELD_NUMBER
Field Value
TypeDescription
int

QUANTILES_FIELD_NUMBER

public static final int QUANTILES_FIELD_NUMBER
Field Value
TypeDescription
int

STANDARD_DEVIATION_FIELD_NUMBER

public static final int STANDARD_DEVIATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Float64Stats getDefaultInstance()
Returns
TypeDescription
Float64Stats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Float64Stats.Builder newBuilder()
Returns
TypeDescription
Float64Stats.Builder

newBuilder(Float64Stats prototype)

public static Float64Stats.Builder newBuilder(Float64Stats prototype)
Parameter
NameDescription
prototypeFloat64Stats
Returns
TypeDescription
Float64Stats.Builder

parseDelimitedFrom(InputStream input)

public static Float64Stats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Float64Stats parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Float64Stats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Float64Stats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Float64Stats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Float64Stats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Float64Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Float64Stats> parser()
Returns
TypeDescription
Parser<Float64Stats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Float64Stats getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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.

getParserForType()

public Parser<Float64Stats> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStandardDeviation()

public double getStandardDeviation()

The standard deviation of the series.

double standard_deviation = 2;

Returns
TypeDescription
double

The standardDeviation.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Float64Stats.Builder newBuilderForType()
Returns
TypeDescription
Float64Stats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Float64Stats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Float64Stats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Float64Stats.Builder toBuilder()
Returns
TypeDescription
Float64Stats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException