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