Class DataStats.Builder (2.54.0)

public static final class DataStats.Builder extends GeneratedMessageV3.Builder<DataStats.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataStats.Builder
Overrides

build()

public DataStats build()
Returns
Type Description
DataStats

buildPartial()

public DataStats buildPartial()
Returns
Type Description
DataStats

clear()

public DataStats.Builder clear()
Returns
Type Description
DataStats.Builder
Overrides

clearArrayStats()

public DataStats.Builder clearArrayStats()

The statistics for ARRAY DataType.

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

Returns
Type Description
DataStats.Builder

clearCategoryStats()

public DataStats.Builder clearCategoryStats()

The statistics for CATEGORY DataType.

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

Returns
Type Description
DataStats.Builder

clearDistinctValueCount()

public DataStats.Builder clearDistinctValueCount()

The number of distinct values.

int64 distinct_value_count = 1;

Returns
Type Description
DataStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataStats.Builder
Overrides

clearFloat64Stats()

public DataStats.Builder clearFloat64Stats()

The statistics for FLOAT64 DataType.

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

Returns
Type Description
DataStats.Builder

clearNullValueCount()

public DataStats.Builder clearNullValueCount()

The number of values that are null.

int64 null_value_count = 2;

Returns
Type Description
DataStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataStats.Builder
Overrides

clearStats()

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

clearStringStats()

public DataStats.Builder clearStringStats()

The statistics for STRING DataType.

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

Returns
Type Description
DataStats.Builder

clearStructStats()

public DataStats.Builder clearStructStats()

The statistics for STRUCT DataType.

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

Returns
Type Description
DataStats.Builder

clearTimestampStats()

public DataStats.Builder clearTimestampStats()

The statistics for TIMESTAMP DataType.

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

Returns
Type Description
DataStats.Builder

clearValidValueCount()

public DataStats.Builder clearValidValueCount()

The number of values that are valid.

int64 valid_value_count = 9;

Returns
Type Description
DataStats.Builder

This builder for chaining.

clone()

public DataStats.Builder clone()
Returns
Type Description
DataStats.Builder
Overrides

getArrayStats()

public ArrayStats getArrayStats()

The statistics for ARRAY DataType.

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

Returns
Type Description
ArrayStats

The arrayStats.

getArrayStatsBuilder()

public ArrayStats.Builder getArrayStatsBuilder()

The statistics for ARRAY DataType.

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

Returns
Type Description
ArrayStats.Builder

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.

getCategoryStatsBuilder()

public CategoryStats.Builder getCategoryStatsBuilder()

The statistics for CATEGORY DataType.

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

Returns
Type Description
CategoryStats.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getFloat64StatsBuilder()

public Float64Stats.Builder getFloat64StatsBuilder()

The statistics for FLOAT64 DataType.

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

Returns
Type Description
Float64Stats.Builder

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.

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.

getStringStatsBuilder()

public StringStats.Builder getStringStatsBuilder()

The statistics for STRING DataType.

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

Returns
Type Description
StringStats.Builder

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.

getStructStatsBuilder()

public StructStats.Builder getStructStatsBuilder()

The statistics for STRUCT DataType.

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

Returns
Type Description
StructStats.Builder

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.

getTimestampStatsBuilder()

public TimestampStats.Builder getTimestampStatsBuilder()

The statistics for TIMESTAMP DataType.

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

Returns
Type Description
TimestampStats.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeArrayStats(ArrayStats value)

public DataStats.Builder mergeArrayStats(ArrayStats value)

The statistics for ARRAY DataType.

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

Parameter
Name Description
value ArrayStats
Returns
Type Description
DataStats.Builder

mergeCategoryStats(CategoryStats value)

public DataStats.Builder mergeCategoryStats(CategoryStats value)

The statistics for CATEGORY DataType.

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

Parameter
Name Description
value CategoryStats
Returns
Type Description
DataStats.Builder

mergeFloat64Stats(Float64Stats value)

public DataStats.Builder mergeFloat64Stats(Float64Stats value)

The statistics for FLOAT64 DataType.

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

Parameter
Name Description
value Float64Stats
Returns
Type Description
DataStats.Builder

mergeFrom(DataStats other)

public DataStats.Builder mergeFrom(DataStats other)
Parameter
Name Description
other DataStats
Returns
Type Description
DataStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataStats.Builder
Overrides

mergeStringStats(StringStats value)

public DataStats.Builder mergeStringStats(StringStats value)

The statistics for STRING DataType.

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

Parameter
Name Description
value StringStats
Returns
Type Description
DataStats.Builder

mergeStructStats(StructStats value)

public DataStats.Builder mergeStructStats(StructStats value)

The statistics for STRUCT DataType.

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

Parameter
Name Description
value StructStats
Returns
Type Description
DataStats.Builder

mergeTimestampStats(TimestampStats value)

public DataStats.Builder mergeTimestampStats(TimestampStats value)

The statistics for TIMESTAMP DataType.

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

Parameter
Name Description
value TimestampStats
Returns
Type Description
DataStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataStats.Builder
Overrides

setArrayStats(ArrayStats value)

public DataStats.Builder setArrayStats(ArrayStats value)

The statistics for ARRAY DataType.

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

Parameter
Name Description
value ArrayStats
Returns
Type Description
DataStats.Builder

setArrayStats(ArrayStats.Builder builderForValue)

public DataStats.Builder setArrayStats(ArrayStats.Builder builderForValue)

The statistics for ARRAY DataType.

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

Parameter
Name Description
builderForValue ArrayStats.Builder
Returns
Type Description
DataStats.Builder

setCategoryStats(CategoryStats value)

public DataStats.Builder setCategoryStats(CategoryStats value)

The statistics for CATEGORY DataType.

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

Parameter
Name Description
value CategoryStats
Returns
Type Description
DataStats.Builder

setCategoryStats(CategoryStats.Builder builderForValue)

public DataStats.Builder setCategoryStats(CategoryStats.Builder builderForValue)

The statistics for CATEGORY DataType.

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

Parameter
Name Description
builderForValue CategoryStats.Builder
Returns
Type Description
DataStats.Builder

setDistinctValueCount(long value)

public DataStats.Builder setDistinctValueCount(long value)

The number of distinct values.

int64 distinct_value_count = 1;

Parameter
Name Description
value long

The distinctValueCount to set.

Returns
Type Description
DataStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataStats.Builder
Overrides

setFloat64Stats(Float64Stats value)

public DataStats.Builder setFloat64Stats(Float64Stats value)

The statistics for FLOAT64 DataType.

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

Parameter
Name Description
value Float64Stats
Returns
Type Description
DataStats.Builder

setFloat64Stats(Float64Stats.Builder builderForValue)

public DataStats.Builder setFloat64Stats(Float64Stats.Builder builderForValue)

The statistics for FLOAT64 DataType.

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

Parameter
Name Description
builderForValue Float64Stats.Builder
Returns
Type Description
DataStats.Builder

setNullValueCount(long value)

public DataStats.Builder setNullValueCount(long value)

The number of values that are null.

int64 null_value_count = 2;

Parameter
Name Description
value long

The nullValueCount to set.

Returns
Type Description
DataStats.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataStats.Builder
Overrides

setStringStats(StringStats value)

public DataStats.Builder setStringStats(StringStats value)

The statistics for STRING DataType.

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

Parameter
Name Description
value StringStats
Returns
Type Description
DataStats.Builder

setStringStats(StringStats.Builder builderForValue)

public DataStats.Builder setStringStats(StringStats.Builder builderForValue)

The statistics for STRING DataType.

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

Parameter
Name Description
builderForValue StringStats.Builder
Returns
Type Description
DataStats.Builder

setStructStats(StructStats value)

public DataStats.Builder setStructStats(StructStats value)

The statistics for STRUCT DataType.

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

Parameter
Name Description
value StructStats
Returns
Type Description
DataStats.Builder

setStructStats(StructStats.Builder builderForValue)

public DataStats.Builder setStructStats(StructStats.Builder builderForValue)

The statistics for STRUCT DataType.

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

Parameter
Name Description
builderForValue StructStats.Builder
Returns
Type Description
DataStats.Builder

setTimestampStats(TimestampStats value)

public DataStats.Builder setTimestampStats(TimestampStats value)

The statistics for TIMESTAMP DataType.

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

Parameter
Name Description
value TimestampStats
Returns
Type Description
DataStats.Builder

setTimestampStats(TimestampStats.Builder builderForValue)

public DataStats.Builder setTimestampStats(TimestampStats.Builder builderForValue)

The statistics for TIMESTAMP DataType.

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

Parameter
Name Description
builderForValue TimestampStats.Builder
Returns
Type Description
DataStats.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataStats.Builder
Overrides

setValidValueCount(long value)

public DataStats.Builder setValidValueCount(long value)

The number of values that are valid.

int64 valid_value_count = 9;

Parameter
Name Description
value long

The validValueCount to set.

Returns
Type Description
DataStats.Builder

This builder for chaining.