Debian Codegraph @

automl/apiv1beta1/automlpb/data_stats.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/automl/v1beta1/data_stats.proto
20
21 package automlpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // The data statistics of a series of values that share the same DataType.
38 type DataStats struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // The data statistics specific to a DataType.
44 //
45 // Types that are assignable to Stats:
46 //
47 // *DataStats_Float64Stats
48 // *DataStats_StringStats
49 // *DataStats_TimestampStats
50 // *DataStats_ArrayStats
51 // *DataStats_StructStats
52 // *DataStats_CategoryStats
53 Stats isDataStats_Stats `protobuf_oneof:"stats"`
54 // The number of distinct values.
55 DistinctValueCount int64 `protobuf:"varint,1,opt,name=distinct_value_count,json=distinctValueCount,proto3" json:"distinct_value_count,omitempty"`
56 // The number of values that are null.
57 NullValueCount int64 `protobuf:"varint,2,opt,name=null_value_count,json=nullValueCount,proto3" json:"null_value_count,omitempty"`
58 // The number of values that are valid.
59 ValidValueCount int64 `protobuf:"varint,9,opt,name=valid_value_count,json=validValueCount,proto3" json:"valid_value_count,omitempty"`
60 }
61
62 func (x *DataStats) Reset() {
63 *x = DataStats{}
64 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[0]
65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
66 ms.StoreMessageInfo(mi)
67 }
68
69 func (x *DataStats) String() string {
70 return protoimpl.X.MessageStringOf(x)
71 }
72
73 func (*DataStats) ProtoMessage() {}
74
75 func (x *DataStats) ProtoReflect() protoreflect.Message {
76 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[0]
77 if x != nil {
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 if ms.LoadMessageInfo() == nil {
80 ms.StoreMessageInfo(mi)
81 }
82 return ms
83 }
84 return mi.MessageOf(x)
85 }
86
87 // Deprecated: Use DataStats.ProtoReflect.Descriptor instead.
88 func (*DataStats) Descriptor() ([]byte, []int) {
89 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{0}
90 }
91
92 func (m *DataStats) GetStats() isDataStats_Stats {
93 if m != nil {
94 return m.Stats
95 }
96 return nil
97 }
98
99 func (x *DataStats) GetFloat64Stats() *Float64Stats {
100 if x, ok := x.GetStats().(*DataStats_Float64Stats); ok {
101 return x.Float64Stats
102 }
103 return nil
104 }
105
106 func (x *DataStats) GetStringStats() *StringStats {
107 if x, ok := x.GetStats().(*DataStats_StringStats); ok {
108 return x.StringStats
109 }
110 return nil
111 }
112
113 func (x *DataStats) GetTimestampStats() *TimestampStats {
114 if x, ok := x.GetStats().(*DataStats_TimestampStats); ok {
115 return x.TimestampStats
116 }
117 return nil
118 }
119
120 func (x *DataStats) GetArrayStats() *ArrayStats {
121 if x, ok := x.GetStats().(*DataStats_ArrayStats); ok {
122 return x.ArrayStats
123 }
124 return nil
125 }
126
127 func (x *DataStats) GetStructStats() *StructStats {
128 if x, ok := x.GetStats().(*DataStats_StructStats); ok {
129 return x.StructStats
130 }
131 return nil
132 }
133
134 func (x *DataStats) GetCategoryStats() *CategoryStats {
135 if x, ok := x.GetStats().(*DataStats_CategoryStats); ok {
136 return x.CategoryStats
137 }
138 return nil
139 }
140
141 func (x *DataStats) GetDistinctValueCount() int64 {
142 if x != nil {
143 return x.DistinctValueCount
144 }
145 return 0
146 }
147
148 func (x *DataStats) GetNullValueCount() int64 {
149 if x != nil {
150 return x.NullValueCount
151 }
152 return 0
153 }
154
155 func (x *DataStats) GetValidValueCount() int64 {
156 if x != nil {
157 return x.ValidValueCount
158 }
159 return 0
160 }
161
162 type isDataStats_Stats interface {
163 isDataStats_Stats()
164 }
165
166 type DataStats_Float64Stats struct {
167 // The statistics for FLOAT64 DataType.
168 Float64Stats *Float64Stats `protobuf:"bytes,3,opt,name=float64_stats,json=float64Stats,proto3,oneof"`
169 }
170
171 type DataStats_StringStats struct {
172 // The statistics for STRING DataType.
173 StringStats *StringStats `protobuf:"bytes,4,opt,name=string_stats,json=stringStats,proto3,oneof"`
174 }
175
176 type DataStats_TimestampStats struct {
177 // The statistics for TIMESTAMP DataType.
178 TimestampStats *TimestampStats `protobuf:"bytes,5,opt,name=timestamp_stats,json=timestampStats,proto3,oneof"`
179 }
180
181 type DataStats_ArrayStats struct {
182 // The statistics for ARRAY DataType.
183 ArrayStats *ArrayStats `protobuf:"bytes,6,opt,name=array_stats,json=arrayStats,proto3,oneof"`
184 }
185
186 type DataStats_StructStats struct {
187 // The statistics for STRUCT DataType.
188 StructStats *StructStats `protobuf:"bytes,7,opt,name=struct_stats,json=structStats,proto3,oneof"`
189 }
190
191 type DataStats_CategoryStats struct {
192 // The statistics for CATEGORY DataType.
193 CategoryStats *CategoryStats `protobuf:"bytes,8,opt,name=category_stats,json=categoryStats,proto3,oneof"`
194 }
195
196 func (*DataStats_Float64Stats) isDataStats_Stats() {}
197
198 func (*DataStats_StringStats) isDataStats_Stats() {}
199
200 func (*DataStats_TimestampStats) isDataStats_Stats() {}
201
202 func (*DataStats_ArrayStats) isDataStats_Stats() {}
203
204 func (*DataStats_StructStats) isDataStats_Stats() {}
205
206 func (*DataStats_CategoryStats) isDataStats_Stats() {}
207
208 // The data statistics of a series of FLOAT64 values.
209 type Float64Stats struct {
210 state protoimpl.MessageState
211 sizeCache protoimpl.SizeCache
212 unknownFields protoimpl.UnknownFields
213
214 // The mean of the series.
215 Mean float64 `protobuf:"fixed64,1,opt,name=mean,proto3" json:"mean,omitempty"`
216 // The standard deviation of the series.
217 StandardDeviation float64 `protobuf:"fixed64,2,opt,name=standard_deviation,json=standardDeviation,proto3" json:"standard_deviation,omitempty"`
218 // Ordered from 0 to k k-quantile values of the data series of n values.
219 // The value at index i is, approximately, the i*n/k-th smallest value in the
220 // series; for i = 0 and i = k these are, respectively, the min and max
221 // values.
222 Quantiles []float64 `protobuf:"fixed64,3,rep,packed,name=quantiles,proto3" json:"quantiles,omitempty"`
223 // Histogram buckets of the data series. Sorted by the min value of the
224 // bucket, ascendingly, and the number of the buckets is dynamically
225 // generated. The buckets are non-overlapping and completely cover whole
226 // FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
227 // the last one being `"Infinity"`.
228 HistogramBuckets []*Float64Stats_HistogramBucket `protobuf:"bytes,4,rep,name=histogram_buckets,json=histogramBuckets,proto3" json:"histogram_buckets,omitempty"`
229 }
230
231 func (x *Float64Stats) Reset() {
232 *x = Float64Stats{}
233 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[1]
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 ms.StoreMessageInfo(mi)
236 }
237
238 func (x *Float64Stats) String() string {
239 return protoimpl.X.MessageStringOf(x)
240 }
241
242 func (*Float64Stats) ProtoMessage() {}
243
244 func (x *Float64Stats) ProtoReflect() protoreflect.Message {
245 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[1]
246 if x != nil {
247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
248 if ms.LoadMessageInfo() == nil {
249 ms.StoreMessageInfo(mi)
250 }
251 return ms
252 }
253 return mi.MessageOf(x)
254 }
255
256 // Deprecated: Use Float64Stats.ProtoReflect.Descriptor instead.
257 func (*Float64Stats) Descriptor() ([]byte, []int) {
258 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{1}
259 }
260
261 func (x *Float64Stats) GetMean() float64 {
262 if x != nil {
263 return x.Mean
264 }
265 return 0
266 }
267
268 func (x *Float64Stats) GetStandardDeviation() float64 {
269 if x != nil {
270 return x.StandardDeviation
271 }
272 return 0
273 }
274
275 func (x *Float64Stats) GetQuantiles() []float64 {
276 if x != nil {
277 return x.Quantiles
278 }
279 return nil
280 }
281
282 func (x *Float64Stats) GetHistogramBuckets() []*Float64Stats_HistogramBucket {
283 if x != nil {
284 return x.HistogramBuckets
285 }
286 return nil
287 }
288
289 // The data statistics of a series of STRING values.
290 type StringStats struct {
291 state protoimpl.MessageState
292 sizeCache protoimpl.SizeCache
293 unknownFields protoimpl.UnknownFields
294
295 // The statistics of the top 20 unigrams, ordered by
296 // [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
297 TopUnigramStats []*StringStats_UnigramStats `protobuf:"bytes,1,rep,name=top_unigram_stats,json=topUnigramStats,proto3" json:"top_unigram_stats,omitempty"`
298 }
299
300 func (x *StringStats) Reset() {
301 *x = StringStats{}
302 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[2]
303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
304 ms.StoreMessageInfo(mi)
305 }
306
307 func (x *StringStats) String() string {
308 return protoimpl.X.MessageStringOf(x)
309 }
310
311 func (*StringStats) ProtoMessage() {}
312
313 func (x *StringStats) ProtoReflect() protoreflect.Message {
314 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[2]
315 if x != nil {
316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
317 if ms.LoadMessageInfo() == nil {
318 ms.StoreMessageInfo(mi)
319 }
320 return ms
321 }
322 return mi.MessageOf(x)
323 }
324
325 // Deprecated: Use StringStats.ProtoReflect.Descriptor instead.
326 func (*StringStats) Descriptor() ([]byte, []int) {
327 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{2}
328 }
329
330 func (x *StringStats) GetTopUnigramStats() []*StringStats_UnigramStats {
331 if x != nil {
332 return x.TopUnigramStats
333 }
334 return nil
335 }
336
337 // The data statistics of a series of TIMESTAMP values.
338 type TimestampStats struct {
339 state protoimpl.MessageState
340 sizeCache protoimpl.SizeCache
341 unknownFields protoimpl.UnknownFields
342
343 // The string key is the pre-defined granularity. Currently supported:
344 // hour_of_day, day_of_week, month_of_year.
345 // Granularities finer that the granularity of timestamp data are not
346 // populated (e.g. if timestamps are at day granularity, then hour_of_day
347 // is not populated).
348 GranularStats map[string]*TimestampStats_GranularStats `protobuf:"bytes,1,rep,name=granular_stats,json=granularStats,proto3" json:"granular_stats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
349 }
350
351 func (x *TimestampStats) Reset() {
352 *x = TimestampStats{}
353 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[3]
354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
355 ms.StoreMessageInfo(mi)
356 }
357
358 func (x *TimestampStats) String() string {
359 return protoimpl.X.MessageStringOf(x)
360 }
361
362 func (*TimestampStats) ProtoMessage() {}
363
364 func (x *TimestampStats) ProtoReflect() protoreflect.Message {
365 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[3]
366 if x != nil {
367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368 if ms.LoadMessageInfo() == nil {
369 ms.StoreMessageInfo(mi)
370 }
371 return ms
372 }
373 return mi.MessageOf(x)
374 }
375
376 // Deprecated: Use TimestampStats.ProtoReflect.Descriptor instead.
377 func (*TimestampStats) Descriptor() ([]byte, []int) {
378 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{3}
379 }
380
381 func (x *TimestampStats) GetGranularStats() map[string]*TimestampStats_GranularStats {
382 if x != nil {
383 return x.GranularStats
384 }
385 return nil
386 }
387
388 // The data statistics of a series of ARRAY values.
389 type ArrayStats struct {
390 state protoimpl.MessageState
391 sizeCache protoimpl.SizeCache
392 unknownFields protoimpl.UnknownFields
393
394 // Stats of all the values of all arrays, as if they were a single long
395 // series of data. The type depends on the element type of the array.
396 MemberStats *DataStats `protobuf:"bytes,2,opt,name=member_stats,json=memberStats,proto3" json:"member_stats,omitempty"`
397 }
398
399 func (x *ArrayStats) Reset() {
400 *x = ArrayStats{}
401 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[4]
402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
403 ms.StoreMessageInfo(mi)
404 }
405
406 func (x *ArrayStats) String() string {
407 return protoimpl.X.MessageStringOf(x)
408 }
409
410 func (*ArrayStats) ProtoMessage() {}
411
412 func (x *ArrayStats) ProtoReflect() protoreflect.Message {
413 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[4]
414 if x != nil {
415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
416 if ms.LoadMessageInfo() == nil {
417 ms.StoreMessageInfo(mi)
418 }
419 return ms
420 }
421 return mi.MessageOf(x)
422 }
423
424 // Deprecated: Use ArrayStats.ProtoReflect.Descriptor instead.
425 func (*ArrayStats) Descriptor() ([]byte, []int) {
426 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{4}
427 }
428
429 func (x *ArrayStats) GetMemberStats() *DataStats {
430 if x != nil {
431 return x.MemberStats
432 }
433 return nil
434 }
435
436 // The data statistics of a series of STRUCT values.
437 type StructStats struct {
438 state protoimpl.MessageState
439 sizeCache protoimpl.SizeCache
440 unknownFields protoimpl.UnknownFields
441
442 // Map from a field name of the struct to data stats aggregated over series
443 // of all data in that field across all the structs.
444 FieldStats map[string]*DataStats `protobuf:"bytes,1,rep,name=field_stats,json=fieldStats,proto3" json:"field_stats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
445 }
446
447 func (x *StructStats) Reset() {
448 *x = StructStats{}
449 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[5]
450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
451 ms.StoreMessageInfo(mi)
452 }
453
454 func (x *StructStats) String() string {
455 return protoimpl.X.MessageStringOf(x)
456 }
457
458 func (*StructStats) ProtoMessage() {}
459
460 func (x *StructStats) ProtoReflect() protoreflect.Message {
461 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[5]
462 if x != nil {
463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
464 if ms.LoadMessageInfo() == nil {
465 ms.StoreMessageInfo(mi)
466 }
467 return ms
468 }
469 return mi.MessageOf(x)
470 }
471
472 // Deprecated: Use StructStats.ProtoReflect.Descriptor instead.
473 func (*StructStats) Descriptor() ([]byte, []int) {
474 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{5}
475 }
476
477 func (x *StructStats) GetFieldStats() map[string]*DataStats {
478 if x != nil {
479 return x.FieldStats
480 }
481 return nil
482 }
483
484 // The data statistics of a series of CATEGORY values.
485 type CategoryStats struct {
486 state protoimpl.MessageState
487 sizeCache protoimpl.SizeCache
488 unknownFields protoimpl.UnknownFields
489
490 // The statistics of the top 20 CATEGORY values, ordered by
491 //
492 // [count][google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats.count].
493 TopCategoryStats []*CategoryStats_SingleCategoryStats `protobuf:"bytes,1,rep,name=top_category_stats,json=topCategoryStats,proto3" json:"top_category_stats,omitempty"`
494 }
495
496 func (x *CategoryStats) Reset() {
497 *x = CategoryStats{}
498 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[6]
499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
500 ms.StoreMessageInfo(mi)
501 }
502
503 func (x *CategoryStats) String() string {
504 return protoimpl.X.MessageStringOf(x)
505 }
506
507 func (*CategoryStats) ProtoMessage() {}
508
509 func (x *CategoryStats) ProtoReflect() protoreflect.Message {
510 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[6]
511 if x != nil {
512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
513 if ms.LoadMessageInfo() == nil {
514 ms.StoreMessageInfo(mi)
515 }
516 return ms
517 }
518 return mi.MessageOf(x)
519 }
520
521 // Deprecated: Use CategoryStats.ProtoReflect.Descriptor instead.
522 func (*CategoryStats) Descriptor() ([]byte, []int) {
523 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{6}
524 }
525
526 func (x *CategoryStats) GetTopCategoryStats() []*CategoryStats_SingleCategoryStats {
527 if x != nil {
528 return x.TopCategoryStats
529 }
530 return nil
531 }
532
533 // A correlation statistics between two series of DataType values. The series
534 // may have differing DataType-s, but within a single series the DataType must
535 // be the same.
536 type CorrelationStats struct {
537 state protoimpl.MessageState
538 sizeCache protoimpl.SizeCache
539 unknownFields protoimpl.UnknownFields
540
541 // The correlation value using the Cramer's V measure.
542 CramersV float64 `protobuf:"fixed64,1,opt,name=cramers_v,json=cramersV,proto3" json:"cramers_v,omitempty"`
543 }
544
545 func (x *CorrelationStats) Reset() {
546 *x = CorrelationStats{}
547 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[7]
548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
549 ms.StoreMessageInfo(mi)
550 }
551
552 func (x *CorrelationStats) String() string {
553 return protoimpl.X.MessageStringOf(x)
554 }
555
556 func (*CorrelationStats) ProtoMessage() {}
557
558 func (x *CorrelationStats) ProtoReflect() protoreflect.Message {
559 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[7]
560 if x != nil {
561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
562 if ms.LoadMessageInfo() == nil {
563 ms.StoreMessageInfo(mi)
564 }
565 return ms
566 }
567 return mi.MessageOf(x)
568 }
569
570 // Deprecated: Use CorrelationStats.ProtoReflect.Descriptor instead.
571 func (*CorrelationStats) Descriptor() ([]byte, []int) {
572 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{7}
573 }
574
575 func (x *CorrelationStats) GetCramersV() float64 {
576 if x != nil {
577 return x.CramersV
578 }
579 return 0
580 }
581
582 // A bucket of a histogram.
583 type Float64Stats_HistogramBucket struct {
584 state protoimpl.MessageState
585 sizeCache protoimpl.SizeCache
586 unknownFields protoimpl.UnknownFields
587
588 // The minimum value of the bucket, inclusive.
589 Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
590 // The maximum value of the bucket, exclusive unless max = `"Infinity"`, in
591 // which case it's inclusive.
592 Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
593 // The number of data values that are in the bucket, i.e. are between
594 // min and max values.
595 Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
596 }
597
598 func (x *Float64Stats_HistogramBucket) Reset() {
599 *x = Float64Stats_HistogramBucket{}
600 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[8]
601 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
602 ms.StoreMessageInfo(mi)
603 }
604
605 func (x *Float64Stats_HistogramBucket) String() string {
606 return protoimpl.X.MessageStringOf(x)
607 }
608
609 func (*Float64Stats_HistogramBucket) ProtoMessage() {}
610
611 func (x *Float64Stats_HistogramBucket) ProtoReflect() protoreflect.Message {
612 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[8]
613 if x != nil {
614 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
615 if ms.LoadMessageInfo() == nil {
616 ms.StoreMessageInfo(mi)
617 }
618 return ms
619 }
620 return mi.MessageOf(x)
621 }
622
623 // Deprecated: Use Float64Stats_HistogramBucket.ProtoReflect.Descriptor instead.
624 func (*Float64Stats_HistogramBucket) Descriptor() ([]byte, []int) {
625 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{1, 0}
626 }
627
628 func (x *Float64Stats_HistogramBucket) GetMin() float64 {
629 if x != nil {
630 return x.Min
631 }
632 return 0
633 }
634
635 func (x *Float64Stats_HistogramBucket) GetMax() float64 {
636 if x != nil {
637 return x.Max
638 }
639 return 0
640 }
641
642 func (x *Float64Stats_HistogramBucket) GetCount() int64 {
643 if x != nil {
644 return x.Count
645 }
646 return 0
647 }
648
649 // The statistics of a unigram.
650 type StringStats_UnigramStats struct {
651 state protoimpl.MessageState
652 sizeCache protoimpl.SizeCache
653 unknownFields protoimpl.UnknownFields
654
655 // The unigram.
656 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
657 // The number of occurrences of this unigram in the series.
658 Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
659 }
660
661 func (x *StringStats_UnigramStats) Reset() {
662 *x = StringStats_UnigramStats{}
663 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[9]
664 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
665 ms.StoreMessageInfo(mi)
666 }
667
668 func (x *StringStats_UnigramStats) String() string {
669 return protoimpl.X.MessageStringOf(x)
670 }
671
672 func (*StringStats_UnigramStats) ProtoMessage() {}
673
674 func (x *StringStats_UnigramStats) ProtoReflect() protoreflect.Message {
675 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[9]
676 if x != nil {
677 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
678 if ms.LoadMessageInfo() == nil {
679 ms.StoreMessageInfo(mi)
680 }
681 return ms
682 }
683 return mi.MessageOf(x)
684 }
685
686 // Deprecated: Use StringStats_UnigramStats.ProtoReflect.Descriptor instead.
687 func (*StringStats_UnigramStats) Descriptor() ([]byte, []int) {
688 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{2, 0}
689 }
690
691 func (x *StringStats_UnigramStats) GetValue() string {
692 if x != nil {
693 return x.Value
694 }
695 return ""
696 }
697
698 func (x *StringStats_UnigramStats) GetCount() int64 {
699 if x != nil {
700 return x.Count
701 }
702 return 0
703 }
704
705 // Stats split by a defined in context granularity.
706 type TimestampStats_GranularStats struct {
707 state protoimpl.MessageState
708 sizeCache protoimpl.SizeCache
709 unknownFields protoimpl.UnknownFields
710
711 // A map from granularity key to example count for that key.
712 // E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May).
713 Buckets map[int32]int64 `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
714 }
715
716 func (x *TimestampStats_GranularStats) Reset() {
717 *x = TimestampStats_GranularStats{}
718 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[10]
719 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
720 ms.StoreMessageInfo(mi)
721 }
722
723 func (x *TimestampStats_GranularStats) String() string {
724 return protoimpl.X.MessageStringOf(x)
725 }
726
727 func (*TimestampStats_GranularStats) ProtoMessage() {}
728
729 func (x *TimestampStats_GranularStats) ProtoReflect() protoreflect.Message {
730 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[10]
731 if x != nil {
732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
733 if ms.LoadMessageInfo() == nil {
734 ms.StoreMessageInfo(mi)
735 }
736 return ms
737 }
738 return mi.MessageOf(x)
739 }
740
741 // Deprecated: Use TimestampStats_GranularStats.ProtoReflect.Descriptor instead.
742 func (*TimestampStats_GranularStats) Descriptor() ([]byte, []int) {
743 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{3, 0}
744 }
745
746 func (x *TimestampStats_GranularStats) GetBuckets() map[int32]int64 {
747 if x != nil {
748 return x.Buckets
749 }
750 return nil
751 }
752
753 // The statistics of a single CATEGORY value.
754 type CategoryStats_SingleCategoryStats struct {
755 state protoimpl.MessageState
756 sizeCache protoimpl.SizeCache
757 unknownFields protoimpl.UnknownFields
758
759 // The CATEGORY value.
760 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
761 // The number of occurrences of this value in the series.
762 Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
763 }
764
765 func (x *CategoryStats_SingleCategoryStats) Reset() {
766 *x = CategoryStats_SingleCategoryStats{}
767 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[14]
768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
769 ms.StoreMessageInfo(mi)
770 }
771
772 func (x *CategoryStats_SingleCategoryStats) String() string {
773 return protoimpl.X.MessageStringOf(x)
774 }
775
776 func (*CategoryStats_SingleCategoryStats) ProtoMessage() {}
777
778 func (x *CategoryStats_SingleCategoryStats) ProtoReflect() protoreflect.Message {
779 mi := &file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[14]
780 if x != nil {
781 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
782 if ms.LoadMessageInfo() == nil {
783 ms.StoreMessageInfo(mi)
784 }
785 return ms
786 }
787 return mi.MessageOf(x)
788 }
789
790 // Deprecated: Use CategoryStats_SingleCategoryStats.ProtoReflect.Descriptor instead.
791 func (*CategoryStats_SingleCategoryStats) Descriptor() ([]byte, []int) {
792 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP(), []int{6, 0}
793 }
794
795 func (x *CategoryStats_SingleCategoryStats) GetValue() string {
796 if x != nil {
797 return x.Value
798 }
799 return ""
800 }
801
802 func (x *CategoryStats_SingleCategoryStats) GetCount() int64 {
803 if x != nil {
804 return x.Count
805 }
806 return 0
807 }
808
809 var File_google_cloud_automl_v1beta1_data_stats_proto protoreflect.FileDescriptor
810
811 var file_google_cloud_automl_v1beta1_data_stats_proto_rawDesc = []byte{
812 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
813 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x61,
814 0x74, 0x61, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b,
815 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
816 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x85, 0x05, 0x0a, 0x09,
817 0x44, 0x61, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x0d, 0x66, 0x6c, 0x6f,
818 0x61, 0x74, 0x36, 0x34, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
819 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
820 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46,
821 0x6c, 0x6f, 0x61, 0x74, 0x36, 0x34, 0x53, 0x74, 0x61, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x66,
822 0x6c, 0x6f, 0x61, 0x74, 0x36, 0x34, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x4d, 0x0a, 0x0c, 0x73,
823 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
824 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
825 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
826 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73,
827 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x56, 0x0a, 0x0f, 0x74, 0x69,
828 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x05, 0x20,
829 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
830 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
831 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x73,
832 0x48, 0x00, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x74, 0x61,
833 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74,
834 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
835 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31,
836 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73,
837 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x4d,
838 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x07,
839 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
840 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
841 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x48, 0x00,
842 0x52, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x53, 0x0a,
843 0x0e, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18,
844 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
845 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65,
846 0x74, 0x61, 0x31, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74,
847 0x73, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61,
848 0x74, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x63, 0x74, 0x5f, 0x76,
849 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
850 0x52, 0x12, 0x64, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43,
851 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c,
852 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e,
853 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a,
854 0x0a, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f,
855 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64,
856 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x74,
857 0x61, 0x74, 0x73, 0x22, 0xa4, 0x02, 0x0a, 0x0c, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x36, 0x34, 0x53,
858 0x74, 0x61, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01,
859 0x28, 0x01, 0x52, 0x04, 0x6d, 0x65, 0x61, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x6e,
860 0x64, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
861 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x44, 0x65,
862 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x71, 0x75, 0x61, 0x6e, 0x74,
863 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x71, 0x75, 0x61, 0x6e,
864 0x74, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x66, 0x0a, 0x11, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72,
865 0x61, 0x6d, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
866 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
867 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46,
868 0x6c, 0x6f, 0x61, 0x74, 0x36, 0x34, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x48, 0x69, 0x73, 0x74,
869 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x10, 0x68, 0x69, 0x73,
870 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x1a, 0x4b, 0x0a,
871 0x0f, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74,
872 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x6d,
873 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52,
874 0x03, 0x6d, 0x61, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
875 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xac, 0x01, 0x0a, 0x0b, 0x53,
876 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x61, 0x0a, 0x11, 0x74, 0x6f,
877 0x70, 0x5f, 0x75, 0x6e, 0x69, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18,
878 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
879 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65,
880 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e,
881 0x55, 0x6e, 0x69, 0x67, 0x72, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x0f, 0x74, 0x6f,
882 0x70, 0x55, 0x6e, 0x69, 0x67, 0x72, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x3a, 0x0a,
883 0x0c, 0x55, 0x6e, 0x69, 0x67, 0x72, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x14, 0x0a,
884 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
885 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
886 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xa4, 0x03, 0x0a, 0x0e, 0x54, 0x69,
887 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x65, 0x0a, 0x0e,
888 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01,
889 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
890 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
891 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74,
892 0x73, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45,
893 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x53, 0x74,
894 0x61, 0x74, 0x73, 0x1a, 0xad, 0x01, 0x0a, 0x0d, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72,
895 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x60, 0x0a, 0x07, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73,
896 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
897 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62,
898 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x74,
899 0x61, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74,
900 0x73, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07,
901 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x42, 0x75, 0x63, 0x6b, 0x65,
902 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
903 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
904 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
905 0x02, 0x38, 0x01, 0x1a, 0x7b, 0x0a, 0x12, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x53,
906 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
907 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4f, 0x0a, 0x05, 0x76,
908 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f,
909 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
910 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
911 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72,
912 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
913 0x22, 0x57, 0x0a, 0x0a, 0x41, 0x72, 0x72, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x49,
914 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02,
915 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
916 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
917 0x61, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x0b, 0x6d, 0x65,
918 0x6d, 0x62, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0xcf, 0x01, 0x0a, 0x0b, 0x53, 0x74,
919 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x59, 0x0a, 0x0b, 0x66, 0x69, 0x65,
920 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38,
921 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
922 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72,
923 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x74,
924 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x53,
925 0x74, 0x61, 0x74, 0x73, 0x1a, 0x65, 0x0a, 0x0f, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x74, 0x61,
926 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
927 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c,
928 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
929 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76,
930 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x73,
931 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc0, 0x01, 0x0a, 0x0d,
932 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x6c, 0x0a,
933 0x12, 0x74, 0x6f, 0x70, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x74,
934 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
935 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e,
936 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
937 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65,
938 0x67, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x10, 0x74, 0x6f, 0x70, 0x43, 0x61,
939 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x53,
940 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61,
941 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
942 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
943 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2f,
944 0x0a, 0x10, 0x43, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
945 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x61, 0x6d, 0x65, 0x72, 0x73, 0x5f, 0x76, 0x18,
946 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x63, 0x72, 0x61, 0x6d, 0x65, 0x72, 0x73, 0x56, 0x42,
947 0x9b, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
948 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65,
949 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
950 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d,
951 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74,
952 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xca, 0x02,
953 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75,
954 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47,
955 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75,
956 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70,
957 0x72, 0x6f, 0x74, 0x6f, 0x33,
958 }
959
960 var (
961 file_google_cloud_automl_v1beta1_data_stats_proto_rawDescOnce sync.Once
962 file_google_cloud_automl_v1beta1_data_stats_proto_rawDescData = file_google_cloud_automl_v1beta1_data_stats_proto_rawDesc
963 )
964
965 func file_google_cloud_automl_v1beta1_data_stats_proto_rawDescGZIP() []byte {
966 file_google_cloud_automl_v1beta1_data_stats_proto_rawDescOnce.Do(func() {
967 file_google_cloud_automl_v1beta1_data_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_data_stats_proto_rawDescData)
968 })
969 return file_google_cloud_automl_v1beta1_data_stats_proto_rawDescData
970 }
971
972 var file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
973 var file_google_cloud_automl_v1beta1_data_stats_proto_goTypes = []any{
974 (*DataStats)(nil), // 0: google.cloud.automl.v1beta1.DataStats
975 (*Float64Stats)(nil), // 1: google.cloud.automl.v1beta1.Float64Stats
976 (*StringStats)(nil), // 2: google.cloud.automl.v1beta1.StringStats
977 (*TimestampStats)(nil), // 3: google.cloud.automl.v1beta1.TimestampStats
978 (*ArrayStats)(nil), // 4: google.cloud.automl.v1beta1.ArrayStats
979 (*StructStats)(nil), // 5: google.cloud.automl.v1beta1.StructStats
980 (*CategoryStats)(nil), // 6: google.cloud.automl.v1beta1.CategoryStats
981 (*CorrelationStats)(nil), // 7: google.cloud.automl.v1beta1.CorrelationStats
982 (*Float64Stats_HistogramBucket)(nil), // 8: google.cloud.automl.v1beta1.Float64Stats.HistogramBucket
983 (*StringStats_UnigramStats)(nil), // 9: google.cloud.automl.v1beta1.StringStats.UnigramStats
984 (*TimestampStats_GranularStats)(nil), // 10: google.cloud.automl.v1beta1.TimestampStats.GranularStats
985 nil, // 11: google.cloud.automl.v1beta1.TimestampStats.GranularStatsEntry
986 nil, // 12: google.cloud.automl.v1beta1.TimestampStats.GranularStats.BucketsEntry
987 nil, // 13: google.cloud.automl.v1beta1.StructStats.FieldStatsEntry
988 (*CategoryStats_SingleCategoryStats)(nil), // 14: google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats
989 }
990 var file_google_cloud_automl_v1beta1_data_stats_proto_depIdxs = []int32{
991 1, // 0: google.cloud.automl.v1beta1.DataStats.float64_stats:type_name -> google.cloud.automl.v1beta1.Float64Stats
992 2, // 1: google.cloud.automl.v1beta1.DataStats.string_stats:type_name -> google.cloud.automl.v1beta1.StringStats
993 3, // 2: google.cloud.automl.v1beta1.DataStats.timestamp_stats:type_name -> google.cloud.automl.v1beta1.TimestampStats
994 4, // 3: google.cloud.automl.v1beta1.DataStats.array_stats:type_name -> google.cloud.automl.v1beta1.ArrayStats
995 5, // 4: google.cloud.automl.v1beta1.DataStats.struct_stats:type_name -> google.cloud.automl.v1beta1.StructStats
996 6, // 5: google.cloud.automl.v1beta1.DataStats.category_stats:type_name -> google.cloud.automl.v1beta1.CategoryStats
997 8, // 6: google.cloud.automl.v1beta1.Float64Stats.histogram_buckets:type_name -> google.cloud.automl.v1beta1.Float64Stats.HistogramBucket
998 9, // 7: google.cloud.automl.v1beta1.StringStats.top_unigram_stats:type_name -> google.cloud.automl.v1beta1.StringStats.UnigramStats
999 11, // 8: google.cloud.automl.v1beta1.TimestampStats.granular_stats:type_name -> google.cloud.automl.v1beta1.TimestampStats.GranularStatsEntry
1000 0, // 9: google.cloud.automl.v1beta1.ArrayStats.member_stats:type_name -> google.cloud.automl.v1beta1.DataStats
1001 13, // 10: google.cloud.automl.v1beta1.StructStats.field_stats:type_name -> google.cloud.automl.v1beta1.StructStats.FieldStatsEntry
1002 14, // 11: google.cloud.automl.v1beta1.CategoryStats.top_category_stats:type_name -> google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats
1003 12, // 12: google.cloud.automl.v1beta1.TimestampStats.GranularStats.buckets:type_name -> google.cloud.automl.v1beta1.TimestampStats.GranularStats.BucketsEntry
1004 10, // 13: google.cloud.automl.v1beta1.TimestampStats.GranularStatsEntry.value:type_name -> google.cloud.automl.v1beta1.TimestampStats.GranularStats
1005 0, // 14: google.cloud.automl.v1beta1.StructStats.FieldStatsEntry.value:type_name -> google.cloud.automl.v1beta1.DataStats
1006 15, // [15:15] is the sub-list for method output_type
1007 15, // [15:15] is the sub-list for method input_type
1008 15, // [15:15] is the sub-list for extension type_name
1009 15, // [15:15] is the sub-list for extension extendee
1010 0, // [0:15] is the sub-list for field type_name
1011 }
1012
1013 func init() { file_google_cloud_automl_v1beta1_data_stats_proto_init() }
1014 func file_google_cloud_automl_v1beta1_data_stats_proto_init() {
1015 if File_google_cloud_automl_v1beta1_data_stats_proto != nil {
1016 return
1017 }
1018 file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes[0].OneofWrappers = []any{
1019 (*DataStats_Float64Stats)(nil),
1020 (*DataStats_StringStats)(nil),
1021 (*DataStats_TimestampStats)(nil),
1022 (*DataStats_ArrayStats)(nil),
1023 (*DataStats_StructStats)(nil),
1024 (*DataStats_CategoryStats)(nil),
1025 }
1026 type x struct{}
1027 out := protoimpl.TypeBuilder{
1028 File: protoimpl.DescBuilder{
1029 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1030 RawDescriptor: file_google_cloud_automl_v1beta1_data_stats_proto_rawDesc,
1031 NumEnums: 0,
1032 NumMessages: 15,
1033 NumExtensions: 0,
1034 NumServices: 0,
1035 },
1036 GoTypes: file_google_cloud_automl_v1beta1_data_stats_proto_goTypes,
1037 DependencyIndexes: file_google_cloud_automl_v1beta1_data_stats_proto_depIdxs,
1038 MessageInfos: file_google_cloud_automl_v1beta1_data_stats_proto_msgTypes,
1039 }.Build()
1040 File_google_cloud_automl_v1beta1_data_stats_proto = out.File
1041 file_google_cloud_automl_v1beta1_data_stats_proto_rawDesc = nil
1042 file_google_cloud_automl_v1beta1_data_stats_proto_goTypes = nil
1043 file_google_cloud_automl_v1beta1_data_stats_proto_depIdxs = nil
1044 }