1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package resourcemanagerpb
23
24 import (
25 context "context"
26 reflect "reflect"
27 sync "sync"
28
29 iampb "cloud.google.com/go/iam/apiv1/iampb"
30 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
31 _ "google.golang.org/genproto/googleapis/api/annotations"
32 grpc "google.golang.org/grpc"
33 codes "google.golang.org/grpc/codes"
34 status "google.golang.org/grpc/status"
35 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
36 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
37 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
38 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
39 )
40
41 const (
42
43 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
44
45 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
46 )
47
48
49 type Folder_LifecycleState int32
50
51 const (
52
53 Folder_LIFECYCLE_STATE_UNSPECIFIED Folder_LifecycleState = 0
54
55 Folder_ACTIVE Folder_LifecycleState = 1
56
57 Folder_DELETE_REQUESTED Folder_LifecycleState = 2
58 )
59
60
61 var (
62 Folder_LifecycleState_name = map[int32]string{
63 0: "LIFECYCLE_STATE_UNSPECIFIED",
64 1: "ACTIVE",
65 2: "DELETE_REQUESTED",
66 }
67 Folder_LifecycleState_value = map[string]int32{
68 "LIFECYCLE_STATE_UNSPECIFIED": 0,
69 "ACTIVE": 1,
70 "DELETE_REQUESTED": 2,
71 }
72 )
73
74 func (x Folder_LifecycleState) Enum() *Folder_LifecycleState {
75 p := new(Folder_LifecycleState)
76 *p = x
77 return p
78 }
79
80 func (x Folder_LifecycleState) String() string {
81 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
82 }
83
84 func (Folder_LifecycleState) Descriptor() protoreflect.EnumDescriptor {
85 return file_google_cloud_resourcemanager_v2_folders_proto_enumTypes[0].Descriptor()
86 }
87
88 func (Folder_LifecycleState) Type() protoreflect.EnumType {
89 return &file_google_cloud_resourcemanager_v2_folders_proto_enumTypes[0]
90 }
91
92 func (x Folder_LifecycleState) Number() protoreflect.EnumNumber {
93 return protoreflect.EnumNumber(x)
94 }
95
96
97 func (Folder_LifecycleState) EnumDescriptor() ([]byte, []int) {
98 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{0, 0}
99 }
100
101
102 type FolderOperation_OperationType int32
103
104 const (
105
106 FolderOperation_OPERATION_TYPE_UNSPECIFIED FolderOperation_OperationType = 0
107
108 FolderOperation_CREATE FolderOperation_OperationType = 1
109
110 FolderOperation_MOVE FolderOperation_OperationType = 2
111 )
112
113
114 var (
115 FolderOperation_OperationType_name = map[int32]string{
116 0: "OPERATION_TYPE_UNSPECIFIED",
117 1: "CREATE",
118 2: "MOVE",
119 }
120 FolderOperation_OperationType_value = map[string]int32{
121 "OPERATION_TYPE_UNSPECIFIED": 0,
122 "CREATE": 1,
123 "MOVE": 2,
124 }
125 )
126
127 func (x FolderOperation_OperationType) Enum() *FolderOperation_OperationType {
128 p := new(FolderOperation_OperationType)
129 *p = x
130 return p
131 }
132
133 func (x FolderOperation_OperationType) String() string {
134 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
135 }
136
137 func (FolderOperation_OperationType) Descriptor() protoreflect.EnumDescriptor {
138 return file_google_cloud_resourcemanager_v2_folders_proto_enumTypes[1].Descriptor()
139 }
140
141 func (FolderOperation_OperationType) Type() protoreflect.EnumType {
142 return &file_google_cloud_resourcemanager_v2_folders_proto_enumTypes[1]
143 }
144
145 func (x FolderOperation_OperationType) Number() protoreflect.EnumNumber {
146 return protoreflect.EnumNumber(x)
147 }
148
149
150 func (FolderOperation_OperationType) EnumDescriptor() ([]byte, []int) {
151 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{11, 0}
152 }
153
154
155
156 type Folder struct {
157 state protoimpl.MessageState
158 sizeCache protoimpl.SizeCache
159 unknownFields protoimpl.UnknownFields
160
161
162
163 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
164
165
166
167 Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
168
169
170
171
172
173
174
175 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
176
177
178
179
180 LifecycleState Folder_LifecycleState `protobuf:"varint,4,opt,name=lifecycle_state,json=lifecycleState,proto3,enum=google.cloud.resourcemanager.v2.Folder_LifecycleState" json:"lifecycle_state,omitempty"`
181
182 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
183
184 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
185 }
186
187 func (x *Folder) Reset() {
188 *x = Folder{}
189 if protoimpl.UnsafeEnabled {
190 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[0]
191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
192 ms.StoreMessageInfo(mi)
193 }
194 }
195
196 func (x *Folder) String() string {
197 return protoimpl.X.MessageStringOf(x)
198 }
199
200 func (*Folder) ProtoMessage() {}
201
202 func (x *Folder) ProtoReflect() protoreflect.Message {
203 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[0]
204 if protoimpl.UnsafeEnabled && x != nil {
205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
206 if ms.LoadMessageInfo() == nil {
207 ms.StoreMessageInfo(mi)
208 }
209 return ms
210 }
211 return mi.MessageOf(x)
212 }
213
214
215 func (*Folder) Descriptor() ([]byte, []int) {
216 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{0}
217 }
218
219 func (x *Folder) GetName() string {
220 if x != nil {
221 return x.Name
222 }
223 return ""
224 }
225
226 func (x *Folder) GetParent() string {
227 if x != nil {
228 return x.Parent
229 }
230 return ""
231 }
232
233 func (x *Folder) GetDisplayName() string {
234 if x != nil {
235 return x.DisplayName
236 }
237 return ""
238 }
239
240 func (x *Folder) GetLifecycleState() Folder_LifecycleState {
241 if x != nil {
242 return x.LifecycleState
243 }
244 return Folder_LIFECYCLE_STATE_UNSPECIFIED
245 }
246
247 func (x *Folder) GetCreateTime() *timestamppb.Timestamp {
248 if x != nil {
249 return x.CreateTime
250 }
251 return nil
252 }
253
254 func (x *Folder) GetUpdateTime() *timestamppb.Timestamp {
255 if x != nil {
256 return x.UpdateTime
257 }
258 return nil
259 }
260
261
262 type ListFoldersRequest struct {
263 state protoimpl.MessageState
264 sizeCache protoimpl.SizeCache
265 unknownFields protoimpl.UnknownFields
266
267
268
269
270
271
272 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
273
274 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
275
276
277 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
278
279
280
281 ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
282 }
283
284 func (x *ListFoldersRequest) Reset() {
285 *x = ListFoldersRequest{}
286 if protoimpl.UnsafeEnabled {
287 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[1]
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 ms.StoreMessageInfo(mi)
290 }
291 }
292
293 func (x *ListFoldersRequest) String() string {
294 return protoimpl.X.MessageStringOf(x)
295 }
296
297 func (*ListFoldersRequest) ProtoMessage() {}
298
299 func (x *ListFoldersRequest) ProtoReflect() protoreflect.Message {
300 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[1]
301 if protoimpl.UnsafeEnabled && x != nil {
302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
303 if ms.LoadMessageInfo() == nil {
304 ms.StoreMessageInfo(mi)
305 }
306 return ms
307 }
308 return mi.MessageOf(x)
309 }
310
311
312 func (*ListFoldersRequest) Descriptor() ([]byte, []int) {
313 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{1}
314 }
315
316 func (x *ListFoldersRequest) GetParent() string {
317 if x != nil {
318 return x.Parent
319 }
320 return ""
321 }
322
323 func (x *ListFoldersRequest) GetPageSize() int32 {
324 if x != nil {
325 return x.PageSize
326 }
327 return 0
328 }
329
330 func (x *ListFoldersRequest) GetPageToken() string {
331 if x != nil {
332 return x.PageToken
333 }
334 return ""
335 }
336
337 func (x *ListFoldersRequest) GetShowDeleted() bool {
338 if x != nil {
339 return x.ShowDeleted
340 }
341 return false
342 }
343
344
345 type ListFoldersResponse struct {
346 state protoimpl.MessageState
347 sizeCache protoimpl.SizeCache
348 unknownFields protoimpl.UnknownFields
349
350
351
352 Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"`
353
354
355 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
356 }
357
358 func (x *ListFoldersResponse) Reset() {
359 *x = ListFoldersResponse{}
360 if protoimpl.UnsafeEnabled {
361 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[2]
362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
363 ms.StoreMessageInfo(mi)
364 }
365 }
366
367 func (x *ListFoldersResponse) String() string {
368 return protoimpl.X.MessageStringOf(x)
369 }
370
371 func (*ListFoldersResponse) ProtoMessage() {}
372
373 func (x *ListFoldersResponse) ProtoReflect() protoreflect.Message {
374 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[2]
375 if protoimpl.UnsafeEnabled && x != nil {
376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
377 if ms.LoadMessageInfo() == nil {
378 ms.StoreMessageInfo(mi)
379 }
380 return ms
381 }
382 return mi.MessageOf(x)
383 }
384
385
386 func (*ListFoldersResponse) Descriptor() ([]byte, []int) {
387 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{2}
388 }
389
390 func (x *ListFoldersResponse) GetFolders() []*Folder {
391 if x != nil {
392 return x.Folders
393 }
394 return nil
395 }
396
397 func (x *ListFoldersResponse) GetNextPageToken() string {
398 if x != nil {
399 return x.NextPageToken
400 }
401 return ""
402 }
403
404
405 type SearchFoldersRequest struct {
406 state protoimpl.MessageState
407 sizeCache protoimpl.SizeCache
408 unknownFields protoimpl.UnknownFields
409
410
411 PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
412
413
414 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438 Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
439 }
440
441 func (x *SearchFoldersRequest) Reset() {
442 *x = SearchFoldersRequest{}
443 if protoimpl.UnsafeEnabled {
444 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[3]
445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
446 ms.StoreMessageInfo(mi)
447 }
448 }
449
450 func (x *SearchFoldersRequest) String() string {
451 return protoimpl.X.MessageStringOf(x)
452 }
453
454 func (*SearchFoldersRequest) ProtoMessage() {}
455
456 func (x *SearchFoldersRequest) ProtoReflect() protoreflect.Message {
457 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[3]
458 if protoimpl.UnsafeEnabled && x != nil {
459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
460 if ms.LoadMessageInfo() == nil {
461 ms.StoreMessageInfo(mi)
462 }
463 return ms
464 }
465 return mi.MessageOf(x)
466 }
467
468
469 func (*SearchFoldersRequest) Descriptor() ([]byte, []int) {
470 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{3}
471 }
472
473 func (x *SearchFoldersRequest) GetPageSize() int32 {
474 if x != nil {
475 return x.PageSize
476 }
477 return 0
478 }
479
480 func (x *SearchFoldersRequest) GetPageToken() string {
481 if x != nil {
482 return x.PageToken
483 }
484 return ""
485 }
486
487 func (x *SearchFoldersRequest) GetQuery() string {
488 if x != nil {
489 return x.Query
490 }
491 return ""
492 }
493
494
495 type SearchFoldersResponse struct {
496 state protoimpl.MessageState
497 sizeCache protoimpl.SizeCache
498 unknownFields protoimpl.UnknownFields
499
500
501
502 Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"`
503
504
505 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
506 }
507
508 func (x *SearchFoldersResponse) Reset() {
509 *x = SearchFoldersResponse{}
510 if protoimpl.UnsafeEnabled {
511 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[4]
512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
513 ms.StoreMessageInfo(mi)
514 }
515 }
516
517 func (x *SearchFoldersResponse) String() string {
518 return protoimpl.X.MessageStringOf(x)
519 }
520
521 func (*SearchFoldersResponse) ProtoMessage() {}
522
523 func (x *SearchFoldersResponse) ProtoReflect() protoreflect.Message {
524 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[4]
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
536 func (*SearchFoldersResponse) Descriptor() ([]byte, []int) {
537 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{4}
538 }
539
540 func (x *SearchFoldersResponse) GetFolders() []*Folder {
541 if x != nil {
542 return x.Folders
543 }
544 return nil
545 }
546
547 func (x *SearchFoldersResponse) GetNextPageToken() string {
548 if x != nil {
549 return x.NextPageToken
550 }
551 return ""
552 }
553
554
555 type GetFolderRequest struct {
556 state protoimpl.MessageState
557 sizeCache protoimpl.SizeCache
558 unknownFields protoimpl.UnknownFields
559
560
561
562 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
563 }
564
565 func (x *GetFolderRequest) Reset() {
566 *x = GetFolderRequest{}
567 if protoimpl.UnsafeEnabled {
568 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[5]
569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
570 ms.StoreMessageInfo(mi)
571 }
572 }
573
574 func (x *GetFolderRequest) String() string {
575 return protoimpl.X.MessageStringOf(x)
576 }
577
578 func (*GetFolderRequest) ProtoMessage() {}
579
580 func (x *GetFolderRequest) ProtoReflect() protoreflect.Message {
581 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[5]
582 if protoimpl.UnsafeEnabled && x != nil {
583 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
584 if ms.LoadMessageInfo() == nil {
585 ms.StoreMessageInfo(mi)
586 }
587 return ms
588 }
589 return mi.MessageOf(x)
590 }
591
592
593 func (*GetFolderRequest) Descriptor() ([]byte, []int) {
594 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{5}
595 }
596
597 func (x *GetFolderRequest) GetName() string {
598 if x != nil {
599 return x.Name
600 }
601 return ""
602 }
603
604
605 type CreateFolderRequest struct {
606 state protoimpl.MessageState
607 sizeCache protoimpl.SizeCache
608 unknownFields protoimpl.UnknownFields
609
610
611
612 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
613
614
615 Folder *Folder `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"`
616 }
617
618 func (x *CreateFolderRequest) Reset() {
619 *x = CreateFolderRequest{}
620 if protoimpl.UnsafeEnabled {
621 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[6]
622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
623 ms.StoreMessageInfo(mi)
624 }
625 }
626
627 func (x *CreateFolderRequest) String() string {
628 return protoimpl.X.MessageStringOf(x)
629 }
630
631 func (*CreateFolderRequest) ProtoMessage() {}
632
633 func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message {
634 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[6]
635 if protoimpl.UnsafeEnabled && x != nil {
636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
637 if ms.LoadMessageInfo() == nil {
638 ms.StoreMessageInfo(mi)
639 }
640 return ms
641 }
642 return mi.MessageOf(x)
643 }
644
645
646 func (*CreateFolderRequest) Descriptor() ([]byte, []int) {
647 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{6}
648 }
649
650 func (x *CreateFolderRequest) GetParent() string {
651 if x != nil {
652 return x.Parent
653 }
654 return ""
655 }
656
657 func (x *CreateFolderRequest) GetFolder() *Folder {
658 if x != nil {
659 return x.Folder
660 }
661 return nil
662 }
663
664
665 type MoveFolderRequest struct {
666 state protoimpl.MessageState
667 sizeCache protoimpl.SizeCache
668 unknownFields protoimpl.UnknownFields
669
670
671
672 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
673
674
675
676 DestinationParent string `protobuf:"bytes,2,opt,name=destination_parent,json=destinationParent,proto3" json:"destination_parent,omitempty"`
677 }
678
679 func (x *MoveFolderRequest) Reset() {
680 *x = MoveFolderRequest{}
681 if protoimpl.UnsafeEnabled {
682 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[7]
683 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
684 ms.StoreMessageInfo(mi)
685 }
686 }
687
688 func (x *MoveFolderRequest) String() string {
689 return protoimpl.X.MessageStringOf(x)
690 }
691
692 func (*MoveFolderRequest) ProtoMessage() {}
693
694 func (x *MoveFolderRequest) ProtoReflect() protoreflect.Message {
695 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[7]
696 if protoimpl.UnsafeEnabled && x != nil {
697 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
698 if ms.LoadMessageInfo() == nil {
699 ms.StoreMessageInfo(mi)
700 }
701 return ms
702 }
703 return mi.MessageOf(x)
704 }
705
706
707 func (*MoveFolderRequest) Descriptor() ([]byte, []int) {
708 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{7}
709 }
710
711 func (x *MoveFolderRequest) GetName() string {
712 if x != nil {
713 return x.Name
714 }
715 return ""
716 }
717
718 func (x *MoveFolderRequest) GetDestinationParent() string {
719 if x != nil {
720 return x.DestinationParent
721 }
722 return ""
723 }
724
725
726 type UpdateFolderRequest struct {
727 state protoimpl.MessageState
728 sizeCache protoimpl.SizeCache
729 unknownFields protoimpl.UnknownFields
730
731
732
733
734 Folder *Folder `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"`
735
736
737 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
738 }
739
740 func (x *UpdateFolderRequest) Reset() {
741 *x = UpdateFolderRequest{}
742 if protoimpl.UnsafeEnabled {
743 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[8]
744 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
745 ms.StoreMessageInfo(mi)
746 }
747 }
748
749 func (x *UpdateFolderRequest) String() string {
750 return protoimpl.X.MessageStringOf(x)
751 }
752
753 func (*UpdateFolderRequest) ProtoMessage() {}
754
755 func (x *UpdateFolderRequest) ProtoReflect() protoreflect.Message {
756 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[8]
757 if protoimpl.UnsafeEnabled && x != nil {
758 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
759 if ms.LoadMessageInfo() == nil {
760 ms.StoreMessageInfo(mi)
761 }
762 return ms
763 }
764 return mi.MessageOf(x)
765 }
766
767
768 func (*UpdateFolderRequest) Descriptor() ([]byte, []int) {
769 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{8}
770 }
771
772 func (x *UpdateFolderRequest) GetFolder() *Folder {
773 if x != nil {
774 return x.Folder
775 }
776 return nil
777 }
778
779 func (x *UpdateFolderRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
780 if x != nil {
781 return x.UpdateMask
782 }
783 return nil
784 }
785
786
787 type DeleteFolderRequest struct {
788 state protoimpl.MessageState
789 sizeCache protoimpl.SizeCache
790 unknownFields protoimpl.UnknownFields
791
792
793
794 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
795
796
797 RecursiveDelete bool `protobuf:"varint,2,opt,name=recursive_delete,json=recursiveDelete,proto3" json:"recursive_delete,omitempty"`
798 }
799
800 func (x *DeleteFolderRequest) Reset() {
801 *x = DeleteFolderRequest{}
802 if protoimpl.UnsafeEnabled {
803 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[9]
804 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
805 ms.StoreMessageInfo(mi)
806 }
807 }
808
809 func (x *DeleteFolderRequest) String() string {
810 return protoimpl.X.MessageStringOf(x)
811 }
812
813 func (*DeleteFolderRequest) ProtoMessage() {}
814
815 func (x *DeleteFolderRequest) ProtoReflect() protoreflect.Message {
816 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[9]
817 if protoimpl.UnsafeEnabled && x != nil {
818 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
819 if ms.LoadMessageInfo() == nil {
820 ms.StoreMessageInfo(mi)
821 }
822 return ms
823 }
824 return mi.MessageOf(x)
825 }
826
827
828 func (*DeleteFolderRequest) Descriptor() ([]byte, []int) {
829 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{9}
830 }
831
832 func (x *DeleteFolderRequest) GetName() string {
833 if x != nil {
834 return x.Name
835 }
836 return ""
837 }
838
839 func (x *DeleteFolderRequest) GetRecursiveDelete() bool {
840 if x != nil {
841 return x.RecursiveDelete
842 }
843 return false
844 }
845
846
847 type UndeleteFolderRequest struct {
848 state protoimpl.MessageState
849 sizeCache protoimpl.SizeCache
850 unknownFields protoimpl.UnknownFields
851
852
853
854 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
855 }
856
857 func (x *UndeleteFolderRequest) Reset() {
858 *x = UndeleteFolderRequest{}
859 if protoimpl.UnsafeEnabled {
860 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[10]
861 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
862 ms.StoreMessageInfo(mi)
863 }
864 }
865
866 func (x *UndeleteFolderRequest) String() string {
867 return protoimpl.X.MessageStringOf(x)
868 }
869
870 func (*UndeleteFolderRequest) ProtoMessage() {}
871
872 func (x *UndeleteFolderRequest) ProtoReflect() protoreflect.Message {
873 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[10]
874 if protoimpl.UnsafeEnabled && x != nil {
875 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
876 if ms.LoadMessageInfo() == nil {
877 ms.StoreMessageInfo(mi)
878 }
879 return ms
880 }
881 return mi.MessageOf(x)
882 }
883
884
885 func (*UndeleteFolderRequest) Descriptor() ([]byte, []int) {
886 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{10}
887 }
888
889 func (x *UndeleteFolderRequest) GetName() string {
890 if x != nil {
891 return x.Name
892 }
893 return ""
894 }
895
896
897 type FolderOperation struct {
898 state protoimpl.MessageState
899 sizeCache protoimpl.SizeCache
900 unknownFields protoimpl.UnknownFields
901
902
903 DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
904
905 OperationType FolderOperation_OperationType `protobuf:"varint,2,opt,name=operation_type,json=operationType,proto3,enum=google.cloud.resourcemanager.v2.FolderOperation_OperationType" json:"operation_type,omitempty"`
906
907
908 SourceParent string `protobuf:"bytes,3,opt,name=source_parent,json=sourceParent,proto3" json:"source_parent,omitempty"`
909
910
911 DestinationParent string `protobuf:"bytes,4,opt,name=destination_parent,json=destinationParent,proto3" json:"destination_parent,omitempty"`
912 }
913
914 func (x *FolderOperation) Reset() {
915 *x = FolderOperation{}
916 if protoimpl.UnsafeEnabled {
917 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[11]
918 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
919 ms.StoreMessageInfo(mi)
920 }
921 }
922
923 func (x *FolderOperation) String() string {
924 return protoimpl.X.MessageStringOf(x)
925 }
926
927 func (*FolderOperation) ProtoMessage() {}
928
929 func (x *FolderOperation) ProtoReflect() protoreflect.Message {
930 mi := &file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[11]
931 if protoimpl.UnsafeEnabled && x != nil {
932 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
933 if ms.LoadMessageInfo() == nil {
934 ms.StoreMessageInfo(mi)
935 }
936 return ms
937 }
938 return mi.MessageOf(x)
939 }
940
941
942 func (*FolderOperation) Descriptor() ([]byte, []int) {
943 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP(), []int{11}
944 }
945
946 func (x *FolderOperation) GetDisplayName() string {
947 if x != nil {
948 return x.DisplayName
949 }
950 return ""
951 }
952
953 func (x *FolderOperation) GetOperationType() FolderOperation_OperationType {
954 if x != nil {
955 return x.OperationType
956 }
957 return FolderOperation_OPERATION_TYPE_UNSPECIFIED
958 }
959
960 func (x *FolderOperation) GetSourceParent() string {
961 if x != nil {
962 return x.SourceParent
963 }
964 return ""
965 }
966
967 func (x *FolderOperation) GetDestinationParent() string {
968 if x != nil {
969 return x.DestinationParent
970 }
971 return ""
972 }
973
974 var File_google_cloud_resourcemanager_v2_folders_proto protoreflect.FileDescriptor
975
976 var file_google_cloud_resourcemanager_v2_folders_proto_rawDesc = []byte{
977 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
978 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76,
979 0x32, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
980 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
981 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32,
982 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
983 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
984 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
985 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
986 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
987 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
988 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
989 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f,
990 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72,
991 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f,
992 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
993 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e,
994 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
995 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
996 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
997 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
998 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
999 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x03, 0x0a, 0x06, 0x46, 0x6f, 0x6c, 0x64,
1000 0x65, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1001 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x70,
1002 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
1003 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70,
1004 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1005 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x0f, 0x6c,
1006 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04,
1007 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1008 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,
1009 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x4c, 0x69,
1010 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41,
1011 0x03, 0x52, 0x0e, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74,
1012 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1013 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1014 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
1015 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
1016 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
1017 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1018 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
1019 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
1020 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x53, 0x0a, 0x0e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63,
1021 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x4c, 0x49, 0x46, 0x45, 0x43,
1022 0x59, 0x43, 0x4c, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
1023 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49,
1024 0x56, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x52,
1025 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x41, 0xea, 0x41, 0x3e, 0x0a,
1026 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61,
1027 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
1028 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x10, 0x66, 0x6f, 0x6c,
1029 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x22, 0xa5, 0x01,
1030 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
1031 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
1032 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x03, 0x12, 0x01, 0x2a, 0x52,
1033 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,
1034 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
1035 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67,
1036 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
1037 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x26, 0x0a,
1038 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20,
1039 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65,
1040 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x80, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f,
1041 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a,
1042 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
1043 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
1044 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32,
1045 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73,
1046 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
1047 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50,
1048 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x72, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72,
1049 0x63, 0x68, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1050 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20,
1051 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69,
1052 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
1053 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67,
1054 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18,
1055 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x82, 0x01, 0x0a,
1056 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65,
1057 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72,
1058 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1059 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d,
1060 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
1061 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,
1062 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,
1063 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
1064 0x6e, 0x22, 0x5a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65,
1065 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
1066 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f,
1067 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
1068 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
1069 0x2f, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7e, 0x0a,
1070 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71,
1071 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
1072 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x03, 0x12, 0x01, 0x2a, 0x52,
1073 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65,
1074 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1075 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d,
1076 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
1077 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x95, 0x01,
1078 0x0a, 0x11, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
1079 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1080 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1081 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e,
1082 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46,
1083 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x12, 0x64,
1084 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e,
1085 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x03, 0x12,
1086 0x01, 0x2a, 0x52, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
1087 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
1088 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a,
1089 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
1090 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73,
1091 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e,
1092 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x66, 0x6f, 0x6c,
1093 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
1094 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1095 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
1096 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
1097 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x88, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
1098 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a,
1099 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02,
1100 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1101 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1102 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52,
1103 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69,
1104 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
1105 0x0f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
1106 0x22, 0x5f, 0x0a, 0x15, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64,
1107 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
1108 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a,
1109 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61,
1110 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
1111 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d,
1112 0x65, 0x22, 0xb6, 0x02, 0x0a, 0x0f, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72,
1113 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
1114 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73,
1115 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x65, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72,
1116 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
1117 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1118 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e,
1119 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
1120 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
1121 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
1122 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
1123 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61,
1124 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
1125 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
1126 0x52, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72,
1127 0x65, 0x6e, 0x74, 0x22, 0x45, 0x0a, 0x0d, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1128 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f,
1129 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
1130 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01,
1131 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x02, 0x32, 0xbe, 0x0f, 0x0a, 0x07, 0x46,
1132 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0xa3, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x46,
1133 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1134 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61,
1135 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x6c,
1136 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f,
1137 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75,
1138 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69,
1139 0x73, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1140 0x65, 0x22, 0x29, 0xda, 0x41, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, 0x68, 0x6f,
1141 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0d, 0x12,
1142 0x0b, 0x2f, 0x76, 0x32, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0xa5, 0x01, 0x0a,
1143 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x35,
1144 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
1145 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32,
1146 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65,
1147 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1148 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e,
1149 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f,
1150 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0xda,
1151 0x41, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x01, 0x2a,
1152 0x22, 0x12, 0x2f, 0x76, 0x32, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x3a, 0x73, 0x65,
1153 0x61, 0x72, 0x63, 0x68, 0x12, 0x8c, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x64,
1154 0x65, 0x72, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1155 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
1156 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65,
1157 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1158 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e,
1159 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x23,
1160 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f,
1161 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73,
1162 0x2f, 0x2a, 0x7d, 0x12, 0xac, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f,
1163 0x6c, 0x64, 0x65, 0x72, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1164 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,
1165 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c,
1166 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
1167 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
1168 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x47, 0xca, 0x41, 0x19, 0x0a, 0x06,
1169 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x0f, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4f, 0x70,
1170 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xda, 0x41, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
1171 0x2c, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x3a, 0x06, 0x66,
1172 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x0b, 0x2f, 0x76, 0x32, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65,
1173 0x72, 0x73, 0x12, 0xaf, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c,
1174 0x64, 0x65, 0x72, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1175 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
1176 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64,
1177 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1178 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1179 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x6c, 0x64,
1180 0x65, 0x72, 0x22, 0x40, 0xda, 0x41, 0x12, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2c, 0x75, 0x70,
1181 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a,
1182 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x32, 0x1b, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x66, 0x6f,
1183 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72,
1184 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x0a, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c,
1185 0x64, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1186 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
1187 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
1188 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1189 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65,
1190 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5a, 0xca, 0x41, 0x19, 0x0a, 0x06, 0x46, 0x6f, 0x6c,
1191 0x64, 0x65, 0x72, 0x12, 0x0f, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61,
1192 0x74, 0x69, 0x6f, 0x6e, 0xda, 0x41, 0x17, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x64, 0x65, 0x73, 0x74,
1193 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3,
1194 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61,
1195 0x6d, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x6d, 0x6f,
1196 0x76, 0x65, 0x12, 0xaa, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c,
1197 0x64, 0x65, 0x72, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1198 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
1199 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64,
1200 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1201 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1202 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x6c, 0x64,
1203 0x65, 0x72, 0x22, 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xda, 0x41, 0x15, 0x6e, 0x61,
1204 0x6d, 0x65, 0x2c, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c,
1205 0x65, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x2a, 0x14, 0x2f, 0x76, 0x32, 0x2f, 0x7b,
1206 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12,
1207 0xa2, 0x01, 0x0a, 0x0e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64,
1208 0x65, 0x72, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1209 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
1210 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c,
1211 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f,
1212 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1213 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x6c,
1214 0x64, 0x65, 0x72, 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
1215 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
1216 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65,
1217 0x6c, 0x65, 0x74, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
1218 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69,
1219 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
1220 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1221 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1222 0x22, 0x3b, 0xda, 0x41, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x82, 0xd3, 0xe4,
1223 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x72, 0x65, 0x73,
1224 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d,
1225 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x8d, 0x01,
1226 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22,
1227 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53,
1228 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
1229 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
1230 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x42, 0xda, 0x41, 0x0f, 0x72, 0x65,
1231 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4,
1232 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x72, 0x65, 0x73,
1233 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d,
1234 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xb8, 0x01,
1235 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
1236 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61,
1237 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d,
1238 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29,
1239 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54,
1240 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
1241 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0xda, 0x41, 0x14, 0x72, 0x65,
1242 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
1243 0x6e, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76, 0x32,
1244 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65,
1245 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72,
1246 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x90, 0x01, 0xca, 0x41, 0x23, 0x63, 0x6c,
1247 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
1248 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
1249 0x6d, 0xd2, 0x41, 0x67, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
1250 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
1251 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
1252 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
1253 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
1254 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
1255 0x6d, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0xc8, 0x01, 0x0a, 0x23,
1256 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1257 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
1258 0x2e, 0x76, 0x32, 0x42, 0x0c, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74,
1259 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1260 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1261 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x72,
1262 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x70, 0x62,
1263 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
1264 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
1265 0x64, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65,
1266 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
1267 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61,
1268 0x67, 0x65, 0x72, 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1269 }
1270
1271 var (
1272 file_google_cloud_resourcemanager_v2_folders_proto_rawDescOnce sync.Once
1273 file_google_cloud_resourcemanager_v2_folders_proto_rawDescData = file_google_cloud_resourcemanager_v2_folders_proto_rawDesc
1274 )
1275
1276 func file_google_cloud_resourcemanager_v2_folders_proto_rawDescGZIP() []byte {
1277 file_google_cloud_resourcemanager_v2_folders_proto_rawDescOnce.Do(func() {
1278 file_google_cloud_resourcemanager_v2_folders_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_resourcemanager_v2_folders_proto_rawDescData)
1279 })
1280 return file_google_cloud_resourcemanager_v2_folders_proto_rawDescData
1281 }
1282
1283 var file_google_cloud_resourcemanager_v2_folders_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1284 var file_google_cloud_resourcemanager_v2_folders_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1285 var file_google_cloud_resourcemanager_v2_folders_proto_goTypes = []interface{}{
1286 (Folder_LifecycleState)(0),
1287 (FolderOperation_OperationType)(0),
1288 (*Folder)(nil),
1289 (*ListFoldersRequest)(nil),
1290 (*ListFoldersResponse)(nil),
1291 (*SearchFoldersRequest)(nil),
1292 (*SearchFoldersResponse)(nil),
1293 (*GetFolderRequest)(nil),
1294 (*CreateFolderRequest)(nil),
1295 (*MoveFolderRequest)(nil),
1296 (*UpdateFolderRequest)(nil),
1297 (*DeleteFolderRequest)(nil),
1298 (*UndeleteFolderRequest)(nil),
1299 (*FolderOperation)(nil),
1300 (*timestamppb.Timestamp)(nil),
1301 (*fieldmaskpb.FieldMask)(nil),
1302 (*iampb.GetIamPolicyRequest)(nil),
1303 (*iampb.SetIamPolicyRequest)(nil),
1304 (*iampb.TestIamPermissionsRequest)(nil),
1305 (*longrunningpb.Operation)(nil),
1306 (*iampb.Policy)(nil),
1307 (*iampb.TestIamPermissionsResponse)(nil),
1308 }
1309 var file_google_cloud_resourcemanager_v2_folders_proto_depIdxs = []int32{
1310 0,
1311 14,
1312 14,
1313 2,
1314 2,
1315 2,
1316 2,
1317 15,
1318 1,
1319 3,
1320 5,
1321 7,
1322 8,
1323 10,
1324 9,
1325 11,
1326 12,
1327 16,
1328 17,
1329 18,
1330 4,
1331 6,
1332 2,
1333 19,
1334 2,
1335 19,
1336 2,
1337 2,
1338 20,
1339 20,
1340 21,
1341 20,
1342 9,
1343 9,
1344 9,
1345 0,
1346 }
1347
1348 func init() { file_google_cloud_resourcemanager_v2_folders_proto_init() }
1349 func file_google_cloud_resourcemanager_v2_folders_proto_init() {
1350 if File_google_cloud_resourcemanager_v2_folders_proto != nil {
1351 return
1352 }
1353 if !protoimpl.UnsafeEnabled {
1354 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1355 switch v := v.(*Folder); i {
1356 case 0:
1357 return &v.state
1358 case 1:
1359 return &v.sizeCache
1360 case 2:
1361 return &v.unknownFields
1362 default:
1363 return nil
1364 }
1365 }
1366 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1367 switch v := v.(*ListFoldersRequest); i {
1368 case 0:
1369 return &v.state
1370 case 1:
1371 return &v.sizeCache
1372 case 2:
1373 return &v.unknownFields
1374 default:
1375 return nil
1376 }
1377 }
1378 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1379 switch v := v.(*ListFoldersResponse); i {
1380 case 0:
1381 return &v.state
1382 case 1:
1383 return &v.sizeCache
1384 case 2:
1385 return &v.unknownFields
1386 default:
1387 return nil
1388 }
1389 }
1390 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1391 switch v := v.(*SearchFoldersRequest); i {
1392 case 0:
1393 return &v.state
1394 case 1:
1395 return &v.sizeCache
1396 case 2:
1397 return &v.unknownFields
1398 default:
1399 return nil
1400 }
1401 }
1402 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1403 switch v := v.(*SearchFoldersResponse); i {
1404 case 0:
1405 return &v.state
1406 case 1:
1407 return &v.sizeCache
1408 case 2:
1409 return &v.unknownFields
1410 default:
1411 return nil
1412 }
1413 }
1414 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1415 switch v := v.(*GetFolderRequest); i {
1416 case 0:
1417 return &v.state
1418 case 1:
1419 return &v.sizeCache
1420 case 2:
1421 return &v.unknownFields
1422 default:
1423 return nil
1424 }
1425 }
1426 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1427 switch v := v.(*CreateFolderRequest); i {
1428 case 0:
1429 return &v.state
1430 case 1:
1431 return &v.sizeCache
1432 case 2:
1433 return &v.unknownFields
1434 default:
1435 return nil
1436 }
1437 }
1438 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1439 switch v := v.(*MoveFolderRequest); i {
1440 case 0:
1441 return &v.state
1442 case 1:
1443 return &v.sizeCache
1444 case 2:
1445 return &v.unknownFields
1446 default:
1447 return nil
1448 }
1449 }
1450 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1451 switch v := v.(*UpdateFolderRequest); i {
1452 case 0:
1453 return &v.state
1454 case 1:
1455 return &v.sizeCache
1456 case 2:
1457 return &v.unknownFields
1458 default:
1459 return nil
1460 }
1461 }
1462 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1463 switch v := v.(*DeleteFolderRequest); i {
1464 case 0:
1465 return &v.state
1466 case 1:
1467 return &v.sizeCache
1468 case 2:
1469 return &v.unknownFields
1470 default:
1471 return nil
1472 }
1473 }
1474 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1475 switch v := v.(*UndeleteFolderRequest); i {
1476 case 0:
1477 return &v.state
1478 case 1:
1479 return &v.sizeCache
1480 case 2:
1481 return &v.unknownFields
1482 default:
1483 return nil
1484 }
1485 }
1486 file_google_cloud_resourcemanager_v2_folders_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1487 switch v := v.(*FolderOperation); i {
1488 case 0:
1489 return &v.state
1490 case 1:
1491 return &v.sizeCache
1492 case 2:
1493 return &v.unknownFields
1494 default:
1495 return nil
1496 }
1497 }
1498 }
1499 type x struct{}
1500 out := protoimpl.TypeBuilder{
1501 File: protoimpl.DescBuilder{
1502 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1503 RawDescriptor: file_google_cloud_resourcemanager_v2_folders_proto_rawDesc,
1504 NumEnums: 2,
1505 NumMessages: 12,
1506 NumExtensions: 0,
1507 NumServices: 1,
1508 },
1509 GoTypes: file_google_cloud_resourcemanager_v2_folders_proto_goTypes,
1510 DependencyIndexes: file_google_cloud_resourcemanager_v2_folders_proto_depIdxs,
1511 EnumInfos: file_google_cloud_resourcemanager_v2_folders_proto_enumTypes,
1512 MessageInfos: file_google_cloud_resourcemanager_v2_folders_proto_msgTypes,
1513 }.Build()
1514 File_google_cloud_resourcemanager_v2_folders_proto = out.File
1515 file_google_cloud_resourcemanager_v2_folders_proto_rawDesc = nil
1516 file_google_cloud_resourcemanager_v2_folders_proto_goTypes = nil
1517 file_google_cloud_resourcemanager_v2_folders_proto_depIdxs = nil
1518 }
1519
1520
1521 var _ context.Context
1522 var _ grpc.ClientConnInterface
1523
1524
1525
1526 const _ = grpc.SupportPackageIsVersion6
1527
1528
1529
1530
1531 type FoldersClient interface {
1532
1533
1534
1535
1536
1537
1538
1539 ListFolders(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error)
1540
1541
1542
1543
1544
1545
1546 SearchFolders(ctx context.Context, in *SearchFoldersRequest, opts ...grpc.CallOption) (*SearchFoldersResponse, error)
1547
1548
1549
1550
1551
1552 GetFolder(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error)
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580 CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596 UpdateFolder(ctx context.Context, in *UpdateFolderRequest, opts ...grpc.CallOption) (*Folder, error)
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614 MoveFolder(ctx context.Context, in *MoveFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624 DeleteFolder(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*Folder, error)
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635 UndeleteFolder(ctx context.Context, in *UndeleteFolderRequest, opts ...grpc.CallOption) (*Folder, error)
1636
1637
1638
1639
1640
1641 GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
1642
1643
1644
1645
1646
1647 SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
1648
1649
1650
1651
1652
1653 TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
1654 }
1655
1656 type foldersClient struct {
1657 cc grpc.ClientConnInterface
1658 }
1659
1660 func NewFoldersClient(cc grpc.ClientConnInterface) FoldersClient {
1661 return &foldersClient{cc}
1662 }
1663
1664 func (c *foldersClient) ListFolders(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error) {
1665 out := new(ListFoldersResponse)
1666 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/ListFolders", in, out, opts...)
1667 if err != nil {
1668 return nil, err
1669 }
1670 return out, nil
1671 }
1672
1673 func (c *foldersClient) SearchFolders(ctx context.Context, in *SearchFoldersRequest, opts ...grpc.CallOption) (*SearchFoldersResponse, error) {
1674 out := new(SearchFoldersResponse)
1675 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/SearchFolders", in, out, opts...)
1676 if err != nil {
1677 return nil, err
1678 }
1679 return out, nil
1680 }
1681
1682 func (c *foldersClient) GetFolder(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error) {
1683 out := new(Folder)
1684 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/GetFolder", in, out, opts...)
1685 if err != nil {
1686 return nil, err
1687 }
1688 return out, nil
1689 }
1690
1691 func (c *foldersClient) CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
1692 out := new(longrunningpb.Operation)
1693 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/CreateFolder", in, out, opts...)
1694 if err != nil {
1695 return nil, err
1696 }
1697 return out, nil
1698 }
1699
1700 func (c *foldersClient) UpdateFolder(ctx context.Context, in *UpdateFolderRequest, opts ...grpc.CallOption) (*Folder, error) {
1701 out := new(Folder)
1702 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/UpdateFolder", in, out, opts...)
1703 if err != nil {
1704 return nil, err
1705 }
1706 return out, nil
1707 }
1708
1709 func (c *foldersClient) MoveFolder(ctx context.Context, in *MoveFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
1710 out := new(longrunningpb.Operation)
1711 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/MoveFolder", in, out, opts...)
1712 if err != nil {
1713 return nil, err
1714 }
1715 return out, nil
1716 }
1717
1718 func (c *foldersClient) DeleteFolder(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*Folder, error) {
1719 out := new(Folder)
1720 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/DeleteFolder", in, out, opts...)
1721 if err != nil {
1722 return nil, err
1723 }
1724 return out, nil
1725 }
1726
1727 func (c *foldersClient) UndeleteFolder(ctx context.Context, in *UndeleteFolderRequest, opts ...grpc.CallOption) (*Folder, error) {
1728 out := new(Folder)
1729 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/UndeleteFolder", in, out, opts...)
1730 if err != nil {
1731 return nil, err
1732 }
1733 return out, nil
1734 }
1735
1736 func (c *foldersClient) GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
1737 out := new(iampb.Policy)
1738 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/GetIamPolicy", in, out, opts...)
1739 if err != nil {
1740 return nil, err
1741 }
1742 return out, nil
1743 }
1744
1745 func (c *foldersClient) SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
1746 out := new(iampb.Policy)
1747 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/SetIamPolicy", in, out, opts...)
1748 if err != nil {
1749 return nil, err
1750 }
1751 return out, nil
1752 }
1753
1754 func (c *foldersClient) TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) {
1755 out := new(iampb.TestIamPermissionsResponse)
1756 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/TestIamPermissions", in, out, opts...)
1757 if err != nil {
1758 return nil, err
1759 }
1760 return out, nil
1761 }
1762
1763
1764 type FoldersServer interface {
1765
1766
1767
1768
1769
1770
1771
1772 ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
1773
1774
1775
1776
1777
1778
1779 SearchFolders(context.Context, *SearchFoldersRequest) (*SearchFoldersResponse, error)
1780
1781
1782
1783
1784
1785 GetFolder(context.Context, *GetFolderRequest) (*Folder, error)
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813 CreateFolder(context.Context, *CreateFolderRequest) (*longrunningpb.Operation, error)
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829 UpdateFolder(context.Context, *UpdateFolderRequest) (*Folder, error)
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847 MoveFolder(context.Context, *MoveFolderRequest) (*longrunningpb.Operation, error)
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857 DeleteFolder(context.Context, *DeleteFolderRequest) (*Folder, error)
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868 UndeleteFolder(context.Context, *UndeleteFolderRequest) (*Folder, error)
1869
1870
1871
1872
1873
1874 GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
1875
1876
1877
1878
1879
1880 SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
1881
1882
1883
1884
1885
1886 TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
1887 }
1888
1889
1890 type UnimplementedFoldersServer struct {
1891 }
1892
1893 func (*UnimplementedFoldersServer) ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error) {
1894 return nil, status.Errorf(codes.Unimplemented, "method ListFolders not implemented")
1895 }
1896 func (*UnimplementedFoldersServer) SearchFolders(context.Context, *SearchFoldersRequest) (*SearchFoldersResponse, error) {
1897 return nil, status.Errorf(codes.Unimplemented, "method SearchFolders not implemented")
1898 }
1899 func (*UnimplementedFoldersServer) GetFolder(context.Context, *GetFolderRequest) (*Folder, error) {
1900 return nil, status.Errorf(codes.Unimplemented, "method GetFolder not implemented")
1901 }
1902 func (*UnimplementedFoldersServer) CreateFolder(context.Context, *CreateFolderRequest) (*longrunningpb.Operation, error) {
1903 return nil, status.Errorf(codes.Unimplemented, "method CreateFolder not implemented")
1904 }
1905 func (*UnimplementedFoldersServer) UpdateFolder(context.Context, *UpdateFolderRequest) (*Folder, error) {
1906 return nil, status.Errorf(codes.Unimplemented, "method UpdateFolder not implemented")
1907 }
1908 func (*UnimplementedFoldersServer) MoveFolder(context.Context, *MoveFolderRequest) (*longrunningpb.Operation, error) {
1909 return nil, status.Errorf(codes.Unimplemented, "method MoveFolder not implemented")
1910 }
1911 func (*UnimplementedFoldersServer) DeleteFolder(context.Context, *DeleteFolderRequest) (*Folder, error) {
1912 return nil, status.Errorf(codes.Unimplemented, "method DeleteFolder not implemented")
1913 }
1914 func (*UnimplementedFoldersServer) UndeleteFolder(context.Context, *UndeleteFolderRequest) (*Folder, error) {
1915 return nil, status.Errorf(codes.Unimplemented, "method UndeleteFolder not implemented")
1916 }
1917 func (*UnimplementedFoldersServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) {
1918 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
1919 }
1920 func (*UnimplementedFoldersServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) {
1921 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
1922 }
1923 func (*UnimplementedFoldersServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) {
1924 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
1925 }
1926
1927 func RegisterFoldersServer(s *grpc.Server, srv FoldersServer) {
1928 s.RegisterService(&_Folders_serviceDesc, srv)
1929 }
1930
1931 func _Folders_ListFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1932 in := new(ListFoldersRequest)
1933 if err := dec(in); err != nil {
1934 return nil, err
1935 }
1936 if interceptor == nil {
1937 return srv.(FoldersServer).ListFolders(ctx, in)
1938 }
1939 info := &grpc.UnaryServerInfo{
1940 Server: srv,
1941 FullMethod: "/google.cloud.resourcemanager.v2.Folders/ListFolders",
1942 }
1943 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1944 return srv.(FoldersServer).ListFolders(ctx, req.(*ListFoldersRequest))
1945 }
1946 return interceptor(ctx, in, info, handler)
1947 }
1948
1949 func _Folders_SearchFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1950 in := new(SearchFoldersRequest)
1951 if err := dec(in); err != nil {
1952 return nil, err
1953 }
1954 if interceptor == nil {
1955 return srv.(FoldersServer).SearchFolders(ctx, in)
1956 }
1957 info := &grpc.UnaryServerInfo{
1958 Server: srv,
1959 FullMethod: "/google.cloud.resourcemanager.v2.Folders/SearchFolders",
1960 }
1961 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1962 return srv.(FoldersServer).SearchFolders(ctx, req.(*SearchFoldersRequest))
1963 }
1964 return interceptor(ctx, in, info, handler)
1965 }
1966
1967 func _Folders_GetFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1968 in := new(GetFolderRequest)
1969 if err := dec(in); err != nil {
1970 return nil, err
1971 }
1972 if interceptor == nil {
1973 return srv.(FoldersServer).GetFolder(ctx, in)
1974 }
1975 info := &grpc.UnaryServerInfo{
1976 Server: srv,
1977 FullMethod: "/google.cloud.resourcemanager.v2.Folders/GetFolder",
1978 }
1979 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1980 return srv.(FoldersServer).GetFolder(ctx, req.(*GetFolderRequest))
1981 }
1982 return interceptor(ctx, in, info, handler)
1983 }
1984
1985 func _Folders_CreateFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1986 in := new(CreateFolderRequest)
1987 if err := dec(in); err != nil {
1988 return nil, err
1989 }
1990 if interceptor == nil {
1991 return srv.(FoldersServer).CreateFolder(ctx, in)
1992 }
1993 info := &grpc.UnaryServerInfo{
1994 Server: srv,
1995 FullMethod: "/google.cloud.resourcemanager.v2.Folders/CreateFolder",
1996 }
1997 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1998 return srv.(FoldersServer).CreateFolder(ctx, req.(*CreateFolderRequest))
1999 }
2000 return interceptor(ctx, in, info, handler)
2001 }
2002
2003 func _Folders_UpdateFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2004 in := new(UpdateFolderRequest)
2005 if err := dec(in); err != nil {
2006 return nil, err
2007 }
2008 if interceptor == nil {
2009 return srv.(FoldersServer).UpdateFolder(ctx, in)
2010 }
2011 info := &grpc.UnaryServerInfo{
2012 Server: srv,
2013 FullMethod: "/google.cloud.resourcemanager.v2.Folders/UpdateFolder",
2014 }
2015 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2016 return srv.(FoldersServer).UpdateFolder(ctx, req.(*UpdateFolderRequest))
2017 }
2018 return interceptor(ctx, in, info, handler)
2019 }
2020
2021 func _Folders_MoveFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2022 in := new(MoveFolderRequest)
2023 if err := dec(in); err != nil {
2024 return nil, err
2025 }
2026 if interceptor == nil {
2027 return srv.(FoldersServer).MoveFolder(ctx, in)
2028 }
2029 info := &grpc.UnaryServerInfo{
2030 Server: srv,
2031 FullMethod: "/google.cloud.resourcemanager.v2.Folders/MoveFolder",
2032 }
2033 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2034 return srv.(FoldersServer).MoveFolder(ctx, req.(*MoveFolderRequest))
2035 }
2036 return interceptor(ctx, in, info, handler)
2037 }
2038
2039 func _Folders_DeleteFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2040 in := new(DeleteFolderRequest)
2041 if err := dec(in); err != nil {
2042 return nil, err
2043 }
2044 if interceptor == nil {
2045 return srv.(FoldersServer).DeleteFolder(ctx, in)
2046 }
2047 info := &grpc.UnaryServerInfo{
2048 Server: srv,
2049 FullMethod: "/google.cloud.resourcemanager.v2.Folders/DeleteFolder",
2050 }
2051 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2052 return srv.(FoldersServer).DeleteFolder(ctx, req.(*DeleteFolderRequest))
2053 }
2054 return interceptor(ctx, in, info, handler)
2055 }
2056
2057 func _Folders_UndeleteFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2058 in := new(UndeleteFolderRequest)
2059 if err := dec(in); err != nil {
2060 return nil, err
2061 }
2062 if interceptor == nil {
2063 return srv.(FoldersServer).UndeleteFolder(ctx, in)
2064 }
2065 info := &grpc.UnaryServerInfo{
2066 Server: srv,
2067 FullMethod: "/google.cloud.resourcemanager.v2.Folders/UndeleteFolder",
2068 }
2069 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2070 return srv.(FoldersServer).UndeleteFolder(ctx, req.(*UndeleteFolderRequest))
2071 }
2072 return interceptor(ctx, in, info, handler)
2073 }
2074
2075 func _Folders_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2076 in := new(iampb.GetIamPolicyRequest)
2077 if err := dec(in); err != nil {
2078 return nil, err
2079 }
2080 if interceptor == nil {
2081 return srv.(FoldersServer).GetIamPolicy(ctx, in)
2082 }
2083 info := &grpc.UnaryServerInfo{
2084 Server: srv,
2085 FullMethod: "/google.cloud.resourcemanager.v2.Folders/GetIamPolicy",
2086 }
2087 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2088 return srv.(FoldersServer).GetIamPolicy(ctx, req.(*iampb.GetIamPolicyRequest))
2089 }
2090 return interceptor(ctx, in, info, handler)
2091 }
2092
2093 func _Folders_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2094 in := new(iampb.SetIamPolicyRequest)
2095 if err := dec(in); err != nil {
2096 return nil, err
2097 }
2098 if interceptor == nil {
2099 return srv.(FoldersServer).SetIamPolicy(ctx, in)
2100 }
2101 info := &grpc.UnaryServerInfo{
2102 Server: srv,
2103 FullMethod: "/google.cloud.resourcemanager.v2.Folders/SetIamPolicy",
2104 }
2105 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2106 return srv.(FoldersServer).SetIamPolicy(ctx, req.(*iampb.SetIamPolicyRequest))
2107 }
2108 return interceptor(ctx, in, info, handler)
2109 }
2110
2111 func _Folders_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2112 in := new(iampb.TestIamPermissionsRequest)
2113 if err := dec(in); err != nil {
2114 return nil, err
2115 }
2116 if interceptor == nil {
2117 return srv.(FoldersServer).TestIamPermissions(ctx, in)
2118 }
2119 info := &grpc.UnaryServerInfo{
2120 Server: srv,
2121 FullMethod: "/google.cloud.resourcemanager.v2.Folders/TestIamPermissions",
2122 }
2123 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2124 return srv.(FoldersServer).TestIamPermissions(ctx, req.(*iampb.TestIamPermissionsRequest))
2125 }
2126 return interceptor(ctx, in, info, handler)
2127 }
2128
2129 var _Folders_serviceDesc = grpc.ServiceDesc{
2130 ServiceName: "google.cloud.resourcemanager.v2.Folders",
2131 HandlerType: (*FoldersServer)(nil),
2132 Methods: []grpc.MethodDesc{
2133 {
2134 MethodName: "ListFolders",
2135 Handler: _Folders_ListFolders_Handler,
2136 },
2137 {
2138 MethodName: "SearchFolders",
2139 Handler: _Folders_SearchFolders_Handler,
2140 },
2141 {
2142 MethodName: "GetFolder",
2143 Handler: _Folders_GetFolder_Handler,
2144 },
2145 {
2146 MethodName: "CreateFolder",
2147 Handler: _Folders_CreateFolder_Handler,
2148 },
2149 {
2150 MethodName: "UpdateFolder",
2151 Handler: _Folders_UpdateFolder_Handler,
2152 },
2153 {
2154 MethodName: "MoveFolder",
2155 Handler: _Folders_MoveFolder_Handler,
2156 },
2157 {
2158 MethodName: "DeleteFolder",
2159 Handler: _Folders_DeleteFolder_Handler,
2160 },
2161 {
2162 MethodName: "UndeleteFolder",
2163 Handler: _Folders_UndeleteFolder_Handler,
2164 },
2165 {
2166 MethodName: "GetIamPolicy",
2167 Handler: _Folders_GetIamPolicy_Handler,
2168 },
2169 {
2170 MethodName: "SetIamPolicy",
2171 Handler: _Folders_SetIamPolicy_Handler,
2172 },
2173 {
2174 MethodName: "TestIamPermissions",
2175 Handler: _Folders_TestIamPermissions_Handler,
2176 },
2177 },
2178 Streams: []grpc.StreamDesc{},
2179 Metadata: "google/cloud/resourcemanager/v2/folders.proto",
2180 }
2181
View as plain text