All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.automl.v1beta1.TimestampStatsOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.141.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/automl/v1beta1/data_stats.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.automl.v1beta1;

public interface TimestampStatsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.TimestampStats)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * 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; * */ 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; * */ boolean containsGranularStats(java.lang.String key); /** Use {@link #getGranularStatsMap()} instead. */ @java.lang.Deprecated java.util.Map getGranularStats(); /** * * *
   * 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; * */ java.util.Map 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; * */ /* nullable */ com.google.cloud.automl.v1beta1.TimestampStats.GranularStats getGranularStatsOrDefault( java.lang.String key, /* nullable */ com.google.cloud.automl.v1beta1.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; * */ com.google.cloud.automl.v1beta1.TimestampStats.GranularStats getGranularStatsOrThrow( java.lang.String key); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy