Class DataStats (2.53.0)

public final class DataStats extends GeneratedMessageV3 implements DataStatsOrBuilder

The data statistics of a series of values that share the same DataType.

Protobuf type google.cloud.automl.v1beta1.DataStats

Implements

DataStatsOrBuilder

Static Fields

ARRAY_STATS_FIELD_NUMBER

public static final int ARRAY_STATS_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_STATS_FIELD_NUMBER

public static final int CATEGORY_STATS_FIELD_NUMBER
Field Value
Type Description
int

DISTINCT_VALUE_COUNT_FIELD_NUMBER

public static final int DISTINCT_VALUE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

FLOAT64_STATS_FIELD_NUMBER

public static final int FLOAT64_STATS_FIELD_NUMBER
Field Value
Type Description
int

NULL_VALUE_COUNT_FIELD_NUMBER

public static final int NULL_VALUE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

STRING_STATS_FIELD_NUMBER

public static final int STRING_STATS_FIELD_NUMBER
Field Value
Type Description
int

STRUCT_STATS_FIELD_NUMBER

public static final int STRUCT_STATS_FIELD_NUMBER
Field Value
Type Description
int

TIMESTAMP_STATS_FIELD_NUMBER

public static final int TIMESTAMP_STATS_FIELD_NUMBER
Field Value
Type Description
int

VALID_VALUE_COUNT_FIELD_NUMBER

public static final int VALID_VALUE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataStats getDefaultInstance()
Returns
Type Description
DataStats

getDescriptor()

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

newBuilder()

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

newBuilder(DataStats prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getArrayStats()

public ArrayStats getArrayStats()

The statistics for ARRAY DataType.

.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;

Returns
Type Description
ArrayStats

The arrayStats.

getArrayStatsOrBuilder()

public ArrayStatsOrBuilder getArrayStatsOrBuilder()

The statistics for ARRAY DataType.

.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;

Returns
Type Description
ArrayStatsOrBuilder

getCategoryStats()

public CategoryStats getCategoryStats()

The statistics for CATEGORY DataType.

.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;

Returns
Type Description
CategoryStats

The categoryStats.

getCategoryStatsOrBuilder()

public CategoryStatsOrBuilder getCategoryStatsOrBuilder()

The statistics for CATEGORY DataType.

.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;

Returns
Type Description
CategoryStatsOrBuilder

getDefaultInstanceForType()

public DataStats getDefaultInstanceForType()
Returns
Type Description
DataStats

getDistinctValueCount()

public long getDistinctValueCount()

The number of distinct values.

int64 distinct_value_count = 1;

Returns
Type Description
long

The distinctValueCount.

getFloat64Stats()

public Float64Stats getFloat64Stats()

The statistics for FLOAT64 DataType.

.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;

Returns
Type Description
Float64Stats

The float64Stats.

getFloat64StatsOrBuilder()

public Float64StatsOrBuilder getFloat64StatsOrBuilder()

The statistics for FLOAT64 DataType.

.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;

Returns
Type Description
Float64StatsOrBuilder

getNullValueCount()

public long getNullValueCount()

The number of values that are null.

int64 null_value_count = 2;

Returns
Type Description
long

The nullValueCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatsCase()

public DataStats.StatsCase getStatsCase()
Returns
Type Description
DataStats.StatsCase

getStringStats()

public StringStats getStringStats()

The statistics for STRING DataType.

.google.cloud.automl.v1beta1.StringStats string_stats = 4;

Returns
Type Description
StringStats

The stringStats.

getStringStatsOrBuilder()

public StringStatsOrBuilder getStringStatsOrBuilder()

The statistics for STRING DataType.

.google.cloud.automl.v1beta1.StringStats string_stats = 4;

Returns
Type Description
StringStatsOrBuilder

getStructStats()

public StructStats getStructStats()

The statistics for STRUCT DataType.

.google.cloud.automl.v1beta1.StructStats struct_stats = 7;

Returns
Type Description
StructStats

The structStats.

getStructStatsOrBuilder()

public StructStatsOrBuilder getStructStatsOrBuilder()

The statistics for STRUCT DataType.

.google.cloud.automl.v1beta1.StructStats struct_stats = 7;

Returns
Type Description
StructStatsOrBuilder

getTimestampStats()

public TimestampStats getTimestampStats()

The statistics for TIMESTAMP DataType.

.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;

Returns
Type Description
TimestampStats

The timestampStats.

getTimestampStatsOrBuilder()

public TimestampStatsOrBuilder getTimestampStatsOrBuilder()

The statistics for TIMESTAMP DataType.

.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;

Returns
Type Description
TimestampStatsOrBuilder

getValidValueCount()

public long getValidValueCount()

The number of values that are valid.

int64 valid_value_count = 9;

Returns
Type Description
long

The validValueCount.

hasArrayStats()

public boolean hasArrayStats()

The statistics for ARRAY DataType.

.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;

Returns
Type Description
boolean

Whether the arrayStats field is set.

hasCategoryStats()

public boolean hasCategoryStats()

The statistics for CATEGORY DataType.

.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;

Returns
Type Description
boolean

Whether the categoryStats field is set.

hasFloat64Stats()

public boolean hasFloat64Stats()

The statistics for FLOAT64 DataType.

.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;

Returns
Type Description
boolean

Whether the float64Stats field is set.

hasStringStats()

public boolean hasStringStats()

The statistics for STRING DataType.

.google.cloud.automl.v1beta1.StringStats string_stats = 4;

Returns
Type Description
boolean

Whether the stringStats field is set.

hasStructStats()

public boolean hasStructStats()

The statistics for STRUCT DataType.

.google.cloud.automl.v1beta1.StructStats struct_stats = 7;

Returns
Type Description
boolean

Whether the structStats field is set.

hasTimestampStats()

public boolean hasTimestampStats()

The statistics for TIMESTAMP DataType.

.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;

Returns
Type Description
boolean

Whether the timestampStats field is set.

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 DataStats.Builder newBuilderForType()
Returns
Type Description
DataStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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