Debian Codegraph @

googleapis/cloud/contentwarehouse/v1/document_service_request.pb.go

raw
1 // Copyright 2022 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/contentwarehouse/v1/document_service_request.proto
20
21 package contentwarehouse
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 v1 "google.golang.org/genproto/googleapis/iam/v1"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // Request Option for processing Cloud AI Document in CW Document.
42 type CloudAIDocumentOption struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47 // Whether to convert all the entities to properties.
48 EnableEntitiesConversions bool `protobuf:"varint,1,opt,name=enable_entities_conversions,json=enableEntitiesConversions,proto3" json:"enable_entities_conversions,omitempty"`
49 // If set, only selected entities will be converted to properties.
50 CustomizedEntitiesPropertiesConversions map[string]string `protobuf:"bytes,2,rep,name=customized_entities_properties_conversions,json=customizedEntitiesPropertiesConversions,proto3" json:"customized_entities_properties_conversions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
51 }
52
53 func (x *CloudAIDocumentOption) Reset() {
54 *x = CloudAIDocumentOption{}
55 if protoimpl.UnsafeEnabled {
56 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60 }
61
62 func (x *CloudAIDocumentOption) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*CloudAIDocumentOption) ProtoMessage() {}
67
68 func (x *CloudAIDocumentOption) ProtoReflect() protoreflect.Message {
69 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[0]
70 if protoimpl.UnsafeEnabled && x != nil {
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 if ms.LoadMessageInfo() == nil {
73 ms.StoreMessageInfo(mi)
74 }
75 return ms
76 }
77 return mi.MessageOf(x)
78 }
79
80 // Deprecated: Use CloudAIDocumentOption.ProtoReflect.Descriptor instead.
81 func (*CloudAIDocumentOption) Descriptor() ([]byte, []int) {
82 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *CloudAIDocumentOption) GetEnableEntitiesConversions() bool {
86 if x != nil {
87 return x.EnableEntitiesConversions
88 }
89 return false
90 }
91
92 func (x *CloudAIDocumentOption) GetCustomizedEntitiesPropertiesConversions() map[string]string {
93 if x != nil {
94 return x.CustomizedEntitiesPropertiesConversions
95 }
96 return nil
97 }
98
99 // Request message for DocumentService.CreateDocument.
100 type CreateDocumentRequest struct {
101 state protoimpl.MessageState
102 sizeCache protoimpl.SizeCache
103 unknownFields protoimpl.UnknownFields
104
105 // Required. The parent name.
106 // Format: projects/{project_number}/locations/{location}.
107 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
108 // Required. The document to create.
109 Document *Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
110 // The meta information collected about the end user, used to enforce access
111 // control for the service.
112 RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
113 // Default document policy during creation. Conditions defined in the policy
114 // will be ignored.
115 Policy *v1.Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
116 // Request Option for processing Cloud AI Document in CW Document.
117 CloudAiDocumentOption *CloudAIDocumentOption `protobuf:"bytes,5,opt,name=cloud_ai_document_option,json=cloudAiDocumentOption,proto3" json:"cloud_ai_document_option,omitempty"`
118 // Field mask for creating Document fields. If mask path is empty,
119 // it means all fields are masked.
120 // For the `FieldMask` definition,
121 // see
122 // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
123 CreateMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=create_mask,json=createMask,proto3" json:"create_mask,omitempty"`
124 }
125
126 func (x *CreateDocumentRequest) Reset() {
127 *x = CreateDocumentRequest{}
128 if protoimpl.UnsafeEnabled {
129 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[1]
130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131 ms.StoreMessageInfo(mi)
132 }
133 }
134
135 func (x *CreateDocumentRequest) String() string {
136 return protoimpl.X.MessageStringOf(x)
137 }
138
139 func (*CreateDocumentRequest) ProtoMessage() {}
140
141 func (x *CreateDocumentRequest) ProtoReflect() protoreflect.Message {
142 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[1]
143 if protoimpl.UnsafeEnabled && x != nil {
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 if ms.LoadMessageInfo() == nil {
146 ms.StoreMessageInfo(mi)
147 }
148 return ms
149 }
150 return mi.MessageOf(x)
151 }
152
153 // Deprecated: Use CreateDocumentRequest.ProtoReflect.Descriptor instead.
154 func (*CreateDocumentRequest) Descriptor() ([]byte, []int) {
155 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP(), []int{1}
156 }
157
158 func (x *CreateDocumentRequest) GetParent() string {
159 if x != nil {
160 return x.Parent
161 }
162 return ""
163 }
164
165 func (x *CreateDocumentRequest) GetDocument() *Document {
166 if x != nil {
167 return x.Document
168 }
169 return nil
170 }
171
172 func (x *CreateDocumentRequest) GetRequestMetadata() *RequestMetadata {
173 if x != nil {
174 return x.RequestMetadata
175 }
176 return nil
177 }
178
179 func (x *CreateDocumentRequest) GetPolicy() *v1.Policy {
180 if x != nil {
181 return x.Policy
182 }
183 return nil
184 }
185
186 func (x *CreateDocumentRequest) GetCloudAiDocumentOption() *CloudAIDocumentOption {
187 if x != nil {
188 return x.CloudAiDocumentOption
189 }
190 return nil
191 }
192
193 func (x *CreateDocumentRequest) GetCreateMask() *fieldmaskpb.FieldMask {
194 if x != nil {
195 return x.CreateMask
196 }
197 return nil
198 }
199
200 // Request message for DocumentService.GetDocument.
201 type GetDocumentRequest struct {
202 state protoimpl.MessageState
203 sizeCache protoimpl.SizeCache
204 unknownFields protoimpl.UnknownFields
205
206 // Required. The name of the document to retrieve.
207 // Format:
208 // projects/{project_number}/locations/{location}/documents/{document_id} or
209 // projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
210 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
211 // The meta information collected about the end user, used to enforce access
212 // control for the service.
213 RequestMetadata *RequestMetadata `protobuf:"bytes,2,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
214 }
215
216 func (x *GetDocumentRequest) Reset() {
217 *x = GetDocumentRequest{}
218 if protoimpl.UnsafeEnabled {
219 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[2]
220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
221 ms.StoreMessageInfo(mi)
222 }
223 }
224
225 func (x *GetDocumentRequest) String() string {
226 return protoimpl.X.MessageStringOf(x)
227 }
228
229 func (*GetDocumentRequest) ProtoMessage() {}
230
231 func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message {
232 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[2]
233 if protoimpl.UnsafeEnabled && x != nil {
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 if ms.LoadMessageInfo() == nil {
236 ms.StoreMessageInfo(mi)
237 }
238 return ms
239 }
240 return mi.MessageOf(x)
241 }
242
243 // Deprecated: Use GetDocumentRequest.ProtoReflect.Descriptor instead.
244 func (*GetDocumentRequest) Descriptor() ([]byte, []int) {
245 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP(), []int{2}
246 }
247
248 func (x *GetDocumentRequest) GetName() string {
249 if x != nil {
250 return x.Name
251 }
252 return ""
253 }
254
255 func (x *GetDocumentRequest) GetRequestMetadata() *RequestMetadata {
256 if x != nil {
257 return x.RequestMetadata
258 }
259 return nil
260 }
261
262 // Request message for DocumentService.UpdateDocument.
263 type UpdateDocumentRequest struct {
264 state protoimpl.MessageState
265 sizeCache protoimpl.SizeCache
266 unknownFields protoimpl.UnknownFields
267
268 // Required. The name of the document to update.
269 // Format:
270 // projects/{project_number}/locations/{location}/documents/{document_id}
271 // or
272 // projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
273 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
274 // Required. The document to update.
275 Document *Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
276 // The meta information collected about the end user, used to enforce access
277 // control for the service.
278 RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
279 // Request Option for processing Cloud AI Document in CW Document.
280 CloudAiDocumentOption *CloudAIDocumentOption `protobuf:"bytes,5,opt,name=cloud_ai_document_option,json=cloudAiDocumentOption,proto3" json:"cloud_ai_document_option,omitempty"`
281 // Options for the update operation.
282 UpdateOptions *UpdateOptions `protobuf:"bytes,6,opt,name=update_options,json=updateOptions,proto3" json:"update_options,omitempty"`
283 }
284
285 func (x *UpdateDocumentRequest) Reset() {
286 *x = UpdateDocumentRequest{}
287 if protoimpl.UnsafeEnabled {
288 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[3]
289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290 ms.StoreMessageInfo(mi)
291 }
292 }
293
294 func (x *UpdateDocumentRequest) String() string {
295 return protoimpl.X.MessageStringOf(x)
296 }
297
298 func (*UpdateDocumentRequest) ProtoMessage() {}
299
300 func (x *UpdateDocumentRequest) ProtoReflect() protoreflect.Message {
301 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[3]
302 if protoimpl.UnsafeEnabled && x != nil {
303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
304 if ms.LoadMessageInfo() == nil {
305 ms.StoreMessageInfo(mi)
306 }
307 return ms
308 }
309 return mi.MessageOf(x)
310 }
311
312 // Deprecated: Use UpdateDocumentRequest.ProtoReflect.Descriptor instead.
313 func (*UpdateDocumentRequest) Descriptor() ([]byte, []int) {
314 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP(), []int{3}
315 }
316
317 func (x *UpdateDocumentRequest) GetName() string {
318 if x != nil {
319 return x.Name
320 }
321 return ""
322 }
323
324 func (x *UpdateDocumentRequest) GetDocument() *Document {
325 if x != nil {
326 return x.Document
327 }
328 return nil
329 }
330
331 func (x *UpdateDocumentRequest) GetRequestMetadata() *RequestMetadata {
332 if x != nil {
333 return x.RequestMetadata
334 }
335 return nil
336 }
337
338 func (x *UpdateDocumentRequest) GetCloudAiDocumentOption() *CloudAIDocumentOption {
339 if x != nil {
340 return x.CloudAiDocumentOption
341 }
342 return nil
343 }
344
345 func (x *UpdateDocumentRequest) GetUpdateOptions() *UpdateOptions {
346 if x != nil {
347 return x.UpdateOptions
348 }
349 return nil
350 }
351
352 // Request message for DocumentService.DeleteDocument.
353 type DeleteDocumentRequest struct {
354 state protoimpl.MessageState
355 sizeCache protoimpl.SizeCache
356 unknownFields protoimpl.UnknownFields
357
358 // Required. The name of the document to delete.
359 // Format:
360 // projects/{project_number}/locations/{location}/documents/{document_id}
361 // or
362 // projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
363 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
364 // The meta information collected about the end user, used to enforce access
365 // control for the service.
366 RequestMetadata *RequestMetadata `protobuf:"bytes,2,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
367 }
368
369 func (x *DeleteDocumentRequest) Reset() {
370 *x = DeleteDocumentRequest{}
371 if protoimpl.UnsafeEnabled {
372 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[4]
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 ms.StoreMessageInfo(mi)
375 }
376 }
377
378 func (x *DeleteDocumentRequest) String() string {
379 return protoimpl.X.MessageStringOf(x)
380 }
381
382 func (*DeleteDocumentRequest) ProtoMessage() {}
383
384 func (x *DeleteDocumentRequest) ProtoReflect() protoreflect.Message {
385 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[4]
386 if protoimpl.UnsafeEnabled && x != nil {
387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
388 if ms.LoadMessageInfo() == nil {
389 ms.StoreMessageInfo(mi)
390 }
391 return ms
392 }
393 return mi.MessageOf(x)
394 }
395
396 // Deprecated: Use DeleteDocumentRequest.ProtoReflect.Descriptor instead.
397 func (*DeleteDocumentRequest) Descriptor() ([]byte, []int) {
398 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP(), []int{4}
399 }
400
401 func (x *DeleteDocumentRequest) GetName() string {
402 if x != nil {
403 return x.Name
404 }
405 return ""
406 }
407
408 func (x *DeleteDocumentRequest) GetRequestMetadata() *RequestMetadata {
409 if x != nil {
410 return x.RequestMetadata
411 }
412 return nil
413 }
414
415 // Request message for DocumentService.SearchDocuments.
416 type SearchDocumentsRequest struct {
417 state protoimpl.MessageState
418 sizeCache protoimpl.SizeCache
419 unknownFields protoimpl.UnknownFields
420
421 // Required. The parent, which owns this collection of documents.
422 // Format: projects/{project_number}/locations/{location}.
423 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
424 // The meta information collected about the end user, used to enforce access
425 // control and improve the search quality of the service.
426 RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
427 // Query used to search against documents (keyword, filters, etc.).
428 DocumentQuery *DocumentQuery `protobuf:"bytes,4,opt,name=document_query,json=documentQuery,proto3" json:"document_query,omitempty"`
429 // An integer that specifies the current offset (that is, starting result
430 // location, amongst the documents deemed by the API as relevant) in search
431 // results. This field is only considered if [page_token][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.page_token] is unset.
432 //
433 // The maximum allowed value is 5000. Otherwise an error is thrown.
434 //
435 // For example, 0 means to return results starting from the first matching
436 // document, and 10 means to return from the 11th document. This can be used
437 // for pagination, (for example, pageSize = 10 and offset = 10 means to return
438 // from the second page).
439 Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
440 // A limit on the number of documents returned in the search results.
441 // Increasing this value above the default value of 10 can increase search
442 // response time. The value can be between 1 and 100.
443 PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
444 // The token specifying the current offset within search results.
445 // See [SearchDocumentsResponse.next_page_token][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.next_page_token] for an explanation of how
446 // to obtain the next set of query results.
447 PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
448 // The criteria determining how search results are sorted. For non-empty
449 // query, default is `"relevance desc"`. For empty query, default is
450 // `"upload_date desc"`.
451 //
452 // Supported options are:
453 //
454 // - `"relevance desc"`: By relevance descending, as determined by the API
455 // algorithms.
456 // - `"upload_date desc"`: By upload date descending.
457 // - `"upload_date"`: By upload date ascending.
458 // - `"update_date desc"`: By last updated date descending.
459 // - `"update_date"`: By last updated date ascending.
460 OrderBy string `protobuf:"bytes,8,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
461 // An expression specifying a histogram request against matching
462 // documents. Expression syntax is an aggregation function call with
463 // histogram facets and other options.
464 //
465 // The following aggregation functions are supported:
466 //
467 // * `count(string_histogram_facet)`: Count the number of matching entities
468 // for each distinct attribute value.
469 //
470 // Data types:
471 //
472 // * Histogram facet (aka filterable properties): Facet names with format
473 // <schema id>.<facet>. Facets will have the
474 // format of: `[a-zA-Z][a-zA-Z0-9_:/-.]`. If the facet is a child
475 // facet, then the parent hierarchy needs to be specified separated by
476 // dots in the prefix after the schema id. Thus, the format for a multi-
477 // level facet is: <schema id>.<parent facet name>.
478 // <child facet name>. Example:
479 // schema123.root_parent_facet.middle_facet.child_facet
480 // * DocumentSchemaId: (with no schema id prefix) to get
481 // histograms for each document type (returns the schema id path, e.g.
482 // projects/12345/locations/us-west/documentSchemas/abc123).
483 //
484 // Example expression:
485 //
486 // - Document type counts:
487 // count('DocumentSchemaId')
488 //
489 // - For schema id, abc123, get the counts for MORTGAGE_TYPE:
490 // count('abc123.MORTGAGE_TYPE')
491 HistogramQueries []*HistogramQuery `protobuf:"bytes,9,rep,name=histogram_queries,json=histogramQueries,proto3" json:"histogram_queries,omitempty"`
492 // Optional. Controls if the search document request requires the return of a total size
493 // of matched documents. See [SearchDocumentsResponse.total_size][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.total_size].
494 //
495 // Enabling this flag may adversely impact performance. Hint: If this is
496 // used with pagination, set this flag on the initial query but set this
497 // to false on subsequent page calls (keep the total count locally).
498 //
499 // Defaults to false.
500 RequireTotalSize bool `protobuf:"varint,10,opt,name=require_total_size,json=requireTotalSize,proto3" json:"require_total_size,omitempty"`
501 // Experimental, do not use.
502 // The limit on the number of documents returned for the question-answering
503 // feature. To enable the question-answering feature, set
504 // [DocumentQuery].[is_nl_query][] to true.
505 QaSizeLimit int32 `protobuf:"varint,11,opt,name=qa_size_limit,json=qaSizeLimit,proto3" json:"qa_size_limit,omitempty"`
506 }
507
508 func (x *SearchDocumentsRequest) Reset() {
509 *x = SearchDocumentsRequest{}
510 if protoimpl.UnsafeEnabled {
511 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[5]
512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
513 ms.StoreMessageInfo(mi)
514 }
515 }
516
517 func (x *SearchDocumentsRequest) String() string {
518 return protoimpl.X.MessageStringOf(x)
519 }
520
521 func (*SearchDocumentsRequest) ProtoMessage() {}
522
523 func (x *SearchDocumentsRequest) ProtoReflect() protoreflect.Message {
524 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[5]
525 if protoimpl.UnsafeEnabled && x != nil {
526 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
527 if ms.LoadMessageInfo() == nil {
528 ms.StoreMessageInfo(mi)
529 }
530 return ms
531 }
532 return mi.MessageOf(x)
533 }
534
535 // Deprecated: Use SearchDocumentsRequest.ProtoReflect.Descriptor instead.
536 func (*SearchDocumentsRequest) Descriptor() ([]byte, []int) {
537 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP(), []int{5}
538 }
539
540 func (x *SearchDocumentsRequest) GetParent() string {
541 if x != nil {
542 return x.Parent
543 }
544 return ""
545 }
546
547 func (x *SearchDocumentsRequest) GetRequestMetadata() *RequestMetadata {
548 if x != nil {
549 return x.RequestMetadata
550 }
551 return nil
552 }
553
554 func (x *SearchDocumentsRequest) GetDocumentQuery() *DocumentQuery {
555 if x != nil {
556 return x.DocumentQuery
557 }
558 return nil
559 }
560
561 func (x *SearchDocumentsRequest) GetOffset() int32 {
562 if x != nil {
563 return x.Offset
564 }
565 return 0
566 }
567
568 func (x *SearchDocumentsRequest) GetPageSize() int32 {
569 if x != nil {
570 return x.PageSize
571 }
572 return 0
573 }
574
575 func (x *SearchDocumentsRequest) GetPageToken() string {
576 if x != nil {
577 return x.PageToken
578 }
579 return ""
580 }
581
582 func (x *SearchDocumentsRequest) GetOrderBy() string {
583 if x != nil {
584 return x.OrderBy
585 }
586 return ""
587 }
588
589 func (x *SearchDocumentsRequest) GetHistogramQueries() []*HistogramQuery {
590 if x != nil {
591 return x.HistogramQueries
592 }
593 return nil
594 }
595
596 func (x *SearchDocumentsRequest) GetRequireTotalSize() bool {
597 if x != nil {
598 return x.RequireTotalSize
599 }
600 return false
601 }
602
603 func (x *SearchDocumentsRequest) GetQaSizeLimit() int32 {
604 if x != nil {
605 return x.QaSizeLimit
606 }
607 return 0
608 }
609
610 // Request message for DocumentService.FetchAcl
611 type FetchAclRequest struct {
612 state protoimpl.MessageState
613 sizeCache protoimpl.SizeCache
614 unknownFields protoimpl.UnknownFields
615
616 // Required. REQUIRED: The resource for which the policy is being requested.
617 // Format for document:
618 // projects/{project_number}/locations/{location}/documents/{document_id}.
619 // Format for project: projects/{project_number}.
620 Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
621 // The meta information collected about the end user, used to enforce access
622 // control for the service.
623 RequestMetadata *RequestMetadata `protobuf:"bytes,2,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
624 // For Get Project ACL only. Authorization check for end user will be ignored
625 // when project_owner=true.
626 ProjectOwner bool `protobuf:"varint,3,opt,name=project_owner,json=projectOwner,proto3" json:"project_owner,omitempty"`
627 }
628
629 func (x *FetchAclRequest) Reset() {
630 *x = FetchAclRequest{}
631 if protoimpl.UnsafeEnabled {
632 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[6]
633 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
634 ms.StoreMessageInfo(mi)
635 }
636 }
637
638 func (x *FetchAclRequest) String() string {
639 return protoimpl.X.MessageStringOf(x)
640 }
641
642 func (*FetchAclRequest) ProtoMessage() {}
643
644 func (x *FetchAclRequest) ProtoReflect() protoreflect.Message {
645 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[6]
646 if protoimpl.UnsafeEnabled && x != nil {
647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
648 if ms.LoadMessageInfo() == nil {
649 ms.StoreMessageInfo(mi)
650 }
651 return ms
652 }
653 return mi.MessageOf(x)
654 }
655
656 // Deprecated: Use FetchAclRequest.ProtoReflect.Descriptor instead.
657 func (*FetchAclRequest) Descriptor() ([]byte, []int) {
658 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP(), []int{6}
659 }
660
661 func (x *FetchAclRequest) GetResource() string {
662 if x != nil {
663 return x.Resource
664 }
665 return ""
666 }
667
668 func (x *FetchAclRequest) GetRequestMetadata() *RequestMetadata {
669 if x != nil {
670 return x.RequestMetadata
671 }
672 return nil
673 }
674
675 func (x *FetchAclRequest) GetProjectOwner() bool {
676 if x != nil {
677 return x.ProjectOwner
678 }
679 return false
680 }
681
682 // Request message for DocumentService.SetAcl.
683 type SetAclRequest struct {
684 state protoimpl.MessageState
685 sizeCache protoimpl.SizeCache
686 unknownFields protoimpl.UnknownFields
687
688 // Required. REQUIRED: The resource for which the policy is being requested.
689 // Format for document:
690 // projects/{project_number}/locations/{location}/documents/{document_id}.
691 // Format for project: projects/{project_number}.
692 Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
693 // Required. REQUIRED: The complete policy to be applied to the `resource`. The size of
694 // the policy is limited to a few 10s of KB.
695 Policy *v1.Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
696 // The meta information collected about the end user, used to enforce access
697 // control for the service.
698 RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
699 // For Set Project ACL only. Authorization check for end user will be ignored
700 // when project_owner=true.
701 ProjectOwner bool `protobuf:"varint,4,opt,name=project_owner,json=projectOwner,proto3" json:"project_owner,omitempty"`
702 }
703
704 func (x *SetAclRequest) Reset() {
705 *x = SetAclRequest{}
706 if protoimpl.UnsafeEnabled {
707 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[7]
708 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
709 ms.StoreMessageInfo(mi)
710 }
711 }
712
713 func (x *SetAclRequest) String() string {
714 return protoimpl.X.MessageStringOf(x)
715 }
716
717 func (*SetAclRequest) ProtoMessage() {}
718
719 func (x *SetAclRequest) ProtoReflect() protoreflect.Message {
720 mi := &file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[7]
721 if protoimpl.UnsafeEnabled && x != nil {
722 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
723 if ms.LoadMessageInfo() == nil {
724 ms.StoreMessageInfo(mi)
725 }
726 return ms
727 }
728 return mi.MessageOf(x)
729 }
730
731 // Deprecated: Use SetAclRequest.ProtoReflect.Descriptor instead.
732 func (*SetAclRequest) Descriptor() ([]byte, []int) {
733 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP(), []int{7}
734 }
735
736 func (x *SetAclRequest) GetResource() string {
737 if x != nil {
738 return x.Resource
739 }
740 return ""
741 }
742
743 func (x *SetAclRequest) GetPolicy() *v1.Policy {
744 if x != nil {
745 return x.Policy
746 }
747 return nil
748 }
749
750 func (x *SetAclRequest) GetRequestMetadata() *RequestMetadata {
751 if x != nil {
752 return x.RequestMetadata
753 }
754 return nil
755 }
756
757 func (x *SetAclRequest) GetProjectOwner() bool {
758 if x != nil {
759 return x.ProjectOwner
760 }
761 return false
762 }
763
764 var File_google_cloud_contentwarehouse_v1_document_service_request_proto protoreflect.FileDescriptor
765
766 var file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDesc = []byte{
767 0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
768 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f,
769 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76,
770 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
771 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
772 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65,
773 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
774 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
775 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
776 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
777 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f,
778 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76,
779 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f,
780 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e,
781 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31,
782 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
783 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f,
784 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76,
785 0x31, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
786 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f,
787 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76,
788 0x31, 0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
789 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31,
790 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
791 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
792 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
793 0xf7, 0x02, 0x0a, 0x15, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x49, 0x44, 0x6f, 0x63, 0x75, 0x6d,
794 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x1b, 0x65, 0x6e, 0x61,
795 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x6e,
796 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19,
797 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x43, 0x6f,
798 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xc1, 0x01, 0x0a, 0x2a, 0x63, 0x75,
799 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65,
800 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x6e,
801 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x64,
802 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f,
803 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76,
804 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x49, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
805 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a,
806 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72,
807 0x74, 0x69, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45,
808 0x6e, 0x74, 0x72, 0x79, 0x52, 0x27, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64,
809 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,
810 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x5a, 0x0a,
811 0x2c, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74,
812 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x43, 0x6f, 0x6e,
813 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
814 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
815 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
816 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xea, 0x03, 0x0a, 0x15, 0x43, 0x72,
817 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
818 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
819 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e,
820 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f,
821 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63,
822 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4b, 0x0a,
823 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
824 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
825 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
826 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02,
827 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a, 0x10, 0x72, 0x65,
828 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03,
829 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
830 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68,
831 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d,
832 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
833 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69,
834 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
835 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
836 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x70, 0x0a, 0x18, 0x63, 0x6c, 0x6f, 0x75, 0x64,
837 0x5f, 0x61, 0x69, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x70, 0x74,
838 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
839 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
840 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f,
841 0x75, 0x64, 0x41, 0x49, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69,
842 0x6f, 0x6e, 0x52, 0x15, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x69, 0x44, 0x6f, 0x63, 0x75, 0x6d,
843 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65,
844 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
845 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
846 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
847 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xb8, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x44, 0x6f,
848 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a,
849 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02,
850 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65,
851 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
852 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e,
853 0x61, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d,
854 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e,
855 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
856 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
857 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
858 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
859 0x61, 0x22, 0xd2, 0x03, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75,
860 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x04, 0x6e,
861 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41,
862 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f,
863 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
864 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d,
865 0x65, 0x12, 0x4b, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
866 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
867 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f,
868 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42,
869 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5c,
870 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
871 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
872 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77,
873 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75,
874 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71,
875 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x70, 0x0a, 0x18,
876 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x61, 0x69, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
877 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37,
878 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f,
879 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76,
880 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x49, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
881 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x15, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x69,
882 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56,
883 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
884 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
885 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72,
886 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
887 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f,
888 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74,
889 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
890 0x12, 0x44, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30,
891 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77,
892 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
893 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
894 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
895 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
896 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
897 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65,
898 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64,
899 0x61, 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61,
900 0x64, 0x61, 0x74, 0x61, 0x22, 0xb8, 0x04, 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44,
901 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
902 0x48, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
903 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
904 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
905 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
906 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a, 0x10, 0x72, 0x65, 0x71,
907 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
908 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
909 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f,
910 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65,
911 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d,
912 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x56, 0x0a, 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d,
913 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
914 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
915 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
916 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79,
917 0x52, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12,
918 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
919 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,
920 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
921 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
922 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f,
923 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18,
924 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x5d,
925 0x0a, 0x11, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72,
926 0x69, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
927 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
928 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x69, 0x73,
929 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x10, 0x68, 0x69, 0x73,
930 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2c, 0x0a,
931 0x12, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73,
932 0x69, 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69,
933 0x72, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x71,
934 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01,
935 0x28, 0x05, 0x52, 0x0b, 0x71, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22,
936 0xb5, 0x01, 0x0a, 0x0f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75,
937 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18,
938 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f,
939 0x75, 0x72, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f,
940 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31,
941 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f,
942 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76,
943 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
944 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
945 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6f, 0x77,
946 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x6a, 0x65,
947 0x63, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0xe7, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x41,
948 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x72, 0x65, 0x73,
949 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
950 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x70, 0x6f,
951 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f,
952 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
953 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x5c,
954 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
955 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
956 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77,
957 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75,
958 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71,
959 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d,
960 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20,
961 0x01, 0x28, 0x08, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4f, 0x77, 0x6e, 0x65,
962 0x72, 0x42, 0x97, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
963 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61,
964 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x1b, 0x44, 0x6f, 0x63, 0x75,
965 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
966 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
967 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
968 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
969 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61,
970 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x65,
971 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
972 0x74, 0x6f, 0x33,
973 }
974
975 var (
976 file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescOnce sync.Once
977 file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescData = file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDesc
978 )
979
980 func file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescGZIP() []byte {
981 file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescOnce.Do(func() {
982 file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescData)
983 })
984 return file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDescData
985 }
986
987 var file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
988 var file_google_cloud_contentwarehouse_v1_document_service_request_proto_goTypes = []interface{}{
989 (*CloudAIDocumentOption)(nil), // 0: google.cloud.contentwarehouse.v1.CloudAIDocumentOption
990 (*CreateDocumentRequest)(nil), // 1: google.cloud.contentwarehouse.v1.CreateDocumentRequest
991 (*GetDocumentRequest)(nil), // 2: google.cloud.contentwarehouse.v1.GetDocumentRequest
992 (*UpdateDocumentRequest)(nil), // 3: google.cloud.contentwarehouse.v1.UpdateDocumentRequest
993 (*DeleteDocumentRequest)(nil), // 4: google.cloud.contentwarehouse.v1.DeleteDocumentRequest
994 (*SearchDocumentsRequest)(nil), // 5: google.cloud.contentwarehouse.v1.SearchDocumentsRequest
995 (*FetchAclRequest)(nil), // 6: google.cloud.contentwarehouse.v1.FetchAclRequest
996 (*SetAclRequest)(nil), // 7: google.cloud.contentwarehouse.v1.SetAclRequest
997 nil, // 8: google.cloud.contentwarehouse.v1.CloudAIDocumentOption.CustomizedEntitiesPropertiesConversionsEntry
998 (*Document)(nil), // 9: google.cloud.contentwarehouse.v1.Document
999 (*RequestMetadata)(nil), // 10: google.cloud.contentwarehouse.v1.RequestMetadata
1000 (*v1.Policy)(nil), // 11: google.iam.v1.Policy
1001 (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask
1002 (*UpdateOptions)(nil), // 13: google.cloud.contentwarehouse.v1.UpdateOptions
1003 (*DocumentQuery)(nil), // 14: google.cloud.contentwarehouse.v1.DocumentQuery
1004 (*HistogramQuery)(nil), // 15: google.cloud.contentwarehouse.v1.HistogramQuery
1005 }
1006 var file_google_cloud_contentwarehouse_v1_document_service_request_proto_depIdxs = []int32{
1007 8, // 0: google.cloud.contentwarehouse.v1.CloudAIDocumentOption.customized_entities_properties_conversions:type_name -> google.cloud.contentwarehouse.v1.CloudAIDocumentOption.CustomizedEntitiesPropertiesConversionsEntry
1008 9, // 1: google.cloud.contentwarehouse.v1.CreateDocumentRequest.document:type_name -> google.cloud.contentwarehouse.v1.Document
1009 10, // 2: google.cloud.contentwarehouse.v1.CreateDocumentRequest.request_metadata:type_name -> google.cloud.contentwarehouse.v1.RequestMetadata
1010 11, // 3: google.cloud.contentwarehouse.v1.CreateDocumentRequest.policy:type_name -> google.iam.v1.Policy
1011 0, // 4: google.cloud.contentwarehouse.v1.CreateDocumentRequest.cloud_ai_document_option:type_name -> google.cloud.contentwarehouse.v1.CloudAIDocumentOption
1012 12, // 5: google.cloud.contentwarehouse.v1.CreateDocumentRequest.create_mask:type_name -> google.protobuf.FieldMask
1013 10, // 6: google.cloud.contentwarehouse.v1.GetDocumentRequest.request_metadata:type_name -> google.cloud.contentwarehouse.v1.RequestMetadata
1014 9, // 7: google.cloud.contentwarehouse.v1.UpdateDocumentRequest.document:type_name -> google.cloud.contentwarehouse.v1.Document
1015 10, // 8: google.cloud.contentwarehouse.v1.UpdateDocumentRequest.request_metadata:type_name -> google.cloud.contentwarehouse.v1.RequestMetadata
1016 0, // 9: google.cloud.contentwarehouse.v1.UpdateDocumentRequest.cloud_ai_document_option:type_name -> google.cloud.contentwarehouse.v1.CloudAIDocumentOption
1017 13, // 10: google.cloud.contentwarehouse.v1.UpdateDocumentRequest.update_options:type_name -> google.cloud.contentwarehouse.v1.UpdateOptions
1018 10, // 11: google.cloud.contentwarehouse.v1.DeleteDocumentRequest.request_metadata:type_name -> google.cloud.contentwarehouse.v1.RequestMetadata
1019 10, // 12: google.cloud.contentwarehouse.v1.SearchDocumentsRequest.request_metadata:type_name -> google.cloud.contentwarehouse.v1.RequestMetadata
1020 14, // 13: google.cloud.contentwarehouse.v1.SearchDocumentsRequest.document_query:type_name -> google.cloud.contentwarehouse.v1.DocumentQuery
1021 15, // 14: google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries:type_name -> google.cloud.contentwarehouse.v1.HistogramQuery
1022 10, // 15: google.cloud.contentwarehouse.v1.FetchAclRequest.request_metadata:type_name -> google.cloud.contentwarehouse.v1.RequestMetadata
1023 11, // 16: google.cloud.contentwarehouse.v1.SetAclRequest.policy:type_name -> google.iam.v1.Policy
1024 10, // 17: google.cloud.contentwarehouse.v1.SetAclRequest.request_metadata:type_name -> google.cloud.contentwarehouse.v1.RequestMetadata
1025 18, // [18:18] is the sub-list for method output_type
1026 18, // [18:18] is the sub-list for method input_type
1027 18, // [18:18] is the sub-list for extension type_name
1028 18, // [18:18] is the sub-list for extension extendee
1029 0, // [0:18] is the sub-list for field type_name
1030 }
1031
1032 func init() { file_google_cloud_contentwarehouse_v1_document_service_request_proto_init() }
1033 func file_google_cloud_contentwarehouse_v1_document_service_request_proto_init() {
1034 if File_google_cloud_contentwarehouse_v1_document_service_request_proto != nil {
1035 return
1036 }
1037 file_google_cloud_contentwarehouse_v1_common_proto_init()
1038 file_google_cloud_contentwarehouse_v1_document_proto_init()
1039 file_google_cloud_contentwarehouse_v1_filters_proto_init()
1040 file_google_cloud_contentwarehouse_v1_histogram_proto_init()
1041 if !protoimpl.UnsafeEnabled {
1042 file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1043 switch v := v.(*CloudAIDocumentOption); i {
1044 case 0:
1045 return &v.state
1046 case 1:
1047 return &v.sizeCache
1048 case 2:
1049 return &v.unknownFields
1050 default:
1051 return nil
1052 }
1053 }
1054 file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1055 switch v := v.(*CreateDocumentRequest); i {
1056 case 0:
1057 return &v.state
1058 case 1:
1059 return &v.sizeCache
1060 case 2:
1061 return &v.unknownFields
1062 default:
1063 return nil
1064 }
1065 }
1066 file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1067 switch v := v.(*GetDocumentRequest); i {
1068 case 0:
1069 return &v.state
1070 case 1:
1071 return &v.sizeCache
1072 case 2:
1073 return &v.unknownFields
1074 default:
1075 return nil
1076 }
1077 }
1078 file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1079 switch v := v.(*UpdateDocumentRequest); i {
1080 case 0:
1081 return &v.state
1082 case 1:
1083 return &v.sizeCache
1084 case 2:
1085 return &v.unknownFields
1086 default:
1087 return nil
1088 }
1089 }
1090 file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1091 switch v := v.(*DeleteDocumentRequest); i {
1092 case 0:
1093 return &v.state
1094 case 1:
1095 return &v.sizeCache
1096 case 2:
1097 return &v.unknownFields
1098 default:
1099 return nil
1100 }
1101 }
1102 file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1103 switch v := v.(*SearchDocumentsRequest); i {
1104 case 0:
1105 return &v.state
1106 case 1:
1107 return &v.sizeCache
1108 case 2:
1109 return &v.unknownFields
1110 default:
1111 return nil
1112 }
1113 }
1114 file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1115 switch v := v.(*FetchAclRequest); i {
1116 case 0:
1117 return &v.state
1118 case 1:
1119 return &v.sizeCache
1120 case 2:
1121 return &v.unknownFields
1122 default:
1123 return nil
1124 }
1125 }
1126 file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1127 switch v := v.(*SetAclRequest); i {
1128 case 0:
1129 return &v.state
1130 case 1:
1131 return &v.sizeCache
1132 case 2:
1133 return &v.unknownFields
1134 default:
1135 return nil
1136 }
1137 }
1138 }
1139 type x struct{}
1140 out := protoimpl.TypeBuilder{
1141 File: protoimpl.DescBuilder{
1142 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1143 RawDescriptor: file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDesc,
1144 NumEnums: 0,
1145 NumMessages: 9,
1146 NumExtensions: 0,
1147 NumServices: 0,
1148 },
1149 GoTypes: file_google_cloud_contentwarehouse_v1_document_service_request_proto_goTypes,
1150 DependencyIndexes: file_google_cloud_contentwarehouse_v1_document_service_request_proto_depIdxs,
1151 MessageInfos: file_google_cloud_contentwarehouse_v1_document_service_request_proto_msgTypes,
1152 }.Build()
1153 File_google_cloud_contentwarehouse_v1_document_service_request_proto = out.File
1154 file_google_cloud_contentwarehouse_v1_document_service_request_proto_rawDesc = nil
1155 file_google_cloud_contentwarehouse_v1_document_service_request_proto_goTypes = nil
1156 file_google_cloud_contentwarehouse_v1_document_service_request_proto_depIdxs = nil
1157 }