1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package contentwarehouse
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 grpc "google.golang.org/grpc"
30 codes "google.golang.org/grpc/codes"
31 status "google.golang.org/grpc/status"
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 emptypb "google.golang.org/protobuf/types/known/emptypb"
35 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
36 )
37
38 const (
39
40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
41
42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
43 )
44
45
46 type DocumentLink_State int32
47
48 const (
49
50 DocumentLink_STATE_UNSPECIFIED DocumentLink_State = 0
51
52 DocumentLink_ACTIVE DocumentLink_State = 1
53
54 DocumentLink_SOFT_DELETED DocumentLink_State = 2
55 )
56
57
58 var (
59 DocumentLink_State_name = map[int32]string{
60 0: "STATE_UNSPECIFIED",
61 1: "ACTIVE",
62 2: "SOFT_DELETED",
63 }
64 DocumentLink_State_value = map[string]int32{
65 "STATE_UNSPECIFIED": 0,
66 "ACTIVE": 1,
67 "SOFT_DELETED": 2,
68 }
69 )
70
71 func (x DocumentLink_State) Enum() *DocumentLink_State {
72 p := new(DocumentLink_State)
73 *p = x
74 return p
75 }
76
77 func (x DocumentLink_State) String() string {
78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
79 }
80
81 func (DocumentLink_State) Descriptor() protoreflect.EnumDescriptor {
82 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_enumTypes[0].Descriptor()
83 }
84
85 func (DocumentLink_State) Type() protoreflect.EnumType {
86 return &file_google_cloud_contentwarehouse_v1_document_link_service_proto_enumTypes[0]
87 }
88
89 func (x DocumentLink_State) Number() protoreflect.EnumNumber {
90 return protoreflect.EnumNumber(x)
91 }
92
93
94 func (DocumentLink_State) EnumDescriptor() ([]byte, []int) {
95 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP(), []int{4, 0}
96 }
97
98
99 type ListLinkedTargetsResponse struct {
100 state protoimpl.MessageState
101 sizeCache protoimpl.SizeCache
102 unknownFields protoimpl.UnknownFields
103
104
105 DocumentLinks []*DocumentLink `protobuf:"bytes,1,rep,name=document_links,json=documentLinks,proto3" json:"document_links,omitempty"`
106
107
108 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
109 }
110
111 func (x *ListLinkedTargetsResponse) Reset() {
112 *x = ListLinkedTargetsResponse{}
113 if protoimpl.UnsafeEnabled {
114 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[0]
115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116 ms.StoreMessageInfo(mi)
117 }
118 }
119
120 func (x *ListLinkedTargetsResponse) String() string {
121 return protoimpl.X.MessageStringOf(x)
122 }
123
124 func (*ListLinkedTargetsResponse) ProtoMessage() {}
125
126 func (x *ListLinkedTargetsResponse) ProtoReflect() protoreflect.Message {
127 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[0]
128 if protoimpl.UnsafeEnabled && x != nil {
129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
130 if ms.LoadMessageInfo() == nil {
131 ms.StoreMessageInfo(mi)
132 }
133 return ms
134 }
135 return mi.MessageOf(x)
136 }
137
138
139 func (*ListLinkedTargetsResponse) Descriptor() ([]byte, []int) {
140 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP(), []int{0}
141 }
142
143 func (x *ListLinkedTargetsResponse) GetDocumentLinks() []*DocumentLink {
144 if x != nil {
145 return x.DocumentLinks
146 }
147 return nil
148 }
149
150 func (x *ListLinkedTargetsResponse) GetNextPageToken() string {
151 if x != nil {
152 return x.NextPageToken
153 }
154 return ""
155 }
156
157
158 type ListLinkedTargetsRequest struct {
159 state protoimpl.MessageState
160 sizeCache protoimpl.SizeCache
161 unknownFields protoimpl.UnknownFields
162
163
164
165
166 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
167
168
169 RequestMetadata *RequestMetadata `protobuf:"bytes,2,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
170 }
171
172 func (x *ListLinkedTargetsRequest) Reset() {
173 *x = ListLinkedTargetsRequest{}
174 if protoimpl.UnsafeEnabled {
175 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[1]
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 ms.StoreMessageInfo(mi)
178 }
179 }
180
181 func (x *ListLinkedTargetsRequest) String() string {
182 return protoimpl.X.MessageStringOf(x)
183 }
184
185 func (*ListLinkedTargetsRequest) ProtoMessage() {}
186
187 func (x *ListLinkedTargetsRequest) ProtoReflect() protoreflect.Message {
188 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[1]
189 if protoimpl.UnsafeEnabled && x != nil {
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 if ms.LoadMessageInfo() == nil {
192 ms.StoreMessageInfo(mi)
193 }
194 return ms
195 }
196 return mi.MessageOf(x)
197 }
198
199
200 func (*ListLinkedTargetsRequest) Descriptor() ([]byte, []int) {
201 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP(), []int{1}
202 }
203
204 func (x *ListLinkedTargetsRequest) GetParent() string {
205 if x != nil {
206 return x.Parent
207 }
208 return ""
209 }
210
211 func (x *ListLinkedTargetsRequest) GetRequestMetadata() *RequestMetadata {
212 if x != nil {
213 return x.RequestMetadata
214 }
215 return nil
216 }
217
218
219 type ListLinkedSourcesResponse struct {
220 state protoimpl.MessageState
221 sizeCache protoimpl.SizeCache
222 unknownFields protoimpl.UnknownFields
223
224
225 DocumentLinks []*DocumentLink `protobuf:"bytes,1,rep,name=document_links,json=documentLinks,proto3" json:"document_links,omitempty"`
226
227
228 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
229 }
230
231 func (x *ListLinkedSourcesResponse) Reset() {
232 *x = ListLinkedSourcesResponse{}
233 if protoimpl.UnsafeEnabled {
234 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[2]
235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
236 ms.StoreMessageInfo(mi)
237 }
238 }
239
240 func (x *ListLinkedSourcesResponse) String() string {
241 return protoimpl.X.MessageStringOf(x)
242 }
243
244 func (*ListLinkedSourcesResponse) ProtoMessage() {}
245
246 func (x *ListLinkedSourcesResponse) ProtoReflect() protoreflect.Message {
247 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[2]
248 if protoimpl.UnsafeEnabled && x != nil {
249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
250 if ms.LoadMessageInfo() == nil {
251 ms.StoreMessageInfo(mi)
252 }
253 return ms
254 }
255 return mi.MessageOf(x)
256 }
257
258
259 func (*ListLinkedSourcesResponse) Descriptor() ([]byte, []int) {
260 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP(), []int{2}
261 }
262
263 func (x *ListLinkedSourcesResponse) GetDocumentLinks() []*DocumentLink {
264 if x != nil {
265 return x.DocumentLinks
266 }
267 return nil
268 }
269
270 func (x *ListLinkedSourcesResponse) GetNextPageToken() string {
271 if x != nil {
272 return x.NextPageToken
273 }
274 return ""
275 }
276
277
278 type ListLinkedSourcesRequest struct {
279 state protoimpl.MessageState
280 sizeCache protoimpl.SizeCache
281 unknownFields protoimpl.UnknownFields
282
283
284
285
286 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
287
288
289
290
291
292 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
293
294
295
296
297
298 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
299
300
301 RequestMetadata *RequestMetadata `protobuf:"bytes,2,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
302 }
303
304 func (x *ListLinkedSourcesRequest) Reset() {
305 *x = ListLinkedSourcesRequest{}
306 if protoimpl.UnsafeEnabled {
307 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[3]
308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309 ms.StoreMessageInfo(mi)
310 }
311 }
312
313 func (x *ListLinkedSourcesRequest) String() string {
314 return protoimpl.X.MessageStringOf(x)
315 }
316
317 func (*ListLinkedSourcesRequest) ProtoMessage() {}
318
319 func (x *ListLinkedSourcesRequest) ProtoReflect() protoreflect.Message {
320 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[3]
321 if protoimpl.UnsafeEnabled && x != nil {
322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
323 if ms.LoadMessageInfo() == nil {
324 ms.StoreMessageInfo(mi)
325 }
326 return ms
327 }
328 return mi.MessageOf(x)
329 }
330
331
332 func (*ListLinkedSourcesRequest) Descriptor() ([]byte, []int) {
333 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP(), []int{3}
334 }
335
336 func (x *ListLinkedSourcesRequest) GetParent() string {
337 if x != nil {
338 return x.Parent
339 }
340 return ""
341 }
342
343 func (x *ListLinkedSourcesRequest) GetPageSize() int32 {
344 if x != nil {
345 return x.PageSize
346 }
347 return 0
348 }
349
350 func (x *ListLinkedSourcesRequest) GetPageToken() string {
351 if x != nil {
352 return x.PageToken
353 }
354 return ""
355 }
356
357 func (x *ListLinkedSourcesRequest) GetRequestMetadata() *RequestMetadata {
358 if x != nil {
359 return x.RequestMetadata
360 }
361 return nil
362 }
363
364
365 type DocumentLink struct {
366 state protoimpl.MessageState
367 sizeCache protoimpl.SizeCache
368 unknownFields protoimpl.UnknownFields
369
370
371
372
373
374
375 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
376
377 SourceDocumentReference *DocumentReference `protobuf:"bytes,2,opt,name=source_document_reference,json=sourceDocumentReference,proto3" json:"source_document_reference,omitempty"`
378
379 TargetDocumentReference *DocumentReference `protobuf:"bytes,3,opt,name=target_document_reference,json=targetDocumentReference,proto3" json:"target_document_reference,omitempty"`
380
381 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
382
383 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
384
385 CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
386
387
388
389 State DocumentLink_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.contentwarehouse.v1.DocumentLink_State" json:"state,omitempty"`
390 }
391
392 func (x *DocumentLink) Reset() {
393 *x = DocumentLink{}
394 if protoimpl.UnsafeEnabled {
395 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[4]
396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
397 ms.StoreMessageInfo(mi)
398 }
399 }
400
401 func (x *DocumentLink) String() string {
402 return protoimpl.X.MessageStringOf(x)
403 }
404
405 func (*DocumentLink) ProtoMessage() {}
406
407 func (x *DocumentLink) ProtoReflect() protoreflect.Message {
408 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[4]
409 if protoimpl.UnsafeEnabled && x != nil {
410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
411 if ms.LoadMessageInfo() == nil {
412 ms.StoreMessageInfo(mi)
413 }
414 return ms
415 }
416 return mi.MessageOf(x)
417 }
418
419
420 func (*DocumentLink) Descriptor() ([]byte, []int) {
421 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP(), []int{4}
422 }
423
424 func (x *DocumentLink) GetName() string {
425 if x != nil {
426 return x.Name
427 }
428 return ""
429 }
430
431 func (x *DocumentLink) GetSourceDocumentReference() *DocumentReference {
432 if x != nil {
433 return x.SourceDocumentReference
434 }
435 return nil
436 }
437
438 func (x *DocumentLink) GetTargetDocumentReference() *DocumentReference {
439 if x != nil {
440 return x.TargetDocumentReference
441 }
442 return nil
443 }
444
445 func (x *DocumentLink) GetDescription() string {
446 if x != nil {
447 return x.Description
448 }
449 return ""
450 }
451
452 func (x *DocumentLink) GetUpdateTime() *timestamppb.Timestamp {
453 if x != nil {
454 return x.UpdateTime
455 }
456 return nil
457 }
458
459 func (x *DocumentLink) GetCreateTime() *timestamppb.Timestamp {
460 if x != nil {
461 return x.CreateTime
462 }
463 return nil
464 }
465
466 func (x *DocumentLink) GetState() DocumentLink_State {
467 if x != nil {
468 return x.State
469 }
470 return DocumentLink_STATE_UNSPECIFIED
471 }
472
473
474 type CreateDocumentLinkRequest struct {
475 state protoimpl.MessageState
476 sizeCache protoimpl.SizeCache
477 unknownFields protoimpl.UnknownFields
478
479
480
481
482
483 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
484
485 DocumentLink *DocumentLink `protobuf:"bytes,2,opt,name=document_link,json=documentLink,proto3" json:"document_link,omitempty"`
486
487
488 RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
489 }
490
491 func (x *CreateDocumentLinkRequest) Reset() {
492 *x = CreateDocumentLinkRequest{}
493 if protoimpl.UnsafeEnabled {
494 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[5]
495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
496 ms.StoreMessageInfo(mi)
497 }
498 }
499
500 func (x *CreateDocumentLinkRequest) String() string {
501 return protoimpl.X.MessageStringOf(x)
502 }
503
504 func (*CreateDocumentLinkRequest) ProtoMessage() {}
505
506 func (x *CreateDocumentLinkRequest) ProtoReflect() protoreflect.Message {
507 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[5]
508 if protoimpl.UnsafeEnabled && x != nil {
509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
510 if ms.LoadMessageInfo() == nil {
511 ms.StoreMessageInfo(mi)
512 }
513 return ms
514 }
515 return mi.MessageOf(x)
516 }
517
518
519 func (*CreateDocumentLinkRequest) Descriptor() ([]byte, []int) {
520 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP(), []int{5}
521 }
522
523 func (x *CreateDocumentLinkRequest) GetParent() string {
524 if x != nil {
525 return x.Parent
526 }
527 return ""
528 }
529
530 func (x *CreateDocumentLinkRequest) GetDocumentLink() *DocumentLink {
531 if x != nil {
532 return x.DocumentLink
533 }
534 return nil
535 }
536
537 func (x *CreateDocumentLinkRequest) GetRequestMetadata() *RequestMetadata {
538 if x != nil {
539 return x.RequestMetadata
540 }
541 return nil
542 }
543
544
545 type DeleteDocumentLinkRequest struct {
546 state protoimpl.MessageState
547 sizeCache protoimpl.SizeCache
548 unknownFields protoimpl.UnknownFields
549
550
551
552
553 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
554
555
556 RequestMetadata *RequestMetadata `protobuf:"bytes,2,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
557 }
558
559 func (x *DeleteDocumentLinkRequest) Reset() {
560 *x = DeleteDocumentLinkRequest{}
561 if protoimpl.UnsafeEnabled {
562 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[6]
563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
564 ms.StoreMessageInfo(mi)
565 }
566 }
567
568 func (x *DeleteDocumentLinkRequest) String() string {
569 return protoimpl.X.MessageStringOf(x)
570 }
571
572 func (*DeleteDocumentLinkRequest) ProtoMessage() {}
573
574 func (x *DeleteDocumentLinkRequest) ProtoReflect() protoreflect.Message {
575 mi := &file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[6]
576 if protoimpl.UnsafeEnabled && x != nil {
577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
578 if ms.LoadMessageInfo() == nil {
579 ms.StoreMessageInfo(mi)
580 }
581 return ms
582 }
583 return mi.MessageOf(x)
584 }
585
586
587 func (*DeleteDocumentLinkRequest) Descriptor() ([]byte, []int) {
588 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP(), []int{6}
589 }
590
591 func (x *DeleteDocumentLinkRequest) GetName() string {
592 if x != nil {
593 return x.Name
594 }
595 return ""
596 }
597
598 func (x *DeleteDocumentLinkRequest) GetRequestMetadata() *RequestMetadata {
599 if x != nil {
600 return x.RequestMetadata
601 }
602 return nil
603 }
604
605 var File_google_cloud_contentwarehouse_v1_document_link_service_proto protoreflect.FileDescriptor
606
607 var file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDesc = []byte{
608 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
609 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f,
610 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b,
611 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20,
612 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
613 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
614 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
615 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
616 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
617 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
618 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
619 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
620 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
621 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
622 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75,
623 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
624 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
625 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73,
626 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72,
627 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
628 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
629 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
630 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
631 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64,
632 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
633 0x55, 0x0a, 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b,
634 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
635 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61,
636 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d,
637 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
638 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70,
639 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
640 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc2,
641 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x61, 0x72,
642 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x70,
643 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02,
644 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65,
645 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
646 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70,
647 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
648 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
649 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
650 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
651 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
652 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64,
653 0x61, 0x74, 0x61, 0x22, 0x9a, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
654 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
655 0x65, 0x12, 0x55, 0x0a, 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69,
656 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
657 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
658 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63,
659 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d,
660 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
661 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
662 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
663 0x22, 0xfe, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x53,
664 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a,
665 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0,
666 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61,
667 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
668 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52,
669 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,
670 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
671 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
672 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f,
673 0x6b, 0x65, 0x6e, 0x12, 0x5c, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d,
674 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e,
675 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
676 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
677 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
678 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
679 0x61, 0x22, 0xc5, 0x05, 0x0a, 0x0c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69,
680 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
681 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6f, 0x0a, 0x19, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
682 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
683 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
684 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
685 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63,
686 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x17,
687 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
688 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x19, 0x74, 0x61, 0x72, 0x67, 0x65,
689 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72,
690 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f,
691 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
692 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f,
693 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52,
694 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52,
695 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
696 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
697 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70,
698 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
699 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
700 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03,
701 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b,
702 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
703 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
704 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
705 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4a,
706 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e,
707 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
708 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
709 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x2e, 0x53, 0x74,
710 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x3c, 0x0a, 0x05, 0x53, 0x74,
711 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53,
712 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43,
713 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x4f, 0x46, 0x54, 0x5f, 0x44,
714 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x8e, 0x01, 0xea, 0x41, 0x8a, 0x01, 0x0a,
715 0x2c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73,
716 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
717 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x5a, 0x70,
718 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
719 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63,
720 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73,
721 0x2f, 0x7b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75,
722 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x7b, 0x64, 0x6f, 0x63, 0x75, 0x6d,
723 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x7d, 0x22, 0x9d, 0x02, 0x0a, 0x19, 0x43, 0x72,
724 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
725 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
726 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a,
727 0x28, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73,
728 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
729 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
730 0x74, 0x12, 0x58, 0x0a, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69,
731 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
732 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77,
733 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75,
734 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x64,
735 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x5c, 0x0a, 0x10, 0x72,
736 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18,
737 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
738 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65,
739 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
740 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
741 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc3, 0x01, 0x0a, 0x19, 0x44, 0x65,
742 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
743 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
744 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x63,
745 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
746 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44,
747 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d,
748 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74,
749 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f,
750 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65,
751 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
752 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f,
753 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32,
754 0xd7, 0x07, 0x0a, 0x13, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
755 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xdf, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74,
756 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x3a, 0x2e,
757 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
758 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
759 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65,
760 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
761 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
762 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
763 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65,
764 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x22, 0x3d,
765 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
766 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
767 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
768 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x3a, 0x01, 0x2a,
769 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xdf, 0x01, 0x0a, 0x11, 0x4c, 0x69,
770 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12,
771 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
772 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
773 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x53, 0x6f, 0x75,
774 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x6f,
775 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65,
776 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
777 0x69, 0x73, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
778 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42,
779 0x22, 0x3d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
780 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
781 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a,
782 0x7d, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3a,
783 0x01, 0x2a, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xe2, 0x01, 0x0a, 0x12,
784 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69,
785 0x6e, 0x6b, 0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
786 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75,
787 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75,
788 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
789 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
790 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
791 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x22,
792 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x22, 0x3d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,
793 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
794 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75,
795 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
796 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x14, 0x70, 0x61, 0x72, 0x65,
797 0x6e, 0x74, 0x2c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b,
798 0x12, 0xc1, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d,
799 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
800 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61,
801 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
802 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71,
803 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
804 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x56, 0x82, 0xd3,
805 0xe4, 0x93, 0x02, 0x49, 0x22, 0x44, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
806 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
807 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73,
808 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x73,
809 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04,
810 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x53, 0xca, 0x41, 0x1f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
811 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
812 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73,
813 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
814 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
815 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x94, 0x01, 0x0a, 0x24, 0x63, 0x6f,
816 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
817 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e,
818 0x76, 0x31, 0x42, 0x18, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
819 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50,
820 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
821 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
822 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
823 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b,
824 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65,
825 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
826 }
827
828 var (
829 file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescOnce sync.Once
830 file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescData = file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDesc
831 )
832
833 func file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescGZIP() []byte {
834 file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescOnce.Do(func() {
835 file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescData)
836 })
837 return file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDescData
838 }
839
840 var file_google_cloud_contentwarehouse_v1_document_link_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
841 var file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
842 var file_google_cloud_contentwarehouse_v1_document_link_service_proto_goTypes = []interface{}{
843 (DocumentLink_State)(0),
844 (*ListLinkedTargetsResponse)(nil),
845 (*ListLinkedTargetsRequest)(nil),
846 (*ListLinkedSourcesResponse)(nil),
847 (*ListLinkedSourcesRequest)(nil),
848 (*DocumentLink)(nil),
849 (*CreateDocumentLinkRequest)(nil),
850 (*DeleteDocumentLinkRequest)(nil),
851 (*RequestMetadata)(nil),
852 (*DocumentReference)(nil),
853 (*timestamppb.Timestamp)(nil),
854 (*emptypb.Empty)(nil),
855 }
856 var file_google_cloud_contentwarehouse_v1_document_link_service_proto_depIdxs = []int32{
857 5,
858 8,
859 5,
860 8,
861 9,
862 9,
863 10,
864 10,
865 0,
866 5,
867 8,
868 8,
869 2,
870 4,
871 6,
872 7,
873 1,
874 3,
875 5,
876 11,
877 16,
878 12,
879 12,
880 12,
881 0,
882 }
883
884 func init() { file_google_cloud_contentwarehouse_v1_document_link_service_proto_init() }
885 func file_google_cloud_contentwarehouse_v1_document_link_service_proto_init() {
886 if File_google_cloud_contentwarehouse_v1_document_link_service_proto != nil {
887 return
888 }
889 file_google_cloud_contentwarehouse_v1_common_proto_init()
890 file_google_cloud_contentwarehouse_v1_document_proto_init()
891 if !protoimpl.UnsafeEnabled {
892 file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
893 switch v := v.(*ListLinkedTargetsResponse); i {
894 case 0:
895 return &v.state
896 case 1:
897 return &v.sizeCache
898 case 2:
899 return &v.unknownFields
900 default:
901 return nil
902 }
903 }
904 file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
905 switch v := v.(*ListLinkedTargetsRequest); i {
906 case 0:
907 return &v.state
908 case 1:
909 return &v.sizeCache
910 case 2:
911 return &v.unknownFields
912 default:
913 return nil
914 }
915 }
916 file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
917 switch v := v.(*ListLinkedSourcesResponse); i {
918 case 0:
919 return &v.state
920 case 1:
921 return &v.sizeCache
922 case 2:
923 return &v.unknownFields
924 default:
925 return nil
926 }
927 }
928 file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
929 switch v := v.(*ListLinkedSourcesRequest); i {
930 case 0:
931 return &v.state
932 case 1:
933 return &v.sizeCache
934 case 2:
935 return &v.unknownFields
936 default:
937 return nil
938 }
939 }
940 file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
941 switch v := v.(*DocumentLink); i {
942 case 0:
943 return &v.state
944 case 1:
945 return &v.sizeCache
946 case 2:
947 return &v.unknownFields
948 default:
949 return nil
950 }
951 }
952 file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
953 switch v := v.(*CreateDocumentLinkRequest); i {
954 case 0:
955 return &v.state
956 case 1:
957 return &v.sizeCache
958 case 2:
959 return &v.unknownFields
960 default:
961 return nil
962 }
963 }
964 file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
965 switch v := v.(*DeleteDocumentLinkRequest); i {
966 case 0:
967 return &v.state
968 case 1:
969 return &v.sizeCache
970 case 2:
971 return &v.unknownFields
972 default:
973 return nil
974 }
975 }
976 }
977 type x struct{}
978 out := protoimpl.TypeBuilder{
979 File: protoimpl.DescBuilder{
980 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
981 RawDescriptor: file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDesc,
982 NumEnums: 1,
983 NumMessages: 7,
984 NumExtensions: 0,
985 NumServices: 1,
986 },
987 GoTypes: file_google_cloud_contentwarehouse_v1_document_link_service_proto_goTypes,
988 DependencyIndexes: file_google_cloud_contentwarehouse_v1_document_link_service_proto_depIdxs,
989 EnumInfos: file_google_cloud_contentwarehouse_v1_document_link_service_proto_enumTypes,
990 MessageInfos: file_google_cloud_contentwarehouse_v1_document_link_service_proto_msgTypes,
991 }.Build()
992 File_google_cloud_contentwarehouse_v1_document_link_service_proto = out.File
993 file_google_cloud_contentwarehouse_v1_document_link_service_proto_rawDesc = nil
994 file_google_cloud_contentwarehouse_v1_document_link_service_proto_goTypes = nil
995 file_google_cloud_contentwarehouse_v1_document_link_service_proto_depIdxs = nil
996 }
997
998
999 var _ context.Context
1000 var _ grpc.ClientConnInterface
1001
1002
1003
1004 const _ = grpc.SupportPackageIsVersion6
1005
1006
1007
1008
1009 type DocumentLinkServiceClient interface {
1010
1011 ListLinkedTargets(ctx context.Context, in *ListLinkedTargetsRequest, opts ...grpc.CallOption) (*ListLinkedTargetsResponse, error)
1012
1013 ListLinkedSources(ctx context.Context, in *ListLinkedSourcesRequest, opts ...grpc.CallOption) (*ListLinkedSourcesResponse, error)
1014
1015 CreateDocumentLink(ctx context.Context, in *CreateDocumentLinkRequest, opts ...grpc.CallOption) (*DocumentLink, error)
1016
1017 DeleteDocumentLink(ctx context.Context, in *DeleteDocumentLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1018 }
1019
1020 type documentLinkServiceClient struct {
1021 cc grpc.ClientConnInterface
1022 }
1023
1024 func NewDocumentLinkServiceClient(cc grpc.ClientConnInterface) DocumentLinkServiceClient {
1025 return &documentLinkServiceClient{cc}
1026 }
1027
1028 func (c *documentLinkServiceClient) ListLinkedTargets(ctx context.Context, in *ListLinkedTargetsRequest, opts ...grpc.CallOption) (*ListLinkedTargetsResponse, error) {
1029 out := new(ListLinkedTargetsResponse)
1030 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentLinkService/ListLinkedTargets", in, out, opts...)
1031 if err != nil {
1032 return nil, err
1033 }
1034 return out, nil
1035 }
1036
1037 func (c *documentLinkServiceClient) ListLinkedSources(ctx context.Context, in *ListLinkedSourcesRequest, opts ...grpc.CallOption) (*ListLinkedSourcesResponse, error) {
1038 out := new(ListLinkedSourcesResponse)
1039 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentLinkService/ListLinkedSources", in, out, opts...)
1040 if err != nil {
1041 return nil, err
1042 }
1043 return out, nil
1044 }
1045
1046 func (c *documentLinkServiceClient) CreateDocumentLink(ctx context.Context, in *CreateDocumentLinkRequest, opts ...grpc.CallOption) (*DocumentLink, error) {
1047 out := new(DocumentLink)
1048 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentLinkService/CreateDocumentLink", in, out, opts...)
1049 if err != nil {
1050 return nil, err
1051 }
1052 return out, nil
1053 }
1054
1055 func (c *documentLinkServiceClient) DeleteDocumentLink(ctx context.Context, in *DeleteDocumentLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1056 out := new(emptypb.Empty)
1057 err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentLinkService/DeleteDocumentLink", in, out, opts...)
1058 if err != nil {
1059 return nil, err
1060 }
1061 return out, nil
1062 }
1063
1064
1065 type DocumentLinkServiceServer interface {
1066
1067 ListLinkedTargets(context.Context, *ListLinkedTargetsRequest) (*ListLinkedTargetsResponse, error)
1068
1069 ListLinkedSources(context.Context, *ListLinkedSourcesRequest) (*ListLinkedSourcesResponse, error)
1070
1071 CreateDocumentLink(context.Context, *CreateDocumentLinkRequest) (*DocumentLink, error)
1072
1073 DeleteDocumentLink(context.Context, *DeleteDocumentLinkRequest) (*emptypb.Empty, error)
1074 }
1075
1076
1077 type UnimplementedDocumentLinkServiceServer struct {
1078 }
1079
1080 func (*UnimplementedDocumentLinkServiceServer) ListLinkedTargets(context.Context, *ListLinkedTargetsRequest) (*ListLinkedTargetsResponse, error) {
1081 return nil, status.Errorf(codes.Unimplemented, "method ListLinkedTargets not implemented")
1082 }
1083 func (*UnimplementedDocumentLinkServiceServer) ListLinkedSources(context.Context, *ListLinkedSourcesRequest) (*ListLinkedSourcesResponse, error) {
1084 return nil, status.Errorf(codes.Unimplemented, "method ListLinkedSources not implemented")
1085 }
1086 func (*UnimplementedDocumentLinkServiceServer) CreateDocumentLink(context.Context, *CreateDocumentLinkRequest) (*DocumentLink, error) {
1087 return nil, status.Errorf(codes.Unimplemented, "method CreateDocumentLink not implemented")
1088 }
1089 func (*UnimplementedDocumentLinkServiceServer) DeleteDocumentLink(context.Context, *DeleteDocumentLinkRequest) (*emptypb.Empty, error) {
1090 return nil, status.Errorf(codes.Unimplemented, "method DeleteDocumentLink not implemented")
1091 }
1092
1093 func RegisterDocumentLinkServiceServer(s *grpc.Server, srv DocumentLinkServiceServer) {
1094 s.RegisterService(&_DocumentLinkService_serviceDesc, srv)
1095 }
1096
1097 func _DocumentLinkService_ListLinkedTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1098 in := new(ListLinkedTargetsRequest)
1099 if err := dec(in); err != nil {
1100 return nil, err
1101 }
1102 if interceptor == nil {
1103 return srv.(DocumentLinkServiceServer).ListLinkedTargets(ctx, in)
1104 }
1105 info := &grpc.UnaryServerInfo{
1106 Server: srv,
1107 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentLinkService/ListLinkedTargets",
1108 }
1109 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1110 return srv.(DocumentLinkServiceServer).ListLinkedTargets(ctx, req.(*ListLinkedTargetsRequest))
1111 }
1112 return interceptor(ctx, in, info, handler)
1113 }
1114
1115 func _DocumentLinkService_ListLinkedSources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1116 in := new(ListLinkedSourcesRequest)
1117 if err := dec(in); err != nil {
1118 return nil, err
1119 }
1120 if interceptor == nil {
1121 return srv.(DocumentLinkServiceServer).ListLinkedSources(ctx, in)
1122 }
1123 info := &grpc.UnaryServerInfo{
1124 Server: srv,
1125 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentLinkService/ListLinkedSources",
1126 }
1127 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1128 return srv.(DocumentLinkServiceServer).ListLinkedSources(ctx, req.(*ListLinkedSourcesRequest))
1129 }
1130 return interceptor(ctx, in, info, handler)
1131 }
1132
1133 func _DocumentLinkService_CreateDocumentLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1134 in := new(CreateDocumentLinkRequest)
1135 if err := dec(in); err != nil {
1136 return nil, err
1137 }
1138 if interceptor == nil {
1139 return srv.(DocumentLinkServiceServer).CreateDocumentLink(ctx, in)
1140 }
1141 info := &grpc.UnaryServerInfo{
1142 Server: srv,
1143 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentLinkService/CreateDocumentLink",
1144 }
1145 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1146 return srv.(DocumentLinkServiceServer).CreateDocumentLink(ctx, req.(*CreateDocumentLinkRequest))
1147 }
1148 return interceptor(ctx, in, info, handler)
1149 }
1150
1151 func _DocumentLinkService_DeleteDocumentLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1152 in := new(DeleteDocumentLinkRequest)
1153 if err := dec(in); err != nil {
1154 return nil, err
1155 }
1156 if interceptor == nil {
1157 return srv.(DocumentLinkServiceServer).DeleteDocumentLink(ctx, in)
1158 }
1159 info := &grpc.UnaryServerInfo{
1160 Server: srv,
1161 FullMethod: "/google.cloud.contentwarehouse.v1.DocumentLinkService/DeleteDocumentLink",
1162 }
1163 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1164 return srv.(DocumentLinkServiceServer).DeleteDocumentLink(ctx, req.(*DeleteDocumentLinkRequest))
1165 }
1166 return interceptor(ctx, in, info, handler)
1167 }
1168
1169 var _DocumentLinkService_serviceDesc = grpc.ServiceDesc{
1170 ServiceName: "google.cloud.contentwarehouse.v1.DocumentLinkService",
1171 HandlerType: (*DocumentLinkServiceServer)(nil),
1172 Methods: []grpc.MethodDesc{
1173 {
1174 MethodName: "ListLinkedTargets",
1175 Handler: _DocumentLinkService_ListLinkedTargets_Handler,
1176 },
1177 {
1178 MethodName: "ListLinkedSources",
1179 Handler: _DocumentLinkService_ListLinkedSources_Handler,
1180 },
1181 {
1182 MethodName: "CreateDocumentLink",
1183 Handler: _DocumentLinkService_CreateDocumentLink_Handler,
1184 },
1185 {
1186 MethodName: "DeleteDocumentLink",
1187 Handler: _DocumentLinkService_DeleteDocumentLink_Handler,
1188 },
1189 },
1190 Streams: []grpc.StreamDesc{},
1191 Metadata: "google/cloud/contentwarehouse/v1/document_link_service.proto",
1192 }
1193
View as plain text