-
Notifications
You must be signed in to change notification settings - Fork 0
/
DevtoolsGrpc.cs
executable file
·768 lines (735 loc) · 53.3 KB
/
DevtoolsGrpc.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
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: devtools/devtools.proto
// </auto-generated>
#pragma warning disable 0414, 1591
#region Designer generated code
using grpc = global::Grpc.Core;
namespace Mruv.Devtools {
/// <summary>
/// The MruV developer tools service for mruv-devtools package.
/// </summary>
public static partial class MruVDevToolsService
{
static readonly string __ServiceName = "mruv.devtools.MruVDevToolsService";
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.Devtools.GetPositionsRequest> __Marshaller_mruv_devtools_GetPositionsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.GetPositionsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.GetPositionsResponse> __Marshaller_mruv_devtools_GetPositionsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.GetPositionsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.SavePositionRequest> __Marshaller_mruv_devtools_SavePositionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.SavePositionRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.SavePositionResponse> __Marshaller_mruv_devtools_SavePositionResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.SavePositionResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.DeletePositionRequest> __Marshaller_mruv_devtools_DeletePositionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.DeletePositionRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.DeletePositionResponse> __Marshaller_mruv_devtools_DeletePositionResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.DeletePositionResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.GetOutfitsRequest> __Marshaller_mruv_devtools_GetOutfitsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.GetOutfitsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.GetOutfitsResponse> __Marshaller_mruv_devtools_GetOutfitsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.GetOutfitsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.SaveOutfitRequest> __Marshaller_mruv_devtools_SaveOutfitRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.SaveOutfitRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.SaveOutfitResponse> __Marshaller_mruv_devtools_SaveOutfitResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.SaveOutfitResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.GetAnimationsRequest> __Marshaller_mruv_devtools_GetAnimationsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.GetAnimationsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.GetAnimationsResponse> __Marshaller_mruv_devtools_GetAnimationsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.GetAnimationsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.GetAnimationRequest> __Marshaller_mruv_devtools_GetAnimationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.GetAnimationRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.GetAnimationResponse> __Marshaller_mruv_devtools_GetAnimationResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.GetAnimationResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.SaveAnimationRequest> __Marshaller_mruv_devtools_SaveAnimationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.SaveAnimationRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Devtools.SaveAnimationResponse> __Marshaller_mruv_devtools_SaveAnimationResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Devtools.SaveAnimationResponse.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.Devtools.GetPositionsRequest, global::Mruv.Devtools.GetPositionsResponse> __Method_GetPositions = new grpc::Method<global::Mruv.Devtools.GetPositionsRequest, global::Mruv.Devtools.GetPositionsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetPositions",
__Marshaller_mruv_devtools_GetPositionsRequest,
__Marshaller_mruv_devtools_GetPositionsResponse);
static readonly grpc::Method<global::Mruv.Devtools.SavePositionRequest, global::Mruv.Devtools.SavePositionResponse> __Method_SavePosition = new grpc::Method<global::Mruv.Devtools.SavePositionRequest, global::Mruv.Devtools.SavePositionResponse>(
grpc::MethodType.Unary,
__ServiceName,
"SavePosition",
__Marshaller_mruv_devtools_SavePositionRequest,
__Marshaller_mruv_devtools_SavePositionResponse);
static readonly grpc::Method<global::Mruv.Devtools.DeletePositionRequest, global::Mruv.Devtools.DeletePositionResponse> __Method_DeletePosition = new grpc::Method<global::Mruv.Devtools.DeletePositionRequest, global::Mruv.Devtools.DeletePositionResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DeletePosition",
__Marshaller_mruv_devtools_DeletePositionRequest,
__Marshaller_mruv_devtools_DeletePositionResponse);
static readonly grpc::Method<global::Mruv.Devtools.GetOutfitsRequest, global::Mruv.Devtools.GetOutfitsResponse> __Method_GetOutfits = new grpc::Method<global::Mruv.Devtools.GetOutfitsRequest, global::Mruv.Devtools.GetOutfitsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetOutfits",
__Marshaller_mruv_devtools_GetOutfitsRequest,
__Marshaller_mruv_devtools_GetOutfitsResponse);
static readonly grpc::Method<global::Mruv.Devtools.SaveOutfitRequest, global::Mruv.Devtools.SaveOutfitResponse> __Method_SaveOutfit = new grpc::Method<global::Mruv.Devtools.SaveOutfitRequest, global::Mruv.Devtools.SaveOutfitResponse>(
grpc::MethodType.Unary,
__ServiceName,
"SaveOutfit",
__Marshaller_mruv_devtools_SaveOutfitRequest,
__Marshaller_mruv_devtools_SaveOutfitResponse);
static readonly grpc::Method<global::Mruv.Devtools.GetAnimationsRequest, global::Mruv.Devtools.GetAnimationsResponse> __Method_GetAnimations = new grpc::Method<global::Mruv.Devtools.GetAnimationsRequest, global::Mruv.Devtools.GetAnimationsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetAnimations",
__Marshaller_mruv_devtools_GetAnimationsRequest,
__Marshaller_mruv_devtools_GetAnimationsResponse);
static readonly grpc::Method<global::Mruv.Devtools.GetAnimationRequest, global::Mruv.Devtools.GetAnimationResponse> __Method_GetAnimation = new grpc::Method<global::Mruv.Devtools.GetAnimationRequest, global::Mruv.Devtools.GetAnimationResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetAnimation",
__Marshaller_mruv_devtools_GetAnimationRequest,
__Marshaller_mruv_devtools_GetAnimationResponse);
static readonly grpc::Method<global::Mruv.Devtools.SaveAnimationRequest, global::Mruv.Devtools.SaveAnimationResponse> __Method_SaveAnimation = new grpc::Method<global::Mruv.Devtools.SaveAnimationRequest, global::Mruv.Devtools.SaveAnimationResponse>(
grpc::MethodType.Unary,
__ServiceName,
"SaveAnimation",
__Marshaller_mruv_devtools_SaveAnimationRequest,
__Marshaller_mruv_devtools_SaveAnimationResponse);
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.Devtools.DevtoolsReflection.Descriptor.Services[0]; }
}
/// <summary>Base class for server-side implementations of MruVDevToolsService</summary>
[grpc::BindServiceMethod(typeof(MruVDevToolsService), "BindService")]
public abstract partial class MruVDevToolsServiceBase
{
/// <summary>
/// Get saved positions.
/// </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.Devtools.GetPositionsResponse> GetPositions(global::Mruv.Devtools.GetPositionsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Save position.
/// </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.Devtools.SavePositionResponse> SavePosition(global::Mruv.Devtools.SavePositionRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Delete position.
/// </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.Devtools.DeletePositionResponse> DeletePosition(global::Mruv.Devtools.DeletePositionRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get saved outfit.
/// </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.Devtools.GetOutfitsResponse> GetOutfits(global::Mruv.Devtools.GetOutfitsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Save outfit.
/// </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.Devtools.SaveOutfitResponse> SaveOutfit(global::Mruv.Devtools.SaveOutfitRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get all saved animations.
/// </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.Devtools.GetAnimationsResponse> GetAnimations(global::Mruv.Devtools.GetAnimationsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get saved animation by name.
/// </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.Devtools.GetAnimationResponse> GetAnimation(global::Mruv.Devtools.GetAnimationRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Save animation.
/// </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.Devtools.SaveAnimationResponse> SaveAnimation(global::Mruv.Devtools.SaveAnimationRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
///Get 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, ""));
}
/// <summary>
///Get service version.
/// </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.VersionResponse> GetServiceVersion(global::Mruv.Common.VersionRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
}
/// <summary>Client for MruVDevToolsService</summary>
public partial class MruVDevToolsServiceClient : grpc::ClientBase<MruVDevToolsServiceClient>
{
/// <summary>Creates a new client for MruVDevToolsService</summary>
/// <param name="channel">The channel to use to make remote calls.</param>
public MruVDevToolsServiceClient(grpc::ChannelBase channel) : base(channel)
{
}
/// <summary>Creates a new client for MruVDevToolsService that uses a custom <c>CallInvoker</c>.</summary>
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
public MruVDevToolsServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
{
}
/// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
protected MruVDevToolsServiceClient() : base()
{
}
/// <summary>Protected constructor to allow creation of configured clients.</summary>
/// <param name="configuration">The client configuration.</param>
protected MruVDevToolsServiceClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
/// <summary>
/// Get saved positions.
/// </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.Devtools.GetPositionsResponse GetPositions(global::Mruv.Devtools.GetPositionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetPositions(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get saved positions.
/// </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.Devtools.GetPositionsResponse GetPositions(global::Mruv.Devtools.GetPositionsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetPositions, null, options, request);
}
/// <summary>
/// Get saved positions.
/// </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.Devtools.GetPositionsResponse> GetPositionsAsync(global::Mruv.Devtools.GetPositionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetPositionsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get saved positions.
/// </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.Devtools.GetPositionsResponse> GetPositionsAsync(global::Mruv.Devtools.GetPositionsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetPositions, null, options, request);
}
/// <summary>
/// Save position.
/// </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.Devtools.SavePositionResponse SavePosition(global::Mruv.Devtools.SavePositionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return SavePosition(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Save position.
/// </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.Devtools.SavePositionResponse SavePosition(global::Mruv.Devtools.SavePositionRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_SavePosition, null, options, request);
}
/// <summary>
/// Save position.
/// </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.Devtools.SavePositionResponse> SavePositionAsync(global::Mruv.Devtools.SavePositionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return SavePositionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Save position.
/// </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.Devtools.SavePositionResponse> SavePositionAsync(global::Mruv.Devtools.SavePositionRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_SavePosition, null, options, request);
}
/// <summary>
/// Delete position.
/// </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.Devtools.DeletePositionResponse DeletePosition(global::Mruv.Devtools.DeletePositionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeletePosition(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete position.
/// </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.Devtools.DeletePositionResponse DeletePosition(global::Mruv.Devtools.DeletePositionRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeletePosition, null, options, request);
}
/// <summary>
/// Delete position.
/// </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.Devtools.DeletePositionResponse> DeletePositionAsync(global::Mruv.Devtools.DeletePositionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeletePositionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete position.
/// </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.Devtools.DeletePositionResponse> DeletePositionAsync(global::Mruv.Devtools.DeletePositionRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeletePosition, null, options, request);
}
/// <summary>
/// Get saved outfit.
/// </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.Devtools.GetOutfitsResponse GetOutfits(global::Mruv.Devtools.GetOutfitsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetOutfits(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get saved outfit.
/// </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.Devtools.GetOutfitsResponse GetOutfits(global::Mruv.Devtools.GetOutfitsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetOutfits, null, options, request);
}
/// <summary>
/// Get saved outfit.
/// </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.Devtools.GetOutfitsResponse> GetOutfitsAsync(global::Mruv.Devtools.GetOutfitsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetOutfitsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get saved outfit.
/// </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.Devtools.GetOutfitsResponse> GetOutfitsAsync(global::Mruv.Devtools.GetOutfitsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetOutfits, null, options, request);
}
/// <summary>
/// Save outfit.
/// </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.Devtools.SaveOutfitResponse SaveOutfit(global::Mruv.Devtools.SaveOutfitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return SaveOutfit(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Save outfit.
/// </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.Devtools.SaveOutfitResponse SaveOutfit(global::Mruv.Devtools.SaveOutfitRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_SaveOutfit, null, options, request);
}
/// <summary>
/// Save outfit.
/// </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.Devtools.SaveOutfitResponse> SaveOutfitAsync(global::Mruv.Devtools.SaveOutfitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return SaveOutfitAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Save outfit.
/// </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.Devtools.SaveOutfitResponse> SaveOutfitAsync(global::Mruv.Devtools.SaveOutfitRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_SaveOutfit, null, options, request);
}
/// <summary>
/// Get all saved animations.
/// </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.Devtools.GetAnimationsResponse GetAnimations(global::Mruv.Devtools.GetAnimationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetAnimations(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all saved animations.
/// </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.Devtools.GetAnimationsResponse GetAnimations(global::Mruv.Devtools.GetAnimationsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetAnimations, null, options, request);
}
/// <summary>
/// Get all saved animations.
/// </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.Devtools.GetAnimationsResponse> GetAnimationsAsync(global::Mruv.Devtools.GetAnimationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetAnimationsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all saved animations.
/// </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.Devtools.GetAnimationsResponse> GetAnimationsAsync(global::Mruv.Devtools.GetAnimationsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetAnimations, null, options, request);
}
/// <summary>
/// Get saved animation by name.
/// </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.Devtools.GetAnimationResponse GetAnimation(global::Mruv.Devtools.GetAnimationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetAnimation(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get saved animation by name.
/// </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.Devtools.GetAnimationResponse GetAnimation(global::Mruv.Devtools.GetAnimationRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetAnimation, null, options, request);
}
/// <summary>
/// Get saved animation by name.
/// </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.Devtools.GetAnimationResponse> GetAnimationAsync(global::Mruv.Devtools.GetAnimationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetAnimationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get saved animation by name.
/// </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.Devtools.GetAnimationResponse> GetAnimationAsync(global::Mruv.Devtools.GetAnimationRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetAnimation, null, options, request);
}
/// <summary>
/// Save animation.
/// </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.Devtools.SaveAnimationResponse SaveAnimation(global::Mruv.Devtools.SaveAnimationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return SaveAnimation(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Save animation.
/// </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.Devtools.SaveAnimationResponse SaveAnimation(global::Mruv.Devtools.SaveAnimationRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_SaveAnimation, null, options, request);
}
/// <summary>
/// Save animation.
/// </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.Devtools.SaveAnimationResponse> SaveAnimationAsync(global::Mruv.Devtools.SaveAnimationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return SaveAnimationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Save animation.
/// </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.Devtools.SaveAnimationResponse> SaveAnimationAsync(global::Mruv.Devtools.SaveAnimationRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_SaveAnimation, null, options, request);
}
/// <summary>
///Get service status.
/// </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.Common.ServiceStatusResponse GetServiceStatus(global::Mruv.Common.ServiceStatusRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetServiceStatus(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
///Get service status.
/// </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.Common.ServiceStatusResponse GetServiceStatus(global::Mruv.Common.ServiceStatusRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetServiceStatus, null, options, request);
}
/// <summary>
///Get service status.
/// </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.Common.ServiceStatusResponse> GetServiceStatusAsync(global::Mruv.Common.ServiceStatusRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetServiceStatusAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
///Get service status.
/// </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.Common.ServiceStatusResponse> GetServiceStatusAsync(global::Mruv.Common.ServiceStatusRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetServiceStatus, null, options, request);
}
/// <summary>
///Get service version.
/// </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.Common.VersionResponse GetServiceVersion(global::Mruv.Common.VersionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetServiceVersion(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
///Get service version.
/// </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.Common.VersionResponse GetServiceVersion(global::Mruv.Common.VersionRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetServiceVersion, null, options, request);
}
/// <summary>
///Get service version.
/// </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.Common.VersionResponse> GetServiceVersionAsync(global::Mruv.Common.VersionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetServiceVersionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
///Get service version.
/// </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.Common.VersionResponse> GetServiceVersionAsync(global::Mruv.Common.VersionRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetServiceVersion, null, options, request);
}
/// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
protected override MruVDevToolsServiceClient NewInstance(ClientBaseConfiguration configuration)
{
return new MruVDevToolsServiceClient(configuration);
}
}
/// <summary>Creates service definition that can be registered with a server</summary>
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
public static grpc::ServerServiceDefinition BindService(MruVDevToolsServiceBase serviceImpl)
{
return grpc::ServerServiceDefinition.CreateBuilder()
.AddMethod(__Method_GetPositions, serviceImpl.GetPositions)
.AddMethod(__Method_SavePosition, serviceImpl.SavePosition)
.AddMethod(__Method_DeletePosition, serviceImpl.DeletePosition)
.AddMethod(__Method_GetOutfits, serviceImpl.GetOutfits)
.AddMethod(__Method_SaveOutfit, serviceImpl.SaveOutfit)
.AddMethod(__Method_GetAnimations, serviceImpl.GetAnimations)
.AddMethod(__Method_GetAnimation, serviceImpl.GetAnimation)
.AddMethod(__Method_SaveAnimation, serviceImpl.SaveAnimation)
.AddMethod(__Method_GetServiceStatus, serviceImpl.GetServiceStatus)
.AddMethod(__Method_GetServiceVersion, serviceImpl.GetServiceVersion).Build();
}
/// <summary>Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
/// Note: this method is part of an experimental API that can change or be removed without any prior notice.</summary>
/// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
public static void BindService(grpc::ServiceBinderBase serviceBinder, MruVDevToolsServiceBase serviceImpl)
{
serviceBinder.AddMethod(__Method_GetPositions, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Devtools.GetPositionsRequest, global::Mruv.Devtools.GetPositionsResponse>(serviceImpl.GetPositions));
serviceBinder.AddMethod(__Method_SavePosition, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Devtools.SavePositionRequest, global::Mruv.Devtools.SavePositionResponse>(serviceImpl.SavePosition));
serviceBinder.AddMethod(__Method_DeletePosition, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Devtools.DeletePositionRequest, global::Mruv.Devtools.DeletePositionResponse>(serviceImpl.DeletePosition));
serviceBinder.AddMethod(__Method_GetOutfits, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Devtools.GetOutfitsRequest, global::Mruv.Devtools.GetOutfitsResponse>(serviceImpl.GetOutfits));
serviceBinder.AddMethod(__Method_SaveOutfit, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Devtools.SaveOutfitRequest, global::Mruv.Devtools.SaveOutfitResponse>(serviceImpl.SaveOutfit));
serviceBinder.AddMethod(__Method_GetAnimations, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Devtools.GetAnimationsRequest, global::Mruv.Devtools.GetAnimationsResponse>(serviceImpl.GetAnimations));
serviceBinder.AddMethod(__Method_GetAnimation, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Devtools.GetAnimationRequest, global::Mruv.Devtools.GetAnimationResponse>(serviceImpl.GetAnimation));
serviceBinder.AddMethod(__Method_SaveAnimation, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Devtools.SaveAnimationRequest, global::Mruv.Devtools.SaveAnimationResponse>(serviceImpl.SaveAnimation));
serviceBinder.AddMethod(__Method_GetServiceStatus, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Common.ServiceStatusRequest, global::Mruv.Common.ServiceStatusResponse>(serviceImpl.GetServiceStatus));
serviceBinder.AddMethod(__Method_GetServiceVersion, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Common.VersionRequest, global::Mruv.Common.VersionResponse>(serviceImpl.GetServiceVersion));
}
}
}
#endregion