1// Copyright 2021 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// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/cloud/documentai/v1/document.proto 20 21package documentai 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 status "google.golang.org/genproto/googleapis/rpc/status" 29 color "google.golang.org/genproto/googleapis/type/color" 30 date "google.golang.org/genproto/googleapis/type/date" 31 datetime "google.golang.org/genproto/googleapis/type/datetime" 32 money "google.golang.org/genproto/googleapis/type/money" 33 postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" 34 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 35 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 36 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 37) 38 39const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44) 45 46// Detected human reading orientation. 47type Document_Page_Layout_Orientation int32 48 49const ( 50 // Unspecified orientation. 51 Document_Page_Layout_ORIENTATION_UNSPECIFIED Document_Page_Layout_Orientation = 0 52 // Orientation is aligned with page up. 53 Document_Page_Layout_PAGE_UP Document_Page_Layout_Orientation = 1 54 // Orientation is aligned with page right. 55 // Turn the head 90 degrees clockwise from upright to read. 56 Document_Page_Layout_PAGE_RIGHT Document_Page_Layout_Orientation = 2 57 // Orientation is aligned with page down. 58 // Turn the head 180 degrees from upright to read. 59 Document_Page_Layout_PAGE_DOWN Document_Page_Layout_Orientation = 3 60 // Orientation is aligned with page left. 61 // Turn the head 90 degrees counterclockwise from upright to read. 62 Document_Page_Layout_PAGE_LEFT Document_Page_Layout_Orientation = 4 63) 64 65// Enum value maps for Document_Page_Layout_Orientation. 66var ( 67 Document_Page_Layout_Orientation_name = map[int32]string{ 68 0: "ORIENTATION_UNSPECIFIED", 69 1: "PAGE_UP", 70 2: "PAGE_RIGHT", 71 3: "PAGE_DOWN", 72 4: "PAGE_LEFT", 73 } 74 Document_Page_Layout_Orientation_value = map[string]int32{ 75 "ORIENTATION_UNSPECIFIED": 0, 76 "PAGE_UP": 1, 77 "PAGE_RIGHT": 2, 78 "PAGE_DOWN": 3, 79 "PAGE_LEFT": 4, 80 } 81) 82 83func (x Document_Page_Layout_Orientation) Enum() *Document_Page_Layout_Orientation { 84 p := new(Document_Page_Layout_Orientation) 85 *p = x 86 return p 87} 88 89func (x Document_Page_Layout_Orientation) String() string { 90 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 91} 92 93func (Document_Page_Layout_Orientation) Descriptor() protoreflect.EnumDescriptor { 94 return file_google_cloud_documentai_v1_document_proto_enumTypes[0].Descriptor() 95} 96 97func (Document_Page_Layout_Orientation) Type() protoreflect.EnumType { 98 return &file_google_cloud_documentai_v1_document_proto_enumTypes[0] 99} 100 101func (x Document_Page_Layout_Orientation) Number() protoreflect.EnumNumber { 102 return protoreflect.EnumNumber(x) 103} 104 105// Deprecated: Use Document_Page_Layout_Orientation.Descriptor instead. 106func (Document_Page_Layout_Orientation) EnumDescriptor() ([]byte, []int) { 107 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 3, 0} 108} 109 110// Enum to denote the type of break found. 111type Document_Page_Token_DetectedBreak_Type int32 112 113const ( 114 // Unspecified break type. 115 Document_Page_Token_DetectedBreak_TYPE_UNSPECIFIED Document_Page_Token_DetectedBreak_Type = 0 116 // A single whitespace. 117 Document_Page_Token_DetectedBreak_SPACE Document_Page_Token_DetectedBreak_Type = 1 118 // A wider whitespace. 119 Document_Page_Token_DetectedBreak_WIDE_SPACE Document_Page_Token_DetectedBreak_Type = 2 120 // A hyphen that indicates that a token has been split across lines. 121 Document_Page_Token_DetectedBreak_HYPHEN Document_Page_Token_DetectedBreak_Type = 3 122) 123 124// Enum value maps for Document_Page_Token_DetectedBreak_Type. 125var ( 126 Document_Page_Token_DetectedBreak_Type_name = map[int32]string{ 127 0: "TYPE_UNSPECIFIED", 128 1: "SPACE", 129 2: "WIDE_SPACE", 130 3: "HYPHEN", 131 } 132 Document_Page_Token_DetectedBreak_Type_value = map[string]int32{ 133 "TYPE_UNSPECIFIED": 0, 134 "SPACE": 1, 135 "WIDE_SPACE": 2, 136 "HYPHEN": 3, 137 } 138) 139 140func (x Document_Page_Token_DetectedBreak_Type) Enum() *Document_Page_Token_DetectedBreak_Type { 141 p := new(Document_Page_Token_DetectedBreak_Type) 142 *p = x 143 return p 144} 145 146func (x Document_Page_Token_DetectedBreak_Type) String() string { 147 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 148} 149 150func (Document_Page_Token_DetectedBreak_Type) Descriptor() protoreflect.EnumDescriptor { 151 return file_google_cloud_documentai_v1_document_proto_enumTypes[1].Descriptor() 152} 153 154func (Document_Page_Token_DetectedBreak_Type) Type() protoreflect.EnumType { 155 return &file_google_cloud_documentai_v1_document_proto_enumTypes[1] 156} 157 158func (x Document_Page_Token_DetectedBreak_Type) Number() protoreflect.EnumNumber { 159 return protoreflect.EnumNumber(x) 160} 161 162// Deprecated: Use Document_Page_Token_DetectedBreak_Type.Descriptor instead. 163func (Document_Page_Token_DetectedBreak_Type) EnumDescriptor() ([]byte, []int) { 164 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 7, 0, 0} 165} 166 167// The type of layout that is being referenced. 168type Document_PageAnchor_PageRef_LayoutType int32 169 170const ( 171 // Layout Unspecified. 172 Document_PageAnchor_PageRef_LAYOUT_TYPE_UNSPECIFIED Document_PageAnchor_PageRef_LayoutType = 0 173 // References a [Page.blocks][google.cloud.documentai.v1.Document.Page.blocks] element. 174 Document_PageAnchor_PageRef_BLOCK Document_PageAnchor_PageRef_LayoutType = 1 175 // References a [Page.paragraphs][google.cloud.documentai.v1.Document.Page.paragraphs] element. 176 Document_PageAnchor_PageRef_PARAGRAPH Document_PageAnchor_PageRef_LayoutType = 2 177 // References a [Page.lines][google.cloud.documentai.v1.Document.Page.lines] element. 178 Document_PageAnchor_PageRef_LINE Document_PageAnchor_PageRef_LayoutType = 3 179 // References a [Page.tokens][google.cloud.documentai.v1.Document.Page.tokens] element. 180 Document_PageAnchor_PageRef_TOKEN Document_PageAnchor_PageRef_LayoutType = 4 181 // References a [Page.visual_elements][google.cloud.documentai.v1.Document.Page.visual_elements] element. 182 Document_PageAnchor_PageRef_VISUAL_ELEMENT Document_PageAnchor_PageRef_LayoutType = 5 183 // Refrrences a [Page.tables][google.cloud.documentai.v1.Document.Page.tables] element. 184 Document_PageAnchor_PageRef_TABLE Document_PageAnchor_PageRef_LayoutType = 6 185 // References a [Page.form_fields][google.cloud.documentai.v1.Document.Page.form_fields] element. 186 Document_PageAnchor_PageRef_FORM_FIELD Document_PageAnchor_PageRef_LayoutType = 7 187) 188 189// Enum value maps for Document_PageAnchor_PageRef_LayoutType. 190var ( 191 Document_PageAnchor_PageRef_LayoutType_name = map[int32]string{ 192 0: "LAYOUT_TYPE_UNSPECIFIED", 193 1: "BLOCK", 194 2: "PARAGRAPH", 195 3: "LINE", 196 4: "TOKEN", 197 5: "VISUAL_ELEMENT", 198 6: "TABLE", 199 7: "FORM_FIELD", 200 } 201 Document_PageAnchor_PageRef_LayoutType_value = map[string]int32{ 202 "LAYOUT_TYPE_UNSPECIFIED": 0, 203 "BLOCK": 1, 204 "PARAGRAPH": 2, 205 "LINE": 3, 206 "TOKEN": 4, 207 "VISUAL_ELEMENT": 5, 208 "TABLE": 6, 209 "FORM_FIELD": 7, 210 } 211) 212 213func (x Document_PageAnchor_PageRef_LayoutType) Enum() *Document_PageAnchor_PageRef_LayoutType { 214 p := new(Document_PageAnchor_PageRef_LayoutType) 215 *p = x 216 return p 217} 218 219func (x Document_PageAnchor_PageRef_LayoutType) String() string { 220 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 221} 222 223func (Document_PageAnchor_PageRef_LayoutType) Descriptor() protoreflect.EnumDescriptor { 224 return file_google_cloud_documentai_v1_document_proto_enumTypes[2].Descriptor() 225} 226 227func (Document_PageAnchor_PageRef_LayoutType) Type() protoreflect.EnumType { 228 return &file_google_cloud_documentai_v1_document_proto_enumTypes[2] 229} 230 231func (x Document_PageAnchor_PageRef_LayoutType) Number() protoreflect.EnumNumber { 232 return protoreflect.EnumNumber(x) 233} 234 235// Deprecated: Use Document_PageAnchor_PageRef_LayoutType.Descriptor instead. 236func (Document_PageAnchor_PageRef_LayoutType) EnumDescriptor() ([]byte, []int) { 237 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 6, 0, 0} 238} 239 240// If a processor or agent does an explicit operation on existing elements. 241type Document_Provenance_OperationType int32 242 243const ( 244 // Operation type unspecified. 245 Document_Provenance_OPERATION_TYPE_UNSPECIFIED Document_Provenance_OperationType = 0 246 // Add an element. Implicit if no `parents` are set for the provenance. 247 Document_Provenance_ADD Document_Provenance_OperationType = 1 248 // The element is removed. No `parents` should be set. 249 Document_Provenance_REMOVE Document_Provenance_OperationType = 2 250 // Explicitly replaces the element(s) identified by `parents`. 251 Document_Provenance_REPLACE Document_Provenance_OperationType = 3 252 // Element is requested for human review. 253 Document_Provenance_EVAL_REQUESTED Document_Provenance_OperationType = 4 254 // Element is reviewed and approved at human review, confidence will be 255 // set to 1.0. 256 Document_Provenance_EVAL_APPROVED Document_Provenance_OperationType = 5 257 // Element is skipped in the validation process. 258 Document_Provenance_EVAL_SKIPPED Document_Provenance_OperationType = 6 259) 260 261// Enum value maps for Document_Provenance_OperationType. 262var ( 263 Document_Provenance_OperationType_name = map[int32]string{ 264 0: "OPERATION_TYPE_UNSPECIFIED", 265 1: "ADD", 266 2: "REMOVE", 267 3: "REPLACE", 268 4: "EVAL_REQUESTED", 269 5: "EVAL_APPROVED", 270 6: "EVAL_SKIPPED", 271 } 272 Document_Provenance_OperationType_value = map[string]int32{ 273 "OPERATION_TYPE_UNSPECIFIED": 0, 274 "ADD": 1, 275 "REMOVE": 2, 276 "REPLACE": 3, 277 "EVAL_REQUESTED": 4, 278 "EVAL_APPROVED": 5, 279 "EVAL_SKIPPED": 6, 280 } 281) 282 283func (x Document_Provenance_OperationType) Enum() *Document_Provenance_OperationType { 284 p := new(Document_Provenance_OperationType) 285 *p = x 286 return p 287} 288 289func (x Document_Provenance_OperationType) String() string { 290 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 291} 292 293func (Document_Provenance_OperationType) Descriptor() protoreflect.EnumDescriptor { 294 return file_google_cloud_documentai_v1_document_proto_enumTypes[3].Descriptor() 295} 296 297func (Document_Provenance_OperationType) Type() protoreflect.EnumType { 298 return &file_google_cloud_documentai_v1_document_proto_enumTypes[3] 299} 300 301func (x Document_Provenance_OperationType) Number() protoreflect.EnumNumber { 302 return protoreflect.EnumNumber(x) 303} 304 305// Deprecated: Use Document_Provenance_OperationType.Descriptor instead. 306func (Document_Provenance_OperationType) EnumDescriptor() ([]byte, []int) { 307 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 7, 0} 308} 309 310// Document represents the canonical document resource in Document Understanding 311// AI. 312// It is an interchange format that provides insights into documents and allows 313// for collaboration between users and Document Understanding AI to iterate and 314// optimize for quality. 315type Document struct { 316 state protoimpl.MessageState 317 sizeCache protoimpl.SizeCache 318 unknownFields protoimpl.UnknownFields 319 320 // Original source document from the user. 321 // 322 // Types that are assignable to Source: 323 // *Document_Uri 324 // *Document_Content 325 Source isDocument_Source `protobuf_oneof:"source"` 326 // An IANA published MIME type (also referred to as media type). For more 327 // information, see 328 // https://www.iana.org/assignments/media-types/media-types.xhtml. 329 MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` 330 // Optional. UTF-8 encoded text in reading order from the document. 331 Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` 332 // Styles for the [Document.text][google.cloud.documentai.v1.Document.text]. 333 TextStyles []*Document_Style `protobuf:"bytes,5,rep,name=text_styles,json=textStyles,proto3" json:"text_styles,omitempty"` 334 // Visual page layout for the [Document][google.cloud.documentai.v1.Document]. 335 Pages []*Document_Page `protobuf:"bytes,6,rep,name=pages,proto3" json:"pages,omitempty"` 336 // A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards, 337 // entities in this list may cross shard boundaries. 338 Entities []*Document_Entity `protobuf:"bytes,7,rep,name=entities,proto3" json:"entities,omitempty"` 339 // Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities]. 340 EntityRelations []*Document_EntityRelation `protobuf:"bytes,8,rep,name=entity_relations,json=entityRelations,proto3" json:"entity_relations,omitempty"` 341 // A list of text corrections made to [Document.text]. This is usually 342 // used for annotating corrections to OCR mistakes. Text changes for a given 343 // revision may not overlap with each other. 344 TextChanges []*Document_TextChange `protobuf:"bytes,14,rep,name=text_changes,json=textChanges,proto3" json:"text_changes,omitempty"` 345 // Information about the sharding if this document is sharded part of a larger 346 // document. If the document is not sharded, this message is not specified. 347 ShardInfo *Document_ShardInfo `protobuf:"bytes,9,opt,name=shard_info,json=shardInfo,proto3" json:"shard_info,omitempty"` 348 // Any error that occurred while processing this document. 349 Error *status.Status `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"` 350 // Revision history of this document. 351 Revisions []*Document_Revision `protobuf:"bytes,13,rep,name=revisions,proto3" json:"revisions,omitempty"` 352} 353 354func (x *Document) Reset() { 355 *x = Document{} 356 if protoimpl.UnsafeEnabled { 357 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[0] 358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 359 ms.StoreMessageInfo(mi) 360 } 361} 362 363func (x *Document) String() string { 364 return protoimpl.X.MessageStringOf(x) 365} 366 367func (*Document) ProtoMessage() {} 368 369func (x *Document) ProtoReflect() protoreflect.Message { 370 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[0] 371 if protoimpl.UnsafeEnabled && x != nil { 372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 373 if ms.LoadMessageInfo() == nil { 374 ms.StoreMessageInfo(mi) 375 } 376 return ms 377 } 378 return mi.MessageOf(x) 379} 380 381// Deprecated: Use Document.ProtoReflect.Descriptor instead. 382func (*Document) Descriptor() ([]byte, []int) { 383 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0} 384} 385 386func (m *Document) GetSource() isDocument_Source { 387 if m != nil { 388 return m.Source 389 } 390 return nil 391} 392 393func (x *Document) GetUri() string { 394 if x, ok := x.GetSource().(*Document_Uri); ok { 395 return x.Uri 396 } 397 return "" 398} 399 400func (x *Document) GetContent() []byte { 401 if x, ok := x.GetSource().(*Document_Content); ok { 402 return x.Content 403 } 404 return nil 405} 406 407func (x *Document) GetMimeType() string { 408 if x != nil { 409 return x.MimeType 410 } 411 return "" 412} 413 414func (x *Document) GetText() string { 415 if x != nil { 416 return x.Text 417 } 418 return "" 419} 420 421func (x *Document) GetTextStyles() []*Document_Style { 422 if x != nil { 423 return x.TextStyles 424 } 425 return nil 426} 427 428func (x *Document) GetPages() []*Document_Page { 429 if x != nil { 430 return x.Pages 431 } 432 return nil 433} 434 435func (x *Document) GetEntities() []*Document_Entity { 436 if x != nil { 437 return x.Entities 438 } 439 return nil 440} 441 442func (x *Document) GetEntityRelations() []*Document_EntityRelation { 443 if x != nil { 444 return x.EntityRelations 445 } 446 return nil 447} 448 449func (x *Document) GetTextChanges() []*Document_TextChange { 450 if x != nil { 451 return x.TextChanges 452 } 453 return nil 454} 455 456func (x *Document) GetShardInfo() *Document_ShardInfo { 457 if x != nil { 458 return x.ShardInfo 459 } 460 return nil 461} 462 463func (x *Document) GetError() *status.Status { 464 if x != nil { 465 return x.Error 466 } 467 return nil 468} 469 470func (x *Document) GetRevisions() []*Document_Revision { 471 if x != nil { 472 return x.Revisions 473 } 474 return nil 475} 476 477type isDocument_Source interface { 478 isDocument_Source() 479} 480 481type Document_Uri struct { 482 // Optional. Currently supports Google Cloud Storage URI of the form 483 // `gs://bucket_name/object_name`. Object versioning is not supported. 484 // See [Google Cloud Storage Request 485 // URIs](https://cloud.google.com/storage/docs/reference-uris) for more 486 // info. 487 Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"` 488} 489 490type Document_Content struct { 491 // Optional. Inline document content, represented as a stream of bytes. 492 // Note: As with all `bytes` fields, protobuffers use a pure binary 493 // representation, whereas JSON representations use base64. 494 Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` 495} 496 497func (*Document_Uri) isDocument_Source() {} 498 499func (*Document_Content) isDocument_Source() {} 500 501// For a large document, sharding may be performed to produce several 502// document shards. Each document shard contains this field to detail which 503// shard it is. 504type Document_ShardInfo struct { 505 state protoimpl.MessageState 506 sizeCache protoimpl.SizeCache 507 unknownFields protoimpl.UnknownFields 508 509 // The 0-based index of this shard. 510 ShardIndex int64 `protobuf:"varint,1,opt,name=shard_index,json=shardIndex,proto3" json:"shard_index,omitempty"` 511 // Total number of shards. 512 ShardCount int64 `protobuf:"varint,2,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"` 513 // The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall 514 // document global text. 515 TextOffset int64 `protobuf:"varint,3,opt,name=text_offset,json=textOffset,proto3" json:"text_offset,omitempty"` 516} 517 518func (x *Document_ShardInfo) Reset() { 519 *x = Document_ShardInfo{} 520 if protoimpl.UnsafeEnabled { 521 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[1] 522 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 523 ms.StoreMessageInfo(mi) 524 } 525} 526 527func (x *Document_ShardInfo) String() string { 528 return protoimpl.X.MessageStringOf(x) 529} 530 531func (*Document_ShardInfo) ProtoMessage() {} 532 533func (x *Document_ShardInfo) ProtoReflect() protoreflect.Message { 534 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[1] 535 if protoimpl.UnsafeEnabled && x != nil { 536 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 537 if ms.LoadMessageInfo() == nil { 538 ms.StoreMessageInfo(mi) 539 } 540 return ms 541 } 542 return mi.MessageOf(x) 543} 544 545// Deprecated: Use Document_ShardInfo.ProtoReflect.Descriptor instead. 546func (*Document_ShardInfo) Descriptor() ([]byte, []int) { 547 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 0} 548} 549 550func (x *Document_ShardInfo) GetShardIndex() int64 { 551 if x != nil { 552 return x.ShardIndex 553 } 554 return 0 555} 556 557func (x *Document_ShardInfo) GetShardCount() int64 { 558 if x != nil { 559 return x.ShardCount 560 } 561 return 0 562} 563 564func (x *Document_ShardInfo) GetTextOffset() int64 { 565 if x != nil { 566 return x.TextOffset 567 } 568 return 0 569} 570 571// Annotation for common text style attributes. This adheres to CSS 572// conventions as much as possible. 573type Document_Style struct { 574 state protoimpl.MessageState 575 sizeCache protoimpl.SizeCache 576 unknownFields protoimpl.UnknownFields 577 578 // Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. 579 TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` 580 // Text color. 581 Color *color.Color `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` 582 // Text background color. 583 BackgroundColor *color.Color `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` 584 // Font weight. Possible values are normal, bold, bolder, and lighter. 585 // https://www.w3schools.com/cssref/pr_font_weight.asp 586 FontWeight string `protobuf:"bytes,4,opt,name=font_weight,json=fontWeight,proto3" json:"font_weight,omitempty"` 587 // Text style. Possible values are normal, italic, and oblique. 588 // https://www.w3schools.com/cssref/pr_font_font-style.asp 589 TextStyle string `protobuf:"bytes,5,opt,name=text_style,json=textStyle,proto3" json:"text_style,omitempty"` 590 // Text decoration. Follows CSS standard. 591 // <text-decoration-line> <text-decoration-color> <text-decoration-style> 592 // https://www.w3schools.com/cssref/pr_text_text-decoration.asp 593 TextDecoration string `protobuf:"bytes,6,opt,name=text_decoration,json=textDecoration,proto3" json:"text_decoration,omitempty"` 594 // Font size. 595 FontSize *Document_Style_FontSize `protobuf:"bytes,7,opt,name=font_size,json=fontSize,proto3" json:"font_size,omitempty"` 596} 597 598func (x *Document_Style) Reset() { 599 *x = Document_Style{} 600 if protoimpl.UnsafeEnabled { 601 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[2] 602 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 603 ms.StoreMessageInfo(mi) 604 } 605} 606 607func (x *Document_Style) String() string { 608 return protoimpl.X.MessageStringOf(x) 609} 610 611func (*Document_Style) ProtoMessage() {} 612 613func (x *Document_Style) ProtoReflect() protoreflect.Message { 614 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[2] 615 if protoimpl.UnsafeEnabled && x != nil { 616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 617 if ms.LoadMessageInfo() == nil { 618 ms.StoreMessageInfo(mi) 619 } 620 return ms 621 } 622 return mi.MessageOf(x) 623} 624 625// Deprecated: Use Document_Style.ProtoReflect.Descriptor instead. 626func (*Document_Style) Descriptor() ([]byte, []int) { 627 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 1} 628} 629 630func (x *Document_Style) GetTextAnchor() *Document_TextAnchor { 631 if x != nil { 632 return x.TextAnchor 633 } 634 return nil 635} 636 637func (x *Document_Style) GetColor() *color.Color { 638 if x != nil { 639 return x.Color 640 } 641 return nil 642} 643 644func (x *Document_Style) GetBackgroundColor() *color.Color { 645 if x != nil { 646 return x.BackgroundColor 647 } 648 return nil 649} 650 651func (x *Document_Style) GetFontWeight() string { 652 if x != nil { 653 return x.FontWeight 654 } 655 return "" 656} 657 658func (x *Document_Style) GetTextStyle() string { 659 if x != nil { 660 return x.TextStyle 661 } 662 return "" 663} 664 665func (x *Document_Style) GetTextDecoration() string { 666 if x != nil { 667 return x.TextDecoration 668 } 669 return "" 670} 671 672func (x *Document_Style) GetFontSize() *Document_Style_FontSize { 673 if x != nil { 674 return x.FontSize 675 } 676 return nil 677} 678 679// A page in a [Document][google.cloud.documentai.v1.Document]. 680type Document_Page struct { 681 state protoimpl.MessageState 682 sizeCache protoimpl.SizeCache 683 unknownFields protoimpl.UnknownFields 684 685 // 1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document]. 686 // Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual 687 // processing. 688 PageNumber int32 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` 689 // Rendered image for this page. This image is preprocessed to remove any 690 // skew, rotation, and distortions such that the annotation bounding boxes 691 // can be upright and axis-aligned. 692 Image *Document_Page_Image `protobuf:"bytes,13,opt,name=image,proto3" json:"image,omitempty"` 693 // Transformation matrices that were applied to the original document image 694 // to produce [Page.image][google.cloud.documentai.v1.Document.Page.image]. 695 Transforms []*Document_Page_Matrix `protobuf:"bytes,14,rep,name=transforms,proto3" json:"transforms,omitempty"` 696 // Physical dimension of the page. 697 Dimension *Document_Page_Dimension `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` 698 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page. 699 Layout *Document_Page_Layout `protobuf:"bytes,3,opt,name=layout,proto3" json:"layout,omitempty"` 700 // A list of detected languages together with confidence. 701 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 702 // A list of visually detected text blocks on the page. 703 // A block has a set of lines (collected into paragraphs) that have a common 704 // line-spacing and orientation. 705 Blocks []*Document_Page_Block `protobuf:"bytes,5,rep,name=blocks,proto3" json:"blocks,omitempty"` 706 // A list of visually detected text paragraphs on the page. 707 // A collection of lines that a human would perceive as a paragraph. 708 Paragraphs []*Document_Page_Paragraph `protobuf:"bytes,6,rep,name=paragraphs,proto3" json:"paragraphs,omitempty"` 709 // A list of visually detected text lines on the page. 710 // A collection of tokens that a human would perceive as a line. 711 Lines []*Document_Page_Line `protobuf:"bytes,7,rep,name=lines,proto3" json:"lines,omitempty"` 712 // A list of visually detected tokens on the page. 713 Tokens []*Document_Page_Token `protobuf:"bytes,8,rep,name=tokens,proto3" json:"tokens,omitempty"` 714 // A list of detected non-text visual elements e.g. checkbox, 715 // signature etc. on the page. 716 VisualElements []*Document_Page_VisualElement `protobuf:"bytes,9,rep,name=visual_elements,json=visualElements,proto3" json:"visual_elements,omitempty"` 717 // A list of visually detected tables on the page. 718 Tables []*Document_Page_Table `protobuf:"bytes,10,rep,name=tables,proto3" json:"tables,omitempty"` 719 // A list of visually detected form fields on the page. 720 FormFields []*Document_Page_FormField `protobuf:"bytes,11,rep,name=form_fields,json=formFields,proto3" json:"form_fields,omitempty"` 721 // The history of this page. 722 Provenance *Document_Provenance `protobuf:"bytes,16,opt,name=provenance,proto3" json:"provenance,omitempty"` 723} 724 725func (x *Document_Page) Reset() { 726 *x = Document_Page{} 727 if protoimpl.UnsafeEnabled { 728 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[3] 729 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 730 ms.StoreMessageInfo(mi) 731 } 732} 733 734func (x *Document_Page) String() string { 735 return protoimpl.X.MessageStringOf(x) 736} 737 738func (*Document_Page) ProtoMessage() {} 739 740func (x *Document_Page) ProtoReflect() protoreflect.Message { 741 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[3] 742 if protoimpl.UnsafeEnabled && x != nil { 743 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 744 if ms.LoadMessageInfo() == nil { 745 ms.StoreMessageInfo(mi) 746 } 747 return ms 748 } 749 return mi.MessageOf(x) 750} 751 752// Deprecated: Use Document_Page.ProtoReflect.Descriptor instead. 753func (*Document_Page) Descriptor() ([]byte, []int) { 754 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2} 755} 756 757func (x *Document_Page) GetPageNumber() int32 { 758 if x != nil { 759 return x.PageNumber 760 } 761 return 0 762} 763 764func (x *Document_Page) GetImage() *Document_Page_Image { 765 if x != nil { 766 return x.Image 767 } 768 return nil 769} 770 771func (x *Document_Page) GetTransforms() []*Document_Page_Matrix { 772 if x != nil { 773 return x.Transforms 774 } 775 return nil 776} 777 778func (x *Document_Page) GetDimension() *Document_Page_Dimension { 779 if x != nil { 780 return x.Dimension 781 } 782 return nil 783} 784 785func (x *Document_Page) GetLayout() *Document_Page_Layout { 786 if x != nil { 787 return x.Layout 788 } 789 return nil 790} 791 792func (x *Document_Page) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 793 if x != nil { 794 return x.DetectedLanguages 795 } 796 return nil 797} 798 799func (x *Document_Page) GetBlocks() []*Document_Page_Block { 800 if x != nil { 801 return x.Blocks 802 } 803 return nil 804} 805 806func (x *Document_Page) GetParagraphs() []*Document_Page_Paragraph { 807 if x != nil { 808 return x.Paragraphs 809 } 810 return nil 811} 812 813func (x *Document_Page) GetLines() []*Document_Page_Line { 814 if x != nil { 815 return x.Lines 816 } 817 return nil 818} 819 820func (x *Document_Page) GetTokens() []*Document_Page_Token { 821 if x != nil { 822 return x.Tokens 823 } 824 return nil 825} 826 827func (x *Document_Page) GetVisualElements() []*Document_Page_VisualElement { 828 if x != nil { 829 return x.VisualElements 830 } 831 return nil 832} 833 834func (x *Document_Page) GetTables() []*Document_Page_Table { 835 if x != nil { 836 return x.Tables 837 } 838 return nil 839} 840 841func (x *Document_Page) GetFormFields() []*Document_Page_FormField { 842 if x != nil { 843 return x.FormFields 844 } 845 return nil 846} 847 848func (x *Document_Page) GetProvenance() *Document_Provenance { 849 if x != nil { 850 return x.Provenance 851 } 852 return nil 853} 854 855// A phrase in the text that is a known entity type, such as a person, an 856// organization, or location. 857type Document_Entity struct { 858 state protoimpl.MessageState 859 sizeCache protoimpl.SizeCache 860 unknownFields protoimpl.UnknownFields 861 862 // Optional. Provenance of the entity. 863 // Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. 864 TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` 865 // Entity type from a schema e.g. `Address`. 866 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 867 // Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. 868 MentionText string `protobuf:"bytes,3,opt,name=mention_text,json=mentionText,proto3" json:"mention_text,omitempty"` 869 // Optional. Deprecated. Use `id` field instead. 870 MentionId string `protobuf:"bytes,4,opt,name=mention_id,json=mentionId,proto3" json:"mention_id,omitempty"` 871 // Optional. Confidence of detected Schema entity. Range [0, 1]. 872 Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` 873 // Optional. Represents the provenance of this entity wrt. the location on the 874 // page where it was found. 875 PageAnchor *Document_PageAnchor `protobuf:"bytes,6,opt,name=page_anchor,json=pageAnchor,proto3" json:"page_anchor,omitempty"` 876 // Optional. Canonical id. This will be a unique value in the entity list 877 // for this document. 878 Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` 879 // Optional. Normalized entity value. Absent if the extracted value could not be 880 // converted or the type (e.g. address) is not supported for certain 881 // parsers. This field is also only populated for certain supported document 882 // types. 883 NormalizedValue *Document_Entity_NormalizedValue `protobuf:"bytes,9,opt,name=normalized_value,json=normalizedValue,proto3" json:"normalized_value,omitempty"` 884 // Optional. Entities can be nested to form a hierarchical data structure representing 885 // the content in the document. 886 Properties []*Document_Entity `protobuf:"bytes,10,rep,name=properties,proto3" json:"properties,omitempty"` 887 // Optional. The history of this annotation. 888 Provenance *Document_Provenance `protobuf:"bytes,11,opt,name=provenance,proto3" json:"provenance,omitempty"` 889 // Optional. Whether the entity will be redacted for de-identification purposes. 890 Redacted bool `protobuf:"varint,12,opt,name=redacted,proto3" json:"redacted,omitempty"` 891} 892 893func (x *Document_Entity) Reset() { 894 *x = Document_Entity{} 895 if protoimpl.UnsafeEnabled { 896 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[4] 897 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 898 ms.StoreMessageInfo(mi) 899 } 900} 901 902func (x *Document_Entity) String() string { 903 return protoimpl.X.MessageStringOf(x) 904} 905 906func (*Document_Entity) ProtoMessage() {} 907 908func (x *Document_Entity) ProtoReflect() protoreflect.Message { 909 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[4] 910 if protoimpl.UnsafeEnabled && x != nil { 911 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 912 if ms.LoadMessageInfo() == nil { 913 ms.StoreMessageInfo(mi) 914 } 915 return ms 916 } 917 return mi.MessageOf(x) 918} 919 920// Deprecated: Use Document_Entity.ProtoReflect.Descriptor instead. 921func (*Document_Entity) Descriptor() ([]byte, []int) { 922 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 3} 923} 924 925func (x *Document_Entity) GetTextAnchor() *Document_TextAnchor { 926 if x != nil { 927 return x.TextAnchor 928 } 929 return nil 930} 931 932func (x *Document_Entity) GetType() string { 933 if x != nil { 934 return x.Type 935 } 936 return "" 937} 938 939func (x *Document_Entity) GetMentionText() string { 940 if x != nil { 941 return x.MentionText 942 } 943 return "" 944} 945 946func (x *Document_Entity) GetMentionId() string { 947 if x != nil { 948 return x.MentionId 949 } 950 return "" 951} 952 953func (x *Document_Entity) GetConfidence() float32 { 954 if x != nil { 955 return x.Confidence 956 } 957 return 0 958} 959 960func (x *Document_Entity) GetPageAnchor() *Document_PageAnchor { 961 if x != nil { 962 return x.PageAnchor 963 } 964 return nil 965} 966 967func (x *Document_Entity) GetId() string { 968 if x != nil { 969 return x.Id 970 } 971 return "" 972} 973 974func (x *Document_Entity) GetNormalizedValue() *Document_Entity_NormalizedValue { 975 if x != nil { 976 return x.NormalizedValue 977 } 978 return nil 979} 980 981func (x *Document_Entity) GetProperties() []*Document_Entity { 982 if x != nil { 983 return x.Properties 984 } 985 return nil 986} 987 988func (x *Document_Entity) GetProvenance() *Document_Provenance { 989 if x != nil { 990 return x.Provenance 991 } 992 return nil 993} 994 995func (x *Document_Entity) GetRedacted() bool { 996 if x != nil { 997 return x.Redacted 998 } 999 return false 1000} 1001 1002// Relationship between [Entities][google.cloud.documentai.v1.Document.Entity]. 1003type Document_EntityRelation struct { 1004 state protoimpl.MessageState 1005 sizeCache protoimpl.SizeCache 1006 unknownFields protoimpl.UnknownFields 1007 1008 // Subject entity id. 1009 SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"` 1010 // Object entity id. 1011 ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` 1012 // Relationship description. 1013 Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` 1014} 1015 1016func (x *Document_EntityRelation) Reset() { 1017 *x = Document_EntityRelation{} 1018 if protoimpl.UnsafeEnabled { 1019 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[5] 1020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1021 ms.StoreMessageInfo(mi) 1022 } 1023} 1024 1025func (x *Document_EntityRelation) String() string { 1026 return protoimpl.X.MessageStringOf(x) 1027} 1028 1029func (*Document_EntityRelation) ProtoMessage() {} 1030 1031func (x *Document_EntityRelation) ProtoReflect() protoreflect.Message { 1032 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[5] 1033 if protoimpl.UnsafeEnabled && x != nil { 1034 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1035 if ms.LoadMessageInfo() == nil { 1036 ms.StoreMessageInfo(mi) 1037 } 1038 return ms 1039 } 1040 return mi.MessageOf(x) 1041} 1042 1043// Deprecated: Use Document_EntityRelation.ProtoReflect.Descriptor instead. 1044func (*Document_EntityRelation) Descriptor() ([]byte, []int) { 1045 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 4} 1046} 1047 1048func (x *Document_EntityRelation) GetSubjectId() string { 1049 if x != nil { 1050 return x.SubjectId 1051 } 1052 return "" 1053} 1054 1055func (x *Document_EntityRelation) GetObjectId() string { 1056 if x != nil { 1057 return x.ObjectId 1058 } 1059 return "" 1060} 1061 1062func (x *Document_EntityRelation) GetRelation() string { 1063 if x != nil { 1064 return x.Relation 1065 } 1066 return "" 1067} 1068 1069// Text reference indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. 1070type Document_TextAnchor struct { 1071 state protoimpl.MessageState 1072 sizeCache protoimpl.SizeCache 1073 unknownFields protoimpl.UnknownFields 1074 1075 // The text segments from the [Document.text][google.cloud.documentai.v1.Document.text]. 1076 TextSegments []*Document_TextAnchor_TextSegment `protobuf:"bytes,1,rep,name=text_segments,json=textSegments,proto3" json:"text_segments,omitempty"` 1077 // Contains the content of the text span so that users do 1078 // not have to look it up in the text_segments. 1079 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` 1080} 1081 1082func (x *Document_TextAnchor) Reset() { 1083 *x = Document_TextAnchor{} 1084 if protoimpl.UnsafeEnabled { 1085 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[6] 1086 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1087 ms.StoreMessageInfo(mi) 1088 } 1089} 1090 1091func (x *Document_TextAnchor) String() string { 1092 return protoimpl.X.MessageStringOf(x) 1093} 1094 1095func (*Document_TextAnchor) ProtoMessage() {} 1096 1097func (x *Document_TextAnchor) ProtoReflect() protoreflect.Message { 1098 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[6] 1099 if protoimpl.UnsafeEnabled && x != nil { 1100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1101 if ms.LoadMessageInfo() == nil { 1102 ms.StoreMessageInfo(mi) 1103 } 1104 return ms 1105 } 1106 return mi.MessageOf(x) 1107} 1108 1109// Deprecated: Use Document_TextAnchor.ProtoReflect.Descriptor instead. 1110func (*Document_TextAnchor) Descriptor() ([]byte, []int) { 1111 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 5} 1112} 1113 1114func (x *Document_TextAnchor) GetTextSegments() []*Document_TextAnchor_TextSegment { 1115 if x != nil { 1116 return x.TextSegments 1117 } 1118 return nil 1119} 1120 1121func (x *Document_TextAnchor) GetContent() string { 1122 if x != nil { 1123 return x.Content 1124 } 1125 return "" 1126} 1127 1128// Referencing the visual context of the entity in the [Document.pages][google.cloud.documentai.v1.Document.pages]. 1129// Page anchors can be cross-page, consist of multiple bounding polygons and 1130// optionally reference specific layout element types. 1131type Document_PageAnchor struct { 1132 state protoimpl.MessageState 1133 sizeCache protoimpl.SizeCache 1134 unknownFields protoimpl.UnknownFields 1135 1136 // One or more references to visual page elements 1137 PageRefs []*Document_PageAnchor_PageRef `protobuf:"bytes,1,rep,name=page_refs,json=pageRefs,proto3" json:"page_refs,omitempty"` 1138} 1139 1140func (x *Document_PageAnchor) Reset() { 1141 *x = Document_PageAnchor{} 1142 if protoimpl.UnsafeEnabled { 1143 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[7] 1144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1145 ms.StoreMessageInfo(mi) 1146 } 1147} 1148 1149func (x *Document_PageAnchor) String() string { 1150 return protoimpl.X.MessageStringOf(x) 1151} 1152 1153func (*Document_PageAnchor) ProtoMessage() {} 1154 1155func (x *Document_PageAnchor) ProtoReflect() protoreflect.Message { 1156 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[7] 1157 if protoimpl.UnsafeEnabled && x != nil { 1158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1159 if ms.LoadMessageInfo() == nil { 1160 ms.StoreMessageInfo(mi) 1161 } 1162 return ms 1163 } 1164 return mi.MessageOf(x) 1165} 1166 1167// Deprecated: Use Document_PageAnchor.ProtoReflect.Descriptor instead. 1168func (*Document_PageAnchor) Descriptor() ([]byte, []int) { 1169 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 6} 1170} 1171 1172func (x *Document_PageAnchor) GetPageRefs() []*Document_PageAnchor_PageRef { 1173 if x != nil { 1174 return x.PageRefs 1175 } 1176 return nil 1177} 1178 1179// Structure to identify provenance relationships between annotations in 1180// different revisions. 1181type Document_Provenance struct { 1182 state protoimpl.MessageState 1183 sizeCache protoimpl.SizeCache 1184 unknownFields protoimpl.UnknownFields 1185 1186 // The index of the revision that produced this element. 1187 Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` 1188 // The Id of this operation. Needs to be unique within the scope of the 1189 // revision. 1190 // 1191 // Deprecated: Do not use. 1192 Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` 1193 // References to the original elements that are replaced. 1194 Parents []*Document_Provenance_Parent `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` 1195 // The type of provenance operation. 1196 Type Document_Provenance_OperationType `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.documentai.v1.Document_Provenance_OperationType" json:"type,omitempty"` 1197} 1198 1199func (x *Document_Provenance) Reset() { 1200 *x = Document_Provenance{} 1201 if protoimpl.UnsafeEnabled { 1202 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[8] 1203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1204 ms.StoreMessageInfo(mi) 1205 } 1206} 1207 1208func (x *Document_Provenance) String() string { 1209 return protoimpl.X.MessageStringOf(x) 1210} 1211 1212func (*Document_Provenance) ProtoMessage() {} 1213 1214func (x *Document_Provenance) ProtoReflect() protoreflect.Message { 1215 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[8] 1216 if protoimpl.UnsafeEnabled && x != nil { 1217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1218 if ms.LoadMessageInfo() == nil { 1219 ms.StoreMessageInfo(mi) 1220 } 1221 return ms 1222 } 1223 return mi.MessageOf(x) 1224} 1225 1226// Deprecated: Use Document_Provenance.ProtoReflect.Descriptor instead. 1227func (*Document_Provenance) Descriptor() ([]byte, []int) { 1228 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 7} 1229} 1230 1231func (x *Document_Provenance) GetRevision() int32 { 1232 if x != nil { 1233 return x.Revision 1234 } 1235 return 0 1236} 1237 1238// Deprecated: Do not use. 1239func (x *Document_Provenance) GetId() int32 { 1240 if x != nil { 1241 return x.Id 1242 } 1243 return 0 1244} 1245 1246func (x *Document_Provenance) GetParents() []*Document_Provenance_Parent { 1247 if x != nil { 1248 return x.Parents 1249 } 1250 return nil 1251} 1252 1253func (x *Document_Provenance) GetType() Document_Provenance_OperationType { 1254 if x != nil { 1255 return x.Type 1256 } 1257 return Document_Provenance_OPERATION_TYPE_UNSPECIFIED 1258} 1259 1260// Contains past or forward revisions of this document. 1261type Document_Revision struct { 1262 state protoimpl.MessageState 1263 sizeCache protoimpl.SizeCache 1264 unknownFields protoimpl.UnknownFields 1265 1266 // Who/what made the change 1267 // 1268 // Types that are assignable to Source: 1269 // *Document_Revision_Agent 1270 // *Document_Revision_Processor 1271 Source isDocument_Revision_Source `protobuf_oneof:"source"` 1272 // Id of the revision. Unique within the context of the document. 1273 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1274 // The revisions that this revision is based on. This can include one or 1275 // more parent (when documents are merged.) This field represents the 1276 // index into the `revisions` field. 1277 Parent []int32 `protobuf:"varint,2,rep,packed,name=parent,proto3" json:"parent,omitempty"` 1278 // The time that the revision was created. 1279 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 1280 // Human Review information of this revision. 1281 HumanReview *Document_Revision_HumanReview `protobuf:"bytes,6,opt,name=human_review,json=humanReview,proto3" json:"human_review,omitempty"` 1282} 1283 1284func (x *Document_Revision) Reset() { 1285 *x = Document_Revision{} 1286 if protoimpl.UnsafeEnabled { 1287 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[9] 1288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1289 ms.StoreMessageInfo(mi) 1290 } 1291} 1292 1293func (x *Document_Revision) String() string { 1294 return protoimpl.X.MessageStringOf(x) 1295} 1296 1297func (*Document_Revision) ProtoMessage() {} 1298 1299func (x *Document_Revision) ProtoReflect() protoreflect.Message { 1300 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[9] 1301 if protoimpl.UnsafeEnabled && x != nil { 1302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1303 if ms.LoadMessageInfo() == nil { 1304 ms.StoreMessageInfo(mi) 1305 } 1306 return ms 1307 } 1308 return mi.MessageOf(x) 1309} 1310 1311// Deprecated: Use Document_Revision.ProtoReflect.Descriptor instead. 1312func (*Document_Revision) Descriptor() ([]byte, []int) { 1313 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 8} 1314} 1315 1316func (m *Document_Revision) GetSource() isDocument_Revision_Source { 1317 if m != nil { 1318 return m.Source 1319 } 1320 return nil 1321} 1322 1323func (x *Document_Revision) GetAgent() string { 1324 if x, ok := x.GetSource().(*Document_Revision_Agent); ok { 1325 return x.Agent 1326 } 1327 return "" 1328} 1329 1330func (x *Document_Revision) GetProcessor() string { 1331 if x, ok := x.GetSource().(*Document_Revision_Processor); ok { 1332 return x.Processor 1333 } 1334 return "" 1335} 1336 1337func (x *Document_Revision) GetId() string { 1338 if x != nil { 1339 return x.Id 1340 } 1341 return "" 1342} 1343 1344func (x *Document_Revision) GetParent() []int32 { 1345 if x != nil { 1346 return x.Parent 1347 } 1348 return nil 1349} 1350 1351func (x *Document_Revision) GetCreateTime() *timestamppb.Timestamp { 1352 if x != nil { 1353 return x.CreateTime 1354 } 1355 return nil 1356} 1357 1358func (x *Document_Revision) GetHumanReview() *Document_Revision_HumanReview { 1359 if x != nil { 1360 return x.HumanReview 1361 } 1362 return nil 1363} 1364 1365type isDocument_Revision_Source interface { 1366 isDocument_Revision_Source() 1367} 1368 1369type Document_Revision_Agent struct { 1370 // If the change was made by a person specify the name or id of that 1371 // person. 1372 Agent string `protobuf:"bytes,4,opt,name=agent,proto3,oneof"` 1373} 1374 1375type Document_Revision_Processor struct { 1376 // If the annotation was made by processor identify the processor by its 1377 // resource name. 1378 Processor string `protobuf:"bytes,5,opt,name=processor,proto3,oneof"` 1379} 1380 1381func (*Document_Revision_Agent) isDocument_Revision_Source() {} 1382 1383func (*Document_Revision_Processor) isDocument_Revision_Source() {} 1384 1385// This message is used for text changes aka. OCR corrections. 1386type Document_TextChange struct { 1387 state protoimpl.MessageState 1388 sizeCache protoimpl.SizeCache 1389 unknownFields protoimpl.UnknownFields 1390 1391 // Provenance of the correction. 1392 // Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. There can only be a 1393 // single `TextAnchor.text_segments` element. If the start and 1394 // end index of the text segment are the same, the text change is inserted 1395 // before that index. 1396 TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` 1397 // The text that replaces the text identified in the `text_anchor`. 1398 ChangedText string `protobuf:"bytes,2,opt,name=changed_text,json=changedText,proto3" json:"changed_text,omitempty"` 1399 // The history of this annotation. 1400 Provenance []*Document_Provenance `protobuf:"bytes,3,rep,name=provenance,proto3" json:"provenance,omitempty"` 1401} 1402 1403func (x *Document_TextChange) Reset() { 1404 *x = Document_TextChange{} 1405 if protoimpl.UnsafeEnabled { 1406 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[10] 1407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1408 ms.StoreMessageInfo(mi) 1409 } 1410} 1411 1412func (x *Document_TextChange) String() string { 1413 return protoimpl.X.MessageStringOf(x) 1414} 1415 1416func (*Document_TextChange) ProtoMessage() {} 1417 1418func (x *Document_TextChange) ProtoReflect() protoreflect.Message { 1419 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[10] 1420 if protoimpl.UnsafeEnabled && x != nil { 1421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1422 if ms.LoadMessageInfo() == nil { 1423 ms.StoreMessageInfo(mi) 1424 } 1425 return ms 1426 } 1427 return mi.MessageOf(x) 1428} 1429 1430// Deprecated: Use Document_TextChange.ProtoReflect.Descriptor instead. 1431func (*Document_TextChange) Descriptor() ([]byte, []int) { 1432 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 9} 1433} 1434 1435func (x *Document_TextChange) GetTextAnchor() *Document_TextAnchor { 1436 if x != nil { 1437 return x.TextAnchor 1438 } 1439 return nil 1440} 1441 1442func (x *Document_TextChange) GetChangedText() string { 1443 if x != nil { 1444 return x.ChangedText 1445 } 1446 return "" 1447} 1448 1449func (x *Document_TextChange) GetProvenance() []*Document_Provenance { 1450 if x != nil { 1451 return x.Provenance 1452 } 1453 return nil 1454} 1455 1456// Font size with unit. 1457type Document_Style_FontSize struct { 1458 state protoimpl.MessageState 1459 sizeCache protoimpl.SizeCache 1460 unknownFields protoimpl.UnknownFields 1461 1462 // Font size for the text. 1463 Size float32 `protobuf:"fixed32,1,opt,name=size,proto3" json:"size,omitempty"` 1464 // Unit for the font size. Follows CSS naming (in, px, pt, etc.). 1465 Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` 1466} 1467 1468func (x *Document_Style_FontSize) Reset() { 1469 *x = Document_Style_FontSize{} 1470 if protoimpl.UnsafeEnabled { 1471 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[11] 1472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1473 ms.StoreMessageInfo(mi) 1474 } 1475} 1476 1477func (x *Document_Style_FontSize) String() string { 1478 return protoimpl.X.MessageStringOf(x) 1479} 1480 1481func (*Document_Style_FontSize) ProtoMessage() {} 1482 1483func (x *Document_Style_FontSize) ProtoReflect() protoreflect.Message { 1484 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[11] 1485 if protoimpl.UnsafeEnabled && x != nil { 1486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1487 if ms.LoadMessageInfo() == nil { 1488 ms.StoreMessageInfo(mi) 1489 } 1490 return ms 1491 } 1492 return mi.MessageOf(x) 1493} 1494 1495// Deprecated: Use Document_Style_FontSize.ProtoReflect.Descriptor instead. 1496func (*Document_Style_FontSize) Descriptor() ([]byte, []int) { 1497 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 1, 0} 1498} 1499 1500func (x *Document_Style_FontSize) GetSize() float32 { 1501 if x != nil { 1502 return x.Size 1503 } 1504 return 0 1505} 1506 1507func (x *Document_Style_FontSize) GetUnit() string { 1508 if x != nil { 1509 return x.Unit 1510 } 1511 return "" 1512} 1513 1514// Dimension for the page. 1515type Document_Page_Dimension struct { 1516 state protoimpl.MessageState 1517 sizeCache protoimpl.SizeCache 1518 unknownFields protoimpl.UnknownFields 1519 1520 // Page width. 1521 Width float32 `protobuf:"fixed32,1,opt,name=width,proto3" json:"width,omitempty"` 1522 // Page height. 1523 Height float32 `protobuf:"fixed32,2,opt,name=height,proto3" json:"height,omitempty"` 1524 // Dimension unit. 1525 Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` 1526} 1527 1528func (x *Document_Page_Dimension) Reset() { 1529 *x = Document_Page_Dimension{} 1530 if protoimpl.UnsafeEnabled { 1531 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[12] 1532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1533 ms.StoreMessageInfo(mi) 1534 } 1535} 1536 1537func (x *Document_Page_Dimension) String() string { 1538 return protoimpl.X.MessageStringOf(x) 1539} 1540 1541func (*Document_Page_Dimension) ProtoMessage() {} 1542 1543func (x *Document_Page_Dimension) ProtoReflect() protoreflect.Message { 1544 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[12] 1545 if protoimpl.UnsafeEnabled && x != nil { 1546 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1547 if ms.LoadMessageInfo() == nil { 1548 ms.StoreMessageInfo(mi) 1549 } 1550 return ms 1551 } 1552 return mi.MessageOf(x) 1553} 1554 1555// Deprecated: Use Document_Page_Dimension.ProtoReflect.Descriptor instead. 1556func (*Document_Page_Dimension) Descriptor() ([]byte, []int) { 1557 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 0} 1558} 1559 1560func (x *Document_Page_Dimension) GetWidth() float32 { 1561 if x != nil { 1562 return x.Width 1563 } 1564 return 0 1565} 1566 1567func (x *Document_Page_Dimension) GetHeight() float32 { 1568 if x != nil { 1569 return x.Height 1570 } 1571 return 0 1572} 1573 1574func (x *Document_Page_Dimension) GetUnit() string { 1575 if x != nil { 1576 return x.Unit 1577 } 1578 return "" 1579} 1580 1581// Rendered image contents for this page. 1582type Document_Page_Image struct { 1583 state protoimpl.MessageState 1584 sizeCache protoimpl.SizeCache 1585 unknownFields protoimpl.UnknownFields 1586 1587 // Raw byte content of the image. 1588 Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` 1589 // Encoding mime type for the image. 1590 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` 1591 // Width of the image in pixels. 1592 Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` 1593 // Height of the image in pixels. 1594 Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` 1595} 1596 1597func (x *Document_Page_Image) Reset() { 1598 *x = Document_Page_Image{} 1599 if protoimpl.UnsafeEnabled { 1600 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[13] 1601 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1602 ms.StoreMessageInfo(mi) 1603 } 1604} 1605 1606func (x *Document_Page_Image) String() string { 1607 return protoimpl.X.MessageStringOf(x) 1608} 1609 1610func (*Document_Page_Image) ProtoMessage() {} 1611 1612func (x *Document_Page_Image) ProtoReflect() protoreflect.Message { 1613 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[13] 1614 if protoimpl.UnsafeEnabled && x != nil { 1615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1616 if ms.LoadMessageInfo() == nil { 1617 ms.StoreMessageInfo(mi) 1618 } 1619 return ms 1620 } 1621 return mi.MessageOf(x) 1622} 1623 1624// Deprecated: Use Document_Page_Image.ProtoReflect.Descriptor instead. 1625func (*Document_Page_Image) Descriptor() ([]byte, []int) { 1626 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 1} 1627} 1628 1629func (x *Document_Page_Image) GetContent() []byte { 1630 if x != nil { 1631 return x.Content 1632 } 1633 return nil 1634} 1635 1636func (x *Document_Page_Image) GetMimeType() string { 1637 if x != nil { 1638 return x.MimeType 1639 } 1640 return "" 1641} 1642 1643func (x *Document_Page_Image) GetWidth() int32 { 1644 if x != nil { 1645 return x.Width 1646 } 1647 return 0 1648} 1649 1650func (x *Document_Page_Image) GetHeight() int32 { 1651 if x != nil { 1652 return x.Height 1653 } 1654 return 0 1655} 1656 1657// Representation for transformation matrix, intended to be compatible and 1658// used with OpenCV format for image manipulation. 1659type Document_Page_Matrix struct { 1660 state protoimpl.MessageState 1661 sizeCache protoimpl.SizeCache 1662 unknownFields protoimpl.UnknownFields 1663 1664 // Number of rows in the matrix. 1665 Rows int32 `protobuf:"varint,1,opt,name=rows,proto3" json:"rows,omitempty"` 1666 // Number of columns in the matrix. 1667 Cols int32 `protobuf:"varint,2,opt,name=cols,proto3" json:"cols,omitempty"` 1668 // This encodes information about what data type the matrix uses. 1669 // For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list 1670 // of OpenCV primitive data types, please refer to 1671 // https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html 1672 Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` 1673 // The matrix data. 1674 Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` 1675} 1676 1677func (x *Document_Page_Matrix) Reset() { 1678 *x = Document_Page_Matrix{} 1679 if protoimpl.UnsafeEnabled { 1680 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[14] 1681 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1682 ms.StoreMessageInfo(mi) 1683 } 1684} 1685 1686func (x *Document_Page_Matrix) String() string { 1687 return protoimpl.X.MessageStringOf(x) 1688} 1689 1690func (*Document_Page_Matrix) ProtoMessage() {} 1691 1692func (x *Document_Page_Matrix) ProtoReflect() protoreflect.Message { 1693 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[14] 1694 if protoimpl.UnsafeEnabled && x != nil { 1695 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1696 if ms.LoadMessageInfo() == nil { 1697 ms.StoreMessageInfo(mi) 1698 } 1699 return ms 1700 } 1701 return mi.MessageOf(x) 1702} 1703 1704// Deprecated: Use Document_Page_Matrix.ProtoReflect.Descriptor instead. 1705func (*Document_Page_Matrix) Descriptor() ([]byte, []int) { 1706 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 2} 1707} 1708 1709func (x *Document_Page_Matrix) GetRows() int32 { 1710 if x != nil { 1711 return x.Rows 1712 } 1713 return 0 1714} 1715 1716func (x *Document_Page_Matrix) GetCols() int32 { 1717 if x != nil { 1718 return x.Cols 1719 } 1720 return 0 1721} 1722 1723func (x *Document_Page_Matrix) GetType() int32 { 1724 if x != nil { 1725 return x.Type 1726 } 1727 return 0 1728} 1729 1730func (x *Document_Page_Matrix) GetData() []byte { 1731 if x != nil { 1732 return x.Data 1733 } 1734 return nil 1735} 1736 1737// Visual element describing a layout unit on a page. 1738type Document_Page_Layout struct { 1739 state protoimpl.MessageState 1740 sizeCache protoimpl.SizeCache 1741 unknownFields protoimpl.UnknownFields 1742 1743 // Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. 1744 TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` 1745 // Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this 1746 // layout is for. e.g. confidence can be for a single token, a table, 1747 // a visual element, etc. depending on context. Range [0, 1]. 1748 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 1749 // The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout]. 1750 BoundingPoly *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` 1751 // Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout]. 1752 Orientation Document_Page_Layout_Orientation `protobuf:"varint,4,opt,name=orientation,proto3,enum=google.cloud.documentai.v1.Document_Page_Layout_Orientation" json:"orientation,omitempty"` 1753} 1754 1755func (x *Document_Page_Layout) Reset() { 1756 *x = Document_Page_Layout{} 1757 if protoimpl.UnsafeEnabled { 1758 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[15] 1759 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1760 ms.StoreMessageInfo(mi) 1761 } 1762} 1763 1764func (x *Document_Page_Layout) String() string { 1765 return protoimpl.X.MessageStringOf(x) 1766} 1767 1768func (*Document_Page_Layout) ProtoMessage() {} 1769 1770func (x *Document_Page_Layout) ProtoReflect() protoreflect.Message { 1771 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[15] 1772 if protoimpl.UnsafeEnabled && x != nil { 1773 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1774 if ms.LoadMessageInfo() == nil { 1775 ms.StoreMessageInfo(mi) 1776 } 1777 return ms 1778 } 1779 return mi.MessageOf(x) 1780} 1781 1782// Deprecated: Use Document_Page_Layout.ProtoReflect.Descriptor instead. 1783func (*Document_Page_Layout) Descriptor() ([]byte, []int) { 1784 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 3} 1785} 1786 1787func (x *Document_Page_Layout) GetTextAnchor() *Document_TextAnchor { 1788 if x != nil { 1789 return x.TextAnchor 1790 } 1791 return nil 1792} 1793 1794func (x *Document_Page_Layout) GetConfidence() float32 { 1795 if x != nil { 1796 return x.Confidence 1797 } 1798 return 0 1799} 1800 1801func (x *Document_Page_Layout) GetBoundingPoly() *BoundingPoly { 1802 if x != nil { 1803 return x.BoundingPoly 1804 } 1805 return nil 1806} 1807 1808func (x *Document_Page_Layout) GetOrientation() Document_Page_Layout_Orientation { 1809 if x != nil { 1810 return x.Orientation 1811 } 1812 return Document_Page_Layout_ORIENTATION_UNSPECIFIED 1813} 1814 1815// A block has a set of lines (collected into paragraphs) that have a 1816// common line-spacing and orientation. 1817type Document_Page_Block struct { 1818 state protoimpl.MessageState 1819 sizeCache protoimpl.SizeCache 1820 unknownFields protoimpl.UnknownFields 1821 1822 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block]. 1823 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1824 // A list of detected languages together with confidence. 1825 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1826 // The history of this annotation. 1827 Provenance *Document_Provenance `protobuf:"bytes,3,opt,name=provenance,proto3" json:"provenance,omitempty"` 1828} 1829 1830func (x *Document_Page_Block) Reset() { 1831 *x = Document_Page_Block{} 1832 if protoimpl.UnsafeEnabled { 1833 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[16] 1834 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1835 ms.StoreMessageInfo(mi) 1836 } 1837} 1838 1839func (x *Document_Page_Block) String() string { 1840 return protoimpl.X.MessageStringOf(x) 1841} 1842 1843func (*Document_Page_Block) ProtoMessage() {} 1844 1845func (x *Document_Page_Block) ProtoReflect() protoreflect.Message { 1846 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[16] 1847 if protoimpl.UnsafeEnabled && x != nil { 1848 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1849 if ms.LoadMessageInfo() == nil { 1850 ms.StoreMessageInfo(mi) 1851 } 1852 return ms 1853 } 1854 return mi.MessageOf(x) 1855} 1856 1857// Deprecated: Use Document_Page_Block.ProtoReflect.Descriptor instead. 1858func (*Document_Page_Block) Descriptor() ([]byte, []int) { 1859 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 4} 1860} 1861 1862func (x *Document_Page_Block) GetLayout() *Document_Page_Layout { 1863 if x != nil { 1864 return x.Layout 1865 } 1866 return nil 1867} 1868 1869func (x *Document_Page_Block) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1870 if x != nil { 1871 return x.DetectedLanguages 1872 } 1873 return nil 1874} 1875 1876func (x *Document_Page_Block) GetProvenance() *Document_Provenance { 1877 if x != nil { 1878 return x.Provenance 1879 } 1880 return nil 1881} 1882 1883// A collection of lines that a human would perceive as a paragraph. 1884type Document_Page_Paragraph struct { 1885 state protoimpl.MessageState 1886 sizeCache protoimpl.SizeCache 1887 unknownFields protoimpl.UnknownFields 1888 1889 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph]. 1890 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1891 // A list of detected languages together with confidence. 1892 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1893 // The history of this annotation. 1894 Provenance *Document_Provenance `protobuf:"bytes,3,opt,name=provenance,proto3" json:"provenance,omitempty"` 1895} 1896 1897func (x *Document_Page_Paragraph) Reset() { 1898 *x = Document_Page_Paragraph{} 1899 if protoimpl.UnsafeEnabled { 1900 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[17] 1901 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1902 ms.StoreMessageInfo(mi) 1903 } 1904} 1905 1906func (x *Document_Page_Paragraph) String() string { 1907 return protoimpl.X.MessageStringOf(x) 1908} 1909 1910func (*Document_Page_Paragraph) ProtoMessage() {} 1911 1912func (x *Document_Page_Paragraph) ProtoReflect() protoreflect.Message { 1913 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[17] 1914 if protoimpl.UnsafeEnabled && x != nil { 1915 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1916 if ms.LoadMessageInfo() == nil { 1917 ms.StoreMessageInfo(mi) 1918 } 1919 return ms 1920 } 1921 return mi.MessageOf(x) 1922} 1923 1924// Deprecated: Use Document_Page_Paragraph.ProtoReflect.Descriptor instead. 1925func (*Document_Page_Paragraph) Descriptor() ([]byte, []int) { 1926 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 5} 1927} 1928 1929func (x *Document_Page_Paragraph) GetLayout() *Document_Page_Layout { 1930 if x != nil { 1931 return x.Layout 1932 } 1933 return nil 1934} 1935 1936func (x *Document_Page_Paragraph) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 1937 if x != nil { 1938 return x.DetectedLanguages 1939 } 1940 return nil 1941} 1942 1943func (x *Document_Page_Paragraph) GetProvenance() *Document_Provenance { 1944 if x != nil { 1945 return x.Provenance 1946 } 1947 return nil 1948} 1949 1950// A collection of tokens that a human would perceive as a line. 1951// Does not cross column boundaries, can be horizontal, vertical, etc. 1952type Document_Page_Line struct { 1953 state protoimpl.MessageState 1954 sizeCache protoimpl.SizeCache 1955 unknownFields protoimpl.UnknownFields 1956 1957 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line]. 1958 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 1959 // A list of detected languages together with confidence. 1960 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 1961 // The history of this annotation. 1962 Provenance *Document_Provenance `protobuf:"bytes,3,opt,name=provenance,proto3" json:"provenance,omitempty"` 1963} 1964 1965func (x *Document_Page_Line) Reset() { 1966 *x = Document_Page_Line{} 1967 if protoimpl.UnsafeEnabled { 1968 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[18] 1969 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1970 ms.StoreMessageInfo(mi) 1971 } 1972} 1973 1974func (x *Document_Page_Line) String() string { 1975 return protoimpl.X.MessageStringOf(x) 1976} 1977 1978func (*Document_Page_Line) ProtoMessage() {} 1979 1980func (x *Document_Page_Line) ProtoReflect() protoreflect.Message { 1981 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[18] 1982 if protoimpl.UnsafeEnabled && x != nil { 1983 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1984 if ms.LoadMessageInfo() == nil { 1985 ms.StoreMessageInfo(mi) 1986 } 1987 return ms 1988 } 1989 return mi.MessageOf(x) 1990} 1991 1992// Deprecated: Use Document_Page_Line.ProtoReflect.Descriptor instead. 1993func (*Document_Page_Line) Descriptor() ([]byte, []int) { 1994 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 6} 1995} 1996 1997func (x *Document_Page_Line) GetLayout() *Document_Page_Layout { 1998 if x != nil { 1999 return x.Layout 2000 } 2001 return nil 2002} 2003 2004func (x *Document_Page_Line) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 2005 if x != nil { 2006 return x.DetectedLanguages 2007 } 2008 return nil 2009} 2010 2011func (x *Document_Page_Line) GetProvenance() *Document_Provenance { 2012 if x != nil { 2013 return x.Provenance 2014 } 2015 return nil 2016} 2017 2018// A detected token. 2019type Document_Page_Token struct { 2020 state protoimpl.MessageState 2021 sizeCache protoimpl.SizeCache 2022 unknownFields protoimpl.UnknownFields 2023 2024 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token]. 2025 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 2026 // Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token]. 2027 DetectedBreak *Document_Page_Token_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"` 2028 // A list of detected languages together with confidence. 2029 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 2030 // The history of this annotation. 2031 Provenance *Document_Provenance `protobuf:"bytes,4,opt,name=provenance,proto3" json:"provenance,omitempty"` 2032} 2033 2034func (x *Document_Page_Token) Reset() { 2035 *x = Document_Page_Token{} 2036 if protoimpl.UnsafeEnabled { 2037 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[19] 2038 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2039 ms.StoreMessageInfo(mi) 2040 } 2041} 2042 2043func (x *Document_Page_Token) String() string { 2044 return protoimpl.X.MessageStringOf(x) 2045} 2046 2047func (*Document_Page_Token) ProtoMessage() {} 2048 2049func (x *Document_Page_Token) ProtoReflect() protoreflect.Message { 2050 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[19] 2051 if protoimpl.UnsafeEnabled && x != nil { 2052 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2053 if ms.LoadMessageInfo() == nil { 2054 ms.StoreMessageInfo(mi) 2055 } 2056 return ms 2057 } 2058 return mi.MessageOf(x) 2059} 2060 2061// Deprecated: Use Document_Page_Token.ProtoReflect.Descriptor instead. 2062func (*Document_Page_Token) Descriptor() ([]byte, []int) { 2063 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 7} 2064} 2065 2066func (x *Document_Page_Token) GetLayout() *Document_Page_Layout { 2067 if x != nil { 2068 return x.Layout 2069 } 2070 return nil 2071} 2072 2073func (x *Document_Page_Token) GetDetectedBreak() *Document_Page_Token_DetectedBreak { 2074 if x != nil { 2075 return x.DetectedBreak 2076 } 2077 return nil 2078} 2079 2080func (x *Document_Page_Token) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 2081 if x != nil { 2082 return x.DetectedLanguages 2083 } 2084 return nil 2085} 2086 2087func (x *Document_Page_Token) GetProvenance() *Document_Provenance { 2088 if x != nil { 2089 return x.Provenance 2090 } 2091 return nil 2092} 2093 2094// Detected non-text visual elements e.g. checkbox, signature etc. on the 2095// page. 2096type Document_Page_VisualElement struct { 2097 state protoimpl.MessageState 2098 sizeCache protoimpl.SizeCache 2099 unknownFields protoimpl.UnknownFields 2100 2101 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement]. 2102 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 2103 // Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement]. 2104 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 2105 // A list of detected languages together with confidence. 2106 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 2107} 2108 2109func (x *Document_Page_VisualElement) Reset() { 2110 *x = Document_Page_VisualElement{} 2111 if protoimpl.UnsafeEnabled { 2112 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[20] 2113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2114 ms.StoreMessageInfo(mi) 2115 } 2116} 2117 2118func (x *Document_Page_VisualElement) String() string { 2119 return protoimpl.X.MessageStringOf(x) 2120} 2121 2122func (*Document_Page_VisualElement) ProtoMessage() {} 2123 2124func (x *Document_Page_VisualElement) ProtoReflect() protoreflect.Message { 2125 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[20] 2126 if protoimpl.UnsafeEnabled && x != nil { 2127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2128 if ms.LoadMessageInfo() == nil { 2129 ms.StoreMessageInfo(mi) 2130 } 2131 return ms 2132 } 2133 return mi.MessageOf(x) 2134} 2135 2136// Deprecated: Use Document_Page_VisualElement.ProtoReflect.Descriptor instead. 2137func (*Document_Page_VisualElement) Descriptor() ([]byte, []int) { 2138 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 8} 2139} 2140 2141func (x *Document_Page_VisualElement) GetLayout() *Document_Page_Layout { 2142 if x != nil { 2143 return x.Layout 2144 } 2145 return nil 2146} 2147 2148func (x *Document_Page_VisualElement) GetType() string { 2149 if x != nil { 2150 return x.Type 2151 } 2152 return "" 2153} 2154 2155func (x *Document_Page_VisualElement) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 2156 if x != nil { 2157 return x.DetectedLanguages 2158 } 2159 return nil 2160} 2161 2162// A table representation similar to HTML table structure. 2163type Document_Page_Table struct { 2164 state protoimpl.MessageState 2165 sizeCache protoimpl.SizeCache 2166 unknownFields protoimpl.UnknownFields 2167 2168 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table]. 2169 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 2170 // Header rows of the table. 2171 HeaderRows []*Document_Page_Table_TableRow `protobuf:"bytes,2,rep,name=header_rows,json=headerRows,proto3" json:"header_rows,omitempty"` 2172 // Body rows of the table. 2173 BodyRows []*Document_Page_Table_TableRow `protobuf:"bytes,3,rep,name=body_rows,json=bodyRows,proto3" json:"body_rows,omitempty"` 2174 // A list of detected languages together with confidence. 2175 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 2176} 2177 2178func (x *Document_Page_Table) Reset() { 2179 *x = Document_Page_Table{} 2180 if protoimpl.UnsafeEnabled { 2181 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[21] 2182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2183 ms.StoreMessageInfo(mi) 2184 } 2185} 2186 2187func (x *Document_Page_Table) String() string { 2188 return protoimpl.X.MessageStringOf(x) 2189} 2190 2191func (*Document_Page_Table) ProtoMessage() {} 2192 2193func (x *Document_Page_Table) ProtoReflect() protoreflect.Message { 2194 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[21] 2195 if protoimpl.UnsafeEnabled && x != nil { 2196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2197 if ms.LoadMessageInfo() == nil { 2198 ms.StoreMessageInfo(mi) 2199 } 2200 return ms 2201 } 2202 return mi.MessageOf(x) 2203} 2204 2205// Deprecated: Use Document_Page_Table.ProtoReflect.Descriptor instead. 2206func (*Document_Page_Table) Descriptor() ([]byte, []int) { 2207 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 9} 2208} 2209 2210func (x *Document_Page_Table) GetLayout() *Document_Page_Layout { 2211 if x != nil { 2212 return x.Layout 2213 } 2214 return nil 2215} 2216 2217func (x *Document_Page_Table) GetHeaderRows() []*Document_Page_Table_TableRow { 2218 if x != nil { 2219 return x.HeaderRows 2220 } 2221 return nil 2222} 2223 2224func (x *Document_Page_Table) GetBodyRows() []*Document_Page_Table_TableRow { 2225 if x != nil { 2226 return x.BodyRows 2227 } 2228 return nil 2229} 2230 2231func (x *Document_Page_Table) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 2232 if x != nil { 2233 return x.DetectedLanguages 2234 } 2235 return nil 2236} 2237 2238// A form field detected on the page. 2239type Document_Page_FormField struct { 2240 state protoimpl.MessageState 2241 sizeCache protoimpl.SizeCache 2242 unknownFields protoimpl.UnknownFields 2243 2244 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`, 2245 // `Grand total`, `Phone number`, etc. 2246 FieldName *Document_Page_Layout `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` 2247 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value. 2248 FieldValue *Document_Page_Layout `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"` 2249 // A list of detected languages for name together with confidence. 2250 NameDetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=name_detected_languages,json=nameDetectedLanguages,proto3" json:"name_detected_languages,omitempty"` 2251 // A list of detected languages for value together with confidence. 2252 ValueDetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=value_detected_languages,json=valueDetectedLanguages,proto3" json:"value_detected_languages,omitempty"` 2253 // If the value is non-textual, this field represents the type. Current 2254 // valid values are: 2255 // - blank (this indicates the field_value is normal text) 2256 // - "unfilled_checkbox" 2257 // - "filled_checkbox" 2258 ValueType string `protobuf:"bytes,5,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"` 2259 // The history of this annotation. 2260 Provenance *Document_Provenance `protobuf:"bytes,8,opt,name=provenance,proto3" json:"provenance,omitempty"` 2261} 2262 2263func (x *Document_Page_FormField) Reset() { 2264 *x = Document_Page_FormField{} 2265 if protoimpl.UnsafeEnabled { 2266 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[22] 2267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2268 ms.StoreMessageInfo(mi) 2269 } 2270} 2271 2272func (x *Document_Page_FormField) String() string { 2273 return protoimpl.X.MessageStringOf(x) 2274} 2275 2276func (*Document_Page_FormField) ProtoMessage() {} 2277 2278func (x *Document_Page_FormField) ProtoReflect() protoreflect.Message { 2279 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[22] 2280 if protoimpl.UnsafeEnabled && x != nil { 2281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2282 if ms.LoadMessageInfo() == nil { 2283 ms.StoreMessageInfo(mi) 2284 } 2285 return ms 2286 } 2287 return mi.MessageOf(x) 2288} 2289 2290// Deprecated: Use Document_Page_FormField.ProtoReflect.Descriptor instead. 2291func (*Document_Page_FormField) Descriptor() ([]byte, []int) { 2292 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 10} 2293} 2294 2295func (x *Document_Page_FormField) GetFieldName() *Document_Page_Layout { 2296 if x != nil { 2297 return x.FieldName 2298 } 2299 return nil 2300} 2301 2302func (x *Document_Page_FormField) GetFieldValue() *Document_Page_Layout { 2303 if x != nil { 2304 return x.FieldValue 2305 } 2306 return nil 2307} 2308 2309func (x *Document_Page_FormField) GetNameDetectedLanguages() []*Document_Page_DetectedLanguage { 2310 if x != nil { 2311 return x.NameDetectedLanguages 2312 } 2313 return nil 2314} 2315 2316func (x *Document_Page_FormField) GetValueDetectedLanguages() []*Document_Page_DetectedLanguage { 2317 if x != nil { 2318 return x.ValueDetectedLanguages 2319 } 2320 return nil 2321} 2322 2323func (x *Document_Page_FormField) GetValueType() string { 2324 if x != nil { 2325 return x.ValueType 2326 } 2327 return "" 2328} 2329 2330func (x *Document_Page_FormField) GetProvenance() *Document_Provenance { 2331 if x != nil { 2332 return x.Provenance 2333 } 2334 return nil 2335} 2336 2337// Detected language for a structural component. 2338type Document_Page_DetectedLanguage struct { 2339 state protoimpl.MessageState 2340 sizeCache protoimpl.SizeCache 2341 unknownFields protoimpl.UnknownFields 2342 2343 // The BCP-47 language code, such as "en-US" or "sr-Latn". For more 2344 // information, see 2345 // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. 2346 LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2347 // Confidence of detected language. Range [0, 1]. 2348 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 2349} 2350 2351func (x *Document_Page_DetectedLanguage) Reset() { 2352 *x = Document_Page_DetectedLanguage{} 2353 if protoimpl.UnsafeEnabled { 2354 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[23] 2355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2356 ms.StoreMessageInfo(mi) 2357 } 2358} 2359 2360func (x *Document_Page_DetectedLanguage) String() string { 2361 return protoimpl.X.MessageStringOf(x) 2362} 2363 2364func (*Document_Page_DetectedLanguage) ProtoMessage() {} 2365 2366func (x *Document_Page_DetectedLanguage) ProtoReflect() protoreflect.Message { 2367 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[23] 2368 if protoimpl.UnsafeEnabled && x != nil { 2369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2370 if ms.LoadMessageInfo() == nil { 2371 ms.StoreMessageInfo(mi) 2372 } 2373 return ms 2374 } 2375 return mi.MessageOf(x) 2376} 2377 2378// Deprecated: Use Document_Page_DetectedLanguage.ProtoReflect.Descriptor instead. 2379func (*Document_Page_DetectedLanguage) Descriptor() ([]byte, []int) { 2380 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 11} 2381} 2382 2383func (x *Document_Page_DetectedLanguage) GetLanguageCode() string { 2384 if x != nil { 2385 return x.LanguageCode 2386 } 2387 return "" 2388} 2389 2390func (x *Document_Page_DetectedLanguage) GetConfidence() float32 { 2391 if x != nil { 2392 return x.Confidence 2393 } 2394 return 0 2395} 2396 2397// Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token]. 2398type Document_Page_Token_DetectedBreak struct { 2399 state protoimpl.MessageState 2400 sizeCache protoimpl.SizeCache 2401 unknownFields protoimpl.UnknownFields 2402 2403 // Detected break type. 2404 Type Document_Page_Token_DetectedBreak_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.documentai.v1.Document_Page_Token_DetectedBreak_Type" json:"type,omitempty"` 2405} 2406 2407func (x *Document_Page_Token_DetectedBreak) Reset() { 2408 *x = Document_Page_Token_DetectedBreak{} 2409 if protoimpl.UnsafeEnabled { 2410 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[24] 2411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2412 ms.StoreMessageInfo(mi) 2413 } 2414} 2415 2416func (x *Document_Page_Token_DetectedBreak) String() string { 2417 return protoimpl.X.MessageStringOf(x) 2418} 2419 2420func (*Document_Page_Token_DetectedBreak) ProtoMessage() {} 2421 2422func (x *Document_Page_Token_DetectedBreak) ProtoReflect() protoreflect.Message { 2423 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[24] 2424 if protoimpl.UnsafeEnabled && x != nil { 2425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2426 if ms.LoadMessageInfo() == nil { 2427 ms.StoreMessageInfo(mi) 2428 } 2429 return ms 2430 } 2431 return mi.MessageOf(x) 2432} 2433 2434// Deprecated: Use Document_Page_Token_DetectedBreak.ProtoReflect.Descriptor instead. 2435func (*Document_Page_Token_DetectedBreak) Descriptor() ([]byte, []int) { 2436 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 7, 0} 2437} 2438 2439func (x *Document_Page_Token_DetectedBreak) GetType() Document_Page_Token_DetectedBreak_Type { 2440 if x != nil { 2441 return x.Type 2442 } 2443 return Document_Page_Token_DetectedBreak_TYPE_UNSPECIFIED 2444} 2445 2446// A row of table cells. 2447type Document_Page_Table_TableRow struct { 2448 state protoimpl.MessageState 2449 sizeCache protoimpl.SizeCache 2450 unknownFields protoimpl.UnknownFields 2451 2452 // Cells that make up this row. 2453 Cells []*Document_Page_Table_TableCell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` 2454} 2455 2456func (x *Document_Page_Table_TableRow) Reset() { 2457 *x = Document_Page_Table_TableRow{} 2458 if protoimpl.UnsafeEnabled { 2459 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[25] 2460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2461 ms.StoreMessageInfo(mi) 2462 } 2463} 2464 2465func (x *Document_Page_Table_TableRow) String() string { 2466 return protoimpl.X.MessageStringOf(x) 2467} 2468 2469func (*Document_Page_Table_TableRow) ProtoMessage() {} 2470 2471func (x *Document_Page_Table_TableRow) ProtoReflect() protoreflect.Message { 2472 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[25] 2473 if protoimpl.UnsafeEnabled && x != nil { 2474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2475 if ms.LoadMessageInfo() == nil { 2476 ms.StoreMessageInfo(mi) 2477 } 2478 return ms 2479 } 2480 return mi.MessageOf(x) 2481} 2482 2483// Deprecated: Use Document_Page_Table_TableRow.ProtoReflect.Descriptor instead. 2484func (*Document_Page_Table_TableRow) Descriptor() ([]byte, []int) { 2485 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 9, 0} 2486} 2487 2488func (x *Document_Page_Table_TableRow) GetCells() []*Document_Page_Table_TableCell { 2489 if x != nil { 2490 return x.Cells 2491 } 2492 return nil 2493} 2494 2495// A cell representation inside the table. 2496type Document_Page_Table_TableCell struct { 2497 state protoimpl.MessageState 2498 sizeCache protoimpl.SizeCache 2499 unknownFields protoimpl.UnknownFields 2500 2501 // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell]. 2502 Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` 2503 // How many rows this cell spans. 2504 RowSpan int32 `protobuf:"varint,2,opt,name=row_span,json=rowSpan,proto3" json:"row_span,omitempty"` 2505 // How many columns this cell spans. 2506 ColSpan int32 `protobuf:"varint,3,opt,name=col_span,json=colSpan,proto3" json:"col_span,omitempty"` 2507 // A list of detected languages together with confidence. 2508 DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` 2509} 2510 2511func (x *Document_Page_Table_TableCell) Reset() { 2512 *x = Document_Page_Table_TableCell{} 2513 if protoimpl.UnsafeEnabled { 2514 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[26] 2515 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2516 ms.StoreMessageInfo(mi) 2517 } 2518} 2519 2520func (x *Document_Page_Table_TableCell) String() string { 2521 return protoimpl.X.MessageStringOf(x) 2522} 2523 2524func (*Document_Page_Table_TableCell) ProtoMessage() {} 2525 2526func (x *Document_Page_Table_TableCell) ProtoReflect() protoreflect.Message { 2527 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[26] 2528 if protoimpl.UnsafeEnabled && x != nil { 2529 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2530 if ms.LoadMessageInfo() == nil { 2531 ms.StoreMessageInfo(mi) 2532 } 2533 return ms 2534 } 2535 return mi.MessageOf(x) 2536} 2537 2538// Deprecated: Use Document_Page_Table_TableCell.ProtoReflect.Descriptor instead. 2539func (*Document_Page_Table_TableCell) Descriptor() ([]byte, []int) { 2540 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 2, 9, 1} 2541} 2542 2543func (x *Document_Page_Table_TableCell) GetLayout() *Document_Page_Layout { 2544 if x != nil { 2545 return x.Layout 2546 } 2547 return nil 2548} 2549 2550func (x *Document_Page_Table_TableCell) GetRowSpan() int32 { 2551 if x != nil { 2552 return x.RowSpan 2553 } 2554 return 0 2555} 2556 2557func (x *Document_Page_Table_TableCell) GetColSpan() int32 { 2558 if x != nil { 2559 return x.ColSpan 2560 } 2561 return 0 2562} 2563 2564func (x *Document_Page_Table_TableCell) GetDetectedLanguages() []*Document_Page_DetectedLanguage { 2565 if x != nil { 2566 return x.DetectedLanguages 2567 } 2568 return nil 2569} 2570 2571// Parsed and normalized entity value. 2572type Document_Entity_NormalizedValue struct { 2573 state protoimpl.MessageState 2574 sizeCache protoimpl.SizeCache 2575 unknownFields protoimpl.UnknownFields 2576 2577 // Structured entity value. Must match entity type defined in schema if 2578 // known. If this field is present, the 'text' field is still populated. 2579 // 2580 // Types that are assignable to StructuredValue: 2581 // *Document_Entity_NormalizedValue_MoneyValue 2582 // *Document_Entity_NormalizedValue_DateValue 2583 // *Document_Entity_NormalizedValue_DatetimeValue 2584 // *Document_Entity_NormalizedValue_AddressValue 2585 // *Document_Entity_NormalizedValue_BooleanValue 2586 StructuredValue isDocument_Entity_NormalizedValue_StructuredValue `protobuf_oneof:"structured_value"` 2587 // Required. Normalized entity value stored as a string. This field is populated for 2588 // supported document type (e.g. Invoice). For some entity types, one of 2589 // respective 'structured_value' fields may also be populated. 2590 // 2591 // - Money/Currency type (`money_value`) is in the ISO 4217 text format. 2592 // - Date type (`date_value`) is in the ISO 8601 text format. 2593 // - Datetime type (`datetime_value`) is in the ISO 8601 text format. 2594 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 2595} 2596 2597func (x *Document_Entity_NormalizedValue) Reset() { 2598 *x = Document_Entity_NormalizedValue{} 2599 if protoimpl.UnsafeEnabled { 2600 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[27] 2601 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2602 ms.StoreMessageInfo(mi) 2603 } 2604} 2605 2606func (x *Document_Entity_NormalizedValue) String() string { 2607 return protoimpl.X.MessageStringOf(x) 2608} 2609 2610func (*Document_Entity_NormalizedValue) ProtoMessage() {} 2611 2612func (x *Document_Entity_NormalizedValue) ProtoReflect() protoreflect.Message { 2613 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[27] 2614 if protoimpl.UnsafeEnabled && x != nil { 2615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2616 if ms.LoadMessageInfo() == nil { 2617 ms.StoreMessageInfo(mi) 2618 } 2619 return ms 2620 } 2621 return mi.MessageOf(x) 2622} 2623 2624// Deprecated: Use Document_Entity_NormalizedValue.ProtoReflect.Descriptor instead. 2625func (*Document_Entity_NormalizedValue) Descriptor() ([]byte, []int) { 2626 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 3, 0} 2627} 2628 2629func (m *Document_Entity_NormalizedValue) GetStructuredValue() isDocument_Entity_NormalizedValue_StructuredValue { 2630 if m != nil { 2631 return m.StructuredValue 2632 } 2633 return nil 2634} 2635 2636func (x *Document_Entity_NormalizedValue) GetMoneyValue() *money.Money { 2637 if x, ok := x.GetStructuredValue().(*Document_Entity_NormalizedValue_MoneyValue); ok { 2638 return x.MoneyValue 2639 } 2640 return nil 2641} 2642 2643func (x *Document_Entity_NormalizedValue) GetDateValue() *date.Date { 2644 if x, ok := x.GetStructuredValue().(*Document_Entity_NormalizedValue_DateValue); ok { 2645 return x.DateValue 2646 } 2647 return nil 2648} 2649 2650func (x *Document_Entity_NormalizedValue) GetDatetimeValue() *datetime.DateTime { 2651 if x, ok := x.GetStructuredValue().(*Document_Entity_NormalizedValue_DatetimeValue); ok { 2652 return x.DatetimeValue 2653 } 2654 return nil 2655} 2656 2657func (x *Document_Entity_NormalizedValue) GetAddressValue() *postaladdress.PostalAddress { 2658 if x, ok := x.GetStructuredValue().(*Document_Entity_NormalizedValue_AddressValue); ok { 2659 return x.AddressValue 2660 } 2661 return nil 2662} 2663 2664func (x *Document_Entity_NormalizedValue) GetBooleanValue() bool { 2665 if x, ok := x.GetStructuredValue().(*Document_Entity_NormalizedValue_BooleanValue); ok { 2666 return x.BooleanValue 2667 } 2668 return false 2669} 2670 2671func (x *Document_Entity_NormalizedValue) GetText() string { 2672 if x != nil { 2673 return x.Text 2674 } 2675 return "" 2676} 2677 2678type isDocument_Entity_NormalizedValue_StructuredValue interface { 2679 isDocument_Entity_NormalizedValue_StructuredValue() 2680} 2681 2682type Document_Entity_NormalizedValue_MoneyValue struct { 2683 // Money value. See also: 2684 // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto 2685 MoneyValue *money.Money `protobuf:"bytes,2,opt,name=money_value,json=moneyValue,proto3,oneof"` 2686} 2687 2688type Document_Entity_NormalizedValue_DateValue struct { 2689 // Date value. Includes year, month, day. See also: 2690 // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto 2691 DateValue *date.Date `protobuf:"bytes,3,opt,name=date_value,json=dateValue,proto3,oneof"` 2692} 2693 2694type Document_Entity_NormalizedValue_DatetimeValue struct { 2695 // DateTime value. Includes date, time, and timezone. See also: 2696 // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto 2697 DatetimeValue *datetime.DateTime `protobuf:"bytes,4,opt,name=datetime_value,json=datetimeValue,proto3,oneof"` 2698} 2699 2700type Document_Entity_NormalizedValue_AddressValue struct { 2701 // Postal address. See also: 2702 // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto 2703 AddressValue *postaladdress.PostalAddress `protobuf:"bytes,5,opt,name=address_value,json=addressValue,proto3,oneof"` 2704} 2705 2706type Document_Entity_NormalizedValue_BooleanValue struct { 2707 // Boolean value. Can be used for entities with binary values, or for 2708 // checkboxes. 2709 BooleanValue bool `protobuf:"varint,6,opt,name=boolean_value,json=booleanValue,proto3,oneof"` 2710} 2711 2712func (*Document_Entity_NormalizedValue_MoneyValue) isDocument_Entity_NormalizedValue_StructuredValue() { 2713} 2714 2715func (*Document_Entity_NormalizedValue_DateValue) isDocument_Entity_NormalizedValue_StructuredValue() { 2716} 2717 2718func (*Document_Entity_NormalizedValue_DatetimeValue) isDocument_Entity_NormalizedValue_StructuredValue() { 2719} 2720 2721func (*Document_Entity_NormalizedValue_AddressValue) isDocument_Entity_NormalizedValue_StructuredValue() { 2722} 2723 2724func (*Document_Entity_NormalizedValue_BooleanValue) isDocument_Entity_NormalizedValue_StructuredValue() { 2725} 2726 2727// A text segment in the [Document.text][google.cloud.documentai.v1.Document.text]. The indices may be out of bounds 2728// which indicate that the text extends into another document shard for 2729// large sharded documents. See [ShardInfo.text_offset][google.cloud.documentai.v1.Document.ShardInfo.text_offset] 2730type Document_TextAnchor_TextSegment struct { 2731 state protoimpl.MessageState 2732 sizeCache protoimpl.SizeCache 2733 unknownFields protoimpl.UnknownFields 2734 2735 // [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.documentai.v1.Document.text]. 2736 StartIndex int64 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` 2737 // [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the 2738 // [Document.text][google.cloud.documentai.v1.Document.text]. 2739 EndIndex int64 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"` 2740} 2741 2742func (x *Document_TextAnchor_TextSegment) Reset() { 2743 *x = Document_TextAnchor_TextSegment{} 2744 if protoimpl.UnsafeEnabled { 2745 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[28] 2746 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2747 ms.StoreMessageInfo(mi) 2748 } 2749} 2750 2751func (x *Document_TextAnchor_TextSegment) String() string { 2752 return protoimpl.X.MessageStringOf(x) 2753} 2754 2755func (*Document_TextAnchor_TextSegment) ProtoMessage() {} 2756 2757func (x *Document_TextAnchor_TextSegment) ProtoReflect() protoreflect.Message { 2758 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[28] 2759 if protoimpl.UnsafeEnabled && x != nil { 2760 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2761 if ms.LoadMessageInfo() == nil { 2762 ms.StoreMessageInfo(mi) 2763 } 2764 return ms 2765 } 2766 return mi.MessageOf(x) 2767} 2768 2769// Deprecated: Use Document_TextAnchor_TextSegment.ProtoReflect.Descriptor instead. 2770func (*Document_TextAnchor_TextSegment) Descriptor() ([]byte, []int) { 2771 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 5, 0} 2772} 2773 2774func (x *Document_TextAnchor_TextSegment) GetStartIndex() int64 { 2775 if x != nil { 2776 return x.StartIndex 2777 } 2778 return 0 2779} 2780 2781func (x *Document_TextAnchor_TextSegment) GetEndIndex() int64 { 2782 if x != nil { 2783 return x.EndIndex 2784 } 2785 return 0 2786} 2787 2788// Represents a weak reference to a page element within a document. 2789type Document_PageAnchor_PageRef struct { 2790 state protoimpl.MessageState 2791 sizeCache protoimpl.SizeCache 2792 unknownFields protoimpl.UnknownFields 2793 2794 // Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using 2795 // [Document.pages][page_refs.page] to locate the related page element. 2796 // This field is skipped when its value is the default 0. See 2797 // https://developers.google.com/protocol-buffers/docs/proto3#json. 2798 Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` 2799 // Optional. The type of the layout element that is being referenced if any. 2800 LayoutType Document_PageAnchor_PageRef_LayoutType `protobuf:"varint,2,opt,name=layout_type,json=layoutType,proto3,enum=google.cloud.documentai.v1.Document_PageAnchor_PageRef_LayoutType" json:"layout_type,omitempty"` 2801 // Optional. Deprecated. Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead. 2802 // 2803 // Deprecated: Do not use. 2804 LayoutId string `protobuf:"bytes,3,opt,name=layout_id,json=layoutId,proto3" json:"layout_id,omitempty"` 2805 // Optional. Identifies the bounding polygon of a layout element on the page. 2806 BoundingPoly *BoundingPoly `protobuf:"bytes,4,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` 2807 // Optional. Confidence of detected page element, if applicable. Range [0, 1]. 2808 Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` 2809} 2810 2811func (x *Document_PageAnchor_PageRef) Reset() { 2812 *x = Document_PageAnchor_PageRef{} 2813 if protoimpl.UnsafeEnabled { 2814 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[29] 2815 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2816 ms.StoreMessageInfo(mi) 2817 } 2818} 2819 2820func (x *Document_PageAnchor_PageRef) String() string { 2821 return protoimpl.X.MessageStringOf(x) 2822} 2823 2824func (*Document_PageAnchor_PageRef) ProtoMessage() {} 2825 2826func (x *Document_PageAnchor_PageRef) ProtoReflect() protoreflect.Message { 2827 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[29] 2828 if protoimpl.UnsafeEnabled && x != nil { 2829 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2830 if ms.LoadMessageInfo() == nil { 2831 ms.StoreMessageInfo(mi) 2832 } 2833 return ms 2834 } 2835 return mi.MessageOf(x) 2836} 2837 2838// Deprecated: Use Document_PageAnchor_PageRef.ProtoReflect.Descriptor instead. 2839func (*Document_PageAnchor_PageRef) Descriptor() ([]byte, []int) { 2840 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 6, 0} 2841} 2842 2843func (x *Document_PageAnchor_PageRef) GetPage() int64 { 2844 if x != nil { 2845 return x.Page 2846 } 2847 return 0 2848} 2849 2850func (x *Document_PageAnchor_PageRef) GetLayoutType() Document_PageAnchor_PageRef_LayoutType { 2851 if x != nil { 2852 return x.LayoutType 2853 } 2854 return Document_PageAnchor_PageRef_LAYOUT_TYPE_UNSPECIFIED 2855} 2856 2857// Deprecated: Do not use. 2858func (x *Document_PageAnchor_PageRef) GetLayoutId() string { 2859 if x != nil { 2860 return x.LayoutId 2861 } 2862 return "" 2863} 2864 2865func (x *Document_PageAnchor_PageRef) GetBoundingPoly() *BoundingPoly { 2866 if x != nil { 2867 return x.BoundingPoly 2868 } 2869 return nil 2870} 2871 2872func (x *Document_PageAnchor_PageRef) GetConfidence() float32 { 2873 if x != nil { 2874 return x.Confidence 2875 } 2876 return 0 2877} 2878 2879// Structure for referencing parent provenances. When an element replaces 2880// one of more other elements parent references identify the elements that 2881// are replaced. 2882type Document_Provenance_Parent struct { 2883 state protoimpl.MessageState 2884 sizeCache protoimpl.SizeCache 2885 unknownFields protoimpl.UnknownFields 2886 2887 // The index of the [Document.revisions] identifying the parent revision. 2888 Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` 2889 // The index of the parent revisions corresponding collection of items 2890 // (eg. list of entities, properties within entities, etc.) 2891 Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` 2892 // The id of the parent provenance. 2893 // 2894 // Deprecated: Do not use. 2895 Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` 2896} 2897 2898func (x *Document_Provenance_Parent) Reset() { 2899 *x = Document_Provenance_Parent{} 2900 if protoimpl.UnsafeEnabled { 2901 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[30] 2902 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2903 ms.StoreMessageInfo(mi) 2904 } 2905} 2906 2907func (x *Document_Provenance_Parent) String() string { 2908 return protoimpl.X.MessageStringOf(x) 2909} 2910 2911func (*Document_Provenance_Parent) ProtoMessage() {} 2912 2913func (x *Document_Provenance_Parent) ProtoReflect() protoreflect.Message { 2914 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[30] 2915 if protoimpl.UnsafeEnabled && x != nil { 2916 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2917 if ms.LoadMessageInfo() == nil { 2918 ms.StoreMessageInfo(mi) 2919 } 2920 return ms 2921 } 2922 return mi.MessageOf(x) 2923} 2924 2925// Deprecated: Use Document_Provenance_Parent.ProtoReflect.Descriptor instead. 2926func (*Document_Provenance_Parent) Descriptor() ([]byte, []int) { 2927 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 7, 0} 2928} 2929 2930func (x *Document_Provenance_Parent) GetRevision() int32 { 2931 if x != nil { 2932 return x.Revision 2933 } 2934 return 0 2935} 2936 2937func (x *Document_Provenance_Parent) GetIndex() int32 { 2938 if x != nil { 2939 return x.Index 2940 } 2941 return 0 2942} 2943 2944// Deprecated: Do not use. 2945func (x *Document_Provenance_Parent) GetId() int32 { 2946 if x != nil { 2947 return x.Id 2948 } 2949 return 0 2950} 2951 2952// Human Review information of the document. 2953type Document_Revision_HumanReview struct { 2954 state protoimpl.MessageState 2955 sizeCache protoimpl.SizeCache 2956 unknownFields protoimpl.UnknownFields 2957 2958 // Human review state. e.g. `requested`, `succeeded`, `rejected`. 2959 State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` 2960 // A message providing more details about the current state of processing. 2961 // For example, the rejection reason when the state is `rejected`. 2962 StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` 2963} 2964 2965func (x *Document_Revision_HumanReview) Reset() { 2966 *x = Document_Revision_HumanReview{} 2967 if protoimpl.UnsafeEnabled { 2968 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[31] 2969 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2970 ms.StoreMessageInfo(mi) 2971 } 2972} 2973 2974func (x *Document_Revision_HumanReview) String() string { 2975 return protoimpl.X.MessageStringOf(x) 2976} 2977 2978func (*Document_Revision_HumanReview) ProtoMessage() {} 2979 2980func (x *Document_Revision_HumanReview) ProtoReflect() protoreflect.Message { 2981 mi := &file_google_cloud_documentai_v1_document_proto_msgTypes[31] 2982 if protoimpl.UnsafeEnabled && x != nil { 2983 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2984 if ms.LoadMessageInfo() == nil { 2985 ms.StoreMessageInfo(mi) 2986 } 2987 return ms 2988 } 2989 return mi.MessageOf(x) 2990} 2991 2992// Deprecated: Use Document_Revision_HumanReview.ProtoReflect.Descriptor instead. 2993func (*Document_Revision_HumanReview) Descriptor() ([]byte, []int) { 2994 return file_google_cloud_documentai_v1_document_proto_rawDescGZIP(), []int{0, 8, 0} 2995} 2996 2997func (x *Document_Revision_HumanReview) GetState() string { 2998 if x != nil { 2999 return x.State 3000 } 3001 return "" 3002} 3003 3004func (x *Document_Revision_HumanReview) GetStateMessage() string { 3005 if x != nil { 3006 return x.StateMessage 3007 } 3008 return "" 3009} 3010 3011var File_google_cloud_documentai_v1_document_proto protoreflect.FileDescriptor 3012 3013var file_google_cloud_documentai_v1_document_proto_rawDesc = []byte{ 3014 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 3015 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 3016 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 3017 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 3018 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 3019 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 3020 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3021 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 3022 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 3023 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 3024 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 3025 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 3026 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 3027 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 3028 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 3029 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 3030 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x65, 3031 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 3032 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x2e, 0x70, 0x72, 3033 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 3034 0x2f, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 3035 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 3036 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 3037 0x6f, 0x74, 0x6f, 0x22, 0xfa, 0x44, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 3038 0x12, 0x17, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 3039 0x41, 0x01, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 3040 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 3041 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 3042 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 3043 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 3044 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 3045 0x12, 0x4b, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x73, 0x18, 3046 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 3047 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 3048 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x79, 0x6c, 3049 0x65, 0x52, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a, 3050 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 3051 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 3052 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 3053 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x12, 0x47, 3054 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 3055 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 3056 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 3057 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x65, 3058 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x5e, 0x0a, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 3059 0x79, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 3060 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 3061 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 3062 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 3063 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 3064 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x52, 0x0a, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x5f, 3065 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 3066 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 3067 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 3068 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0b, 3069 0x74, 0x65, 0x78, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x73, 3070 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 3071 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 3072 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 3073 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 3074 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x72, 3075 0x72, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 3076 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x65, 3077 0x72, 0x72, 0x6f, 0x72, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 3078 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3079 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 3080 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 3081 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 3082 0x73, 0x1a, 0x6e, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 3083 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 3084 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 3085 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 3086 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 3087 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 3088 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 3089 0x74, 0x1a, 0xb1, 0x03, 0x0a, 0x05, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x74, 3090 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 3091 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 3092 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 3093 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 3094 0x72, 0x52, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x28, 0x0a, 3095 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 3096 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 3097 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x67, 3098 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 3099 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 3100 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 3101 0x64, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6f, 0x6e, 0x74, 0x5f, 0x77, 3102 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x6e, 3103 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 3104 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x65, 0x78, 3105 0x74, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x64, 3106 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 3107 0x0e, 0x74, 0x65, 0x78, 0x74, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 3108 0x50, 0x0a, 0x09, 0x66, 0x6f, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 3109 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 3110 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 3111 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x2e, 0x46, 3112 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x08, 0x66, 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a, 3113 0x65, 0x1a, 0x32, 0x0a, 0x08, 0x46, 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 3114 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, 0x73, 0x69, 0x7a, 3115 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 3116 0x04, 0x75, 0x6e, 0x69, 0x74, 0x1a, 0xd0, 0x24, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1f, 3117 0x0a, 0x0b, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 3118 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 3119 0x45, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 3120 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 3121 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 3122 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 3123 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 3124 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 3125 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 3126 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 3127 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x0a, 0x74, 0x72, 3128 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x12, 0x51, 0x0a, 0x09, 0x64, 0x69, 0x6d, 0x65, 3129 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 3130 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 3131 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 3132 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 3133 0x52, 0x09, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x06, 0x6c, 3134 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 3135 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 3136 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 3137 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 3138 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x69, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 3139 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 3140 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 3141 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 3142 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 3143 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 3144 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 3145 0x12, 0x47, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 3146 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 3147 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 3148 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 3149 0x6b, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x53, 0x0a, 0x0a, 0x70, 0x61, 0x72, 3150 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 3151 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 3152 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 3153 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 3154 0x70, 0x68, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x73, 0x12, 0x44, 3155 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 3156 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 3157 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 3158 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x52, 0x05, 0x6c, 3159 0x69, 0x6e, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x08, 3160 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 3161 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 3162 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 3163 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x60, 0x0a, 3164 0x0f, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 3165 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 3166 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 3167 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 3168 0x65, 0x2e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 3169 0x0e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 3170 0x47, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 3171 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 3172 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 3173 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 3174 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x6d, 3175 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 3176 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 3177 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 3178 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x46, 0x69, 0x65, 3179 0x6c, 0x64, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x4f, 3180 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x10, 0x20, 0x01, 3181 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 3182 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 3183 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 3184 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x1a, 3185 0x4d, 0x0a, 0x09, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 3186 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x77, 0x69, 0x64, 3187 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 3188 0x28, 0x02, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 3189 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x1a, 0x6c, 3190 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 3191 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 3192 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 3193 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 3194 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 3195 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 3196 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x1a, 0x58, 0x0a, 0x06, 3197 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 3198 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 3199 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x12, 3200 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 3201 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 3202 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x90, 0x03, 0x0a, 0x06, 0x4c, 0x61, 0x79, 0x6f, 0x75, 3203 0x74, 0x12, 0x50, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 3204 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 3205 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 3206 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x65, 0x78, 3207 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 3208 0x68, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 3209 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 3210 0x6e, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0d, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 3211 0x70, 0x6f, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 3212 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 3213 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 3214 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 3215 0x6c, 0x79, 0x12, 0x5e, 0x0a, 0x0b, 0x6f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 3216 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3217 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 3218 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 3219 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x2e, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 3220 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 3221 0x6f, 0x6e, 0x22, 0x65, 0x0a, 0x0b, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 3222 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x4f, 0x52, 0x49, 0x45, 0x4e, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 3223 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 3224 0x0a, 0x07, 0x50, 0x41, 0x47, 0x45, 0x5f, 0x55, 0x50, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 3225 0x41, 0x47, 0x45, 0x5f, 0x52, 0x49, 0x47, 0x48, 0x54, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x50, 3226 0x41, 0x47, 0x45, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x41, 3227 0x47, 0x45, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x10, 0x04, 0x1a, 0x8d, 0x02, 0x0a, 0x05, 0x42, 0x6c, 3228 0x6f, 0x63, 0x6b, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 3229 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 3230 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 3231 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 3232 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x69, 0x0a, 3233 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 3234 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 3235 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 3236 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 3237 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 3238 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 3239 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 3240 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 3241 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 3242 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 3243 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x70, 3244 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x91, 0x02, 0x0a, 0x09, 0x50, 0x61, 3245 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 3246 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3247 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 3248 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 3249 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 3250 0x74, 0x12, 0x69, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 3251 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 3252 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 3253 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 3254 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 3255 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 3256 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0a, 3257 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 3258 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 3259 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 3260 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 3261 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x8c, 0x02, 3262 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 3263 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 3264 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 3265 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 3266 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 3267 0x12, 0x69, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 3268 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 3269 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 3270 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 3271 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 3272 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 3273 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0a, 0x70, 3274 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 3275 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 3276 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 3277 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 3278 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0xa2, 0x04, 0x0a, 3279 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 3280 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 3281 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 3282 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 3283 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 3284 0x12, 0x64, 0x0a, 0x0e, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x72, 0x65, 3285 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 3286 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 3287 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 3288 0x61, 0x67, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 3289 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x52, 0x0d, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 3290 0x64, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x69, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 3291 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 3292 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 3293 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 3294 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 3295 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 3296 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 3297 0x73, 0x12, 0x4f, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 3298 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 3299 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 3300 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 3301 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 3302 0x63, 0x65, 0x1a, 0xac, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 3303 0x72, 0x65, 0x61, 0x6b, 0x12, 0x56, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 3304 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 3305 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 3306 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x6f, 3307 0x6b, 0x65, 0x6e, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x72, 0x65, 0x61, 3308 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x43, 0x0a, 0x04, 3309 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 3310 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, 3311 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x57, 0x49, 0x44, 0x45, 0x5f, 0x53, 0x50, 3312 0x41, 0x43, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x59, 0x50, 0x48, 0x45, 0x4e, 0x10, 3313 0x03, 0x1a, 0xd8, 0x01, 0x0a, 0x0d, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 3314 0x65, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 3315 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 3316 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 3317 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x4c, 3318 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x12, 0x0a, 3319 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 3320 0x65, 0x12, 0x69, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 3321 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 3322 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 3323 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 3324 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 3325 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 3326 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 0xc4, 0x05, 0x0a, 3327 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 3328 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 3329 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 3330 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 3331 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 3332 0x12, 0x59, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 3333 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 3334 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 3335 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 3336 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x52, 3337 0x0a, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x55, 0x0a, 0x09, 0x62, 3338 0x6f, 0x64, 0x79, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 3339 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 3340 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 3341 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 3342 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x52, 0x08, 0x62, 0x6f, 0x64, 0x79, 0x52, 0x6f, 3343 0x77, 0x73, 0x12, 0x69, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 3344 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 3345 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 3346 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 3347 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 3348 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 3349 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 3350 0x08, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x12, 0x4f, 0x0a, 0x05, 0x63, 0x65, 0x6c, 3351 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 3352 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 3353 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 3354 0x61, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 3355 0x65, 0x6c, 0x6c, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x1a, 0xf6, 0x01, 0x0a, 0x09, 0x54, 3356 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 3357 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 3358 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 3359 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 3360 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 3361 0x75, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x77, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x02, 3362 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x77, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x19, 0x0a, 3363 0x08, 0x63, 0x6f, 0x6c, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 3364 0x07, 0x63, 0x6f, 0x6c, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x69, 0x0a, 0x12, 0x64, 0x65, 0x74, 0x65, 3365 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 3366 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 3367 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 3368 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 3369 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 3370 0x52, 0x11, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 3371 0x67, 0x65, 0x73, 0x1a, 0x89, 0x04, 0x0a, 0x09, 0x46, 0x6f, 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 3372 0x64, 0x12, 0x4f, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 3373 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 3374 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 3375 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 3376 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 3377 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 3378 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3379 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 3380 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 3381 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 3382 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x72, 0x0a, 0x17, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x64, 0x65, 3383 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 3384 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 3385 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 3386 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 3387 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 3388 0x67, 0x65, 0x52, 0x15, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 3389 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x74, 0x0a, 0x18, 0x76, 0x61, 0x6c, 3390 0x75, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 3391 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 3392 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 3393 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 3394 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 3395 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x16, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 3396 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 3397 0x1d, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 3398 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 3399 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 3400 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 3401 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 3402 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 3403 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x1a, 3404 0x57, 0x0a, 0x10, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 3405 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 3406 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 3407 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 3408 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 3409 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0xdc, 0x07, 0x0a, 0x06, 0x45, 0x6e, 0x74, 3410 0x69, 0x74, 0x79, 0x12, 0x55, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 3411 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 3412 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 3413 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 3414 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 3415 0x74, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 3416 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x26, 3417 0x0a, 0x0c, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 3418 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x6d, 0x65, 0x6e, 0x74, 0x69, 3419 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 3420 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 3421 0x09, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0a, 0x63, 0x6f, 3422 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 3423 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 3424 0x55, 0x0a, 0x0b, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 0x06, 3425 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 3426 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 3427 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x41, 3428 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x65, 3429 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 3430 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x6b, 0x0a, 0x10, 0x6e, 3431 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 3432 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 3433 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 3434 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x69, 3435 0x74, 0x79, 0x2e, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x61, 0x6c, 3436 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 3437 0x7a, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 3438 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 3439 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 3440 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 3441 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 3442 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x72, 3443 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 3444 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 3445 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 3446 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x42, 3447 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 3448 0x12, 0x1f, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 3449 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x65, 3450 0x64, 0x1a, 0xd3, 0x02, 0x0a, 0x0f, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 3451 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x5f, 0x76, 3452 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 3453 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x48, 0x00, 3454 0x52, 0x0a, 0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x32, 0x0a, 0x0a, 3455 0x64, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 3456 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 3457 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 3458 0x12, 0x3e, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 3459 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 3460 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x48, 3461 0x00, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 3462 0x12, 0x41, 0x0a, 0x0d, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 3463 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3464 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 3465 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x56, 0x61, 3466 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x5f, 0x76, 3467 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x6f, 3468 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x65, 3469 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 3470 0x65, 0x78, 0x74, 0x42, 0x12, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 3471 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x68, 0x0a, 0x0e, 0x45, 0x6e, 0x74, 0x69, 0x74, 3472 0x79, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 3473 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 3474 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x62, 0x6a, 0x65, 3475 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, 3476 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 3477 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 3478 0x6e, 0x1a, 0xd5, 0x01, 0x0a, 0x0a, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 3479 0x12, 0x60, 0x0a, 0x0d, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 3480 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3481 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 3482 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x65, 3483 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 3484 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 3485 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 3486 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x1a, 0x4b, 0x0a, 0x0b, 3487 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 3488 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 3489 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 3490 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 3491 0x08, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0x98, 0x04, 0x0a, 0x0a, 0x50, 0x61, 3492 0x67, 0x65, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x54, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 3493 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 3494 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 3495 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 3496 0x74, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x2e, 0x50, 0x61, 0x67, 3497 0x65, 0x52, 0x65, 0x66, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x52, 0x65, 0x66, 0x73, 0x1a, 0xb3, 3498 0x03, 0x0a, 0x07, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x66, 0x12, 0x17, 0x0a, 0x04, 0x70, 0x61, 3499 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x70, 3500 0x61, 0x67, 0x65, 0x12, 0x68, 0x0a, 0x0b, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x5f, 0x74, 0x79, 3501 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 3502 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 3503 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 3504 0x61, 0x67, 0x65, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 3505 0x66, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 3506 0x01, 0x52, 0x0a, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 3507 0x09, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 3508 0x42, 0x05, 0x18, 0x01, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x49, 3509 0x64, 0x12, 0x52, 0x0a, 0x0d, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 3510 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 3511 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 3512 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 3513 0x6c, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 3514 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 3515 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 3516 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x87, 0x01, 0x0a, 0x0a, 0x4c, 3517 0x61, 0x79, 0x6f, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x4c, 0x41, 0x59, 3518 0x4f, 0x55, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 3519 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 3520 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x41, 0x52, 0x41, 0x47, 0x52, 0x41, 0x50, 0x48, 0x10, 0x02, 3521 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x4f, 3522 0x4b, 0x45, 0x4e, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x56, 0x49, 0x53, 0x55, 0x41, 0x4c, 0x5f, 3523 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x41, 0x42, 3524 0x4c, 0x45, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x46, 0x49, 0x45, 3525 0x4c, 0x44, 0x10, 0x07, 0x1a, 0xbe, 0x03, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 3526 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 3527 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 3528 0x12, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x02, 0x18, 0x01, 0x52, 3529 0x02, 0x69, 0x64, 0x12, 0x50, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 3530 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 3531 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 3532 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 3533 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x70, 0x61, 3534 0x72, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x51, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 3535 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 3536 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 3537 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 3538 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 3539 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x4e, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x65, 3540 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 3541 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 3542 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 3543 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 3544 0x42, 0x02, 0x18, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x0d, 0x4f, 0x70, 0x65, 3545 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x4f, 0x50, 3546 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 3547 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 3548 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x02, 0x12, 3549 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 3550 0x45, 0x56, 0x41, 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x04, 3551 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x56, 0x41, 0x4c, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 3552 0x44, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x4b, 0x49, 0x50, 3553 0x50, 0x45, 0x44, 0x10, 0x06, 0x1a, 0xd9, 0x02, 0x0a, 0x08, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 3554 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 3555 0x09, 0x48, 0x00, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x09, 0x70, 0x72, 3556 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 3557 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 3558 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 3559 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 3560 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 3561 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3562 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 3563 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 3564 0x5c, 0x0a, 0x0c, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 3565 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 3566 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 3567 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x76, 0x69, 3568 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 3569 0x52, 0x0b, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x1a, 0x48, 0x0a, 3570 0x0b, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x14, 0x0a, 0x05, 3571 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 3572 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 3573 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 3574 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 3575 0x65, 0x1a, 0xd2, 0x01, 0x0a, 0x0a, 0x54, 0x65, 0x78, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 3576 0x12, 0x50, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 3577 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 3578 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 3579 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x65, 0x78, 0x74, 3580 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 3581 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x74, 0x65, 3582 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 3583 0x64, 0x54, 0x65, 0x78, 0x74, 0x12, 0x4f, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 3584 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 3585 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 3586 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 3587 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 3588 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 3589 0x42, 0xd1, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 3590 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 3591 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 3592 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 3593 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 3594 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 3595 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x3b, 3596 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 3597 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 3598 0x6e, 0x74, 0x41, 0x49, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 3599 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 3600 0x49, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 3601 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 3602 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 3603} 3604 3605var ( 3606 file_google_cloud_documentai_v1_document_proto_rawDescOnce sync.Once 3607 file_google_cloud_documentai_v1_document_proto_rawDescData = file_google_cloud_documentai_v1_document_proto_rawDesc 3608) 3609 3610func file_google_cloud_documentai_v1_document_proto_rawDescGZIP() []byte { 3611 file_google_cloud_documentai_v1_document_proto_rawDescOnce.Do(func() { 3612 file_google_cloud_documentai_v1_document_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_documentai_v1_document_proto_rawDescData) 3613 }) 3614 return file_google_cloud_documentai_v1_document_proto_rawDescData 3615} 3616 3617var file_google_cloud_documentai_v1_document_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 3618var file_google_cloud_documentai_v1_document_proto_msgTypes = make([]protoimpl.MessageInfo, 32) 3619var file_google_cloud_documentai_v1_document_proto_goTypes = []interface{}{ 3620 (Document_Page_Layout_Orientation)(0), // 0: google.cloud.documentai.v1.Document.Page.Layout.Orientation 3621 (Document_Page_Token_DetectedBreak_Type)(0), // 1: google.cloud.documentai.v1.Document.Page.Token.DetectedBreak.Type 3622 (Document_PageAnchor_PageRef_LayoutType)(0), // 2: google.cloud.documentai.v1.Document.PageAnchor.PageRef.LayoutType 3623 (Document_Provenance_OperationType)(0), // 3: google.cloud.documentai.v1.Document.Provenance.OperationType 3624 (*Document)(nil), // 4: google.cloud.documentai.v1.Document 3625 (*Document_ShardInfo)(nil), // 5: google.cloud.documentai.v1.Document.ShardInfo 3626 (*Document_Style)(nil), // 6: google.cloud.documentai.v1.Document.Style 3627 (*Document_Page)(nil), // 7: google.cloud.documentai.v1.Document.Page 3628 (*Document_Entity)(nil), // 8: google.cloud.documentai.v1.Document.Entity 3629 (*Document_EntityRelation)(nil), // 9: google.cloud.documentai.v1.Document.EntityRelation 3630 (*Document_TextAnchor)(nil), // 10: google.cloud.documentai.v1.Document.TextAnchor 3631 (*Document_PageAnchor)(nil), // 11: google.cloud.documentai.v1.Document.PageAnchor 3632 (*Document_Provenance)(nil), // 12: google.cloud.documentai.v1.Document.Provenance 3633 (*Document_Revision)(nil), // 13: google.cloud.documentai.v1.Document.Revision 3634 (*Document_TextChange)(nil), // 14: google.cloud.documentai.v1.Document.TextChange 3635 (*Document_Style_FontSize)(nil), // 15: google.cloud.documentai.v1.Document.Style.FontSize 3636 (*Document_Page_Dimension)(nil), // 16: google.cloud.documentai.v1.Document.Page.Dimension 3637 (*Document_Page_Image)(nil), // 17: google.cloud.documentai.v1.Document.Page.Image 3638 (*Document_Page_Matrix)(nil), // 18: google.cloud.documentai.v1.Document.Page.Matrix 3639 (*Document_Page_Layout)(nil), // 19: google.cloud.documentai.v1.Document.Page.Layout 3640 (*Document_Page_Block)(nil), // 20: google.cloud.documentai.v1.Document.Page.Block 3641 (*Document_Page_Paragraph)(nil), // 21: google.cloud.documentai.v1.Document.Page.Paragraph 3642 (*Document_Page_Line)(nil), // 22: google.cloud.documentai.v1.Document.Page.Line 3643 (*Document_Page_Token)(nil), // 23: google.cloud.documentai.v1.Document.Page.Token 3644 (*Document_Page_VisualElement)(nil), // 24: google.cloud.documentai.v1.Document.Page.VisualElement 3645 (*Document_Page_Table)(nil), // 25: google.cloud.documentai.v1.Document.Page.Table 3646 (*Document_Page_FormField)(nil), // 26: google.cloud.documentai.v1.Document.Page.FormField 3647 (*Document_Page_DetectedLanguage)(nil), // 27: google.cloud.documentai.v1.Document.Page.DetectedLanguage 3648 (*Document_Page_Token_DetectedBreak)(nil), // 28: google.cloud.documentai.v1.Document.Page.Token.DetectedBreak 3649 (*Document_Page_Table_TableRow)(nil), // 29: google.cloud.documentai.v1.Document.Page.Table.TableRow 3650 (*Document_Page_Table_TableCell)(nil), // 30: google.cloud.documentai.v1.Document.Page.Table.TableCell 3651 (*Document_Entity_NormalizedValue)(nil), // 31: google.cloud.documentai.v1.Document.Entity.NormalizedValue 3652 (*Document_TextAnchor_TextSegment)(nil), // 32: google.cloud.documentai.v1.Document.TextAnchor.TextSegment 3653 (*Document_PageAnchor_PageRef)(nil), // 33: google.cloud.documentai.v1.Document.PageAnchor.PageRef 3654 (*Document_Provenance_Parent)(nil), // 34: google.cloud.documentai.v1.Document.Provenance.Parent 3655 (*Document_Revision_HumanReview)(nil), // 35: google.cloud.documentai.v1.Document.Revision.HumanReview 3656 (*status.Status)(nil), // 36: google.rpc.Status 3657 (*color.Color)(nil), // 37: google.type.Color 3658 (*timestamppb.Timestamp)(nil), // 38: google.protobuf.Timestamp 3659 (*BoundingPoly)(nil), // 39: google.cloud.documentai.v1.BoundingPoly 3660 (*money.Money)(nil), // 40: google.type.Money 3661 (*date.Date)(nil), // 41: google.type.Date 3662 (*datetime.DateTime)(nil), // 42: google.type.DateTime 3663 (*postaladdress.PostalAddress)(nil), // 43: google.type.PostalAddress 3664} 3665var file_google_cloud_documentai_v1_document_proto_depIdxs = []int32{ 3666 6, // 0: google.cloud.documentai.v1.Document.text_styles:type_name -> google.cloud.documentai.v1.Document.Style 3667 7, // 1: google.cloud.documentai.v1.Document.pages:type_name -> google.cloud.documentai.v1.Document.Page 3668 8, // 2: google.cloud.documentai.v1.Document.entities:type_name -> google.cloud.documentai.v1.Document.Entity 3669 9, // 3: google.cloud.documentai.v1.Document.entity_relations:type_name -> google.cloud.documentai.v1.Document.EntityRelation 3670 14, // 4: google.cloud.documentai.v1.Document.text_changes:type_name -> google.cloud.documentai.v1.Document.TextChange 3671 5, // 5: google.cloud.documentai.v1.Document.shard_info:type_name -> google.cloud.documentai.v1.Document.ShardInfo 3672 36, // 6: google.cloud.documentai.v1.Document.error:type_name -> google.rpc.Status 3673 13, // 7: google.cloud.documentai.v1.Document.revisions:type_name -> google.cloud.documentai.v1.Document.Revision 3674 10, // 8: google.cloud.documentai.v1.Document.Style.text_anchor:type_name -> google.cloud.documentai.v1.Document.TextAnchor 3675 37, // 9: google.cloud.documentai.v1.Document.Style.color:type_name -> google.type.Color 3676 37, // 10: google.cloud.documentai.v1.Document.Style.background_color:type_name -> google.type.Color 3677 15, // 11: google.cloud.documentai.v1.Document.Style.font_size:type_name -> google.cloud.documentai.v1.Document.Style.FontSize 3678 17, // 12: google.cloud.documentai.v1.Document.Page.image:type_name -> google.cloud.documentai.v1.Document.Page.Image 3679 18, // 13: google.cloud.documentai.v1.Document.Page.transforms:type_name -> google.cloud.documentai.v1.Document.Page.Matrix 3680 16, // 14: google.cloud.documentai.v1.Document.Page.dimension:type_name -> google.cloud.documentai.v1.Document.Page.Dimension 3681 19, // 15: google.cloud.documentai.v1.Document.Page.layout:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3682 27, // 16: google.cloud.documentai.v1.Document.Page.detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3683 20, // 17: google.cloud.documentai.v1.Document.Page.blocks:type_name -> google.cloud.documentai.v1.Document.Page.Block 3684 21, // 18: google.cloud.documentai.v1.Document.Page.paragraphs:type_name -> google.cloud.documentai.v1.Document.Page.Paragraph 3685 22, // 19: google.cloud.documentai.v1.Document.Page.lines:type_name -> google.cloud.documentai.v1.Document.Page.Line 3686 23, // 20: google.cloud.documentai.v1.Document.Page.tokens:type_name -> google.cloud.documentai.v1.Document.Page.Token 3687 24, // 21: google.cloud.documentai.v1.Document.Page.visual_elements:type_name -> google.cloud.documentai.v1.Document.Page.VisualElement 3688 25, // 22: google.cloud.documentai.v1.Document.Page.tables:type_name -> google.cloud.documentai.v1.Document.Page.Table 3689 26, // 23: google.cloud.documentai.v1.Document.Page.form_fields:type_name -> google.cloud.documentai.v1.Document.Page.FormField 3690 12, // 24: google.cloud.documentai.v1.Document.Page.provenance:type_name -> google.cloud.documentai.v1.Document.Provenance 3691 10, // 25: google.cloud.documentai.v1.Document.Entity.text_anchor:type_name -> google.cloud.documentai.v1.Document.TextAnchor 3692 11, // 26: google.cloud.documentai.v1.Document.Entity.page_anchor:type_name -> google.cloud.documentai.v1.Document.PageAnchor 3693 31, // 27: google.cloud.documentai.v1.Document.Entity.normalized_value:type_name -> google.cloud.documentai.v1.Document.Entity.NormalizedValue 3694 8, // 28: google.cloud.documentai.v1.Document.Entity.properties:type_name -> google.cloud.documentai.v1.Document.Entity 3695 12, // 29: google.cloud.documentai.v1.Document.Entity.provenance:type_name -> google.cloud.documentai.v1.Document.Provenance 3696 32, // 30: google.cloud.documentai.v1.Document.TextAnchor.text_segments:type_name -> google.cloud.documentai.v1.Document.TextAnchor.TextSegment 3697 33, // 31: google.cloud.documentai.v1.Document.PageAnchor.page_refs:type_name -> google.cloud.documentai.v1.Document.PageAnchor.PageRef 3698 34, // 32: google.cloud.documentai.v1.Document.Provenance.parents:type_name -> google.cloud.documentai.v1.Document.Provenance.Parent 3699 3, // 33: google.cloud.documentai.v1.Document.Provenance.type:type_name -> google.cloud.documentai.v1.Document.Provenance.OperationType 3700 38, // 34: google.cloud.documentai.v1.Document.Revision.create_time:type_name -> google.protobuf.Timestamp 3701 35, // 35: google.cloud.documentai.v1.Document.Revision.human_review:type_name -> google.cloud.documentai.v1.Document.Revision.HumanReview 3702 10, // 36: google.cloud.documentai.v1.Document.TextChange.text_anchor:type_name -> google.cloud.documentai.v1.Document.TextAnchor 3703 12, // 37: google.cloud.documentai.v1.Document.TextChange.provenance:type_name -> google.cloud.documentai.v1.Document.Provenance 3704 10, // 38: google.cloud.documentai.v1.Document.Page.Layout.text_anchor:type_name -> google.cloud.documentai.v1.Document.TextAnchor 3705 39, // 39: google.cloud.documentai.v1.Document.Page.Layout.bounding_poly:type_name -> google.cloud.documentai.v1.BoundingPoly 3706 0, // 40: google.cloud.documentai.v1.Document.Page.Layout.orientation:type_name -> google.cloud.documentai.v1.Document.Page.Layout.Orientation 3707 19, // 41: google.cloud.documentai.v1.Document.Page.Block.layout:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3708 27, // 42: google.cloud.documentai.v1.Document.Page.Block.detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3709 12, // 43: google.cloud.documentai.v1.Document.Page.Block.provenance:type_name -> google.cloud.documentai.v1.Document.Provenance 3710 19, // 44: google.cloud.documentai.v1.Document.Page.Paragraph.layout:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3711 27, // 45: google.cloud.documentai.v1.Document.Page.Paragraph.detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3712 12, // 46: google.cloud.documentai.v1.Document.Page.Paragraph.provenance:type_name -> google.cloud.documentai.v1.Document.Provenance 3713 19, // 47: google.cloud.documentai.v1.Document.Page.Line.layout:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3714 27, // 48: google.cloud.documentai.v1.Document.Page.Line.detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3715 12, // 49: google.cloud.documentai.v1.Document.Page.Line.provenance:type_name -> google.cloud.documentai.v1.Document.Provenance 3716 19, // 50: google.cloud.documentai.v1.Document.Page.Token.layout:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3717 28, // 51: google.cloud.documentai.v1.Document.Page.Token.detected_break:type_name -> google.cloud.documentai.v1.Document.Page.Token.DetectedBreak 3718 27, // 52: google.cloud.documentai.v1.Document.Page.Token.detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3719 12, // 53: google.cloud.documentai.v1.Document.Page.Token.provenance:type_name -> google.cloud.documentai.v1.Document.Provenance 3720 19, // 54: google.cloud.documentai.v1.Document.Page.VisualElement.layout:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3721 27, // 55: google.cloud.documentai.v1.Document.Page.VisualElement.detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3722 19, // 56: google.cloud.documentai.v1.Document.Page.Table.layout:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3723 29, // 57: google.cloud.documentai.v1.Document.Page.Table.header_rows:type_name -> google.cloud.documentai.v1.Document.Page.Table.TableRow 3724 29, // 58: google.cloud.documentai.v1.Document.Page.Table.body_rows:type_name -> google.cloud.documentai.v1.Document.Page.Table.TableRow 3725 27, // 59: google.cloud.documentai.v1.Document.Page.Table.detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3726 19, // 60: google.cloud.documentai.v1.Document.Page.FormField.field_name:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3727 19, // 61: google.cloud.documentai.v1.Document.Page.FormField.field_value:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3728 27, // 62: google.cloud.documentai.v1.Document.Page.FormField.name_detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3729 27, // 63: google.cloud.documentai.v1.Document.Page.FormField.value_detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3730 12, // 64: google.cloud.documentai.v1.Document.Page.FormField.provenance:type_name -> google.cloud.documentai.v1.Document.Provenance 3731 1, // 65: google.cloud.documentai.v1.Document.Page.Token.DetectedBreak.type:type_name -> google.cloud.documentai.v1.Document.Page.Token.DetectedBreak.Type 3732 30, // 66: google.cloud.documentai.v1.Document.Page.Table.TableRow.cells:type_name -> google.cloud.documentai.v1.Document.Page.Table.TableCell 3733 19, // 67: google.cloud.documentai.v1.Document.Page.Table.TableCell.layout:type_name -> google.cloud.documentai.v1.Document.Page.Layout 3734 27, // 68: google.cloud.documentai.v1.Document.Page.Table.TableCell.detected_languages:type_name -> google.cloud.documentai.v1.Document.Page.DetectedLanguage 3735 40, // 69: google.cloud.documentai.v1.Document.Entity.NormalizedValue.money_value:type_name -> google.type.Money 3736 41, // 70: google.cloud.documentai.v1.Document.Entity.NormalizedValue.date_value:type_name -> google.type.Date 3737 42, // 71: google.cloud.documentai.v1.Document.Entity.NormalizedValue.datetime_value:type_name -> google.type.DateTime 3738 43, // 72: google.cloud.documentai.v1.Document.Entity.NormalizedValue.address_value:type_name -> google.type.PostalAddress 3739 2, // 73: google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_type:type_name -> google.cloud.documentai.v1.Document.PageAnchor.PageRef.LayoutType 3740 39, // 74: google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly:type_name -> google.cloud.documentai.v1.BoundingPoly 3741 75, // [75:75] is the sub-list for method output_type 3742 75, // [75:75] is the sub-list for method input_type 3743 75, // [75:75] is the sub-list for extension type_name 3744 75, // [75:75] is the sub-list for extension extendee 3745 0, // [0:75] is the sub-list for field type_name 3746} 3747 3748func init() { file_google_cloud_documentai_v1_document_proto_init() } 3749func file_google_cloud_documentai_v1_document_proto_init() { 3750 if File_google_cloud_documentai_v1_document_proto != nil { 3751 return 3752 } 3753 file_google_cloud_documentai_v1_geometry_proto_init() 3754 if !protoimpl.UnsafeEnabled { 3755 file_google_cloud_documentai_v1_document_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 3756 switch v := v.(*Document); i { 3757 case 0: 3758 return &v.state 3759 case 1: 3760 return &v.sizeCache 3761 case 2: 3762 return &v.unknownFields 3763 default: 3764 return nil 3765 } 3766 } 3767 file_google_cloud_documentai_v1_document_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 3768 switch v := v.(*Document_ShardInfo); i { 3769 case 0: 3770 return &v.state 3771 case 1: 3772 return &v.sizeCache 3773 case 2: 3774 return &v.unknownFields 3775 default: 3776 return nil 3777 } 3778 } 3779 file_google_cloud_documentai_v1_document_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 3780 switch v := v.(*Document_Style); i { 3781 case 0: 3782 return &v.state 3783 case 1: 3784 return &v.sizeCache 3785 case 2: 3786 return &v.unknownFields 3787 default: 3788 return nil 3789 } 3790 } 3791 file_google_cloud_documentai_v1_document_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 3792 switch v := v.(*Document_Page); i { 3793 case 0: 3794 return &v.state 3795 case 1: 3796 return &v.sizeCache 3797 case 2: 3798 return &v.unknownFields 3799 default: 3800 return nil 3801 } 3802 } 3803 file_google_cloud_documentai_v1_document_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 3804 switch v := v.(*Document_Entity); i { 3805 case 0: 3806 return &v.state 3807 case 1: 3808 return &v.sizeCache 3809 case 2: 3810 return &v.unknownFields 3811 default: 3812 return nil 3813 } 3814 } 3815 file_google_cloud_documentai_v1_document_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 3816 switch v := v.(*Document_EntityRelation); i { 3817 case 0: 3818 return &v.state 3819 case 1: 3820 return &v.sizeCache 3821 case 2: 3822 return &v.unknownFields 3823 default: 3824 return nil 3825 } 3826 } 3827 file_google_cloud_documentai_v1_document_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 3828 switch v := v.(*Document_TextAnchor); i { 3829 case 0: 3830 return &v.state 3831 case 1: 3832 return &v.sizeCache 3833 case 2: 3834 return &v.unknownFields 3835 default: 3836 return nil 3837 } 3838 } 3839 file_google_cloud_documentai_v1_document_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 3840 switch v := v.(*Document_PageAnchor); i { 3841 case 0: 3842 return &v.state 3843 case 1: 3844 return &v.sizeCache 3845 case 2: 3846 return &v.unknownFields 3847 default: 3848 return nil 3849 } 3850 } 3851 file_google_cloud_documentai_v1_document_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 3852 switch v := v.(*Document_Provenance); i { 3853 case 0: 3854 return &v.state 3855 case 1: 3856 return &v.sizeCache 3857 case 2: 3858 return &v.unknownFields 3859 default: 3860 return nil 3861 } 3862 } 3863 file_google_cloud_documentai_v1_document_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 3864 switch v := v.(*Document_Revision); i { 3865 case 0: 3866 return &v.state 3867 case 1: 3868 return &v.sizeCache 3869 case 2: 3870 return &v.unknownFields 3871 default: 3872 return nil 3873 } 3874 } 3875 file_google_cloud_documentai_v1_document_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 3876 switch v := v.(*Document_TextChange); i { 3877 case 0: 3878 return &v.state 3879 case 1: 3880 return &v.sizeCache 3881 case 2: 3882 return &v.unknownFields 3883 default: 3884 return nil 3885 } 3886 } 3887 file_google_cloud_documentai_v1_document_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 3888 switch v := v.(*Document_Style_FontSize); i { 3889 case 0: 3890 return &v.state 3891 case 1: 3892 return &v.sizeCache 3893 case 2: 3894 return &v.unknownFields 3895 default: 3896 return nil 3897 } 3898 } 3899 file_google_cloud_documentai_v1_document_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 3900 switch v := v.(*Document_Page_Dimension); i { 3901 case 0: 3902 return &v.state 3903 case 1: 3904 return &v.sizeCache 3905 case 2: 3906 return &v.unknownFields 3907 default: 3908 return nil 3909 } 3910 } 3911 file_google_cloud_documentai_v1_document_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 3912 switch v := v.(*Document_Page_Image); i { 3913 case 0: 3914 return &v.state 3915 case 1: 3916 return &v.sizeCache 3917 case 2: 3918 return &v.unknownFields 3919 default: 3920 return nil 3921 } 3922 } 3923 file_google_cloud_documentai_v1_document_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 3924 switch v := v.(*Document_Page_Matrix); i { 3925 case 0: 3926 return &v.state 3927 case 1: 3928 return &v.sizeCache 3929 case 2: 3930 return &v.unknownFields 3931 default: 3932 return nil 3933 } 3934 } 3935 file_google_cloud_documentai_v1_document_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 3936 switch v := v.(*Document_Page_Layout); i { 3937 case 0: 3938 return &v.state 3939 case 1: 3940 return &v.sizeCache 3941 case 2: 3942 return &v.unknownFields 3943 default: 3944 return nil 3945 } 3946 } 3947 file_google_cloud_documentai_v1_document_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 3948 switch v := v.(*Document_Page_Block); i { 3949 case 0: 3950 return &v.state 3951 case 1: 3952 return &v.sizeCache 3953 case 2: 3954 return &v.unknownFields 3955 default: 3956 return nil 3957 } 3958 } 3959 file_google_cloud_documentai_v1_document_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 3960 switch v := v.(*Document_Page_Paragraph); i { 3961 case 0: 3962 return &v.state 3963 case 1: 3964 return &v.sizeCache 3965 case 2: 3966 return &v.unknownFields 3967 default: 3968 return nil 3969 } 3970 } 3971 file_google_cloud_documentai_v1_document_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 3972 switch v := v.(*Document_Page_Line); i { 3973 case 0: 3974 return &v.state 3975 case 1: 3976 return &v.sizeCache 3977 case 2: 3978 return &v.unknownFields 3979 default: 3980 return nil 3981 } 3982 } 3983 file_google_cloud_documentai_v1_document_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 3984 switch v := v.(*Document_Page_Token); i { 3985 case 0: 3986 return &v.state 3987 case 1: 3988 return &v.sizeCache 3989 case 2: 3990 return &v.unknownFields 3991 default: 3992 return nil 3993 } 3994 } 3995 file_google_cloud_documentai_v1_document_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 3996 switch v := v.(*Document_Page_VisualElement); i { 3997 case 0: 3998 return &v.state 3999 case 1: 4000 return &v.sizeCache 4001 case 2: 4002 return &v.unknownFields 4003 default: 4004 return nil 4005 } 4006 } 4007 file_google_cloud_documentai_v1_document_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 4008 switch v := v.(*Document_Page_Table); i { 4009 case 0: 4010 return &v.state 4011 case 1: 4012 return &v.sizeCache 4013 case 2: 4014 return &v.unknownFields 4015 default: 4016 return nil 4017 } 4018 } 4019 file_google_cloud_documentai_v1_document_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 4020 switch v := v.(*Document_Page_FormField); i { 4021 case 0: 4022 return &v.state 4023 case 1: 4024 return &v.sizeCache 4025 case 2: 4026 return &v.unknownFields 4027 default: 4028 return nil 4029 } 4030 } 4031 file_google_cloud_documentai_v1_document_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 4032 switch v := v.(*Document_Page_DetectedLanguage); i { 4033 case 0: 4034 return &v.state 4035 case 1: 4036 return &v.sizeCache 4037 case 2: 4038 return &v.unknownFields 4039 default: 4040 return nil 4041 } 4042 } 4043 file_google_cloud_documentai_v1_document_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 4044 switch v := v.(*Document_Page_Token_DetectedBreak); i { 4045 case 0: 4046 return &v.state 4047 case 1: 4048 return &v.sizeCache 4049 case 2: 4050 return &v.unknownFields 4051 default: 4052 return nil 4053 } 4054 } 4055 file_google_cloud_documentai_v1_document_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 4056 switch v := v.(*Document_Page_Table_TableRow); i { 4057 case 0: 4058 return &v.state 4059 case 1: 4060 return &v.sizeCache 4061 case 2: 4062 return &v.unknownFields 4063 default: 4064 return nil 4065 } 4066 } 4067 file_google_cloud_documentai_v1_document_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { 4068 switch v := v.(*Document_Page_Table_TableCell); i { 4069 case 0: 4070 return &v.state 4071 case 1: 4072 return &v.sizeCache 4073 case 2: 4074 return &v.unknownFields 4075 default: 4076 return nil 4077 } 4078 } 4079 file_google_cloud_documentai_v1_document_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { 4080 switch v := v.(*Document_Entity_NormalizedValue); i { 4081 case 0: 4082 return &v.state 4083 case 1: 4084 return &v.sizeCache 4085 case 2: 4086 return &v.unknownFields 4087 default: 4088 return nil 4089 } 4090 } 4091 file_google_cloud_documentai_v1_document_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { 4092 switch v := v.(*Document_TextAnchor_TextSegment); i { 4093 case 0: 4094 return &v.state 4095 case 1: 4096 return &v.sizeCache 4097 case 2: 4098 return &v.unknownFields 4099 default: 4100 return nil 4101 } 4102 } 4103 file_google_cloud_documentai_v1_document_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { 4104 switch v := v.(*Document_PageAnchor_PageRef); i { 4105 case 0: 4106 return &v.state 4107 case 1: 4108 return &v.sizeCache 4109 case 2: 4110 return &v.unknownFields 4111 default: 4112 return nil 4113 } 4114 } 4115 file_google_cloud_documentai_v1_document_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { 4116 switch v := v.(*Document_Provenance_Parent); i { 4117 case 0: 4118 return &v.state 4119 case 1: 4120 return &v.sizeCache 4121 case 2: 4122 return &v.unknownFields 4123 default: 4124 return nil 4125 } 4126 } 4127 file_google_cloud_documentai_v1_document_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { 4128 switch v := v.(*Document_Revision_HumanReview); i { 4129 case 0: 4130 return &v.state 4131 case 1: 4132 return &v.sizeCache 4133 case 2: 4134 return &v.unknownFields 4135 default: 4136 return nil 4137 } 4138 } 4139 } 4140 file_google_cloud_documentai_v1_document_proto_msgTypes[0].OneofWrappers = []interface{}{ 4141 (*Document_Uri)(nil), 4142 (*Document_Content)(nil), 4143 } 4144 file_google_cloud_documentai_v1_document_proto_msgTypes[9].OneofWrappers = []interface{}{ 4145 (*Document_Revision_Agent)(nil), 4146 (*Document_Revision_Processor)(nil), 4147 } 4148 file_google_cloud_documentai_v1_document_proto_msgTypes[27].OneofWrappers = []interface{}{ 4149 (*Document_Entity_NormalizedValue_MoneyValue)(nil), 4150 (*Document_Entity_NormalizedValue_DateValue)(nil), 4151 (*Document_Entity_NormalizedValue_DatetimeValue)(nil), 4152 (*Document_Entity_NormalizedValue_AddressValue)(nil), 4153 (*Document_Entity_NormalizedValue_BooleanValue)(nil), 4154 } 4155 type x struct{} 4156 out := protoimpl.TypeBuilder{ 4157 File: protoimpl.DescBuilder{ 4158 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 4159 RawDescriptor: file_google_cloud_documentai_v1_document_proto_rawDesc, 4160 NumEnums: 4, 4161 NumMessages: 32, 4162 NumExtensions: 0, 4163 NumServices: 0, 4164 }, 4165 GoTypes: file_google_cloud_documentai_v1_document_proto_goTypes, 4166 DependencyIndexes: file_google_cloud_documentai_v1_document_proto_depIdxs, 4167 EnumInfos: file_google_cloud_documentai_v1_document_proto_enumTypes, 4168 MessageInfos: file_google_cloud_documentai_v1_document_proto_msgTypes, 4169 }.Build() 4170 File_google_cloud_documentai_v1_document_proto = out.File 4171 file_google_cloud_documentai_v1_document_proto_rawDesc = nil 4172 file_google_cloud_documentai_v1_document_proto_goTypes = nil 4173 file_google_cloud_documentai_v1_document_proto_depIdxs = nil 4174} 4175