Debian Codegraph @

googleapis/cloud/documentai/v1beta2/document.pb.go

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