1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0-devel 18// protoc v3.12.2 19// source: google/cloud/documentai/v1beta3/document_processor_service.proto 20 21package documentai 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 longrunning "google.golang.org/genproto/googleapis/longrunning" 31 status "google.golang.org/genproto/googleapis/rpc/status" 32 grpc "google.golang.org/grpc" 33 codes "google.golang.org/grpc/codes" 34 status1 "google.golang.org/grpc/status" 35 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 36 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 37 _ "google.golang.org/protobuf/types/known/fieldmaskpb" 38 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 39) 40 41const ( 42 // Verify that this generated code is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 44 // Verify that runtime/protoimpl is sufficiently up-to-date. 45 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 46) 47 48// This is a compile-time assertion that a sufficiently up-to-date version 49// of the legacy proto package is being used. 50const _ = proto.ProtoPackageIsVersion4 51 52// The final state of human review on a processed document. 53type HumanReviewStatus_State int32 54 55const ( 56 // Human review state is unspecified. Most likely due to an internal error. 57 HumanReviewStatus_STATE_UNSPECIFIED HumanReviewStatus_State = 0 58 // Human review is skipped for the document. This can happen because human 59 // review is not enabled on the processor or the processing request has 60 // been set to skip this document. 61 HumanReviewStatus_SKIPPED HumanReviewStatus_State = 1 62 // Human review validation is triggered and passed, so no review is needed. 63 HumanReviewStatus_VALIDATION_PASSED HumanReviewStatus_State = 2 64 // Human review validation is triggered and the document is under review. 65 HumanReviewStatus_IN_PROGRESS HumanReviewStatus_State = 3 66 // Some error happened during triggering human review, see the 67 // [state_message] for details. 68 HumanReviewStatus_ERROR HumanReviewStatus_State = 4 69) 70 71// Enum value maps for HumanReviewStatus_State. 72var ( 73 HumanReviewStatus_State_name = map[int32]string{ 74 0: "STATE_UNSPECIFIED", 75 1: "SKIPPED", 76 2: "VALIDATION_PASSED", 77 3: "IN_PROGRESS", 78 4: "ERROR", 79 } 80 HumanReviewStatus_State_value = map[string]int32{ 81 "STATE_UNSPECIFIED": 0, 82 "SKIPPED": 1, 83 "VALIDATION_PASSED": 2, 84 "IN_PROGRESS": 3, 85 "ERROR": 4, 86 } 87) 88 89func (x HumanReviewStatus_State) Enum() *HumanReviewStatus_State { 90 p := new(HumanReviewStatus_State) 91 *p = x 92 return p 93} 94 95func (x HumanReviewStatus_State) String() string { 96 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 97} 98 99func (HumanReviewStatus_State) Descriptor() protoreflect.EnumDescriptor { 100 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes[0].Descriptor() 101} 102 103func (HumanReviewStatus_State) Type() protoreflect.EnumType { 104 return &file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes[0] 105} 106 107func (x HumanReviewStatus_State) Number() protoreflect.EnumNumber { 108 return protoreflect.EnumNumber(x) 109} 110 111// Deprecated: Use HumanReviewStatus_State.Descriptor instead. 112func (HumanReviewStatus_State) EnumDescriptor() ([]byte, []int) { 113 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{1, 0} 114} 115 116// Possible states of the batch processing operation. 117type BatchProcessMetadata_State int32 118 119const ( 120 // The default value. This value is used if the state is omitted. 121 BatchProcessMetadata_STATE_UNSPECIFIED BatchProcessMetadata_State = 0 122 // Request operation is waiting for scheduling. 123 BatchProcessMetadata_WAITING BatchProcessMetadata_State = 1 124 // Request is being processed. 125 BatchProcessMetadata_RUNNING BatchProcessMetadata_State = 2 126 // The batch processing completed successfully. 127 BatchProcessMetadata_SUCCEEDED BatchProcessMetadata_State = 3 128 // The batch processing was being cancelled. 129 BatchProcessMetadata_CANCELLING BatchProcessMetadata_State = 4 130 // The batch processing was cancelled. 131 BatchProcessMetadata_CANCELLED BatchProcessMetadata_State = 5 132 // The batch processing has failed. 133 BatchProcessMetadata_FAILED BatchProcessMetadata_State = 6 134) 135 136// Enum value maps for BatchProcessMetadata_State. 137var ( 138 BatchProcessMetadata_State_name = map[int32]string{ 139 0: "STATE_UNSPECIFIED", 140 1: "WAITING", 141 2: "RUNNING", 142 3: "SUCCEEDED", 143 4: "CANCELLING", 144 5: "CANCELLED", 145 6: "FAILED", 146 } 147 BatchProcessMetadata_State_value = map[string]int32{ 148 "STATE_UNSPECIFIED": 0, 149 "WAITING": 1, 150 "RUNNING": 2, 151 "SUCCEEDED": 3, 152 "CANCELLING": 4, 153 "CANCELLED": 5, 154 "FAILED": 6, 155 } 156) 157 158func (x BatchProcessMetadata_State) Enum() *BatchProcessMetadata_State { 159 p := new(BatchProcessMetadata_State) 160 *p = x 161 return p 162} 163 164func (x BatchProcessMetadata_State) String() string { 165 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 166} 167 168func (BatchProcessMetadata_State) Descriptor() protoreflect.EnumDescriptor { 169 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes[1].Descriptor() 170} 171 172func (BatchProcessMetadata_State) Type() protoreflect.EnumType { 173 return &file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes[1] 174} 175 176func (x BatchProcessMetadata_State) Number() protoreflect.EnumNumber { 177 return protoreflect.EnumNumber(x) 178} 179 180// Deprecated: Use BatchProcessMetadata_State.Descriptor instead. 181func (BatchProcessMetadata_State) EnumDescriptor() ([]byte, []int) { 182 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{5, 0} 183} 184 185// State of the longrunning operation. 186type ReviewDocumentOperationMetadata_State int32 187 188const ( 189 // Unspecified state. 190 ReviewDocumentOperationMetadata_STATE_UNSPECIFIED ReviewDocumentOperationMetadata_State = 0 191 // Operation is still running. 192 ReviewDocumentOperationMetadata_RUNNING ReviewDocumentOperationMetadata_State = 1 193 // Operation is being cancelled. 194 ReviewDocumentOperationMetadata_CANCELLING ReviewDocumentOperationMetadata_State = 2 195 // Operation succeeded. 196 ReviewDocumentOperationMetadata_SUCCEEDED ReviewDocumentOperationMetadata_State = 3 197 // Operation failed. 198 ReviewDocumentOperationMetadata_FAILED ReviewDocumentOperationMetadata_State = 4 199 // Operation is cancelled. 200 ReviewDocumentOperationMetadata_CANCELLED ReviewDocumentOperationMetadata_State = 5 201) 202 203// Enum value maps for ReviewDocumentOperationMetadata_State. 204var ( 205 ReviewDocumentOperationMetadata_State_name = map[int32]string{ 206 0: "STATE_UNSPECIFIED", 207 1: "RUNNING", 208 2: "CANCELLING", 209 3: "SUCCEEDED", 210 4: "FAILED", 211 5: "CANCELLED", 212 } 213 ReviewDocumentOperationMetadata_State_value = map[string]int32{ 214 "STATE_UNSPECIFIED": 0, 215 "RUNNING": 1, 216 "CANCELLING": 2, 217 "SUCCEEDED": 3, 218 "FAILED": 4, 219 "CANCELLED": 5, 220 } 221) 222 223func (x ReviewDocumentOperationMetadata_State) Enum() *ReviewDocumentOperationMetadata_State { 224 p := new(ReviewDocumentOperationMetadata_State) 225 *p = x 226 return p 227} 228 229func (x ReviewDocumentOperationMetadata_State) String() string { 230 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 231} 232 233func (ReviewDocumentOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor { 234 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes[2].Descriptor() 235} 236 237func (ReviewDocumentOperationMetadata_State) Type() protoreflect.EnumType { 238 return &file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes[2] 239} 240 241func (x ReviewDocumentOperationMetadata_State) Number() protoreflect.EnumNumber { 242 return protoreflect.EnumNumber(x) 243} 244 245// Deprecated: Use ReviewDocumentOperationMetadata_State.Descriptor instead. 246func (ReviewDocumentOperationMetadata_State) EnumDescriptor() ([]byte, []int) { 247 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{8, 0} 248} 249 250// State of the longrunning operation. 251type CommonOperationMetadata_State int32 252 253const ( 254 // Unspecified state. 255 CommonOperationMetadata_STATE_UNSPECIFIED CommonOperationMetadata_State = 0 256 // Operation is still running. 257 CommonOperationMetadata_RUNNING CommonOperationMetadata_State = 1 258 // Operation is being cancelled. 259 CommonOperationMetadata_CANCELLING CommonOperationMetadata_State = 2 260 // Operation succeeded. 261 CommonOperationMetadata_SUCCEEDED CommonOperationMetadata_State = 3 262 // Operation failed. 263 CommonOperationMetadata_FAILED CommonOperationMetadata_State = 4 264 // Operation is cancelled. 265 CommonOperationMetadata_CANCELLED CommonOperationMetadata_State = 5 266) 267 268// Enum value maps for CommonOperationMetadata_State. 269var ( 270 CommonOperationMetadata_State_name = map[int32]string{ 271 0: "STATE_UNSPECIFIED", 272 1: "RUNNING", 273 2: "CANCELLING", 274 3: "SUCCEEDED", 275 4: "FAILED", 276 5: "CANCELLED", 277 } 278 CommonOperationMetadata_State_value = map[string]int32{ 279 "STATE_UNSPECIFIED": 0, 280 "RUNNING": 1, 281 "CANCELLING": 2, 282 "SUCCEEDED": 3, 283 "FAILED": 4, 284 "CANCELLED": 5, 285 } 286) 287 288func (x CommonOperationMetadata_State) Enum() *CommonOperationMetadata_State { 289 p := new(CommonOperationMetadata_State) 290 *p = x 291 return p 292} 293 294func (x CommonOperationMetadata_State) String() string { 295 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 296} 297 298func (CommonOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor { 299 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes[3].Descriptor() 300} 301 302func (CommonOperationMetadata_State) Type() protoreflect.EnumType { 303 return &file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes[3] 304} 305 306func (x CommonOperationMetadata_State) Number() protoreflect.EnumNumber { 307 return protoreflect.EnumNumber(x) 308} 309 310// Deprecated: Use CommonOperationMetadata_State.Descriptor instead. 311func (CommonOperationMetadata_State) EnumDescriptor() ([]byte, []int) { 312 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{9, 0} 313} 314 315// Request message for the process document method. 316type ProcessRequest struct { 317 state protoimpl.MessageState 318 sizeCache protoimpl.SizeCache 319 unknownFields protoimpl.UnknownFields 320 321 // The document payload. 322 // 323 // Types that are assignable to Source: 324 // *ProcessRequest_InlineDocument 325 // *ProcessRequest_RawDocument 326 Source isProcessRequest_Source `protobuf_oneof:"source"` 327 // Required. The processor resource name. 328 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 329 // The document payload, the [content] and [mime_type] fields must be set. 330 // 331 // Deprecated: Do not use. 332 Document *Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"` 333 // Whether Human Review feature should be skipped for this request. Default to 334 // false. 335 SkipHumanReview bool `protobuf:"varint,3,opt,name=skip_human_review,json=skipHumanReview,proto3" json:"skip_human_review,omitempty"` 336} 337 338func (x *ProcessRequest) Reset() { 339 *x = ProcessRequest{} 340 if protoimpl.UnsafeEnabled { 341 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[0] 342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 343 ms.StoreMessageInfo(mi) 344 } 345} 346 347func (x *ProcessRequest) String() string { 348 return protoimpl.X.MessageStringOf(x) 349} 350 351func (*ProcessRequest) ProtoMessage() {} 352 353func (x *ProcessRequest) ProtoReflect() protoreflect.Message { 354 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[0] 355 if protoimpl.UnsafeEnabled && x != nil { 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 if ms.LoadMessageInfo() == nil { 358 ms.StoreMessageInfo(mi) 359 } 360 return ms 361 } 362 return mi.MessageOf(x) 363} 364 365// Deprecated: Use ProcessRequest.ProtoReflect.Descriptor instead. 366func (*ProcessRequest) Descriptor() ([]byte, []int) { 367 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{0} 368} 369 370func (m *ProcessRequest) GetSource() isProcessRequest_Source { 371 if m != nil { 372 return m.Source 373 } 374 return nil 375} 376 377func (x *ProcessRequest) GetInlineDocument() *Document { 378 if x, ok := x.GetSource().(*ProcessRequest_InlineDocument); ok { 379 return x.InlineDocument 380 } 381 return nil 382} 383 384func (x *ProcessRequest) GetRawDocument() *RawDocument { 385 if x, ok := x.GetSource().(*ProcessRequest_RawDocument); ok { 386 return x.RawDocument 387 } 388 return nil 389} 390 391func (x *ProcessRequest) GetName() string { 392 if x != nil { 393 return x.Name 394 } 395 return "" 396} 397 398// Deprecated: Do not use. 399func (x *ProcessRequest) GetDocument() *Document { 400 if x != nil { 401 return x.Document 402 } 403 return nil 404} 405 406func (x *ProcessRequest) GetSkipHumanReview() bool { 407 if x != nil { 408 return x.SkipHumanReview 409 } 410 return false 411} 412 413type isProcessRequest_Source interface { 414 isProcessRequest_Source() 415} 416 417type ProcessRequest_InlineDocument struct { 418 // An inline document proto. 419 InlineDocument *Document `protobuf:"bytes,4,opt,name=inline_document,json=inlineDocument,proto3,oneof"` 420} 421 422type ProcessRequest_RawDocument struct { 423 // A raw document content (bytes). 424 RawDocument *RawDocument `protobuf:"bytes,5,opt,name=raw_document,json=rawDocument,proto3,oneof"` 425} 426 427func (*ProcessRequest_InlineDocument) isProcessRequest_Source() {} 428 429func (*ProcessRequest_RawDocument) isProcessRequest_Source() {} 430 431// The status of human review on a processed document. 432type HumanReviewStatus struct { 433 state protoimpl.MessageState 434 sizeCache protoimpl.SizeCache 435 unknownFields protoimpl.UnknownFields 436 437 // The state of human review on the processing request. 438 State HumanReviewStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.documentai.v1beta3.HumanReviewStatus_State" json:"state,omitempty"` 439 // A message providing more details about the human review state. 440 StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` 441 // The name of the operation triggered by the processed document. This field 442 // is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has 443 // the same response type and metadata as the long running operation returned 444 // by [ReviewDocument] method. 445 HumanReviewOperation string `protobuf:"bytes,3,opt,name=human_review_operation,json=humanReviewOperation,proto3" json:"human_review_operation,omitempty"` 446} 447 448func (x *HumanReviewStatus) Reset() { 449 *x = HumanReviewStatus{} 450 if protoimpl.UnsafeEnabled { 451 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[1] 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 453 ms.StoreMessageInfo(mi) 454 } 455} 456 457func (x *HumanReviewStatus) String() string { 458 return protoimpl.X.MessageStringOf(x) 459} 460 461func (*HumanReviewStatus) ProtoMessage() {} 462 463func (x *HumanReviewStatus) ProtoReflect() protoreflect.Message { 464 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[1] 465 if protoimpl.UnsafeEnabled && x != nil { 466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 467 if ms.LoadMessageInfo() == nil { 468 ms.StoreMessageInfo(mi) 469 } 470 return ms 471 } 472 return mi.MessageOf(x) 473} 474 475// Deprecated: Use HumanReviewStatus.ProtoReflect.Descriptor instead. 476func (*HumanReviewStatus) Descriptor() ([]byte, []int) { 477 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{1} 478} 479 480func (x *HumanReviewStatus) GetState() HumanReviewStatus_State { 481 if x != nil { 482 return x.State 483 } 484 return HumanReviewStatus_STATE_UNSPECIFIED 485} 486 487func (x *HumanReviewStatus) GetStateMessage() string { 488 if x != nil { 489 return x.StateMessage 490 } 491 return "" 492} 493 494func (x *HumanReviewStatus) GetHumanReviewOperation() string { 495 if x != nil { 496 return x.HumanReviewOperation 497 } 498 return "" 499} 500 501// Response message for the process document method. 502type ProcessResponse struct { 503 state protoimpl.MessageState 504 sizeCache protoimpl.SizeCache 505 unknownFields protoimpl.UnknownFields 506 507 // The document payload, will populate fields based on the processor's 508 // behavior. 509 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` 510 // The name of the operation triggered by the processed document. If the human 511 // review process is not triggered, this field will be empty. It has the same 512 // response type and metadata as the long running operation returned by 513 // ReviewDocument method. 514 // 515 // Deprecated: Do not use. 516 HumanReviewOperation string `protobuf:"bytes,2,opt,name=human_review_operation,json=humanReviewOperation,proto3" json:"human_review_operation,omitempty"` 517 // The status of human review on the processed document. 518 HumanReviewStatus *HumanReviewStatus `protobuf:"bytes,3,opt,name=human_review_status,json=humanReviewStatus,proto3" json:"human_review_status,omitempty"` 519} 520 521func (x *ProcessResponse) Reset() { 522 *x = ProcessResponse{} 523 if protoimpl.UnsafeEnabled { 524 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[2] 525 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 526 ms.StoreMessageInfo(mi) 527 } 528} 529 530func (x *ProcessResponse) String() string { 531 return protoimpl.X.MessageStringOf(x) 532} 533 534func (*ProcessResponse) ProtoMessage() {} 535 536func (x *ProcessResponse) ProtoReflect() protoreflect.Message { 537 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[2] 538 if protoimpl.UnsafeEnabled && x != nil { 539 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 540 if ms.LoadMessageInfo() == nil { 541 ms.StoreMessageInfo(mi) 542 } 543 return ms 544 } 545 return mi.MessageOf(x) 546} 547 548// Deprecated: Use ProcessResponse.ProtoReflect.Descriptor instead. 549func (*ProcessResponse) Descriptor() ([]byte, []int) { 550 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{2} 551} 552 553func (x *ProcessResponse) GetDocument() *Document { 554 if x != nil { 555 return x.Document 556 } 557 return nil 558} 559 560// Deprecated: Do not use. 561func (x *ProcessResponse) GetHumanReviewOperation() string { 562 if x != nil { 563 return x.HumanReviewOperation 564 } 565 return "" 566} 567 568func (x *ProcessResponse) GetHumanReviewStatus() *HumanReviewStatus { 569 if x != nil { 570 return x.HumanReviewStatus 571 } 572 return nil 573} 574 575// Request message for batch process document method. 576type BatchProcessRequest struct { 577 state protoimpl.MessageState 578 sizeCache protoimpl.SizeCache 579 unknownFields protoimpl.UnknownFields 580 581 // Required. The processor resource name. 582 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 583 // The input config for each single document in the batch process. 584 // 585 // Deprecated: Do not use. 586 InputConfigs []*BatchProcessRequest_BatchInputConfig `protobuf:"bytes,2,rep,name=input_configs,json=inputConfigs,proto3" json:"input_configs,omitempty"` 587 // The overall output config for batch process. 588 // 589 // Deprecated: Do not use. 590 OutputConfig *BatchProcessRequest_BatchOutputConfig `protobuf:"bytes,3,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` 591 // The input documents for batch process. 592 InputDocuments *BatchDocumentsInputConfig `protobuf:"bytes,5,opt,name=input_documents,json=inputDocuments,proto3" json:"input_documents,omitempty"` 593 // The overall output config for batch process. 594 DocumentOutputConfig *DocumentOutputConfig `protobuf:"bytes,6,opt,name=document_output_config,json=documentOutputConfig,proto3" json:"document_output_config,omitempty"` 595 // Whether Human Review feature should be skipped for this request. Default to 596 // false. 597 SkipHumanReview bool `protobuf:"varint,4,opt,name=skip_human_review,json=skipHumanReview,proto3" json:"skip_human_review,omitempty"` 598} 599 600func (x *BatchProcessRequest) Reset() { 601 *x = BatchProcessRequest{} 602 if protoimpl.UnsafeEnabled { 603 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[3] 604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 605 ms.StoreMessageInfo(mi) 606 } 607} 608 609func (x *BatchProcessRequest) String() string { 610 return protoimpl.X.MessageStringOf(x) 611} 612 613func (*BatchProcessRequest) ProtoMessage() {} 614 615func (x *BatchProcessRequest) ProtoReflect() protoreflect.Message { 616 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[3] 617 if protoimpl.UnsafeEnabled && x != nil { 618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 619 if ms.LoadMessageInfo() == nil { 620 ms.StoreMessageInfo(mi) 621 } 622 return ms 623 } 624 return mi.MessageOf(x) 625} 626 627// Deprecated: Use BatchProcessRequest.ProtoReflect.Descriptor instead. 628func (*BatchProcessRequest) Descriptor() ([]byte, []int) { 629 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{3} 630} 631 632func (x *BatchProcessRequest) GetName() string { 633 if x != nil { 634 return x.Name 635 } 636 return "" 637} 638 639// Deprecated: Do not use. 640func (x *BatchProcessRequest) GetInputConfigs() []*BatchProcessRequest_BatchInputConfig { 641 if x != nil { 642 return x.InputConfigs 643 } 644 return nil 645} 646 647// Deprecated: Do not use. 648func (x *BatchProcessRequest) GetOutputConfig() *BatchProcessRequest_BatchOutputConfig { 649 if x != nil { 650 return x.OutputConfig 651 } 652 return nil 653} 654 655func (x *BatchProcessRequest) GetInputDocuments() *BatchDocumentsInputConfig { 656 if x != nil { 657 return x.InputDocuments 658 } 659 return nil 660} 661 662func (x *BatchProcessRequest) GetDocumentOutputConfig() *DocumentOutputConfig { 663 if x != nil { 664 return x.DocumentOutputConfig 665 } 666 return nil 667} 668 669func (x *BatchProcessRequest) GetSkipHumanReview() bool { 670 if x != nil { 671 return x.SkipHumanReview 672 } 673 return false 674} 675 676// Response message for batch process document method. 677type BatchProcessResponse struct { 678 state protoimpl.MessageState 679 sizeCache protoimpl.SizeCache 680 unknownFields protoimpl.UnknownFields 681} 682 683func (x *BatchProcessResponse) Reset() { 684 *x = BatchProcessResponse{} 685 if protoimpl.UnsafeEnabled { 686 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[4] 687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 688 ms.StoreMessageInfo(mi) 689 } 690} 691 692func (x *BatchProcessResponse) String() string { 693 return protoimpl.X.MessageStringOf(x) 694} 695 696func (*BatchProcessResponse) ProtoMessage() {} 697 698func (x *BatchProcessResponse) ProtoReflect() protoreflect.Message { 699 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[4] 700 if protoimpl.UnsafeEnabled && x != nil { 701 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 702 if ms.LoadMessageInfo() == nil { 703 ms.StoreMessageInfo(mi) 704 } 705 return ms 706 } 707 return mi.MessageOf(x) 708} 709 710// Deprecated: Use BatchProcessResponse.ProtoReflect.Descriptor instead. 711func (*BatchProcessResponse) Descriptor() ([]byte, []int) { 712 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{4} 713} 714 715// The long running operation metadata for batch process method. 716type BatchProcessMetadata struct { 717 state protoimpl.MessageState 718 sizeCache protoimpl.SizeCache 719 unknownFields protoimpl.UnknownFields 720 721 // The state of the current batch processing. 722 State BatchProcessMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.documentai.v1beta3.BatchProcessMetadata_State" json:"state,omitempty"` 723 // A message providing more details about the current state of processing. 724 // For example, the error message if the operation is failed. 725 StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` 726 // The creation time of the operation. 727 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 728 // The last update time of the operation. 729 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 730 // The list of response details of each document. 731 IndividualProcessStatuses []*BatchProcessMetadata_IndividualProcessStatus `protobuf:"bytes,5,rep,name=individual_process_statuses,json=individualProcessStatuses,proto3" json:"individual_process_statuses,omitempty"` 732} 733 734func (x *BatchProcessMetadata) Reset() { 735 *x = BatchProcessMetadata{} 736 if protoimpl.UnsafeEnabled { 737 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[5] 738 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 739 ms.StoreMessageInfo(mi) 740 } 741} 742 743func (x *BatchProcessMetadata) String() string { 744 return protoimpl.X.MessageStringOf(x) 745} 746 747func (*BatchProcessMetadata) ProtoMessage() {} 748 749func (x *BatchProcessMetadata) ProtoReflect() protoreflect.Message { 750 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[5] 751 if protoimpl.UnsafeEnabled && x != nil { 752 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 753 if ms.LoadMessageInfo() == nil { 754 ms.StoreMessageInfo(mi) 755 } 756 return ms 757 } 758 return mi.MessageOf(x) 759} 760 761// Deprecated: Use BatchProcessMetadata.ProtoReflect.Descriptor instead. 762func (*BatchProcessMetadata) Descriptor() ([]byte, []int) { 763 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{5} 764} 765 766func (x *BatchProcessMetadata) GetState() BatchProcessMetadata_State { 767 if x != nil { 768 return x.State 769 } 770 return BatchProcessMetadata_STATE_UNSPECIFIED 771} 772 773func (x *BatchProcessMetadata) GetStateMessage() string { 774 if x != nil { 775 return x.StateMessage 776 } 777 return "" 778} 779 780func (x *BatchProcessMetadata) GetCreateTime() *timestamppb.Timestamp { 781 if x != nil { 782 return x.CreateTime 783 } 784 return nil 785} 786 787func (x *BatchProcessMetadata) GetUpdateTime() *timestamppb.Timestamp { 788 if x != nil { 789 return x.UpdateTime 790 } 791 return nil 792} 793 794func (x *BatchProcessMetadata) GetIndividualProcessStatuses() []*BatchProcessMetadata_IndividualProcessStatus { 795 if x != nil { 796 return x.IndividualProcessStatuses 797 } 798 return nil 799} 800 801// Request message for review document method. 802type ReviewDocumentRequest struct { 803 state protoimpl.MessageState 804 sizeCache protoimpl.SizeCache 805 unknownFields protoimpl.UnknownFields 806 807 // The document payload. 808 // 809 // Types that are assignable to Source: 810 // *ReviewDocumentRequest_InlineDocument 811 Source isReviewDocumentRequest_Source `protobuf_oneof:"source"` 812 // Required. The resource name of the HumanReviewConfig that the document will be 813 // reviewed with. 814 HumanReviewConfig string `protobuf:"bytes,1,opt,name=human_review_config,json=humanReviewConfig,proto3" json:"human_review_config,omitempty"` 815 // The document that needs human review. 816 // 817 // Deprecated: Do not use. 818 Document *Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"` 819} 820 821func (x *ReviewDocumentRequest) Reset() { 822 *x = ReviewDocumentRequest{} 823 if protoimpl.UnsafeEnabled { 824 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[6] 825 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 826 ms.StoreMessageInfo(mi) 827 } 828} 829 830func (x *ReviewDocumentRequest) String() string { 831 return protoimpl.X.MessageStringOf(x) 832} 833 834func (*ReviewDocumentRequest) ProtoMessage() {} 835 836func (x *ReviewDocumentRequest) ProtoReflect() protoreflect.Message { 837 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[6] 838 if protoimpl.UnsafeEnabled && x != nil { 839 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 840 if ms.LoadMessageInfo() == nil { 841 ms.StoreMessageInfo(mi) 842 } 843 return ms 844 } 845 return mi.MessageOf(x) 846} 847 848// Deprecated: Use ReviewDocumentRequest.ProtoReflect.Descriptor instead. 849func (*ReviewDocumentRequest) Descriptor() ([]byte, []int) { 850 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{6} 851} 852 853func (m *ReviewDocumentRequest) GetSource() isReviewDocumentRequest_Source { 854 if m != nil { 855 return m.Source 856 } 857 return nil 858} 859 860func (x *ReviewDocumentRequest) GetInlineDocument() *Document { 861 if x, ok := x.GetSource().(*ReviewDocumentRequest_InlineDocument); ok { 862 return x.InlineDocument 863 } 864 return nil 865} 866 867func (x *ReviewDocumentRequest) GetHumanReviewConfig() string { 868 if x != nil { 869 return x.HumanReviewConfig 870 } 871 return "" 872} 873 874// Deprecated: Do not use. 875func (x *ReviewDocumentRequest) GetDocument() *Document { 876 if x != nil { 877 return x.Document 878 } 879 return nil 880} 881 882type isReviewDocumentRequest_Source interface { 883 isReviewDocumentRequest_Source() 884} 885 886type ReviewDocumentRequest_InlineDocument struct { 887 // An inline document proto. 888 InlineDocument *Document `protobuf:"bytes,4,opt,name=inline_document,json=inlineDocument,proto3,oneof"` 889} 890 891func (*ReviewDocumentRequest_InlineDocument) isReviewDocumentRequest_Source() {} 892 893// Response message for review document method. 894type ReviewDocumentResponse struct { 895 state protoimpl.MessageState 896 sizeCache protoimpl.SizeCache 897 unknownFields protoimpl.UnknownFields 898 899 // The Cloud Storage uri for the human reviewed document. 900 GcsDestination string `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"` 901} 902 903func (x *ReviewDocumentResponse) Reset() { 904 *x = ReviewDocumentResponse{} 905 if protoimpl.UnsafeEnabled { 906 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[7] 907 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 908 ms.StoreMessageInfo(mi) 909 } 910} 911 912func (x *ReviewDocumentResponse) String() string { 913 return protoimpl.X.MessageStringOf(x) 914} 915 916func (*ReviewDocumentResponse) ProtoMessage() {} 917 918func (x *ReviewDocumentResponse) ProtoReflect() protoreflect.Message { 919 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[7] 920 if protoimpl.UnsafeEnabled && x != nil { 921 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 922 if ms.LoadMessageInfo() == nil { 923 ms.StoreMessageInfo(mi) 924 } 925 return ms 926 } 927 return mi.MessageOf(x) 928} 929 930// Deprecated: Use ReviewDocumentResponse.ProtoReflect.Descriptor instead. 931func (*ReviewDocumentResponse) Descriptor() ([]byte, []int) { 932 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{7} 933} 934 935func (x *ReviewDocumentResponse) GetGcsDestination() string { 936 if x != nil { 937 return x.GcsDestination 938 } 939 return "" 940} 941 942// The long running operation metadata for review document method. 943type ReviewDocumentOperationMetadata struct { 944 state protoimpl.MessageState 945 sizeCache protoimpl.SizeCache 946 unknownFields protoimpl.UnknownFields 947 948 // Used only when Operation.done is false. 949 State ReviewDocumentOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata_State" json:"state,omitempty"` 950 // A message providing more details about the current state of processing. 951 // For example, the error message if the operation is failed. 952 StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` 953 // The creation time of the operation. 954 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 955 // The last update time of the operation. 956 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 957 // The basic metadata of the long running operation. 958 CommonMetadata *CommonOperationMetadata `protobuf:"bytes,5,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"` 959} 960 961func (x *ReviewDocumentOperationMetadata) Reset() { 962 *x = ReviewDocumentOperationMetadata{} 963 if protoimpl.UnsafeEnabled { 964 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[8] 965 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 966 ms.StoreMessageInfo(mi) 967 } 968} 969 970func (x *ReviewDocumentOperationMetadata) String() string { 971 return protoimpl.X.MessageStringOf(x) 972} 973 974func (*ReviewDocumentOperationMetadata) ProtoMessage() {} 975 976func (x *ReviewDocumentOperationMetadata) ProtoReflect() protoreflect.Message { 977 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[8] 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 ReviewDocumentOperationMetadata.ProtoReflect.Descriptor instead. 989func (*ReviewDocumentOperationMetadata) Descriptor() ([]byte, []int) { 990 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{8} 991} 992 993func (x *ReviewDocumentOperationMetadata) GetState() ReviewDocumentOperationMetadata_State { 994 if x != nil { 995 return x.State 996 } 997 return ReviewDocumentOperationMetadata_STATE_UNSPECIFIED 998} 999 1000func (x *ReviewDocumentOperationMetadata) GetStateMessage() string { 1001 if x != nil { 1002 return x.StateMessage 1003 } 1004 return "" 1005} 1006 1007func (x *ReviewDocumentOperationMetadata) GetCreateTime() *timestamppb.Timestamp { 1008 if x != nil { 1009 return x.CreateTime 1010 } 1011 return nil 1012} 1013 1014func (x *ReviewDocumentOperationMetadata) GetUpdateTime() *timestamppb.Timestamp { 1015 if x != nil { 1016 return x.UpdateTime 1017 } 1018 return nil 1019} 1020 1021func (x *ReviewDocumentOperationMetadata) GetCommonMetadata() *CommonOperationMetadata { 1022 if x != nil { 1023 return x.CommonMetadata 1024 } 1025 return nil 1026} 1027 1028// The common metadata for long running operations. 1029type CommonOperationMetadata struct { 1030 state protoimpl.MessageState 1031 sizeCache protoimpl.SizeCache 1032 unknownFields protoimpl.UnknownFields 1033 1034 // The state of the operation. 1035 State CommonOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.documentai.v1beta3.CommonOperationMetadata_State" json:"state,omitempty"` 1036 // A message providing more details about the current state of processing. 1037 StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` 1038 // The creation time of the operation. 1039 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 1040 // The last update time of the operation. 1041 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 1042} 1043 1044func (x *CommonOperationMetadata) Reset() { 1045 *x = CommonOperationMetadata{} 1046 if protoimpl.UnsafeEnabled { 1047 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[9] 1048 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1049 ms.StoreMessageInfo(mi) 1050 } 1051} 1052 1053func (x *CommonOperationMetadata) String() string { 1054 return protoimpl.X.MessageStringOf(x) 1055} 1056 1057func (*CommonOperationMetadata) ProtoMessage() {} 1058 1059func (x *CommonOperationMetadata) ProtoReflect() protoreflect.Message { 1060 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[9] 1061 if protoimpl.UnsafeEnabled && x != nil { 1062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1063 if ms.LoadMessageInfo() == nil { 1064 ms.StoreMessageInfo(mi) 1065 } 1066 return ms 1067 } 1068 return mi.MessageOf(x) 1069} 1070 1071// Deprecated: Use CommonOperationMetadata.ProtoReflect.Descriptor instead. 1072func (*CommonOperationMetadata) Descriptor() ([]byte, []int) { 1073 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{9} 1074} 1075 1076func (x *CommonOperationMetadata) GetState() CommonOperationMetadata_State { 1077 if x != nil { 1078 return x.State 1079 } 1080 return CommonOperationMetadata_STATE_UNSPECIFIED 1081} 1082 1083func (x *CommonOperationMetadata) GetStateMessage() string { 1084 if x != nil { 1085 return x.StateMessage 1086 } 1087 return "" 1088} 1089 1090func (x *CommonOperationMetadata) GetCreateTime() *timestamppb.Timestamp { 1091 if x != nil { 1092 return x.CreateTime 1093 } 1094 return nil 1095} 1096 1097func (x *CommonOperationMetadata) GetUpdateTime() *timestamppb.Timestamp { 1098 if x != nil { 1099 return x.UpdateTime 1100 } 1101 return nil 1102} 1103 1104// The message for input config in batch process. 1105// 1106// Deprecated: Do not use. 1107type BatchProcessRequest_BatchInputConfig struct { 1108 state protoimpl.MessageState 1109 sizeCache protoimpl.SizeCache 1110 unknownFields protoimpl.UnknownFields 1111 1112 // The Cloud Storage location as the source of the document. 1113 GcsSource string `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"` 1114 // Mimetype of the input. If the input is a raw document, the supported 1115 // mimetypes are application/pdf, image/tiff, and image/gif. 1116 // If the input is a [Document] proto, the type should be application/json. 1117 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` 1118} 1119 1120func (x *BatchProcessRequest_BatchInputConfig) Reset() { 1121 *x = BatchProcessRequest_BatchInputConfig{} 1122 if protoimpl.UnsafeEnabled { 1123 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[10] 1124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1125 ms.StoreMessageInfo(mi) 1126 } 1127} 1128 1129func (x *BatchProcessRequest_BatchInputConfig) String() string { 1130 return protoimpl.X.MessageStringOf(x) 1131} 1132 1133func (*BatchProcessRequest_BatchInputConfig) ProtoMessage() {} 1134 1135func (x *BatchProcessRequest_BatchInputConfig) ProtoReflect() protoreflect.Message { 1136 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[10] 1137 if protoimpl.UnsafeEnabled && x != nil { 1138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1139 if ms.LoadMessageInfo() == nil { 1140 ms.StoreMessageInfo(mi) 1141 } 1142 return ms 1143 } 1144 return mi.MessageOf(x) 1145} 1146 1147// Deprecated: Use BatchProcessRequest_BatchInputConfig.ProtoReflect.Descriptor instead. 1148func (*BatchProcessRequest_BatchInputConfig) Descriptor() ([]byte, []int) { 1149 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{3, 0} 1150} 1151 1152func (x *BatchProcessRequest_BatchInputConfig) GetGcsSource() string { 1153 if x != nil { 1154 return x.GcsSource 1155 } 1156 return "" 1157} 1158 1159func (x *BatchProcessRequest_BatchInputConfig) GetMimeType() string { 1160 if x != nil { 1161 return x.MimeType 1162 } 1163 return "" 1164} 1165 1166// The message for output config in batch process. 1167// 1168// Deprecated: Do not use. 1169type BatchProcessRequest_BatchOutputConfig struct { 1170 state protoimpl.MessageState 1171 sizeCache protoimpl.SizeCache 1172 unknownFields protoimpl.UnknownFields 1173 1174 // The output Cloud Storage directory to put the processed documents. 1175 GcsDestination string `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"` 1176} 1177 1178func (x *BatchProcessRequest_BatchOutputConfig) Reset() { 1179 *x = BatchProcessRequest_BatchOutputConfig{} 1180 if protoimpl.UnsafeEnabled { 1181 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[11] 1182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1183 ms.StoreMessageInfo(mi) 1184 } 1185} 1186 1187func (x *BatchProcessRequest_BatchOutputConfig) String() string { 1188 return protoimpl.X.MessageStringOf(x) 1189} 1190 1191func (*BatchProcessRequest_BatchOutputConfig) ProtoMessage() {} 1192 1193func (x *BatchProcessRequest_BatchOutputConfig) ProtoReflect() protoreflect.Message { 1194 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[11] 1195 if protoimpl.UnsafeEnabled && x != nil { 1196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1197 if ms.LoadMessageInfo() == nil { 1198 ms.StoreMessageInfo(mi) 1199 } 1200 return ms 1201 } 1202 return mi.MessageOf(x) 1203} 1204 1205// Deprecated: Use BatchProcessRequest_BatchOutputConfig.ProtoReflect.Descriptor instead. 1206func (*BatchProcessRequest_BatchOutputConfig) Descriptor() ([]byte, []int) { 1207 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{3, 1} 1208} 1209 1210func (x *BatchProcessRequest_BatchOutputConfig) GetGcsDestination() string { 1211 if x != nil { 1212 return x.GcsDestination 1213 } 1214 return "" 1215} 1216 1217// The status of a each individual document in the batch process. 1218type BatchProcessMetadata_IndividualProcessStatus struct { 1219 state protoimpl.MessageState 1220 sizeCache protoimpl.SizeCache 1221 unknownFields protoimpl.UnknownFields 1222 1223 // The source of the document, same as the [input_gcs_source] field in the 1224 // request when the batch process started. The batch process is started by 1225 // take snapshot of that document, since a user can move or change that 1226 // document during the process. 1227 InputGcsSource string `protobuf:"bytes,1,opt,name=input_gcs_source,json=inputGcsSource,proto3" json:"input_gcs_source,omitempty"` 1228 // The status of the processing of the document. 1229 Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 1230 // The output_gcs_destination (in the request as 'output_gcs_destination') 1231 // of the processed document if it was successful, otherwise empty. 1232 OutputGcsDestination string `protobuf:"bytes,3,opt,name=output_gcs_destination,json=outputGcsDestination,proto3" json:"output_gcs_destination,omitempty"` 1233 // The name of the operation triggered by the processed document. If the 1234 // human review process is not triggered, this field will be empty. It has 1235 // the same response type and metadata as the long running operation 1236 // returned by ReviewDocument method. 1237 // 1238 // Deprecated: Do not use. 1239 HumanReviewOperation string `protobuf:"bytes,4,opt,name=human_review_operation,json=humanReviewOperation,proto3" json:"human_review_operation,omitempty"` 1240 // The status of human review on the processed document. 1241 HumanReviewStatus *HumanReviewStatus `protobuf:"bytes,5,opt,name=human_review_status,json=humanReviewStatus,proto3" json:"human_review_status,omitempty"` 1242} 1243 1244func (x *BatchProcessMetadata_IndividualProcessStatus) Reset() { 1245 *x = BatchProcessMetadata_IndividualProcessStatus{} 1246 if protoimpl.UnsafeEnabled { 1247 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[12] 1248 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1249 ms.StoreMessageInfo(mi) 1250 } 1251} 1252 1253func (x *BatchProcessMetadata_IndividualProcessStatus) String() string { 1254 return protoimpl.X.MessageStringOf(x) 1255} 1256 1257func (*BatchProcessMetadata_IndividualProcessStatus) ProtoMessage() {} 1258 1259func (x *BatchProcessMetadata_IndividualProcessStatus) ProtoReflect() protoreflect.Message { 1260 mi := &file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[12] 1261 if protoimpl.UnsafeEnabled && x != nil { 1262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1263 if ms.LoadMessageInfo() == nil { 1264 ms.StoreMessageInfo(mi) 1265 } 1266 return ms 1267 } 1268 return mi.MessageOf(x) 1269} 1270 1271// Deprecated: Use BatchProcessMetadata_IndividualProcessStatus.ProtoReflect.Descriptor instead. 1272func (*BatchProcessMetadata_IndividualProcessStatus) Descriptor() ([]byte, []int) { 1273 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP(), []int{5, 0} 1274} 1275 1276func (x *BatchProcessMetadata_IndividualProcessStatus) GetInputGcsSource() string { 1277 if x != nil { 1278 return x.InputGcsSource 1279 } 1280 return "" 1281} 1282 1283func (x *BatchProcessMetadata_IndividualProcessStatus) GetStatus() *status.Status { 1284 if x != nil { 1285 return x.Status 1286 } 1287 return nil 1288} 1289 1290func (x *BatchProcessMetadata_IndividualProcessStatus) GetOutputGcsDestination() string { 1291 if x != nil { 1292 return x.OutputGcsDestination 1293 } 1294 return "" 1295} 1296 1297// Deprecated: Do not use. 1298func (x *BatchProcessMetadata_IndividualProcessStatus) GetHumanReviewOperation() string { 1299 if x != nil { 1300 return x.HumanReviewOperation 1301 } 1302 return "" 1303} 1304 1305func (x *BatchProcessMetadata_IndividualProcessStatus) GetHumanReviewStatus() *HumanReviewStatus { 1306 if x != nil { 1307 return x.HumanReviewStatus 1308 } 1309 return nil 1310} 1311 1312var File_google_cloud_documentai_v1beta3_document_processor_service_proto protoreflect.FileDescriptor 1313 1314var file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDesc = []byte{ 1315 0x0a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 1316 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1317 0x33, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 1318 0x73, 0x73, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1319 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1320 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 1321 0x74, 0x61, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 1322 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1323 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 1324 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 1325 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 1326 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 1327 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1328 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 1329 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 1330 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1331 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 1332 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 1333 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1334 0x5f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1335 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 1336 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 1337 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 1338 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1339 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1340 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1341 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 1342 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x02, 0x0a, 0x0e, 0x50, 1343 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 1344 0x0f, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1345 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1346 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 1347 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1348 0x74, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 1349 0x65, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x0c, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 1350 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1351 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1352 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x52, 0x61, 0x77, 0x44, 1353 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x61, 0x77, 0x44, 0x6f, 1354 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 1355 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x64, 0x6f, 1356 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1357 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 1358 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 1359 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1360 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1361 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x6f, 0x63, 0x75, 1362 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1363 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 1364 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 1365 0x6b, 0x69, 0x70, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x42, 0x08, 1366 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x9e, 0x02, 0x0a, 0x11, 0x48, 0x75, 0x6d, 1367 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4e, 1368 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 1369 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 1370 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 1371 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 1372 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 1373 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 1374 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 1375 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 1376 0x69, 0x65, 0x77, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 1377 0x01, 0x28, 0x09, 0x52, 0x14, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 1378 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5e, 0x0a, 0x05, 0x53, 0x74, 0x61, 1379 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 1380 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 1381 0x50, 0x50, 0x45, 0x44, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 1382 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 1383 0x0b, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x03, 0x12, 0x09, 1384 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x22, 0xf6, 0x01, 0x0a, 0x0f, 0x50, 0x72, 1385 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 1386 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 1387 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1388 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1389 0x33, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 1390 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x16, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 1391 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 1392 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x14, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 1393 0x65, 0x76, 0x69, 0x65, 0x77, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x62, 1394 0x0a, 0x13, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 1395 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 1396 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 1397 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x48, 0x75, 1398 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 1399 0x11, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 1400 0x75, 0x73, 0x22, 0xcb, 0x05, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 1401 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 1402 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 1403 0x0a, 0x23, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 1404 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x63, 1405 0x65, 0x73, 0x73, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6e, 0x0a, 0x0d, 0x69, 1406 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 1407 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1408 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 1409 0x65, 0x74, 0x61, 0x33, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 1410 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 1411 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x69, 1412 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x6f, 0x0a, 0x0d, 0x6f, 1413 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 1414 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1415 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 1416 0x65, 0x74, 0x61, 0x33, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 1417 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x75, 1418 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 1419 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x63, 0x0a, 0x0f, 1420 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 1421 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1422 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 1423 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6f, 0x63, 1424 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1425 0x67, 0x52, 0x0e, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1426 0x73, 0x12, 0x6b, 0x0a, 0x16, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 1427 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 1428 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1429 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 1430 0x74, 0x61, 0x33, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 1431 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x14, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1432 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 1433 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 1434 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x48, 1435 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x1a, 0x52, 0x0a, 0x10, 0x42, 0x61, 1436 0x74, 0x63, 0x68, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 1437 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 1438 0x28, 0x09, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 1439 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1440 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x02, 0x18, 0x01, 0x1a, 0x40, 1441 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 1442 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 1443 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x63, 1444 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x02, 0x18, 0x01, 1445 0x22, 0x16, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 1446 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd2, 0x06, 0x0a, 0x14, 0x42, 0x61, 0x74, 1447 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1448 0x61, 0x12, 0x51, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 1449 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1450 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 1451 0x61, 0x33, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4d, 1452 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 1453 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 1454 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 1455 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 1456 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 1457 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 1458 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 1459 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 1460 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 1461 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 1462 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 1463 0x69, 0x6d, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x1b, 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 1464 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 1465 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1466 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1467 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x42, 0x61, 0x74, 0x63, 1468 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 1469 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 1470 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x19, 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 1471 0x64, 0x75, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 1472 0x73, 0x65, 0x73, 0x1a, 0xc3, 0x02, 0x0a, 0x17, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 1473 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 1474 0x28, 0x0a, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 1475 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x70, 0x75, 0x74, 1476 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 1477 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1478 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 1479 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 1480 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 1481 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x47, 0x63, 0x73, 1482 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x16, 0x68, 1483 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6f, 0x70, 0x65, 0x72, 1484 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 1485 0x14, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x4f, 0x70, 0x65, 0x72, 1486 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x62, 0x0a, 0x13, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 1487 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 1488 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1489 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 1490 0x65, 0x74, 0x61, 0x33, 0x2e, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 1491 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 1492 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x72, 0x0a, 0x05, 0x53, 0x74, 0x61, 1493 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 1494 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x49, 1495 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 1496 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 1497 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 1498 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 1499 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x22, 0xa7, 0x02, 1500 0x0a, 0x15, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1501 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x0f, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 1502 0x65, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 1503 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1504 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 1505 0x61, 0x33, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x69, 1506 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x63, 0x0a, 1507 0x13, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x6f, 1508 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 1509 0x41, 0x2d, 0x0a, 0x2b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 1510 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x75, 1511 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 1512 0x11, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 1513 0x69, 0x67, 0x12, 0x49, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 1514 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1515 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 1516 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 1517 0x02, 0x18, 0x01, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x08, 0x0a, 1518 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x41, 0x0a, 0x16, 0x52, 0x65, 0x76, 0x69, 0x65, 1519 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1520 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 1521 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x63, 0x73, 0x44, 1522 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe8, 0x03, 0x0a, 0x1f, 0x52, 1523 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 1524 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5c, 1525 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x46, 0x2e, 1526 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 1527 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 1528 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 1529 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 1530 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 1531 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 1532 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 1533 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 1534 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1535 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 1536 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 1537 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 1538 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1539 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 1540 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x61, 0x0a, 0x0f, 0x63, 1541 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 1542 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1543 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 1544 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 1545 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 1546 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x65, 1547 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 1548 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 1549 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 1550 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 1551 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 1552 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 1553 0x4c, 0x45, 0x44, 0x10, 0x05, 0x22, 0xf5, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 1554 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1555 0x61, 0x12, 0x54, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 1556 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1557 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 1558 0x61, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 1559 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 1560 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 1561 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 1562 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 1563 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 1564 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1565 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 1566 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 1567 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 1568 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 1569 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 1570 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 1571 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 1572 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 1573 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x49, 0x4e, 1574 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 1575 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0d, 1576 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x32, 0xcf, 0x06, 1577 0x0a, 0x18, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 1578 0x73, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc3, 0x01, 0x0a, 0x0f, 0x50, 1579 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2f, 1580 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 1581 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 1582 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1583 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1584 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1585 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1586 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x62, 0x65, 1587 0x74, 0x61, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1588 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 1589 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 1590 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1591 0x12, 0xf0, 0x01, 0x0a, 0x15, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 1592 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 1593 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1594 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x42, 0x61, 0x74, 1595 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1596 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 1597 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 1598 0x81, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x40, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 1599 0x61, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 1600 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 1601 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x62, 0x61, 1602 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 1603 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x2c, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 1604 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x42, 1605 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 1606 0x61, 0x74, 0x61, 0x12, 0xaa, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 1607 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1608 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 1609 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 1610 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 1611 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 1612 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc0, 0x01, 1613 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x68, 0x22, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 1614 0x2f, 0x7b, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 1615 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1616 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 1617 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 1618 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x3a, 0x72, 0x65, 0x76, 1619 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0xda, 0x41, 1620 0x13, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x6f, 1621 0x6e, 0x66, 0x69, 0x67, 0xca, 0x41, 0x39, 0x0a, 0x16, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 1622 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1623 0x1f, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 1624 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 1625 0x1a, 0x4d, 0xca, 0x41, 0x19, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 1626 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 1627 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 1628 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 1629 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 1630 0xb1, 0x04, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1631 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 1632 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x42, 0x1a, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1633 0x74, 0x41, 0x69, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 1634 0x69, 0x63, 0x65, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 1635 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 1636 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 1637 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 1638 0x62, 0x65, 0x74, 0x61, 0x33, 0x3b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 1639 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1640 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 1641 0x61, 0x33, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 1642 0x64, 0x5c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x5c, 0x56, 0x31, 0x62, 1643 0x65, 0x74, 0x61, 0x33, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 1644 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 1645 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0xea, 0x41, 0x4d, 0x0a, 0x22, 0x64, 0x6f, 1646 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1647 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1648 0x12, 0x27, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 1649 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 1650 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0xea, 0x41, 0x65, 0x0a, 0x23, 0x64, 0x6f, 1651 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1652 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 1653 0x72, 0x12, 0x3e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 1654 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1655 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 1656 0x73, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 1657 0x7d, 0xea, 0x41, 0x7f, 0x0a, 0x2b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 1658 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1659 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1660 0x67, 0x12, 0x50, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 1661 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1662 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 1663 0x73, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 1664 0x7d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 1665 0x66, 0x69, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1666} 1667 1668var ( 1669 file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescOnce sync.Once 1670 file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescData = file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDesc 1671) 1672 1673func file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescGZIP() []byte { 1674 file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescOnce.Do(func() { 1675 file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescData) 1676 }) 1677 return file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDescData 1678} 1679 1680var file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 1681var file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13) 1682var file_google_cloud_documentai_v1beta3_document_processor_service_proto_goTypes = []interface{}{ 1683 (HumanReviewStatus_State)(0), // 0: google.cloud.documentai.v1beta3.HumanReviewStatus.State 1684 (BatchProcessMetadata_State)(0), // 1: google.cloud.documentai.v1beta3.BatchProcessMetadata.State 1685 (ReviewDocumentOperationMetadata_State)(0), // 2: google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State 1686 (CommonOperationMetadata_State)(0), // 3: google.cloud.documentai.v1beta3.CommonOperationMetadata.State 1687 (*ProcessRequest)(nil), // 4: google.cloud.documentai.v1beta3.ProcessRequest 1688 (*HumanReviewStatus)(nil), // 5: google.cloud.documentai.v1beta3.HumanReviewStatus 1689 (*ProcessResponse)(nil), // 6: google.cloud.documentai.v1beta3.ProcessResponse 1690 (*BatchProcessRequest)(nil), // 7: google.cloud.documentai.v1beta3.BatchProcessRequest 1691 (*BatchProcessResponse)(nil), // 8: google.cloud.documentai.v1beta3.BatchProcessResponse 1692 (*BatchProcessMetadata)(nil), // 9: google.cloud.documentai.v1beta3.BatchProcessMetadata 1693 (*ReviewDocumentRequest)(nil), // 10: google.cloud.documentai.v1beta3.ReviewDocumentRequest 1694 (*ReviewDocumentResponse)(nil), // 11: google.cloud.documentai.v1beta3.ReviewDocumentResponse 1695 (*ReviewDocumentOperationMetadata)(nil), // 12: google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata 1696 (*CommonOperationMetadata)(nil), // 13: google.cloud.documentai.v1beta3.CommonOperationMetadata 1697 (*BatchProcessRequest_BatchInputConfig)(nil), // 14: google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig 1698 (*BatchProcessRequest_BatchOutputConfig)(nil), // 15: google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig 1699 (*BatchProcessMetadata_IndividualProcessStatus)(nil), // 16: google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus 1700 (*Document)(nil), // 17: google.cloud.documentai.v1beta3.Document 1701 (*RawDocument)(nil), // 18: google.cloud.documentai.v1beta3.RawDocument 1702 (*BatchDocumentsInputConfig)(nil), // 19: google.cloud.documentai.v1beta3.BatchDocumentsInputConfig 1703 (*DocumentOutputConfig)(nil), // 20: google.cloud.documentai.v1beta3.DocumentOutputConfig 1704 (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp 1705 (*status.Status)(nil), // 22: google.rpc.Status 1706 (*longrunning.Operation)(nil), // 23: google.longrunning.Operation 1707} 1708var file_google_cloud_documentai_v1beta3_document_processor_service_proto_depIdxs = []int32{ 1709 17, // 0: google.cloud.documentai.v1beta3.ProcessRequest.inline_document:type_name -> google.cloud.documentai.v1beta3.Document 1710 18, // 1: google.cloud.documentai.v1beta3.ProcessRequest.raw_document:type_name -> google.cloud.documentai.v1beta3.RawDocument 1711 17, // 2: google.cloud.documentai.v1beta3.ProcessRequest.document:type_name -> google.cloud.documentai.v1beta3.Document 1712 0, // 3: google.cloud.documentai.v1beta3.HumanReviewStatus.state:type_name -> google.cloud.documentai.v1beta3.HumanReviewStatus.State 1713 17, // 4: google.cloud.documentai.v1beta3.ProcessResponse.document:type_name -> google.cloud.documentai.v1beta3.Document 1714 5, // 5: google.cloud.documentai.v1beta3.ProcessResponse.human_review_status:type_name -> google.cloud.documentai.v1beta3.HumanReviewStatus 1715 14, // 6: google.cloud.documentai.v1beta3.BatchProcessRequest.input_configs:type_name -> google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig 1716 15, // 7: google.cloud.documentai.v1beta3.BatchProcessRequest.output_config:type_name -> google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig 1717 19, // 8: google.cloud.documentai.v1beta3.BatchProcessRequest.input_documents:type_name -> google.cloud.documentai.v1beta3.BatchDocumentsInputConfig 1718 20, // 9: google.cloud.documentai.v1beta3.BatchProcessRequest.document_output_config:type_name -> google.cloud.documentai.v1beta3.DocumentOutputConfig 1719 1, // 10: google.cloud.documentai.v1beta3.BatchProcessMetadata.state:type_name -> google.cloud.documentai.v1beta3.BatchProcessMetadata.State 1720 21, // 11: google.cloud.documentai.v1beta3.BatchProcessMetadata.create_time:type_name -> google.protobuf.Timestamp 1721 21, // 12: google.cloud.documentai.v1beta3.BatchProcessMetadata.update_time:type_name -> google.protobuf.Timestamp 1722 16, // 13: google.cloud.documentai.v1beta3.BatchProcessMetadata.individual_process_statuses:type_name -> google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus 1723 17, // 14: google.cloud.documentai.v1beta3.ReviewDocumentRequest.inline_document:type_name -> google.cloud.documentai.v1beta3.Document 1724 17, // 15: google.cloud.documentai.v1beta3.ReviewDocumentRequest.document:type_name -> google.cloud.documentai.v1beta3.Document 1725 2, // 16: google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.state:type_name -> google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State 1726 21, // 17: google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.create_time:type_name -> google.protobuf.Timestamp 1727 21, // 18: google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.update_time:type_name -> google.protobuf.Timestamp 1728 13, // 19: google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.common_metadata:type_name -> google.cloud.documentai.v1beta3.CommonOperationMetadata 1729 3, // 20: google.cloud.documentai.v1beta3.CommonOperationMetadata.state:type_name -> google.cloud.documentai.v1beta3.CommonOperationMetadata.State 1730 21, // 21: google.cloud.documentai.v1beta3.CommonOperationMetadata.create_time:type_name -> google.protobuf.Timestamp 1731 21, // 22: google.cloud.documentai.v1beta3.CommonOperationMetadata.update_time:type_name -> google.protobuf.Timestamp 1732 22, // 23: google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.status:type_name -> google.rpc.Status 1733 5, // 24: google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_status:type_name -> google.cloud.documentai.v1beta3.HumanReviewStatus 1734 4, // 25: google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument:input_type -> google.cloud.documentai.v1beta3.ProcessRequest 1735 7, // 26: google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments:input_type -> google.cloud.documentai.v1beta3.BatchProcessRequest 1736 10, // 27: google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument:input_type -> google.cloud.documentai.v1beta3.ReviewDocumentRequest 1737 6, // 28: google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument:output_type -> google.cloud.documentai.v1beta3.ProcessResponse 1738 23, // 29: google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments:output_type -> google.longrunning.Operation 1739 23, // 30: google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument:output_type -> google.longrunning.Operation 1740 28, // [28:31] is the sub-list for method output_type 1741 25, // [25:28] is the sub-list for method input_type 1742 25, // [25:25] is the sub-list for extension type_name 1743 25, // [25:25] is the sub-list for extension extendee 1744 0, // [0:25] is the sub-list for field type_name 1745} 1746 1747func init() { file_google_cloud_documentai_v1beta3_document_processor_service_proto_init() } 1748func file_google_cloud_documentai_v1beta3_document_processor_service_proto_init() { 1749 if File_google_cloud_documentai_v1beta3_document_processor_service_proto != nil { 1750 return 1751 } 1752 file_google_cloud_documentai_v1beta3_document_proto_init() 1753 file_google_cloud_documentai_v1beta3_document_io_proto_init() 1754 if !protoimpl.UnsafeEnabled { 1755 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1756 switch v := v.(*ProcessRequest); i { 1757 case 0: 1758 return &v.state 1759 case 1: 1760 return &v.sizeCache 1761 case 2: 1762 return &v.unknownFields 1763 default: 1764 return nil 1765 } 1766 } 1767 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1768 switch v := v.(*HumanReviewStatus); i { 1769 case 0: 1770 return &v.state 1771 case 1: 1772 return &v.sizeCache 1773 case 2: 1774 return &v.unknownFields 1775 default: 1776 return nil 1777 } 1778 } 1779 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1780 switch v := v.(*ProcessResponse); i { 1781 case 0: 1782 return &v.state 1783 case 1: 1784 return &v.sizeCache 1785 case 2: 1786 return &v.unknownFields 1787 default: 1788 return nil 1789 } 1790 } 1791 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1792 switch v := v.(*BatchProcessRequest); i { 1793 case 0: 1794 return &v.state 1795 case 1: 1796 return &v.sizeCache 1797 case 2: 1798 return &v.unknownFields 1799 default: 1800 return nil 1801 } 1802 } 1803 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1804 switch v := v.(*BatchProcessResponse); i { 1805 case 0: 1806 return &v.state 1807 case 1: 1808 return &v.sizeCache 1809 case 2: 1810 return &v.unknownFields 1811 default: 1812 return nil 1813 } 1814 } 1815 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1816 switch v := v.(*BatchProcessMetadata); i { 1817 case 0: 1818 return &v.state 1819 case 1: 1820 return &v.sizeCache 1821 case 2: 1822 return &v.unknownFields 1823 default: 1824 return nil 1825 } 1826 } 1827 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1828 switch v := v.(*ReviewDocumentRequest); i { 1829 case 0: 1830 return &v.state 1831 case 1: 1832 return &v.sizeCache 1833 case 2: 1834 return &v.unknownFields 1835 default: 1836 return nil 1837 } 1838 } 1839 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1840 switch v := v.(*ReviewDocumentResponse); i { 1841 case 0: 1842 return &v.state 1843 case 1: 1844 return &v.sizeCache 1845 case 2: 1846 return &v.unknownFields 1847 default: 1848 return nil 1849 } 1850 } 1851 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1852 switch v := v.(*ReviewDocumentOperationMetadata); i { 1853 case 0: 1854 return &v.state 1855 case 1: 1856 return &v.sizeCache 1857 case 2: 1858 return &v.unknownFields 1859 default: 1860 return nil 1861 } 1862 } 1863 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1864 switch v := v.(*CommonOperationMetadata); i { 1865 case 0: 1866 return &v.state 1867 case 1: 1868 return &v.sizeCache 1869 case 2: 1870 return &v.unknownFields 1871 default: 1872 return nil 1873 } 1874 } 1875 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1876 switch v := v.(*BatchProcessRequest_BatchInputConfig); i { 1877 case 0: 1878 return &v.state 1879 case 1: 1880 return &v.sizeCache 1881 case 2: 1882 return &v.unknownFields 1883 default: 1884 return nil 1885 } 1886 } 1887 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1888 switch v := v.(*BatchProcessRequest_BatchOutputConfig); i { 1889 case 0: 1890 return &v.state 1891 case 1: 1892 return &v.sizeCache 1893 case 2: 1894 return &v.unknownFields 1895 default: 1896 return nil 1897 } 1898 } 1899 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1900 switch v := v.(*BatchProcessMetadata_IndividualProcessStatus); i { 1901 case 0: 1902 return &v.state 1903 case 1: 1904 return &v.sizeCache 1905 case 2: 1906 return &v.unknownFields 1907 default: 1908 return nil 1909 } 1910 } 1911 } 1912 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[0].OneofWrappers = []interface{}{ 1913 (*ProcessRequest_InlineDocument)(nil), 1914 (*ProcessRequest_RawDocument)(nil), 1915 } 1916 file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes[6].OneofWrappers = []interface{}{ 1917 (*ReviewDocumentRequest_InlineDocument)(nil), 1918 } 1919 type x struct{} 1920 out := protoimpl.TypeBuilder{ 1921 File: protoimpl.DescBuilder{ 1922 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1923 RawDescriptor: file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDesc, 1924 NumEnums: 4, 1925 NumMessages: 13, 1926 NumExtensions: 0, 1927 NumServices: 1, 1928 }, 1929 GoTypes: file_google_cloud_documentai_v1beta3_document_processor_service_proto_goTypes, 1930 DependencyIndexes: file_google_cloud_documentai_v1beta3_document_processor_service_proto_depIdxs, 1931 EnumInfos: file_google_cloud_documentai_v1beta3_document_processor_service_proto_enumTypes, 1932 MessageInfos: file_google_cloud_documentai_v1beta3_document_processor_service_proto_msgTypes, 1933 }.Build() 1934 File_google_cloud_documentai_v1beta3_document_processor_service_proto = out.File 1935 file_google_cloud_documentai_v1beta3_document_processor_service_proto_rawDesc = nil 1936 file_google_cloud_documentai_v1beta3_document_processor_service_proto_goTypes = nil 1937 file_google_cloud_documentai_v1beta3_document_processor_service_proto_depIdxs = nil 1938} 1939 1940// Reference imports to suppress errors if they are not otherwise used. 1941var _ context.Context 1942var _ grpc.ClientConnInterface 1943 1944// This is a compile-time assertion to ensure that this generated file 1945// is compatible with the grpc package it is being compiled against. 1946const _ = grpc.SupportPackageIsVersion6 1947 1948// DocumentProcessorServiceClient is the client API for DocumentProcessorService service. 1949// 1950// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1951type DocumentProcessorServiceClient interface { 1952 // Processes a single document. 1953 ProcessDocument(ctx context.Context, in *ProcessRequest, opts ...grpc.CallOption) (*ProcessResponse, error) 1954 // LRO endpoint to batch process many documents. The output is written 1955 // to Cloud Storage as JSON in the [Document] format. 1956 BatchProcessDocuments(ctx context.Context, in *BatchProcessRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1957 // Send a document for Human Review. The input document should be processed by 1958 // the specified processor. 1959 ReviewDocument(ctx context.Context, in *ReviewDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1960} 1961 1962type documentProcessorServiceClient struct { 1963 cc grpc.ClientConnInterface 1964} 1965 1966func NewDocumentProcessorServiceClient(cc grpc.ClientConnInterface) DocumentProcessorServiceClient { 1967 return &documentProcessorServiceClient{cc} 1968} 1969 1970func (c *documentProcessorServiceClient) ProcessDocument(ctx context.Context, in *ProcessRequest, opts ...grpc.CallOption) (*ProcessResponse, error) { 1971 out := new(ProcessResponse) 1972 err := c.cc.Invoke(ctx, "/google.cloud.documentai.v1beta3.DocumentProcessorService/ProcessDocument", in, out, opts...) 1973 if err != nil { 1974 return nil, err 1975 } 1976 return out, nil 1977} 1978 1979func (c *documentProcessorServiceClient) BatchProcessDocuments(ctx context.Context, in *BatchProcessRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1980 out := new(longrunning.Operation) 1981 err := c.cc.Invoke(ctx, "/google.cloud.documentai.v1beta3.DocumentProcessorService/BatchProcessDocuments", in, out, opts...) 1982 if err != nil { 1983 return nil, err 1984 } 1985 return out, nil 1986} 1987 1988func (c *documentProcessorServiceClient) ReviewDocument(ctx context.Context, in *ReviewDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1989 out := new(longrunning.Operation) 1990 err := c.cc.Invoke(ctx, "/google.cloud.documentai.v1beta3.DocumentProcessorService/ReviewDocument", in, out, opts...) 1991 if err != nil { 1992 return nil, err 1993 } 1994 return out, nil 1995} 1996 1997// DocumentProcessorServiceServer is the server API for DocumentProcessorService service. 1998type DocumentProcessorServiceServer interface { 1999 // Processes a single document. 2000 ProcessDocument(context.Context, *ProcessRequest) (*ProcessResponse, error) 2001 // LRO endpoint to batch process many documents. The output is written 2002 // to Cloud Storage as JSON in the [Document] format. 2003 BatchProcessDocuments(context.Context, *BatchProcessRequest) (*longrunning.Operation, error) 2004 // Send a document for Human Review. The input document should be processed by 2005 // the specified processor. 2006 ReviewDocument(context.Context, *ReviewDocumentRequest) (*longrunning.Operation, error) 2007} 2008 2009// UnimplementedDocumentProcessorServiceServer can be embedded to have forward compatible implementations. 2010type UnimplementedDocumentProcessorServiceServer struct { 2011} 2012 2013func (*UnimplementedDocumentProcessorServiceServer) ProcessDocument(context.Context, *ProcessRequest) (*ProcessResponse, error) { 2014 return nil, status1.Errorf(codes.Unimplemented, "method ProcessDocument not implemented") 2015} 2016func (*UnimplementedDocumentProcessorServiceServer) BatchProcessDocuments(context.Context, *BatchProcessRequest) (*longrunning.Operation, error) { 2017 return nil, status1.Errorf(codes.Unimplemented, "method BatchProcessDocuments not implemented") 2018} 2019func (*UnimplementedDocumentProcessorServiceServer) ReviewDocument(context.Context, *ReviewDocumentRequest) (*longrunning.Operation, error) { 2020 return nil, status1.Errorf(codes.Unimplemented, "method ReviewDocument not implemented") 2021} 2022 2023func RegisterDocumentProcessorServiceServer(s *grpc.Server, srv DocumentProcessorServiceServer) { 2024 s.RegisterService(&_DocumentProcessorService_serviceDesc, srv) 2025} 2026 2027func _DocumentProcessorService_ProcessDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2028 in := new(ProcessRequest) 2029 if err := dec(in); err != nil { 2030 return nil, err 2031 } 2032 if interceptor == nil { 2033 return srv.(DocumentProcessorServiceServer).ProcessDocument(ctx, in) 2034 } 2035 info := &grpc.UnaryServerInfo{ 2036 Server: srv, 2037 FullMethod: "/google.cloud.documentai.v1beta3.DocumentProcessorService/ProcessDocument", 2038 } 2039 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2040 return srv.(DocumentProcessorServiceServer).ProcessDocument(ctx, req.(*ProcessRequest)) 2041 } 2042 return interceptor(ctx, in, info, handler) 2043} 2044 2045func _DocumentProcessorService_BatchProcessDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2046 in := new(BatchProcessRequest) 2047 if err := dec(in); err != nil { 2048 return nil, err 2049 } 2050 if interceptor == nil { 2051 return srv.(DocumentProcessorServiceServer).BatchProcessDocuments(ctx, in) 2052 } 2053 info := &grpc.UnaryServerInfo{ 2054 Server: srv, 2055 FullMethod: "/google.cloud.documentai.v1beta3.DocumentProcessorService/BatchProcessDocuments", 2056 } 2057 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2058 return srv.(DocumentProcessorServiceServer).BatchProcessDocuments(ctx, req.(*BatchProcessRequest)) 2059 } 2060 return interceptor(ctx, in, info, handler) 2061} 2062 2063func _DocumentProcessorService_ReviewDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2064 in := new(ReviewDocumentRequest) 2065 if err := dec(in); err != nil { 2066 return nil, err 2067 } 2068 if interceptor == nil { 2069 return srv.(DocumentProcessorServiceServer).ReviewDocument(ctx, in) 2070 } 2071 info := &grpc.UnaryServerInfo{ 2072 Server: srv, 2073 FullMethod: "/google.cloud.documentai.v1beta3.DocumentProcessorService/ReviewDocument", 2074 } 2075 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2076 return srv.(DocumentProcessorServiceServer).ReviewDocument(ctx, req.(*ReviewDocumentRequest)) 2077 } 2078 return interceptor(ctx, in, info, handler) 2079} 2080 2081var _DocumentProcessorService_serviceDesc = grpc.ServiceDesc{ 2082 ServiceName: "google.cloud.documentai.v1beta3.DocumentProcessorService", 2083 HandlerType: (*DocumentProcessorServiceServer)(nil), 2084 Methods: []grpc.MethodDesc{ 2085 { 2086 MethodName: "ProcessDocument", 2087 Handler: _DocumentProcessorService_ProcessDocument_Handler, 2088 }, 2089 { 2090 MethodName: "BatchProcessDocuments", 2091 Handler: _DocumentProcessorService_BatchProcessDocuments_Handler, 2092 }, 2093 { 2094 MethodName: "ReviewDocument", 2095 Handler: _DocumentProcessorService_ReviewDocument_Handler, 2096 }, 2097 }, 2098 Streams: []grpc.StreamDesc{}, 2099 Metadata: "google/cloud/documentai/v1beta3/document_processor_service.proto", 2100} 2101