1// Copyright 2018 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.25.0
18// 	protoc        v3.13.0
19// source: google/cloud/vision/v1p3beta1/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_v1p3beta1_text_annotation_proto_enumTypes[0].Descriptor()
95}
96
97func (TextAnnotation_DetectedBreak_BreakType) Type() protoreflect.EnumType {
98	return &file_google_cloud_vision_v1p3beta1_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_v1p3beta1_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_v1p3beta1_text_annotation_proto_enumTypes[1].Descriptor()
160}
161
162func (Block_BlockType) Type() protoreflect.EnumType {
163	return &file_google_cloud_vision_v1p3beta1_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_v1p3beta1_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.v1p3beta1.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_v1p3beta1_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_v1p3beta1_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_v1p3beta1_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. For PDFs the unit is points. For images (including
249	// TIFFs) the unit is pixels.
250	Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
251	// Page height. For PDFs the unit is points. For images (including
252	// TIFFs) the unit is pixels.
253	Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
254	// List of blocks of text, images etc on this page.
255	Blocks []*Block `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"`
256	// Confidence of the OCR results on the page. Range [0, 1].
257	Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
258}
259
260func (x *Page) Reset() {
261	*x = Page{}
262	if protoimpl.UnsafeEnabled {
263		mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[1]
264		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
265		ms.StoreMessageInfo(mi)
266	}
267}
268
269func (x *Page) String() string {
270	return protoimpl.X.MessageStringOf(x)
271}
272
273func (*Page) ProtoMessage() {}
274
275func (x *Page) ProtoReflect() protoreflect.Message {
276	mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[1]
277	if protoimpl.UnsafeEnabled && x != nil {
278		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279		if ms.LoadMessageInfo() == nil {
280			ms.StoreMessageInfo(mi)
281		}
282		return ms
283	}
284	return mi.MessageOf(x)
285}
286
287// Deprecated: Use Page.ProtoReflect.Descriptor instead.
288func (*Page) Descriptor() ([]byte, []int) {
289	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP(), []int{1}
290}
291
292func (x *Page) GetProperty() *TextAnnotation_TextProperty {
293	if x != nil {
294		return x.Property
295	}
296	return nil
297}
298
299func (x *Page) GetWidth() int32 {
300	if x != nil {
301		return x.Width
302	}
303	return 0
304}
305
306func (x *Page) GetHeight() int32 {
307	if x != nil {
308		return x.Height
309	}
310	return 0
311}
312
313func (x *Page) GetBlocks() []*Block {
314	if x != nil {
315		return x.Blocks
316	}
317	return nil
318}
319
320func (x *Page) GetConfidence() float32 {
321	if x != nil {
322		return x.Confidence
323	}
324	return 0
325}
326
327// Logical element on the page.
328type Block struct {
329	state         protoimpl.MessageState
330	sizeCache     protoimpl.SizeCache
331	unknownFields protoimpl.UnknownFields
332
333	// Additional information detected for the block.
334	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
335	// The bounding box for the block.
336	// The vertices are in the order of top-left, top-right, bottom-right,
337	// bottom-left. When a rotation of the bounding box is detected the rotation
338	// is represented as around the top-left corner as defined when the text is
339	// read in the 'natural' orientation.
340	// For example:
341	//
342	// * when the text is horizontal it might look like:
343	//
344	//         0----1
345	//         |    |
346	//         3----2
347	//
348	// * when it's rotated 180 degrees around the top-left corner it becomes:
349	//
350	//         2----3
351	//         |    |
352	//         1----0
353	//
354	//   and the vertice order will still be (0, 1, 2, 3).
355	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
356	// List of paragraphs in this block (if this blocks is of type text).
357	Paragraphs []*Paragraph `protobuf:"bytes,3,rep,name=paragraphs,proto3" json:"paragraphs,omitempty"`
358	// Detected block type (text, image etc) for this block.
359	BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,proto3,enum=google.cloud.vision.v1p3beta1.Block_BlockType" json:"block_type,omitempty"`
360	// Confidence of the OCR results on the block. Range [0, 1].
361	Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
362}
363
364func (x *Block) Reset() {
365	*x = Block{}
366	if protoimpl.UnsafeEnabled {
367		mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[2]
368		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369		ms.StoreMessageInfo(mi)
370	}
371}
372
373func (x *Block) String() string {
374	return protoimpl.X.MessageStringOf(x)
375}
376
377func (*Block) ProtoMessage() {}
378
379func (x *Block) ProtoReflect() protoreflect.Message {
380	mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[2]
381	if protoimpl.UnsafeEnabled && x != nil {
382		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
383		if ms.LoadMessageInfo() == nil {
384			ms.StoreMessageInfo(mi)
385		}
386		return ms
387	}
388	return mi.MessageOf(x)
389}
390
391// Deprecated: Use Block.ProtoReflect.Descriptor instead.
392func (*Block) Descriptor() ([]byte, []int) {
393	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP(), []int{2}
394}
395
396func (x *Block) GetProperty() *TextAnnotation_TextProperty {
397	if x != nil {
398		return x.Property
399	}
400	return nil
401}
402
403func (x *Block) GetBoundingBox() *BoundingPoly {
404	if x != nil {
405		return x.BoundingBox
406	}
407	return nil
408}
409
410func (x *Block) GetParagraphs() []*Paragraph {
411	if x != nil {
412		return x.Paragraphs
413	}
414	return nil
415}
416
417func (x *Block) GetBlockType() Block_BlockType {
418	if x != nil {
419		return x.BlockType
420	}
421	return Block_UNKNOWN
422}
423
424func (x *Block) GetConfidence() float32 {
425	if x != nil {
426		return x.Confidence
427	}
428	return 0
429}
430
431// Structural unit of text representing a number of words in certain order.
432type Paragraph struct {
433	state         protoimpl.MessageState
434	sizeCache     protoimpl.SizeCache
435	unknownFields protoimpl.UnknownFields
436
437	// Additional information detected for the paragraph.
438	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
439	// The bounding box for the paragraph.
440	// The vertices are in the order of top-left, top-right, bottom-right,
441	// bottom-left. When a rotation of the bounding box is detected the rotation
442	// is represented as around the top-left corner as defined when the text is
443	// read in the 'natural' orientation.
444	// For example:
445	//   * when the text is horizontal it might look like:
446	//      0----1
447	//      |    |
448	//      3----2
449	//   * when it's rotated 180 degrees around the top-left corner it becomes:
450	//      2----3
451	//      |    |
452	//      1----0
453	//   and the vertice order will still be (0, 1, 2, 3).
454	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
455	// List of words in this paragraph.
456	Words []*Word `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"`
457	// Confidence of the OCR results for the paragraph. Range [0, 1].
458	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
459}
460
461func (x *Paragraph) Reset() {
462	*x = Paragraph{}
463	if protoimpl.UnsafeEnabled {
464		mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[3]
465		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
466		ms.StoreMessageInfo(mi)
467	}
468}
469
470func (x *Paragraph) String() string {
471	return protoimpl.X.MessageStringOf(x)
472}
473
474func (*Paragraph) ProtoMessage() {}
475
476func (x *Paragraph) ProtoReflect() protoreflect.Message {
477	mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[3]
478	if protoimpl.UnsafeEnabled && x != nil {
479		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480		if ms.LoadMessageInfo() == nil {
481			ms.StoreMessageInfo(mi)
482		}
483		return ms
484	}
485	return mi.MessageOf(x)
486}
487
488// Deprecated: Use Paragraph.ProtoReflect.Descriptor instead.
489func (*Paragraph) Descriptor() ([]byte, []int) {
490	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP(), []int{3}
491}
492
493func (x *Paragraph) GetProperty() *TextAnnotation_TextProperty {
494	if x != nil {
495		return x.Property
496	}
497	return nil
498}
499
500func (x *Paragraph) GetBoundingBox() *BoundingPoly {
501	if x != nil {
502		return x.BoundingBox
503	}
504	return nil
505}
506
507func (x *Paragraph) GetWords() []*Word {
508	if x != nil {
509		return x.Words
510	}
511	return nil
512}
513
514func (x *Paragraph) GetConfidence() float32 {
515	if x != nil {
516		return x.Confidence
517	}
518	return 0
519}
520
521// A word representation.
522type Word struct {
523	state         protoimpl.MessageState
524	sizeCache     protoimpl.SizeCache
525	unknownFields protoimpl.UnknownFields
526
527	// Additional information detected for the word.
528	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
529	// The bounding box for the word.
530	// The vertices are in the order of top-left, top-right, bottom-right,
531	// bottom-left. When a rotation of the bounding box is detected the rotation
532	// is represented as around the top-left corner as defined when the text is
533	// read in the 'natural' orientation.
534	// For example:
535	//   * when the text is horizontal it might look like:
536	//      0----1
537	//      |    |
538	//      3----2
539	//   * when it's rotated 180 degrees around the top-left corner it becomes:
540	//      2----3
541	//      |    |
542	//      1----0
543	//   and the vertice order will still be (0, 1, 2, 3).
544	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
545	// List of symbols in the word.
546	// The order of the symbols follows the natural reading order.
547	Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"`
548	// Confidence of the OCR results for the word. Range [0, 1].
549	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
550}
551
552func (x *Word) Reset() {
553	*x = Word{}
554	if protoimpl.UnsafeEnabled {
555		mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[4]
556		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
557		ms.StoreMessageInfo(mi)
558	}
559}
560
561func (x *Word) String() string {
562	return protoimpl.X.MessageStringOf(x)
563}
564
565func (*Word) ProtoMessage() {}
566
567func (x *Word) ProtoReflect() protoreflect.Message {
568	mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[4]
569	if protoimpl.UnsafeEnabled && x != nil {
570		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
571		if ms.LoadMessageInfo() == nil {
572			ms.StoreMessageInfo(mi)
573		}
574		return ms
575	}
576	return mi.MessageOf(x)
577}
578
579// Deprecated: Use Word.ProtoReflect.Descriptor instead.
580func (*Word) Descriptor() ([]byte, []int) {
581	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP(), []int{4}
582}
583
584func (x *Word) GetProperty() *TextAnnotation_TextProperty {
585	if x != nil {
586		return x.Property
587	}
588	return nil
589}
590
591func (x *Word) GetBoundingBox() *BoundingPoly {
592	if x != nil {
593		return x.BoundingBox
594	}
595	return nil
596}
597
598func (x *Word) GetSymbols() []*Symbol {
599	if x != nil {
600		return x.Symbols
601	}
602	return nil
603}
604
605func (x *Word) GetConfidence() float32 {
606	if x != nil {
607		return x.Confidence
608	}
609	return 0
610}
611
612// A single symbol representation.
613type Symbol struct {
614	state         protoimpl.MessageState
615	sizeCache     protoimpl.SizeCache
616	unknownFields protoimpl.UnknownFields
617
618	// Additional information detected for the symbol.
619	Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
620	// The bounding box for the symbol.
621	// The vertices are in the order of top-left, top-right, bottom-right,
622	// bottom-left. When a rotation of the bounding box is detected the rotation
623	// is represented as around the top-left corner as defined when the text is
624	// read in the 'natural' orientation.
625	// For example:
626	//   * when the text is horizontal it might look like:
627	//      0----1
628	//      |    |
629	//      3----2
630	//   * when it's rotated 180 degrees around the top-left corner it becomes:
631	//      2----3
632	//      |    |
633	//      1----0
634	//   and the vertice order will still be (0, 1, 2, 3).
635	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
636	// The actual UTF-8 representation of the symbol.
637	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
638	// Confidence of the OCR results for the symbol. Range [0, 1].
639	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
640}
641
642func (x *Symbol) Reset() {
643	*x = Symbol{}
644	if protoimpl.UnsafeEnabled {
645		mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[5]
646		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
647		ms.StoreMessageInfo(mi)
648	}
649}
650
651func (x *Symbol) String() string {
652	return protoimpl.X.MessageStringOf(x)
653}
654
655func (*Symbol) ProtoMessage() {}
656
657func (x *Symbol) ProtoReflect() protoreflect.Message {
658	mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[5]
659	if protoimpl.UnsafeEnabled && x != nil {
660		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
661		if ms.LoadMessageInfo() == nil {
662			ms.StoreMessageInfo(mi)
663		}
664		return ms
665	}
666	return mi.MessageOf(x)
667}
668
669// Deprecated: Use Symbol.ProtoReflect.Descriptor instead.
670func (*Symbol) Descriptor() ([]byte, []int) {
671	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP(), []int{5}
672}
673
674func (x *Symbol) GetProperty() *TextAnnotation_TextProperty {
675	if x != nil {
676		return x.Property
677	}
678	return nil
679}
680
681func (x *Symbol) GetBoundingBox() *BoundingPoly {
682	if x != nil {
683		return x.BoundingBox
684	}
685	return nil
686}
687
688func (x *Symbol) GetText() string {
689	if x != nil {
690		return x.Text
691	}
692	return ""
693}
694
695func (x *Symbol) GetConfidence() float32 {
696	if x != nil {
697		return x.Confidence
698	}
699	return 0
700}
701
702// Detected language for a structural component.
703type TextAnnotation_DetectedLanguage struct {
704	state         protoimpl.MessageState
705	sizeCache     protoimpl.SizeCache
706	unknownFields protoimpl.UnknownFields
707
708	// The BCP-47 language code, such as "en-US" or "sr-Latn". For more
709	// information, see
710	// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
711	LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
712	// Confidence of detected language. Range [0, 1].
713	Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
714}
715
716func (x *TextAnnotation_DetectedLanguage) Reset() {
717	*x = TextAnnotation_DetectedLanguage{}
718	if protoimpl.UnsafeEnabled {
719		mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[6]
720		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
721		ms.StoreMessageInfo(mi)
722	}
723}
724
725func (x *TextAnnotation_DetectedLanguage) String() string {
726	return protoimpl.X.MessageStringOf(x)
727}
728
729func (*TextAnnotation_DetectedLanguage) ProtoMessage() {}
730
731func (x *TextAnnotation_DetectedLanguage) ProtoReflect() protoreflect.Message {
732	mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[6]
733	if protoimpl.UnsafeEnabled && x != nil {
734		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
735		if ms.LoadMessageInfo() == nil {
736			ms.StoreMessageInfo(mi)
737		}
738		return ms
739	}
740	return mi.MessageOf(x)
741}
742
743// Deprecated: Use TextAnnotation_DetectedLanguage.ProtoReflect.Descriptor instead.
744func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) {
745	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP(), []int{0, 0}
746}
747
748func (x *TextAnnotation_DetectedLanguage) GetLanguageCode() string {
749	if x != nil {
750		return x.LanguageCode
751	}
752	return ""
753}
754
755func (x *TextAnnotation_DetectedLanguage) GetConfidence() float32 {
756	if x != nil {
757		return x.Confidence
758	}
759	return 0
760}
761
762// Detected start or end of a structural component.
763type TextAnnotation_DetectedBreak struct {
764	state         protoimpl.MessageState
765	sizeCache     protoimpl.SizeCache
766	unknownFields protoimpl.UnknownFields
767
768	// Detected break type.
769	Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p3beta1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"`
770	// True if break prepends the element.
771	IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"`
772}
773
774func (x *TextAnnotation_DetectedBreak) Reset() {
775	*x = TextAnnotation_DetectedBreak{}
776	if protoimpl.UnsafeEnabled {
777		mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[7]
778		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
779		ms.StoreMessageInfo(mi)
780	}
781}
782
783func (x *TextAnnotation_DetectedBreak) String() string {
784	return protoimpl.X.MessageStringOf(x)
785}
786
787func (*TextAnnotation_DetectedBreak) ProtoMessage() {}
788
789func (x *TextAnnotation_DetectedBreak) ProtoReflect() protoreflect.Message {
790	mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[7]
791	if protoimpl.UnsafeEnabled && x != nil {
792		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
793		if ms.LoadMessageInfo() == nil {
794			ms.StoreMessageInfo(mi)
795		}
796		return ms
797	}
798	return mi.MessageOf(x)
799}
800
801// Deprecated: Use TextAnnotation_DetectedBreak.ProtoReflect.Descriptor instead.
802func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) {
803	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP(), []int{0, 1}
804}
805
806func (x *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType {
807	if x != nil {
808		return x.Type
809	}
810	return TextAnnotation_DetectedBreak_UNKNOWN
811}
812
813func (x *TextAnnotation_DetectedBreak) GetIsPrefix() bool {
814	if x != nil {
815		return x.IsPrefix
816	}
817	return false
818}
819
820// Additional information detected on the structural component.
821type TextAnnotation_TextProperty struct {
822	state         protoimpl.MessageState
823	sizeCache     protoimpl.SizeCache
824	unknownFields protoimpl.UnknownFields
825
826	// A list of detected languages together with confidence.
827	DetectedLanguages []*TextAnnotation_DetectedLanguage `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"`
828	// Detected start or end of a text segment.
829	DetectedBreak *TextAnnotation_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"`
830}
831
832func (x *TextAnnotation_TextProperty) Reset() {
833	*x = TextAnnotation_TextProperty{}
834	if protoimpl.UnsafeEnabled {
835		mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[8]
836		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
837		ms.StoreMessageInfo(mi)
838	}
839}
840
841func (x *TextAnnotation_TextProperty) String() string {
842	return protoimpl.X.MessageStringOf(x)
843}
844
845func (*TextAnnotation_TextProperty) ProtoMessage() {}
846
847func (x *TextAnnotation_TextProperty) ProtoReflect() protoreflect.Message {
848	mi := &file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[8]
849	if protoimpl.UnsafeEnabled && x != nil {
850		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
851		if ms.LoadMessageInfo() == nil {
852			ms.StoreMessageInfo(mi)
853		}
854		return ms
855	}
856	return mi.MessageOf(x)
857}
858
859// Deprecated: Use TextAnnotation_TextProperty.ProtoReflect.Descriptor instead.
860func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) {
861	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP(), []int{0, 2}
862}
863
864func (x *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage {
865	if x != nil {
866		return x.DetectedLanguages
867	}
868	return nil
869}
870
871func (x *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak {
872	if x != nil {
873		return x.DetectedBreak
874	}
875	return nil
876}
877
878var File_google_cloud_vision_v1p3beta1_text_annotation_proto protoreflect.FileDescriptor
879
880var file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDesc = []byte{
881	0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
882	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
883	0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
884	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
885	0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62,
886	0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
887	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
888	0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
889	0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61,
890	0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
891	0x22, 0x8b, 0x05, 0x0a, 0x0e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
892	0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
893	0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
894	0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74,
895	0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x12, 0x12,
896	0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65,
897	0x78, 0x74, 0x1a, 0x57, 0x0a, 0x10, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61,
898	0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
899	0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c,
900	0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
901	0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52,
902	0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0xec, 0x01, 0x0a, 0x0d,
903	0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x59, 0x0a,
904	0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f,
905	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
906	0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74,
907	0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63,
908	0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x2e, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x54, 0x79,
909	0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x70,
910	0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50,
911	0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x63, 0x0a, 0x09, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x54, 0x79,
912	0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
913	0x09, 0x0a, 0x05, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55,
914	0x52, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x4f,
915	0x4c, 0x5f, 0x53, 0x55, 0x52, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x03, 0x12, 0x0a,
916	0x0a, 0x06, 0x48, 0x59, 0x50, 0x48, 0x45, 0x4e, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49,
917	0x4e, 0x45, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x10, 0x05, 0x1a, 0xe1, 0x01, 0x0a, 0x0c, 0x54,
918	0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x6d, 0x0a, 0x12, 0x64,
919	0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
920	0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
921	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
922	0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f,
923	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c,
924	0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65,
925	0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x0e, 0x64, 0x65,
926	0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01,
927	0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
928	0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74,
929	0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
930	0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x52,
931	0x0d, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x22, 0xea,
932	0x01, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65,
933	0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
934	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
935	0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e,
936	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f,
937	0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12,
938	0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
939	0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
940	0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3c, 0x0a,
941	0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
942	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
943	0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6c,
944	0x6f, 0x63, 0x6b, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
945	0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52,
946	0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xbc, 0x03, 0x0a, 0x05,
947	0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
948	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
949	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
950	0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f,
951	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65,
952	0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x4e, 0x0a,
953	0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x18, 0x02, 0x20,
954	0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
955	0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65,
956	0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79,
957	0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x12, 0x48, 0x0a,
958	0x0a, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
959	0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
960	0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61,
961	0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x0a, 0x70, 0x61, 0x72,
962	0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
963	0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f,
964	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
965	0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63,
966	0x6b, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x62, 0x6c, 0x6f,
967	0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64,
968	0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66,
969	0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x52, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54,
970	0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
971	0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x41,
972	0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45,
973	0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x55, 0x4c, 0x45, 0x52, 0x10, 0x04, 0x12, 0x0b, 0x0a,
974	0x07, 0x42, 0x41, 0x52, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x05, 0x22, 0x8e, 0x02, 0x0a, 0x09, 0x50,
975	0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70,
976	0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f,
977	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
978	0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41,
979	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72,
980	0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
981	0x12, 0x4e, 0x0a, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78,
982	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
983	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
984	0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
985	0x6f, 0x6c, 0x79, 0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78,
986	0x12, 0x39, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
987	0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
988	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
989	0x57, 0x6f, 0x72, 0x64, 0x52, 0x05, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
990	0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52,
991	0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x04,
992	0x57, 0x6f, 0x72, 0x64, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
993	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
994	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
995	0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
996	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72,
997	0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x0c,
998	0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x18, 0x02, 0x20, 0x01,
999	0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1000	0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74,
1001	0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52,
1002	0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x12, 0x3f, 0x0a, 0x07,
1003	0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
1004	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
1005	0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x79,
1006	0x6d, 0x62, 0x6f, 0x6c, 0x52, 0x07, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x12, 0x1e, 0x0a,
1007	0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
1008	0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xe4, 0x01,
1009	0x0a, 0x06, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x56, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70,
1010	0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f,
1011	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
1012	0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41,
1013	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x72,
1014	0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
1015	0x12, 0x4e, 0x0a, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78,
1016	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1017	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
1018	0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
1019	0x6f, 0x6c, 0x79, 0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78,
1020	0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
1021	0x74, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e,
1022	0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64,
1023	0x65, 0x6e, 0x63, 0x65, 0x42, 0x82, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
1024	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
1025	0x2e, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x54, 0x65, 0x78, 0x74,
1026	0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
1027	0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
1028	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
1029	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
1030	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b,
1031	0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1032	0x33,
1033}
1034
1035var (
1036	file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescOnce sync.Once
1037	file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescData = file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDesc
1038)
1039
1040func file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescGZIP() []byte {
1041	file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescOnce.Do(func() {
1042		file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescData)
1043	})
1044	return file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDescData
1045}
1046
1047var file_google_cloud_vision_v1p3beta1_text_annotation_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1048var file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
1049var file_google_cloud_vision_v1p3beta1_text_annotation_proto_goTypes = []interface{}{
1050	(TextAnnotation_DetectedBreak_BreakType)(0), // 0: google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak.BreakType
1051	(Block_BlockType)(0),                        // 1: google.cloud.vision.v1p3beta1.Block.BlockType
1052	(*TextAnnotation)(nil),                      // 2: google.cloud.vision.v1p3beta1.TextAnnotation
1053	(*Page)(nil),                                // 3: google.cloud.vision.v1p3beta1.Page
1054	(*Block)(nil),                               // 4: google.cloud.vision.v1p3beta1.Block
1055	(*Paragraph)(nil),                           // 5: google.cloud.vision.v1p3beta1.Paragraph
1056	(*Word)(nil),                                // 6: google.cloud.vision.v1p3beta1.Word
1057	(*Symbol)(nil),                              // 7: google.cloud.vision.v1p3beta1.Symbol
1058	(*TextAnnotation_DetectedLanguage)(nil),     // 8: google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage
1059	(*TextAnnotation_DetectedBreak)(nil),        // 9: google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak
1060	(*TextAnnotation_TextProperty)(nil),         // 10: google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty
1061	(*BoundingPoly)(nil),                        // 11: google.cloud.vision.v1p3beta1.BoundingPoly
1062}
1063var file_google_cloud_vision_v1p3beta1_text_annotation_proto_depIdxs = []int32{
1064	3,  // 0: google.cloud.vision.v1p3beta1.TextAnnotation.pages:type_name -> google.cloud.vision.v1p3beta1.Page
1065	10, // 1: google.cloud.vision.v1p3beta1.Page.property:type_name -> google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty
1066	4,  // 2: google.cloud.vision.v1p3beta1.Page.blocks:type_name -> google.cloud.vision.v1p3beta1.Block
1067	10, // 3: google.cloud.vision.v1p3beta1.Block.property:type_name -> google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty
1068	11, // 4: google.cloud.vision.v1p3beta1.Block.bounding_box:type_name -> google.cloud.vision.v1p3beta1.BoundingPoly
1069	5,  // 5: google.cloud.vision.v1p3beta1.Block.paragraphs:type_name -> google.cloud.vision.v1p3beta1.Paragraph
1070	1,  // 6: google.cloud.vision.v1p3beta1.Block.block_type:type_name -> google.cloud.vision.v1p3beta1.Block.BlockType
1071	10, // 7: google.cloud.vision.v1p3beta1.Paragraph.property:type_name -> google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty
1072	11, // 8: google.cloud.vision.v1p3beta1.Paragraph.bounding_box:type_name -> google.cloud.vision.v1p3beta1.BoundingPoly
1073	6,  // 9: google.cloud.vision.v1p3beta1.Paragraph.words:type_name -> google.cloud.vision.v1p3beta1.Word
1074	10, // 10: google.cloud.vision.v1p3beta1.Word.property:type_name -> google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty
1075	11, // 11: google.cloud.vision.v1p3beta1.Word.bounding_box:type_name -> google.cloud.vision.v1p3beta1.BoundingPoly
1076	7,  // 12: google.cloud.vision.v1p3beta1.Word.symbols:type_name -> google.cloud.vision.v1p3beta1.Symbol
1077	10, // 13: google.cloud.vision.v1p3beta1.Symbol.property:type_name -> google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty
1078	11, // 14: google.cloud.vision.v1p3beta1.Symbol.bounding_box:type_name -> google.cloud.vision.v1p3beta1.BoundingPoly
1079	0,  // 15: google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak.type:type_name -> google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak.BreakType
1080	8,  // 16: google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.detected_languages:type_name -> google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage
1081	9,  // 17: google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.detected_break:type_name -> google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak
1082	18, // [18:18] is the sub-list for method output_type
1083	18, // [18:18] is the sub-list for method input_type
1084	18, // [18:18] is the sub-list for extension type_name
1085	18, // [18:18] is the sub-list for extension extendee
1086	0,  // [0:18] is the sub-list for field type_name
1087}
1088
1089func init() { file_google_cloud_vision_v1p3beta1_text_annotation_proto_init() }
1090func file_google_cloud_vision_v1p3beta1_text_annotation_proto_init() {
1091	if File_google_cloud_vision_v1p3beta1_text_annotation_proto != nil {
1092		return
1093	}
1094	file_google_cloud_vision_v1p3beta1_geometry_proto_init()
1095	if !protoimpl.UnsafeEnabled {
1096		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1097			switch v := v.(*TextAnnotation); i {
1098			case 0:
1099				return &v.state
1100			case 1:
1101				return &v.sizeCache
1102			case 2:
1103				return &v.unknownFields
1104			default:
1105				return nil
1106			}
1107		}
1108		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1109			switch v := v.(*Page); i {
1110			case 0:
1111				return &v.state
1112			case 1:
1113				return &v.sizeCache
1114			case 2:
1115				return &v.unknownFields
1116			default:
1117				return nil
1118			}
1119		}
1120		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1121			switch v := v.(*Block); i {
1122			case 0:
1123				return &v.state
1124			case 1:
1125				return &v.sizeCache
1126			case 2:
1127				return &v.unknownFields
1128			default:
1129				return nil
1130			}
1131		}
1132		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1133			switch v := v.(*Paragraph); i {
1134			case 0:
1135				return &v.state
1136			case 1:
1137				return &v.sizeCache
1138			case 2:
1139				return &v.unknownFields
1140			default:
1141				return nil
1142			}
1143		}
1144		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1145			switch v := v.(*Word); i {
1146			case 0:
1147				return &v.state
1148			case 1:
1149				return &v.sizeCache
1150			case 2:
1151				return &v.unknownFields
1152			default:
1153				return nil
1154			}
1155		}
1156		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1157			switch v := v.(*Symbol); i {
1158			case 0:
1159				return &v.state
1160			case 1:
1161				return &v.sizeCache
1162			case 2:
1163				return &v.unknownFields
1164			default:
1165				return nil
1166			}
1167		}
1168		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1169			switch v := v.(*TextAnnotation_DetectedLanguage); i {
1170			case 0:
1171				return &v.state
1172			case 1:
1173				return &v.sizeCache
1174			case 2:
1175				return &v.unknownFields
1176			default:
1177				return nil
1178			}
1179		}
1180		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1181			switch v := v.(*TextAnnotation_DetectedBreak); i {
1182			case 0:
1183				return &v.state
1184			case 1:
1185				return &v.sizeCache
1186			case 2:
1187				return &v.unknownFields
1188			default:
1189				return nil
1190			}
1191		}
1192		file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1193			switch v := v.(*TextAnnotation_TextProperty); i {
1194			case 0:
1195				return &v.state
1196			case 1:
1197				return &v.sizeCache
1198			case 2:
1199				return &v.unknownFields
1200			default:
1201				return nil
1202			}
1203		}
1204	}
1205	type x struct{}
1206	out := protoimpl.TypeBuilder{
1207		File: protoimpl.DescBuilder{
1208			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1209			RawDescriptor: file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDesc,
1210			NumEnums:      2,
1211			NumMessages:   9,
1212			NumExtensions: 0,
1213			NumServices:   0,
1214		},
1215		GoTypes:           file_google_cloud_vision_v1p3beta1_text_annotation_proto_goTypes,
1216		DependencyIndexes: file_google_cloud_vision_v1p3beta1_text_annotation_proto_depIdxs,
1217		EnumInfos:         file_google_cloud_vision_v1p3beta1_text_annotation_proto_enumTypes,
1218		MessageInfos:      file_google_cloud_vision_v1p3beta1_text_annotation_proto_msgTypes,
1219	}.Build()
1220	File_google_cloud_vision_v1p3beta1_text_annotation_proto = out.File
1221	file_google_cloud_vision_v1p3beta1_text_annotation_proto_rawDesc = nil
1222	file_google_cloud_vision_v1p3beta1_text_annotation_proto_goTypes = nil
1223	file_google_cloud_vision_v1p3beta1_text_annotation_proto_depIdxs = nil
1224}
1225