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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataStats.Builder newBuilder()
newBuilder(DataStats prototype)
public static DataStats.Builder newBuilder(DataStats prototype)
public static DataStats parseDelimitedFrom(InputStream input)
public static DataStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataStats parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataStats parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataStats parseFrom(CodedInputStream input)
public static DataStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataStats parseFrom(InputStream input)
public static DataStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataStats parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataStats> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getArrayStats()
public ArrayStats getArrayStats()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;
getArrayStatsOrBuilder()
public ArrayStatsOrBuilder getArrayStatsOrBuilder()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;
getCategoryStats()
public CategoryStats getCategoryStats()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;
getCategoryStatsOrBuilder()
public CategoryStatsOrBuilder getCategoryStatsOrBuilder()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;
getDefaultInstanceForType()
public DataStats getDefaultInstanceForType()
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;
getFloat64StatsOrBuilder()
public Float64StatsOrBuilder getFloat64StatsOrBuilder()
The statistics for FLOAT64 DataType.
.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStatsCase()
public DataStats.StatsCase getStatsCase()
getStringStats()
public StringStats getStringStats()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;
getStringStatsOrBuilder()
public StringStatsOrBuilder getStringStatsOrBuilder()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;
getStructStats()
public StructStats getStructStats()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;
getStructStatsOrBuilder()
public StructStatsOrBuilder getStructStatsOrBuilder()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;
getTimestampStats()
public TimestampStats getTimestampStats()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;
getTimestampStatsOrBuilder()
public TimestampStatsOrBuilder getTimestampStatsOrBuilder()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataStats.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DataStats.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides