...

Source file src/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1

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

View as plain text