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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getGranularStats() (deprecated)
public abstract Map<String,TimestampStats.GranularStats> getGranularStats()Use #getGranularStatsMap() instead.
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
TimestampStats.GranularStats |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
TimestampStats.GranularStats |
|