Interface TimestampStatsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TimestampStats, TimestampStats.Builder

@Generated public interface TimestampStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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.
    • 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;