1// Copyright 2017 Google Inc.
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/vision/v1p1beta1/text_annotation.proto
20
21package vision
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	_ "google.golang.org/genproto/googleapis/api/annotations"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31)
32
33const (
34	// Verify that this generated code is sufficiently up-to-date.
35	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36	// Verify that runtime/protoimpl is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38)
39
40// This is a compile-time assertion that a sufficiently up-to-date version
41// of the legacy proto package is being used.
42const _ = proto.ProtoPackageIsVersion4
43
44// Enum to denote the type of break found. New line, space etc.
45type TextAnnotation_DetectedBreak_BreakType int32
46
47const (
48	// Unknown break label type.
49	TextAnnotation_DetectedBreak_UNKNOWN TextAnnotation_DetectedBreak_BreakType = 0
50	// Regular space.
51	TextAnnotation_DetectedBreak_SPACE TextAnnotation_DetectedBreak_BreakType = 1
52	// Sure space (very wide).
53	TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 2
54	// Line-wrapping break.
55	TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 3
56	// End-line hyphen that is not present in text; does not co-occur with
57	// `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.
58	TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_BreakType = 4
59	// Line break that ends a paragraph.
60	TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_BreakType = 5
61)
62
63// Enum value maps for TextAnnotation_DetectedBreak_BreakType.
64var (
65	TextAnnotation_DetectedBreak_BreakType_name = map[int32]string{
66		0: "UNKNOWN",
67		1: "SPACE",
68		2: "SURE_SPACE",
69		3: "EOL_SURE_SPACE",
70		4: "HYPHEN",
71		5: "LINE_BREAK",
72	}
73	TextAnnotation_DetectedBreak_BreakType_value = map[string]int32{
74		"UNKNOWN":        0,
75		"SPACE":          1,
76		"SURE_SPACE":     2,
77		"EOL_SURE_SPACE": 3,
78		"HYPHEN":         4,
79		"LINE_BREAK":     5,
80	}
81)
82
83func (x TextAnnotation_DetectedBreak_BreakType) Enum() *TextAnnotation_DetectedBreak_BreakType {
84	p := new(TextAnnotation_DetectedBreak_BreakType)
85	*p = x
86	return p
87}
88
89func (x TextAnnotation_DetectedBreak_BreakType) String() string {
90	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
91}
92
93func (TextAnnotation_DetectedBreak_BreakType) Descriptor() protoreflect.EnumDescriptor {
94	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_enumTypes[0].Descriptor()
95}
96
97func (TextAnnotation_DetectedBreak_BreakType) Type() protoreflect.EnumType {
98	return &file_google_cloud_vision_v1p1beta1_text_annotation_proto_enumTypes[0]
99}
100
101func (x TextAnnotation_DetectedBreak_BreakType) Number() protoreflect.EnumNumber {
102	return protoreflect.EnumNumber(x)
103}
104
105// Deprecated: Use TextAnnotation_DetectedBreak_BreakType.Descriptor instead.
106func (TextAnnotation_DetectedBreak_BreakType) EnumDescriptor() ([]byte, []int) {
107	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{0, 1, 0}
108}
109
110// Type of a block (text, image etc) as identified by OCR.
111type Block_BlockType int32
112
113const (
114	// Unknown block type.
115	Block_UNKNOWN Block_BlockType = 0
116	// Regular text block.
117	Block_TEXT Block_BlockType = 1
118	// Table block.
119	Block_TABLE Block_BlockType = 2
120	// Image block.
121	Block_PICTURE Block_BlockType = 3
122	// Horizontal/vertical line box.
123	Block_RULER Block_BlockType = 4
124	// Barcode block.
125	Block_BARCODE Block_BlockType = 5
126)
127
128// Enum value maps for Block_BlockType.
129var (
130	Block_BlockType_name = map[int32]string{
131		0: "UNKNOWN",
132		1: "TEXT",
133		2: "TABLE",
134		3: "PICTURE",
135		4: "RULER",
136		5: "BARCODE",
137	}
138	Block_BlockType_value = map[string]int32{
139		"UNKNOWN": 0,
140		"TEXT":    1,
141		"TABLE":   2,
142		"PICTURE": 3,
143		"RULER":   4,
144		"BARCODE": 5,
145	}
146)
147
148func (x Block_BlockType) Enum() *Block_BlockType {
149	p := new(Block_BlockType)
150	*p = x
151	return p
152}
153
154func (x Block_BlockType) String() string {
155	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
156}
157
158func (Block_BlockType) Descriptor() protoreflect.EnumDescriptor {
159	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_enumTypes[1].Descriptor()
160}
161
162func (Block_BlockType) Type() protoreflect.EnumType {
163	return &file_google_cloud_vision_v1p1beta1_text_annotation_proto_enumTypes[1]
164}
165
166func (x Block_BlockType) Number() protoreflect.EnumNumber {
167	return protoreflect.EnumNumber(x)
168}
169
170// Deprecated: Use Block_BlockType.Descriptor instead.
171func (Block_BlockType) EnumDescriptor() ([]byte, []int) {
172	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{2, 0}
173}
174
175// TextAnnotation contains a structured representation of OCR extracted text.
176// The hierarchy of an OCR extracted text structure is like this:
177//     TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol
178// Each structural component, starting from Page, may further have their own
179// properties. Properties describe detected languages, breaks etc.. Please refer
180// to the
181// [TextAnnotation.TextProperty][google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty]
182// message definition below for more detail.
183type TextAnnotation struct {
184	state         protoimpl.MessageState
185	sizeCache     protoimpl.SizeCache
186	unknownFields protoimpl.UnknownFields
187
188	// List of pages detected by OCR.
189	Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"`
190	// UTF-8 text detected on the pages.
191	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
192}
193
194func (x *TextAnnotation) Reset() {
195	*x = TextAnnotation{}
196	if protoimpl.UnsafeEnabled {
197		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[0]
198		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
199		ms.StoreMessageInfo(mi)
200	}
201}
202
203func (x *TextAnnotation) String() string {
204	return protoimpl.X.MessageStringOf(x)
205}
206
207func (*TextAnnotation) ProtoMessage() {}
208
209func (x *TextAnnotation) ProtoReflect() protoreflect.Message {
210	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[0]
211	if protoimpl.UnsafeEnabled && x != nil {
212		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
213		if ms.LoadMessageInfo() == nil {
214			ms.StoreMessageInfo(mi)
215		}
216		return ms
217	}
218	return mi.MessageOf(x)
219}
220
221// Deprecated: Use TextAnnotation.ProtoReflect.Descriptor instead.
222func (*TextAnnotation) Descriptor() ([]byte, []int) {
223	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{0}
224}
225
226func (x *TextAnnotation) GetPages() []*Page {
227	if x != nil {
228		return x.Pages
229	}
230	return nil
231}
232
233func (x *TextAnnotation) GetText() string {
234	if x != nil {
235		return x.Text
236	}
237	return ""
238}
239
240// Detected page from OCR.
241type Page struct {
242	state         protoimpl.MessageState
243	sizeCache     protoimpl.SizeCache
244	unknownFields protoimpl.UnknownFields
245
246	// Additional information detected on the page.
247	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
248	// Page width in pixels.
249	Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
250	// Page height in pixels.
251	Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
252	// List of blocks of text, images etc on this page.
253	Blocks []*Block `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"`
254	// Confidence of the OCR results on the page. Range [0, 1].
255	Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
256}
257
258func (x *Page) Reset() {
259	*x = Page{}
260	if protoimpl.UnsafeEnabled {
261		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[1]
262		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
263		ms.StoreMessageInfo(mi)
264	}
265}
266
267func (x *Page) String() string {
268	return protoimpl.X.MessageStringOf(x)
269}
270
271func (*Page) ProtoMessage() {}
272
273func (x *Page) ProtoReflect() protoreflect.Message {
274	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[1]
275	if protoimpl.UnsafeEnabled && x != nil {
276		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277		if ms.LoadMessageInfo() == nil {
278			ms.StoreMessageInfo(mi)
279		}
280		return ms
281	}
282	return mi.MessageOf(x)
283}
284
285// Deprecated: Use Page.ProtoReflect.Descriptor instead.
286func (*Page) Descriptor() ([]byte, []int) {
287	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{1}
288}
289
290func (x *Page) GetProperty() *TextAnnotation_TextProperty {
291	if x != nil {
292		return x.Property
293	}
294	return nil
295}
296
297func (x *Page) GetWidth() int32 {
298	if x != nil {
299		return x.Width
300	}
301	return 0
302}
303
304func (x *Page) GetHeight() int32 {
305	if x != nil {
306		return x.Height
307	}
308	return 0
309}
310
311func (x *Page) GetBlocks() []*Block {
312	if x != nil {
313		return x.Blocks
314	}
315	return nil
316}
317
318func (x *Page) GetConfidence() float32 {
319	if x != nil {
320		return x.Confidence
321	}
322	return 0
323}
324
325// Logical element on the page.
326type Block struct {
327	state         protoimpl.MessageState
328	sizeCache     protoimpl.SizeCache
329	unknownFields protoimpl.UnknownFields
330
331	// Additional information detected for the block.
332	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
333	// The bounding box for the block.
334	// The vertices are in the order of top-left, top-right, bottom-right,
335	// bottom-left. When a rotation of the bounding box is detected the rotation
336	// is represented as around the top-left corner as defined when the text is
337	// read in the 'natural' orientation.
338	// For example:
339	//   * when the text is horizontal it might look like:
340	//      0----1
341	//      |    |
342	//      3----2
343	//   * when it's rotated 180 degrees around the top-left corner it becomes:
344	//      2----3
345	//      |    |
346	//      1----0
347	//   and the vertice order will still be (0, 1, 2, 3).
348	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
349	// List of paragraphs in this block (if this blocks is of type text).
350	Paragraphs []*Paragraph `protobuf:"bytes,3,rep,name=paragraphs,proto3" json:"paragraphs,omitempty"`
351	// Detected block type (text, image etc) for this block.
352	BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,proto3,enum=google.cloud.vision.v1p1beta1.Block_BlockType" json:"block_type,omitempty"`
353	// Confidence of the OCR results on the block. Range [0, 1].
354	Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
355}
356
357func (x *Block) Reset() {
358	*x = Block{}
359	if protoimpl.UnsafeEnabled {
360		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[2]
361		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362		ms.StoreMessageInfo(mi)
363	}
364}
365
366func (x *Block) String() string {
367	return protoimpl.X.MessageStringOf(x)
368}
369
370func (*Block) ProtoMessage() {}
371
372func (x *Block) ProtoReflect() protoreflect.Message {
373	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[2]
374	if protoimpl.UnsafeEnabled && x != nil {
375		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
376		if ms.LoadMessageInfo() == nil {
377			ms.StoreMessageInfo(mi)
378		}
379		return ms
380	}
381	return mi.MessageOf(x)
382}
383
384// Deprecated: Use Block.ProtoReflect.Descriptor instead.
385func (*Block) Descriptor() ([]byte, []int) {
386	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{2}
387}
388
389func (x *Block) GetProperty() *TextAnnotation_TextProperty {
390	if x != nil {
391		return x.Property
392	}
393	return nil
394}
395
396func (x *Block) GetBoundingBox() *BoundingPoly {
397	if x != nil {
398		return x.BoundingBox
399	}
400	return nil
401}
402
403func (x *Block) GetParagraphs() []*Paragraph {
404	if x != nil {
405		return x.Paragraphs
406	}
407	return nil
408}
409
410func (x *Block) GetBlockType() Block_BlockType {
411	if x != nil {
412		return x.BlockType
413	}
414	return Block_UNKNOWN
415}
416
417func (x *Block) GetConfidence() float32 {
418	if x != nil {
419		return x.Confidence
420	}
421	return 0
422}
423
424// Structural unit of text representing a number of words in certain order.
425type Paragraph struct {
426	state         protoimpl.MessageState
427	sizeCache     protoimpl.SizeCache
428	unknownFields protoimpl.UnknownFields
429
430	// Additional information detected for the paragraph.
431	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
432	// The bounding box for the paragraph.
433	// The vertices are in the order of top-left, top-right, bottom-right,
434	// bottom-left. When a rotation of the bounding box is detected the rotation
435	// is represented as around the top-left corner as defined when the text is
436	// read in the 'natural' orientation.
437	// For example:
438	//   * when the text is horizontal it might look like:
439	//      0----1
440	//      |    |
441	//      3----2
442	//   * when it's rotated 180 degrees around the top-left corner it becomes:
443	//      2----3
444	//      |    |
445	//      1----0
446	//   and the vertice order will still be (0, 1, 2, 3).
447	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
448	// List of words in this paragraph.
449	Words []*Word `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"`
450	// Confidence of the OCR results for the paragraph. Range [0, 1].
451	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
452}
453
454func (x *Paragraph) Reset() {
455	*x = Paragraph{}
456	if protoimpl.UnsafeEnabled {
457		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[3]
458		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
459		ms.StoreMessageInfo(mi)
460	}
461}
462
463func (x *Paragraph) String() string {
464	return protoimpl.X.MessageStringOf(x)
465}
466
467func (*Paragraph) ProtoMessage() {}
468
469func (x *Paragraph) ProtoReflect() protoreflect.Message {
470	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[3]
471	if protoimpl.UnsafeEnabled && x != nil {
472		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
473		if ms.LoadMessageInfo() == nil {
474			ms.StoreMessageInfo(mi)
475		}
476		return ms
477	}
478	return mi.MessageOf(x)
479}
480
481// Deprecated: Use Paragraph.ProtoReflect.Descriptor instead.
482func (*Paragraph) Descriptor() ([]byte, []int) {
483	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{3}
484}
485
486func (x *Paragraph) GetProperty() *TextAnnotation_TextProperty {
487	if x != nil {
488		return x.Property
489	}
490	return nil
491}
492
493func (x *Paragraph) GetBoundingBox() *BoundingPoly {
494	if x != nil {
495		return x.BoundingBox
496	}
497	return nil
498}
499
500func (x *Paragraph) GetWords() []*Word {
501	if x != nil {
502		return x.Words
503	}
504	return nil
505}
506
507func (x *Paragraph) GetConfidence() float32 {
508	if x != nil {
509		return x.Confidence
510	}
511	return 0
512}
513
514// A word representation.
515type Word struct {
516	state         protoimpl.MessageState
517	sizeCache     protoimpl.SizeCache
518	unknownFields protoimpl.UnknownFields
519
520	// Additional information detected for the word.
521	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
522	// The bounding box for the word.
523	// The vertices are in the order of top-left, top-right, bottom-right,
524	// bottom-left. When a rotation of the bounding box is detected the rotation
525	// is represented as around the top-left corner as defined when the text is
526	// read in the 'natural' orientation.
527	// For example:
528	//   * when the text is horizontal it might look like:
529	//      0----1
530	//      |    |
531	//      3----2
532	//   * when it's rotated 180 degrees around the top-left corner it becomes:
533	//      2----3
534	//      |    |
535	//      1----0
536	//   and the vertice order will still be (0, 1, 2, 3).
537	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
538	// List of symbols in the word.
539	// The order of the symbols follows the natural reading order.
540	Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"`
541	// Confidence of the OCR results for the word. Range [0, 1].
542	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
543}
544
545func (x *Word) Reset() {
546	*x = Word{}
547	if protoimpl.UnsafeEnabled {
548		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[4]
549		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
550		ms.StoreMessageInfo(mi)
551	}
552}
553
554func (x *Word) String() string {
555	return protoimpl.X.MessageStringOf(x)
556}
557
558func (*Word) ProtoMessage() {}
559
560func (x *Word) ProtoReflect() protoreflect.Message {
561	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[4]
562	if protoimpl.UnsafeEnabled && x != nil {
563		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
564		if ms.LoadMessageInfo() == nil {
565			ms.StoreMessageInfo(mi)
566		}
567		return ms
568	}
569	return mi.MessageOf(x)
570}
571
572// Deprecated: Use Word.ProtoReflect.Descriptor instead.
573func (*Word) Descriptor() ([]byte, []int) {
574	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{4}
575}
576
577func (x *Word) GetProperty() *TextAnnotation_TextProperty {
578	if x != nil {
579		return x.Property
580	}
581	return nil
582}
583
584func (x *Word) GetBoundingBox() *BoundingPoly {
585	if x != nil {
586		return x.BoundingBox
587	}
588	return nil
589}
590
591func (x *Word) GetSymbols() []*Symbol {
592	if x != nil {
593		return x.Symbols
594	}
595	return nil
596}
597
598func (x *Word) GetConfidence() float32 {
599	if x != nil {
600		return x.Confidence
601	}
602	return 0
603}
604
605// A single symbol representation.
606type Symbol struct {
607	state         protoimpl.MessageState
608	sizeCache     protoimpl.SizeCache
609	unknownFields protoimpl.UnknownFields
610
611	// Additional information detected for the symbol.
612	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
613	// The bounding box for the symbol.
614	// The vertices are in the order of top-left, top-right, bottom-right,
615	// bottom-left. When a rotation of the bounding box is detected the rotation
616	// is represented as around the top-left corner as defined when the text is
617	// read in the 'natural' orientation.
618	// For example:
619	//   * when the text is horizontal it might look like:
620	//      0----1
621	//      |    |
622	//      3----2
623	//   * when it's rotated 180 degrees around the top-left corner it becomes:
624	//      2----3
625	//      |    |
626	//      1----0
627	//   and the vertice order will still be (0, 1, 2, 3).
628	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
629	// The actual UTF-8 representation of the symbol.
630	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
631	// Confidence of the OCR results for the symbol. Range [0, 1].
632	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
633}
634
635func (x *Symbol) Reset() {
636	*x = Symbol{}
637	if protoimpl.UnsafeEnabled {
638		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[5]
639		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
640		ms.StoreMessageInfo(mi)
641	}
642}
643
644func (x *Symbol) String() string {
645	return protoimpl.X.MessageStringOf(x)
646}
647
648func (*Symbol) ProtoMessage() {}
649
650func (x *Symbol) ProtoReflect() protoreflect.Message {
651	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[5]
652	if protoimpl.UnsafeEnabled && x != nil {
653		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
654		if ms.LoadMessageInfo() == nil {
655			ms.StoreMessageInfo(mi)
656		}
657		return ms
658	}
659	return mi.MessageOf(x)
660}
661
662// Deprecated: Use Symbol.ProtoReflect.Descriptor instead.
663func (*Symbol) Descriptor() ([]byte, []int) {
664	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{5}
665}
666
667func (x *Symbol) GetProperty() *TextAnnotation_TextProperty {
668	if x != nil {
669		return x.Property
670	}
671	return nil
672}
673
674func (x *Symbol) GetBoundingBox() *BoundingPoly {
675	if x != nil {
676		return x.BoundingBox
677	}
678	return nil
679}
680
681func (x *Symbol) GetText() string {
682	if x != nil {
683		return x.Text
684	}
685	return ""
686}
687
688func (x *Symbol) GetConfidence() float32 {
689	if x != nil {
690		return x.Confidence
691	}
692	return 0
693}
694
695// Detected language for a structural component.
696type TextAnnotation_DetectedLanguage struct {
697	state         protoimpl.MessageState
698	sizeCache     protoimpl.SizeCache
699	unknownFields protoimpl.UnknownFields
700
701	// The BCP-47 language code, such as "en-US" or "sr-Latn". For more
702	// information, see
703	// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
704	LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
705	// Confidence of detected language. Range [0, 1].
706	Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
707}
708
709func (x *TextAnnotation_DetectedLanguage) Reset() {
710	*x = TextAnnotation_DetectedLanguage{}
711	if protoimpl.UnsafeEnabled {
712		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[6]
713		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
714		ms.StoreMessageInfo(mi)
715	}
716}
717
718func (x *TextAnnotation_DetectedLanguage) String() string {
719	return protoimpl.X.MessageStringOf(x)
720}
721
722func (*TextAnnotation_DetectedLanguage) ProtoMessage() {}
723
724func (x *TextAnnotation_DetectedLanguage) ProtoReflect() protoreflect.Message {
725	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[6]
726	if protoimpl.UnsafeEnabled && x != nil {
727		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
728		if ms.LoadMessageInfo() == nil {
729			ms.StoreMessageInfo(mi)
730		}
731		return ms
732	}
733	return mi.MessageOf(x)
734}
735
736// Deprecated: Use TextAnnotation_DetectedLanguage.ProtoReflect.Descriptor instead.
737func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) {
738	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{0, 0}
739}
740
741func (x *TextAnnotation_DetectedLanguage) GetLanguageCode() string {
742	if x != nil {
743		return x.LanguageCode
744	}
745	return ""
746}
747
748func (x *TextAnnotation_DetectedLanguage) GetConfidence() float32 {
749	if x != nil {
750		return x.Confidence
751	}
752	return 0
753}
754
755// Detected start or end of a structural component.
756type TextAnnotation_DetectedBreak struct {
757	state         protoimpl.MessageState
758	sizeCache     protoimpl.SizeCache
759	unknownFields protoimpl.UnknownFields
760
761	// Detected break type.
762	Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p1beta1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"`
763	// True if break prepends the element.
764	IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"`
765}
766
767func (x *TextAnnotation_DetectedBreak) Reset() {
768	*x = TextAnnotation_DetectedBreak{}
769	if protoimpl.UnsafeEnabled {
770		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[7]
771		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
772		ms.StoreMessageInfo(mi)
773	}
774}
775
776func (x *TextAnnotation_DetectedBreak) String() string {
777	return protoimpl.X.MessageStringOf(x)
778}
779
780func (*TextAnnotation_DetectedBreak) ProtoMessage() {}
781
782func (x *TextAnnotation_DetectedBreak) ProtoReflect() protoreflect.Message {
783	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[7]
784	if protoimpl.UnsafeEnabled && x != nil {
785		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
786		if ms.LoadMessageInfo() == nil {
787			ms.StoreMessageInfo(mi)
788		}
789		return ms
790	}
791	return mi.MessageOf(x)
792}
793
794// Deprecated: Use TextAnnotation_DetectedBreak.ProtoReflect.Descriptor instead.
795func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) {
796	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{0, 1}
797}
798
799func (x *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType {
800	if x != nil {
801		return x.Type
802	}
803	return TextAnnotation_DetectedBreak_UNKNOWN
804}
805
806func (x *TextAnnotation_DetectedBreak) GetIsPrefix() bool {
807	if x != nil {
808		return x.IsPrefix
809	}
810	return false
811}
812
813// Additional information detected on the structural component.
814type TextAnnotation_TextProperty struct {
815	state         protoimpl.MessageState
816	sizeCache     protoimpl.SizeCache
817	unknownFields protoimpl.UnknownFields
818
819	// A list of detected languages together with confidence.
820	DetectedLanguages []*TextAnnotation_DetectedLanguage `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"`
821	// Detected start or end of a text segment.
822	DetectedBreak *TextAnnotation_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"`
823}
824
825func (x *TextAnnotation_TextProperty) Reset() {
826	*x = TextAnnotation_TextProperty{}
827	if protoimpl.UnsafeEnabled {
828		mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[8]
829		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
830		ms.StoreMessageInfo(mi)
831	}
832}
833
834func (x *TextAnnotation_TextProperty) String() string {
835	return protoimpl.X.MessageStringOf(x)
836}
837
838func (*TextAnnotation_TextProperty) ProtoMessage() {}
839
840func (x *TextAnnotation_TextProperty) ProtoReflect() protoreflect.Message {
841	mi := &file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[8]
842	if protoimpl.UnsafeEnabled && x != nil {
843		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
844		if ms.LoadMessageInfo() == nil {
845			ms.StoreMessageInfo(mi)
846		}
847		return ms
848	}
849	return mi.MessageOf(x)
850}
851
852// Deprecated: Use TextAnnotation_TextProperty.ProtoReflect.Descriptor instead.
853func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) {
854	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP(), []int{0, 2}
855}
856
857func (x *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage {
858	if x != nil {
859		return x.DetectedLanguages
860	}
861	return nil
862}
863
864func (x *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak {
865	if x != nil {
866		return x.DetectedBreak
867	}
868	return nil
869}
870
871var File_google_cloud_vision_v1p1beta1_text_annotation_proto protoreflect.FileDescriptor
872
873var file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDesc = []byte{
874	0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
875	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
876	0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
877	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
878	0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62,
879	0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
880	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
881	0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
882	0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
883	0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
884	0x22, 0x8b, 0x05, 0x0a, 0x0e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
885	0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
886	0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
887	0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74,
888	0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x12, 0x12,
889	0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65,
890	0x78, 0x74, 0x1a, 0x57, 0x0a, 0x10, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61,
891	0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
892	0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c,
893	0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
894	0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52,
895	0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0xec, 0x01, 0x0a, 0x0d,
896	0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x59, 0x0a,
897	0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f,
898	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
899	0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74,
900	0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63,
901	0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x2e, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x54, 0x79,
902	0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x70,
903	0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50,
904	0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x63, 0x0a, 0x09, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x54, 0x79,
905	0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
906	0x09, 0x0a, 0x05, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55,
907	0x52, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x4f,
908	0x4c, 0x5f, 0x53, 0x55, 0x52, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x03, 0x12, 0x0a,
909	0x0a, 0x06, 0x48, 0x59, 0x50, 0x48, 0x45, 0x4e, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49,
910	0x4e, 0x45, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x10, 0x05, 0x1a, 0xe1, 0x01, 0x0a, 0x0c, 0x54,
911	0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x6d, 0x0a, 0x12, 0x64,
912	0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
913	0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
914	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
915	0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f,
916	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c,
917	0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65,
918	0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x0e, 0x64, 0x65,
919	0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01,
920	0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
921	0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74,
922	0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
923	0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x52,
924	0x0d, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x22, 0xea,
925	0x01, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65,
926	0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
927	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
928	0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e,
929	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f,
930	0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12,
931	0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
932	0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
933	0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3c, 0x0a,
934	0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
935	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
936	0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6c,
937	0x6f, 0x63, 0x6b, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
938	0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52,
939	0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xbc, 0x03, 0x0a, 0x05,
940	0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
941	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
942	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
943	0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f,
944	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65,
945	0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x4e, 0x0a,
946	0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x18, 0x02, 0x20,
947	0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
948	0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65,
949	0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79,
950	0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x12, 0x48, 0x0a,
951	0x0a, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
952	0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
953	0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
954	0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x0a, 0x70, 0x61, 0x72,
955	0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
956	0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f,
957	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
958	0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63,
959	0x6b, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x62, 0x6c, 0x6f,
960	0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64,
961	0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66,
962	0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x52, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54,
963	0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
964	0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x41,
965	0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45,
966	0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x55, 0x4c, 0x45, 0x52, 0x10, 0x04, 0x12, 0x0b, 0x0a,
967	0x07, 0x42, 0x41, 0x52, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x05, 0x22, 0x8e, 0x02, 0x0a, 0x09, 0x50,
968	0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70,
969	0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f,
970	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
971	0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41,
972	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72,
973	0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
974	0x12, 0x4e, 0x0a, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78,
975	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
976	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
977	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
978	0x6f, 0x6c, 0x79, 0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78,
979	0x12, 0x39, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
980	0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
981	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
982	0x57, 0x6f, 0x72, 0x64, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
983	0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52,
984	0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x04,
985	0x57, 0x6f, 0x72, 0x64, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
986	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
987	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
988	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
989	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72,
990	0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x0c,
991	0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x18, 0x02, 0x20, 0x01,
992	0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
993	0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74,
994	0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52,
995	0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x12, 0x3f, 0x0a, 0x07,
996	0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
997	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
998	0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x79,
999	0x6d, 0x62, 0x6f, 0x6c, 0x52, 0x07, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x12, 0x1e, 0x0a,
1000	0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
1001	0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xe4, 0x01,
1002	0x0a, 0x06, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70,
1003	0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f,
1004	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
1005	0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41,
1006	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72,
1007	0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
1008	0x12, 0x4e, 0x0a, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78,
1009	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1010	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
1011	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
1012	0x6f, 0x6c, 0x79, 0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78,
1013	0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
1014	0x74, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e,
1015	0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64,
1016	0x65, 0x6e, 0x63, 0x65, 0x42, 0x82, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
1017	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
1018	0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x54, 0x65, 0x78, 0x74,
1019	0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
1020	0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
1021	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
1022	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
1023	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b,
1024	0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1025	0x33,
1026}
1027
1028var (
1029	file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescOnce sync.Once
1030	file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescData = file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDesc
1031)
1032
1033func file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescGZIP() []byte {
1034	file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescOnce.Do(func() {
1035		file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescData)
1036	})
1037	return file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDescData
1038}
1039
1040var file_google_cloud_vision_v1p1beta1_text_annotation_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1041var file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
1042var file_google_cloud_vision_v1p1beta1_text_annotation_proto_goTypes = []interface{}{
1043	(TextAnnotation_DetectedBreak_BreakType)(0), // 0: google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakType
1044	(Block_BlockType)(0),                        // 1: google.cloud.vision.v1p1beta1.Block.BlockType
1045	(*TextAnnotation)(nil),                      // 2: google.cloud.vision.v1p1beta1.TextAnnotation
1046	(*Page)(nil),                                // 3: google.cloud.vision.v1p1beta1.Page
1047	(*Block)(nil),                               // 4: google.cloud.vision.v1p1beta1.Block
1048	(*Paragraph)(nil),                           // 5: google.cloud.vision.v1p1beta1.Paragraph
1049	(*Word)(nil),                                // 6: google.cloud.vision.v1p1beta1.Word
1050	(*Symbol)(nil),                              // 7: google.cloud.vision.v1p1beta1.Symbol
1051	(*TextAnnotation_DetectedLanguage)(nil),     // 8: google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage
1052	(*TextAnnotation_DetectedBreak)(nil),        // 9: google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak
1053	(*TextAnnotation_TextProperty)(nil),         // 10: google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty
1054	(*BoundingPoly)(nil),                        // 11: google.cloud.vision.v1p1beta1.BoundingPoly
1055}
1056var file_google_cloud_vision_v1p1beta1_text_annotation_proto_depIdxs = []int32{
1057	3,  // 0: google.cloud.vision.v1p1beta1.TextAnnotation.pages:type_name -> google.cloud.vision.v1p1beta1.Page
1058	10, // 1: google.cloud.vision.v1p1beta1.Page.property:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty
1059	4,  // 2: google.cloud.vision.v1p1beta1.Page.blocks:type_name -> google.cloud.vision.v1p1beta1.Block
1060	10, // 3: google.cloud.vision.v1p1beta1.Block.property:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty
1061	11, // 4: google.cloud.vision.v1p1beta1.Block.bounding_box:type_name -> google.cloud.vision.v1p1beta1.BoundingPoly
1062	5,  // 5: google.cloud.vision.v1p1beta1.Block.paragraphs:type_name -> google.cloud.vision.v1p1beta1.Paragraph
1063	1,  // 6: google.cloud.vision.v1p1beta1.Block.block_type:type_name -> google.cloud.vision.v1p1beta1.Block.BlockType
1064	10, // 7: google.cloud.vision.v1p1beta1.Paragraph.property:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty
1065	11, // 8: google.cloud.vision.v1p1beta1.Paragraph.bounding_box:type_name -> google.cloud.vision.v1p1beta1.BoundingPoly
1066	6,  // 9: google.cloud.vision.v1p1beta1.Paragraph.words:type_name -> google.cloud.vision.v1p1beta1.Word
1067	10, // 10: google.cloud.vision.v1p1beta1.Word.property:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty
1068	11, // 11: google.cloud.vision.v1p1beta1.Word.bounding_box:type_name -> google.cloud.vision.v1p1beta1.BoundingPoly
1069	7,  // 12: google.cloud.vision.v1p1beta1.Word.symbols:type_name -> google.cloud.vision.v1p1beta1.Symbol
1070	10, // 13: google.cloud.vision.v1p1beta1.Symbol.property:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty
1071	11, // 14: google.cloud.vision.v1p1beta1.Symbol.bounding_box:type_name -> google.cloud.vision.v1p1beta1.BoundingPoly
1072	0,  // 15: google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.type:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakType
1073	8,  // 16: google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.detected_languages:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage
1074	9,  // 17: google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.detected_break:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak
1075	18, // [18:18] is the sub-list for method output_type
1076	18, // [18:18] is the sub-list for method input_type
1077	18, // [18:18] is the sub-list for extension type_name
1078	18, // [18:18] is the sub-list for extension extendee
1079	0,  // [0:18] is the sub-list for field type_name
1080}
1081
1082func init() { file_google_cloud_vision_v1p1beta1_text_annotation_proto_init() }
1083func file_google_cloud_vision_v1p1beta1_text_annotation_proto_init() {
1084	if File_google_cloud_vision_v1p1beta1_text_annotation_proto != nil {
1085		return
1086	}
1087	file_google_cloud_vision_v1p1beta1_geometry_proto_init()
1088	if !protoimpl.UnsafeEnabled {
1089		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1090			switch v := v.(*TextAnnotation); i {
1091			case 0:
1092				return &v.state
1093			case 1:
1094				return &v.sizeCache
1095			case 2:
1096				return &v.unknownFields
1097			default:
1098				return nil
1099			}
1100		}
1101		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1102			switch v := v.(*Page); i {
1103			case 0:
1104				return &v.state
1105			case 1:
1106				return &v.sizeCache
1107			case 2:
1108				return &v.unknownFields
1109			default:
1110				return nil
1111			}
1112		}
1113		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1114			switch v := v.(*Block); i {
1115			case 0:
1116				return &v.state
1117			case 1:
1118				return &v.sizeCache
1119			case 2:
1120				return &v.unknownFields
1121			default:
1122				return nil
1123			}
1124		}
1125		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1126			switch v := v.(*Paragraph); i {
1127			case 0:
1128				return &v.state
1129			case 1:
1130				return &v.sizeCache
1131			case 2:
1132				return &v.unknownFields
1133			default:
1134				return nil
1135			}
1136		}
1137		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1138			switch v := v.(*Word); i {
1139			case 0:
1140				return &v.state
1141			case 1:
1142				return &v.sizeCache
1143			case 2:
1144				return &v.unknownFields
1145			default:
1146				return nil
1147			}
1148		}
1149		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1150			switch v := v.(*Symbol); i {
1151			case 0:
1152				return &v.state
1153			case 1:
1154				return &v.sizeCache
1155			case 2:
1156				return &v.unknownFields
1157			default:
1158				return nil
1159			}
1160		}
1161		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1162			switch v := v.(*TextAnnotation_DetectedLanguage); i {
1163			case 0:
1164				return &v.state
1165			case 1:
1166				return &v.sizeCache
1167			case 2:
1168				return &v.unknownFields
1169			default:
1170				return nil
1171			}
1172		}
1173		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1174			switch v := v.(*TextAnnotation_DetectedBreak); i {
1175			case 0:
1176				return &v.state
1177			case 1:
1178				return &v.sizeCache
1179			case 2:
1180				return &v.unknownFields
1181			default:
1182				return nil
1183			}
1184		}
1185		file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1186			switch v := v.(*TextAnnotation_TextProperty); i {
1187			case 0:
1188				return &v.state
1189			case 1:
1190				return &v.sizeCache
1191			case 2:
1192				return &v.unknownFields
1193			default:
1194				return nil
1195			}
1196		}
1197	}
1198	type x struct{}
1199	out := protoimpl.TypeBuilder{
1200		File: protoimpl.DescBuilder{
1201			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1202			RawDescriptor: file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDesc,
1203			NumEnums:      2,
1204			NumMessages:   9,
1205			NumExtensions: 0,
1206			NumServices:   0,
1207		},
1208		GoTypes:           file_google_cloud_vision_v1p1beta1_text_annotation_proto_goTypes,
1209		DependencyIndexes: file_google_cloud_vision_v1p1beta1_text_annotation_proto_depIdxs,
1210		EnumInfos:         file_google_cloud_vision_v1p1beta1_text_annotation_proto_enumTypes,
1211		MessageInfos:      file_google_cloud_vision_v1p1beta1_text_annotation_proto_msgTypes,
1212	}.Build()
1213	File_google_cloud_vision_v1p1beta1_text_annotation_proto = out.File
1214	file_google_cloud_vision_v1p1beta1_text_annotation_proto_rawDesc = nil
1215	file_google_cloud_vision_v1p1beta1_text_annotation_proto_goTypes = nil
1216	file_google_cloud_vision_v1p1beta1_text_annotation_proto_depIdxs = nil
1217}
1218