1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/automl/v1/data_items.proto
3
4package automl
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	_ "github.com/golang/protobuf/ptypes/any"
12	_ "github.com/golang/protobuf/ptypes/duration"
13	_ "github.com/golang/protobuf/ptypes/struct"
14	_ "google.golang.org/genproto/googleapis/api/annotations"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
28// Unit of the document dimension.
29type DocumentDimensions_DocumentDimensionUnit int32
30
31const (
32	// Should not be used.
33	DocumentDimensions_DOCUMENT_DIMENSION_UNIT_UNSPECIFIED DocumentDimensions_DocumentDimensionUnit = 0
34	// Document dimension is measured in inches.
35	DocumentDimensions_INCH DocumentDimensions_DocumentDimensionUnit = 1
36	// Document dimension is measured in centimeters.
37	DocumentDimensions_CENTIMETER DocumentDimensions_DocumentDimensionUnit = 2
38	// Document dimension is measured in points. 72 points = 1 inch.
39	DocumentDimensions_POINT DocumentDimensions_DocumentDimensionUnit = 3
40)
41
42var DocumentDimensions_DocumentDimensionUnit_name = map[int32]string{
43	0: "DOCUMENT_DIMENSION_UNIT_UNSPECIFIED",
44	1: "INCH",
45	2: "CENTIMETER",
46	3: "POINT",
47}
48
49var DocumentDimensions_DocumentDimensionUnit_value = map[string]int32{
50	"DOCUMENT_DIMENSION_UNIT_UNSPECIFIED": 0,
51	"INCH":                                1,
52	"CENTIMETER":                          2,
53	"POINT":                               3,
54}
55
56func (x DocumentDimensions_DocumentDimensionUnit) String() string {
57	return proto.EnumName(DocumentDimensions_DocumentDimensionUnit_name, int32(x))
58}
59
60func (DocumentDimensions_DocumentDimensionUnit) EnumDescriptor() ([]byte, []int) {
61	return fileDescriptor_9aa6620a22bddfe1, []int{2, 0}
62}
63
64// The type of TextSegment in the context of the original document.
65type Document_Layout_TextSegmentType int32
66
67const (
68	// Should not be used.
69	Document_Layout_TEXT_SEGMENT_TYPE_UNSPECIFIED Document_Layout_TextSegmentType = 0
70	// The text segment is a token. e.g. word.
71	Document_Layout_TOKEN Document_Layout_TextSegmentType = 1
72	// The text segment is a paragraph.
73	Document_Layout_PARAGRAPH Document_Layout_TextSegmentType = 2
74	// The text segment is a form field.
75	Document_Layout_FORM_FIELD Document_Layout_TextSegmentType = 3
76	// The text segment is the name part of a form field. It will be treated
77	// as child of another FORM_FIELD TextSegment if its span is subspan of
78	// another TextSegment with type FORM_FIELD.
79	Document_Layout_FORM_FIELD_NAME Document_Layout_TextSegmentType = 4
80	// The text segment is the text content part of a form field. It will be
81	// treated as child of another FORM_FIELD TextSegment if its span is
82	// subspan of another TextSegment with type FORM_FIELD.
83	Document_Layout_FORM_FIELD_CONTENTS Document_Layout_TextSegmentType = 5
84	// The text segment is a whole table, including headers, and all rows.
85	Document_Layout_TABLE Document_Layout_TextSegmentType = 6
86	// The text segment is a table's headers. It will be treated as child of
87	// another TABLE TextSegment if its span is subspan of another TextSegment
88	// with type TABLE.
89	Document_Layout_TABLE_HEADER Document_Layout_TextSegmentType = 7
90	// The text segment is a row in table. It will be treated as child of
91	// another TABLE TextSegment if its span is subspan of another TextSegment
92	// with type TABLE.
93	Document_Layout_TABLE_ROW Document_Layout_TextSegmentType = 8
94	// The text segment is a cell in table. It will be treated as child of
95	// another TABLE_ROW TextSegment if its span is subspan of another
96	// TextSegment with type TABLE_ROW.
97	Document_Layout_TABLE_CELL Document_Layout_TextSegmentType = 9
98)
99
100var Document_Layout_TextSegmentType_name = map[int32]string{
101	0: "TEXT_SEGMENT_TYPE_UNSPECIFIED",
102	1: "TOKEN",
103	2: "PARAGRAPH",
104	3: "FORM_FIELD",
105	4: "FORM_FIELD_NAME",
106	5: "FORM_FIELD_CONTENTS",
107	6: "TABLE",
108	7: "TABLE_HEADER",
109	8: "TABLE_ROW",
110	9: "TABLE_CELL",
111}
112
113var Document_Layout_TextSegmentType_value = map[string]int32{
114	"TEXT_SEGMENT_TYPE_UNSPECIFIED": 0,
115	"TOKEN":                         1,
116	"PARAGRAPH":                     2,
117	"FORM_FIELD":                    3,
118	"FORM_FIELD_NAME":               4,
119	"FORM_FIELD_CONTENTS":           5,
120	"TABLE":                         6,
121	"TABLE_HEADER":                  7,
122	"TABLE_ROW":                     8,
123	"TABLE_CELL":                    9,
124}
125
126func (x Document_Layout_TextSegmentType) String() string {
127	return proto.EnumName(Document_Layout_TextSegmentType_name, int32(x))
128}
129
130func (Document_Layout_TextSegmentType) EnumDescriptor() ([]byte, []int) {
131	return fileDescriptor_9aa6620a22bddfe1, []int{3, 0, 0}
132}
133
134// A representation of an image.
135// Only images up to 30MB in size are supported.
136type Image struct {
137	// Input only. The data representing the image.
138	//
139	// Types that are valid to be assigned to Data:
140	//	*Image_ImageBytes
141	Data isImage_Data `protobuf_oneof:"data"`
142	// Output only. HTTP URI to the thumbnail image.
143	ThumbnailUri         string   `protobuf:"bytes,4,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"`
144	XXX_NoUnkeyedLiteral struct{} `json:"-"`
145	XXX_unrecognized     []byte   `json:"-"`
146	XXX_sizecache        int32    `json:"-"`
147}
148
149func (m *Image) Reset()         { *m = Image{} }
150func (m *Image) String() string { return proto.CompactTextString(m) }
151func (*Image) ProtoMessage()    {}
152func (*Image) Descriptor() ([]byte, []int) {
153	return fileDescriptor_9aa6620a22bddfe1, []int{0}
154}
155
156func (m *Image) XXX_Unmarshal(b []byte) error {
157	return xxx_messageInfo_Image.Unmarshal(m, b)
158}
159func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
160	return xxx_messageInfo_Image.Marshal(b, m, deterministic)
161}
162func (m *Image) XXX_Merge(src proto.Message) {
163	xxx_messageInfo_Image.Merge(m, src)
164}
165func (m *Image) XXX_Size() int {
166	return xxx_messageInfo_Image.Size(m)
167}
168func (m *Image) XXX_DiscardUnknown() {
169	xxx_messageInfo_Image.DiscardUnknown(m)
170}
171
172var xxx_messageInfo_Image proto.InternalMessageInfo
173
174type isImage_Data interface {
175	isImage_Data()
176}
177
178type Image_ImageBytes struct {
179	ImageBytes []byte `protobuf:"bytes,1,opt,name=image_bytes,json=imageBytes,proto3,oneof"`
180}
181
182func (*Image_ImageBytes) isImage_Data() {}
183
184func (m *Image) GetData() isImage_Data {
185	if m != nil {
186		return m.Data
187	}
188	return nil
189}
190
191func (m *Image) GetImageBytes() []byte {
192	if x, ok := m.GetData().(*Image_ImageBytes); ok {
193		return x.ImageBytes
194	}
195	return nil
196}
197
198func (m *Image) GetThumbnailUri() string {
199	if m != nil {
200		return m.ThumbnailUri
201	}
202	return ""
203}
204
205// XXX_OneofWrappers is for the internal use of the proto package.
206func (*Image) XXX_OneofWrappers() []interface{} {
207	return []interface{}{
208		(*Image_ImageBytes)(nil),
209	}
210}
211
212// A representation of a text snippet.
213type TextSnippet struct {
214	// Required. The content of the text snippet as a string. Up to 250000
215	// characters long.
216	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
217	// Optional. The format of
218	// [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
219	// two allowed values are "text/html" and "text/plain". If left blank, the
220	// format is automatically determined from the type of the uploaded
221	// [content][google.cloud.automl.v1.TextSnippet.content].
222	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
223	// Output only. HTTP URI where you can download the content.
224	ContentUri           string   `protobuf:"bytes,4,opt,name=content_uri,json=contentUri,proto3" json:"content_uri,omitempty"`
225	XXX_NoUnkeyedLiteral struct{} `json:"-"`
226	XXX_unrecognized     []byte   `json:"-"`
227	XXX_sizecache        int32    `json:"-"`
228}
229
230func (m *TextSnippet) Reset()         { *m = TextSnippet{} }
231func (m *TextSnippet) String() string { return proto.CompactTextString(m) }
232func (*TextSnippet) ProtoMessage()    {}
233func (*TextSnippet) Descriptor() ([]byte, []int) {
234	return fileDescriptor_9aa6620a22bddfe1, []int{1}
235}
236
237func (m *TextSnippet) XXX_Unmarshal(b []byte) error {
238	return xxx_messageInfo_TextSnippet.Unmarshal(m, b)
239}
240func (m *TextSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
241	return xxx_messageInfo_TextSnippet.Marshal(b, m, deterministic)
242}
243func (m *TextSnippet) XXX_Merge(src proto.Message) {
244	xxx_messageInfo_TextSnippet.Merge(m, src)
245}
246func (m *TextSnippet) XXX_Size() int {
247	return xxx_messageInfo_TextSnippet.Size(m)
248}
249func (m *TextSnippet) XXX_DiscardUnknown() {
250	xxx_messageInfo_TextSnippet.DiscardUnknown(m)
251}
252
253var xxx_messageInfo_TextSnippet proto.InternalMessageInfo
254
255func (m *TextSnippet) GetContent() string {
256	if m != nil {
257		return m.Content
258	}
259	return ""
260}
261
262func (m *TextSnippet) GetMimeType() string {
263	if m != nil {
264		return m.MimeType
265	}
266	return ""
267}
268
269func (m *TextSnippet) GetContentUri() string {
270	if m != nil {
271		return m.ContentUri
272	}
273	return ""
274}
275
276// Message that describes dimension of a document.
277type DocumentDimensions struct {
278	// Unit of the dimension.
279	Unit DocumentDimensions_DocumentDimensionUnit `protobuf:"varint,1,opt,name=unit,proto3,enum=google.cloud.automl.v1.DocumentDimensions_DocumentDimensionUnit" json:"unit,omitempty"`
280	// Width value of the document, works together with the unit.
281	Width float32 `protobuf:"fixed32,2,opt,name=width,proto3" json:"width,omitempty"`
282	// Height value of the document, works together with the unit.
283	Height               float32  `protobuf:"fixed32,3,opt,name=height,proto3" json:"height,omitempty"`
284	XXX_NoUnkeyedLiteral struct{} `json:"-"`
285	XXX_unrecognized     []byte   `json:"-"`
286	XXX_sizecache        int32    `json:"-"`
287}
288
289func (m *DocumentDimensions) Reset()         { *m = DocumentDimensions{} }
290func (m *DocumentDimensions) String() string { return proto.CompactTextString(m) }
291func (*DocumentDimensions) ProtoMessage()    {}
292func (*DocumentDimensions) Descriptor() ([]byte, []int) {
293	return fileDescriptor_9aa6620a22bddfe1, []int{2}
294}
295
296func (m *DocumentDimensions) XXX_Unmarshal(b []byte) error {
297	return xxx_messageInfo_DocumentDimensions.Unmarshal(m, b)
298}
299func (m *DocumentDimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
300	return xxx_messageInfo_DocumentDimensions.Marshal(b, m, deterministic)
301}
302func (m *DocumentDimensions) XXX_Merge(src proto.Message) {
303	xxx_messageInfo_DocumentDimensions.Merge(m, src)
304}
305func (m *DocumentDimensions) XXX_Size() int {
306	return xxx_messageInfo_DocumentDimensions.Size(m)
307}
308func (m *DocumentDimensions) XXX_DiscardUnknown() {
309	xxx_messageInfo_DocumentDimensions.DiscardUnknown(m)
310}
311
312var xxx_messageInfo_DocumentDimensions proto.InternalMessageInfo
313
314func (m *DocumentDimensions) GetUnit() DocumentDimensions_DocumentDimensionUnit {
315	if m != nil {
316		return m.Unit
317	}
318	return DocumentDimensions_DOCUMENT_DIMENSION_UNIT_UNSPECIFIED
319}
320
321func (m *DocumentDimensions) GetWidth() float32 {
322	if m != nil {
323		return m.Width
324	}
325	return 0
326}
327
328func (m *DocumentDimensions) GetHeight() float32 {
329	if m != nil {
330		return m.Height
331	}
332	return 0
333}
334
335// A structured text document e.g. a PDF.
336type Document struct {
337	// An input config specifying the content of the document.
338	InputConfig *DocumentInputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
339	// The plain text version of this document.
340	DocumentText *TextSnippet `protobuf:"bytes,2,opt,name=document_text,json=documentText,proto3" json:"document_text,omitempty"`
341	// Describes the layout of the document.
342	// Sorted by [page_number][].
343	Layout []*Document_Layout `protobuf:"bytes,3,rep,name=layout,proto3" json:"layout,omitempty"`
344	// The dimensions of the page in the document.
345	DocumentDimensions *DocumentDimensions `protobuf:"bytes,4,opt,name=document_dimensions,json=documentDimensions,proto3" json:"document_dimensions,omitempty"`
346	// Number of pages in the document.
347	PageCount            int32    `protobuf:"varint,5,opt,name=page_count,json=pageCount,proto3" json:"page_count,omitempty"`
348	XXX_NoUnkeyedLiteral struct{} `json:"-"`
349	XXX_unrecognized     []byte   `json:"-"`
350	XXX_sizecache        int32    `json:"-"`
351}
352
353func (m *Document) Reset()         { *m = Document{} }
354func (m *Document) String() string { return proto.CompactTextString(m) }
355func (*Document) ProtoMessage()    {}
356func (*Document) Descriptor() ([]byte, []int) {
357	return fileDescriptor_9aa6620a22bddfe1, []int{3}
358}
359
360func (m *Document) XXX_Unmarshal(b []byte) error {
361	return xxx_messageInfo_Document.Unmarshal(m, b)
362}
363func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
364	return xxx_messageInfo_Document.Marshal(b, m, deterministic)
365}
366func (m *Document) XXX_Merge(src proto.Message) {
367	xxx_messageInfo_Document.Merge(m, src)
368}
369func (m *Document) XXX_Size() int {
370	return xxx_messageInfo_Document.Size(m)
371}
372func (m *Document) XXX_DiscardUnknown() {
373	xxx_messageInfo_Document.DiscardUnknown(m)
374}
375
376var xxx_messageInfo_Document proto.InternalMessageInfo
377
378func (m *Document) GetInputConfig() *DocumentInputConfig {
379	if m != nil {
380		return m.InputConfig
381	}
382	return nil
383}
384
385func (m *Document) GetDocumentText() *TextSnippet {
386	if m != nil {
387		return m.DocumentText
388	}
389	return nil
390}
391
392func (m *Document) GetLayout() []*Document_Layout {
393	if m != nil {
394		return m.Layout
395	}
396	return nil
397}
398
399func (m *Document) GetDocumentDimensions() *DocumentDimensions {
400	if m != nil {
401		return m.DocumentDimensions
402	}
403	return nil
404}
405
406func (m *Document) GetPageCount() int32 {
407	if m != nil {
408		return m.PageCount
409	}
410	return 0
411}
412
413// Describes the layout information of a
414// [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the
415// document.
416type Document_Layout struct {
417	// Text Segment that represents a segment in
418	// [document_text][google.cloud.automl.v1.Document.document_text].
419	TextSegment *TextSegment `protobuf:"bytes,1,opt,name=text_segment,json=textSegment,proto3" json:"text_segment,omitempty"`
420	// Page number of the
421	// [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
422	// the original document, starts from 1.
423	PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
424	// The position of the
425	// [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
426	// the page. Contains exactly 4
427	//
428	// [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
429	// and they are connected by edges in the order provided, which will
430	// represent a rectangle parallel to the frame. The
431	// [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
432	// relative to the page.
433	// Coordinates are based on top-left as point (0,0).
434	BoundingPoly *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
435	// The type of the
436	// [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
437	// document.
438	TextSegmentType      Document_Layout_TextSegmentType `protobuf:"varint,4,opt,name=text_segment_type,json=textSegmentType,proto3,enum=google.cloud.automl.v1.Document_Layout_TextSegmentType" json:"text_segment_type,omitempty"`
439	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
440	XXX_unrecognized     []byte                          `json:"-"`
441	XXX_sizecache        int32                           `json:"-"`
442}
443
444func (m *Document_Layout) Reset()         { *m = Document_Layout{} }
445func (m *Document_Layout) String() string { return proto.CompactTextString(m) }
446func (*Document_Layout) ProtoMessage()    {}
447func (*Document_Layout) Descriptor() ([]byte, []int) {
448	return fileDescriptor_9aa6620a22bddfe1, []int{3, 0}
449}
450
451func (m *Document_Layout) XXX_Unmarshal(b []byte) error {
452	return xxx_messageInfo_Document_Layout.Unmarshal(m, b)
453}
454func (m *Document_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
455	return xxx_messageInfo_Document_Layout.Marshal(b, m, deterministic)
456}
457func (m *Document_Layout) XXX_Merge(src proto.Message) {
458	xxx_messageInfo_Document_Layout.Merge(m, src)
459}
460func (m *Document_Layout) XXX_Size() int {
461	return xxx_messageInfo_Document_Layout.Size(m)
462}
463func (m *Document_Layout) XXX_DiscardUnknown() {
464	xxx_messageInfo_Document_Layout.DiscardUnknown(m)
465}
466
467var xxx_messageInfo_Document_Layout proto.InternalMessageInfo
468
469func (m *Document_Layout) GetTextSegment() *TextSegment {
470	if m != nil {
471		return m.TextSegment
472	}
473	return nil
474}
475
476func (m *Document_Layout) GetPageNumber() int32 {
477	if m != nil {
478		return m.PageNumber
479	}
480	return 0
481}
482
483func (m *Document_Layout) GetBoundingPoly() *BoundingPoly {
484	if m != nil {
485		return m.BoundingPoly
486	}
487	return nil
488}
489
490func (m *Document_Layout) GetTextSegmentType() Document_Layout_TextSegmentType {
491	if m != nil {
492		return m.TextSegmentType
493	}
494	return Document_Layout_TEXT_SEGMENT_TYPE_UNSPECIFIED
495}
496
497// Example data used for training or prediction.
498type ExamplePayload struct {
499	// Required. The example data.
500	//
501	// Types that are valid to be assigned to Payload:
502	//	*ExamplePayload_Image
503	//	*ExamplePayload_TextSnippet
504	//	*ExamplePayload_Document
505	Payload              isExamplePayload_Payload `protobuf_oneof:"payload"`
506	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
507	XXX_unrecognized     []byte                   `json:"-"`
508	XXX_sizecache        int32                    `json:"-"`
509}
510
511func (m *ExamplePayload) Reset()         { *m = ExamplePayload{} }
512func (m *ExamplePayload) String() string { return proto.CompactTextString(m) }
513func (*ExamplePayload) ProtoMessage()    {}
514func (*ExamplePayload) Descriptor() ([]byte, []int) {
515	return fileDescriptor_9aa6620a22bddfe1, []int{4}
516}
517
518func (m *ExamplePayload) XXX_Unmarshal(b []byte) error {
519	return xxx_messageInfo_ExamplePayload.Unmarshal(m, b)
520}
521func (m *ExamplePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
522	return xxx_messageInfo_ExamplePayload.Marshal(b, m, deterministic)
523}
524func (m *ExamplePayload) XXX_Merge(src proto.Message) {
525	xxx_messageInfo_ExamplePayload.Merge(m, src)
526}
527func (m *ExamplePayload) XXX_Size() int {
528	return xxx_messageInfo_ExamplePayload.Size(m)
529}
530func (m *ExamplePayload) XXX_DiscardUnknown() {
531	xxx_messageInfo_ExamplePayload.DiscardUnknown(m)
532}
533
534var xxx_messageInfo_ExamplePayload proto.InternalMessageInfo
535
536type isExamplePayload_Payload interface {
537	isExamplePayload_Payload()
538}
539
540type ExamplePayload_Image struct {
541	Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof"`
542}
543
544type ExamplePayload_TextSnippet struct {
545	TextSnippet *TextSnippet `protobuf:"bytes,2,opt,name=text_snippet,json=textSnippet,proto3,oneof"`
546}
547
548type ExamplePayload_Document struct {
549	Document *Document `protobuf:"bytes,4,opt,name=document,proto3,oneof"`
550}
551
552func (*ExamplePayload_Image) isExamplePayload_Payload() {}
553
554func (*ExamplePayload_TextSnippet) isExamplePayload_Payload() {}
555
556func (*ExamplePayload_Document) isExamplePayload_Payload() {}
557
558func (m *ExamplePayload) GetPayload() isExamplePayload_Payload {
559	if m != nil {
560		return m.Payload
561	}
562	return nil
563}
564
565func (m *ExamplePayload) GetImage() *Image {
566	if x, ok := m.GetPayload().(*ExamplePayload_Image); ok {
567		return x.Image
568	}
569	return nil
570}
571
572func (m *ExamplePayload) GetTextSnippet() *TextSnippet {
573	if x, ok := m.GetPayload().(*ExamplePayload_TextSnippet); ok {
574		return x.TextSnippet
575	}
576	return nil
577}
578
579func (m *ExamplePayload) GetDocument() *Document {
580	if x, ok := m.GetPayload().(*ExamplePayload_Document); ok {
581		return x.Document
582	}
583	return nil
584}
585
586// XXX_OneofWrappers is for the internal use of the proto package.
587func (*ExamplePayload) XXX_OneofWrappers() []interface{} {
588	return []interface{}{
589		(*ExamplePayload_Image)(nil),
590		(*ExamplePayload_TextSnippet)(nil),
591		(*ExamplePayload_Document)(nil),
592	}
593}
594
595func init() {
596	proto.RegisterEnum("google.cloud.automl.v1.DocumentDimensions_DocumentDimensionUnit", DocumentDimensions_DocumentDimensionUnit_name, DocumentDimensions_DocumentDimensionUnit_value)
597	proto.RegisterEnum("google.cloud.automl.v1.Document_Layout_TextSegmentType", Document_Layout_TextSegmentType_name, Document_Layout_TextSegmentType_value)
598	proto.RegisterType((*Image)(nil), "google.cloud.automl.v1.Image")
599	proto.RegisterType((*TextSnippet)(nil), "google.cloud.automl.v1.TextSnippet")
600	proto.RegisterType((*DocumentDimensions)(nil), "google.cloud.automl.v1.DocumentDimensions")
601	proto.RegisterType((*Document)(nil), "google.cloud.automl.v1.Document")
602	proto.RegisterType((*Document_Layout)(nil), "google.cloud.automl.v1.Document.Layout")
603	proto.RegisterType((*ExamplePayload)(nil), "google.cloud.automl.v1.ExamplePayload")
604}
605
606func init() {
607	proto.RegisterFile("google/cloud/automl/v1/data_items.proto", fileDescriptor_9aa6620a22bddfe1)
608}
609
610var fileDescriptor_9aa6620a22bddfe1 = []byte{
611	// 945 bytes of a gzipped FileDescriptorProto
612	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xeb, 0x6e, 0xe3, 0x44,
613	0x14, 0xae, 0xd3, 0x24, 0x6d, 0x8e, 0xd3, 0xd6, 0x4c, 0xa1, 0x64, 0xcb, 0x96, 0xed, 0xa6, 0xa0,
614	0x16, 0x90, 0x12, 0x35, 0x08, 0x21, 0x05, 0x04, 0xe4, 0xe2, 0x36, 0x16, 0x89, 0x13, 0x4d, 0x9d,
615	0x2e, 0x97, 0x4a, 0x96, 0x93, 0xcc, 0xba, 0x23, 0xd9, 0x33, 0x56, 0x32, 0x5e, 0x9a, 0x57, 0xda,
616	0x27, 0x41, 0xfc, 0xe2, 0x01, 0x78, 0x02, 0xc4, 0x3b, 0x80, 0x3c, 0x9e, 0xb4, 0xa1, 0xdd, 0xd0,
617	0xe5, 0x9f, 0xcf, 0x77, 0xbe, 0x73, 0x99, 0x73, 0xbe, 0x19, 0xc3, 0xb1, 0xcf, 0xb9, 0x1f, 0x90,
618	0xea, 0x38, 0xe0, 0xf1, 0xa4, 0xea, 0xc5, 0x82, 0x87, 0x41, 0xf5, 0xd5, 0x69, 0x75, 0xe2, 0x09,
619	0xcf, 0xa5, 0x82, 0x84, 0xb3, 0x4a, 0x34, 0xe5, 0x82, 0xa3, 0xbd, 0x94, 0x58, 0x91, 0xc4, 0x4a,
620	0x4a, 0xac, 0xbc, 0x3a, 0xdd, 0x7f, 0xaa, 0x12, 0x78, 0x11, 0xad, 0x7a, 0x8c, 0x71, 0xe1, 0x09,
621	0xca, 0x99, 0x8a, 0xda, 0xff, 0x78, 0x45, 0x7a, 0x9f, 0xf0, 0x90, 0x88, 0xe9, 0x5c, 0xd1, 0x9e,
622	0xad, 0xa0, 0x51, 0xae, 0x08, 0x9f, 0xac, 0x20, 0x08, 0x72, 0x23, 0xdc, 0x19, 0xf1, 0x43, 0xc2,
623	0x84, 0xa2, 0x3e, 0x51, 0x54, 0x69, 0x8d, 0xe2, 0x97, 0x55, 0x8f, 0x2d, 0xca, 0x7c, 0x78, 0xdf,
624	0x35, 0x89, 0xa7, 0xb2, 0x5d, 0xe5, 0x7f, 0x7a, 0xdf, 0x3f, 0x13, 0xd3, 0x78, 0xac, 0x12, 0x97,
625	0x5f, 0x40, 0xce, 0x0a, 0x3d, 0x9f, 0xa0, 0xe7, 0xa0, 0xd3, 0xe4, 0xc3, 0x1d, 0xcd, 0x05, 0x99,
626	0x95, 0xb4, 0x43, 0xed, 0xa4, 0xd8, 0x59, 0xc3, 0x20, 0xc1, 0x66, 0x82, 0xa1, 0x23, 0xd8, 0x12,
627	0xd7, 0x71, 0x38, 0x62, 0x1e, 0x0d, 0xdc, 0x78, 0x4a, 0x4b, 0xd9, 0x43, 0xed, 0xa4, 0x80, 0x8b,
628	0xb7, 0xe0, 0x70, 0x4a, 0x9b, 0x79, 0xc8, 0x26, 0x63, 0x2e, 0x13, 0xd0, 0x1d, 0x72, 0x23, 0x2e,
629	0x18, 0x8d, 0x22, 0x22, 0x50, 0x09, 0x36, 0xc6, 0x9c, 0x09, 0xc2, 0x84, 0x4c, 0x5d, 0xc0, 0x0b,
630	0x13, 0x7d, 0x00, 0x85, 0x90, 0x86, 0xc4, 0x15, 0xf3, 0x88, 0x94, 0x32, 0xd2, 0xb7, 0x99, 0x00,
631	0xce, 0x3c, 0x22, 0xe8, 0x19, 0xe8, 0x8a, 0xb7, 0x54, 0x10, 0x14, 0x34, 0x9c, 0xd2, 0xf2, 0xdf,
632	0x1a, 0xa0, 0x36, 0x1f, 0xc7, 0xc9, 0xac, 0xda, 0x34, 0x24, 0x6c, 0x96, 0x2c, 0x0a, 0x39, 0x90,
633	0x8d, 0x19, 0x4d, 0x6b, 0x6d, 0xd7, 0xbe, 0xab, 0xbc, 0x79, 0xcf, 0x95, 0x87, 0x91, 0x0f, 0xa1,
634	0x21, 0xa3, 0x02, 0xcb, 0x6c, 0xe8, 0x5d, 0xc8, 0xfd, 0x42, 0x27, 0xe2, 0x5a, 0xb6, 0x99, 0xc1,
635	0xa9, 0x81, 0xf6, 0x20, 0x7f, 0x4d, 0xa8, 0x7f, 0x2d, 0x4a, 0xeb, 0x12, 0x56, 0x56, 0x99, 0xc0,
636	0x7b, 0x6f, 0x4c, 0x86, 0x8e, 0xe1, 0xa8, 0xdd, 0x6f, 0x0d, 0x7b, 0xa6, 0xed, 0xb8, 0x6d, 0xab,
637	0x67, 0xda, 0x17, 0x56, 0xdf, 0x76, 0x87, 0xb6, 0xe5, 0xb8, 0x43, 0xfb, 0x62, 0x60, 0xb6, 0xac,
638	0x33, 0xcb, 0x6c, 0x1b, 0x6b, 0x68, 0x13, 0xb2, 0x96, 0xdd, 0xea, 0x18, 0x1a, 0xda, 0x06, 0x68,
639	0x99, 0xb6, 0x63, 0xf5, 0x4c, 0xc7, 0xc4, 0x46, 0x06, 0x15, 0x20, 0x37, 0xe8, 0x5b, 0xb6, 0x63,
640	0xac, 0x97, 0x7f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