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.13.0 19// source: google/cloud/documentai/v1/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_v1_document_processor_service_proto_enumTypes[0].Descriptor() 101} 102 103func (HumanReviewStatus_State) Type() protoreflect.EnumType { 104 return &file_google_cloud_documentai_v1_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_v1_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_v1_document_processor_service_proto_enumTypes[1].Descriptor() 170} 171 172func (BatchProcessMetadata_State) Type() protoreflect.EnumType { 173 return &file_google_cloud_documentai_v1_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_v1_document_processor_service_proto_rawDescGZIP(), []int{5, 0} 183} 184 185// State of the longrunning operation. 186type CommonOperationMetadata_State int32 187 188const ( 189 // Unspecified state. 190 CommonOperationMetadata_STATE_UNSPECIFIED CommonOperationMetadata_State = 0 191 // Operation is still running. 192 CommonOperationMetadata_RUNNING CommonOperationMetadata_State = 1 193 // Operation is being cancelled. 194 CommonOperationMetadata_CANCELLING CommonOperationMetadata_State = 2 195 // Operation succeeded. 196 CommonOperationMetadata_SUCCEEDED CommonOperationMetadata_State = 3 197 // Operation failed. 198 CommonOperationMetadata_FAILED CommonOperationMetadata_State = 4 199 // Operation is cancelled. 200 CommonOperationMetadata_CANCELLED CommonOperationMetadata_State = 5 201) 202 203// Enum value maps for CommonOperationMetadata_State. 204var ( 205 CommonOperationMetadata_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 CommonOperationMetadata_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 CommonOperationMetadata_State) Enum() *CommonOperationMetadata_State { 224 p := new(CommonOperationMetadata_State) 225 *p = x 226 return p 227} 228 229func (x CommonOperationMetadata_State) String() string { 230 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 231} 232 233func (CommonOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor { 234 return file_google_cloud_documentai_v1_document_processor_service_proto_enumTypes[2].Descriptor() 235} 236 237func (CommonOperationMetadata_State) Type() protoreflect.EnumType { 238 return &file_google_cloud_documentai_v1_document_processor_service_proto_enumTypes[2] 239} 240 241func (x CommonOperationMetadata_State) Number() protoreflect.EnumNumber { 242 return protoreflect.EnumNumber(x) 243} 244 245// Deprecated: Use CommonOperationMetadata_State.Descriptor instead. 246func (CommonOperationMetadata_State) EnumDescriptor() ([]byte, []int) { 247 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{9, 0} 248} 249 250// Request message for the process document method. 251type ProcessRequest struct { 252 state protoimpl.MessageState 253 sizeCache protoimpl.SizeCache 254 unknownFields protoimpl.UnknownFields 255 256 // The document payload. 257 // 258 // Types that are assignable to Source: 259 // *ProcessRequest_InlineDocument 260 // *ProcessRequest_RawDocument 261 Source isProcessRequest_Source `protobuf_oneof:"source"` 262 // Required. The processor resource name. 263 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 264 // Whether Human Review feature should be skipped for this request. Default to 265 // false. 266 SkipHumanReview bool `protobuf:"varint,3,opt,name=skip_human_review,json=skipHumanReview,proto3" json:"skip_human_review,omitempty"` 267} 268 269func (x *ProcessRequest) Reset() { 270 *x = ProcessRequest{} 271 if protoimpl.UnsafeEnabled { 272 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[0] 273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 274 ms.StoreMessageInfo(mi) 275 } 276} 277 278func (x *ProcessRequest) String() string { 279 return protoimpl.X.MessageStringOf(x) 280} 281 282func (*ProcessRequest) ProtoMessage() {} 283 284func (x *ProcessRequest) ProtoReflect() protoreflect.Message { 285 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[0] 286 if protoimpl.UnsafeEnabled && x != nil { 287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 288 if ms.LoadMessageInfo() == nil { 289 ms.StoreMessageInfo(mi) 290 } 291 return ms 292 } 293 return mi.MessageOf(x) 294} 295 296// Deprecated: Use ProcessRequest.ProtoReflect.Descriptor instead. 297func (*ProcessRequest) Descriptor() ([]byte, []int) { 298 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{0} 299} 300 301func (m *ProcessRequest) GetSource() isProcessRequest_Source { 302 if m != nil { 303 return m.Source 304 } 305 return nil 306} 307 308func (x *ProcessRequest) GetInlineDocument() *Document { 309 if x, ok := x.GetSource().(*ProcessRequest_InlineDocument); ok { 310 return x.InlineDocument 311 } 312 return nil 313} 314 315func (x *ProcessRequest) GetRawDocument() *RawDocument { 316 if x, ok := x.GetSource().(*ProcessRequest_RawDocument); ok { 317 return x.RawDocument 318 } 319 return nil 320} 321 322func (x *ProcessRequest) GetName() string { 323 if x != nil { 324 return x.Name 325 } 326 return "" 327} 328 329func (x *ProcessRequest) GetSkipHumanReview() bool { 330 if x != nil { 331 return x.SkipHumanReview 332 } 333 return false 334} 335 336type isProcessRequest_Source interface { 337 isProcessRequest_Source() 338} 339 340type ProcessRequest_InlineDocument struct { 341 // An inline document proto. 342 InlineDocument *Document `protobuf:"bytes,4,opt,name=inline_document,json=inlineDocument,proto3,oneof"` 343} 344 345type ProcessRequest_RawDocument struct { 346 // A raw document content (bytes). 347 RawDocument *RawDocument `protobuf:"bytes,5,opt,name=raw_document,json=rawDocument,proto3,oneof"` 348} 349 350func (*ProcessRequest_InlineDocument) isProcessRequest_Source() {} 351 352func (*ProcessRequest_RawDocument) isProcessRequest_Source() {} 353 354// The status of human review on a processed document. 355type HumanReviewStatus struct { 356 state protoimpl.MessageState 357 sizeCache protoimpl.SizeCache 358 unknownFields protoimpl.UnknownFields 359 360 // The state of human review on the processing request. 361 State HumanReviewStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.documentai.v1.HumanReviewStatus_State" json:"state,omitempty"` 362 // A message providing more details about the human review state. 363 StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` 364 // The name of the operation triggered by the processed document. This field 365 // is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has 366 // the same response type and metadata as the long running operation returned 367 // by [ReviewDocument] method. 368 HumanReviewOperation string `protobuf:"bytes,3,opt,name=human_review_operation,json=humanReviewOperation,proto3" json:"human_review_operation,omitempty"` 369} 370 371func (x *HumanReviewStatus) Reset() { 372 *x = HumanReviewStatus{} 373 if protoimpl.UnsafeEnabled { 374 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[1] 375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 376 ms.StoreMessageInfo(mi) 377 } 378} 379 380func (x *HumanReviewStatus) String() string { 381 return protoimpl.X.MessageStringOf(x) 382} 383 384func (*HumanReviewStatus) ProtoMessage() {} 385 386func (x *HumanReviewStatus) ProtoReflect() protoreflect.Message { 387 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[1] 388 if protoimpl.UnsafeEnabled && x != nil { 389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 390 if ms.LoadMessageInfo() == nil { 391 ms.StoreMessageInfo(mi) 392 } 393 return ms 394 } 395 return mi.MessageOf(x) 396} 397 398// Deprecated: Use HumanReviewStatus.ProtoReflect.Descriptor instead. 399func (*HumanReviewStatus) Descriptor() ([]byte, []int) { 400 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{1} 401} 402 403func (x *HumanReviewStatus) GetState() HumanReviewStatus_State { 404 if x != nil { 405 return x.State 406 } 407 return HumanReviewStatus_STATE_UNSPECIFIED 408} 409 410func (x *HumanReviewStatus) GetStateMessage() string { 411 if x != nil { 412 return x.StateMessage 413 } 414 return "" 415} 416 417func (x *HumanReviewStatus) GetHumanReviewOperation() string { 418 if x != nil { 419 return x.HumanReviewOperation 420 } 421 return "" 422} 423 424// Response message for the process document method. 425type ProcessResponse struct { 426 state protoimpl.MessageState 427 sizeCache protoimpl.SizeCache 428 unknownFields protoimpl.UnknownFields 429 430 // The document payload, will populate fields based on the processor's 431 // behavior. 432 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` 433 // The status of human review on the processed document. 434 HumanReviewStatus *HumanReviewStatus `protobuf:"bytes,3,opt,name=human_review_status,json=humanReviewStatus,proto3" json:"human_review_status,omitempty"` 435} 436 437func (x *ProcessResponse) Reset() { 438 *x = ProcessResponse{} 439 if protoimpl.UnsafeEnabled { 440 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[2] 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 ms.StoreMessageInfo(mi) 443 } 444} 445 446func (x *ProcessResponse) String() string { 447 return protoimpl.X.MessageStringOf(x) 448} 449 450func (*ProcessResponse) ProtoMessage() {} 451 452func (x *ProcessResponse) ProtoReflect() protoreflect.Message { 453 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[2] 454 if protoimpl.UnsafeEnabled && x != nil { 455 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 456 if ms.LoadMessageInfo() == nil { 457 ms.StoreMessageInfo(mi) 458 } 459 return ms 460 } 461 return mi.MessageOf(x) 462} 463 464// Deprecated: Use ProcessResponse.ProtoReflect.Descriptor instead. 465func (*ProcessResponse) Descriptor() ([]byte, []int) { 466 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{2} 467} 468 469func (x *ProcessResponse) GetDocument() *Document { 470 if x != nil { 471 return x.Document 472 } 473 return nil 474} 475 476func (x *ProcessResponse) GetHumanReviewStatus() *HumanReviewStatus { 477 if x != nil { 478 return x.HumanReviewStatus 479 } 480 return nil 481} 482 483// Request message for batch process document method. 484type BatchProcessRequest struct { 485 state protoimpl.MessageState 486 sizeCache protoimpl.SizeCache 487 unknownFields protoimpl.UnknownFields 488 489 // Required. The processor resource name. 490 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 491 // The input documents for batch process. 492 InputDocuments *BatchDocumentsInputConfig `protobuf:"bytes,5,opt,name=input_documents,json=inputDocuments,proto3" json:"input_documents,omitempty"` 493 // The overall output config for batch process. 494 DocumentOutputConfig *DocumentOutputConfig `protobuf:"bytes,6,opt,name=document_output_config,json=documentOutputConfig,proto3" json:"document_output_config,omitempty"` 495 // Whether Human Review feature should be skipped for this request. Default to 496 // false. 497 SkipHumanReview bool `protobuf:"varint,4,opt,name=skip_human_review,json=skipHumanReview,proto3" json:"skip_human_review,omitempty"` 498} 499 500func (x *BatchProcessRequest) Reset() { 501 *x = BatchProcessRequest{} 502 if protoimpl.UnsafeEnabled { 503 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[3] 504 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 505 ms.StoreMessageInfo(mi) 506 } 507} 508 509func (x *BatchProcessRequest) String() string { 510 return protoimpl.X.MessageStringOf(x) 511} 512 513func (*BatchProcessRequest) ProtoMessage() {} 514 515func (x *BatchProcessRequest) ProtoReflect() protoreflect.Message { 516 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[3] 517 if protoimpl.UnsafeEnabled && x != nil { 518 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 519 if ms.LoadMessageInfo() == nil { 520 ms.StoreMessageInfo(mi) 521 } 522 return ms 523 } 524 return mi.MessageOf(x) 525} 526 527// Deprecated: Use BatchProcessRequest.ProtoReflect.Descriptor instead. 528func (*BatchProcessRequest) Descriptor() ([]byte, []int) { 529 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{3} 530} 531 532func (x *BatchProcessRequest) GetName() string { 533 if x != nil { 534 return x.Name 535 } 536 return "" 537} 538 539func (x *BatchProcessRequest) GetInputDocuments() *BatchDocumentsInputConfig { 540 if x != nil { 541 return x.InputDocuments 542 } 543 return nil 544} 545 546func (x *BatchProcessRequest) GetDocumentOutputConfig() *DocumentOutputConfig { 547 if x != nil { 548 return x.DocumentOutputConfig 549 } 550 return nil 551} 552 553func (x *BatchProcessRequest) GetSkipHumanReview() bool { 554 if x != nil { 555 return x.SkipHumanReview 556 } 557 return false 558} 559 560// Response message for batch process document method. 561type BatchProcessResponse struct { 562 state protoimpl.MessageState 563 sizeCache protoimpl.SizeCache 564 unknownFields protoimpl.UnknownFields 565} 566 567func (x *BatchProcessResponse) Reset() { 568 *x = BatchProcessResponse{} 569 if protoimpl.UnsafeEnabled { 570 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[4] 571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 572 ms.StoreMessageInfo(mi) 573 } 574} 575 576func (x *BatchProcessResponse) String() string { 577 return protoimpl.X.MessageStringOf(x) 578} 579 580func (*BatchProcessResponse) ProtoMessage() {} 581 582func (x *BatchProcessResponse) ProtoReflect() protoreflect.Message { 583 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[4] 584 if protoimpl.UnsafeEnabled && x != nil { 585 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 586 if ms.LoadMessageInfo() == nil { 587 ms.StoreMessageInfo(mi) 588 } 589 return ms 590 } 591 return mi.MessageOf(x) 592} 593 594// Deprecated: Use BatchProcessResponse.ProtoReflect.Descriptor instead. 595func (*BatchProcessResponse) Descriptor() ([]byte, []int) { 596 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{4} 597} 598 599// The long running operation metadata for batch process method. 600type BatchProcessMetadata struct { 601 state protoimpl.MessageState 602 sizeCache protoimpl.SizeCache 603 unknownFields protoimpl.UnknownFields 604 605 // The state of the current batch processing. 606 State BatchProcessMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.documentai.v1.BatchProcessMetadata_State" json:"state,omitempty"` 607 // A message providing more details about the current state of processing. 608 // For example, the error message if the operation is failed. 609 StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` 610 // The creation time of the operation. 611 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 612 // The last update time of the operation. 613 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 614 // The list of response details of each document. 615 IndividualProcessStatuses []*BatchProcessMetadata_IndividualProcessStatus `protobuf:"bytes,5,rep,name=individual_process_statuses,json=individualProcessStatuses,proto3" json:"individual_process_statuses,omitempty"` 616} 617 618func (x *BatchProcessMetadata) Reset() { 619 *x = BatchProcessMetadata{} 620 if protoimpl.UnsafeEnabled { 621 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[5] 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 ms.StoreMessageInfo(mi) 624 } 625} 626 627func (x *BatchProcessMetadata) String() string { 628 return protoimpl.X.MessageStringOf(x) 629} 630 631func (*BatchProcessMetadata) ProtoMessage() {} 632 633func (x *BatchProcessMetadata) ProtoReflect() protoreflect.Message { 634 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[5] 635 if protoimpl.UnsafeEnabled && x != nil { 636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 637 if ms.LoadMessageInfo() == nil { 638 ms.StoreMessageInfo(mi) 639 } 640 return ms 641 } 642 return mi.MessageOf(x) 643} 644 645// Deprecated: Use BatchProcessMetadata.ProtoReflect.Descriptor instead. 646func (*BatchProcessMetadata) Descriptor() ([]byte, []int) { 647 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{5} 648} 649 650func (x *BatchProcessMetadata) GetState() BatchProcessMetadata_State { 651 if x != nil { 652 return x.State 653 } 654 return BatchProcessMetadata_STATE_UNSPECIFIED 655} 656 657func (x *BatchProcessMetadata) GetStateMessage() string { 658 if x != nil { 659 return x.StateMessage 660 } 661 return "" 662} 663 664func (x *BatchProcessMetadata) GetCreateTime() *timestamppb.Timestamp { 665 if x != nil { 666 return x.CreateTime 667 } 668 return nil 669} 670 671func (x *BatchProcessMetadata) GetUpdateTime() *timestamppb.Timestamp { 672 if x != nil { 673 return x.UpdateTime 674 } 675 return nil 676} 677 678func (x *BatchProcessMetadata) GetIndividualProcessStatuses() []*BatchProcessMetadata_IndividualProcessStatus { 679 if x != nil { 680 return x.IndividualProcessStatuses 681 } 682 return nil 683} 684 685// Request message for review document method. 686type ReviewDocumentRequest struct { 687 state protoimpl.MessageState 688 sizeCache protoimpl.SizeCache 689 unknownFields protoimpl.UnknownFields 690 691 // The document payload. 692 // 693 // Types that are assignable to Source: 694 // *ReviewDocumentRequest_InlineDocument 695 Source isReviewDocumentRequest_Source `protobuf_oneof:"source"` 696 // Required. The resource name of the HumanReviewConfig that the document will be 697 // reviewed with. 698 HumanReviewConfig string `protobuf:"bytes,1,opt,name=human_review_config,json=humanReviewConfig,proto3" json:"human_review_config,omitempty"` 699} 700 701func (x *ReviewDocumentRequest) Reset() { 702 *x = ReviewDocumentRequest{} 703 if protoimpl.UnsafeEnabled { 704 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[6] 705 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 706 ms.StoreMessageInfo(mi) 707 } 708} 709 710func (x *ReviewDocumentRequest) String() string { 711 return protoimpl.X.MessageStringOf(x) 712} 713 714func (*ReviewDocumentRequest) ProtoMessage() {} 715 716func (x *ReviewDocumentRequest) ProtoReflect() protoreflect.Message { 717 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[6] 718 if protoimpl.UnsafeEnabled && x != nil { 719 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 720 if ms.LoadMessageInfo() == nil { 721 ms.StoreMessageInfo(mi) 722 } 723 return ms 724 } 725 return mi.MessageOf(x) 726} 727 728// Deprecated: Use ReviewDocumentRequest.ProtoReflect.Descriptor instead. 729func (*ReviewDocumentRequest) Descriptor() ([]byte, []int) { 730 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{6} 731} 732 733func (m *ReviewDocumentRequest) GetSource() isReviewDocumentRequest_Source { 734 if m != nil { 735 return m.Source 736 } 737 return nil 738} 739 740func (x *ReviewDocumentRequest) GetInlineDocument() *Document { 741 if x, ok := x.GetSource().(*ReviewDocumentRequest_InlineDocument); ok { 742 return x.InlineDocument 743 } 744 return nil 745} 746 747func (x *ReviewDocumentRequest) GetHumanReviewConfig() string { 748 if x != nil { 749 return x.HumanReviewConfig 750 } 751 return "" 752} 753 754type isReviewDocumentRequest_Source interface { 755 isReviewDocumentRequest_Source() 756} 757 758type ReviewDocumentRequest_InlineDocument struct { 759 // An inline document proto. 760 InlineDocument *Document `protobuf:"bytes,4,opt,name=inline_document,json=inlineDocument,proto3,oneof"` 761} 762 763func (*ReviewDocumentRequest_InlineDocument) isReviewDocumentRequest_Source() {} 764 765// Response message for review document method. 766type ReviewDocumentResponse struct { 767 state protoimpl.MessageState 768 sizeCache protoimpl.SizeCache 769 unknownFields protoimpl.UnknownFields 770 771 // The Cloud Storage uri for the human reviewed document. 772 GcsDestination string `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"` 773} 774 775func (x *ReviewDocumentResponse) Reset() { 776 *x = ReviewDocumentResponse{} 777 if protoimpl.UnsafeEnabled { 778 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[7] 779 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 780 ms.StoreMessageInfo(mi) 781 } 782} 783 784func (x *ReviewDocumentResponse) String() string { 785 return protoimpl.X.MessageStringOf(x) 786} 787 788func (*ReviewDocumentResponse) ProtoMessage() {} 789 790func (x *ReviewDocumentResponse) ProtoReflect() protoreflect.Message { 791 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[7] 792 if protoimpl.UnsafeEnabled && x != nil { 793 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 794 if ms.LoadMessageInfo() == nil { 795 ms.StoreMessageInfo(mi) 796 } 797 return ms 798 } 799 return mi.MessageOf(x) 800} 801 802// Deprecated: Use ReviewDocumentResponse.ProtoReflect.Descriptor instead. 803func (*ReviewDocumentResponse) Descriptor() ([]byte, []int) { 804 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{7} 805} 806 807func (x *ReviewDocumentResponse) GetGcsDestination() string { 808 if x != nil { 809 return x.GcsDestination 810 } 811 return "" 812} 813 814// The long running operation metadata for review document method. 815type ReviewDocumentOperationMetadata struct { 816 state protoimpl.MessageState 817 sizeCache protoimpl.SizeCache 818 unknownFields protoimpl.UnknownFields 819 820 // The basic metadata of the long running operation. 821 CommonMetadata *CommonOperationMetadata `protobuf:"bytes,5,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"` 822} 823 824func (x *ReviewDocumentOperationMetadata) Reset() { 825 *x = ReviewDocumentOperationMetadata{} 826 if protoimpl.UnsafeEnabled { 827 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[8] 828 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 829 ms.StoreMessageInfo(mi) 830 } 831} 832 833func (x *ReviewDocumentOperationMetadata) String() string { 834 return protoimpl.X.MessageStringOf(x) 835} 836 837func (*ReviewDocumentOperationMetadata) ProtoMessage() {} 838 839func (x *ReviewDocumentOperationMetadata) ProtoReflect() protoreflect.Message { 840 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[8] 841 if protoimpl.UnsafeEnabled && x != nil { 842 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 843 if ms.LoadMessageInfo() == nil { 844 ms.StoreMessageInfo(mi) 845 } 846 return ms 847 } 848 return mi.MessageOf(x) 849} 850 851// Deprecated: Use ReviewDocumentOperationMetadata.ProtoReflect.Descriptor instead. 852func (*ReviewDocumentOperationMetadata) Descriptor() ([]byte, []int) { 853 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{8} 854} 855 856func (x *ReviewDocumentOperationMetadata) GetCommonMetadata() *CommonOperationMetadata { 857 if x != nil { 858 return x.CommonMetadata 859 } 860 return nil 861} 862 863// The common metadata for long running operations. 864type CommonOperationMetadata struct { 865 state protoimpl.MessageState 866 sizeCache protoimpl.SizeCache 867 unknownFields protoimpl.UnknownFields 868 869 // The state of the operation. 870 State CommonOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.documentai.v1.CommonOperationMetadata_State" json:"state,omitempty"` 871 // A message providing more details about the current state of processing. 872 StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` 873 // The creation time of the operation. 874 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 875 // The last update time of the operation. 876 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 877} 878 879func (x *CommonOperationMetadata) Reset() { 880 *x = CommonOperationMetadata{} 881 if protoimpl.UnsafeEnabled { 882 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[9] 883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 884 ms.StoreMessageInfo(mi) 885 } 886} 887 888func (x *CommonOperationMetadata) String() string { 889 return protoimpl.X.MessageStringOf(x) 890} 891 892func (*CommonOperationMetadata) ProtoMessage() {} 893 894func (x *CommonOperationMetadata) ProtoReflect() protoreflect.Message { 895 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[9] 896 if protoimpl.UnsafeEnabled && x != nil { 897 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 898 if ms.LoadMessageInfo() == nil { 899 ms.StoreMessageInfo(mi) 900 } 901 return ms 902 } 903 return mi.MessageOf(x) 904} 905 906// Deprecated: Use CommonOperationMetadata.ProtoReflect.Descriptor instead. 907func (*CommonOperationMetadata) Descriptor() ([]byte, []int) { 908 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{9} 909} 910 911func (x *CommonOperationMetadata) GetState() CommonOperationMetadata_State { 912 if x != nil { 913 return x.State 914 } 915 return CommonOperationMetadata_STATE_UNSPECIFIED 916} 917 918func (x *CommonOperationMetadata) GetStateMessage() string { 919 if x != nil { 920 return x.StateMessage 921 } 922 return "" 923} 924 925func (x *CommonOperationMetadata) GetCreateTime() *timestamppb.Timestamp { 926 if x != nil { 927 return x.CreateTime 928 } 929 return nil 930} 931 932func (x *CommonOperationMetadata) GetUpdateTime() *timestamppb.Timestamp { 933 if x != nil { 934 return x.UpdateTime 935 } 936 return nil 937} 938 939// The status of a each individual document in the batch process. 940type BatchProcessMetadata_IndividualProcessStatus struct { 941 state protoimpl.MessageState 942 sizeCache protoimpl.SizeCache 943 unknownFields protoimpl.UnknownFields 944 945 // The source of the document, same as the [input_gcs_source] field in the 946 // request when the batch process started. The batch process is started by 947 // take snapshot of that document, since a user can move or change that 948 // document during the process. 949 InputGcsSource string `protobuf:"bytes,1,opt,name=input_gcs_source,json=inputGcsSource,proto3" json:"input_gcs_source,omitempty"` 950 // The status of the processing of the document. 951 Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 952 // The output_gcs_destination (in the request as 'output_gcs_destination') 953 // of the processed document if it was successful, otherwise empty. 954 OutputGcsDestination string `protobuf:"bytes,3,opt,name=output_gcs_destination,json=outputGcsDestination,proto3" json:"output_gcs_destination,omitempty"` 955 // The status of human review on the processed document. 956 HumanReviewStatus *HumanReviewStatus `protobuf:"bytes,5,opt,name=human_review_status,json=humanReviewStatus,proto3" json:"human_review_status,omitempty"` 957} 958 959func (x *BatchProcessMetadata_IndividualProcessStatus) Reset() { 960 *x = BatchProcessMetadata_IndividualProcessStatus{} 961 if protoimpl.UnsafeEnabled { 962 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[10] 963 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 964 ms.StoreMessageInfo(mi) 965 } 966} 967 968func (x *BatchProcessMetadata_IndividualProcessStatus) String() string { 969 return protoimpl.X.MessageStringOf(x) 970} 971 972func (*BatchProcessMetadata_IndividualProcessStatus) ProtoMessage() {} 973 974func (x *BatchProcessMetadata_IndividualProcessStatus) ProtoReflect() protoreflect.Message { 975 mi := &file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[10] 976 if protoimpl.UnsafeEnabled && x != nil { 977 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 978 if ms.LoadMessageInfo() == nil { 979 ms.StoreMessageInfo(mi) 980 } 981 return ms 982 } 983 return mi.MessageOf(x) 984} 985 986// Deprecated: Use BatchProcessMetadata_IndividualProcessStatus.ProtoReflect.Descriptor instead. 987func (*BatchProcessMetadata_IndividualProcessStatus) Descriptor() ([]byte, []int) { 988 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP(), []int{5, 0} 989} 990 991func (x *BatchProcessMetadata_IndividualProcessStatus) GetInputGcsSource() string { 992 if x != nil { 993 return x.InputGcsSource 994 } 995 return "" 996} 997 998func (x *BatchProcessMetadata_IndividualProcessStatus) GetStatus() *status.Status { 999 if x != nil { 1000 return x.Status 1001 } 1002 return nil 1003} 1004 1005func (x *BatchProcessMetadata_IndividualProcessStatus) GetOutputGcsDestination() string { 1006 if x != nil { 1007 return x.OutputGcsDestination 1008 } 1009 return "" 1010} 1011 1012func (x *BatchProcessMetadata_IndividualProcessStatus) GetHumanReviewStatus() *HumanReviewStatus { 1013 if x != nil { 1014 return x.HumanReviewStatus 1015 } 1016 return nil 1017} 1018 1019var File_google_cloud_documentai_v1_document_processor_service_proto protoreflect.FileDescriptor 1020 1021var file_google_cloud_documentai_v1_document_processor_service_proto_rawDesc = []byte{ 1022 0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 1023 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 1024 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x5f, 1025 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 1026 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 1027 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1028 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1029 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 1030 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1031 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 1032 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1033 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 1034 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 1035 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 1036 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1037 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 1038 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 1039 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6f, 0x2e, 1040 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 1041 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 1042 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 1043 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 1044 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 1045 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 1046 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 1047 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 1048 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x63, 0x65, 1049 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x0f, 0x69, 0x6e, 0x6c, 1050 0x69, 0x6e, 0x65, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 1051 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1052 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 1053 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 0x6c, 0x69, 1054 0x6e, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0c, 0x72, 0x61, 1055 0x77, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 1056 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1057 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 1058 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x61, 0x77, 1059 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1060 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 1061 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1062 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 1063 0x73, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6b, 0x69, 1064 0x70, 0x5f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 1065 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 1066 0x65, 0x76, 0x69, 0x65, 0x77, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 1067 0x99, 0x02, 0x0a, 0x11, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 1068 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x49, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 1069 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1070 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 1071 0x31, 0x2e, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 1072 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 1073 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 1074 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 1075 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 1076 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 1077 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 1078 0x65, 0x77, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5e, 0x0a, 0x05, 0x53, 1079 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 1080 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 1081 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x41, 0x4c, 0x49, 1082 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x45, 0x44, 0x10, 0x02, 0x12, 1083 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x03, 1084 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x22, 0xb2, 0x01, 0x0a, 0x0f, 1085 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1086 0x40, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 1087 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1088 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 1089 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1090 0x74, 0x12, 0x5d, 0x0a, 0x13, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 1091 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 1092 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 1093 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x75, 0x6d, 0x61, 1094 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x68, 1095 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 1096 0x22, 0xca, 0x02, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 1097 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1098 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 1099 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1100 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 1101 0x73, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5e, 0x0a, 0x0f, 0x69, 0x6e, 0x70, 1102 0x75, 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 1103 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1104 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 1105 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x49, 0x6e, 1106 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x69, 0x6e, 0x70, 0x75, 0x74, 1107 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x66, 0x0a, 0x16, 0x64, 0x6f, 0x63, 1108 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 1109 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1110 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1111 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 1112 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x14, 0x64, 0x6f, 0x63, 1113 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1114 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 1115 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x6b, 1116 0x69, 0x70, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x16, 0x0a, 1117 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 1118 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x89, 0x06, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 1119 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4c, 1120 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 1121 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 1122 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 1123 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 1124 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 1125 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 1126 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 1127 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 1128 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1129 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 1130 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 1131 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 1132 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1133 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 1134 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x1b, 1135 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 1136 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 1137 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1138 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 1139 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 1140 0x61, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x50, 0x72, 1141 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x19, 0x69, 0x6e, 0x64, 1142 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 1143 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x1a, 0x84, 0x02, 0x0a, 0x17, 0x49, 0x6e, 0x64, 0x69, 0x76, 1144 0x69, 0x64, 0x75, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 1145 0x75, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x67, 0x63, 0x73, 0x5f, 1146 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 1147 0x70, 0x75, 0x74, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x06, 1148 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 1149 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 1150 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x75, 0x74, 0x70, 1151 0x75, 0x74, 0x5f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 1152 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 1153 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5d, 1154 0x0a, 0x13, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 1155 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 1156 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 1157 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 1158 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x68, 0x75, 0x6d, 0x61, 1159 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x72, 0x0a, 1160 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 1161 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 1162 0x07, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 1163 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 1164 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 1165 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 1166 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 1167 0x06, 0x22, 0xd7, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 1168 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x0f, 0x69, 1169 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 1170 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1171 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 1172 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 1173 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x63, 0x0a, 0x13, 1174 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 1175 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 1176 0x2d, 0x0a, 0x2b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 1177 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x75, 0x6d, 1178 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 1179 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1180 0x67, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x41, 0x0a, 0x16, 0x52, 1181 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 1182 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 1183 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 1184 0x67, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7f, 1185 0x0a, 0x1f, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1186 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1187 0x61, 0x12, 0x5c, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 1188 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 1189 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1190 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4f, 0x70, 1191 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 1192 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 1193 0xf0, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 1194 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4f, 0x0a, 0x05, 0x73, 1195 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 1196 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1197 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4f, 0x70, 1198 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 1199 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 1200 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 1201 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 1202 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 1203 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1204 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 1205 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 1206 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 1207 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1208 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 1209 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x05, 0x53, 1210 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 1211 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 1212 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x4e, 0x43, 1213 0x45, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 1214 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 1215 0x44, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 1216 0x10, 0x05, 0x32, 0xae, 0x06, 0x0a, 0x18, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x50, 1217 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 1218 0xb4, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 1219 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1220 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 1221 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1222 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1223 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 1224 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x82, 0xd3, 1225 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 1226 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 1227 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 1228 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0xda, 1229 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xe5, 0x01, 0x0a, 0x15, 0x42, 0x61, 0x74, 0x63, 0x68, 1230 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 1231 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1232 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 1233 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1234 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 1235 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1236 0x22, 0x7c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 1237 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 1238 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 1239 0x73, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 1240 0x6f, 0x63, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 1241 0x41, 0x2c, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 1242 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 1243 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xa0, 1244 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1245 0x74, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1246 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 1247 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 1248 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 1249 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 1250 0x69, 0x6f, 0x6e, 0x22, 0xbb, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x63, 0x22, 0x5e, 0x2f, 0x76, 1251 0x31, 0x2f, 0x7b, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 1252 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 1253 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 1254 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 1255 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x3a, 0x72, 0x65, 1256 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0xda, 1257 0x41, 0x13, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 1258 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xca, 0x41, 0x39, 0x0a, 0x16, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 1259 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1260 0x12, 0x1f, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1261 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1262 0x61, 0x1a, 0x50, 0xca, 0x41, 0x1c, 0x75, 0x73, 0x2d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1263 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1264 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 1265 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1266 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 1267 0x6f, 0x72, 0x6d, 0x42, 0x98, 0x04, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1268 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1269 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x1a, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 1270 0x41, 0x69, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 1271 0x63, 0x65, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 1272 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1273 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 1274 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x3b, 1275 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 1276 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 1277 0x6e, 0x74, 0x41, 0x49, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1278 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 1279 0x49, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 1280 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 1281 0x3a, 0x3a, 0x56, 0x31, 0xea, 0x41, 0x4d, 0x0a, 0x22, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1282 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1283 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x70, 0x72, 0x6f, 1284 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 1285 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 1286 0x69, 0x6f, 0x6e, 0x7d, 0xea, 0x41, 0x65, 0x0a, 0x23, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1287 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1288 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x3e, 0x70, 0x72, 1289 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 1290 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 1291 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 1292 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x7d, 0xea, 0x41, 0x7f, 0x0a, 1293 0x2b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1294 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x75, 0x6d, 0x61, 0x6e, 1295 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x70, 0x72, 1296 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 1297 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 1298 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 1299 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x7d, 0x2f, 0x68, 0x75, 0x6d, 1300 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x62, 0x06, 1301 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1302} 1303 1304var ( 1305 file_google_cloud_documentai_v1_document_processor_service_proto_rawDescOnce sync.Once 1306 file_google_cloud_documentai_v1_document_processor_service_proto_rawDescData = file_google_cloud_documentai_v1_document_processor_service_proto_rawDesc 1307) 1308 1309func file_google_cloud_documentai_v1_document_processor_service_proto_rawDescGZIP() []byte { 1310 file_google_cloud_documentai_v1_document_processor_service_proto_rawDescOnce.Do(func() { 1311 file_google_cloud_documentai_v1_document_processor_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_documentai_v1_document_processor_service_proto_rawDescData) 1312 }) 1313 return file_google_cloud_documentai_v1_document_processor_service_proto_rawDescData 1314} 1315 1316var file_google_cloud_documentai_v1_document_processor_service_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 1317var file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1318var file_google_cloud_documentai_v1_document_processor_service_proto_goTypes = []interface{}{ 1319 (HumanReviewStatus_State)(0), // 0: google.cloud.documentai.v1.HumanReviewStatus.State 1320 (BatchProcessMetadata_State)(0), // 1: google.cloud.documentai.v1.BatchProcessMetadata.State 1321 (CommonOperationMetadata_State)(0), // 2: google.cloud.documentai.v1.CommonOperationMetadata.State 1322 (*ProcessRequest)(nil), // 3: google.cloud.documentai.v1.ProcessRequest 1323 (*HumanReviewStatus)(nil), // 4: google.cloud.documentai.v1.HumanReviewStatus 1324 (*ProcessResponse)(nil), // 5: google.cloud.documentai.v1.ProcessResponse 1325 (*BatchProcessRequest)(nil), // 6: google.cloud.documentai.v1.BatchProcessRequest 1326 (*BatchProcessResponse)(nil), // 7: google.cloud.documentai.v1.BatchProcessResponse 1327 (*BatchProcessMetadata)(nil), // 8: google.cloud.documentai.v1.BatchProcessMetadata 1328 (*ReviewDocumentRequest)(nil), // 9: google.cloud.documentai.v1.ReviewDocumentRequest 1329 (*ReviewDocumentResponse)(nil), // 10: google.cloud.documentai.v1.ReviewDocumentResponse 1330 (*ReviewDocumentOperationMetadata)(nil), // 11: google.cloud.documentai.v1.ReviewDocumentOperationMetadata 1331 (*CommonOperationMetadata)(nil), // 12: google.cloud.documentai.v1.CommonOperationMetadata 1332 (*BatchProcessMetadata_IndividualProcessStatus)(nil), // 13: google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus 1333 (*Document)(nil), // 14: google.cloud.documentai.v1.Document 1334 (*RawDocument)(nil), // 15: google.cloud.documentai.v1.RawDocument 1335 (*BatchDocumentsInputConfig)(nil), // 16: google.cloud.documentai.v1.BatchDocumentsInputConfig 1336 (*DocumentOutputConfig)(nil), // 17: google.cloud.documentai.v1.DocumentOutputConfig 1337 (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp 1338 (*status.Status)(nil), // 19: google.rpc.Status 1339 (*longrunning.Operation)(nil), // 20: google.longrunning.Operation 1340} 1341var file_google_cloud_documentai_v1_document_processor_service_proto_depIdxs = []int32{ 1342 14, // 0: google.cloud.documentai.v1.ProcessRequest.inline_document:type_name -> google.cloud.documentai.v1.Document 1343 15, // 1: google.cloud.documentai.v1.ProcessRequest.raw_document:type_name -> google.cloud.documentai.v1.RawDocument 1344 0, // 2: google.cloud.documentai.v1.HumanReviewStatus.state:type_name -> google.cloud.documentai.v1.HumanReviewStatus.State 1345 14, // 3: google.cloud.documentai.v1.ProcessResponse.document:type_name -> google.cloud.documentai.v1.Document 1346 4, // 4: google.cloud.documentai.v1.ProcessResponse.human_review_status:type_name -> google.cloud.documentai.v1.HumanReviewStatus 1347 16, // 5: google.cloud.documentai.v1.BatchProcessRequest.input_documents:type_name -> google.cloud.documentai.v1.BatchDocumentsInputConfig 1348 17, // 6: google.cloud.documentai.v1.BatchProcessRequest.document_output_config:type_name -> google.cloud.documentai.v1.DocumentOutputConfig 1349 1, // 7: google.cloud.documentai.v1.BatchProcessMetadata.state:type_name -> google.cloud.documentai.v1.BatchProcessMetadata.State 1350 18, // 8: google.cloud.documentai.v1.BatchProcessMetadata.create_time:type_name -> google.protobuf.Timestamp 1351 18, // 9: google.cloud.documentai.v1.BatchProcessMetadata.update_time:type_name -> google.protobuf.Timestamp 1352 13, // 10: google.cloud.documentai.v1.BatchProcessMetadata.individual_process_statuses:type_name -> google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus 1353 14, // 11: google.cloud.documentai.v1.ReviewDocumentRequest.inline_document:type_name -> google.cloud.documentai.v1.Document 1354 12, // 12: google.cloud.documentai.v1.ReviewDocumentOperationMetadata.common_metadata:type_name -> google.cloud.documentai.v1.CommonOperationMetadata 1355 2, // 13: google.cloud.documentai.v1.CommonOperationMetadata.state:type_name -> google.cloud.documentai.v1.CommonOperationMetadata.State 1356 18, // 14: google.cloud.documentai.v1.CommonOperationMetadata.create_time:type_name -> google.protobuf.Timestamp 1357 18, // 15: google.cloud.documentai.v1.CommonOperationMetadata.update_time:type_name -> google.protobuf.Timestamp 1358 19, // 16: google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.status:type_name -> google.rpc.Status 1359 4, // 17: google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.human_review_status:type_name -> google.cloud.documentai.v1.HumanReviewStatus 1360 3, // 18: google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument:input_type -> google.cloud.documentai.v1.ProcessRequest 1361 6, // 19: google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments:input_type -> google.cloud.documentai.v1.BatchProcessRequest 1362 9, // 20: google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument:input_type -> google.cloud.documentai.v1.ReviewDocumentRequest 1363 5, // 21: google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument:output_type -> google.cloud.documentai.v1.ProcessResponse 1364 20, // 22: google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments:output_type -> google.longrunning.Operation 1365 20, // 23: google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument:output_type -> google.longrunning.Operation 1366 21, // [21:24] is the sub-list for method output_type 1367 18, // [18:21] is the sub-list for method input_type 1368 18, // [18:18] is the sub-list for extension type_name 1369 18, // [18:18] is the sub-list for extension extendee 1370 0, // [0:18] is the sub-list for field type_name 1371} 1372 1373func init() { file_google_cloud_documentai_v1_document_processor_service_proto_init() } 1374func file_google_cloud_documentai_v1_document_processor_service_proto_init() { 1375 if File_google_cloud_documentai_v1_document_processor_service_proto != nil { 1376 return 1377 } 1378 file_google_cloud_documentai_v1_document_proto_init() 1379 file_google_cloud_documentai_v1_document_io_proto_init() 1380 if !protoimpl.UnsafeEnabled { 1381 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1382 switch v := v.(*ProcessRequest); i { 1383 case 0: 1384 return &v.state 1385 case 1: 1386 return &v.sizeCache 1387 case 2: 1388 return &v.unknownFields 1389 default: 1390 return nil 1391 } 1392 } 1393 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1394 switch v := v.(*HumanReviewStatus); i { 1395 case 0: 1396 return &v.state 1397 case 1: 1398 return &v.sizeCache 1399 case 2: 1400 return &v.unknownFields 1401 default: 1402 return nil 1403 } 1404 } 1405 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1406 switch v := v.(*ProcessResponse); i { 1407 case 0: 1408 return &v.state 1409 case 1: 1410 return &v.sizeCache 1411 case 2: 1412 return &v.unknownFields 1413 default: 1414 return nil 1415 } 1416 } 1417 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1418 switch v := v.(*BatchProcessRequest); i { 1419 case 0: 1420 return &v.state 1421 case 1: 1422 return &v.sizeCache 1423 case 2: 1424 return &v.unknownFields 1425 default: 1426 return nil 1427 } 1428 } 1429 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1430 switch v := v.(*BatchProcessResponse); i { 1431 case 0: 1432 return &v.state 1433 case 1: 1434 return &v.sizeCache 1435 case 2: 1436 return &v.unknownFields 1437 default: 1438 return nil 1439 } 1440 } 1441 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1442 switch v := v.(*BatchProcessMetadata); i { 1443 case 0: 1444 return &v.state 1445 case 1: 1446 return &v.sizeCache 1447 case 2: 1448 return &v.unknownFields 1449 default: 1450 return nil 1451 } 1452 } 1453 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1454 switch v := v.(*ReviewDocumentRequest); i { 1455 case 0: 1456 return &v.state 1457 case 1: 1458 return &v.sizeCache 1459 case 2: 1460 return &v.unknownFields 1461 default: 1462 return nil 1463 } 1464 } 1465 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1466 switch v := v.(*ReviewDocumentResponse); i { 1467 case 0: 1468 return &v.state 1469 case 1: 1470 return &v.sizeCache 1471 case 2: 1472 return &v.unknownFields 1473 default: 1474 return nil 1475 } 1476 } 1477 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1478 switch v := v.(*ReviewDocumentOperationMetadata); i { 1479 case 0: 1480 return &v.state 1481 case 1: 1482 return &v.sizeCache 1483 case 2: 1484 return &v.unknownFields 1485 default: 1486 return nil 1487 } 1488 } 1489 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1490 switch v := v.(*CommonOperationMetadata); i { 1491 case 0: 1492 return &v.state 1493 case 1: 1494 return &v.sizeCache 1495 case 2: 1496 return &v.unknownFields 1497 default: 1498 return nil 1499 } 1500 } 1501 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1502 switch v := v.(*BatchProcessMetadata_IndividualProcessStatus); i { 1503 case 0: 1504 return &v.state 1505 case 1: 1506 return &v.sizeCache 1507 case 2: 1508 return &v.unknownFields 1509 default: 1510 return nil 1511 } 1512 } 1513 } 1514 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[0].OneofWrappers = []interface{}{ 1515 (*ProcessRequest_InlineDocument)(nil), 1516 (*ProcessRequest_RawDocument)(nil), 1517 } 1518 file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes[6].OneofWrappers = []interface{}{ 1519 (*ReviewDocumentRequest_InlineDocument)(nil), 1520 } 1521 type x struct{} 1522 out := protoimpl.TypeBuilder{ 1523 File: protoimpl.DescBuilder{ 1524 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1525 RawDescriptor: file_google_cloud_documentai_v1_document_processor_service_proto_rawDesc, 1526 NumEnums: 3, 1527 NumMessages: 11, 1528 NumExtensions: 0, 1529 NumServices: 1, 1530 }, 1531 GoTypes: file_google_cloud_documentai_v1_document_processor_service_proto_goTypes, 1532 DependencyIndexes: file_google_cloud_documentai_v1_document_processor_service_proto_depIdxs, 1533 EnumInfos: file_google_cloud_documentai_v1_document_processor_service_proto_enumTypes, 1534 MessageInfos: file_google_cloud_documentai_v1_document_processor_service_proto_msgTypes, 1535 }.Build() 1536 File_google_cloud_documentai_v1_document_processor_service_proto = out.File 1537 file_google_cloud_documentai_v1_document_processor_service_proto_rawDesc = nil 1538 file_google_cloud_documentai_v1_document_processor_service_proto_goTypes = nil 1539 file_google_cloud_documentai_v1_document_processor_service_proto_depIdxs = nil 1540} 1541 1542// Reference imports to suppress errors if they are not otherwise used. 1543var _ context.Context 1544var _ grpc.ClientConnInterface 1545 1546// This is a compile-time assertion to ensure that this generated file 1547// is compatible with the grpc package it is being compiled against. 1548const _ = grpc.SupportPackageIsVersion6 1549 1550// DocumentProcessorServiceClient is the client API for DocumentProcessorService service. 1551// 1552// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1553type DocumentProcessorServiceClient interface { 1554 // Processes a single document. 1555 ProcessDocument(ctx context.Context, in *ProcessRequest, opts ...grpc.CallOption) (*ProcessResponse, error) 1556 // LRO endpoint to batch process many documents. The output is written 1557 // to Cloud Storage as JSON in the [Document] format. 1558 BatchProcessDocuments(ctx context.Context, in *BatchProcessRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1559 // Send a document for Human Review. The input document should be processed by 1560 // the specified processor. 1561 ReviewDocument(ctx context.Context, in *ReviewDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1562} 1563 1564type documentProcessorServiceClient struct { 1565 cc grpc.ClientConnInterface 1566} 1567 1568func NewDocumentProcessorServiceClient(cc grpc.ClientConnInterface) DocumentProcessorServiceClient { 1569 return &documentProcessorServiceClient{cc} 1570} 1571 1572func (c *documentProcessorServiceClient) ProcessDocument(ctx context.Context, in *ProcessRequest, opts ...grpc.CallOption) (*ProcessResponse, error) { 1573 out := new(ProcessResponse) 1574 err := c.cc.Invoke(ctx, "/google.cloud.documentai.v1.DocumentProcessorService/ProcessDocument", in, out, opts...) 1575 if err != nil { 1576 return nil, err 1577 } 1578 return out, nil 1579} 1580 1581func (c *documentProcessorServiceClient) BatchProcessDocuments(ctx context.Context, in *BatchProcessRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1582 out := new(longrunning.Operation) 1583 err := c.cc.Invoke(ctx, "/google.cloud.documentai.v1.DocumentProcessorService/BatchProcessDocuments", in, out, opts...) 1584 if err != nil { 1585 return nil, err 1586 } 1587 return out, nil 1588} 1589 1590func (c *documentProcessorServiceClient) ReviewDocument(ctx context.Context, in *ReviewDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1591 out := new(longrunning.Operation) 1592 err := c.cc.Invoke(ctx, "/google.cloud.documentai.v1.DocumentProcessorService/ReviewDocument", in, out, opts...) 1593 if err != nil { 1594 return nil, err 1595 } 1596 return out, nil 1597} 1598 1599// DocumentProcessorServiceServer is the server API for DocumentProcessorService service. 1600type DocumentProcessorServiceServer interface { 1601 // Processes a single document. 1602 ProcessDocument(context.Context, *ProcessRequest) (*ProcessResponse, error) 1603 // LRO endpoint to batch process many documents. The output is written 1604 // to Cloud Storage as JSON in the [Document] format. 1605 BatchProcessDocuments(context.Context, *BatchProcessRequest) (*longrunning.Operation, error) 1606 // Send a document for Human Review. The input document should be processed by 1607 // the specified processor. 1608 ReviewDocument(context.Context, *ReviewDocumentRequest) (*longrunning.Operation, error) 1609} 1610 1611// UnimplementedDocumentProcessorServiceServer can be embedded to have forward compatible implementations. 1612type UnimplementedDocumentProcessorServiceServer struct { 1613} 1614 1615func (*UnimplementedDocumentProcessorServiceServer) ProcessDocument(context.Context, *ProcessRequest) (*ProcessResponse, error) { 1616 return nil, status1.Errorf(codes.Unimplemented, "method ProcessDocument not implemented") 1617} 1618func (*UnimplementedDocumentProcessorServiceServer) BatchProcessDocuments(context.Context, *BatchProcessRequest) (*longrunning.Operation, error) { 1619 return nil, status1.Errorf(codes.Unimplemented, "method BatchProcessDocuments not implemented") 1620} 1621func (*UnimplementedDocumentProcessorServiceServer) ReviewDocument(context.Context, *ReviewDocumentRequest) (*longrunning.Operation, error) { 1622 return nil, status1.Errorf(codes.Unimplemented, "method ReviewDocument not implemented") 1623} 1624 1625func RegisterDocumentProcessorServiceServer(s *grpc.Server, srv DocumentProcessorServiceServer) { 1626 s.RegisterService(&_DocumentProcessorService_serviceDesc, srv) 1627} 1628 1629func _DocumentProcessorService_ProcessDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1630 in := new(ProcessRequest) 1631 if err := dec(in); err != nil { 1632 return nil, err 1633 } 1634 if interceptor == nil { 1635 return srv.(DocumentProcessorServiceServer).ProcessDocument(ctx, in) 1636 } 1637 info := &grpc.UnaryServerInfo{ 1638 Server: srv, 1639 FullMethod: "/google.cloud.documentai.v1.DocumentProcessorService/ProcessDocument", 1640 } 1641 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1642 return srv.(DocumentProcessorServiceServer).ProcessDocument(ctx, req.(*ProcessRequest)) 1643 } 1644 return interceptor(ctx, in, info, handler) 1645} 1646 1647func _DocumentProcessorService_BatchProcessDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1648 in := new(BatchProcessRequest) 1649 if err := dec(in); err != nil { 1650 return nil, err 1651 } 1652 if interceptor == nil { 1653 return srv.(DocumentProcessorServiceServer).BatchProcessDocuments(ctx, in) 1654 } 1655 info := &grpc.UnaryServerInfo{ 1656 Server: srv, 1657 FullMethod: "/google.cloud.documentai.v1.DocumentProcessorService/BatchProcessDocuments", 1658 } 1659 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1660 return srv.(DocumentProcessorServiceServer).BatchProcessDocuments(ctx, req.(*BatchProcessRequest)) 1661 } 1662 return interceptor(ctx, in, info, handler) 1663} 1664 1665func _DocumentProcessorService_ReviewDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1666 in := new(ReviewDocumentRequest) 1667 if err := dec(in); err != nil { 1668 return nil, err 1669 } 1670 if interceptor == nil { 1671 return srv.(DocumentProcessorServiceServer).ReviewDocument(ctx, in) 1672 } 1673 info := &grpc.UnaryServerInfo{ 1674 Server: srv, 1675 FullMethod: "/google.cloud.documentai.v1.DocumentProcessorService/ReviewDocument", 1676 } 1677 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1678 return srv.(DocumentProcessorServiceServer).ReviewDocument(ctx, req.(*ReviewDocumentRequest)) 1679 } 1680 return interceptor(ctx, in, info, handler) 1681} 1682 1683var _DocumentProcessorService_serviceDesc = grpc.ServiceDesc{ 1684 ServiceName: "google.cloud.documentai.v1.DocumentProcessorService", 1685 HandlerType: (*DocumentProcessorServiceServer)(nil), 1686 Methods: []grpc.MethodDesc{ 1687 { 1688 MethodName: "ProcessDocument", 1689 Handler: _DocumentProcessorService_ProcessDocument_Handler, 1690 }, 1691 { 1692 MethodName: "BatchProcessDocuments", 1693 Handler: _DocumentProcessorService_BatchProcessDocuments_Handler, 1694 }, 1695 { 1696 MethodName: "ReviewDocument", 1697 Handler: _DocumentProcessorService_ReviewDocument_Handler, 1698 }, 1699 }, 1700 Streams: []grpc.StreamDesc{}, 1701 Metadata: "google/cloud/documentai/v1/document_processor_service.proto", 1702} 1703