Interface StructStatsOrBuilder (2.32.0)

public interface StructStatsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFieldStats(String key)

public abstract boolean containsFieldStats(String key)

Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.

map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getFieldStats() (deprecated)

public abstract Map<String,DataStats> getFieldStats()

Use #getFieldStatsMap() instead.

Returns
TypeDescription
Map<String,DataStats>

getFieldStatsCount()

public abstract int getFieldStatsCount()

Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.

map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;

Returns
TypeDescription
int

getFieldStatsMap()

public abstract Map<String,DataStats> getFieldStatsMap()

Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.

map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;

Returns
TypeDescription
Map<String,DataStats>

getFieldStatsOrDefault(String key, DataStats defaultValue)

public abstract DataStats getFieldStatsOrDefault(String key, DataStats defaultValue)

Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.

map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;

Parameters
NameDescription
keyString
defaultValueDataStats
Returns
TypeDescription
DataStats

getFieldStatsOrThrow(String key)

public abstract DataStats getFieldStatsOrThrow(String key)

Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.

map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
DataStats