-
Notifications
You must be signed in to change notification settings - Fork 0
/
GroupsGrpc.cs
executable file
·1328 lines (1277 loc) · 94.6 KB
/
GroupsGrpc.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: groups/groups.proto
// </auto-generated>
#pragma warning disable 0414, 1591
#region Designer generated code
using grpc = global::Grpc.Core;
namespace Mruv.Groups {
/// <summary>
/// The MruV groups service provides procedures for managing groups.
/// </summary>
public static partial class MruVGroupsService
{
static readonly string __ServiceName = "mruv.groups.MruVGroupsService";
static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
{
#if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
if (message is global::Google.Protobuf.IBufferMessage)
{
context.SetPayloadLength(message.CalculateSize());
global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
context.Complete();
return;
}
#endif
context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
}
static class __Helper_MessageCache<T>
{
public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
}
static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
{
#if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
if (__Helper_MessageCache<T>.IsBufferMessage)
{
return parser.ParseFrom(context.PayloadAsReadOnlySequence());
}
#endif
return parser.ParseFrom(context.PayloadAsNewBuffer());
}
static readonly grpc::Marshaller<global::Mruv.Groups.CreateGroupRequest> __Marshaller_mruv_groups_CreateGroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.CreateGroupRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.CreateGroupResponse> __Marshaller_mruv_groups_CreateGroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.CreateGroupResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetGroupRequest> __Marshaller_mruv_groups_GetGroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetGroupRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetGroupResponse> __Marshaller_mruv_groups_GetGroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetGroupResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.UpdateGroupRequest> __Marshaller_mruv_groups_UpdateGroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.UpdateGroupRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.UpdateGroupResponse> __Marshaller_mruv_groups_UpdateGroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.UpdateGroupResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.DeleteGroupRequest> __Marshaller_mruv_groups_DeleteGroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.DeleteGroupRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.DeleteGroupResponse> __Marshaller_mruv_groups_DeleteGroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.DeleteGroupResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetGroupsRequest> __Marshaller_mruv_groups_GetGroupsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetGroupsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetGroupsResponse> __Marshaller_mruv_groups_GetGroupsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetGroupsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.AssignOwnerRequest> __Marshaller_mruv_groups_AssignOwnerRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.AssignOwnerRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.AssignOwnerResponse> __Marshaller_mruv_groups_AssignOwnerResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.AssignOwnerResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetOwnerRequest> __Marshaller_mruv_groups_GetOwnerRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetOwnerRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetOwnerResponse> __Marshaller_mruv_groups_GetOwnerResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetOwnerResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.AddMemberRequest> __Marshaller_mruv_groups_AddMemberRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.AddMemberRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.AddMemberResponse> __Marshaller_mruv_groups_AddMemberResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.AddMemberResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetMembersRequest> __Marshaller_mruv_groups_GetMembersRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetMembersRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetMembersResponse> __Marshaller_mruv_groups_GetMembersResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetMembersResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.RemoveMemberRequest> __Marshaller_mruv_groups_RemoveMemberRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.RemoveMemberRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.RemoveMemberResponse> __Marshaller_mruv_groups_RemoveMemberResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.RemoveMemberResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.AddPermissionRequest> __Marshaller_mruv_groups_AddPermissionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.AddPermissionRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.AddPermissionResponse> __Marshaller_mruv_groups_AddPermissionResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.AddPermissionResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetPermissionsRequest> __Marshaller_mruv_groups_GetPermissionsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetPermissionsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetPermissionsResponse> __Marshaller_mruv_groups_GetPermissionsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetPermissionsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.RemovePermissionRequest> __Marshaller_mruv_groups_RemovePermissionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.RemovePermissionRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.RemovePermissionResponse> __Marshaller_mruv_groups_RemovePermissionResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.RemovePermissionResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.AddSubgroupRequest> __Marshaller_mruv_groups_AddSubgroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.AddSubgroupRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.AddSubgroupResponse> __Marshaller_mruv_groups_AddSubgroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.AddSubgroupResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetSubgroupsRequest> __Marshaller_mruv_groups_GetSubgroupsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetSubgroupsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.GetSubgroupsResponse> __Marshaller_mruv_groups_GetSubgroupsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.GetSubgroupsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.RemoveSubgroupRequest> __Marshaller_mruv_groups_RemoveSubgroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.RemoveSubgroupRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.RemoveSubgroupResponse> __Marshaller_mruv_groups_RemoveSubgroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.RemoveSubgroupResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.IsPermittedRequest> __Marshaller_mruv_groups_IsPermittedRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.IsPermittedRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Groups.IsPermittedResponse> __Marshaller_mruv_groups_IsPermittedResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Groups.IsPermittedResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Common.ServiceStatusRequest> __Marshaller_mruv_common_ServiceStatusRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Common.ServiceStatusRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Common.ServiceStatusResponse> __Marshaller_mruv_common_ServiceStatusResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Common.ServiceStatusResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Common.VersionRequest> __Marshaller_mruv_common_VersionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Common.VersionRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Common.VersionResponse> __Marshaller_mruv_common_VersionResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Common.VersionResponse.Parser));
static readonly grpc::Method<global::Mruv.Groups.CreateGroupRequest, global::Mruv.Groups.CreateGroupResponse> __Method_CreateGroup = new grpc::Method<global::Mruv.Groups.CreateGroupRequest, global::Mruv.Groups.CreateGroupResponse>(
grpc::MethodType.Unary,
__ServiceName,
"CreateGroup",
__Marshaller_mruv_groups_CreateGroupRequest,
__Marshaller_mruv_groups_CreateGroupResponse);
static readonly grpc::Method<global::Mruv.Groups.GetGroupRequest, global::Mruv.Groups.GetGroupResponse> __Method_GetGroup = new grpc::Method<global::Mruv.Groups.GetGroupRequest, global::Mruv.Groups.GetGroupResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetGroup",
__Marshaller_mruv_groups_GetGroupRequest,
__Marshaller_mruv_groups_GetGroupResponse);
static readonly grpc::Method<global::Mruv.Groups.UpdateGroupRequest, global::Mruv.Groups.UpdateGroupResponse> __Method_UpdateGroup = new grpc::Method<global::Mruv.Groups.UpdateGroupRequest, global::Mruv.Groups.UpdateGroupResponse>(
grpc::MethodType.Unary,
__ServiceName,
"UpdateGroup",
__Marshaller_mruv_groups_UpdateGroupRequest,
__Marshaller_mruv_groups_UpdateGroupResponse);
static readonly grpc::Method<global::Mruv.Groups.DeleteGroupRequest, global::Mruv.Groups.DeleteGroupResponse> __Method_DeleteGroup = new grpc::Method<global::Mruv.Groups.DeleteGroupRequest, global::Mruv.Groups.DeleteGroupResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DeleteGroup",
__Marshaller_mruv_groups_DeleteGroupRequest,
__Marshaller_mruv_groups_DeleteGroupResponse);
static readonly grpc::Method<global::Mruv.Groups.GetGroupsRequest, global::Mruv.Groups.GetGroupsResponse> __Method_GetGroups = new grpc::Method<global::Mruv.Groups.GetGroupsRequest, global::Mruv.Groups.GetGroupsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetGroups",
__Marshaller_mruv_groups_GetGroupsRequest,
__Marshaller_mruv_groups_GetGroupsResponse);
static readonly grpc::Method<global::Mruv.Groups.AssignOwnerRequest, global::Mruv.Groups.AssignOwnerResponse> __Method_AssignOwner = new grpc::Method<global::Mruv.Groups.AssignOwnerRequest, global::Mruv.Groups.AssignOwnerResponse>(
grpc::MethodType.Unary,
__ServiceName,
"AssignOwner",
__Marshaller_mruv_groups_AssignOwnerRequest,
__Marshaller_mruv_groups_AssignOwnerResponse);
static readonly grpc::Method<global::Mruv.Groups.GetOwnerRequest, global::Mruv.Groups.GetOwnerResponse> __Method_GetOwner = new grpc::Method<global::Mruv.Groups.GetOwnerRequest, global::Mruv.Groups.GetOwnerResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetOwner",
__Marshaller_mruv_groups_GetOwnerRequest,
__Marshaller_mruv_groups_GetOwnerResponse);
static readonly grpc::Method<global::Mruv.Groups.AddMemberRequest, global::Mruv.Groups.AddMemberResponse> __Method_AddMember = new grpc::Method<global::Mruv.Groups.AddMemberRequest, global::Mruv.Groups.AddMemberResponse>(
grpc::MethodType.Unary,
__ServiceName,
"AddMember",
__Marshaller_mruv_groups_AddMemberRequest,
__Marshaller_mruv_groups_AddMemberResponse);
static readonly grpc::Method<global::Mruv.Groups.GetMembersRequest, global::Mruv.Groups.GetMembersResponse> __Method_GetMembers = new grpc::Method<global::Mruv.Groups.GetMembersRequest, global::Mruv.Groups.GetMembersResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetMembers",
__Marshaller_mruv_groups_GetMembersRequest,
__Marshaller_mruv_groups_GetMembersResponse);
static readonly grpc::Method<global::Mruv.Groups.RemoveMemberRequest, global::Mruv.Groups.RemoveMemberResponse> __Method_RemoveMember = new grpc::Method<global::Mruv.Groups.RemoveMemberRequest, global::Mruv.Groups.RemoveMemberResponse>(
grpc::MethodType.Unary,
__ServiceName,
"RemoveMember",
__Marshaller_mruv_groups_RemoveMemberRequest,
__Marshaller_mruv_groups_RemoveMemberResponse);
static readonly grpc::Method<global::Mruv.Groups.AddPermissionRequest, global::Mruv.Groups.AddPermissionResponse> __Method_AddPermission = new grpc::Method<global::Mruv.Groups.AddPermissionRequest, global::Mruv.Groups.AddPermissionResponse>(
grpc::MethodType.Unary,
__ServiceName,
"AddPermission",
__Marshaller_mruv_groups_AddPermissionRequest,
__Marshaller_mruv_groups_AddPermissionResponse);
static readonly grpc::Method<global::Mruv.Groups.GetPermissionsRequest, global::Mruv.Groups.GetPermissionsResponse> __Method_GetPermissions = new grpc::Method<global::Mruv.Groups.GetPermissionsRequest, global::Mruv.Groups.GetPermissionsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetPermissions",
__Marshaller_mruv_groups_GetPermissionsRequest,
__Marshaller_mruv_groups_GetPermissionsResponse);
static readonly grpc::Method<global::Mruv.Groups.RemovePermissionRequest, global::Mruv.Groups.RemovePermissionResponse> __Method_RemovePermission = new grpc::Method<global::Mruv.Groups.RemovePermissionRequest, global::Mruv.Groups.RemovePermissionResponse>(
grpc::MethodType.Unary,
__ServiceName,
"RemovePermission",
__Marshaller_mruv_groups_RemovePermissionRequest,
__Marshaller_mruv_groups_RemovePermissionResponse);
static readonly grpc::Method<global::Mruv.Groups.AddSubgroupRequest, global::Mruv.Groups.AddSubgroupResponse> __Method_AddSubgroup = new grpc::Method<global::Mruv.Groups.AddSubgroupRequest, global::Mruv.Groups.AddSubgroupResponse>(
grpc::MethodType.Unary,
__ServiceName,
"AddSubgroup",
__Marshaller_mruv_groups_AddSubgroupRequest,
__Marshaller_mruv_groups_AddSubgroupResponse);
static readonly grpc::Method<global::Mruv.Groups.GetSubgroupsRequest, global::Mruv.Groups.GetSubgroupsResponse> __Method_GetSubgroups = new grpc::Method<global::Mruv.Groups.GetSubgroupsRequest, global::Mruv.Groups.GetSubgroupsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetSubgroups",
__Marshaller_mruv_groups_GetSubgroupsRequest,
__Marshaller_mruv_groups_GetSubgroupsResponse);
static readonly grpc::Method<global::Mruv.Groups.RemoveSubgroupRequest, global::Mruv.Groups.RemoveSubgroupResponse> __Method_RemoveSubgroup = new grpc::Method<global::Mruv.Groups.RemoveSubgroupRequest, global::Mruv.Groups.RemoveSubgroupResponse>(
grpc::MethodType.Unary,
__ServiceName,
"RemoveSubgroup",
__Marshaller_mruv_groups_RemoveSubgroupRequest,
__Marshaller_mruv_groups_RemoveSubgroupResponse);
static readonly grpc::Method<global::Mruv.Groups.IsPermittedRequest, global::Mruv.Groups.IsPermittedResponse> __Method_IsPermitted = new grpc::Method<global::Mruv.Groups.IsPermittedRequest, global::Mruv.Groups.IsPermittedResponse>(
grpc::MethodType.Unary,
__ServiceName,
"IsPermitted",
__Marshaller_mruv_groups_IsPermittedRequest,
__Marshaller_mruv_groups_IsPermittedResponse);
static readonly grpc::Method<global::Mruv.Common.ServiceStatusRequest, global::Mruv.Common.ServiceStatusResponse> __Method_GetServiceStatus = new grpc::Method<global::Mruv.Common.ServiceStatusRequest, global::Mruv.Common.ServiceStatusResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetServiceStatus",
__Marshaller_mruv_common_ServiceStatusRequest,
__Marshaller_mruv_common_ServiceStatusResponse);
static readonly grpc::Method<global::Mruv.Common.VersionRequest, global::Mruv.Common.VersionResponse> __Method_GetServiceVersion = new grpc::Method<global::Mruv.Common.VersionRequest, global::Mruv.Common.VersionResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetServiceVersion",
__Marshaller_mruv_common_VersionRequest,
__Marshaller_mruv_common_VersionResponse);
/// <summary>Service descriptor</summary>
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
{
get { return global::Mruv.Groups.GroupsReflection.Descriptor.Services[0]; }
}
/// <summary>Base class for server-side implementations of MruVGroupsService</summary>
[grpc::BindServiceMethod(typeof(MruVGroupsService), "BindService")]
public abstract partial class MruVGroupsServiceBase
{
/// <summary>
/// Create a group.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.CreateGroupResponse> CreateGroup(global::Mruv.Groups.CreateGroupRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get a group.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.GetGroupResponse> GetGroup(global::Mruv.Groups.GetGroupRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Update a group.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.UpdateGroupResponse> UpdateGroup(global::Mruv.Groups.UpdateGroupRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Delete a group.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.DeleteGroupResponse> DeleteGroup(global::Mruv.Groups.DeleteGroupRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get all groups.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.GetGroupsResponse> GetGroups(global::Mruv.Groups.GetGroupsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Assign an owner. Group can have only one owner. Owner can be a player, a group or an account.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.AssignOwnerResponse> AssignOwner(global::Mruv.Groups.AssignOwnerRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get group owner.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.GetOwnerResponse> GetOwner(global::Mruv.Groups.GetOwnerRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Add a group member.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.AddMemberResponse> AddMember(global::Mruv.Groups.AddMemberRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get a group member.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.GetMembersResponse> GetMembers(global::Mruv.Groups.GetMembersRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Remove a group member.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.RemoveMemberResponse> RemoveMember(global::Mruv.Groups.RemoveMemberRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Add a permission to a group.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.AddPermissionResponse> AddPermission(global::Mruv.Groups.AddPermissionRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get all group permissions.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.GetPermissionsResponse> GetPermissions(global::Mruv.Groups.GetPermissionsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Remove group permission.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.RemovePermissionResponse> RemovePermission(global::Mruv.Groups.RemovePermissionRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Add a subgroup to a group.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.AddSubgroupResponse> AddSubgroup(global::Mruv.Groups.AddSubgroupRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get all subgroups.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.GetSubgroupsResponse> GetSubgroups(global::Mruv.Groups.GetSubgroupsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Remove a subgroup from group.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.RemoveSubgroupResponse> RemoveSubgroup(global::Mruv.Groups.RemoveSubgroupRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Check is member of a group is permitted to do specific action.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Groups.IsPermittedResponse> IsPermitted(global::Mruv.Groups.IsPermittedRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
///Service status
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Common.ServiceStatusResponse> GetServiceStatus(global::Mruv.Common.ServiceStatusRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
public virtual global::System.Threading.Tasks.Task<global::Mruv.Common.VersionResponse> GetServiceVersion(global::Mruv.Common.VersionRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
}
/// <summary>Client for MruVGroupsService</summary>
public partial class MruVGroupsServiceClient : grpc::ClientBase<MruVGroupsServiceClient>
{
/// <summary>Creates a new client for MruVGroupsService</summary>
/// <param name="channel">The channel to use to make remote calls.</param>
public MruVGroupsServiceClient(grpc::ChannelBase channel) : base(channel)
{
}
/// <summary>Creates a new client for MruVGroupsService that uses a custom <c>CallInvoker</c>.</summary>
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
public MruVGroupsServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
{
}
/// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
protected MruVGroupsServiceClient() : base()
{
}
/// <summary>Protected constructor to allow creation of configured clients.</summary>
/// <param name="configuration">The client configuration.</param>
protected MruVGroupsServiceClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
/// <summary>
/// Create a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.CreateGroupResponse CreateGroup(global::Mruv.Groups.CreateGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return CreateGroup(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Create a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.CreateGroupResponse CreateGroup(global::Mruv.Groups.CreateGroupRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_CreateGroup, null, options, request);
}
/// <summary>
/// Create a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.CreateGroupResponse> CreateGroupAsync(global::Mruv.Groups.CreateGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return CreateGroupAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Create a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.CreateGroupResponse> CreateGroupAsync(global::Mruv.Groups.CreateGroupRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_CreateGroup, null, options, request);
}
/// <summary>
/// Get a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetGroupResponse GetGroup(global::Mruv.Groups.GetGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetGroup(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetGroupResponse GetGroup(global::Mruv.Groups.GetGroupRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetGroup, null, options, request);
}
/// <summary>
/// Get a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetGroupResponse> GetGroupAsync(global::Mruv.Groups.GetGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetGroupAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetGroupResponse> GetGroupAsync(global::Mruv.Groups.GetGroupRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetGroup, null, options, request);
}
/// <summary>
/// Update a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.UpdateGroupResponse UpdateGroup(global::Mruv.Groups.UpdateGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return UpdateGroup(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Update a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.UpdateGroupResponse UpdateGroup(global::Mruv.Groups.UpdateGroupRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_UpdateGroup, null, options, request);
}
/// <summary>
/// Update a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.UpdateGroupResponse> UpdateGroupAsync(global::Mruv.Groups.UpdateGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return UpdateGroupAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Update a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.UpdateGroupResponse> UpdateGroupAsync(global::Mruv.Groups.UpdateGroupRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_UpdateGroup, null, options, request);
}
/// <summary>
/// Delete a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.DeleteGroupResponse DeleteGroup(global::Mruv.Groups.DeleteGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteGroup(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.DeleteGroupResponse DeleteGroup(global::Mruv.Groups.DeleteGroupRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeleteGroup, null, options, request);
}
/// <summary>
/// Delete a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.DeleteGroupResponse> DeleteGroupAsync(global::Mruv.Groups.DeleteGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteGroupAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.DeleteGroupResponse> DeleteGroupAsync(global::Mruv.Groups.DeleteGroupRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeleteGroup, null, options, request);
}
/// <summary>
/// Get all groups.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetGroupsResponse GetGroups(global::Mruv.Groups.GetGroupsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetGroups(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all groups.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetGroupsResponse GetGroups(global::Mruv.Groups.GetGroupsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetGroups, null, options, request);
}
/// <summary>
/// Get all groups.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetGroupsResponse> GetGroupsAsync(global::Mruv.Groups.GetGroupsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetGroupsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all groups.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetGroupsResponse> GetGroupsAsync(global::Mruv.Groups.GetGroupsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetGroups, null, options, request);
}
/// <summary>
/// Assign an owner. Group can have only one owner. Owner can be a player, a group or an account.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.AssignOwnerResponse AssignOwner(global::Mruv.Groups.AssignOwnerRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AssignOwner(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Assign an owner. Group can have only one owner. Owner can be a player, a group or an account.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.AssignOwnerResponse AssignOwner(global::Mruv.Groups.AssignOwnerRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_AssignOwner, null, options, request);
}
/// <summary>
/// Assign an owner. Group can have only one owner. Owner can be a player, a group or an account.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.AssignOwnerResponse> AssignOwnerAsync(global::Mruv.Groups.AssignOwnerRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AssignOwnerAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Assign an owner. Group can have only one owner. Owner can be a player, a group or an account.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.AssignOwnerResponse> AssignOwnerAsync(global::Mruv.Groups.AssignOwnerRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_AssignOwner, null, options, request);
}
/// <summary>
/// Get group owner.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetOwnerResponse GetOwner(global::Mruv.Groups.GetOwnerRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetOwner(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get group owner.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetOwnerResponse GetOwner(global::Mruv.Groups.GetOwnerRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetOwner, null, options, request);
}
/// <summary>
/// Get group owner.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetOwnerResponse> GetOwnerAsync(global::Mruv.Groups.GetOwnerRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetOwnerAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get group owner.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetOwnerResponse> GetOwnerAsync(global::Mruv.Groups.GetOwnerRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetOwner, null, options, request);
}
/// <summary>
/// Add a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.AddMemberResponse AddMember(global::Mruv.Groups.AddMemberRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddMember(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Add a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.AddMemberResponse AddMember(global::Mruv.Groups.AddMemberRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_AddMember, null, options, request);
}
/// <summary>
/// Add a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.AddMemberResponse> AddMemberAsync(global::Mruv.Groups.AddMemberRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddMemberAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Add a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.AddMemberResponse> AddMemberAsync(global::Mruv.Groups.AddMemberRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_AddMember, null, options, request);
}
/// <summary>
/// Get a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetMembersResponse GetMembers(global::Mruv.Groups.GetMembersRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetMembers(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetMembersResponse GetMembers(global::Mruv.Groups.GetMembersRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetMembers, null, options, request);
}
/// <summary>
/// Get a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetMembersResponse> GetMembersAsync(global::Mruv.Groups.GetMembersRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetMembersAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetMembersResponse> GetMembersAsync(global::Mruv.Groups.GetMembersRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetMembers, null, options, request);
}
/// <summary>
/// Remove a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.RemoveMemberResponse RemoveMember(global::Mruv.Groups.RemoveMemberRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return RemoveMember(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Remove a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.RemoveMemberResponse RemoveMember(global::Mruv.Groups.RemoveMemberRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_RemoveMember, null, options, request);
}
/// <summary>
/// Remove a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.RemoveMemberResponse> RemoveMemberAsync(global::Mruv.Groups.RemoveMemberRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return RemoveMemberAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Remove a group member.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.RemoveMemberResponse> RemoveMemberAsync(global::Mruv.Groups.RemoveMemberRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_RemoveMember, null, options, request);
}
/// <summary>
/// Add a permission to a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.AddPermissionResponse AddPermission(global::Mruv.Groups.AddPermissionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddPermission(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Add a permission to a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.AddPermissionResponse AddPermission(global::Mruv.Groups.AddPermissionRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_AddPermission, null, options, request);
}
/// <summary>
/// Add a permission to a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.AddPermissionResponse> AddPermissionAsync(global::Mruv.Groups.AddPermissionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddPermissionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Add a permission to a group.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.AddPermissionResponse> AddPermissionAsync(global::Mruv.Groups.AddPermissionRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_AddPermission, null, options, request);
}
/// <summary>
/// Get all group permissions.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetPermissionsResponse GetPermissions(global::Mruv.Groups.GetPermissionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetPermissions(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all group permissions.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.GetPermissionsResponse GetPermissions(global::Mruv.Groups.GetPermissionsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetPermissions, null, options, request);
}
/// <summary>
/// Get all group permissions.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetPermissionsResponse> GetPermissionsAsync(global::Mruv.Groups.GetPermissionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetPermissionsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all group permissions.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Groups.GetPermissionsResponse> GetPermissionsAsync(global::Mruv.Groups.GetPermissionsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetPermissions, null, options, request);
}
/// <summary>
/// Remove group permission.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Groups.RemovePermissionResponse RemovePermission(global::Mruv.Groups.RemovePermissionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return RemovePermission(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Remove group permission.
/// </summary>