Class DataStats.Builder (2.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataStats.Builder
Overrides

build()

public DataStats build()
Returns
TypeDescription
DataStats

buildPartial()

public DataStats buildPartial()
Returns
TypeDescription
DataStats

clear()

public DataStats.Builder clear()
Returns
TypeDescription
DataStats.Builder
Overrides

clearArrayStats()

public DataStats.Builder clearArrayStats()

The statistics for ARRAY DataType.

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

Returns
TypeDescription
DataStats.Builder

clearCategoryStats()

public DataStats.Builder clearCategoryStats()

The statistics for CATEGORY DataType.

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

Returns
TypeDescription
DataStats.Builder

clearDistinctValueCount()

public DataStats.Builder clearDistinctValueCount()

The number of distinct values.

int64 distinct_value_count = 1;

Returns
TypeDescription
DataStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataStats.Builder
Overrides

clearFloat64Stats()

public DataStats.Builder clearFloat64Stats()

The statistics for FLOAT64 DataType.

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

Returns
TypeDescription
DataStats.Builder

clearNullValueCount()

public DataStats.Builder clearNullValueCount()

The number of values that are null.

int64 null_value_count = 2;

Returns
TypeDescription
DataStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataStats.Builder
Overrides

clearStats()

public DataStats.Builder clearStats()
Returns
TypeDescription
DataStats.Builder

clearStringStats()

public DataStats.Builder clearStringStats()

The statistics for STRING DataType.

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

Returns
TypeDescription
DataStats.Builder

clearStructStats()

public DataStats.Builder clearStructStats()

The statistics for STRUCT DataType.

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

Returns
TypeDescription
DataStats.Builder

clearTimestampStats()

public DataStats.Builder clearTimestampStats()

The statistics for TIMESTAMP DataType.

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

Returns
TypeDescription
DataStats.Builder

clearValidValueCount()

public DataStats.Builder clearValidValueCount()

The number of values that are valid.

int64 valid_value_count = 9;

Returns
TypeDescription
DataStats.Builder

This builder for chaining.

clone()

public DataStats.Builder clone()
Returns
TypeDescription
DataStats.Builder
Overrides

getArrayStats()

public ArrayStats getArrayStats()

The statistics for ARRAY DataType.

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

Returns
TypeDescription
ArrayStats

The arrayStats.

getArrayStatsBuilder()

public ArrayStats.Builder getArrayStatsBuilder()

The statistics for ARRAY DataType.

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

Returns
TypeDescription
ArrayStats.Builder

getArrayStatsOrBuilder()

public ArrayStatsOrBuilder getArrayStatsOrBuilder()

The statistics for ARRAY DataType.

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

Returns
TypeDescription
ArrayStatsOrBuilder

getCategoryStats()

public CategoryStats getCategoryStats()

The statistics for CATEGORY DataType.

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

Returns
TypeDescription
CategoryStats

The categoryStats.

getCategoryStatsBuilder()

public CategoryStats.Builder getCategoryStatsBuilder()

The statistics for CATEGORY DataType.

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

Returns
TypeDescription
CategoryStats.Builder

getCategoryStatsOrBuilder()

public CategoryStatsOrBuilder getCategoryStatsOrBuilder()

The statistics for CATEGORY DataType.

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

Returns
TypeDescription
CategoryStatsOrBuilder

getDefaultInstanceForType()

public DataStats getDefaultInstanceForType()
Returns
TypeDescription
DataStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDistinctValueCount()

public long getDistinctValueCount()

The number of distinct values.

int64 distinct_value_count = 1;

Returns
TypeDescription
long

The distinctValueCount.

getFloat64Stats()

public Float64Stats getFloat64Stats()

The statistics for FLOAT64 DataType.

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

Returns
TypeDescription
Float64Stats

The float64Stats.

getFloat64StatsBuilder()

public Float64Stats.Builder getFloat64StatsBuilder()

The statistics for FLOAT64 DataType.

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

Returns
TypeDescription
Float64Stats.Builder

getFloat64StatsOrBuilder()

public Float64StatsOrBuilder getFloat64StatsOrBuilder()

The statistics for FLOAT64 DataType.

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

Returns
TypeDescription
Float64StatsOrBuilder

getNullValueCount()

public long getNullValueCount()

The number of values that are null.

int64 null_value_count = 2;

Returns
TypeDescription
long

The nullValueCount.

getStatsCase()

public DataStats.StatsCase getStatsCase()
Returns
TypeDescription
DataStats.StatsCase

getStringStats()

public StringStats getStringStats()

The statistics for STRING DataType.

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

Returns
TypeDescription
StringStats

The stringStats.

getStringStatsBuilder()

public StringStats.Builder getStringStatsBuilder()

The statistics for STRING DataType.

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

Returns
TypeDescription
StringStats.Builder

getStringStatsOrBuilder()

public StringStatsOrBuilder getStringStatsOrBuilder()

The statistics for STRING DataType.

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

Returns
TypeDescription
StringStatsOrBuilder

getStructStats()

public StructStats getStructStats()

The statistics for STRUCT DataType.

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

Returns
TypeDescription
StructStats

The structStats.

getStructStatsBuilder()

public StructStats.Builder getStructStatsBuilder()

The statistics for STRUCT DataType.

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

Returns
TypeDescription
StructStats.Builder

getStructStatsOrBuilder()

public StructStatsOrBuilder getStructStatsOrBuilder()

The statistics for STRUCT DataType.

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

Returns
TypeDescription
StructStatsOrBuilder

getTimestampStats()

public TimestampStats getTimestampStats()

The statistics for TIMESTAMP DataType.

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

Returns
TypeDescription
TimestampStats

The timestampStats.

getTimestampStatsBuilder()

public TimestampStats.Builder getTimestampStatsBuilder()

The statistics for TIMESTAMP DataType.

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

Returns
TypeDescription
TimestampStats.Builder

getTimestampStatsOrBuilder()

public TimestampStatsOrBuilder getTimestampStatsOrBuilder()

The statistics for TIMESTAMP DataType.

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

Returns
TypeDescription
TimestampStatsOrBuilder

getValidValueCount()

public long getValidValueCount()

The number of values that are valid.

int64 valid_value_count = 9;

Returns
TypeDescription
long

The validValueCount.

hasArrayStats()

public boolean hasArrayStats()

The statistics for ARRAY DataType.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timestampStats field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueArrayStats
Returns
TypeDescription
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
NameDescription
valueCategoryStats
Returns
TypeDescription
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
NameDescription
valueFloat64Stats
Returns
TypeDescription
DataStats.Builder

mergeFrom(DataStats other)

public DataStats.Builder mergeFrom(DataStats other)
Parameter
NameDescription
otherDataStats
Returns
TypeDescription
DataStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataStats.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueStringStats
Returns
TypeDescription
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
NameDescription
valueStructStats
Returns
TypeDescription
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
NameDescription
valueTimestampStats
Returns
TypeDescription
DataStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueArrayStats
Returns
TypeDescription
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
NameDescription
builderForValueArrayStats.Builder
Returns
TypeDescription
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
NameDescription
valueCategoryStats
Returns
TypeDescription
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
NameDescription
builderForValueCategoryStats.Builder
Returns
TypeDescription
DataStats.Builder

setDistinctValueCount(long value)

public DataStats.Builder setDistinctValueCount(long value)

The number of distinct values.

int64 distinct_value_count = 1;

Parameter
NameDescription
valuelong

The distinctValueCount to set.

Returns
TypeDescription
DataStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFloat64Stats
Returns
TypeDescription
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
NameDescription
builderForValueFloat64Stats.Builder
Returns
TypeDescription
DataStats.Builder

setNullValueCount(long value)

public DataStats.Builder setNullValueCount(long value)

The number of values that are null.

int64 null_value_count = 2;

Parameter
NameDescription
valuelong

The nullValueCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueStringStats
Returns
TypeDescription
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
NameDescription
builderForValueStringStats.Builder
Returns
TypeDescription
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
NameDescription
valueStructStats
Returns
TypeDescription
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
NameDescription
builderForValueStructStats.Builder
Returns
TypeDescription
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
NameDescription
valueTimestampStats
Returns
TypeDescription
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
NameDescription
builderForValueTimestampStats.Builder
Returns
TypeDescription
DataStats.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The validValueCount to set.

Returns
TypeDescription
DataStats.Builder

This builder for chaining.