1// Copyright 2020 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.26.0
18// 	protoc        v3.12.2
19// source: google/cloud/automl/v1beta1/data_items.proto
20
21package automl
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	_ "google.golang.org/genproto/googleapis/api/annotations"
28	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30	_ "google.golang.org/protobuf/types/known/anypb"
31	_ "google.golang.org/protobuf/types/known/durationpb"
32	structpb "google.golang.org/protobuf/types/known/structpb"
33)
34
35const (
36	// Verify that this generated code is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38	// Verify that runtime/protoimpl is sufficiently up-to-date.
39	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40)
41
42// Unit of the document dimension.
43type DocumentDimensions_DocumentDimensionUnit int32
44
45const (
46	// Should not be used.
47	DocumentDimensions_DOCUMENT_DIMENSION_UNIT_UNSPECIFIED DocumentDimensions_DocumentDimensionUnit = 0
48	// Document dimension is measured in inches.
49	DocumentDimensions_INCH DocumentDimensions_DocumentDimensionUnit = 1
50	// Document dimension is measured in centimeters.
51	DocumentDimensions_CENTIMETER DocumentDimensions_DocumentDimensionUnit = 2
52	// Document dimension is measured in points. 72 points = 1 inch.
53	DocumentDimensions_POINT DocumentDimensions_DocumentDimensionUnit = 3
54)
55
56// Enum value maps for DocumentDimensions_DocumentDimensionUnit.
57var (
58	DocumentDimensions_DocumentDimensionUnit_name = map[int32]string{
59		0: "DOCUMENT_DIMENSION_UNIT_UNSPECIFIED",
60		1: "INCH",
61		2: "CENTIMETER",
62		3: "POINT",
63	}
64	DocumentDimensions_DocumentDimensionUnit_value = map[string]int32{
65		"DOCUMENT_DIMENSION_UNIT_UNSPECIFIED": 0,
66		"INCH":                                1,
67		"CENTIMETER":                          2,
68		"POINT":                               3,
69	}
70)
71
72func (x DocumentDimensions_DocumentDimensionUnit) Enum() *DocumentDimensions_DocumentDimensionUnit {
73	p := new(DocumentDimensions_DocumentDimensionUnit)
74	*p = x
75	return p
76}
77
78func (x DocumentDimensions_DocumentDimensionUnit) String() string {
79	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80}
81
82func (DocumentDimensions_DocumentDimensionUnit) Descriptor() protoreflect.EnumDescriptor {
83	return file_google_cloud_automl_v1beta1_data_items_proto_enumTypes[0].Descriptor()
84}
85
86func (DocumentDimensions_DocumentDimensionUnit) Type() protoreflect.EnumType {
87	return &file_google_cloud_automl_v1beta1_data_items_proto_enumTypes[0]
88}
89
90func (x DocumentDimensions_DocumentDimensionUnit) Number() protoreflect.EnumNumber {
91	return protoreflect.EnumNumber(x)
92}
93
94// Deprecated: Use DocumentDimensions_DocumentDimensionUnit.Descriptor instead.
95func (DocumentDimensions_DocumentDimensionUnit) EnumDescriptor() ([]byte, []int) {
96	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{2, 0}
97}
98
99// The type of TextSegment in the context of the original document.
100type Document_Layout_TextSegmentType int32
101
102const (
103	// Should not be used.
104	Document_Layout_TEXT_SEGMENT_TYPE_UNSPECIFIED Document_Layout_TextSegmentType = 0
105	// The text segment is a token. e.g. word.
106	Document_Layout_TOKEN Document_Layout_TextSegmentType = 1
107	// The text segment is a paragraph.
108	Document_Layout_PARAGRAPH Document_Layout_TextSegmentType = 2
109	// The text segment is a form field.
110	Document_Layout_FORM_FIELD Document_Layout_TextSegmentType = 3
111	// The text segment is the name part of a form field. It will be treated
112	// as child of another FORM_FIELD TextSegment if its span is subspan of
113	// another TextSegment with type FORM_FIELD.
114	Document_Layout_FORM_FIELD_NAME Document_Layout_TextSegmentType = 4
115	// The text segment is the text content part of a form field. It will be
116	// treated as child of another FORM_FIELD TextSegment if its span is
117	// subspan of another TextSegment with type FORM_FIELD.
118	Document_Layout_FORM_FIELD_CONTENTS Document_Layout_TextSegmentType = 5
119	// The text segment is a whole table, including headers, and all rows.
120	Document_Layout_TABLE Document_Layout_TextSegmentType = 6
121	// The text segment is a table's headers. It will be treated as child of
122	// another TABLE TextSegment if its span is subspan of another TextSegment
123	// with type TABLE.
124	Document_Layout_TABLE_HEADER Document_Layout_TextSegmentType = 7
125	// The text segment is a row in table. It will be treated as child of
126	// another TABLE TextSegment if its span is subspan of another TextSegment
127	// with type TABLE.
128	Document_Layout_TABLE_ROW Document_Layout_TextSegmentType = 8
129	// The text segment is a cell in table. It will be treated as child of
130	// another TABLE_ROW TextSegment if its span is subspan of another
131	// TextSegment with type TABLE_ROW.
132	Document_Layout_TABLE_CELL Document_Layout_TextSegmentType = 9
133)
134
135// Enum value maps for Document_Layout_TextSegmentType.
136var (
137	Document_Layout_TextSegmentType_name = map[int32]string{
138		0: "TEXT_SEGMENT_TYPE_UNSPECIFIED",
139		1: "TOKEN",
140		2: "PARAGRAPH",
141		3: "FORM_FIELD",
142		4: "FORM_FIELD_NAME",
143		5: "FORM_FIELD_CONTENTS",
144		6: "TABLE",
145		7: "TABLE_HEADER",
146		8: "TABLE_ROW",
147		9: "TABLE_CELL",
148	}
149	Document_Layout_TextSegmentType_value = map[string]int32{
150		"TEXT_SEGMENT_TYPE_UNSPECIFIED": 0,
151		"TOKEN":                         1,
152		"PARAGRAPH":                     2,
153		"FORM_FIELD":                    3,
154		"FORM_FIELD_NAME":               4,
155		"FORM_FIELD_CONTENTS":           5,
156		"TABLE":                         6,
157		"TABLE_HEADER":                  7,
158		"TABLE_ROW":                     8,
159		"TABLE_CELL":                    9,
160	}
161)
162
163func (x Document_Layout_TextSegmentType) Enum() *Document_Layout_TextSegmentType {
164	p := new(Document_Layout_TextSegmentType)
165	*p = x
166	return p
167}
168
169func (x Document_Layout_TextSegmentType) String() string {
170	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
171}
172
173func (Document_Layout_TextSegmentType) Descriptor() protoreflect.EnumDescriptor {
174	return file_google_cloud_automl_v1beta1_data_items_proto_enumTypes[1].Descriptor()
175}
176
177func (Document_Layout_TextSegmentType) Type() protoreflect.EnumType {
178	return &file_google_cloud_automl_v1beta1_data_items_proto_enumTypes[1]
179}
180
181func (x Document_Layout_TextSegmentType) Number() protoreflect.EnumNumber {
182	return protoreflect.EnumNumber(x)
183}
184
185// Deprecated: Use Document_Layout_TextSegmentType.Descriptor instead.
186func (Document_Layout_TextSegmentType) EnumDescriptor() ([]byte, []int) {
187	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{3, 0, 0}
188}
189
190// A representation of an image.
191// Only images up to 30MB in size are supported.
192type Image struct {
193	state         protoimpl.MessageState
194	sizeCache     protoimpl.SizeCache
195	unknownFields protoimpl.UnknownFields
196
197	// Input only. The data representing the image.
198	// For Predict calls [image_bytes][google.cloud.automl.v1beta1.Image.image_bytes] must be set, as other options are not
199	// currently supported by prediction API. You can read the contents of an
200	// uploaded image by using the [content_uri][google.cloud.automl.v1beta1.Image.content_uri] field.
201	//
202	// Types that are assignable to Data:
203	//	*Image_ImageBytes
204	//	*Image_InputConfig
205	Data isImage_Data `protobuf_oneof:"data"`
206	// Output only. HTTP URI to the thumbnail image.
207	ThumbnailUri string `protobuf:"bytes,4,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"`
208}
209
210func (x *Image) Reset() {
211	*x = Image{}
212	if protoimpl.UnsafeEnabled {
213		mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[0]
214		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215		ms.StoreMessageInfo(mi)
216	}
217}
218
219func (x *Image) String() string {
220	return protoimpl.X.MessageStringOf(x)
221}
222
223func (*Image) ProtoMessage() {}
224
225func (x *Image) ProtoReflect() protoreflect.Message {
226	mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[0]
227	if protoimpl.UnsafeEnabled && x != nil {
228		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229		if ms.LoadMessageInfo() == nil {
230			ms.StoreMessageInfo(mi)
231		}
232		return ms
233	}
234	return mi.MessageOf(x)
235}
236
237// Deprecated: Use Image.ProtoReflect.Descriptor instead.
238func (*Image) Descriptor() ([]byte, []int) {
239	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{0}
240}
241
242func (m *Image) GetData() isImage_Data {
243	if m != nil {
244		return m.Data
245	}
246	return nil
247}
248
249func (x *Image) GetImageBytes() []byte {
250	if x, ok := x.GetData().(*Image_ImageBytes); ok {
251		return x.ImageBytes
252	}
253	return nil
254}
255
256func (x *Image) GetInputConfig() *InputConfig {
257	if x, ok := x.GetData().(*Image_InputConfig); ok {
258		return x.InputConfig
259	}
260	return nil
261}
262
263func (x *Image) GetThumbnailUri() string {
264	if x != nil {
265		return x.ThumbnailUri
266	}
267	return ""
268}
269
270type isImage_Data interface {
271	isImage_Data()
272}
273
274type Image_ImageBytes struct {
275	// Image content represented as a stream of bytes.
276	// Note: As with all `bytes` fields, protobuffers use a pure binary
277	// representation, whereas JSON representations use base64.
278	ImageBytes []byte `protobuf:"bytes,1,opt,name=image_bytes,json=imageBytes,proto3,oneof"`
279}
280
281type Image_InputConfig struct {
282	// An input config specifying the content of the image.
283	InputConfig *InputConfig `protobuf:"bytes,6,opt,name=input_config,json=inputConfig,proto3,oneof"`
284}
285
286func (*Image_ImageBytes) isImage_Data() {}
287
288func (*Image_InputConfig) isImage_Data() {}
289
290// A representation of a text snippet.
291type TextSnippet struct {
292	state         protoimpl.MessageState
293	sizeCache     protoimpl.SizeCache
294	unknownFields protoimpl.UnknownFields
295
296	// Required. The content of the text snippet as a string. Up to 250000
297	// characters long.
298	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
299	// Optional. The format of [content][google.cloud.automl.v1beta1.TextSnippet.content]. Currently the only two allowed
300	// values are "text/html" and "text/plain". If left blank, the format is
301	// automatically determined from the type of the uploaded [content][google.cloud.automl.v1beta1.TextSnippet.content].
302	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
303	// Output only. HTTP URI where you can download the content.
304	ContentUri string `protobuf:"bytes,4,opt,name=content_uri,json=contentUri,proto3" json:"content_uri,omitempty"`
305}
306
307func (x *TextSnippet) Reset() {
308	*x = TextSnippet{}
309	if protoimpl.UnsafeEnabled {
310		mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[1]
311		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312		ms.StoreMessageInfo(mi)
313	}
314}
315
316func (x *TextSnippet) String() string {
317	return protoimpl.X.MessageStringOf(x)
318}
319
320func (*TextSnippet) ProtoMessage() {}
321
322func (x *TextSnippet) ProtoReflect() protoreflect.Message {
323	mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[1]
324	if protoimpl.UnsafeEnabled && x != nil {
325		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326		if ms.LoadMessageInfo() == nil {
327			ms.StoreMessageInfo(mi)
328		}
329		return ms
330	}
331	return mi.MessageOf(x)
332}
333
334// Deprecated: Use TextSnippet.ProtoReflect.Descriptor instead.
335func (*TextSnippet) Descriptor() ([]byte, []int) {
336	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{1}
337}
338
339func (x *TextSnippet) GetContent() string {
340	if x != nil {
341		return x.Content
342	}
343	return ""
344}
345
346func (x *TextSnippet) GetMimeType() string {
347	if x != nil {
348		return x.MimeType
349	}
350	return ""
351}
352
353func (x *TextSnippet) GetContentUri() string {
354	if x != nil {
355		return x.ContentUri
356	}
357	return ""
358}
359
360// Message that describes dimension of a document.
361type DocumentDimensions struct {
362	state         protoimpl.MessageState
363	sizeCache     protoimpl.SizeCache
364	unknownFields protoimpl.UnknownFields
365
366	// Unit of the dimension.
367	Unit DocumentDimensions_DocumentDimensionUnit `protobuf:"varint,1,opt,name=unit,proto3,enum=google.cloud.automl.v1beta1.DocumentDimensions_DocumentDimensionUnit" json:"unit,omitempty"`
368	// Width value of the document, works together with the unit.
369	Width float32 `protobuf:"fixed32,2,opt,name=width,proto3" json:"width,omitempty"`
370	// Height value of the document, works together with the unit.
371	Height float32 `protobuf:"fixed32,3,opt,name=height,proto3" json:"height,omitempty"`
372}
373
374func (x *DocumentDimensions) Reset() {
375	*x = DocumentDimensions{}
376	if protoimpl.UnsafeEnabled {
377		mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[2]
378		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
379		ms.StoreMessageInfo(mi)
380	}
381}
382
383func (x *DocumentDimensions) String() string {
384	return protoimpl.X.MessageStringOf(x)
385}
386
387func (*DocumentDimensions) ProtoMessage() {}
388
389func (x *DocumentDimensions) ProtoReflect() protoreflect.Message {
390	mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[2]
391	if protoimpl.UnsafeEnabled && x != nil {
392		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
393		if ms.LoadMessageInfo() == nil {
394			ms.StoreMessageInfo(mi)
395		}
396		return ms
397	}
398	return mi.MessageOf(x)
399}
400
401// Deprecated: Use DocumentDimensions.ProtoReflect.Descriptor instead.
402func (*DocumentDimensions) Descriptor() ([]byte, []int) {
403	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{2}
404}
405
406func (x *DocumentDimensions) GetUnit() DocumentDimensions_DocumentDimensionUnit {
407	if x != nil {
408		return x.Unit
409	}
410	return DocumentDimensions_DOCUMENT_DIMENSION_UNIT_UNSPECIFIED
411}
412
413func (x *DocumentDimensions) GetWidth() float32 {
414	if x != nil {
415		return x.Width
416	}
417	return 0
418}
419
420func (x *DocumentDimensions) GetHeight() float32 {
421	if x != nil {
422		return x.Height
423	}
424	return 0
425}
426
427// A structured text document e.g. a PDF.
428type Document struct {
429	state         protoimpl.MessageState
430	sizeCache     protoimpl.SizeCache
431	unknownFields protoimpl.UnknownFields
432
433	// An input config specifying the content of the document.
434	InputConfig *DocumentInputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
435	// The plain text version of this document.
436	DocumentText *TextSnippet `protobuf:"bytes,2,opt,name=document_text,json=documentText,proto3" json:"document_text,omitempty"`
437	// Describes the layout of the document.
438	// Sorted by [page_number][].
439	Layout []*Document_Layout `protobuf:"bytes,3,rep,name=layout,proto3" json:"layout,omitempty"`
440	// The dimensions of the page in the document.
441	DocumentDimensions *DocumentDimensions `protobuf:"bytes,4,opt,name=document_dimensions,json=documentDimensions,proto3" json:"document_dimensions,omitempty"`
442	// Number of pages in the document.
443	PageCount int32 `protobuf:"varint,5,opt,name=page_count,json=pageCount,proto3" json:"page_count,omitempty"`
444}
445
446func (x *Document) Reset() {
447	*x = Document{}
448	if protoimpl.UnsafeEnabled {
449		mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[3]
450		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
451		ms.StoreMessageInfo(mi)
452	}
453}
454
455func (x *Document) String() string {
456	return protoimpl.X.MessageStringOf(x)
457}
458
459func (*Document) ProtoMessage() {}
460
461func (x *Document) ProtoReflect() protoreflect.Message {
462	mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[3]
463	if protoimpl.UnsafeEnabled && x != nil {
464		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
465		if ms.LoadMessageInfo() == nil {
466			ms.StoreMessageInfo(mi)
467		}
468		return ms
469	}
470	return mi.MessageOf(x)
471}
472
473// Deprecated: Use Document.ProtoReflect.Descriptor instead.
474func (*Document) Descriptor() ([]byte, []int) {
475	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{3}
476}
477
478func (x *Document) GetInputConfig() *DocumentInputConfig {
479	if x != nil {
480		return x.InputConfig
481	}
482	return nil
483}
484
485func (x *Document) GetDocumentText() *TextSnippet {
486	if x != nil {
487		return x.DocumentText
488	}
489	return nil
490}
491
492func (x *Document) GetLayout() []*Document_Layout {
493	if x != nil {
494		return x.Layout
495	}
496	return nil
497}
498
499func (x *Document) GetDocumentDimensions() *DocumentDimensions {
500	if x != nil {
501		return x.DocumentDimensions
502	}
503	return nil
504}
505
506func (x *Document) GetPageCount() int32 {
507	if x != nil {
508		return x.PageCount
509	}
510	return 0
511}
512
513// A representation of a row in a relational table.
514type Row struct {
515	state         protoimpl.MessageState
516	sizeCache     protoimpl.SizeCache
517	unknownFields protoimpl.UnknownFields
518
519	// The resource IDs of the column specs describing the columns of the row.
520	// If set must contain, but possibly in a different order, all input
521	// feature
522	//
523	// [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
524	// of the Model this row is being passed to.
525	// Note: The below `values` field must match order of this field, if this
526	// field is set.
527	ColumnSpecIds []string `protobuf:"bytes,2,rep,name=column_spec_ids,json=columnSpecIds,proto3" json:"column_spec_ids,omitempty"`
528	// Required. The values of the row cells, given in the same order as the
529	// column_spec_ids, or, if not set, then in the same order as input
530	// feature
531	//
532	// [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
533	// of the Model this row is being passed to.
534	Values []*structpb.Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
535}
536
537func (x *Row) Reset() {
538	*x = Row{}
539	if protoimpl.UnsafeEnabled {
540		mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[4]
541		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
542		ms.StoreMessageInfo(mi)
543	}
544}
545
546func (x *Row) String() string {
547	return protoimpl.X.MessageStringOf(x)
548}
549
550func (*Row) ProtoMessage() {}
551
552func (x *Row) ProtoReflect() protoreflect.Message {
553	mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[4]
554	if protoimpl.UnsafeEnabled && x != nil {
555		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
556		if ms.LoadMessageInfo() == nil {
557			ms.StoreMessageInfo(mi)
558		}
559		return ms
560	}
561	return mi.MessageOf(x)
562}
563
564// Deprecated: Use Row.ProtoReflect.Descriptor instead.
565func (*Row) Descriptor() ([]byte, []int) {
566	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{4}
567}
568
569func (x *Row) GetColumnSpecIds() []string {
570	if x != nil {
571		return x.ColumnSpecIds
572	}
573	return nil
574}
575
576func (x *Row) GetValues() []*structpb.Value {
577	if x != nil {
578		return x.Values
579	}
580	return nil
581}
582
583// Example data used for training or prediction.
584type ExamplePayload struct {
585	state         protoimpl.MessageState
586	sizeCache     protoimpl.SizeCache
587	unknownFields protoimpl.UnknownFields
588
589	// Required. Input only. The example data.
590	//
591	// Types that are assignable to Payload:
592	//	*ExamplePayload_Image
593	//	*ExamplePayload_TextSnippet
594	//	*ExamplePayload_Document
595	//	*ExamplePayload_Row
596	Payload isExamplePayload_Payload `protobuf_oneof:"payload"`
597}
598
599func (x *ExamplePayload) Reset() {
600	*x = ExamplePayload{}
601	if protoimpl.UnsafeEnabled {
602		mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[5]
603		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
604		ms.StoreMessageInfo(mi)
605	}
606}
607
608func (x *ExamplePayload) String() string {
609	return protoimpl.X.MessageStringOf(x)
610}
611
612func (*ExamplePayload) ProtoMessage() {}
613
614func (x *ExamplePayload) ProtoReflect() protoreflect.Message {
615	mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[5]
616	if protoimpl.UnsafeEnabled && x != nil {
617		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
618		if ms.LoadMessageInfo() == nil {
619			ms.StoreMessageInfo(mi)
620		}
621		return ms
622	}
623	return mi.MessageOf(x)
624}
625
626// Deprecated: Use ExamplePayload.ProtoReflect.Descriptor instead.
627func (*ExamplePayload) Descriptor() ([]byte, []int) {
628	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{5}
629}
630
631func (m *ExamplePayload) GetPayload() isExamplePayload_Payload {
632	if m != nil {
633		return m.Payload
634	}
635	return nil
636}
637
638func (x *ExamplePayload) GetImage() *Image {
639	if x, ok := x.GetPayload().(*ExamplePayload_Image); ok {
640		return x.Image
641	}
642	return nil
643}
644
645func (x *ExamplePayload) GetTextSnippet() *TextSnippet {
646	if x, ok := x.GetPayload().(*ExamplePayload_TextSnippet); ok {
647		return x.TextSnippet
648	}
649	return nil
650}
651
652func (x *ExamplePayload) GetDocument() *Document {
653	if x, ok := x.GetPayload().(*ExamplePayload_Document); ok {
654		return x.Document
655	}
656	return nil
657}
658
659func (x *ExamplePayload) GetRow() *Row {
660	if x, ok := x.GetPayload().(*ExamplePayload_Row); ok {
661		return x.Row
662	}
663	return nil
664}
665
666type isExamplePayload_Payload interface {
667	isExamplePayload_Payload()
668}
669
670type ExamplePayload_Image struct {
671	// Example image.
672	Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof"`
673}
674
675type ExamplePayload_TextSnippet struct {
676	// Example text.
677	TextSnippet *TextSnippet `protobuf:"bytes,2,opt,name=text_snippet,json=textSnippet,proto3,oneof"`
678}
679
680type ExamplePayload_Document struct {
681	// Example document.
682	Document *Document `protobuf:"bytes,4,opt,name=document,proto3,oneof"`
683}
684
685type ExamplePayload_Row struct {
686	// Example relational table row.
687	Row *Row `protobuf:"bytes,3,opt,name=row,proto3,oneof"`
688}
689
690func (*ExamplePayload_Image) isExamplePayload_Payload() {}
691
692func (*ExamplePayload_TextSnippet) isExamplePayload_Payload() {}
693
694func (*ExamplePayload_Document) isExamplePayload_Payload() {}
695
696func (*ExamplePayload_Row) isExamplePayload_Payload() {}
697
698// Describes the layout information of a [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the document.
699type Document_Layout struct {
700	state         protoimpl.MessageState
701	sizeCache     protoimpl.SizeCache
702	unknownFields protoimpl.UnknownFields
703
704	// Text Segment that represents a segment in
705	// [document_text][google.cloud.automl.v1beta1.Document.document_text].
706	TextSegment *TextSegment `protobuf:"bytes,1,opt,name=text_segment,json=textSegment,proto3" json:"text_segment,omitempty"`
707	// Page number of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the original document, starts
708	// from 1.
709	PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
710	// The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
711	// Contains exactly 4
712	//
713	// [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
714	// and they are connected by edges in the order provided, which will
715	// represent a rectangle parallel to the frame. The
716	// [NormalizedVertex-s][google.cloud.automl.v1beta1.NormalizedVertex] are
717	// relative to the page.
718	// Coordinates are based on top-left as point (0,0).
719	BoundingPoly *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
720	// The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
721	TextSegmentType Document_Layout_TextSegmentType `protobuf:"varint,4,opt,name=text_segment_type,json=textSegmentType,proto3,enum=google.cloud.automl.v1beta1.Document_Layout_TextSegmentType" json:"text_segment_type,omitempty"`
722}
723
724func (x *Document_Layout) Reset() {
725	*x = Document_Layout{}
726	if protoimpl.UnsafeEnabled {
727		mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[6]
728		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
729		ms.StoreMessageInfo(mi)
730	}
731}
732
733func (x *Document_Layout) String() string {
734	return protoimpl.X.MessageStringOf(x)
735}
736
737func (*Document_Layout) ProtoMessage() {}
738
739func (x *Document_Layout) ProtoReflect() protoreflect.Message {
740	mi := &file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[6]
741	if protoimpl.UnsafeEnabled && x != nil {
742		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
743		if ms.LoadMessageInfo() == nil {
744			ms.StoreMessageInfo(mi)
745		}
746		return ms
747	}
748	return mi.MessageOf(x)
749}
750
751// Deprecated: Use Document_Layout.ProtoReflect.Descriptor instead.
752func (*Document_Layout) Descriptor() ([]byte, []int) {
753	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP(), []int{3, 0}
754}
755
756func (x *Document_Layout) GetTextSegment() *TextSegment {
757	if x != nil {
758		return x.TextSegment
759	}
760	return nil
761}
762
763func (x *Document_Layout) GetPageNumber() int32 {
764	if x != nil {
765		return x.PageNumber
766	}
767	return 0
768}
769
770func (x *Document_Layout) GetBoundingPoly() *BoundingPoly {
771	if x != nil {
772		return x.BoundingPoly
773	}
774	return nil
775}
776
777func (x *Document_Layout) GetTextSegmentType() Document_Layout_TextSegmentType {
778	if x != nil {
779		return x.TextSegmentType
780	}
781	return Document_Layout_TEXT_SEGMENT_TYPE_UNSPECIFIED
782}
783
784var File_google_cloud_automl_v1beta1_data_items_proto protoreflect.FileDescriptor
785
786var file_google_cloud_automl_v1beta1_data_items_proto_rawDesc = []byte{
787	0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
788	0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x61,
789	0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b,
790	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
791	0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x2a, 0x67, 0x6f, 0x6f,
792	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
793	0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72,
794	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
795	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62,
796	0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67,
797	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f,
798	0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6f,
799	0x72, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
800	0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76,
801	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d,
802	0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
803	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70,
804	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
805	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
806	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
807	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f,
808	0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
809	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
810	0x22, 0xa6, 0x01, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6d,
811	0x61, 0x67, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48,
812	0x00, 0x52, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x4d, 0x0a,
813	0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20,
814	0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
815	0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
816	0x31, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52,
817	0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d,
818	0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20,
819	0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x55, 0x72,
820	0x69, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x65, 0x0a, 0x0b, 0x54, 0x65, 0x78,
821	0x74, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74,
822	0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
823	0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
824	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
825	0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04,
826	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69,
827	0x22, 0x84, 0x02, 0x0a, 0x12, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x6d,
828	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18,
829	0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
830	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65,
831	0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x6d, 0x65,
832	0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44,
833	0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x04, 0x75, 0x6e,
834	0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
835	0x02, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67,
836	0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
837	0x22, 0x65, 0x0a, 0x15, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x6d, 0x65,
838	0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x27, 0x0a, 0x23, 0x44, 0x4f, 0x43,
839	0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x44, 0x49, 0x4d, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
840	0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
841	0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x43, 0x48, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a,
842	0x43, 0x45, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05,
843	0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x03, 0x22, 0xf3, 0x06, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75,
844	0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f,
845	0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f,
846	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
847	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
848	0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x69, 0x6e,
849	0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x0d, 0x64, 0x6f, 0x63,
850	0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
851	0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
852	0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54,
853	0x65, 0x78, 0x74, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x52, 0x0c, 0x64, 0x6f, 0x63, 0x75,
854	0x6d, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x78, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f,
855	0x75, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
856	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76,
857	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
858	0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x60,
859	0x0a, 0x13, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x6d, 0x65, 0x6e,
860	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f,
861	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d,
862	0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65,
863	0x6e, 0x74, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x64, 0x6f,
864	0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
865	0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05,
866	0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a,
867	0xfb, 0x03, 0x0a, 0x06, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x4b, 0x0a, 0x0c, 0x74, 0x65,
868	0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
869	0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
870	0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54,
871	0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74,
872	0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x67, 0x65, 0x5f,
873	0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61,
874	0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x4e, 0x0a, 0x0d, 0x62, 0x6f, 0x75, 0x6e,
875	0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
876	0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
877	0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f,
878	0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x75, 0x6e,
879	0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x12, 0x68, 0x0a, 0x11, 0x74, 0x65, 0x78, 0x74,
880	0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
881	0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
882	0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
883	0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75,
884	0x74, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
885	0x65, 0x52, 0x0f, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79,
886	0x70, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x0f, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65,
887	0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x53,
888	0x45, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
889	0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x4f, 0x4b,
890	0x45, 0x4e, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x41, 0x52, 0x41, 0x47, 0x52, 0x41, 0x50,
891	0x48, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x46, 0x49, 0x45, 0x4c,
892	0x44, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x46, 0x49, 0x45, 0x4c,
893	0x44, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x4f, 0x52, 0x4d,
894	0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x53, 0x10,
895	0x05, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c,
896	0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x07, 0x12, 0x0d,
897	0x0a, 0x09, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x52, 0x4f, 0x57, 0x10, 0x08, 0x12, 0x0e, 0x0a,
898	0x0a, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x10, 0x09, 0x22, 0x5d, 0x0a,
899	0x03, 0x52, 0x6f, 0x77, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x73,
900	0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63,
901	0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x06,
902	0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67,
903	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56,
904	0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xa1, 0x02, 0x0a,
905	0x0e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12,
906	0x3a, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
907	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
908	0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x61,
909	0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x74,
910	0x65, 0x78, 0x74, 0x5f, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
911	0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
912	0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
913	0x54, 0x65, 0x78, 0x74, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x74,
914	0x65, 0x78, 0x74, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x64, 0x6f,
915	0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67,
916	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f,
917	0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d,
918	0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12,
919	0x34, 0x0a, 0x03, 0x72, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
920	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f,
921	0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x48, 0x00,
922	0x52, 0x03, 0x72, 0x6f, 0x77, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
923	0x42, 0xa5, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
924	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62,
925	0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
926	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
927	0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c,
928	0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
929	0x61, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67,
930	0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c,
931	0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
932	0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a,
933	0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
934}
935
936var (
937	file_google_cloud_automl_v1beta1_data_items_proto_rawDescOnce sync.Once
938	file_google_cloud_automl_v1beta1_data_items_proto_rawDescData = file_google_cloud_automl_v1beta1_data_items_proto_rawDesc
939)
940
941func file_google_cloud_automl_v1beta1_data_items_proto_rawDescGZIP() []byte {
942	file_google_cloud_automl_v1beta1_data_items_proto_rawDescOnce.Do(func() {
943		file_google_cloud_automl_v1beta1_data_items_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_data_items_proto_rawDescData)
944	})
945	return file_google_cloud_automl_v1beta1_data_items_proto_rawDescData
946}
947
948var file_google_cloud_automl_v1beta1_data_items_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
949var file_google_cloud_automl_v1beta1_data_items_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
950var file_google_cloud_automl_v1beta1_data_items_proto_goTypes = []interface{}{
951	(DocumentDimensions_DocumentDimensionUnit)(0), // 0: google.cloud.automl.v1beta1.DocumentDimensions.DocumentDimensionUnit
952	(Document_Layout_TextSegmentType)(0),          // 1: google.cloud.automl.v1beta1.Document.Layout.TextSegmentType
953	(*Image)(nil),                                 // 2: google.cloud.automl.v1beta1.Image
954	(*TextSnippet)(nil),                           // 3: google.cloud.automl.v1beta1.TextSnippet
955	(*DocumentDimensions)(nil),                    // 4: google.cloud.automl.v1beta1.DocumentDimensions
956	(*Document)(nil),                              // 5: google.cloud.automl.v1beta1.Document
957	(*Row)(nil),                                   // 6: google.cloud.automl.v1beta1.Row
958	(*ExamplePayload)(nil),                        // 7: google.cloud.automl.v1beta1.ExamplePayload
959	(*Document_Layout)(nil),                       // 8: google.cloud.automl.v1beta1.Document.Layout
960	(*InputConfig)(nil),                           // 9: google.cloud.automl.v1beta1.InputConfig
961	(*DocumentInputConfig)(nil),                   // 10: google.cloud.automl.v1beta1.DocumentInputConfig
962	(*structpb.Value)(nil),                        // 11: google.protobuf.Value
963	(*TextSegment)(nil),                           // 12: google.cloud.automl.v1beta1.TextSegment
964	(*BoundingPoly)(nil),                          // 13: google.cloud.automl.v1beta1.BoundingPoly
965}
966var file_google_cloud_automl_v1beta1_data_items_proto_depIdxs = []int32{
967	9,  // 0: google.cloud.automl.v1beta1.Image.input_config:type_name -> google.cloud.automl.v1beta1.InputConfig
968	0,  // 1: google.cloud.automl.v1beta1.DocumentDimensions.unit:type_name -> google.cloud.automl.v1beta1.DocumentDimensions.DocumentDimensionUnit
969	10, // 2: google.cloud.automl.v1beta1.Document.input_config:type_name -> google.cloud.automl.v1beta1.DocumentInputConfig
970	3,  // 3: google.cloud.automl.v1beta1.Document.document_text:type_name -> google.cloud.automl.v1beta1.TextSnippet
971	8,  // 4: google.cloud.automl.v1beta1.Document.layout:type_name -> google.cloud.automl.v1beta1.Document.Layout
972	4,  // 5: google.cloud.automl.v1beta1.Document.document_dimensions:type_name -> google.cloud.automl.v1beta1.DocumentDimensions
973	11, // 6: google.cloud.automl.v1beta1.Row.values:type_name -> google.protobuf.Value
974	2,  // 7: google.cloud.automl.v1beta1.ExamplePayload.image:type_name -> google.cloud.automl.v1beta1.Image
975	3,  // 8: google.cloud.automl.v1beta1.ExamplePayload.text_snippet:type_name -> google.cloud.automl.v1beta1.TextSnippet
976	5,  // 9: google.cloud.automl.v1beta1.ExamplePayload.document:type_name -> google.cloud.automl.v1beta1.Document
977	6,  // 10: google.cloud.automl.v1beta1.ExamplePayload.row:type_name -> google.cloud.automl.v1beta1.Row
978	12, // 11: google.cloud.automl.v1beta1.Document.Layout.text_segment:type_name -> google.cloud.automl.v1beta1.TextSegment
979	13, // 12: google.cloud.automl.v1beta1.Document.Layout.bounding_poly:type_name -> google.cloud.automl.v1beta1.BoundingPoly
980	1,  // 13: google.cloud.automl.v1beta1.Document.Layout.text_segment_type:type_name -> google.cloud.automl.v1beta1.Document.Layout.TextSegmentType
981	14, // [14:14] is the sub-list for method output_type
982	14, // [14:14] is the sub-list for method input_type
983	14, // [14:14] is the sub-list for extension type_name
984	14, // [14:14] is the sub-list for extension extendee
985	0,  // [0:14] is the sub-list for field type_name
986}
987
988func init() { file_google_cloud_automl_v1beta1_data_items_proto_init() }
989func file_google_cloud_automl_v1beta1_data_items_proto_init() {
990	if File_google_cloud_automl_v1beta1_data_items_proto != nil {
991		return
992	}
993	file_google_cloud_automl_v1beta1_geometry_proto_init()
994	file_google_cloud_automl_v1beta1_io_proto_init()
995	file_google_cloud_automl_v1beta1_temporal_proto_init()
996	file_google_cloud_automl_v1beta1_text_segment_proto_init()
997	if !protoimpl.UnsafeEnabled {
998		file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
999			switch v := v.(*Image); i {
1000			case 0:
1001				return &v.state
1002			case 1:
1003				return &v.sizeCache
1004			case 2:
1005				return &v.unknownFields
1006			default:
1007				return nil
1008			}
1009		}
1010		file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1011			switch v := v.(*TextSnippet); i {
1012			case 0:
1013				return &v.state
1014			case 1:
1015				return &v.sizeCache
1016			case 2:
1017				return &v.unknownFields
1018			default:
1019				return nil
1020			}
1021		}
1022		file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1023			switch v := v.(*DocumentDimensions); i {
1024			case 0:
1025				return &v.state
1026			case 1:
1027				return &v.sizeCache
1028			case 2:
1029				return &v.unknownFields
1030			default:
1031				return nil
1032			}
1033		}
1034		file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1035			switch v := v.(*Document); i {
1036			case 0:
1037				return &v.state
1038			case 1:
1039				return &v.sizeCache
1040			case 2:
1041				return &v.unknownFields
1042			default:
1043				return nil
1044			}
1045		}
1046		file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1047			switch v := v.(*Row); i {
1048			case 0:
1049				return &v.state
1050			case 1:
1051				return &v.sizeCache
1052			case 2:
1053				return &v.unknownFields
1054			default:
1055				return nil
1056			}
1057		}
1058		file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1059			switch v := v.(*ExamplePayload); i {
1060			case 0:
1061				return &v.state
1062			case 1:
1063				return &v.sizeCache
1064			case 2:
1065				return &v.unknownFields
1066			default:
1067				return nil
1068			}
1069		}
1070		file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1071			switch v := v.(*Document_Layout); i {
1072			case 0:
1073				return &v.state
1074			case 1:
1075				return &v.sizeCache
1076			case 2:
1077				return &v.unknownFields
1078			default:
1079				return nil
1080			}
1081		}
1082	}
1083	file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[0].OneofWrappers = []interface{}{
1084		(*Image_ImageBytes)(nil),
1085		(*Image_InputConfig)(nil),
1086	}
1087	file_google_cloud_automl_v1beta1_data_items_proto_msgTypes[5].OneofWrappers = []interface{}{
1088		(*ExamplePayload_Image)(nil),
1089		(*ExamplePayload_TextSnippet)(nil),
1090		(*ExamplePayload_Document)(nil),
1091		(*ExamplePayload_Row)(nil),
1092	}
1093	type x struct{}
1094	out := protoimpl.TypeBuilder{
1095		File: protoimpl.DescBuilder{
1096			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1097			RawDescriptor: file_google_cloud_automl_v1beta1_data_items_proto_rawDesc,
1098			NumEnums:      2,
1099			NumMessages:   7,
1100			NumExtensions: 0,
1101			NumServices:   0,
1102		},
1103		GoTypes:           file_google_cloud_automl_v1beta1_data_items_proto_goTypes,
1104		DependencyIndexes: file_google_cloud_automl_v1beta1_data_items_proto_depIdxs,
1105		EnumInfos:         file_google_cloud_automl_v1beta1_data_items_proto_enumTypes,
1106		MessageInfos:      file_google_cloud_automl_v1beta1_data_items_proto_msgTypes,
1107	}.Build()
1108	File_google_cloud_automl_v1beta1_data_items_proto = out.File
1109	file_google_cloud_automl_v1beta1_data_items_proto_rawDesc = nil
1110	file_google_cloud_automl_v1beta1_data_items_proto_goTypes = nil
1111	file_google_cloud_automl_v1beta1_data_items_proto_depIdxs = nil
1112}
1113