1// Copyright 2019 Google LLC. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14// 15 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.26.0 19// protoc v3.12.2 20// source: google/cloud/documentai/v1beta1/document.proto 21 22package documentai 23 24import ( 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 status "google.golang.org/genproto/googleapis/rpc/status" 30 color "google.golang.org/genproto/googleapis/type/color" 31 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 32 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 33) 34 35const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40) 41 42// Detected human reading orientation. 43type Document_Page_Layout_Orientation int32 44 45const ( 46 // Unspecified orientation. 47 Document_Page_Layout_ORIENTATION_UNSPECIFIED Document_Page_Layout_Orientation = 0 48 // Orientation is aligned with page up. 49 Document_Page_Layout_PAGE_UP Document_Page_Layout_Orientation = 1 50 // Orientation is aligned with page right. 51 // Turn the head 90 degrees clockwise from upright to read. 52 Document_Page_Layout_PAGE_RIGHT Document_Page_Layout_Orientation = 2 53 // Orientation is aligned with page down. 54 // Turn the head 180 degrees from upright to read. 55 Document_Page_Layout_PAGE_DOWN Document_Page_Layout_Orientation = 3 56 // Orientation is aligned with page left. 57 // Turn the head 90 degrees counterclockwise from upright to read. 58 Document_Page_Layout_PAGE_LEFT Document_Page_Layout_Orientation = 4 59) 60 61// Enum value maps for Document_Page_Layout_Orientation. 62var ( 63 Document_Page_Layout_Orientation_name = map[int32]string{ 64 0: "ORIENTATION_UNSPECIFIED", 65 1: "PAGE_UP", 66 2: "PAGE_RIGHT", 67 3: "PAGE_DOWN", 68 4: "PAGE_LEFT", 69 } 70 Document_Page_Layout_Orientation_value = map[string]int32{ 71 "ORIENTATION_UNSPECIFIED": 0, 72 "PAGE_UP": 1, 73 "PAGE_RIGHT": 2, 74 "PAGE_DOWN": 3, 75 "PAGE_LEFT": 4, 76 } 77) 78 79func (x Document_Page_Layout_Orientation) Enum() *Document_Page_Layout_Orientation { 80 p := new(Document_Page_Layout_Orientation) 81 *p = x 82 return p 83} 84 85func (x Document_Page_Layout_Orientation) String() string { 86 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 87} 88 89func (Document_Page_Layout_Orientation) Descriptor() protoreflect.EnumDescriptor { 90 return file_google_cloud_documentai_v1beta1_document_proto_enumTypes[0].Descriptor() 91} 92 93func (Document_Page_Layout_Orientation) Type() protoreflect.EnumType { 94 return &file_google_cloud_documentai_v1beta1_document_proto_enumTypes[0] 95} 96 97func (x Document_Page_Layout_Orientation) Number() protoreflect.EnumNumber { 98 return protoreflect.EnumNumber(x) 99} 100 101// Deprecated: Use Document_Page_Layout_Orientation.Descriptor instead. 102func (Document_Page_Layout_Orientation) EnumDescriptor() ([]byte, []int) { 103 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 1, 0} 104} 105 106// Enum to denote the type of break found. 107type Document_Page_Token_DetectedBreak_Type int32 108 109const ( 110 // Unspecified break type. 111 Document_Page_Token_DetectedBreak_TYPE_UNSPECIFIED Document_Page_Token_DetectedBreak_Type = 0 112 // A single whitespace. 113 Document_Page_Token_DetectedBreak_SPACE Document_Page_Token_DetectedBreak_Type = 1 114 // A wider whitespace. 115 Document_Page_Token_DetectedBreak_WIDE_SPACE Document_Page_Token_DetectedBreak_Type = 2 116 // A hyphen that indicates that a token has been split across lines. 117 Document_Page_Token_DetectedBreak_HYPHEN Document_Page_Token_DetectedBreak_Type = 3 118) 119 120// Enum value maps for Document_Page_Token_DetectedBreak_Type. 121var ( 122 Document_Page_Token_DetectedBreak_Type_name = map[int32]string{ 123 0: "TYPE_UNSPECIFIED", 124 1: "SPACE", 125 2: "WIDE_SPACE", 126 3: "HYPHEN", 127 } 128 Document_Page_Token_DetectedBreak_Type_value = map[string]int32{ 129 "TYPE_UNSPECIFIED": 0, 130 "SPACE": 1, 131 "WIDE_SPACE": 2, 132 "HYPHEN": 3, 133 } 134) 135 136func (x Document_Page_Token_DetectedBreak_Type) Enum() *Document_Page_Token_DetectedBreak_Type { 137 p := new(Document_Page_Token_DetectedBreak_Type) 138 *p = x 139 return p 140} 141 142func (x Document_Page_Token_DetectedBreak_Type) String() string { 143 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 144} 145 146func (Document_Page_Token_DetectedBreak_Type) Descriptor() protoreflect.EnumDescriptor { 147 return file_google_cloud_documentai_v1beta1_document_proto_enumTypes[1].Descriptor() 148} 149 150func (Document_Page_Token_DetectedBreak_Type) Type() protoreflect.EnumType { 151 return &file_google_cloud_documentai_v1beta1_document_proto_enumTypes[1] 152} 153 154func (x Document_Page_Token_DetectedBreak_Type) Number() protoreflect.EnumNumber { 155 return protoreflect.EnumNumber(x) 156} 157 158// Deprecated: Use Document_Page_Token_DetectedBreak_Type.Descriptor instead. 159func (Document_Page_Token_DetectedBreak_Type) EnumDescriptor() ([]byte, []int) { 160 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 5, 0, 0} 161} 162 163// Document represents the canonical document resource in Document Understanding 164// AI. 165// It is an interchange format that provides insights into documents and allows 166// for collaboration between users and Document Understanding AI to iterate and 167// optimize for quality. 168type Document struct { 169 state protoimpl.MessageState 170 sizeCache protoimpl.SizeCache 171 unknownFields protoimpl.UnknownFields 172 173 // Original source document from the user. 174 // 175 // Types that are assignable to Source: 176 // *Document_Uri 177 // *Document_Content 178 Source isDocument_Source `protobuf_oneof:"source"` 179 // An IANA published MIME type (also referred to as media type). For more 180 // information, see 181 // https://www.iana.org/assignments/media-types/media-types.xhtml. 182 MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` 183 // UTF-8 encoded text in reading order from the document. 184 Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` 185 // Styles for the 186 // [Document.text][google.cloud.documentai.v1beta1.Document.text]. 187 TextStyles []*Document_Style `protobuf:"bytes,5,rep,name=text_styles,json=textStyles,proto3" json:"text_styles,omitempty"` 188 // Visual page layout for the 189 // [Document][google.cloud.documentai.v1beta1.Document]. 190 Pages []*Document_Page `protobuf:"bytes,6,rep,name=pages,proto3" json:"pages,omitempty"` 191 // A list of entities detected on 192 // [Document.text][google.cloud.documentai.v1beta1.Document.text]. For 193 // document shards, entities in this list may cross shard boundaries. 194 Entities []*Document_Entity `protobuf:"bytes,7,rep,name=entities,proto3" json:"entities,omitempty"` 195 // Relationship among 196 // [Document.entities][google.cloud.documentai.v1beta1.Document.entities]. 197 EntityRelations []*Document_EntityRelation `protobuf:"bytes,8,rep,name=entity_relations,json=entityRelations,proto3" json:"entity_relations,omitempty"` 198 // Information about the sharding if this document is sharded part of a larger 199 // document. If the document is not sharded, this message is not specified. 200 ShardInfo *Document_ShardInfo `protobuf:"bytes,9,opt,name=shard_info,json=shardInfo,proto3" json:"shard_info,omitempty"` 201 // Any error that occurred while processing this document. 202 Error *status.Status `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"` 203} 204 205func (x *Document) Reset() { 206 *x = Document{} 207 if protoimpl.UnsafeEnabled { 208 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[0] 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 ms.StoreMessageInfo(mi) 211 } 212} 213 214func (x *Document) String() string { 215 return protoimpl.X.MessageStringOf(x) 216} 217 218func (*Document) ProtoMessage() {} 219 220func (x *Document) ProtoReflect() protoreflect.Message { 221 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[0] 222 if protoimpl.UnsafeEnabled && x != nil { 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 if ms.LoadMessageInfo() == nil { 225 ms.StoreMessageInfo(mi) 226 } 227 return ms 228 } 229 return mi.MessageOf(x) 230} 231 232// Deprecated: Use Document.ProtoReflect.Descriptor instead. 233func (*Document) Descriptor() ([]byte, []int) { 234 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0} 235} 236 237func (m *Document) GetSource() isDocument_Source { 238 if m != nil { 239 return m.Source 240 } 241 return nil 242} 243 244func (x *Document) GetUri() string { 245 if x, ok := x.GetSource().(*Document_Uri); ok { 246 return x.Uri 247 } 248 return "" 249} 250 251func (x *Document) GetContent() []byte { 252 if x, ok := x.GetSource().(*Document_Content); ok { 253 return x.Content 254 } 255 return nil 256} 257 258func (x *Document) GetMimeType() string { 259 if x != nil { 260 return x.MimeType 261 } 262 return "" 263} 264 265func (x *Document) GetText() string { 266 if x != nil { 267 return x.Text 268 } 269 return "" 270} 271 272func (x *Document) GetTextStyles() []*Document_Style { 273 if x != nil { 274 return x.TextStyles 275 } 276 return nil 277} 278 279func (x *Document) GetPages() []*Document_Page { 280 if x != nil { 281 return x.Pages 282 } 283 return nil 284} 285 286func (x *Document) GetEntities() []*Document_Entity { 287 if x != nil { 288 return x.Entities 289 } 290 return nil 291} 292 293func (x *Document) GetEntityRelations() []*Document_EntityRelation { 294 if x != nil { 295 return x.EntityRelations 296 } 297 return nil 298} 299 300func (x *Document) GetShardInfo() *Document_ShardInfo { 301 if x != nil { 302 return x.ShardInfo 303 } 304 return nil 305} 306 307func (x *Document) GetError() *status.Status { 308 if x != nil { 309 return x.Error 310 } 311 return nil 312} 313 314type isDocument_Source interface { 315 isDocument_Source() 316} 317 318type Document_Uri struct { 319 // Currently supports Google Cloud Storage URI of the form 320 // `gs://bucket_name/object_name`. Object versioning is not supported. 321 // See [Google Cloud Storage Request 322 // URIs](https://cloud.google.com/storage/docs/reference-uris) for more 323 // info. 324 Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"` 325} 326 327type Document_Content struct { 328 // Inline document content, represented as a stream of bytes. 329 // Note: As with all `bytes` fields, protobuffers use a pure binary 330 // representation, whereas JSON representations use base64. 331 Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` 332} 333 334func (*Document_Uri) isDocument_Source() {} 335 336func (*Document_Content) isDocument_Source() {} 337 338// For a large document, sharding may be performed to produce several 339// document shards. Each document shard contains this field to detail which 340// shard it is. 341type Document_ShardInfo struct { 342 state protoimpl.MessageState 343 sizeCache protoimpl.SizeCache 344 unknownFields protoimpl.UnknownFields 345 346 // The 0-based index of this shard. 347 ShardIndex int64 `protobuf:"varint,1,opt,name=shard_index,json=shardIndex,proto3" json:"shard_index,omitempty"` 348 // Total number of shards. 349 ShardCount int64 `protobuf:"varint,2,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"` 350 // The index of the first character in 351 // [Document.text][google.cloud.documentai.v1beta1.Document.text] in the 352 // overall document global text. 353 TextOffset int64 `protobuf:"varint,3,opt,name=text_offset,json=textOffset,proto3" json:"text_offset,omitempty"` 354} 355 356func (x *Document_ShardInfo) Reset() { 357 *x = Document_ShardInfo{} 358 if protoimpl.UnsafeEnabled { 359 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[1] 360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 361 ms.StoreMessageInfo(mi) 362 } 363} 364 365func (x *Document_ShardInfo) String() string { 366 return protoimpl.X.MessageStringOf(x) 367} 368 369func (*Document_ShardInfo) ProtoMessage() {} 370 371func (x *Document_ShardInfo) ProtoReflect() protoreflect.Message { 372 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[1] 373 if protoimpl.UnsafeEnabled && x != nil { 374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 375 if ms.LoadMessageInfo() == nil { 376 ms.StoreMessageInfo(mi) 377 } 378 return ms 379 } 380 return mi.MessageOf(x) 381} 382 383// Deprecated: Use Document_ShardInfo.ProtoReflect.Descriptor instead. 384func (*Document_ShardInfo) Descriptor() ([]byte, []int) { 385 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 0} 386} 387 388func (x *Document_ShardInfo) GetShardIndex() int64 { 389 if x != nil { 390 return x.ShardIndex 391 } 392 return 0 393} 394 395func (x *Document_ShardInfo) GetShardCount() int64 { 396 if x != nil { 397 return x.ShardCount 398 } 399 return 0 400} 401 402func (x *Document_ShardInfo) GetTextOffset() int64 { 403 if x != nil { 404 return x.TextOffset 405 } 406 return 0 407} 408 409// Annotation for common text style attributes. This adheres to CSS 410// conventions as much as possible. 411type Document_Style struct { 412 state protoimpl.MessageState 413 sizeCache protoimpl.SizeCache 414 unknownFields protoimpl.UnknownFields 415 416 // Text anchor indexing into the 417 // [Document.text][google.cloud.documentai.v1beta1.Document.text]. 418 TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` 419 // Text color. 420 Color *color.Color `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` 421 // Text background color. 422 BackgroundColor *color.Color `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` 423 // Font weight. Possible values are normal, bold, bolder, and lighter. 424 // https://www.w3schools.com/cssref/pr_font_weight.asp 425 FontWeight string `protobuf:"bytes,4,opt,name=font_weight,json=fontWeight,proto3" json:"font_weight,omitempty"` 426 // Text style. Possible values are normal, italic, and oblique. 427 // https://www.w3schools.com/cssref/pr_font_font-style.asp 428 TextStyle string `protobuf:"bytes,5,opt,name=text_style,json=textStyle,proto3" json:"text_style,omitempty"` 429 // Text decoration. Follows CSS standard. 430 // <text-decoration-line> <text-decoration-color> <text-decoration-style> 431 // https://www.w3schools.com/cssref/pr_text_text-decoration.asp 432 TextDecoration string `protobuf:"bytes,6,opt,name=text_decoration,json=textDecoration,proto3" json:"text_decoration,omitempty"` 433 // Font size. 434 FontSize *Document_Style_FontSize `protobuf:"bytes,7,opt,name=font_size,json=fontSize,proto3" json:"font_size,omitempty"` 435} 436 437func (x *Document_Style) Reset() { 438 *x = Document_Style{} 439 if protoimpl.UnsafeEnabled { 440 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[2] 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 ms.StoreMessageInfo(mi) 443 } 444} 445 446func (x *Document_Style) String() string { 447 return protoimpl.X.MessageStringOf(x) 448} 449 450func (*Document_Style) ProtoMessage() {} 451 452func (x *Document_Style) ProtoReflect() protoreflect.Message { 453 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[2] 454 if protoimpl.UnsafeEnabled && x != nil { 455 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 456 if ms.LoadMessageInfo() == nil { 457 ms.StoreMessageInfo(mi) 458 } 459 return ms 460 } 461 return mi.MessageOf(x) 462} 463 464// Deprecated: Use Document_Style.ProtoReflect.Descriptor instead. 465func (*Document_Style) Descriptor() ([]byte, []int) { 466 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 1} 467} 468 469func (x *Document_Style) GetTextAnchor() *Document_TextAnchor { 470 if x != nil { 471 return x.TextAnchor 472 } 473 return nil 474} 475 476func (x *Document_Style) GetColor() *color.Color { 477 if x != nil { 478 return x.Color 479 } 480 return nil 481} 482 483func (x *Document_Style) GetBackgroundColor() *color.Color { 484 if x != nil { 485 return x.BackgroundColor 486 } 487 return nil 488} 489 490func (x *Document_Style) GetFontWeight() string { 491 if x != nil { 492 return x.FontWeight 493 } 494 return "" 495} 496 497func (x *Document_Style) GetTextStyle() string { 498 if x != nil { 499 return x.TextStyle 500 } 501 return "" 502} 503 504func (x *Document_Style) GetTextDecoration() string { 505 if x != nil { 506 return x.TextDecoration 507 } 508 return "" 509} 510 511func (x *Document_Style) GetFontSize() *Document_Style_FontSize { 512 if x != nil { 513 return x.FontSize 514 } 515 return nil 516} 517 518// A page in a [Document][google.cloud.documentai.v1beta1.Document]. 519type Document_Page struct { 520 state protoimpl.MessageState 521 sizeCache protoimpl.SizeCache 522 unknownFields protoimpl.UnknownFields 523 524 // 1-based index for current 525 // [Page][google.cloud.documentai.v1beta1.Document.Page] in a parent 526 // [Document][google.cloud.documentai.v1beta1.Document]. Useful when a page 527 // is taken out of a [Document][google.cloud.documentai.v1beta1.Document] 528 // for individual processing. 529 PageNumber int32 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` 530 // Physical dimension of the page. 531 Dimension *Document_Page_Dimension `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` 532 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the 533 // page. 534 Layout *Document_Page_Layout `protobuf:"bytes,3,opt,name=layout,proto3" json:"layout,omitempty"` 535 // A list of detected languages together with confidence. 536 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 537 // A list of visually detected text blocks on the page. 538 // A block has a set of lines (collected into paragraphs) that have a common 539 // line-spacing and orientation. 540 Blocks []*Document_Page_Block `protobuf:"bytes,5,rep,name=blocks,proto3" json:"blocks,omitempty"` 541 // A list of visually detected text paragraphs on the page. 542 // A collection of lines that a human would perceive as a paragraph. 543 Paragraphs []*Document_Page_Paragraph `protobuf:"bytes,6,rep,name=paragraphs,proto3" json:"paragraphs,omitempty"` 544 // A list of visually detected text lines on the page. 545 // A collection of tokens that a human would perceive as a line. 546 Lines []*Document_Page_Line `protobuf:"bytes,7,rep,name=lines,proto3" json:"lines,omitempty"` 547 // A list of visually detected tokens on the page. 548 Tokens []*Document_Page_Token `protobuf:"bytes,8,rep,name=tokens,proto3" json:"tokens,omitempty"` 549 // A list of detected non-text visual elements e.g. checkbox, 550 // signature etc. on the page. 551 VisualElements []*Document_Page_VisualElement `protobuf:"bytes,9,rep,name=visual_elements,json=visualElements,proto3" json:"visual_elements,omitempty"` 552 // A list of visually detected tables on the page. 553 Tables []*Document_Page_Table `protobuf:"bytes,10,rep,name=tables,proto3" json:"tables,omitempty"` 554 // A list of visually detected form fields on the page. 555 FormFields []*Document_Page_FormField `protobuf:"bytes,11,rep,name=form_fields,json=formFields,proto3" json:"form_fields,omitempty"` 556} 557 558func (x *Document_Page) Reset() { 559 *x = Document_Page{} 560 if protoimpl.UnsafeEnabled { 561 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[3] 562 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 563 ms.StoreMessageInfo(mi) 564 } 565} 566 567func (x *Document_Page) String() string { 568 return protoimpl.X.MessageStringOf(x) 569} 570 571func (*Document_Page) ProtoMessage() {} 572 573func (x *Document_Page) ProtoReflect() protoreflect.Message { 574 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[3] 575 if protoimpl.UnsafeEnabled && x != nil { 576 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 577 if ms.LoadMessageInfo() == nil { 578 ms.StoreMessageInfo(mi) 579 } 580 return ms 581 } 582 return mi.MessageOf(x) 583} 584 585// Deprecated: Use Document_Page.ProtoReflect.Descriptor instead. 586func (*Document_Page) Descriptor() ([]byte, []int) { 587 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2} 588} 589 590func (x *Document_Page) GetPageNumber() int32 { 591 if x != nil { 592 return x.PageNumber 593 } 594 return 0 595} 596 597func (x *Document_Page) GetDimension() *Document_Page_Dimension { 598 if x != nil { 599 return x.Dimension 600 } 601 return nil 602} 603 604func (x *Document_Page) GetLayout() *Document_Page_Layout { 605 if x != nil { 606 return x.Layout 607 } 608 return nil 609} 610 611func (x *Document_Page) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 612 if x != nil { 613 return x.DetectedLanguages 614 } 615 return nil 616} 617 618func (x *Document_Page) GetBlocks() []*Document_Page_Block { 619 if x != nil { 620 return x.Blocks 621 } 622 return nil 623} 624 625func (x *Document_Page) GetParagraphs() []*Document_Page_Paragraph { 626 if x != nil { 627 return x.Paragraphs 628 } 629 return nil 630} 631 632func (x *Document_Page) GetLines() []*Document_Page_Line { 633 if x != nil { 634 return x.Lines 635 } 636 return nil 637} 638 639func (x *Document_Page) GetTokens() []*Document_Page_Token { 640 if x != nil { 641 return x.Tokens 642 } 643 return nil 644} 645 646func (x *Document_Page) GetVisualElements() []*Document_Page_VisualElement { 647 if x != nil { 648 return x.VisualElements 649 } 650 return nil 651} 652 653func (x *Document_Page) GetTables() []*Document_Page_Table { 654 if x != nil { 655 return x.Tables 656 } 657 return nil 658} 659 660func (x *Document_Page) GetFormFields() []*Document_Page_FormField { 661 if x != nil { 662 return x.FormFields 663 } 664 return nil 665} 666 667// A phrase in the text that is a known entity type, such as a person, an 668// organization, or location. 669type Document_Entity struct { 670 state protoimpl.MessageState 671 sizeCache protoimpl.SizeCache 672 unknownFields protoimpl.UnknownFields 673 674 // Provenance of the entity. 675 // Text anchor indexing into the 676 // [Document.text][google.cloud.documentai.v1beta1.Document.text]. 677 TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` 678 // Entity type from a schema e.g. `Address`. 679 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 680 // Text value in the document e.g. `1600 Amphitheatre Pkwy`. 681 MentionText string `protobuf:"bytes,3,opt,name=mention_text,json=mentionText,proto3" json:"mention_text,omitempty"` 682 // Canonical mention name. This will be a unique value in the entity list 683 // for this document. 684 MentionId string `protobuf:"bytes,4,opt,name=mention_id,json=mentionId,proto3" json:"mention_id,omitempty"` 685} 686 687func (x *Document_Entity) Reset() { 688 *x = Document_Entity{} 689 if protoimpl.UnsafeEnabled { 690 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[4] 691 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 692 ms.StoreMessageInfo(mi) 693 } 694} 695 696func (x *Document_Entity) String() string { 697 return protoimpl.X.MessageStringOf(x) 698} 699 700func (*Document_Entity) ProtoMessage() {} 701 702func (x *Document_Entity) ProtoReflect() protoreflect.Message { 703 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[4] 704 if protoimpl.UnsafeEnabled && x != nil { 705 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 706 if ms.LoadMessageInfo() == nil { 707 ms.StoreMessageInfo(mi) 708 } 709 return ms 710 } 711 return mi.MessageOf(x) 712} 713 714// Deprecated: Use Document_Entity.ProtoReflect.Descriptor instead. 715func (*Document_Entity) Descriptor() ([]byte, []int) { 716 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 3} 717} 718 719func (x *Document_Entity) GetTextAnchor() *Document_TextAnchor { 720 if x != nil { 721 return x.TextAnchor 722 } 723 return nil 724} 725 726func (x *Document_Entity) GetType() string { 727 if x != nil { 728 return x.Type 729 } 730 return "" 731} 732 733func (x *Document_Entity) GetMentionText() string { 734 if x != nil { 735 return x.MentionText 736 } 737 return "" 738} 739 740func (x *Document_Entity) GetMentionId() string { 741 if x != nil { 742 return x.MentionId 743 } 744 return "" 745} 746 747// Relationship between 748// [Entities][google.cloud.documentai.v1beta1.Document.Entity]. 749type Document_EntityRelation struct { 750 state protoimpl.MessageState 751 sizeCache protoimpl.SizeCache 752 unknownFields protoimpl.UnknownFields 753 754 // Subject entity mention_id. 755 SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"` 756 // Object entity mention_id. 757 ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` 758 // Relationship description. 759 Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` 760} 761 762func (x *Document_EntityRelation) Reset() { 763 *x = Document_EntityRelation{} 764 if protoimpl.UnsafeEnabled { 765 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[5] 766 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 767 ms.StoreMessageInfo(mi) 768 } 769} 770 771func (x *Document_EntityRelation) String() string { 772 return protoimpl.X.MessageStringOf(x) 773} 774 775func (*Document_EntityRelation) ProtoMessage() {} 776 777func (x *Document_EntityRelation) ProtoReflect() protoreflect.Message { 778 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[5] 779 if protoimpl.UnsafeEnabled && x != nil { 780 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 781 if ms.LoadMessageInfo() == nil { 782 ms.StoreMessageInfo(mi) 783 } 784 return ms 785 } 786 return mi.MessageOf(x) 787} 788 789// Deprecated: Use Document_EntityRelation.ProtoReflect.Descriptor instead. 790func (*Document_EntityRelation) Descriptor() ([]byte, []int) { 791 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 4} 792} 793 794func (x *Document_EntityRelation) GetSubjectId() string { 795 if x != nil { 796 return x.SubjectId 797 } 798 return "" 799} 800 801func (x *Document_EntityRelation) GetObjectId() string { 802 if x != nil { 803 return x.ObjectId 804 } 805 return "" 806} 807 808func (x *Document_EntityRelation) GetRelation() string { 809 if x != nil { 810 return x.Relation 811 } 812 return "" 813} 814 815// Text reference indexing into the 816// [Document.text][google.cloud.documentai.v1beta1.Document.text]. 817type Document_TextAnchor struct { 818 state protoimpl.MessageState 819 sizeCache protoimpl.SizeCache 820 unknownFields protoimpl.UnknownFields 821 822 // The text segments from the 823 // [Document.text][google.cloud.documentai.v1beta1.Document.text]. 824 TextSegments []*Document_TextAnchor_TextSegment `protobuf:"bytes,1,rep,name=text_segments,json=textSegments,proto3" json:"text_segments,omitempty"` 825} 826 827func (x *Document_TextAnchor) Reset() { 828 *x = Document_TextAnchor{} 829 if protoimpl.UnsafeEnabled { 830 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[6] 831 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 832 ms.StoreMessageInfo(mi) 833 } 834} 835 836func (x *Document_TextAnchor) String() string { 837 return protoimpl.X.MessageStringOf(x) 838} 839 840func (*Document_TextAnchor) ProtoMessage() {} 841 842func (x *Document_TextAnchor) ProtoReflect() protoreflect.Message { 843 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[6] 844 if protoimpl.UnsafeEnabled && x != nil { 845 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 846 if ms.LoadMessageInfo() == nil { 847 ms.StoreMessageInfo(mi) 848 } 849 return ms 850 } 851 return mi.MessageOf(x) 852} 853 854// Deprecated: Use Document_TextAnchor.ProtoReflect.Descriptor instead. 855func (*Document_TextAnchor) Descriptor() ([]byte, []int) { 856 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 5} 857} 858 859func (x *Document_TextAnchor) GetTextSegments() []*Document_TextAnchor_TextSegment { 860 if x != nil { 861 return x.TextSegments 862 } 863 return nil 864} 865 866// Font size with unit. 867type Document_Style_FontSize struct { 868 state protoimpl.MessageState 869 sizeCache protoimpl.SizeCache 870 unknownFields protoimpl.UnknownFields 871 872 // Font size for the text. 873 Size float32 `protobuf:"fixed32,1,opt,name=size,proto3" json:"size,omitempty"` 874 // Unit for the font size. Follows CSS naming (in, px, pt, etc.). 875 Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` 876} 877 878func (x *Document_Style_FontSize) Reset() { 879 *x = Document_Style_FontSize{} 880 if protoimpl.UnsafeEnabled { 881 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[7] 882 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 883 ms.StoreMessageInfo(mi) 884 } 885} 886 887func (x *Document_Style_FontSize) String() string { 888 return protoimpl.X.MessageStringOf(x) 889} 890 891func (*Document_Style_FontSize) ProtoMessage() {} 892 893func (x *Document_Style_FontSize) ProtoReflect() protoreflect.Message { 894 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[7] 895 if protoimpl.UnsafeEnabled && x != nil { 896 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 897 if ms.LoadMessageInfo() == nil { 898 ms.StoreMessageInfo(mi) 899 } 900 return ms 901 } 902 return mi.MessageOf(x) 903} 904 905// Deprecated: Use Document_Style_FontSize.ProtoReflect.Descriptor instead. 906func (*Document_Style_FontSize) Descriptor() ([]byte, []int) { 907 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 1, 0} 908} 909 910func (x *Document_Style_FontSize) GetSize() float32 { 911 if x != nil { 912 return x.Size 913 } 914 return 0 915} 916 917func (x *Document_Style_FontSize) GetUnit() string { 918 if x != nil { 919 return x.Unit 920 } 921 return "" 922} 923 924// Dimension for the page. 925type Document_Page_Dimension struct { 926 state protoimpl.MessageState 927 sizeCache protoimpl.SizeCache 928 unknownFields protoimpl.UnknownFields 929 930 // Page width. 931 Width float32 `protobuf:"fixed32,1,opt,name=width,proto3" json:"width,omitempty"` 932 // Page height. 933 Height float32 `protobuf:"fixed32,2,opt,name=height,proto3" json:"height,omitempty"` 934 // Dimension unit. 935 Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` 936} 937 938func (x *Document_Page_Dimension) Reset() { 939 *x = Document_Page_Dimension{} 940 if protoimpl.UnsafeEnabled { 941 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[8] 942 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 943 ms.StoreMessageInfo(mi) 944 } 945} 946 947func (x *Document_Page_Dimension) String() string { 948 return protoimpl.X.MessageStringOf(x) 949} 950 951func (*Document_Page_Dimension) ProtoMessage() {} 952 953func (x *Document_Page_Dimension) ProtoReflect() protoreflect.Message { 954 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[8] 955 if protoimpl.UnsafeEnabled && x != nil { 956 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 957 if ms.LoadMessageInfo() == nil { 958 ms.StoreMessageInfo(mi) 959 } 960 return ms 961 } 962 return mi.MessageOf(x) 963} 964 965// Deprecated: Use Document_Page_Dimension.ProtoReflect.Descriptor instead. 966func (*Document_Page_Dimension) Descriptor() ([]byte, []int) { 967 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 0} 968} 969 970func (x *Document_Page_Dimension) GetWidth() float32 { 971 if x != nil { 972 return x.Width 973 } 974 return 0 975} 976 977func (x *Document_Page_Dimension) GetHeight() float32 { 978 if x != nil { 979 return x.Height 980 } 981 return 0 982} 983 984func (x *Document_Page_Dimension) GetUnit() string { 985 if x != nil { 986 return x.Unit 987 } 988 return "" 989} 990 991// Visual element describing a layout unit on a page. 992type Document_Page_Layout struct { 993 state protoimpl.MessageState 994 sizeCache protoimpl.SizeCache 995 unknownFields protoimpl.UnknownFields 996 997 // Text anchor indexing into the 998 // [Document.text][google.cloud.documentai.v1beta1.Document.text]. 999 TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` 1000 // Confidence of the current 1001 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] within 1002 // context of the object this layout is for. e.g. confidence can be for a 1003 // single token, a table, a visual element, etc. depending on context. 1004 // Range [0, 1]. 1005 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 1006 // The bounding polygon for the 1007 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout]. 1008 BoundingPoly *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` 1009 // Detected orientation for the 1010 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout]. 1011 Orientation Document_Page_Layout_Orientation `protobuf:"varint,4,opt,name=orientation,proto3,enum=google.cloud.documentai.v1beta1.Document_Page_Layout_Orientation" json:"orientation,omitempty"` 1012} 1013 1014func (x *Document_Page_Layout) Reset() { 1015 *x = Document_Page_Layout{} 1016 if protoimpl.UnsafeEnabled { 1017 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[9] 1018 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1019 ms.StoreMessageInfo(mi) 1020 } 1021} 1022 1023func (x *Document_Page_Layout) String() string { 1024 return protoimpl.X.MessageStringOf(x) 1025} 1026 1027func (*Document_Page_Layout) ProtoMessage() {} 1028 1029func (x *Document_Page_Layout) ProtoReflect() protoreflect.Message { 1030 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[9] 1031 if protoimpl.UnsafeEnabled && x != nil { 1032 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1033 if ms.LoadMessageInfo() == nil { 1034 ms.StoreMessageInfo(mi) 1035 } 1036 return ms 1037 } 1038 return mi.MessageOf(x) 1039} 1040 1041// Deprecated: Use Document_Page_Layout.ProtoReflect.Descriptor instead. 1042func (*Document_Page_Layout) Descriptor() ([]byte, []int) { 1043 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 1} 1044} 1045 1046func (x *Document_Page_Layout) GetTextAnchor() *Document_TextAnchor { 1047 if x != nil { 1048 return x.TextAnchor 1049 } 1050 return nil 1051} 1052 1053func (x *Document_Page_Layout) GetConfidence() float32 { 1054 if x != nil { 1055 return x.Confidence 1056 } 1057 return 0 1058} 1059 1060func (x *Document_Page_Layout) GetBoundingPoly() *BoundingPoly { 1061 if x != nil { 1062 return x.BoundingPoly 1063 } 1064 return nil 1065} 1066 1067func (x *Document_Page_Layout) GetOrientation() Document_Page_Layout_Orientation { 1068 if x != nil { 1069 return x.Orientation 1070 } 1071 return Document_Page_Layout_ORIENTATION_UNSPECIFIED 1072} 1073 1074// A block has a set of lines (collected into paragraphs) that have a 1075// common line-spacing and orientation. 1076type Document_Page_Block struct { 1077 state protoimpl.MessageState 1078 sizeCache protoimpl.SizeCache 1079 unknownFields protoimpl.UnknownFields 1080 1081 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for 1082 // [Block][google.cloud.documentai.v1beta1.Document.Page.Block]. 1083 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1084 // A list of detected languages together with confidence. 1085 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1086} 1087 1088func (x *Document_Page_Block) Reset() { 1089 *x = Document_Page_Block{} 1090 if protoimpl.UnsafeEnabled { 1091 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[10] 1092 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1093 ms.StoreMessageInfo(mi) 1094 } 1095} 1096 1097func (x *Document_Page_Block) String() string { 1098 return protoimpl.X.MessageStringOf(x) 1099} 1100 1101func (*Document_Page_Block) ProtoMessage() {} 1102 1103func (x *Document_Page_Block) ProtoReflect() protoreflect.Message { 1104 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[10] 1105 if protoimpl.UnsafeEnabled && x != nil { 1106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1107 if ms.LoadMessageInfo() == nil { 1108 ms.StoreMessageInfo(mi) 1109 } 1110 return ms 1111 } 1112 return mi.MessageOf(x) 1113} 1114 1115// Deprecated: Use Document_Page_Block.ProtoReflect.Descriptor instead. 1116func (*Document_Page_Block) Descriptor() ([]byte, []int) { 1117 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 2} 1118} 1119 1120func (x *Document_Page_Block) GetLayout() *Document_Page_Layout { 1121 if x != nil { 1122 return x.Layout 1123 } 1124 return nil 1125} 1126 1127func (x *Document_Page_Block) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1128 if x != nil { 1129 return x.DetectedLanguages 1130 } 1131 return nil 1132} 1133 1134// A collection of lines that a human would perceive as a paragraph. 1135type Document_Page_Paragraph struct { 1136 state protoimpl.MessageState 1137 sizeCache protoimpl.SizeCache 1138 unknownFields protoimpl.UnknownFields 1139 1140 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for 1141 // [Paragraph][google.cloud.documentai.v1beta1.Document.Page.Paragraph]. 1142 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1143 // A list of detected languages together with confidence. 1144 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1145} 1146 1147func (x *Document_Page_Paragraph) Reset() { 1148 *x = Document_Page_Paragraph{} 1149 if protoimpl.UnsafeEnabled { 1150 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[11] 1151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1152 ms.StoreMessageInfo(mi) 1153 } 1154} 1155 1156func (x *Document_Page_Paragraph) String() string { 1157 return protoimpl.X.MessageStringOf(x) 1158} 1159 1160func (*Document_Page_Paragraph) ProtoMessage() {} 1161 1162func (x *Document_Page_Paragraph) ProtoReflect() protoreflect.Message { 1163 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[11] 1164 if protoimpl.UnsafeEnabled && x != nil { 1165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1166 if ms.LoadMessageInfo() == nil { 1167 ms.StoreMessageInfo(mi) 1168 } 1169 return ms 1170 } 1171 return mi.MessageOf(x) 1172} 1173 1174// Deprecated: Use Document_Page_Paragraph.ProtoReflect.Descriptor instead. 1175func (*Document_Page_Paragraph) Descriptor() ([]byte, []int) { 1176 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 3} 1177} 1178 1179func (x *Document_Page_Paragraph) GetLayout() *Document_Page_Layout { 1180 if x != nil { 1181 return x.Layout 1182 } 1183 return nil 1184} 1185 1186func (x *Document_Page_Paragraph) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1187 if x != nil { 1188 return x.DetectedLanguages 1189 } 1190 return nil 1191} 1192 1193// A collection of tokens that a human would perceive as a line. 1194// Does not cross column boundaries, can be horizontal, vertical, etc. 1195type Document_Page_Line struct { 1196 state protoimpl.MessageState 1197 sizeCache protoimpl.SizeCache 1198 unknownFields protoimpl.UnknownFields 1199 1200 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for 1201 // [Line][google.cloud.documentai.v1beta1.Document.Page.Line]. 1202 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1203 // A list of detected languages together with confidence. 1204 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1205} 1206 1207func (x *Document_Page_Line) Reset() { 1208 *x = Document_Page_Line{} 1209 if protoimpl.UnsafeEnabled { 1210 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[12] 1211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1212 ms.StoreMessageInfo(mi) 1213 } 1214} 1215 1216func (x *Document_Page_Line) String() string { 1217 return protoimpl.X.MessageStringOf(x) 1218} 1219 1220func (*Document_Page_Line) ProtoMessage() {} 1221 1222func (x *Document_Page_Line) ProtoReflect() protoreflect.Message { 1223 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[12] 1224 if protoimpl.UnsafeEnabled && x != nil { 1225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1226 if ms.LoadMessageInfo() == nil { 1227 ms.StoreMessageInfo(mi) 1228 } 1229 return ms 1230 } 1231 return mi.MessageOf(x) 1232} 1233 1234// Deprecated: Use Document_Page_Line.ProtoReflect.Descriptor instead. 1235func (*Document_Page_Line) Descriptor() ([]byte, []int) { 1236 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 4} 1237} 1238 1239func (x *Document_Page_Line) GetLayout() *Document_Page_Layout { 1240 if x != nil { 1241 return x.Layout 1242 } 1243 return nil 1244} 1245 1246func (x *Document_Page_Line) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1247 if x != nil { 1248 return x.DetectedLanguages 1249 } 1250 return nil 1251} 1252 1253// A detected token. 1254type Document_Page_Token struct { 1255 state protoimpl.MessageState 1256 sizeCache protoimpl.SizeCache 1257 unknownFields protoimpl.UnknownFields 1258 1259 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for 1260 // [Token][google.cloud.documentai.v1beta1.Document.Page.Token]. 1261 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1262 // Detected break at the end of a 1263 // [Token][google.cloud.documentai.v1beta1.Document.Page.Token]. 1264 DetectedBreak *Document_Page_Token_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"` 1265 // A list of detected languages together with confidence. 1266 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1267} 1268 1269func (x *Document_Page_Token) Reset() { 1270 *x = Document_Page_Token{} 1271 if protoimpl.UnsafeEnabled { 1272 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[13] 1273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1274 ms.StoreMessageInfo(mi) 1275 } 1276} 1277 1278func (x *Document_Page_Token) String() string { 1279 return protoimpl.X.MessageStringOf(x) 1280} 1281 1282func (*Document_Page_Token) ProtoMessage() {} 1283 1284func (x *Document_Page_Token) ProtoReflect() protoreflect.Message { 1285 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[13] 1286 if protoimpl.UnsafeEnabled && x != nil { 1287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1288 if ms.LoadMessageInfo() == nil { 1289 ms.StoreMessageInfo(mi) 1290 } 1291 return ms 1292 } 1293 return mi.MessageOf(x) 1294} 1295 1296// Deprecated: Use Document_Page_Token.ProtoReflect.Descriptor instead. 1297func (*Document_Page_Token) Descriptor() ([]byte, []int) { 1298 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 5} 1299} 1300 1301func (x *Document_Page_Token) GetLayout() *Document_Page_Layout { 1302 if x != nil { 1303 return x.Layout 1304 } 1305 return nil 1306} 1307 1308func (x *Document_Page_Token) GetDetectedBreak() *Document_Page_Token_DetectedBreak { 1309 if x != nil { 1310 return x.DetectedBreak 1311 } 1312 return nil 1313} 1314 1315func (x *Document_Page_Token) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1316 if x != nil { 1317 return x.DetectedLanguages 1318 } 1319 return nil 1320} 1321 1322// Detected non-text visual elements e.g. checkbox, signature etc. on the 1323// page. 1324type Document_Page_VisualElement struct { 1325 state protoimpl.MessageState 1326 sizeCache protoimpl.SizeCache 1327 unknownFields protoimpl.UnknownFields 1328 1329 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for 1330 // [Token][google.cloud.documentai.v1beta1.Document.Page.Token]. 1331 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1332 // Type of the 1333 // [VisualElement][google.cloud.documentai.v1beta1.Document.Page.VisualElement]. 1334 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 1335 // A list of detected languages together with confidence. 1336 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1337} 1338 1339func (x *Document_Page_VisualElement) Reset() { 1340 *x = Document_Page_VisualElement{} 1341 if protoimpl.UnsafeEnabled { 1342 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[14] 1343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1344 ms.StoreMessageInfo(mi) 1345 } 1346} 1347 1348func (x *Document_Page_VisualElement) String() string { 1349 return protoimpl.X.MessageStringOf(x) 1350} 1351 1352func (*Document_Page_VisualElement) ProtoMessage() {} 1353 1354func (x *Document_Page_VisualElement) ProtoReflect() protoreflect.Message { 1355 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[14] 1356 if protoimpl.UnsafeEnabled && x != nil { 1357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1358 if ms.LoadMessageInfo() == nil { 1359 ms.StoreMessageInfo(mi) 1360 } 1361 return ms 1362 } 1363 return mi.MessageOf(x) 1364} 1365 1366// Deprecated: Use Document_Page_VisualElement.ProtoReflect.Descriptor instead. 1367func (*Document_Page_VisualElement) Descriptor() ([]byte, []int) { 1368 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 6} 1369} 1370 1371func (x *Document_Page_VisualElement) GetLayout() *Document_Page_Layout { 1372 if x != nil { 1373 return x.Layout 1374 } 1375 return nil 1376} 1377 1378func (x *Document_Page_VisualElement) GetType() string { 1379 if x != nil { 1380 return x.Type 1381 } 1382 return "" 1383} 1384 1385func (x *Document_Page_VisualElement) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1386 if x != nil { 1387 return x.DetectedLanguages 1388 } 1389 return nil 1390} 1391 1392// A table representation similar to HTML table structure. 1393type Document_Page_Table struct { 1394 state protoimpl.MessageState 1395 sizeCache protoimpl.SizeCache 1396 unknownFields protoimpl.UnknownFields 1397 1398 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for 1399 // [Table][google.cloud.documentai.v1beta1.Document.Page.Table]. 1400 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1401 // Header rows of the table. 1402 HeaderRows []*Document_Page_Table_TableRow `protobuf:"bytes,2,rep,name=header_rows,json=headerRows,proto3" json:"header_rows,omitempty"` 1403 // Body rows of the table. 1404 BodyRows []*Document_Page_Table_TableRow `protobuf:"bytes,3,rep,name=body_rows,json=bodyRows,proto3" json:"body_rows,omitempty"` 1405 // A list of detected languages together with confidence. 1406 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1407} 1408 1409func (x *Document_Page_Table) Reset() { 1410 *x = Document_Page_Table{} 1411 if protoimpl.UnsafeEnabled { 1412 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[15] 1413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1414 ms.StoreMessageInfo(mi) 1415 } 1416} 1417 1418func (x *Document_Page_Table) String() string { 1419 return protoimpl.X.MessageStringOf(x) 1420} 1421 1422func (*Document_Page_Table) ProtoMessage() {} 1423 1424func (x *Document_Page_Table) ProtoReflect() protoreflect.Message { 1425 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[15] 1426 if protoimpl.UnsafeEnabled && x != nil { 1427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1428 if ms.LoadMessageInfo() == nil { 1429 ms.StoreMessageInfo(mi) 1430 } 1431 return ms 1432 } 1433 return mi.MessageOf(x) 1434} 1435 1436// Deprecated: Use Document_Page_Table.ProtoReflect.Descriptor instead. 1437func (*Document_Page_Table) Descriptor() ([]byte, []int) { 1438 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 7} 1439} 1440 1441func (x *Document_Page_Table) GetLayout() *Document_Page_Layout { 1442 if x != nil { 1443 return x.Layout 1444 } 1445 return nil 1446} 1447 1448func (x *Document_Page_Table) GetHeaderRows() []*Document_Page_Table_TableRow { 1449 if x != nil { 1450 return x.HeaderRows 1451 } 1452 return nil 1453} 1454 1455func (x *Document_Page_Table) GetBodyRows() []*Document_Page_Table_TableRow { 1456 if x != nil { 1457 return x.BodyRows 1458 } 1459 return nil 1460} 1461 1462func (x *Document_Page_Table) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1463 if x != nil { 1464 return x.DetectedLanguages 1465 } 1466 return nil 1467} 1468 1469// A form field detected on the page. 1470type Document_Page_FormField struct { 1471 state protoimpl.MessageState 1472 sizeCache protoimpl.SizeCache 1473 unknownFields protoimpl.UnknownFields 1474 1475 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the 1476 // [FormField][google.cloud.documentai.v1beta1.Document.Page.FormField] 1477 // name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. 1478 FieldName *Document_Page_Layout `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` 1479 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the 1480 // [FormField][google.cloud.documentai.v1beta1.Document.Page.FormField] 1481 // value. 1482 FieldValue *Document_Page_Layout `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"` 1483 // A list of detected languages for name together with confidence. 1484 NameDetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=name_detected_languages,json=nameDetectedLanguages,proto3" json:"name_detected_languages,omitempty"` 1485 // A list of detected languages for value together with confidence. 1486 ValueDetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=value_detected_languages,json=valueDetectedLanguages,proto3" json:"value_detected_languages,omitempty"` 1487} 1488 1489func (x *Document_Page_FormField) Reset() { 1490 *x = Document_Page_FormField{} 1491 if protoimpl.UnsafeEnabled { 1492 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[16] 1493 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1494 ms.StoreMessageInfo(mi) 1495 } 1496} 1497 1498func (x *Document_Page_FormField) String() string { 1499 return protoimpl.X.MessageStringOf(x) 1500} 1501 1502func (*Document_Page_FormField) ProtoMessage() {} 1503 1504func (x *Document_Page_FormField) ProtoReflect() protoreflect.Message { 1505 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[16] 1506 if protoimpl.UnsafeEnabled && x != nil { 1507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1508 if ms.LoadMessageInfo() == nil { 1509 ms.StoreMessageInfo(mi) 1510 } 1511 return ms 1512 } 1513 return mi.MessageOf(x) 1514} 1515 1516// Deprecated: Use Document_Page_FormField.ProtoReflect.Descriptor instead. 1517func (*Document_Page_FormField) Descriptor() ([]byte, []int) { 1518 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 8} 1519} 1520 1521func (x *Document_Page_FormField) GetFieldName() *Document_Page_Layout { 1522 if x != nil { 1523 return x.FieldName 1524 } 1525 return nil 1526} 1527 1528func (x *Document_Page_FormField) GetFieldValue() *Document_Page_Layout { 1529 if x != nil { 1530 return x.FieldValue 1531 } 1532 return nil 1533} 1534 1535func (x *Document_Page_FormField) GetNameDetectedLanguages() []*Document_Page_DetectedLanguage { 1536 if x != nil { 1537 return x.NameDetectedLanguages 1538 } 1539 return nil 1540} 1541 1542func (x *Document_Page_FormField) GetValueDetectedLanguages() []*Document_Page_DetectedLanguage { 1543 if x != nil { 1544 return x.ValueDetectedLanguages 1545 } 1546 return nil 1547} 1548 1549// Detected language for a structural component. 1550type Document_Page_DetectedLanguage struct { 1551 state protoimpl.MessageState 1552 sizeCache protoimpl.SizeCache 1553 unknownFields protoimpl.UnknownFields 1554 1555 // The BCP-47 language code, such as "en-US" or "sr-Latn". For more 1556 // information, see 1557 // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. 1558 LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 1559 // Confidence of detected language. Range [0, 1]. 1560 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 1561} 1562 1563func (x *Document_Page_DetectedLanguage) Reset() { 1564 *x = Document_Page_DetectedLanguage{} 1565 if protoimpl.UnsafeEnabled { 1566 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[17] 1567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1568 ms.StoreMessageInfo(mi) 1569 } 1570} 1571 1572func (x *Document_Page_DetectedLanguage) String() string { 1573 return protoimpl.X.MessageStringOf(x) 1574} 1575 1576func (*Document_Page_DetectedLanguage) ProtoMessage() {} 1577 1578func (x *Document_Page_DetectedLanguage) ProtoReflect() protoreflect.Message { 1579 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[17] 1580 if protoimpl.UnsafeEnabled && x != nil { 1581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1582 if ms.LoadMessageInfo() == nil { 1583 ms.StoreMessageInfo(mi) 1584 } 1585 return ms 1586 } 1587 return mi.MessageOf(x) 1588} 1589 1590// Deprecated: Use Document_Page_DetectedLanguage.ProtoReflect.Descriptor instead. 1591func (*Document_Page_DetectedLanguage) Descriptor() ([]byte, []int) { 1592 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 9} 1593} 1594 1595func (x *Document_Page_DetectedLanguage) GetLanguageCode() string { 1596 if x != nil { 1597 return x.LanguageCode 1598 } 1599 return "" 1600} 1601 1602func (x *Document_Page_DetectedLanguage) GetConfidence() float32 { 1603 if x != nil { 1604 return x.Confidence 1605 } 1606 return 0 1607} 1608 1609// Detected break at the end of a 1610// [Token][google.cloud.documentai.v1beta1.Document.Page.Token]. 1611type Document_Page_Token_DetectedBreak struct { 1612 state protoimpl.MessageState 1613 sizeCache protoimpl.SizeCache 1614 unknownFields protoimpl.UnknownFields 1615 1616 // Detected break type. 1617 Type Document_Page_Token_DetectedBreak_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.documentai.v1beta1.Document_Page_Token_DetectedBreak_Type" json:"type,omitempty"` 1618} 1619 1620func (x *Document_Page_Token_DetectedBreak) Reset() { 1621 *x = Document_Page_Token_DetectedBreak{} 1622 if protoimpl.UnsafeEnabled { 1623 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[18] 1624 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1625 ms.StoreMessageInfo(mi) 1626 } 1627} 1628 1629func (x *Document_Page_Token_DetectedBreak) String() string { 1630 return protoimpl.X.MessageStringOf(x) 1631} 1632 1633func (*Document_Page_Token_DetectedBreak) ProtoMessage() {} 1634 1635func (x *Document_Page_Token_DetectedBreak) ProtoReflect() protoreflect.Message { 1636 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[18] 1637 if protoimpl.UnsafeEnabled && x != nil { 1638 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1639 if ms.LoadMessageInfo() == nil { 1640 ms.StoreMessageInfo(mi) 1641 } 1642 return ms 1643 } 1644 return mi.MessageOf(x) 1645} 1646 1647// Deprecated: Use Document_Page_Token_DetectedBreak.ProtoReflect.Descriptor instead. 1648func (*Document_Page_Token_DetectedBreak) Descriptor() ([]byte, []int) { 1649 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 5, 0} 1650} 1651 1652func (x *Document_Page_Token_DetectedBreak) GetType() Document_Page_Token_DetectedBreak_Type { 1653 if x != nil { 1654 return x.Type 1655 } 1656 return Document_Page_Token_DetectedBreak_TYPE_UNSPECIFIED 1657} 1658 1659// A row of table cells. 1660type Document_Page_Table_TableRow struct { 1661 state protoimpl.MessageState 1662 sizeCache protoimpl.SizeCache 1663 unknownFields protoimpl.UnknownFields 1664 1665 // Cells that make up this row. 1666 Cells []*Document_Page_Table_TableCell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` 1667} 1668 1669func (x *Document_Page_Table_TableRow) Reset() { 1670 *x = Document_Page_Table_TableRow{} 1671 if protoimpl.UnsafeEnabled { 1672 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[19] 1673 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1674 ms.StoreMessageInfo(mi) 1675 } 1676} 1677 1678func (x *Document_Page_Table_TableRow) String() string { 1679 return protoimpl.X.MessageStringOf(x) 1680} 1681 1682func (*Document_Page_Table_TableRow) ProtoMessage() {} 1683 1684func (x *Document_Page_Table_TableRow) ProtoReflect() protoreflect.Message { 1685 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[19] 1686 if protoimpl.UnsafeEnabled && x != nil { 1687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1688 if ms.LoadMessageInfo() == nil { 1689 ms.StoreMessageInfo(mi) 1690 } 1691 return ms 1692 } 1693 return mi.MessageOf(x) 1694} 1695 1696// Deprecated: Use Document_Page_Table_TableRow.ProtoReflect.Descriptor instead. 1697func (*Document_Page_Table_TableRow) Descriptor() ([]byte, []int) { 1698 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 7, 0} 1699} 1700 1701func (x *Document_Page_Table_TableRow) GetCells() []*Document_Page_Table_TableCell { 1702 if x != nil { 1703 return x.Cells 1704 } 1705 return nil 1706} 1707 1708// A cell representation inside the table. 1709type Document_Page_Table_TableCell struct { 1710 state protoimpl.MessageState 1711 sizeCache protoimpl.SizeCache 1712 unknownFields protoimpl.UnknownFields 1713 1714 // [Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for 1715 // [TableCell][google.cloud.documentai.v1beta1.Document.Page.Table.TableCell]. 1716 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1717 // How many rows this cell spans. 1718 RowSpan int32 `protobuf:"varint,2,opt,name=row_span,json=rowSpan,proto3" json:"row_span,omitempty"` 1719 // How many columns this cell spans. 1720 ColSpan int32 `protobuf:"varint,3,opt,name=col_span,json=colSpan,proto3" json:"col_span,omitempty"` 1721 // A list of detected languages together with confidence. 1722 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1723} 1724 1725func (x *Document_Page_Table_TableCell) Reset() { 1726 *x = Document_Page_Table_TableCell{} 1727 if protoimpl.UnsafeEnabled { 1728 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[20] 1729 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1730 ms.StoreMessageInfo(mi) 1731 } 1732} 1733 1734func (x *Document_Page_Table_TableCell) String() string { 1735 return protoimpl.X.MessageStringOf(x) 1736} 1737 1738func (*Document_Page_Table_TableCell) ProtoMessage() {} 1739 1740func (x *Document_Page_Table_TableCell) ProtoReflect() protoreflect.Message { 1741 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[20] 1742 if protoimpl.UnsafeEnabled && x != nil { 1743 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1744 if ms.LoadMessageInfo() == nil { 1745 ms.StoreMessageInfo(mi) 1746 } 1747 return ms 1748 } 1749 return mi.MessageOf(x) 1750} 1751 1752// Deprecated: Use Document_Page_Table_TableCell.ProtoReflect.Descriptor instead. 1753func (*Document_Page_Table_TableCell) Descriptor() ([]byte, []int) { 1754 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 2, 7, 1} 1755} 1756 1757func (x *Document_Page_Table_TableCell) GetLayout() *Document_Page_Layout { 1758 if x != nil { 1759 return x.Layout 1760 } 1761 return nil 1762} 1763 1764func (x *Document_Page_Table_TableCell) GetRowSpan() int32 { 1765 if x != nil { 1766 return x.RowSpan 1767 } 1768 return 0 1769} 1770 1771func (x *Document_Page_Table_TableCell) GetColSpan() int32 { 1772 if x != nil { 1773 return x.ColSpan 1774 } 1775 return 0 1776} 1777 1778func (x *Document_Page_Table_TableCell) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1779 if x != nil { 1780 return x.DetectedLanguages 1781 } 1782 return nil 1783} 1784 1785// A text segment in the 1786// [Document.text][google.cloud.documentai.v1beta1.Document.text]. The 1787// indices may be out of bounds which indicate that the text extends into 1788// another document shard for large sharded documents. See 1789// [ShardInfo.text_offset][google.cloud.documentai.v1beta1.Document.ShardInfo.text_offset] 1790type Document_TextAnchor_TextSegment struct { 1791 state protoimpl.MessageState 1792 sizeCache protoimpl.SizeCache 1793 unknownFields protoimpl.UnknownFields 1794 1795 // [TextSegment][google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment] 1796 // start UTF-8 char index in the 1797 // [Document.text][google.cloud.documentai.v1beta1.Document.text]. 1798 StartIndex int64 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` 1799 // [TextSegment][google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment] 1800 // half open end UTF-8 char index in the 1801 // [Document.text][google.cloud.documentai.v1beta1.Document.text]. 1802 EndIndex int64 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"` 1803} 1804 1805func (x *Document_TextAnchor_TextSegment) Reset() { 1806 *x = Document_TextAnchor_TextSegment{} 1807 if protoimpl.UnsafeEnabled { 1808 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[21] 1809 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1810 ms.StoreMessageInfo(mi) 1811 } 1812} 1813 1814func (x *Document_TextAnchor_TextSegment) String() string { 1815 return protoimpl.X.MessageStringOf(x) 1816} 1817 1818func (*Document_TextAnchor_TextSegment) ProtoMessage() {} 1819 1820func (x *Document_TextAnchor_TextSegment) ProtoReflect() protoreflect.Message { 1821 mi := &file_google_cloud_documentai_v1beta1_document_proto_msgTypes[21] 1822 if protoimpl.UnsafeEnabled && x != nil { 1823 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1824 if ms.LoadMessageInfo() == nil { 1825 ms.StoreMessageInfo(mi) 1826 } 1827 return ms 1828 } 1829 return mi.MessageOf(x) 1830} 1831 1832// Deprecated: Use Document_TextAnchor_TextSegment.ProtoReflect.Descriptor instead. 1833func (*Document_TextAnchor_TextSegment) Descriptor() ([]byte, []int) { 1834 return file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP(), []int{0, 5, 0} 1835} 1836 1837func (x *Document_TextAnchor_TextSegment) GetStartIndex() int64 { 1838 if x != nil { 1839 return x.StartIndex 1840 } 1841 return 0 1842} 1843 1844func (x *Document_TextAnchor_TextSegment) GetEndIndex() int64 { 1845 if x != nil { 1846 return x.EndIndex 1847 } 1848 return 0 1849} 1850 1851var File_google_cloud_documentai_v1beta1_document_proto protoreflect.FileDescriptor 1852 1853var file_google_cloud_documentai_v1beta1_document_proto_rawDesc = []byte{ 1854 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 1855 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1856 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1857 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1858 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1859 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 1860 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 1861 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 1862 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1863 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 1864 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 1865 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1866 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1867 0x6f, 0x22, 0xf2, 0x2b, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 1868 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 1869 0x72, 0x69, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 1870 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 1871 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 1872 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 1873 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 1874 0x50, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x73, 0x18, 0x05, 1875 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1876 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 1877 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 1878 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x53, 0x74, 0x79, 0x6c, 0x65, 1879 0x73, 0x12, 0x44, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 1880 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1881 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 1882 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 1883 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 1884 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1885 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1886 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 1887 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x65, 0x6e, 0x74, 1888 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x63, 0x0a, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 1889 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 1890 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1891 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1892 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 1893 0x79, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x69, 0x74, 1894 0x79, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x52, 0x0a, 0x0a, 0x73, 0x68, 1895 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 1896 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 1897 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1898 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 1899 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 1900 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 1901 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 1902 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x6e, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x72, 1903 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 1904 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x68, 0x61, 0x72, 1905 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 1906 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x68, 0x61, 1907 0x72, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 1908 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x65, 1909 0x78, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x1a, 0xbb, 0x03, 0x0a, 0x05, 0x53, 0x74, 0x79, 1910 0x6c, 0x65, 0x12, 0x55, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 1911 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1912 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 1913 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1914 0x6e, 0x74, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x0a, 0x74, 1915 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x28, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 1916 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1917 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 1918 0x6c, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 1919 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 1920 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 1921 0x72, 0x52, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6c, 1922 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6f, 0x6e, 0x74, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 1923 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x6e, 0x74, 0x57, 0x65, 0x69, 1924 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x79, 0x6c, 1925 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x65, 0x78, 0x74, 0x53, 0x74, 0x79, 1926 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x72, 1927 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x65, 0x78, 1928 0x74, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x09, 0x66, 1929 0x6f, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 1930 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 1931 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1932 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x2e, 1933 0x46, 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x08, 0x66, 0x6f, 0x6e, 0x74, 0x53, 0x69, 1934 0x7a, 0x65, 0x1a, 0x32, 0x0a, 0x08, 0x46, 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 1935 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, 0x73, 0x69, 1936 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1937 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x1a, 0x9e, 0x1f, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 1938 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 1939 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 1940 0x12, 0x56, 0x0a, 0x09, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 1941 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1942 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 1943 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 1944 0x61, 0x67, 0x65, 0x2e, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 1945 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 1946 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1947 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1948 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 1949 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 1950 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x6e, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 1951 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 1952 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1953 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 1954 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 1955 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 1956 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 1957 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 1958 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1959 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 1960 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1961 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06, 0x62, 1962 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x58, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 1963 0x70, 0x68, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1964 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1965 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 1966 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x67, 0x72, 1967 0x61, 0x70, 0x68, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x73, 0x12, 1968 0x49, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 1969 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 1970 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1971 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 1972 0x69, 0x6e, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x06, 0x74, 0x6f, 1973 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 1974 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1975 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 1976 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 1977 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x65, 0x0a, 0x0f, 0x76, 0x69, 0x73, 0x75, 1978 0x61, 0x6c, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 1979 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1980 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 1981 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 1982 0x65, 0x2e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 1983 0x0e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 1984 0x4c, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 1985 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1986 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1987 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 1988 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x59, 0x0a, 1989 0x0b, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 1990 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1991 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 1992 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 1993 0x67, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0a, 0x66, 0x6f, 1994 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x4d, 0x0a, 0x09, 0x44, 0x69, 0x6d, 0x65, 1995 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 1996 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 1997 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x68, 0x65, 0x69, 1998 0x67, 0x68, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 1999 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x1a, 0x9f, 0x03, 0x0a, 0x06, 0x4c, 0x61, 0x79, 0x6f, 2000 0x75, 0x74, 0x12, 0x55, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 2001 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2002 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 2003 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 2004 0x6e, 0x74, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x0a, 0x74, 2005 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 2006 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 2007 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x62, 0x6f, 0x75, 2008 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 2009 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 2010 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 2011 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 2012 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x12, 0x63, 0x0a, 2013 0x0b, 0x6f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 2014 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 2015 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 2016 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 2017 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x2e, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 2018 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 2019 0x6f, 0x6e, 0x22, 0x65, 0x0a, 0x0b, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 2020 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x4f, 0x52, 0x49, 0x45, 0x4e, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 2021 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 2022 0x0a, 0x07, 0x50, 0x41, 0x47, 0x45, 0x5f, 0x55, 0x50, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 2023 0x41, 0x47, 0x45, 0x5f, 0x52, 0x49, 0x47, 0x48, 0x54, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x50, 2024 0x41, 0x47, 0x45, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x41, 2025 0x47, 0x45, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x10, 0x04, 0x1a, 0xc6, 0x01, 0x0a, 0x05, 0x42, 0x6c, 2026 0x6f, 0x63, 0x6b, 0x12, 0x4d, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 2027 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 2028 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 2029 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 2030 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 2031 0x75, 0x74, 0x12, 0x6e, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 2032 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 2033 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 2034 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 2035 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 2036 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 2037 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 2038 0x65, 0x73, 0x1a, 0xca, 0x01, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 2039 0x12, 0x4d, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 2040 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 2041 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 2042 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 2043 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 2044 0x6e, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 2045 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 2046 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 2047 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 2048 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 2049 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 2050 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 2051 0xc5, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 2052 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2053 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 2054 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 2055 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 2056 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x6e, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 2057 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 2058 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 2059 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 2060 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 2061 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 2062 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 2063 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 0xe5, 0x03, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 2064 0x6e, 0x12, 0x4d, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 2065 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 2066 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 2067 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 2068 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 2069 0x12, 0x69, 0x0a, 0x0e, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x72, 0x65, 2070 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2071 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 2072 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 2073 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x44, 2074 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x52, 0x0d, 0x64, 0x65, 2075 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x6e, 0x0a, 0x12, 0x64, 2076 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 2077 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2078 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 2079 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 2080 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 2081 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 2082 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 0xb1, 0x01, 0x0a, 0x0d, 2083 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x5b, 0x0a, 2084 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x47, 0x2e, 0x67, 0x6f, 2085 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 2086 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 2087 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 2088 0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x2e, 2089 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x43, 0x0a, 0x04, 0x54, 0x79, 2090 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 2091 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, 0x41, 0x43, 2092 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x57, 0x49, 0x44, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 2093 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x59, 0x50, 0x48, 0x45, 0x4e, 0x10, 0x03, 0x1a, 2094 0xe2, 0x01, 0x0a, 0x0d, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 2095 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 2096 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 2097 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 2098 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 2099 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 2100 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 2101 0x74, 0x79, 0x70, 0x65, 0x12, 0x6e, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 2102 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 2103 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 2104 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 2105 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 2106 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 2107 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 2108 0x61, 0x67, 0x65, 0x73, 0x1a, 0xe7, 0x05, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x4d, 2109 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 2110 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 2111 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 2112 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 2113 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x5e, 0x0a, 2114 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x03, 2115 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 2116 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 2117 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 2118 0x67, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 2119 0x77, 0x52, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x5a, 0x0a, 2120 0x09, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 2121 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 2122 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 2123 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 2124 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x52, 2125 0x08, 0x62, 0x6f, 0x64, 0x79, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x6e, 0x0a, 0x12, 0x64, 0x65, 0x74, 2126 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 2127 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 2128 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 2129 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 2130 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 2131 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 2132 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x60, 0x0a, 0x08, 0x54, 0x61, 0x62, 2133 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x12, 0x54, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x01, 2134 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 2135 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 2136 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 2137 0x50, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 2138 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x1a, 0x80, 0x02, 0x0a, 0x09, 2139 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x4d, 0x0a, 0x06, 0x6c, 0x61, 0x79, 2140 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 2141 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 2142 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 2143 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 2144 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x77, 0x5f, 2145 0x73, 0x70, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x77, 0x53, 2146 0x70, 0x61, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x6f, 0x6c, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x18, 2147 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x6e, 2148 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 2149 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 2150 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 2151 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 2152 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 2153 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 2154 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 0xad, 2155 0x03, 0x0a, 0x09, 0x46, 0x6f, 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x54, 0x0a, 0x0a, 2156 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 2157 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 2158 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 2159 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 2160 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 2161 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 2162 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2163 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 2164 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 2165 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x0a, 2166 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x77, 0x0a, 0x17, 0x6e, 0x61, 2167 0x6d, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 2168 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 2169 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 2170 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 2171 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 2172 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x15, 0x6e, 0x61, 2173 0x6d, 0x65, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 2174 0x67, 0x65, 0x73, 0x12, 0x79, 0x0a, 0x18, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x64, 0x65, 0x74, 2175 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 2176 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 2177 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 2178 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 2179 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 2180 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x16, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x74, 2181 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x57, 2182 0x0a, 0x10, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 2183 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 2184 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 2185 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 2186 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 2187 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0xb5, 0x01, 0x0a, 0x06, 0x45, 0x6e, 0x74, 0x69, 2188 0x74, 0x79, 0x12, 0x55, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 2189 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2190 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 2191 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 2192 0x6e, 0x74, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x0a, 0x74, 2193 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 2194 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 2195 0x0c, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 2196 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 2197 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 2198 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 2199 0x68, 0x0a, 0x0e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 2200 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 2201 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 2202 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 2203 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 2204 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 2205 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xc0, 0x01, 0x0a, 0x0a, 0x54, 0x65, 2206 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x65, 0x0a, 0x0d, 0x74, 0x65, 0x78, 0x74, 2207 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 2208 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 2209 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 2210 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 2211 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 2212 0x74, 0x52, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 2213 0x4b, 0x0a, 0x0b, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 2214 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 2215 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 2216 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 2217 0x28, 0x03, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x08, 0x0a, 0x06, 2218 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0xea, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 2219 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 2220 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0d, 2221 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 2222 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 2223 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 2224 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 2225 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 2226 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 2227 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 2228 0x6e, 0x74, 0x41, 0x49, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 2229 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x6f, 0x63, 0x75, 2230 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 2231 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 2232 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 2233 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 2234} 2235 2236var ( 2237 file_google_cloud_documentai_v1beta1_document_proto_rawDescOnce sync.Once 2238 file_google_cloud_documentai_v1beta1_document_proto_rawDescData = file_google_cloud_documentai_v1beta1_document_proto_rawDesc 2239) 2240 2241func file_google_cloud_documentai_v1beta1_document_proto_rawDescGZIP() []byte { 2242 file_google_cloud_documentai_v1beta1_document_proto_rawDescOnce.Do(func() { 2243 file_google_cloud_documentai_v1beta1_document_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_documentai_v1beta1_document_proto_rawDescData) 2244 }) 2245 return file_google_cloud_documentai_v1beta1_document_proto_rawDescData 2246} 2247 2248var file_google_cloud_documentai_v1beta1_document_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 2249var file_google_cloud_documentai_v1beta1_document_proto_msgTypes = make([]protoimpl.MessageInfo, 22) 2250var file_google_cloud_documentai_v1beta1_document_proto_goTypes = []interface{}{ 2251 (Document_Page_Layout_Orientation)(0), // 0: google.cloud.documentai.v1beta1.Document.Page.Layout.Orientation 2252 (Document_Page_Token_DetectedBreak_Type)(0), // 1: google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak.Type 2253 (*Document)(nil), // 2: google.cloud.documentai.v1beta1.Document 2254 (*Document_ShardInfo)(nil), // 3: google.cloud.documentai.v1beta1.Document.ShardInfo 2255 (*Document_Style)(nil), // 4: google.cloud.documentai.v1beta1.Document.Style 2256 (*Document_Page)(nil), // 5: google.cloud.documentai.v1beta1.Document.Page 2257 (*Document_Entity)(nil), // 6: google.cloud.documentai.v1beta1.Document.Entity 2258 (*Document_EntityRelation)(nil), // 7: google.cloud.documentai.v1beta1.Document.EntityRelation 2259 (*Document_TextAnchor)(nil), // 8: google.cloud.documentai.v1beta1.Document.TextAnchor 2260 (*Document_Style_FontSize)(nil), // 9: google.cloud.documentai.v1beta1.Document.Style.FontSize 2261 (*Document_Page_Dimension)(nil), // 10: google.cloud.documentai.v1beta1.Document.Page.Dimension 2262 (*Document_Page_Layout)(nil), // 11: google.cloud.documentai.v1beta1.Document.Page.Layout 2263 (*Document_Page_Block)(nil), // 12: google.cloud.documentai.v1beta1.Document.Page.Block 2264 (*Document_Page_Paragraph)(nil), // 13: google.cloud.documentai.v1beta1.Document.Page.Paragraph 2265 (*Document_Page_Line)(nil), // 14: google.cloud.documentai.v1beta1.Document.Page.Line 2266 (*Document_Page_Token)(nil), // 15: google.cloud.documentai.v1beta1.Document.Page.Token 2267 (*Document_Page_VisualElement)(nil), // 16: google.cloud.documentai.v1beta1.Document.Page.VisualElement 2268 (*Document_Page_Table)(nil), // 17: google.cloud.documentai.v1beta1.Document.Page.Table 2269 (*Document_Page_FormField)(nil), // 18: google.cloud.documentai.v1beta1.Document.Page.FormField 2270 (*Document_Page_DetectedLanguage)(nil), // 19: google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2271 (*Document_Page_Token_DetectedBreak)(nil), // 20: google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak 2272 (*Document_Page_Table_TableRow)(nil), // 21: google.cloud.documentai.v1beta1.Document.Page.Table.TableRow 2273 (*Document_Page_Table_TableCell)(nil), // 22: google.cloud.documentai.v1beta1.Document.Page.Table.TableCell 2274 (*Document_TextAnchor_TextSegment)(nil), // 23: google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment 2275 (*status.Status)(nil), // 24: google.rpc.Status 2276 (*color.Color)(nil), // 25: google.type.Color 2277 (*BoundingPoly)(nil), // 26: google.cloud.documentai.v1beta1.BoundingPoly 2278} 2279var file_google_cloud_documentai_v1beta1_document_proto_depIdxs = []int32{ 2280 4, // 0: google.cloud.documentai.v1beta1.Document.text_styles:type_name -> google.cloud.documentai.v1beta1.Document.Style 2281 5, // 1: google.cloud.documentai.v1beta1.Document.pages:type_name -> google.cloud.documentai.v1beta1.Document.Page 2282 6, // 2: google.cloud.documentai.v1beta1.Document.entities:type_name -> google.cloud.documentai.v1beta1.Document.Entity 2283 7, // 3: google.cloud.documentai.v1beta1.Document.entity_relations:type_name -> google.cloud.documentai.v1beta1.Document.EntityRelation 2284 3, // 4: google.cloud.documentai.v1beta1.Document.shard_info:type_name -> google.cloud.documentai.v1beta1.Document.ShardInfo 2285 24, // 5: google.cloud.documentai.v1beta1.Document.error:type_name -> google.rpc.Status 2286 8, // 6: google.cloud.documentai.v1beta1.Document.Style.text_anchor:type_name -> google.cloud.documentai.v1beta1.Document.TextAnchor 2287 25, // 7: google.cloud.documentai.v1beta1.Document.Style.color:type_name -> google.type.Color 2288 25, // 8: google.cloud.documentai.v1beta1.Document.Style.background_color:type_name -> google.type.Color 2289 9, // 9: google.cloud.documentai.v1beta1.Document.Style.font_size:type_name -> google.cloud.documentai.v1beta1.Document.Style.FontSize 2290 10, // 10: google.cloud.documentai.v1beta1.Document.Page.dimension:type_name -> google.cloud.documentai.v1beta1.Document.Page.Dimension 2291 11, // 11: google.cloud.documentai.v1beta1.Document.Page.layout:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2292 19, // 12: google.cloud.documentai.v1beta1.Document.Page.detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2293 12, // 13: google.cloud.documentai.v1beta1.Document.Page.blocks:type_name -> google.cloud.documentai.v1beta1.Document.Page.Block 2294 13, // 14: google.cloud.documentai.v1beta1.Document.Page.paragraphs:type_name -> google.cloud.documentai.v1beta1.Document.Page.Paragraph 2295 14, // 15: google.cloud.documentai.v1beta1.Document.Page.lines:type_name -> google.cloud.documentai.v1beta1.Document.Page.Line 2296 15, // 16: google.cloud.documentai.v1beta1.Document.Page.tokens:type_name -> google.cloud.documentai.v1beta1.Document.Page.Token 2297 16, // 17: google.cloud.documentai.v1beta1.Document.Page.visual_elements:type_name -> google.cloud.documentai.v1beta1.Document.Page.VisualElement 2298 17, // 18: google.cloud.documentai.v1beta1.Document.Page.tables:type_name -> google.cloud.documentai.v1beta1.Document.Page.Table 2299 18, // 19: google.cloud.documentai.v1beta1.Document.Page.form_fields:type_name -> google.cloud.documentai.v1beta1.Document.Page.FormField 2300 8, // 20: google.cloud.documentai.v1beta1.Document.Entity.text_anchor:type_name -> google.cloud.documentai.v1beta1.Document.TextAnchor 2301 23, // 21: google.cloud.documentai.v1beta1.Document.TextAnchor.text_segments:type_name -> google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment 2302 8, // 22: google.cloud.documentai.v1beta1.Document.Page.Layout.text_anchor:type_name -> google.cloud.documentai.v1beta1.Document.TextAnchor 2303 26, // 23: google.cloud.documentai.v1beta1.Document.Page.Layout.bounding_poly:type_name -> google.cloud.documentai.v1beta1.BoundingPoly 2304 0, // 24: google.cloud.documentai.v1beta1.Document.Page.Layout.orientation:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout.Orientation 2305 11, // 25: google.cloud.documentai.v1beta1.Document.Page.Block.layout:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2306 19, // 26: google.cloud.documentai.v1beta1.Document.Page.Block.detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2307 11, // 27: google.cloud.documentai.v1beta1.Document.Page.Paragraph.layout:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2308 19, // 28: google.cloud.documentai.v1beta1.Document.Page.Paragraph.detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2309 11, // 29: google.cloud.documentai.v1beta1.Document.Page.Line.layout:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2310 19, // 30: google.cloud.documentai.v1beta1.Document.Page.Line.detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2311 11, // 31: google.cloud.documentai.v1beta1.Document.Page.Token.layout:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2312 20, // 32: google.cloud.documentai.v1beta1.Document.Page.Token.detected_break:type_name -> google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak 2313 19, // 33: google.cloud.documentai.v1beta1.Document.Page.Token.detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2314 11, // 34: google.cloud.documentai.v1beta1.Document.Page.VisualElement.layout:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2315 19, // 35: google.cloud.documentai.v1beta1.Document.Page.VisualElement.detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2316 11, // 36: google.cloud.documentai.v1beta1.Document.Page.Table.layout:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2317 21, // 37: google.cloud.documentai.v1beta1.Document.Page.Table.header_rows:type_name -> google.cloud.documentai.v1beta1.Document.Page.Table.TableRow 2318 21, // 38: google.cloud.documentai.v1beta1.Document.Page.Table.body_rows:type_name -> google.cloud.documentai.v1beta1.Document.Page.Table.TableRow 2319 19, // 39: google.cloud.documentai.v1beta1.Document.Page.Table.detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2320 11, // 40: google.cloud.documentai.v1beta1.Document.Page.FormField.field_name:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2321 11, // 41: google.cloud.documentai.v1beta1.Document.Page.FormField.field_value:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2322 19, // 42: google.cloud.documentai.v1beta1.Document.Page.FormField.name_detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2323 19, // 43: google.cloud.documentai.v1beta1.Document.Page.FormField.value_detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2324 1, // 44: google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak.type:type_name -> google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak.Type 2325 22, // 45: google.cloud.documentai.v1beta1.Document.Page.Table.TableRow.cells:type_name -> google.cloud.documentai.v1beta1.Document.Page.Table.TableCell 2326 11, // 46: google.cloud.documentai.v1beta1.Document.Page.Table.TableCell.layout:type_name -> google.cloud.documentai.v1beta1.Document.Page.Layout 2327 19, // 47: google.cloud.documentai.v1beta1.Document.Page.Table.TableCell.detected_languages:type_name -> google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage 2328 48, // [48:48] is the sub-list for method output_type 2329 48, // [48:48] is the sub-list for method input_type 2330 48, // [48:48] is the sub-list for extension type_name 2331 48, // [48:48] is the sub-list for extension extendee 2332 0, // [0:48] is the sub-list for field type_name 2333} 2334 2335func init() { file_google_cloud_documentai_v1beta1_document_proto_init() } 2336func file_google_cloud_documentai_v1beta1_document_proto_init() { 2337 if File_google_cloud_documentai_v1beta1_document_proto != nil { 2338 return 2339 } 2340 file_google_cloud_documentai_v1beta1_geometry_proto_init() 2341 if !protoimpl.UnsafeEnabled { 2342 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2343 switch v := v.(*Document); i { 2344 case 0: 2345 return &v.state 2346 case 1: 2347 return &v.sizeCache 2348 case 2: 2349 return &v.unknownFields 2350 default: 2351 return nil 2352 } 2353 } 2354 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2355 switch v := v.(*Document_ShardInfo); i { 2356 case 0: 2357 return &v.state 2358 case 1: 2359 return &v.sizeCache 2360 case 2: 2361 return &v.unknownFields 2362 default: 2363 return nil 2364 } 2365 } 2366 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2367 switch v := v.(*Document_Style); i { 2368 case 0: 2369 return &v.state 2370 case 1: 2371 return &v.sizeCache 2372 case 2: 2373 return &v.unknownFields 2374 default: 2375 return nil 2376 } 2377 } 2378 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2379 switch v := v.(*Document_Page); i { 2380 case 0: 2381 return &v.state 2382 case 1: 2383 return &v.sizeCache 2384 case 2: 2385 return &v.unknownFields 2386 default: 2387 return nil 2388 } 2389 } 2390 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2391 switch v := v.(*Document_Entity); i { 2392 case 0: 2393 return &v.state 2394 case 1: 2395 return &v.sizeCache 2396 case 2: 2397 return &v.unknownFields 2398 default: 2399 return nil 2400 } 2401 } 2402 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2403 switch v := v.(*Document_EntityRelation); i { 2404 case 0: 2405 return &v.state 2406 case 1: 2407 return &v.sizeCache 2408 case 2: 2409 return &v.unknownFields 2410 default: 2411 return nil 2412 } 2413 } 2414 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2415 switch v := v.(*Document_TextAnchor); i { 2416 case 0: 2417 return &v.state 2418 case 1: 2419 return &v.sizeCache 2420 case 2: 2421 return &v.unknownFields 2422 default: 2423 return nil 2424 } 2425 } 2426 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2427 switch v := v.(*Document_Style_FontSize); i { 2428 case 0: 2429 return &v.state 2430 case 1: 2431 return &v.sizeCache 2432 case 2: 2433 return &v.unknownFields 2434 default: 2435 return nil 2436 } 2437 } 2438 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2439 switch v := v.(*Document_Page_Dimension); i { 2440 case 0: 2441 return &v.state 2442 case 1: 2443 return &v.sizeCache 2444 case 2: 2445 return &v.unknownFields 2446 default: 2447 return nil 2448 } 2449 } 2450 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2451 switch v := v.(*Document_Page_Layout); i { 2452 case 0: 2453 return &v.state 2454 case 1: 2455 return &v.sizeCache 2456 case 2: 2457 return &v.unknownFields 2458 default: 2459 return nil 2460 } 2461 } 2462 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2463 switch v := v.(*Document_Page_Block); i { 2464 case 0: 2465 return &v.state 2466 case 1: 2467 return &v.sizeCache 2468 case 2: 2469 return &v.unknownFields 2470 default: 2471 return nil 2472 } 2473 } 2474 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2475 switch v := v.(*Document_Page_Paragraph); i { 2476 case 0: 2477 return &v.state 2478 case 1: 2479 return &v.sizeCache 2480 case 2: 2481 return &v.unknownFields 2482 default: 2483 return nil 2484 } 2485 } 2486 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2487 switch v := v.(*Document_Page_Line); i { 2488 case 0: 2489 return &v.state 2490 case 1: 2491 return &v.sizeCache 2492 case 2: 2493 return &v.unknownFields 2494 default: 2495 return nil 2496 } 2497 } 2498 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2499 switch v := v.(*Document_Page_Token); i { 2500 case 0: 2501 return &v.state 2502 case 1: 2503 return &v.sizeCache 2504 case 2: 2505 return &v.unknownFields 2506 default: 2507 return nil 2508 } 2509 } 2510 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2511 switch v := v.(*Document_Page_VisualElement); i { 2512 case 0: 2513 return &v.state 2514 case 1: 2515 return &v.sizeCache 2516 case 2: 2517 return &v.unknownFields 2518 default: 2519 return nil 2520 } 2521 } 2522 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2523 switch v := v.(*Document_Page_Table); i { 2524 case 0: 2525 return &v.state 2526 case 1: 2527 return &v.sizeCache 2528 case 2: 2529 return &v.unknownFields 2530 default: 2531 return nil 2532 } 2533 } 2534 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2535 switch v := v.(*Document_Page_FormField); i { 2536 case 0: 2537 return &v.state 2538 case 1: 2539 return &v.sizeCache 2540 case 2: 2541 return &v.unknownFields 2542 default: 2543 return nil 2544 } 2545 } 2546 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2547 switch v := v.(*Document_Page_DetectedLanguage); i { 2548 case 0: 2549 return &v.state 2550 case 1: 2551 return &v.sizeCache 2552 case 2: 2553 return &v.unknownFields 2554 default: 2555 return nil 2556 } 2557 } 2558 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2559 switch v := v.(*Document_Page_Token_DetectedBreak); i { 2560 case 0: 2561 return &v.state 2562 case 1: 2563 return &v.sizeCache 2564 case 2: 2565 return &v.unknownFields 2566 default: 2567 return nil 2568 } 2569 } 2570 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2571 switch v := v.(*Document_Page_Table_TableRow); i { 2572 case 0: 2573 return &v.state 2574 case 1: 2575 return &v.sizeCache 2576 case 2: 2577 return &v.unknownFields 2578 default: 2579 return nil 2580 } 2581 } 2582 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 2583 switch v := v.(*Document_Page_Table_TableCell); i { 2584 case 0: 2585 return &v.state 2586 case 1: 2587 return &v.sizeCache 2588 case 2: 2589 return &v.unknownFields 2590 default: 2591 return nil 2592 } 2593 } 2594 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 2595 switch v := v.(*Document_TextAnchor_TextSegment); i { 2596 case 0: 2597 return &v.state 2598 case 1: 2599 return &v.sizeCache 2600 case 2: 2601 return &v.unknownFields 2602 default: 2603 return nil 2604 } 2605 } 2606 } 2607 file_google_cloud_documentai_v1beta1_document_proto_msgTypes[0].OneofWrappers = []interface{}{ 2608 (*Document_Uri)(nil), 2609 (*Document_Content)(nil), 2610 } 2611 type x struct{} 2612 out := protoimpl.TypeBuilder{ 2613 File: protoimpl.DescBuilder{ 2614 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2615 RawDescriptor: file_google_cloud_documentai_v1beta1_document_proto_rawDesc, 2616 NumEnums: 2, 2617 NumMessages: 22, 2618 NumExtensions: 0, 2619 NumServices: 0, 2620 }, 2621 GoTypes: file_google_cloud_documentai_v1beta1_document_proto_goTypes, 2622 DependencyIndexes: file_google_cloud_documentai_v1beta1_document_proto_depIdxs, 2623 EnumInfos: file_google_cloud_documentai_v1beta1_document_proto_enumTypes, 2624 MessageInfos: file_google_cloud_documentai_v1beta1_document_proto_msgTypes, 2625 }.Build() 2626 File_google_cloud_documentai_v1beta1_document_proto = out.File 2627 file_google_cloud_documentai_v1beta1_document_proto_rawDesc = nil 2628 file_google_cloud_documentai_v1beta1_document_proto_goTypes = nil 2629 file_google_cloud_documentai_v1beta1_document_proto_depIdxs = nil 2630} 2631