...

Source file src/google.golang.org/genproto/googleapis/cloud/documentai/v1beta2/document_understanding.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/documentai/v1beta2

     1  // Copyright 2020 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/cloud/documentai/v1beta2/document_understanding.proto
    20  
    21  package documentai
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	longrunning "google.golang.org/genproto/googleapis/longrunning"
    30  	grpc "google.golang.org/grpc"
    31  	codes "google.golang.org/grpc/codes"
    32  	status "google.golang.org/grpc/status"
    33  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    34  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    35  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    36  )
    37  
    38  const (
    39  	// Verify that this generated code is sufficiently up-to-date.
    40  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    41  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    42  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    43  )
    44  
    45  type OperationMetadata_State int32
    46  
    47  const (
    48  	// The default value. This value is used if the state is omitted.
    49  	OperationMetadata_STATE_UNSPECIFIED OperationMetadata_State = 0
    50  	// Request is received.
    51  	OperationMetadata_ACCEPTED OperationMetadata_State = 1
    52  	// Request operation is waiting for scheduling.
    53  	OperationMetadata_WAITING OperationMetadata_State = 2
    54  	// Request is being processed.
    55  	OperationMetadata_RUNNING OperationMetadata_State = 3
    56  	// The batch processing completed successfully.
    57  	OperationMetadata_SUCCEEDED OperationMetadata_State = 4
    58  	// The batch processing was cancelled.
    59  	OperationMetadata_CANCELLED OperationMetadata_State = 5
    60  	// The batch processing has failed.
    61  	OperationMetadata_FAILED OperationMetadata_State = 6
    62  )
    63  
    64  // Enum value maps for OperationMetadata_State.
    65  var (
    66  	OperationMetadata_State_name = map[int32]string{
    67  		0: "STATE_UNSPECIFIED",
    68  		1: "ACCEPTED",
    69  		2: "WAITING",
    70  		3: "RUNNING",
    71  		4: "SUCCEEDED",
    72  		5: "CANCELLED",
    73  		6: "FAILED",
    74  	}
    75  	OperationMetadata_State_value = map[string]int32{
    76  		"STATE_UNSPECIFIED": 0,
    77  		"ACCEPTED":          1,
    78  		"WAITING":           2,
    79  		"RUNNING":           3,
    80  		"SUCCEEDED":         4,
    81  		"CANCELLED":         5,
    82  		"FAILED":            6,
    83  	}
    84  )
    85  
    86  func (x OperationMetadata_State) Enum() *OperationMetadata_State {
    87  	p := new(OperationMetadata_State)
    88  	*p = x
    89  	return p
    90  }
    91  
    92  func (x OperationMetadata_State) String() string {
    93  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    94  }
    95  
    96  func (OperationMetadata_State) Descriptor() protoreflect.EnumDescriptor {
    97  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_enumTypes[0].Descriptor()
    98  }
    99  
   100  func (OperationMetadata_State) Type() protoreflect.EnumType {
   101  	return &file_google_cloud_documentai_v1beta2_document_understanding_proto_enumTypes[0]
   102  }
   103  
   104  func (x OperationMetadata_State) Number() protoreflect.EnumNumber {
   105  	return protoreflect.EnumNumber(x)
   106  }
   107  
   108  // Deprecated: Use OperationMetadata_State.Descriptor instead.
   109  func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) {
   110  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{15, 0}
   111  }
   112  
   113  // Request to batch process documents as an asynchronous operation. The output
   114  // is written to Cloud Storage as JSON in the [Document] format.
   115  type BatchProcessDocumentsRequest struct {
   116  	state         protoimpl.MessageState
   117  	sizeCache     protoimpl.SizeCache
   118  	unknownFields protoimpl.UnknownFields
   119  
   120  	// Required. Individual requests for each document.
   121  	Requests []*ProcessDocumentRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
   122  	// Target project and location to make a call.
   123  	//
   124  	// Format: `projects/{project-id}/locations/{location-id}`.
   125  	//
   126  	// If no location is specified, a region will be chosen automatically.
   127  	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
   128  }
   129  
   130  func (x *BatchProcessDocumentsRequest) Reset() {
   131  	*x = BatchProcessDocumentsRequest{}
   132  	if protoimpl.UnsafeEnabled {
   133  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[0]
   134  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   135  		ms.StoreMessageInfo(mi)
   136  	}
   137  }
   138  
   139  func (x *BatchProcessDocumentsRequest) String() string {
   140  	return protoimpl.X.MessageStringOf(x)
   141  }
   142  
   143  func (*BatchProcessDocumentsRequest) ProtoMessage() {}
   144  
   145  func (x *BatchProcessDocumentsRequest) ProtoReflect() protoreflect.Message {
   146  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[0]
   147  	if protoimpl.UnsafeEnabled && x != nil {
   148  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   149  		if ms.LoadMessageInfo() == nil {
   150  			ms.StoreMessageInfo(mi)
   151  		}
   152  		return ms
   153  	}
   154  	return mi.MessageOf(x)
   155  }
   156  
   157  // Deprecated: Use BatchProcessDocumentsRequest.ProtoReflect.Descriptor instead.
   158  func (*BatchProcessDocumentsRequest) Descriptor() ([]byte, []int) {
   159  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{0}
   160  }
   161  
   162  func (x *BatchProcessDocumentsRequest) GetRequests() []*ProcessDocumentRequest {
   163  	if x != nil {
   164  		return x.Requests
   165  	}
   166  	return nil
   167  }
   168  
   169  func (x *BatchProcessDocumentsRequest) GetParent() string {
   170  	if x != nil {
   171  		return x.Parent
   172  	}
   173  	return ""
   174  }
   175  
   176  // Request to process one document.
   177  type ProcessDocumentRequest struct {
   178  	state         protoimpl.MessageState
   179  	sizeCache     protoimpl.SizeCache
   180  	unknownFields protoimpl.UnknownFields
   181  
   182  	// Target project and location to make a call.
   183  	//
   184  	// Format: `projects/{project-id}/locations/{location-id}`.
   185  	//
   186  	// If no location is specified, a region will be chosen automatically.
   187  	// This field is only populated when used in ProcessDocument method.
   188  	Parent string `protobuf:"bytes,9,opt,name=parent,proto3" json:"parent,omitempty"`
   189  	// Required. Information about the input file.
   190  	InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
   191  	// Optional. The desired output location. This field is only needed in
   192  	// BatchProcessDocumentsRequest.
   193  	OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
   194  	// Specifies a known document type for deeper structure detection. Valid
   195  	// values are currently "general" and "invoice". If not provided, "general"\
   196  	// is used as default. If any other value is given, the request is rejected.
   197  	DocumentType string `protobuf:"bytes,3,opt,name=document_type,json=documentType,proto3" json:"document_type,omitempty"`
   198  	// Controls table extraction behavior. If not specified, the system will
   199  	// decide reasonable defaults.
   200  	TableExtractionParams *TableExtractionParams `protobuf:"bytes,4,opt,name=table_extraction_params,json=tableExtractionParams,proto3" json:"table_extraction_params,omitempty"`
   201  	// Controls form extraction behavior. If not specified, the system will
   202  	// decide reasonable defaults.
   203  	FormExtractionParams *FormExtractionParams `protobuf:"bytes,5,opt,name=form_extraction_params,json=formExtractionParams,proto3" json:"form_extraction_params,omitempty"`
   204  	// Controls entity extraction behavior. If not specified, the system will
   205  	// decide reasonable defaults.
   206  	EntityExtractionParams *EntityExtractionParams `protobuf:"bytes,6,opt,name=entity_extraction_params,json=entityExtractionParams,proto3" json:"entity_extraction_params,omitempty"`
   207  	// Controls OCR behavior. If not specified, the system will decide reasonable
   208  	// defaults.
   209  	OcrParams *OcrParams `protobuf:"bytes,7,opt,name=ocr_params,json=ocrParams,proto3" json:"ocr_params,omitempty"`
   210  	// Controls AutoML model prediction behavior. AutoMlParams cannot be used
   211  	// together with other Params.
   212  	AutomlParams *AutoMlParams `protobuf:"bytes,8,opt,name=automl_params,json=automlParams,proto3" json:"automl_params,omitempty"`
   213  }
   214  
   215  func (x *ProcessDocumentRequest) Reset() {
   216  	*x = ProcessDocumentRequest{}
   217  	if protoimpl.UnsafeEnabled {
   218  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[1]
   219  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   220  		ms.StoreMessageInfo(mi)
   221  	}
   222  }
   223  
   224  func (x *ProcessDocumentRequest) String() string {
   225  	return protoimpl.X.MessageStringOf(x)
   226  }
   227  
   228  func (*ProcessDocumentRequest) ProtoMessage() {}
   229  
   230  func (x *ProcessDocumentRequest) ProtoReflect() protoreflect.Message {
   231  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[1]
   232  	if protoimpl.UnsafeEnabled && x != nil {
   233  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   234  		if ms.LoadMessageInfo() == nil {
   235  			ms.StoreMessageInfo(mi)
   236  		}
   237  		return ms
   238  	}
   239  	return mi.MessageOf(x)
   240  }
   241  
   242  // Deprecated: Use ProcessDocumentRequest.ProtoReflect.Descriptor instead.
   243  func (*ProcessDocumentRequest) Descriptor() ([]byte, []int) {
   244  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{1}
   245  }
   246  
   247  func (x *ProcessDocumentRequest) GetParent() string {
   248  	if x != nil {
   249  		return x.Parent
   250  	}
   251  	return ""
   252  }
   253  
   254  func (x *ProcessDocumentRequest) GetInputConfig() *InputConfig {
   255  	if x != nil {
   256  		return x.InputConfig
   257  	}
   258  	return nil
   259  }
   260  
   261  func (x *ProcessDocumentRequest) GetOutputConfig() *OutputConfig {
   262  	if x != nil {
   263  		return x.OutputConfig
   264  	}
   265  	return nil
   266  }
   267  
   268  func (x *ProcessDocumentRequest) GetDocumentType() string {
   269  	if x != nil {
   270  		return x.DocumentType
   271  	}
   272  	return ""
   273  }
   274  
   275  func (x *ProcessDocumentRequest) GetTableExtractionParams() *TableExtractionParams {
   276  	if x != nil {
   277  		return x.TableExtractionParams
   278  	}
   279  	return nil
   280  }
   281  
   282  func (x *ProcessDocumentRequest) GetFormExtractionParams() *FormExtractionParams {
   283  	if x != nil {
   284  		return x.FormExtractionParams
   285  	}
   286  	return nil
   287  }
   288  
   289  func (x *ProcessDocumentRequest) GetEntityExtractionParams() *EntityExtractionParams {
   290  	if x != nil {
   291  		return x.EntityExtractionParams
   292  	}
   293  	return nil
   294  }
   295  
   296  func (x *ProcessDocumentRequest) GetOcrParams() *OcrParams {
   297  	if x != nil {
   298  		return x.OcrParams
   299  	}
   300  	return nil
   301  }
   302  
   303  func (x *ProcessDocumentRequest) GetAutomlParams() *AutoMlParams {
   304  	if x != nil {
   305  		return x.AutomlParams
   306  	}
   307  	return nil
   308  }
   309  
   310  // Response to an batch document processing request. This is returned in
   311  // the LRO Operation after the operation is complete.
   312  type BatchProcessDocumentsResponse struct {
   313  	state         protoimpl.MessageState
   314  	sizeCache     protoimpl.SizeCache
   315  	unknownFields protoimpl.UnknownFields
   316  
   317  	// Responses for each individual document.
   318  	Responses []*ProcessDocumentResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
   319  }
   320  
   321  func (x *BatchProcessDocumentsResponse) Reset() {
   322  	*x = BatchProcessDocumentsResponse{}
   323  	if protoimpl.UnsafeEnabled {
   324  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[2]
   325  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   326  		ms.StoreMessageInfo(mi)
   327  	}
   328  }
   329  
   330  func (x *BatchProcessDocumentsResponse) String() string {
   331  	return protoimpl.X.MessageStringOf(x)
   332  }
   333  
   334  func (*BatchProcessDocumentsResponse) ProtoMessage() {}
   335  
   336  func (x *BatchProcessDocumentsResponse) ProtoReflect() protoreflect.Message {
   337  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[2]
   338  	if protoimpl.UnsafeEnabled && x != nil {
   339  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   340  		if ms.LoadMessageInfo() == nil {
   341  			ms.StoreMessageInfo(mi)
   342  		}
   343  		return ms
   344  	}
   345  	return mi.MessageOf(x)
   346  }
   347  
   348  // Deprecated: Use BatchProcessDocumentsResponse.ProtoReflect.Descriptor instead.
   349  func (*BatchProcessDocumentsResponse) Descriptor() ([]byte, []int) {
   350  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{2}
   351  }
   352  
   353  func (x *BatchProcessDocumentsResponse) GetResponses() []*ProcessDocumentResponse {
   354  	if x != nil {
   355  		return x.Responses
   356  	}
   357  	return nil
   358  }
   359  
   360  // Response to a single document processing request.
   361  type ProcessDocumentResponse struct {
   362  	state         protoimpl.MessageState
   363  	sizeCache     protoimpl.SizeCache
   364  	unknownFields protoimpl.UnknownFields
   365  
   366  	// Information about the input file. This is the same as the corresponding
   367  	// input config in the request.
   368  	InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
   369  	// The output location of the parsed responses. The responses are written to
   370  	// this location as JSON-serialized `Document` objects.
   371  	OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
   372  }
   373  
   374  func (x *ProcessDocumentResponse) Reset() {
   375  	*x = ProcessDocumentResponse{}
   376  	if protoimpl.UnsafeEnabled {
   377  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[3]
   378  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   379  		ms.StoreMessageInfo(mi)
   380  	}
   381  }
   382  
   383  func (x *ProcessDocumentResponse) String() string {
   384  	return protoimpl.X.MessageStringOf(x)
   385  }
   386  
   387  func (*ProcessDocumentResponse) ProtoMessage() {}
   388  
   389  func (x *ProcessDocumentResponse) ProtoReflect() protoreflect.Message {
   390  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[3]
   391  	if protoimpl.UnsafeEnabled && x != nil {
   392  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   393  		if ms.LoadMessageInfo() == nil {
   394  			ms.StoreMessageInfo(mi)
   395  		}
   396  		return ms
   397  	}
   398  	return mi.MessageOf(x)
   399  }
   400  
   401  // Deprecated: Use ProcessDocumentResponse.ProtoReflect.Descriptor instead.
   402  func (*ProcessDocumentResponse) Descriptor() ([]byte, []int) {
   403  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{3}
   404  }
   405  
   406  func (x *ProcessDocumentResponse) GetInputConfig() *InputConfig {
   407  	if x != nil {
   408  		return x.InputConfig
   409  	}
   410  	return nil
   411  }
   412  
   413  func (x *ProcessDocumentResponse) GetOutputConfig() *OutputConfig {
   414  	if x != nil {
   415  		return x.OutputConfig
   416  	}
   417  	return nil
   418  }
   419  
   420  // Parameters to control Optical Character Recognition (OCR) behavior.
   421  type OcrParams struct {
   422  	state         protoimpl.MessageState
   423  	sizeCache     protoimpl.SizeCache
   424  	unknownFields protoimpl.UnknownFields
   425  
   426  	// List of languages to use for OCR. In most cases, an empty value
   427  	// yields the best results since it enables automatic language detection. For
   428  	// languages based on the Latin alphabet, setting `language_hints` is not
   429  	// needed. In rare cases, when the language of the text in the image is known,
   430  	// setting a hint will help get better results (although it will be a
   431  	// significant hindrance if the hint is wrong). Document processing returns an
   432  	// error if one or more of the specified languages is not one of the
   433  	// supported languages.
   434  	LanguageHints []string `protobuf:"bytes,1,rep,name=language_hints,json=languageHints,proto3" json:"language_hints,omitempty"`
   435  }
   436  
   437  func (x *OcrParams) Reset() {
   438  	*x = OcrParams{}
   439  	if protoimpl.UnsafeEnabled {
   440  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[4]
   441  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   442  		ms.StoreMessageInfo(mi)
   443  	}
   444  }
   445  
   446  func (x *OcrParams) String() string {
   447  	return protoimpl.X.MessageStringOf(x)
   448  }
   449  
   450  func (*OcrParams) ProtoMessage() {}
   451  
   452  func (x *OcrParams) ProtoReflect() protoreflect.Message {
   453  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[4]
   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 OcrParams.ProtoReflect.Descriptor instead.
   465  func (*OcrParams) Descriptor() ([]byte, []int) {
   466  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{4}
   467  }
   468  
   469  func (x *OcrParams) GetLanguageHints() []string {
   470  	if x != nil {
   471  		return x.LanguageHints
   472  	}
   473  	return nil
   474  }
   475  
   476  // Parameters to control table extraction behavior.
   477  type TableExtractionParams struct {
   478  	state         protoimpl.MessageState
   479  	sizeCache     protoimpl.SizeCache
   480  	unknownFields protoimpl.UnknownFields
   481  
   482  	// Whether to enable table extraction.
   483  	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
   484  	// Optional. Table bounding box hints that can be provided to complex cases
   485  	// which our algorithm cannot locate the table(s) in.
   486  	TableBoundHints []*TableBoundHint `protobuf:"bytes,2,rep,name=table_bound_hints,json=tableBoundHints,proto3" json:"table_bound_hints,omitempty"`
   487  	// Optional. Table header hints. The extraction will bias towards producing
   488  	// these terms as table headers, which may improve accuracy.
   489  	HeaderHints []string `protobuf:"bytes,3,rep,name=header_hints,json=headerHints,proto3" json:"header_hints,omitempty"`
   490  	// Model version of the table extraction system. Default is "builtin/stable".
   491  	// Specify "builtin/latest" for the latest model.
   492  	ModelVersion string `protobuf:"bytes,4,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
   493  }
   494  
   495  func (x *TableExtractionParams) Reset() {
   496  	*x = TableExtractionParams{}
   497  	if protoimpl.UnsafeEnabled {
   498  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[5]
   499  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   500  		ms.StoreMessageInfo(mi)
   501  	}
   502  }
   503  
   504  func (x *TableExtractionParams) String() string {
   505  	return protoimpl.X.MessageStringOf(x)
   506  }
   507  
   508  func (*TableExtractionParams) ProtoMessage() {}
   509  
   510  func (x *TableExtractionParams) ProtoReflect() protoreflect.Message {
   511  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[5]
   512  	if protoimpl.UnsafeEnabled && x != nil {
   513  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   514  		if ms.LoadMessageInfo() == nil {
   515  			ms.StoreMessageInfo(mi)
   516  		}
   517  		return ms
   518  	}
   519  	return mi.MessageOf(x)
   520  }
   521  
   522  // Deprecated: Use TableExtractionParams.ProtoReflect.Descriptor instead.
   523  func (*TableExtractionParams) Descriptor() ([]byte, []int) {
   524  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{5}
   525  }
   526  
   527  func (x *TableExtractionParams) GetEnabled() bool {
   528  	if x != nil {
   529  		return x.Enabled
   530  	}
   531  	return false
   532  }
   533  
   534  func (x *TableExtractionParams) GetTableBoundHints() []*TableBoundHint {
   535  	if x != nil {
   536  		return x.TableBoundHints
   537  	}
   538  	return nil
   539  }
   540  
   541  func (x *TableExtractionParams) GetHeaderHints() []string {
   542  	if x != nil {
   543  		return x.HeaderHints
   544  	}
   545  	return nil
   546  }
   547  
   548  func (x *TableExtractionParams) GetModelVersion() string {
   549  	if x != nil {
   550  		return x.ModelVersion
   551  	}
   552  	return ""
   553  }
   554  
   555  // A hint for a table bounding box on the page for table parsing.
   556  type TableBoundHint struct {
   557  	state         protoimpl.MessageState
   558  	sizeCache     protoimpl.SizeCache
   559  	unknownFields protoimpl.UnknownFields
   560  
   561  	// Optional. Page number for multi-paged inputs this hint applies to. If not
   562  	// provided, this hint will apply to all pages by default. This value is
   563  	// 1-based.
   564  	PageNumber int32 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
   565  	// Bounding box hint for a table on this page. The coordinates must be
   566  	// normalized to [0,1] and the bounding box must be an axis-aligned rectangle.
   567  	BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
   568  }
   569  
   570  func (x *TableBoundHint) Reset() {
   571  	*x = TableBoundHint{}
   572  	if protoimpl.UnsafeEnabled {
   573  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[6]
   574  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   575  		ms.StoreMessageInfo(mi)
   576  	}
   577  }
   578  
   579  func (x *TableBoundHint) String() string {
   580  	return protoimpl.X.MessageStringOf(x)
   581  }
   582  
   583  func (*TableBoundHint) ProtoMessage() {}
   584  
   585  func (x *TableBoundHint) ProtoReflect() protoreflect.Message {
   586  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[6]
   587  	if protoimpl.UnsafeEnabled && x != nil {
   588  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   589  		if ms.LoadMessageInfo() == nil {
   590  			ms.StoreMessageInfo(mi)
   591  		}
   592  		return ms
   593  	}
   594  	return mi.MessageOf(x)
   595  }
   596  
   597  // Deprecated: Use TableBoundHint.ProtoReflect.Descriptor instead.
   598  func (*TableBoundHint) Descriptor() ([]byte, []int) {
   599  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{6}
   600  }
   601  
   602  func (x *TableBoundHint) GetPageNumber() int32 {
   603  	if x != nil {
   604  		return x.PageNumber
   605  	}
   606  	return 0
   607  }
   608  
   609  func (x *TableBoundHint) GetBoundingBox() *BoundingPoly {
   610  	if x != nil {
   611  		return x.BoundingBox
   612  	}
   613  	return nil
   614  }
   615  
   616  // Parameters to control form extraction behavior.
   617  type FormExtractionParams struct {
   618  	state         protoimpl.MessageState
   619  	sizeCache     protoimpl.SizeCache
   620  	unknownFields protoimpl.UnknownFields
   621  
   622  	// Whether to enable form extraction.
   623  	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
   624  	// User can provide pairs of (key text, value type) to improve the parsing
   625  	// result.
   626  	//
   627  	// For example, if a document has a field called "Date" that holds a date
   628  	// value and a field called "Amount" that may hold either a currency value
   629  	// (e.g., "$500.00") or a simple number value (e.g., "20"), you could use the
   630  	// following hints: [ {"key": "Date", value_types: [ "DATE"]}, {"key":
   631  	// "Amount", "value_types": [ "PRICE", "NUMBER" ]} ]
   632  	//
   633  	// If the value type is unknown, but you want to provide hints for the keys,
   634  	// you can leave the value_types field blank. e.g. {"key": "Date",
   635  	// "value_types": []}
   636  	KeyValuePairHints []*KeyValuePairHint `protobuf:"bytes,2,rep,name=key_value_pair_hints,json=keyValuePairHints,proto3" json:"key_value_pair_hints,omitempty"`
   637  	// Model version of the form extraction system. Default is
   638  	// "builtin/stable". Specify "builtin/latest" for the latest model.
   639  	// For custom form models, specify: “custom/{model_name}". Model name
   640  	// format is "bucket_name/path/to/modeldir" corresponding to
   641  	// "gs://bucket_name/path/to/modeldir" where annotated examples are stored.
   642  	ModelVersion string `protobuf:"bytes,3,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
   643  }
   644  
   645  func (x *FormExtractionParams) Reset() {
   646  	*x = FormExtractionParams{}
   647  	if protoimpl.UnsafeEnabled {
   648  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[7]
   649  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   650  		ms.StoreMessageInfo(mi)
   651  	}
   652  }
   653  
   654  func (x *FormExtractionParams) String() string {
   655  	return protoimpl.X.MessageStringOf(x)
   656  }
   657  
   658  func (*FormExtractionParams) ProtoMessage() {}
   659  
   660  func (x *FormExtractionParams) ProtoReflect() protoreflect.Message {
   661  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[7]
   662  	if protoimpl.UnsafeEnabled && x != nil {
   663  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   664  		if ms.LoadMessageInfo() == nil {
   665  			ms.StoreMessageInfo(mi)
   666  		}
   667  		return ms
   668  	}
   669  	return mi.MessageOf(x)
   670  }
   671  
   672  // Deprecated: Use FormExtractionParams.ProtoReflect.Descriptor instead.
   673  func (*FormExtractionParams) Descriptor() ([]byte, []int) {
   674  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{7}
   675  }
   676  
   677  func (x *FormExtractionParams) GetEnabled() bool {
   678  	if x != nil {
   679  		return x.Enabled
   680  	}
   681  	return false
   682  }
   683  
   684  func (x *FormExtractionParams) GetKeyValuePairHints() []*KeyValuePairHint {
   685  	if x != nil {
   686  		return x.KeyValuePairHints
   687  	}
   688  	return nil
   689  }
   690  
   691  func (x *FormExtractionParams) GetModelVersion() string {
   692  	if x != nil {
   693  		return x.ModelVersion
   694  	}
   695  	return ""
   696  }
   697  
   698  // User-provided hint for key value pair.
   699  type KeyValuePairHint struct {
   700  	state         protoimpl.MessageState
   701  	sizeCache     protoimpl.SizeCache
   702  	unknownFields protoimpl.UnknownFields
   703  
   704  	// The key text for the hint.
   705  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   706  	// Type of the value. This is case-insensitive, and could be one of:
   707  	// ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER,
   708  	// ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will
   709  	// be ignored.
   710  	ValueTypes []string `protobuf:"bytes,2,rep,name=value_types,json=valueTypes,proto3" json:"value_types,omitempty"`
   711  }
   712  
   713  func (x *KeyValuePairHint) Reset() {
   714  	*x = KeyValuePairHint{}
   715  	if protoimpl.UnsafeEnabled {
   716  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[8]
   717  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   718  		ms.StoreMessageInfo(mi)
   719  	}
   720  }
   721  
   722  func (x *KeyValuePairHint) String() string {
   723  	return protoimpl.X.MessageStringOf(x)
   724  }
   725  
   726  func (*KeyValuePairHint) ProtoMessage() {}
   727  
   728  func (x *KeyValuePairHint) ProtoReflect() protoreflect.Message {
   729  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[8]
   730  	if protoimpl.UnsafeEnabled && x != nil {
   731  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   732  		if ms.LoadMessageInfo() == nil {
   733  			ms.StoreMessageInfo(mi)
   734  		}
   735  		return ms
   736  	}
   737  	return mi.MessageOf(x)
   738  }
   739  
   740  // Deprecated: Use KeyValuePairHint.ProtoReflect.Descriptor instead.
   741  func (*KeyValuePairHint) Descriptor() ([]byte, []int) {
   742  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{8}
   743  }
   744  
   745  func (x *KeyValuePairHint) GetKey() string {
   746  	if x != nil {
   747  		return x.Key
   748  	}
   749  	return ""
   750  }
   751  
   752  func (x *KeyValuePairHint) GetValueTypes() []string {
   753  	if x != nil {
   754  		return x.ValueTypes
   755  	}
   756  	return nil
   757  }
   758  
   759  // Parameters to control entity extraction behavior.
   760  type EntityExtractionParams struct {
   761  	state         protoimpl.MessageState
   762  	sizeCache     protoimpl.SizeCache
   763  	unknownFields protoimpl.UnknownFields
   764  
   765  	// Whether to enable entity extraction.
   766  	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
   767  	// Model version of the entity extraction. Default is
   768  	// "builtin/stable". Specify "builtin/latest" for the latest model.
   769  	ModelVersion string `protobuf:"bytes,2,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
   770  }
   771  
   772  func (x *EntityExtractionParams) Reset() {
   773  	*x = EntityExtractionParams{}
   774  	if protoimpl.UnsafeEnabled {
   775  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[9]
   776  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   777  		ms.StoreMessageInfo(mi)
   778  	}
   779  }
   780  
   781  func (x *EntityExtractionParams) String() string {
   782  	return protoimpl.X.MessageStringOf(x)
   783  }
   784  
   785  func (*EntityExtractionParams) ProtoMessage() {}
   786  
   787  func (x *EntityExtractionParams) ProtoReflect() protoreflect.Message {
   788  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[9]
   789  	if protoimpl.UnsafeEnabled && x != nil {
   790  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   791  		if ms.LoadMessageInfo() == nil {
   792  			ms.StoreMessageInfo(mi)
   793  		}
   794  		return ms
   795  	}
   796  	return mi.MessageOf(x)
   797  }
   798  
   799  // Deprecated: Use EntityExtractionParams.ProtoReflect.Descriptor instead.
   800  func (*EntityExtractionParams) Descriptor() ([]byte, []int) {
   801  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{9}
   802  }
   803  
   804  func (x *EntityExtractionParams) GetEnabled() bool {
   805  	if x != nil {
   806  		return x.Enabled
   807  	}
   808  	return false
   809  }
   810  
   811  func (x *EntityExtractionParams) GetModelVersion() string {
   812  	if x != nil {
   813  		return x.ModelVersion
   814  	}
   815  	return ""
   816  }
   817  
   818  // Parameters to control AutoML model prediction behavior.
   819  type AutoMlParams struct {
   820  	state         protoimpl.MessageState
   821  	sizeCache     protoimpl.SizeCache
   822  	unknownFields protoimpl.UnknownFields
   823  
   824  	// Resource name of the AutoML model.
   825  	//
   826  	// Format: `projects/{project-id}/locations/{location-id}/models/{model-id}`.
   827  	Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
   828  }
   829  
   830  func (x *AutoMlParams) Reset() {
   831  	*x = AutoMlParams{}
   832  	if protoimpl.UnsafeEnabled {
   833  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[10]
   834  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   835  		ms.StoreMessageInfo(mi)
   836  	}
   837  }
   838  
   839  func (x *AutoMlParams) String() string {
   840  	return protoimpl.X.MessageStringOf(x)
   841  }
   842  
   843  func (*AutoMlParams) ProtoMessage() {}
   844  
   845  func (x *AutoMlParams) ProtoReflect() protoreflect.Message {
   846  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[10]
   847  	if protoimpl.UnsafeEnabled && x != nil {
   848  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   849  		if ms.LoadMessageInfo() == nil {
   850  			ms.StoreMessageInfo(mi)
   851  		}
   852  		return ms
   853  	}
   854  	return mi.MessageOf(x)
   855  }
   856  
   857  // Deprecated: Use AutoMlParams.ProtoReflect.Descriptor instead.
   858  func (*AutoMlParams) Descriptor() ([]byte, []int) {
   859  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{10}
   860  }
   861  
   862  func (x *AutoMlParams) GetModel() string {
   863  	if x != nil {
   864  		return x.Model
   865  	}
   866  	return ""
   867  }
   868  
   869  // The desired input location and metadata.
   870  type InputConfig struct {
   871  	state         protoimpl.MessageState
   872  	sizeCache     protoimpl.SizeCache
   873  	unknownFields protoimpl.UnknownFields
   874  
   875  	// Required.
   876  	//
   877  	// Types that are assignable to Source:
   878  	//	*InputConfig_GcsSource
   879  	//	*InputConfig_Contents
   880  	Source isInputConfig_Source `protobuf_oneof:"source"`
   881  	// Required. Mimetype of the input. Current supported mimetypes are application/pdf,
   882  	// image/tiff, and image/gif.
   883  	// In addition, application/json type is supported for requests with
   884  	// [ProcessDocumentRequest.automl_params][google.cloud.documentai.v1beta2.ProcessDocumentRequest.automl_params] field set. The JSON file needs to
   885  	// be in [Document][google.cloud.documentai.v1beta2.Document] format.
   886  	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
   887  }
   888  
   889  func (x *InputConfig) Reset() {
   890  	*x = InputConfig{}
   891  	if protoimpl.UnsafeEnabled {
   892  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[11]
   893  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   894  		ms.StoreMessageInfo(mi)
   895  	}
   896  }
   897  
   898  func (x *InputConfig) String() string {
   899  	return protoimpl.X.MessageStringOf(x)
   900  }
   901  
   902  func (*InputConfig) ProtoMessage() {}
   903  
   904  func (x *InputConfig) ProtoReflect() protoreflect.Message {
   905  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[11]
   906  	if protoimpl.UnsafeEnabled && x != nil {
   907  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   908  		if ms.LoadMessageInfo() == nil {
   909  			ms.StoreMessageInfo(mi)
   910  		}
   911  		return ms
   912  	}
   913  	return mi.MessageOf(x)
   914  }
   915  
   916  // Deprecated: Use InputConfig.ProtoReflect.Descriptor instead.
   917  func (*InputConfig) Descriptor() ([]byte, []int) {
   918  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{11}
   919  }
   920  
   921  func (m *InputConfig) GetSource() isInputConfig_Source {
   922  	if m != nil {
   923  		return m.Source
   924  	}
   925  	return nil
   926  }
   927  
   928  func (x *InputConfig) GetGcsSource() *GcsSource {
   929  	if x, ok := x.GetSource().(*InputConfig_GcsSource); ok {
   930  		return x.GcsSource
   931  	}
   932  	return nil
   933  }
   934  
   935  func (x *InputConfig) GetContents() []byte {
   936  	if x, ok := x.GetSource().(*InputConfig_Contents); ok {
   937  		return x.Contents
   938  	}
   939  	return nil
   940  }
   941  
   942  func (x *InputConfig) GetMimeType() string {
   943  	if x != nil {
   944  		return x.MimeType
   945  	}
   946  	return ""
   947  }
   948  
   949  type isInputConfig_Source interface {
   950  	isInputConfig_Source()
   951  }
   952  
   953  type InputConfig_GcsSource struct {
   954  	// The Google Cloud Storage location to read the input from. This must be a
   955  	// single file.
   956  	GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
   957  }
   958  
   959  type InputConfig_Contents struct {
   960  	// Content in bytes, represented as a stream of bytes.
   961  	// Note: As with all `bytes` fields, proto buffer messages use a pure binary
   962  	// representation, whereas JSON representations use base64.
   963  	//
   964  	// This field only works for synchronous ProcessDocument method.
   965  	Contents []byte `protobuf:"bytes,3,opt,name=contents,proto3,oneof"`
   966  }
   967  
   968  func (*InputConfig_GcsSource) isInputConfig_Source() {}
   969  
   970  func (*InputConfig_Contents) isInputConfig_Source() {}
   971  
   972  // The desired output location and metadata.
   973  type OutputConfig struct {
   974  	state         protoimpl.MessageState
   975  	sizeCache     protoimpl.SizeCache
   976  	unknownFields protoimpl.UnknownFields
   977  
   978  	// Required.
   979  	//
   980  	// Types that are assignable to Destination:
   981  	//	*OutputConfig_GcsDestination
   982  	Destination isOutputConfig_Destination `protobuf_oneof:"destination"`
   983  	// The max number of pages to include into each output Document shard JSON on
   984  	// Google Cloud Storage.
   985  	//
   986  	// The valid range is [1, 100]. If not specified, the default value is 20.
   987  	//
   988  	// For example, for one pdf file with 100 pages, 100 parsed pages will be
   989  	// produced. If `pages_per_shard` = 20, then 5 Document shard JSON files each
   990  	// containing 20 parsed pages will be written under the prefix
   991  	// [OutputConfig.gcs_destination.uri][] and suffix pages-x-to-y.json where
   992  	// x and y are 1-indexed page numbers.
   993  	//
   994  	// Example GCS outputs with 157 pages and pages_per_shard = 50:
   995  	//
   996  	// <prefix>pages-001-to-050.json
   997  	// <prefix>pages-051-to-100.json
   998  	// <prefix>pages-101-to-150.json
   999  	// <prefix>pages-151-to-157.json
  1000  	PagesPerShard int32 `protobuf:"varint,2,opt,name=pages_per_shard,json=pagesPerShard,proto3" json:"pages_per_shard,omitempty"`
  1001  }
  1002  
  1003  func (x *OutputConfig) Reset() {
  1004  	*x = OutputConfig{}
  1005  	if protoimpl.UnsafeEnabled {
  1006  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[12]
  1007  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1008  		ms.StoreMessageInfo(mi)
  1009  	}
  1010  }
  1011  
  1012  func (x *OutputConfig) String() string {
  1013  	return protoimpl.X.MessageStringOf(x)
  1014  }
  1015  
  1016  func (*OutputConfig) ProtoMessage() {}
  1017  
  1018  func (x *OutputConfig) ProtoReflect() protoreflect.Message {
  1019  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[12]
  1020  	if protoimpl.UnsafeEnabled && x != nil {
  1021  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1022  		if ms.LoadMessageInfo() == nil {
  1023  			ms.StoreMessageInfo(mi)
  1024  		}
  1025  		return ms
  1026  	}
  1027  	return mi.MessageOf(x)
  1028  }
  1029  
  1030  // Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead.
  1031  func (*OutputConfig) Descriptor() ([]byte, []int) {
  1032  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{12}
  1033  }
  1034  
  1035  func (m *OutputConfig) GetDestination() isOutputConfig_Destination {
  1036  	if m != nil {
  1037  		return m.Destination
  1038  	}
  1039  	return nil
  1040  }
  1041  
  1042  func (x *OutputConfig) GetGcsDestination() *GcsDestination {
  1043  	if x, ok := x.GetDestination().(*OutputConfig_GcsDestination); ok {
  1044  		return x.GcsDestination
  1045  	}
  1046  	return nil
  1047  }
  1048  
  1049  func (x *OutputConfig) GetPagesPerShard() int32 {
  1050  	if x != nil {
  1051  		return x.PagesPerShard
  1052  	}
  1053  	return 0
  1054  }
  1055  
  1056  type isOutputConfig_Destination interface {
  1057  	isOutputConfig_Destination()
  1058  }
  1059  
  1060  type OutputConfig_GcsDestination struct {
  1061  	// The Google Cloud Storage location to write the output to.
  1062  	GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
  1063  }
  1064  
  1065  func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {}
  1066  
  1067  // The Google Cloud Storage location where the input file will be read from.
  1068  type GcsSource struct {
  1069  	state         protoimpl.MessageState
  1070  	sizeCache     protoimpl.SizeCache
  1071  	unknownFields protoimpl.UnknownFields
  1072  
  1073  	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
  1074  }
  1075  
  1076  func (x *GcsSource) Reset() {
  1077  	*x = GcsSource{}
  1078  	if protoimpl.UnsafeEnabled {
  1079  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[13]
  1080  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1081  		ms.StoreMessageInfo(mi)
  1082  	}
  1083  }
  1084  
  1085  func (x *GcsSource) String() string {
  1086  	return protoimpl.X.MessageStringOf(x)
  1087  }
  1088  
  1089  func (*GcsSource) ProtoMessage() {}
  1090  
  1091  func (x *GcsSource) ProtoReflect() protoreflect.Message {
  1092  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[13]
  1093  	if protoimpl.UnsafeEnabled && x != nil {
  1094  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1095  		if ms.LoadMessageInfo() == nil {
  1096  			ms.StoreMessageInfo(mi)
  1097  		}
  1098  		return ms
  1099  	}
  1100  	return mi.MessageOf(x)
  1101  }
  1102  
  1103  // Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
  1104  func (*GcsSource) Descriptor() ([]byte, []int) {
  1105  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{13}
  1106  }
  1107  
  1108  func (x *GcsSource) GetUri() string {
  1109  	if x != nil {
  1110  		return x.Uri
  1111  	}
  1112  	return ""
  1113  }
  1114  
  1115  // The Google Cloud Storage location where the output file will be written to.
  1116  type GcsDestination struct {
  1117  	state         protoimpl.MessageState
  1118  	sizeCache     protoimpl.SizeCache
  1119  	unknownFields protoimpl.UnknownFields
  1120  
  1121  	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
  1122  }
  1123  
  1124  func (x *GcsDestination) Reset() {
  1125  	*x = GcsDestination{}
  1126  	if protoimpl.UnsafeEnabled {
  1127  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[14]
  1128  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1129  		ms.StoreMessageInfo(mi)
  1130  	}
  1131  }
  1132  
  1133  func (x *GcsDestination) String() string {
  1134  	return protoimpl.X.MessageStringOf(x)
  1135  }
  1136  
  1137  func (*GcsDestination) ProtoMessage() {}
  1138  
  1139  func (x *GcsDestination) ProtoReflect() protoreflect.Message {
  1140  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[14]
  1141  	if protoimpl.UnsafeEnabled && x != nil {
  1142  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1143  		if ms.LoadMessageInfo() == nil {
  1144  			ms.StoreMessageInfo(mi)
  1145  		}
  1146  		return ms
  1147  	}
  1148  	return mi.MessageOf(x)
  1149  }
  1150  
  1151  // Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead.
  1152  func (*GcsDestination) Descriptor() ([]byte, []int) {
  1153  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{14}
  1154  }
  1155  
  1156  func (x *GcsDestination) GetUri() string {
  1157  	if x != nil {
  1158  		return x.Uri
  1159  	}
  1160  	return ""
  1161  }
  1162  
  1163  // Contains metadata for the BatchProcessDocuments operation.
  1164  type OperationMetadata struct {
  1165  	state         protoimpl.MessageState
  1166  	sizeCache     protoimpl.SizeCache
  1167  	unknownFields protoimpl.UnknownFields
  1168  
  1169  	// The state of the current batch processing.
  1170  	State OperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.documentai.v1beta2.OperationMetadata_State" json:"state,omitempty"`
  1171  	// A message providing more details about the current state of processing.
  1172  	StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
  1173  	// The creation time of the operation.
  1174  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  1175  	// The last update time of the operation.
  1176  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  1177  }
  1178  
  1179  func (x *OperationMetadata) Reset() {
  1180  	*x = OperationMetadata{}
  1181  	if protoimpl.UnsafeEnabled {
  1182  		mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[15]
  1183  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1184  		ms.StoreMessageInfo(mi)
  1185  	}
  1186  }
  1187  
  1188  func (x *OperationMetadata) String() string {
  1189  	return protoimpl.X.MessageStringOf(x)
  1190  }
  1191  
  1192  func (*OperationMetadata) ProtoMessage() {}
  1193  
  1194  func (x *OperationMetadata) ProtoReflect() protoreflect.Message {
  1195  	mi := &file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[15]
  1196  	if protoimpl.UnsafeEnabled && x != nil {
  1197  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1198  		if ms.LoadMessageInfo() == nil {
  1199  			ms.StoreMessageInfo(mi)
  1200  		}
  1201  		return ms
  1202  	}
  1203  	return mi.MessageOf(x)
  1204  }
  1205  
  1206  // Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
  1207  func (*OperationMetadata) Descriptor() ([]byte, []int) {
  1208  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP(), []int{15}
  1209  }
  1210  
  1211  func (x *OperationMetadata) GetState() OperationMetadata_State {
  1212  	if x != nil {
  1213  		return x.State
  1214  	}
  1215  	return OperationMetadata_STATE_UNSPECIFIED
  1216  }
  1217  
  1218  func (x *OperationMetadata) GetStateMessage() string {
  1219  	if x != nil {
  1220  		return x.StateMessage
  1221  	}
  1222  	return ""
  1223  }
  1224  
  1225  func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp {
  1226  	if x != nil {
  1227  		return x.CreateTime
  1228  	}
  1229  	return nil
  1230  }
  1231  
  1232  func (x *OperationMetadata) GetUpdateTime() *timestamppb.Timestamp {
  1233  	if x != nil {
  1234  		return x.UpdateTime
  1235  	}
  1236  	return nil
  1237  }
  1238  
  1239  var File_google_cloud_documentai_v1beta2_document_understanding_proto protoreflect.FileDescriptor
  1240  
  1241  var file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDesc = []byte{
  1242  	0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
  1243  	0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
  1244  	0x32, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x6e, 0x64, 0x65, 0x72,
  1245  	0x73, 0x74, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f,
  1246  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63,
  1247  	0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a,
  1248  	0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
  1249  	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
  1250  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
  1251  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  1252  	0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
  1253  	0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  1254  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69,
  1255  	0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
  1256  	0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  1257  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69,
  1258  	0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72,
  1259  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  1260  	0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72,
  1261  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
  1262  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
  1263  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01,
  1264  	0x0a, 0x1c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f,
  1265  	0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x58,
  1266  	0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  1267  	0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
  1268  	0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
  1269  	0x61, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65,
  1270  	0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08,
  1271  	0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
  1272  	0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
  1273  	0x22, 0xf3, 0x05, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75,
  1274  	0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70,
  1275  	0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72,
  1276  	0x65, 0x6e, 0x74, 0x12, 0x54, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e,
  1277  	0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1278  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
  1279  	0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x70, 0x75,
  1280  	0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e,
  1281  	0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x57, 0x0a, 0x0d, 0x6f, 0x75, 0x74,
  1282  	0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  1283  	0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
  1284  	0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
  1285  	0x61, 0x32, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42,
  1286  	0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66,
  1287  	0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74,
  1288  	0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x6f, 0x63, 0x75, 0x6d,
  1289  	0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x6e, 0x0a, 0x17, 0x74, 0x61, 0x62, 0x6c, 0x65,
  1290  	0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61,
  1291  	0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1292  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
  1293  	0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65,
  1294  	0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
  1295  	0x52, 0x15, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f,
  1296  	0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x6b, 0x0a, 0x16, 0x66, 0x6f, 0x72, 0x6d, 0x5f,
  1297  	0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d,
  1298  	0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1299  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61,
  1300  	0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x45, 0x78,
  1301  	0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x14,
  1302  	0x66, 0x6f, 0x72, 0x6d, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61,
  1303  	0x72, 0x61, 0x6d, 0x73, 0x12, 0x71, 0x0a, 0x18, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x65,
  1304  	0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
  1305  	0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  1306  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69,
  1307  	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45,
  1308  	0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52,
  1309  	0x16, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f,
  1310  	0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x49, 0x0a, 0x0a, 0x6f, 0x63, 0x72, 0x5f, 0x70,
  1311  	0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f,
  1312  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d,
  1313  	0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4f, 0x63,
  1314  	0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x09, 0x6f, 0x63, 0x72, 0x50, 0x61, 0x72, 0x61,
  1315  	0x6d, 0x73, 0x12, 0x52, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x5f, 0x70, 0x61, 0x72,
  1316  	0x61, 0x6d, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1317  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
  1318  	0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x6f,
  1319  	0x4d, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0c, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
  1320  	0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x77, 0x0a, 0x1d, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50,
  1321  	0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52,
  1322  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f,
  1323  	0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f,
  1324  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
  1325  	0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x72, 0x6f,
  1326  	0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
  1327  	0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22,
  1328  	0xbe, 0x01, 0x0a, 0x17, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d,
  1329  	0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x69,
  1330  	0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
  1331  	0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
  1332  	0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65,
  1333  	0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
  1334  	0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x52, 0x0a, 0x0d,
  1335  	0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20,
  1336  	0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
  1337  	0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31,
  1338  	0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66,
  1339  	0x69, 0x67, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  1340  	0x22, 0x32, 0x0a, 0x09, 0x4f, 0x63, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x25, 0x0a,
  1341  	0x0e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18,
  1342  	0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x48,
  1343  	0x69, 0x6e, 0x74, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78,
  1344  	0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18,
  1345  	0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
  1346  	0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x60, 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c,
  1347  	0x65, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20,
  1348  	0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
  1349  	0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31,
  1350  	0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x6f, 0x75, 0x6e, 0x64,
  1351  	0x48, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65,
  1352  	0x42, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x68, 0x65,
  1353  	0x61, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
  1354  	0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x69, 0x6e,
  1355  	0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73,
  1356  	0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
  1357  	0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x54, 0x61, 0x62, 0x6c,
  1358  	0x65, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x70, 0x61,
  1359  	0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42,
  1360  	0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
  1361  	0x12, 0x50, 0x0a, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78,
  1362  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  1363  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69,
  1364  	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e,
  1365  	0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42,
  1366  	0x6f, 0x78, 0x22, 0xb9, 0x01, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x45, 0x78, 0x74, 0x72, 0x61,
  1367  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65,
  1368  	0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e,
  1369  	0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x14, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c,
  1370  	0x75, 0x65, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20,
  1371  	0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
  1372  	0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31,
  1373  	0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61,
  1374  	0x69, 0x72, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x11, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
  1375  	0x50, 0x61, 0x69, 0x72, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x64,
  1376  	0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1377  	0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x45,
  1378  	0x0a, 0x10, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x48, 0x69,
  1379  	0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1380  	0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79,
  1381  	0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1382  	0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x57, 0x0a, 0x16, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45,
  1383  	0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12,
  1384  	0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
  1385  	0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x64,
  1386  	0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1387  	0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x24,
  1388  	0x0a, 0x0c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x14,
  1389  	0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d,
  1390  	0x6f, 0x64, 0x65, 0x6c, 0x22, 0xa4, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f,
  1391  	0x6e, 0x66, 0x69, 0x67, 0x12, 0x4b, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72,
  1392  	0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1393  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
  1394  	0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x63, 0x73, 0x53, 0x6f,
  1395  	0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63,
  1396  	0x65, 0x12, 0x1c, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20,
  1397  	0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12,
  1398  	0x20, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
  1399  	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70,
  1400  	0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xa1, 0x01, 0x0a, 0x0c,
  1401  	0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5a, 0x0a, 0x0f,
  1402  	0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  1403  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
  1404  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e,
  1405  	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69,
  1406  	0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x67, 0x63, 0x73, 0x44, 0x65, 0x73,
  1407  	0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x67, 0x65,
  1408  	0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  1409  	0x05, 0x52, 0x0d, 0x70, 0x61, 0x67, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64,
  1410  	0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  1411  	0x22, 0x0a, 0x09, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x15, 0x0a, 0x03,
  1412  	0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03,
  1413  	0x75, 0x72, 0x69, 0x22, 0x27, 0x0a, 0x0e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e,
  1414  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01,
  1415  	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0xf4, 0x02, 0x0a,
  1416  	0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
  1417  	0x74, 0x61, 0x12, 0x4e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1418  	0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
  1419  	0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65,
  1420  	0x74, 0x61, 0x32, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,
  1421  	0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61,
  1422  	0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73,
  1423  	0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65,
  1424  	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
  1425  	0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  1426  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  1427  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
  1428  	0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
  1429  	0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1430  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
  1431  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
  1432  	0x65, 0x22, 0x70, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54,
  1433  	0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
  1434  	0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12,
  1435  	0x0b, 0x0a, 0x07, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07,
  1436  	0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43,
  1437  	0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43,
  1438  	0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45,
  1439  	0x44, 0x10, 0x06, 0x32, 0xa0, 0x05, 0x0a, 0x1c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
  1440  	0x55, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72,
  1441  	0x76, 0x69, 0x63, 0x65, 0x12, 0xbc, 0x02, 0x0a, 0x15, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72,
  1442  	0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3d,
  1443  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f,
  1444  	0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
  1445  	0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63,
  1446  	0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
  1447  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69,
  1448  	0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc4, 0x01, 0x82,
  1449  	0xd3, 0xe4, 0x93, 0x02, 0x7e, 0x22, 0x3f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f,
  1450  	0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
  1451  	0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
  1452  	0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x50,
  1453  	0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x38, 0x22, 0x33, 0x2f, 0x76, 0x31,
  1454  	0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
  1455  	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
  1456  	0x6e, 0x74, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73,
  1457  	0x3a, 0x01, 0x2a, 0xda, 0x41, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0xca, 0x41,
  1458  	0x32, 0x0a, 0x1d, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44,
  1459  	0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1460  	0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
  1461  	0x61, 0x74, 0x61, 0x12, 0xf1, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x44,
  1462  	0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1463  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61,
  1464  	0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73,
  1465  	0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1466  	0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
  1467  	0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
  1468  	0x61, 0x32, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x7a, 0x82, 0xd3, 0xe4,
  1469  	0x93, 0x02, 0x74, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70,
  1470  	0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
  1471  	0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f,
  1472  	0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x3a,
  1473  	0x01, 0x2a, 0x5a, 0x33, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b,
  1474  	0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
  1475  	0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x70, 0x72, 0x6f,
  1476  	0x63, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x1a, 0x4d, 0xca, 0x41, 0x19, 0x64, 0x6f, 0x63, 0x75,
  1477  	0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
  1478  	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
  1479  	0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
  1480  	0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c,
  1481  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xec, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
  1482  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75,
  1483  	0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x0f,
  1484  	0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
  1485  	0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
  1486  	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
  1487  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
  1488  	0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
  1489  	0x32, 0x3b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0xaa, 0x02, 0x1f, 0x47,
  1490  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x6f, 0x63, 0x75,
  1491  	0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x32, 0xca, 0x02,
  1492  	0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x6f,
  1493  	0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
  1494  	0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
  1495  	0x3a, 0x3a, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x3a, 0x3a, 0x56, 0x31,
  1496  	0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1497  }
  1498  
  1499  var (
  1500  	file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescOnce sync.Once
  1501  	file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescData = file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDesc
  1502  )
  1503  
  1504  func file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescGZIP() []byte {
  1505  	file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescOnce.Do(func() {
  1506  		file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescData)
  1507  	})
  1508  	return file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDescData
  1509  }
  1510  
  1511  var file_google_cloud_documentai_v1beta2_document_understanding_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1512  var file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
  1513  var file_google_cloud_documentai_v1beta2_document_understanding_proto_goTypes = []interface{}{
  1514  	(OperationMetadata_State)(0),          // 0: google.cloud.documentai.v1beta2.OperationMetadata.State
  1515  	(*BatchProcessDocumentsRequest)(nil),  // 1: google.cloud.documentai.v1beta2.BatchProcessDocumentsRequest
  1516  	(*ProcessDocumentRequest)(nil),        // 2: google.cloud.documentai.v1beta2.ProcessDocumentRequest
  1517  	(*BatchProcessDocumentsResponse)(nil), // 3: google.cloud.documentai.v1beta2.BatchProcessDocumentsResponse
  1518  	(*ProcessDocumentResponse)(nil),       // 4: google.cloud.documentai.v1beta2.ProcessDocumentResponse
  1519  	(*OcrParams)(nil),                     // 5: google.cloud.documentai.v1beta2.OcrParams
  1520  	(*TableExtractionParams)(nil),         // 6: google.cloud.documentai.v1beta2.TableExtractionParams
  1521  	(*TableBoundHint)(nil),                // 7: google.cloud.documentai.v1beta2.TableBoundHint
  1522  	(*FormExtractionParams)(nil),          // 8: google.cloud.documentai.v1beta2.FormExtractionParams
  1523  	(*KeyValuePairHint)(nil),              // 9: google.cloud.documentai.v1beta2.KeyValuePairHint
  1524  	(*EntityExtractionParams)(nil),        // 10: google.cloud.documentai.v1beta2.EntityExtractionParams
  1525  	(*AutoMlParams)(nil),                  // 11: google.cloud.documentai.v1beta2.AutoMlParams
  1526  	(*InputConfig)(nil),                   // 12: google.cloud.documentai.v1beta2.InputConfig
  1527  	(*OutputConfig)(nil),                  // 13: google.cloud.documentai.v1beta2.OutputConfig
  1528  	(*GcsSource)(nil),                     // 14: google.cloud.documentai.v1beta2.GcsSource
  1529  	(*GcsDestination)(nil),                // 15: google.cloud.documentai.v1beta2.GcsDestination
  1530  	(*OperationMetadata)(nil),             // 16: google.cloud.documentai.v1beta2.OperationMetadata
  1531  	(*BoundingPoly)(nil),                  // 17: google.cloud.documentai.v1beta2.BoundingPoly
  1532  	(*timestamppb.Timestamp)(nil),         // 18: google.protobuf.Timestamp
  1533  	(*longrunning.Operation)(nil),         // 19: google.longrunning.Operation
  1534  	(*Document)(nil),                      // 20: google.cloud.documentai.v1beta2.Document
  1535  }
  1536  var file_google_cloud_documentai_v1beta2_document_understanding_proto_depIdxs = []int32{
  1537  	2,  // 0: google.cloud.documentai.v1beta2.BatchProcessDocumentsRequest.requests:type_name -> google.cloud.documentai.v1beta2.ProcessDocumentRequest
  1538  	12, // 1: google.cloud.documentai.v1beta2.ProcessDocumentRequest.input_config:type_name -> google.cloud.documentai.v1beta2.InputConfig
  1539  	13, // 2: google.cloud.documentai.v1beta2.ProcessDocumentRequest.output_config:type_name -> google.cloud.documentai.v1beta2.OutputConfig
  1540  	6,  // 3: google.cloud.documentai.v1beta2.ProcessDocumentRequest.table_extraction_params:type_name -> google.cloud.documentai.v1beta2.TableExtractionParams
  1541  	8,  // 4: google.cloud.documentai.v1beta2.ProcessDocumentRequest.form_extraction_params:type_name -> google.cloud.documentai.v1beta2.FormExtractionParams
  1542  	10, // 5: google.cloud.documentai.v1beta2.ProcessDocumentRequest.entity_extraction_params:type_name -> google.cloud.documentai.v1beta2.EntityExtractionParams
  1543  	5,  // 6: google.cloud.documentai.v1beta2.ProcessDocumentRequest.ocr_params:type_name -> google.cloud.documentai.v1beta2.OcrParams
  1544  	11, // 7: google.cloud.documentai.v1beta2.ProcessDocumentRequest.automl_params:type_name -> google.cloud.documentai.v1beta2.AutoMlParams
  1545  	4,  // 8: google.cloud.documentai.v1beta2.BatchProcessDocumentsResponse.responses:type_name -> google.cloud.documentai.v1beta2.ProcessDocumentResponse
  1546  	12, // 9: google.cloud.documentai.v1beta2.ProcessDocumentResponse.input_config:type_name -> google.cloud.documentai.v1beta2.InputConfig
  1547  	13, // 10: google.cloud.documentai.v1beta2.ProcessDocumentResponse.output_config:type_name -> google.cloud.documentai.v1beta2.OutputConfig
  1548  	7,  // 11: google.cloud.documentai.v1beta2.TableExtractionParams.table_bound_hints:type_name -> google.cloud.documentai.v1beta2.TableBoundHint
  1549  	17, // 12: google.cloud.documentai.v1beta2.TableBoundHint.bounding_box:type_name -> google.cloud.documentai.v1beta2.BoundingPoly
  1550  	9,  // 13: google.cloud.documentai.v1beta2.FormExtractionParams.key_value_pair_hints:type_name -> google.cloud.documentai.v1beta2.KeyValuePairHint
  1551  	14, // 14: google.cloud.documentai.v1beta2.InputConfig.gcs_source:type_name -> google.cloud.documentai.v1beta2.GcsSource
  1552  	15, // 15: google.cloud.documentai.v1beta2.OutputConfig.gcs_destination:type_name -> google.cloud.documentai.v1beta2.GcsDestination
  1553  	0,  // 16: google.cloud.documentai.v1beta2.OperationMetadata.state:type_name -> google.cloud.documentai.v1beta2.OperationMetadata.State
  1554  	18, // 17: google.cloud.documentai.v1beta2.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp
  1555  	18, // 18: google.cloud.documentai.v1beta2.OperationMetadata.update_time:type_name -> google.protobuf.Timestamp
  1556  	1,  // 19: google.cloud.documentai.v1beta2.DocumentUnderstandingService.BatchProcessDocuments:input_type -> google.cloud.documentai.v1beta2.BatchProcessDocumentsRequest
  1557  	2,  // 20: google.cloud.documentai.v1beta2.DocumentUnderstandingService.ProcessDocument:input_type -> google.cloud.documentai.v1beta2.ProcessDocumentRequest
  1558  	19, // 21: google.cloud.documentai.v1beta2.DocumentUnderstandingService.BatchProcessDocuments:output_type -> google.longrunning.Operation
  1559  	20, // 22: google.cloud.documentai.v1beta2.DocumentUnderstandingService.ProcessDocument:output_type -> google.cloud.documentai.v1beta2.Document
  1560  	21, // [21:23] is the sub-list for method output_type
  1561  	19, // [19:21] is the sub-list for method input_type
  1562  	19, // [19:19] is the sub-list for extension type_name
  1563  	19, // [19:19] is the sub-list for extension extendee
  1564  	0,  // [0:19] is the sub-list for field type_name
  1565  }
  1566  
  1567  func init() { file_google_cloud_documentai_v1beta2_document_understanding_proto_init() }
  1568  func file_google_cloud_documentai_v1beta2_document_understanding_proto_init() {
  1569  	if File_google_cloud_documentai_v1beta2_document_understanding_proto != nil {
  1570  		return
  1571  	}
  1572  	file_google_cloud_documentai_v1beta2_document_proto_init()
  1573  	file_google_cloud_documentai_v1beta2_geometry_proto_init()
  1574  	if !protoimpl.UnsafeEnabled {
  1575  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1576  			switch v := v.(*BatchProcessDocumentsRequest); i {
  1577  			case 0:
  1578  				return &v.state
  1579  			case 1:
  1580  				return &v.sizeCache
  1581  			case 2:
  1582  				return &v.unknownFields
  1583  			default:
  1584  				return nil
  1585  			}
  1586  		}
  1587  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1588  			switch v := v.(*ProcessDocumentRequest); i {
  1589  			case 0:
  1590  				return &v.state
  1591  			case 1:
  1592  				return &v.sizeCache
  1593  			case 2:
  1594  				return &v.unknownFields
  1595  			default:
  1596  				return nil
  1597  			}
  1598  		}
  1599  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1600  			switch v := v.(*BatchProcessDocumentsResponse); i {
  1601  			case 0:
  1602  				return &v.state
  1603  			case 1:
  1604  				return &v.sizeCache
  1605  			case 2:
  1606  				return &v.unknownFields
  1607  			default:
  1608  				return nil
  1609  			}
  1610  		}
  1611  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1612  			switch v := v.(*ProcessDocumentResponse); i {
  1613  			case 0:
  1614  				return &v.state
  1615  			case 1:
  1616  				return &v.sizeCache
  1617  			case 2:
  1618  				return &v.unknownFields
  1619  			default:
  1620  				return nil
  1621  			}
  1622  		}
  1623  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1624  			switch v := v.(*OcrParams); i {
  1625  			case 0:
  1626  				return &v.state
  1627  			case 1:
  1628  				return &v.sizeCache
  1629  			case 2:
  1630  				return &v.unknownFields
  1631  			default:
  1632  				return nil
  1633  			}
  1634  		}
  1635  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1636  			switch v := v.(*TableExtractionParams); i {
  1637  			case 0:
  1638  				return &v.state
  1639  			case 1:
  1640  				return &v.sizeCache
  1641  			case 2:
  1642  				return &v.unknownFields
  1643  			default:
  1644  				return nil
  1645  			}
  1646  		}
  1647  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1648  			switch v := v.(*TableBoundHint); i {
  1649  			case 0:
  1650  				return &v.state
  1651  			case 1:
  1652  				return &v.sizeCache
  1653  			case 2:
  1654  				return &v.unknownFields
  1655  			default:
  1656  				return nil
  1657  			}
  1658  		}
  1659  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1660  			switch v := v.(*FormExtractionParams); i {
  1661  			case 0:
  1662  				return &v.state
  1663  			case 1:
  1664  				return &v.sizeCache
  1665  			case 2:
  1666  				return &v.unknownFields
  1667  			default:
  1668  				return nil
  1669  			}
  1670  		}
  1671  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1672  			switch v := v.(*KeyValuePairHint); i {
  1673  			case 0:
  1674  				return &v.state
  1675  			case 1:
  1676  				return &v.sizeCache
  1677  			case 2:
  1678  				return &v.unknownFields
  1679  			default:
  1680  				return nil
  1681  			}
  1682  		}
  1683  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1684  			switch v := v.(*EntityExtractionParams); i {
  1685  			case 0:
  1686  				return &v.state
  1687  			case 1:
  1688  				return &v.sizeCache
  1689  			case 2:
  1690  				return &v.unknownFields
  1691  			default:
  1692  				return nil
  1693  			}
  1694  		}
  1695  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1696  			switch v := v.(*AutoMlParams); i {
  1697  			case 0:
  1698  				return &v.state
  1699  			case 1:
  1700  				return &v.sizeCache
  1701  			case 2:
  1702  				return &v.unknownFields
  1703  			default:
  1704  				return nil
  1705  			}
  1706  		}
  1707  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1708  			switch v := v.(*InputConfig); i {
  1709  			case 0:
  1710  				return &v.state
  1711  			case 1:
  1712  				return &v.sizeCache
  1713  			case 2:
  1714  				return &v.unknownFields
  1715  			default:
  1716  				return nil
  1717  			}
  1718  		}
  1719  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1720  			switch v := v.(*OutputConfig); i {
  1721  			case 0:
  1722  				return &v.state
  1723  			case 1:
  1724  				return &v.sizeCache
  1725  			case 2:
  1726  				return &v.unknownFields
  1727  			default:
  1728  				return nil
  1729  			}
  1730  		}
  1731  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1732  			switch v := v.(*GcsSource); i {
  1733  			case 0:
  1734  				return &v.state
  1735  			case 1:
  1736  				return &v.sizeCache
  1737  			case 2:
  1738  				return &v.unknownFields
  1739  			default:
  1740  				return nil
  1741  			}
  1742  		}
  1743  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1744  			switch v := v.(*GcsDestination); i {
  1745  			case 0:
  1746  				return &v.state
  1747  			case 1:
  1748  				return &v.sizeCache
  1749  			case 2:
  1750  				return &v.unknownFields
  1751  			default:
  1752  				return nil
  1753  			}
  1754  		}
  1755  		file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1756  			switch v := v.(*OperationMetadata); 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  	}
  1768  	file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[11].OneofWrappers = []interface{}{
  1769  		(*InputConfig_GcsSource)(nil),
  1770  		(*InputConfig_Contents)(nil),
  1771  	}
  1772  	file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes[12].OneofWrappers = []interface{}{
  1773  		(*OutputConfig_GcsDestination)(nil),
  1774  	}
  1775  	type x struct{}
  1776  	out := protoimpl.TypeBuilder{
  1777  		File: protoimpl.DescBuilder{
  1778  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1779  			RawDescriptor: file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDesc,
  1780  			NumEnums:      1,
  1781  			NumMessages:   16,
  1782  			NumExtensions: 0,
  1783  			NumServices:   1,
  1784  		},
  1785  		GoTypes:           file_google_cloud_documentai_v1beta2_document_understanding_proto_goTypes,
  1786  		DependencyIndexes: file_google_cloud_documentai_v1beta2_document_understanding_proto_depIdxs,
  1787  		EnumInfos:         file_google_cloud_documentai_v1beta2_document_understanding_proto_enumTypes,
  1788  		MessageInfos:      file_google_cloud_documentai_v1beta2_document_understanding_proto_msgTypes,
  1789  	}.Build()
  1790  	File_google_cloud_documentai_v1beta2_document_understanding_proto = out.File
  1791  	file_google_cloud_documentai_v1beta2_document_understanding_proto_rawDesc = nil
  1792  	file_google_cloud_documentai_v1beta2_document_understanding_proto_goTypes = nil
  1793  	file_google_cloud_documentai_v1beta2_document_understanding_proto_depIdxs = nil
  1794  }
  1795  
  1796  // Reference imports to suppress errors if they are not otherwise used.
  1797  var _ context.Context
  1798  var _ grpc.ClientConnInterface
  1799  
  1800  // This is a compile-time assertion to ensure that this generated file
  1801  // is compatible with the grpc package it is being compiled against.
  1802  const _ = grpc.SupportPackageIsVersion6
  1803  
  1804  // DocumentUnderstandingServiceClient is the client API for DocumentUnderstandingService service.
  1805  //
  1806  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1807  type DocumentUnderstandingServiceClient interface {
  1808  	// LRO endpoint to batch process many documents. The output is written
  1809  	// to Cloud Storage as JSON in the [Document] format.
  1810  	BatchProcessDocuments(ctx context.Context, in *BatchProcessDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1811  	// Processes a single document.
  1812  	ProcessDocument(ctx context.Context, in *ProcessDocumentRequest, opts ...grpc.CallOption) (*Document, error)
  1813  }
  1814  
  1815  type documentUnderstandingServiceClient struct {
  1816  	cc grpc.ClientConnInterface
  1817  }
  1818  
  1819  func NewDocumentUnderstandingServiceClient(cc grpc.ClientConnInterface) DocumentUnderstandingServiceClient {
  1820  	return &documentUnderstandingServiceClient{cc}
  1821  }
  1822  
  1823  func (c *documentUnderstandingServiceClient) BatchProcessDocuments(ctx context.Context, in *BatchProcessDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1824  	out := new(longrunning.Operation)
  1825  	err := c.cc.Invoke(ctx, "/google.cloud.documentai.v1beta2.DocumentUnderstandingService/BatchProcessDocuments", in, out, opts...)
  1826  	if err != nil {
  1827  		return nil, err
  1828  	}
  1829  	return out, nil
  1830  }
  1831  
  1832  func (c *documentUnderstandingServiceClient) ProcessDocument(ctx context.Context, in *ProcessDocumentRequest, opts ...grpc.CallOption) (*Document, error) {
  1833  	out := new(Document)
  1834  	err := c.cc.Invoke(ctx, "/google.cloud.documentai.v1beta2.DocumentUnderstandingService/ProcessDocument", in, out, opts...)
  1835  	if err != nil {
  1836  		return nil, err
  1837  	}
  1838  	return out, nil
  1839  }
  1840  
  1841  // DocumentUnderstandingServiceServer is the server API for DocumentUnderstandingService service.
  1842  type DocumentUnderstandingServiceServer interface {
  1843  	// LRO endpoint to batch process many documents. The output is written
  1844  	// to Cloud Storage as JSON in the [Document] format.
  1845  	BatchProcessDocuments(context.Context, *BatchProcessDocumentsRequest) (*longrunning.Operation, error)
  1846  	// Processes a single document.
  1847  	ProcessDocument(context.Context, *ProcessDocumentRequest) (*Document, error)
  1848  }
  1849  
  1850  // UnimplementedDocumentUnderstandingServiceServer can be embedded to have forward compatible implementations.
  1851  type UnimplementedDocumentUnderstandingServiceServer struct {
  1852  }
  1853  
  1854  func (*UnimplementedDocumentUnderstandingServiceServer) BatchProcessDocuments(context.Context, *BatchProcessDocumentsRequest) (*longrunning.Operation, error) {
  1855  	return nil, status.Errorf(codes.Unimplemented, "method BatchProcessDocuments not implemented")
  1856  }
  1857  func (*UnimplementedDocumentUnderstandingServiceServer) ProcessDocument(context.Context, *ProcessDocumentRequest) (*Document, error) {
  1858  	return nil, status.Errorf(codes.Unimplemented, "method ProcessDocument not implemented")
  1859  }
  1860  
  1861  func RegisterDocumentUnderstandingServiceServer(s *grpc.Server, srv DocumentUnderstandingServiceServer) {
  1862  	s.RegisterService(&_DocumentUnderstandingService_serviceDesc, srv)
  1863  }
  1864  
  1865  func _DocumentUnderstandingService_BatchProcessDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1866  	in := new(BatchProcessDocumentsRequest)
  1867  	if err := dec(in); err != nil {
  1868  		return nil, err
  1869  	}
  1870  	if interceptor == nil {
  1871  		return srv.(DocumentUnderstandingServiceServer).BatchProcessDocuments(ctx, in)
  1872  	}
  1873  	info := &grpc.UnaryServerInfo{
  1874  		Server:     srv,
  1875  		FullMethod: "/google.cloud.documentai.v1beta2.DocumentUnderstandingService/BatchProcessDocuments",
  1876  	}
  1877  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1878  		return srv.(DocumentUnderstandingServiceServer).BatchProcessDocuments(ctx, req.(*BatchProcessDocumentsRequest))
  1879  	}
  1880  	return interceptor(ctx, in, info, handler)
  1881  }
  1882  
  1883  func _DocumentUnderstandingService_ProcessDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1884  	in := new(ProcessDocumentRequest)
  1885  	if err := dec(in); err != nil {
  1886  		return nil, err
  1887  	}
  1888  	if interceptor == nil {
  1889  		return srv.(DocumentUnderstandingServiceServer).ProcessDocument(ctx, in)
  1890  	}
  1891  	info := &grpc.UnaryServerInfo{
  1892  		Server:     srv,
  1893  		FullMethod: "/google.cloud.documentai.v1beta2.DocumentUnderstandingService/ProcessDocument",
  1894  	}
  1895  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1896  		return srv.(DocumentUnderstandingServiceServer).ProcessDocument(ctx, req.(*ProcessDocumentRequest))
  1897  	}
  1898  	return interceptor(ctx, in, info, handler)
  1899  }
  1900  
  1901  var _DocumentUnderstandingService_serviceDesc = grpc.ServiceDesc{
  1902  	ServiceName: "google.cloud.documentai.v1beta2.DocumentUnderstandingService",
  1903  	HandlerType: (*DocumentUnderstandingServiceServer)(nil),
  1904  	Methods: []grpc.MethodDesc{
  1905  		{
  1906  			MethodName: "BatchProcessDocuments",
  1907  			Handler:    _DocumentUnderstandingService_BatchProcessDocuments_Handler,
  1908  		},
  1909  		{
  1910  			MethodName: "ProcessDocument",
  1911  			Handler:    _DocumentUnderstandingService_ProcessDocument_Handler,
  1912  		},
  1913  	},
  1914  	Streams:  []grpc.StreamDesc{},
  1915  	Metadata: "google/cloud/documentai/v1beta2/document_understanding.proto",
  1916  }
  1917  

View as plain text