Interface TimestampStatsOrBuilder (2.2.2)

public interface TimestampStatsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsGranularStats(String key)

public abstract boolean containsGranularStats(String key)

The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).

map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getGranularStats()

public abstract Map<String,TimestampStats.GranularStats> getGranularStats()
Returns
TypeDescription
Map<String,GranularStats>

getGranularStatsCount()

public abstract int getGranularStatsCount()

The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).

map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;

Returns
TypeDescription
int

getGranularStatsMap()

public abstract Map<String,TimestampStats.GranularStats> getGranularStatsMap()

The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).

map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;

Returns
TypeDescription
Map<String,GranularStats>

getGranularStatsOrDefault(String key, TimestampStats.GranularStats defaultValue)

public abstract TimestampStats.GranularStats getGranularStatsOrDefault(String key, TimestampStats.GranularStats defaultValue)

The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).

map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;

Parameters
NameDescription
keyString
defaultValueTimestampStats.GranularStats
Returns
TypeDescription
TimestampStats.GranularStats

getGranularStatsOrThrow(String key)

public abstract TimestampStats.GranularStats getGranularStatsOrThrow(String key)

The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).

map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
TimestampStats.GranularStats