• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/automl/v1beta1/data_stats.proto
18 
19 package com.google.cloud.automl.v1beta1;
20 
21 public interface StructStatsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.StructStats)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Map from a field name of the struct to data stats aggregated over series
31    * of all data in that field across all the structs.
32    * </pre>
33    *
34    * <code>map&lt;string, .google.cloud.automl.v1beta1.DataStats&gt; field_stats = 1;</code>
35    */
getFieldStatsCount()36   int getFieldStatsCount();
37   /**
38    *
39    *
40    * <pre>
41    * Map from a field name of the struct to data stats aggregated over series
42    * of all data in that field across all the structs.
43    * </pre>
44    *
45    * <code>map&lt;string, .google.cloud.automl.v1beta1.DataStats&gt; field_stats = 1;</code>
46    */
containsFieldStats(java.lang.String key)47   boolean containsFieldStats(java.lang.String key);
48   /** Use {@link #getFieldStatsMap()} instead. */
49   @java.lang.Deprecated
getFieldStats()50   java.util.Map<java.lang.String, com.google.cloud.automl.v1beta1.DataStats> getFieldStats();
51   /**
52    *
53    *
54    * <pre>
55    * Map from a field name of the struct to data stats aggregated over series
56    * of all data in that field across all the structs.
57    * </pre>
58    *
59    * <code>map&lt;string, .google.cloud.automl.v1beta1.DataStats&gt; field_stats = 1;</code>
60    */
getFieldStatsMap()61   java.util.Map<java.lang.String, com.google.cloud.automl.v1beta1.DataStats> getFieldStatsMap();
62   /**
63    *
64    *
65    * <pre>
66    * Map from a field name of the struct to data stats aggregated over series
67    * of all data in that field across all the structs.
68    * </pre>
69    *
70    * <code>map&lt;string, .google.cloud.automl.v1beta1.DataStats&gt; field_stats = 1;</code>
71    */
72   /* nullable */
getFieldStatsOrDefault( java.lang.String key, com.google.cloud.automl.v1beta1.DataStats defaultValue)73   com.google.cloud.automl.v1beta1.DataStats getFieldStatsOrDefault(
74       java.lang.String key,
75       /* nullable */
76       com.google.cloud.automl.v1beta1.DataStats defaultValue);
77   /**
78    *
79    *
80    * <pre>
81    * Map from a field name of the struct to data stats aggregated over series
82    * of all data in that field across all the structs.
83    * </pre>
84    *
85    * <code>map&lt;string, .google.cloud.automl.v1beta1.DataStats&gt; field_stats = 1;</code>
86    */
getFieldStatsOrThrow(java.lang.String key)87   com.google.cloud.automl.v1beta1.DataStats getFieldStatsOrThrow(java.lang.String key);
88 }
89