Package com.google.cloud.automl.v1beta1
Interface TimestampStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimestampStats
,TimestampStats.Builder
public interface TimestampStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsGranularStats(String key)
The string key is the pre-defined granularity.Map<String,TimestampStats.GranularStats>
getGranularStats()
Deprecated.int
getGranularStatsCount()
The string key is the pre-defined granularity.Map<String,TimestampStats.GranularStats>
getGranularStatsMap()
The string key is the pre-defined granularity.TimestampStats.GranularStats
getGranularStatsOrDefault(String key, TimestampStats.GranularStats defaultValue)
The string key is the pre-defined granularity.TimestampStats.GranularStats
getGranularStatsOrThrow(String key)
The string key is the pre-defined granularity.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getGranularStatsCount
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;
-
containsGranularStats
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;
-
getGranularStats
@Deprecated Map<String,TimestampStats.GranularStats> getGranularStats()
Deprecated.UsegetGranularStatsMap()
instead.
-
getGranularStatsMap
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;
-
getGranularStatsOrDefault
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;
-
getGranularStatsOrThrow
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;
-
-