Send feedback
Class DataStats (2.3.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.6 keyboard_arrow_down
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
Static Fields
ARRAY_STATS_FIELD_NUMBER
public static final int ARRAY_STATS_FIELD_NUMBER
Field Value
CATEGORY_STATS_FIELD_NUMBER
public static final int CATEGORY_STATS_FIELD_NUMBER
Field Value
DISTINCT_VALUE_COUNT_FIELD_NUMBER
public static final int DISTINCT_VALUE_COUNT_FIELD_NUMBER
Field Value
FLOAT64_STATS_FIELD_NUMBER
public static final int FLOAT64_STATS_FIELD_NUMBER
Field Value
NULL_VALUE_COUNT_FIELD_NUMBER
public static final int NULL_VALUE_COUNT_FIELD_NUMBER
Field Value
STRING_STATS_FIELD_NUMBER
public static final int STRING_STATS_FIELD_NUMBER
Field Value
STRUCT_STATS_FIELD_NUMBER
public static final int STRUCT_STATS_FIELD_NUMBER
Field Value
TIMESTAMP_STATS_FIELD_NUMBER
public static final int TIMESTAMP_STATS_FIELD_NUMBER
Field Value
VALID_VALUE_COUNT_FIELD_NUMBER
public static final int VALID_VALUE_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataStats getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static DataStats . Builder newBuilder ()
Returns
newBuilder(DataStats prototype)
public static DataStats . Builder newBuilder ( DataStats prototype )
Parameter
Returns
public static DataStats parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static DataStats parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataStats parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataStats parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataStats parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataStats parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static DataStats parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static DataStats parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static DataStats parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static DataStats parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataStats parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataStats parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<DataStats> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getArrayStats()
public ArrayStats getArrayStats ()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;
Returns
getArrayStatsOrBuilder()
public ArrayStatsOrBuilder getArrayStatsOrBuilder ()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;
Returns
getCategoryStats()
public CategoryStats getCategoryStats ()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;
Returns
getCategoryStatsOrBuilder()
public CategoryStatsOrBuilder getCategoryStatsOrBuilder ()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;
Returns
getDefaultInstanceForType()
public DataStats getDefaultInstanceForType ()
Returns
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
getFloat64StatsOrBuilder()
public Float64StatsOrBuilder getFloat64StatsOrBuilder ()
The statistics for FLOAT64 DataType.
.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getStatsCase()
public DataStats . StatsCase getStatsCase ()
Returns
getStringStats()
public StringStats getStringStats ()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;
Returns
getStringStatsOrBuilder()
public StringStatsOrBuilder getStringStatsOrBuilder ()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;
Returns
getStructStats()
public StructStats getStructStats ()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;
Returns
getStructStatsOrBuilder()
public StructStatsOrBuilder getStructStatsOrBuilder ()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;
Returns
getTimestampStats()
public TimestampStats getTimestampStats ()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;
Returns
getTimestampStatsOrBuilder()
public TimestampStatsOrBuilder getTimestampStatsOrBuilder ()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public DataStats . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataStats . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public DataStats . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]