public interface TimestampStatsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getGranularStats()
public abstract Map<String,TimestampStats.GranularStats> getGranularStats()Use #getGranularStatsMap() instead.
| Type | Description |
| 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;
| Type | Description |
| 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;
| Type | Description |
| 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;
| Name | Description |
| key | String |
| defaultValue | TimestampStats.GranularStats |
| Type | Description |
| 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;
| Name | Description |
| key | String |
| Type | Description |
| TimestampStats.GranularStats |