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
MEAN_FIELD_NUMBER
public static final int MEAN_FIELD_NUMBER
Field Value
QUANTILES_FIELD_NUMBER
public static final int QUANTILES_FIELD_NUMBER
Field Value
STANDARD_DEVIATION_FIELD_NUMBER
public static final int STANDARD_DEVIATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Float64Stats getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Float64Stats.Builder newBuilder()
Returns
newBuilder(Float64Stats prototype)
public static Float64Stats.Builder newBuilder(Float64Stats prototype)
Parameter
Returns
public static Float64Stats parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Float64Stats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Float64Stats parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Float64Stats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Float64Stats parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Float64Stats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Float64Stats parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Float64Stats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Float64Stats parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Float64Stats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Float64Stats parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Float64Stats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Float64Stats> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Float64Stats getDefaultInstanceForType()
Returns
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
Returns
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
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
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
Returns
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()
The mean of the series.
double mean = 1;
Returns
Type | Description |
double | The mean.
|
getParserForType()
public Parser<Float64Stats> getParserForType()
Returns
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
Overrides
getStandardDeviation()
public double getStandardDeviation()
The standard deviation of the series.
double standard_deviation = 2;
Returns
Type | Description |
double | The standardDeviation.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Float64Stats.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Float64Stats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Float64Stats.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions