mavsdk-types 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/README.md +24 -0
  2. package/action/ActionServiceClientPb.ts +985 -0
  3. package/action/action_pb.d.ts +875 -0
  4. package/action/action_pb.js +7317 -0
  5. package/action_server/Action_serverServiceClientPb.ts +408 -0
  6. package/action_server/action_server_pb.d.ts +571 -0
  7. package/action_server/action_server_pb.js +4624 -0
  8. package/calibration/CalibrationServiceClientPb.ts +192 -0
  9. package/calibration/calibration_pb.d.ts +306 -0
  10. package/calibration/calibration_pb.js +2501 -0
  11. package/camera/CameraServiceClientPb.ts +838 -0
  12. package/camera/camera_pb.d.ts +1260 -0
  13. package/camera/camera_pb.js +10338 -0
  14. package/camera_server/Camera_serverServiceClientPb.ts +818 -0
  15. package/camera_server/camera_server_pb.d.ts +1180 -0
  16. package/camera_server/camera_server_pb.js +9586 -0
  17. package/component_information/Component_informationServiceClientPb.ts +104 -0
  18. package/component_information/component_information_pb.d.ts +179 -0
  19. package/component_information/component_information_pb.js +1445 -0
  20. package/component_information_server/Component_information_serverServiceClientPb.ts +104 -0
  21. package/component_information_server/component_information_server_pb.d.ts +183 -0
  22. package/component_information_server/component_information_server_pb.js +1439 -0
  23. package/core/CoreServiceClientPb.ts +104 -0
  24. package/core/core_pb.d.ts +88 -0
  25. package/core/core_pb.js +748 -0
  26. package/failure/FailureServiceClientPb.ts +82 -0
  27. package/failure/failure_pb.d.ts +111 -0
  28. package/failure/failure_pb.js +646 -0
  29. package/follow_me/Follow_meServiceClientPb.ts +340 -0
  30. package/follow_me/follow_me_pb.d.ts +369 -0
  31. package/follow_me/follow_me_pb.js +2990 -0
  32. package/ftp/FtpServiceClientPb.ts +384 -0
  33. package/ftp/ftp_pb.d.ts +449 -0
  34. package/ftp/ftp_pb.js +3674 -0
  35. package/ftp_server/Ftp_serverServiceClientPb.ts +82 -0
  36. package/ftp_server/ftp_server_pb.d.ts +72 -0
  37. package/ftp_server/ftp_server_pb.js +545 -0
  38. package/geofence/GeofenceServiceClientPb.ts +125 -0
  39. package/geofence/geofence_pb.d.ts +216 -0
  40. package/geofence/geofence_pb.js +1737 -0
  41. package/gimbal/GimbalServiceClientPb.ts +362 -0
  42. package/gimbal/gimbal_pb.d.ts +398 -0
  43. package/gimbal/gimbal_pb.js +3233 -0
  44. package/gripper/GripperServiceClientPb.ts +125 -0
  45. package/gripper/gripper_pb.d.ts +116 -0
  46. package/gripper/gripper_pb.js +880 -0
  47. package/info/InfoServiceClientPb.ts +254 -0
  48. package/info/info_pb.d.ts +377 -0
  49. package/info/info_pb.js +3035 -0
  50. package/log_files/Log_filesServiceClientPb.ts +147 -0
  51. package/log_files/log_files_pb.d.ts +206 -0
  52. package/log_files/log_files_pb.js +1667 -0
  53. package/manual_control/Manual_controlServiceClientPb.ts +168 -0
  54. package/manual_control/manual_control_pb.d.ts +157 -0
  55. package/manual_control/manual_control_pb.js +1232 -0
  56. package/mavsdk_options_pb.d.ts +10 -0
  57. package/mavsdk_options_pb.js +141 -0
  58. package/mission/MissionServiceClientPb.ts +578 -0
  59. package/mission/mission_pb.d.ts +749 -0
  60. package/mission/mission_pb.js +6095 -0
  61. package/mission_raw/Mission_rawServiceClientPb.ts +599 -0
  62. package/mission_raw/mission_raw_pb.d.ts +691 -0
  63. package/mission_raw/mission_raw_pb.js +5766 -0
  64. package/mission_raw_server/Mission_raw_serverServiceClientPb.ts +148 -0
  65. package/mission_raw_server/mission_raw_server_pb.d.ts +285 -0
  66. package/mission_raw_server/mission_raw_server_pb.js +2269 -0
  67. package/mocap/MocapServiceClientPb.ts +168 -0
  68. package/mocap/mocap_pb.d.ts +445 -0
  69. package/mocap/mocap_pb.js +3637 -0
  70. package/offboard/OffboardServiceClientPb.ts +598 -0
  71. package/offboard/offboard_pb.d.ts +813 -0
  72. package/offboard/offboard_pb.js +6771 -0
  73. package/package.json +15 -0
  74. package/param/ParamServiceClientPb.ts +383 -0
  75. package/param/param_pb.d.ts +469 -0
  76. package/param/param_pb.js +3849 -0
  77. package/param_server/Param_serverServiceClientPb.ts +406 -0
  78. package/param_server/param_server_pb.d.ts +523 -0
  79. package/param_server/param_server_pb.js +4371 -0
  80. package/rtk/RtkServiceClientPb.ts +82 -0
  81. package/rtk/rtk_pb.d.ts +93 -0
  82. package/rtk/rtk_pb.js +719 -0
  83. package/server_utility/Server_utilityServiceClientPb.ts +82 -0
  84. package/server_utility/server_utility_pb.d.ts +87 -0
  85. package/server_utility/server_utility_pb.js +591 -0
  86. package/shell/ShellServiceClientPb.ts +104 -0
  87. package/shell/shell_pb.d.ts +106 -0
  88. package/shell/shell_pb.js +822 -0
  89. package/telemetry/TelemetryServiceClientPb.ts +1862 -0
  90. package/telemetry/telemetry_pb.d.ts +3201 -0
  91. package/telemetry/telemetry_pb.js +26682 -0
  92. package/telemetry_server/Telemetry_serverServiceClientPb.ts +684 -0
  93. package/telemetry_server/telemetry_server_pb.d.ts +1562 -0
  94. package/telemetry_server/telemetry_server_pb.js +12735 -0
  95. package/tracking_server/Tracking_serverServiceClientPb.ts +363 -0
  96. package/tracking_server/tracking_server_pb.d.ts +407 -0
  97. package/tracking_server/tracking_server_pb.js +3366 -0
  98. package/transponder/TransponderServiceClientPb.ts +104 -0
  99. package/transponder/transponder_pb.d.ts +196 -0
  100. package/transponder/transponder_pb.js +1360 -0
  101. package/tsconfig.json +9 -0
  102. package/tune/TuneServiceClientPb.ts +82 -0
  103. package/tune/tune_pb.d.ts +122 -0
  104. package/tune/tune_pb.js +804 -0
  105. package/winch/WinchServiceClientPb.ts +491 -0
  106. package/winch/winch_pb.d.ts +593 -0
  107. package/winch/winch_pb.js +4801 -0
@@ -0,0 +1,491 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for mavsdk.rpc.winch
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // GENERATED CODE -- DO NOT EDIT!
8
+
9
+
10
+ /* eslint-disable */
11
+ // @ts-nocheck
12
+
13
+
14
+ import * as grpcWeb from 'grpc-web';
15
+
16
+ import * as winch_winch_pb from '../winch/winch_pb';
17
+
18
+
19
+ export class WinchServiceClient {
20
+ client_: grpcWeb.AbstractClientBase;
21
+ hostname_: string;
22
+ credentials_: null | { [index: string]: string; };
23
+ options_: null | { [index: string]: any; };
24
+
25
+ constructor (hostname: string,
26
+ credentials?: null | { [index: string]: string; },
27
+ options?: null | { [index: string]: any; }) {
28
+ if (!options) options = {};
29
+ if (!credentials) credentials = {};
30
+ options['format'] = 'text';
31
+
32
+ this.client_ = new grpcWeb.GrpcWebClientBase(options);
33
+ this.hostname_ = hostname;
34
+ this.credentials_ = credentials;
35
+ this.options_ = options;
36
+ }
37
+
38
+ methodDescriptorSubscribeStatus = new grpcWeb.MethodDescriptor(
39
+ '/mavsdk.rpc.winch.WinchService/SubscribeStatus',
40
+ grpcWeb.MethodType.SERVER_STREAMING,
41
+ winch_winch_pb.SubscribeStatusRequest,
42
+ winch_winch_pb.StatusResponse,
43
+ (request: winch_winch_pb.SubscribeStatusRequest) => {
44
+ return request.serializeBinary();
45
+ },
46
+ winch_winch_pb.StatusResponse.deserializeBinary
47
+ );
48
+
49
+ subscribeStatus(
50
+ request: winch_winch_pb.SubscribeStatusRequest,
51
+ metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<winch_winch_pb.StatusResponse> {
52
+ return this.client_.serverStreaming(
53
+ this.hostname_ +
54
+ '/mavsdk.rpc.winch.WinchService/SubscribeStatus',
55
+ request,
56
+ metadata || {},
57
+ this.methodDescriptorSubscribeStatus);
58
+ }
59
+
60
+ methodDescriptorRelax = new grpcWeb.MethodDescriptor(
61
+ '/mavsdk.rpc.winch.WinchService/Relax',
62
+ grpcWeb.MethodType.UNARY,
63
+ winch_winch_pb.RelaxRequest,
64
+ winch_winch_pb.RelaxResponse,
65
+ (request: winch_winch_pb.RelaxRequest) => {
66
+ return request.serializeBinary();
67
+ },
68
+ winch_winch_pb.RelaxResponse.deserializeBinary
69
+ );
70
+
71
+ relax(
72
+ request: winch_winch_pb.RelaxRequest,
73
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.RelaxResponse>;
74
+
75
+ relax(
76
+ request: winch_winch_pb.RelaxRequest,
77
+ metadata: grpcWeb.Metadata | null,
78
+ callback: (err: grpcWeb.RpcError,
79
+ response: winch_winch_pb.RelaxResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.RelaxResponse>;
80
+
81
+ relax(
82
+ request: winch_winch_pb.RelaxRequest,
83
+ metadata: grpcWeb.Metadata | null,
84
+ callback?: (err: grpcWeb.RpcError,
85
+ response: winch_winch_pb.RelaxResponse) => void) {
86
+ if (callback !== undefined) {
87
+ return this.client_.rpcCall(
88
+ this.hostname_ +
89
+ '/mavsdk.rpc.winch.WinchService/Relax',
90
+ request,
91
+ metadata || {},
92
+ this.methodDescriptorRelax,
93
+ callback);
94
+ }
95
+ return this.client_.unaryCall(
96
+ this.hostname_ +
97
+ '/mavsdk.rpc.winch.WinchService/Relax',
98
+ request,
99
+ metadata || {},
100
+ this.methodDescriptorRelax);
101
+ }
102
+
103
+ methodDescriptorRelativeLengthControl = new grpcWeb.MethodDescriptor(
104
+ '/mavsdk.rpc.winch.WinchService/RelativeLengthControl',
105
+ grpcWeb.MethodType.UNARY,
106
+ winch_winch_pb.RelativeLengthControlRequest,
107
+ winch_winch_pb.RelativeLengthControlResponse,
108
+ (request: winch_winch_pb.RelativeLengthControlRequest) => {
109
+ return request.serializeBinary();
110
+ },
111
+ winch_winch_pb.RelativeLengthControlResponse.deserializeBinary
112
+ );
113
+
114
+ relativeLengthControl(
115
+ request: winch_winch_pb.RelativeLengthControlRequest,
116
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.RelativeLengthControlResponse>;
117
+
118
+ relativeLengthControl(
119
+ request: winch_winch_pb.RelativeLengthControlRequest,
120
+ metadata: grpcWeb.Metadata | null,
121
+ callback: (err: grpcWeb.RpcError,
122
+ response: winch_winch_pb.RelativeLengthControlResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.RelativeLengthControlResponse>;
123
+
124
+ relativeLengthControl(
125
+ request: winch_winch_pb.RelativeLengthControlRequest,
126
+ metadata: grpcWeb.Metadata | null,
127
+ callback?: (err: grpcWeb.RpcError,
128
+ response: winch_winch_pb.RelativeLengthControlResponse) => void) {
129
+ if (callback !== undefined) {
130
+ return this.client_.rpcCall(
131
+ this.hostname_ +
132
+ '/mavsdk.rpc.winch.WinchService/RelativeLengthControl',
133
+ request,
134
+ metadata || {},
135
+ this.methodDescriptorRelativeLengthControl,
136
+ callback);
137
+ }
138
+ return this.client_.unaryCall(
139
+ this.hostname_ +
140
+ '/mavsdk.rpc.winch.WinchService/RelativeLengthControl',
141
+ request,
142
+ metadata || {},
143
+ this.methodDescriptorRelativeLengthControl);
144
+ }
145
+
146
+ methodDescriptorRateControl = new grpcWeb.MethodDescriptor(
147
+ '/mavsdk.rpc.winch.WinchService/RateControl',
148
+ grpcWeb.MethodType.UNARY,
149
+ winch_winch_pb.RateControlRequest,
150
+ winch_winch_pb.RateControlResponse,
151
+ (request: winch_winch_pb.RateControlRequest) => {
152
+ return request.serializeBinary();
153
+ },
154
+ winch_winch_pb.RateControlResponse.deserializeBinary
155
+ );
156
+
157
+ rateControl(
158
+ request: winch_winch_pb.RateControlRequest,
159
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.RateControlResponse>;
160
+
161
+ rateControl(
162
+ request: winch_winch_pb.RateControlRequest,
163
+ metadata: grpcWeb.Metadata | null,
164
+ callback: (err: grpcWeb.RpcError,
165
+ response: winch_winch_pb.RateControlResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.RateControlResponse>;
166
+
167
+ rateControl(
168
+ request: winch_winch_pb.RateControlRequest,
169
+ metadata: grpcWeb.Metadata | null,
170
+ callback?: (err: grpcWeb.RpcError,
171
+ response: winch_winch_pb.RateControlResponse) => void) {
172
+ if (callback !== undefined) {
173
+ return this.client_.rpcCall(
174
+ this.hostname_ +
175
+ '/mavsdk.rpc.winch.WinchService/RateControl',
176
+ request,
177
+ metadata || {},
178
+ this.methodDescriptorRateControl,
179
+ callback);
180
+ }
181
+ return this.client_.unaryCall(
182
+ this.hostname_ +
183
+ '/mavsdk.rpc.winch.WinchService/RateControl',
184
+ request,
185
+ metadata || {},
186
+ this.methodDescriptorRateControl);
187
+ }
188
+
189
+ methodDescriptorLock = new grpcWeb.MethodDescriptor(
190
+ '/mavsdk.rpc.winch.WinchService/Lock',
191
+ grpcWeb.MethodType.UNARY,
192
+ winch_winch_pb.LockRequest,
193
+ winch_winch_pb.LockResponse,
194
+ (request: winch_winch_pb.LockRequest) => {
195
+ return request.serializeBinary();
196
+ },
197
+ winch_winch_pb.LockResponse.deserializeBinary
198
+ );
199
+
200
+ lock(
201
+ request: winch_winch_pb.LockRequest,
202
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.LockResponse>;
203
+
204
+ lock(
205
+ request: winch_winch_pb.LockRequest,
206
+ metadata: grpcWeb.Metadata | null,
207
+ callback: (err: grpcWeb.RpcError,
208
+ response: winch_winch_pb.LockResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.LockResponse>;
209
+
210
+ lock(
211
+ request: winch_winch_pb.LockRequest,
212
+ metadata: grpcWeb.Metadata | null,
213
+ callback?: (err: grpcWeb.RpcError,
214
+ response: winch_winch_pb.LockResponse) => void) {
215
+ if (callback !== undefined) {
216
+ return this.client_.rpcCall(
217
+ this.hostname_ +
218
+ '/mavsdk.rpc.winch.WinchService/Lock',
219
+ request,
220
+ metadata || {},
221
+ this.methodDescriptorLock,
222
+ callback);
223
+ }
224
+ return this.client_.unaryCall(
225
+ this.hostname_ +
226
+ '/mavsdk.rpc.winch.WinchService/Lock',
227
+ request,
228
+ metadata || {},
229
+ this.methodDescriptorLock);
230
+ }
231
+
232
+ methodDescriptorDeliver = new grpcWeb.MethodDescriptor(
233
+ '/mavsdk.rpc.winch.WinchService/Deliver',
234
+ grpcWeb.MethodType.UNARY,
235
+ winch_winch_pb.DeliverRequest,
236
+ winch_winch_pb.DeliverResponse,
237
+ (request: winch_winch_pb.DeliverRequest) => {
238
+ return request.serializeBinary();
239
+ },
240
+ winch_winch_pb.DeliverResponse.deserializeBinary
241
+ );
242
+
243
+ deliver(
244
+ request: winch_winch_pb.DeliverRequest,
245
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.DeliverResponse>;
246
+
247
+ deliver(
248
+ request: winch_winch_pb.DeliverRequest,
249
+ metadata: grpcWeb.Metadata | null,
250
+ callback: (err: grpcWeb.RpcError,
251
+ response: winch_winch_pb.DeliverResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.DeliverResponse>;
252
+
253
+ deliver(
254
+ request: winch_winch_pb.DeliverRequest,
255
+ metadata: grpcWeb.Metadata | null,
256
+ callback?: (err: grpcWeb.RpcError,
257
+ response: winch_winch_pb.DeliverResponse) => void) {
258
+ if (callback !== undefined) {
259
+ return this.client_.rpcCall(
260
+ this.hostname_ +
261
+ '/mavsdk.rpc.winch.WinchService/Deliver',
262
+ request,
263
+ metadata || {},
264
+ this.methodDescriptorDeliver,
265
+ callback);
266
+ }
267
+ return this.client_.unaryCall(
268
+ this.hostname_ +
269
+ '/mavsdk.rpc.winch.WinchService/Deliver',
270
+ request,
271
+ metadata || {},
272
+ this.methodDescriptorDeliver);
273
+ }
274
+
275
+ methodDescriptorHold = new grpcWeb.MethodDescriptor(
276
+ '/mavsdk.rpc.winch.WinchService/Hold',
277
+ grpcWeb.MethodType.UNARY,
278
+ winch_winch_pb.HoldRequest,
279
+ winch_winch_pb.HoldResponse,
280
+ (request: winch_winch_pb.HoldRequest) => {
281
+ return request.serializeBinary();
282
+ },
283
+ winch_winch_pb.HoldResponse.deserializeBinary
284
+ );
285
+
286
+ hold(
287
+ request: winch_winch_pb.HoldRequest,
288
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.HoldResponse>;
289
+
290
+ hold(
291
+ request: winch_winch_pb.HoldRequest,
292
+ metadata: grpcWeb.Metadata | null,
293
+ callback: (err: grpcWeb.RpcError,
294
+ response: winch_winch_pb.HoldResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.HoldResponse>;
295
+
296
+ hold(
297
+ request: winch_winch_pb.HoldRequest,
298
+ metadata: grpcWeb.Metadata | null,
299
+ callback?: (err: grpcWeb.RpcError,
300
+ response: winch_winch_pb.HoldResponse) => void) {
301
+ if (callback !== undefined) {
302
+ return this.client_.rpcCall(
303
+ this.hostname_ +
304
+ '/mavsdk.rpc.winch.WinchService/Hold',
305
+ request,
306
+ metadata || {},
307
+ this.methodDescriptorHold,
308
+ callback);
309
+ }
310
+ return this.client_.unaryCall(
311
+ this.hostname_ +
312
+ '/mavsdk.rpc.winch.WinchService/Hold',
313
+ request,
314
+ metadata || {},
315
+ this.methodDescriptorHold);
316
+ }
317
+
318
+ methodDescriptorRetract = new grpcWeb.MethodDescriptor(
319
+ '/mavsdk.rpc.winch.WinchService/Retract',
320
+ grpcWeb.MethodType.UNARY,
321
+ winch_winch_pb.RetractRequest,
322
+ winch_winch_pb.RetractResponse,
323
+ (request: winch_winch_pb.RetractRequest) => {
324
+ return request.serializeBinary();
325
+ },
326
+ winch_winch_pb.RetractResponse.deserializeBinary
327
+ );
328
+
329
+ retract(
330
+ request: winch_winch_pb.RetractRequest,
331
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.RetractResponse>;
332
+
333
+ retract(
334
+ request: winch_winch_pb.RetractRequest,
335
+ metadata: grpcWeb.Metadata | null,
336
+ callback: (err: grpcWeb.RpcError,
337
+ response: winch_winch_pb.RetractResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.RetractResponse>;
338
+
339
+ retract(
340
+ request: winch_winch_pb.RetractRequest,
341
+ metadata: grpcWeb.Metadata | null,
342
+ callback?: (err: grpcWeb.RpcError,
343
+ response: winch_winch_pb.RetractResponse) => void) {
344
+ if (callback !== undefined) {
345
+ return this.client_.rpcCall(
346
+ this.hostname_ +
347
+ '/mavsdk.rpc.winch.WinchService/Retract',
348
+ request,
349
+ metadata || {},
350
+ this.methodDescriptorRetract,
351
+ callback);
352
+ }
353
+ return this.client_.unaryCall(
354
+ this.hostname_ +
355
+ '/mavsdk.rpc.winch.WinchService/Retract',
356
+ request,
357
+ metadata || {},
358
+ this.methodDescriptorRetract);
359
+ }
360
+
361
+ methodDescriptorLoadLine = new grpcWeb.MethodDescriptor(
362
+ '/mavsdk.rpc.winch.WinchService/LoadLine',
363
+ grpcWeb.MethodType.UNARY,
364
+ winch_winch_pb.LoadLineRequest,
365
+ winch_winch_pb.LoadLineResponse,
366
+ (request: winch_winch_pb.LoadLineRequest) => {
367
+ return request.serializeBinary();
368
+ },
369
+ winch_winch_pb.LoadLineResponse.deserializeBinary
370
+ );
371
+
372
+ loadLine(
373
+ request: winch_winch_pb.LoadLineRequest,
374
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.LoadLineResponse>;
375
+
376
+ loadLine(
377
+ request: winch_winch_pb.LoadLineRequest,
378
+ metadata: grpcWeb.Metadata | null,
379
+ callback: (err: grpcWeb.RpcError,
380
+ response: winch_winch_pb.LoadLineResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.LoadLineResponse>;
381
+
382
+ loadLine(
383
+ request: winch_winch_pb.LoadLineRequest,
384
+ metadata: grpcWeb.Metadata | null,
385
+ callback?: (err: grpcWeb.RpcError,
386
+ response: winch_winch_pb.LoadLineResponse) => void) {
387
+ if (callback !== undefined) {
388
+ return this.client_.rpcCall(
389
+ this.hostname_ +
390
+ '/mavsdk.rpc.winch.WinchService/LoadLine',
391
+ request,
392
+ metadata || {},
393
+ this.methodDescriptorLoadLine,
394
+ callback);
395
+ }
396
+ return this.client_.unaryCall(
397
+ this.hostname_ +
398
+ '/mavsdk.rpc.winch.WinchService/LoadLine',
399
+ request,
400
+ metadata || {},
401
+ this.methodDescriptorLoadLine);
402
+ }
403
+
404
+ methodDescriptorAbandonLine = new grpcWeb.MethodDescriptor(
405
+ '/mavsdk.rpc.winch.WinchService/AbandonLine',
406
+ grpcWeb.MethodType.UNARY,
407
+ winch_winch_pb.AbandonLineRequest,
408
+ winch_winch_pb.AbandonLineResponse,
409
+ (request: winch_winch_pb.AbandonLineRequest) => {
410
+ return request.serializeBinary();
411
+ },
412
+ winch_winch_pb.AbandonLineResponse.deserializeBinary
413
+ );
414
+
415
+ abandonLine(
416
+ request: winch_winch_pb.AbandonLineRequest,
417
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.AbandonLineResponse>;
418
+
419
+ abandonLine(
420
+ request: winch_winch_pb.AbandonLineRequest,
421
+ metadata: grpcWeb.Metadata | null,
422
+ callback: (err: grpcWeb.RpcError,
423
+ response: winch_winch_pb.AbandonLineResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.AbandonLineResponse>;
424
+
425
+ abandonLine(
426
+ request: winch_winch_pb.AbandonLineRequest,
427
+ metadata: grpcWeb.Metadata | null,
428
+ callback?: (err: grpcWeb.RpcError,
429
+ response: winch_winch_pb.AbandonLineResponse) => void) {
430
+ if (callback !== undefined) {
431
+ return this.client_.rpcCall(
432
+ this.hostname_ +
433
+ '/mavsdk.rpc.winch.WinchService/AbandonLine',
434
+ request,
435
+ metadata || {},
436
+ this.methodDescriptorAbandonLine,
437
+ callback);
438
+ }
439
+ return this.client_.unaryCall(
440
+ this.hostname_ +
441
+ '/mavsdk.rpc.winch.WinchService/AbandonLine',
442
+ request,
443
+ metadata || {},
444
+ this.methodDescriptorAbandonLine);
445
+ }
446
+
447
+ methodDescriptorLoadPayload = new grpcWeb.MethodDescriptor(
448
+ '/mavsdk.rpc.winch.WinchService/LoadPayload',
449
+ grpcWeb.MethodType.UNARY,
450
+ winch_winch_pb.LoadPayloadRequest,
451
+ winch_winch_pb.LoadPayloadResponse,
452
+ (request: winch_winch_pb.LoadPayloadRequest) => {
453
+ return request.serializeBinary();
454
+ },
455
+ winch_winch_pb.LoadPayloadResponse.deserializeBinary
456
+ );
457
+
458
+ loadPayload(
459
+ request: winch_winch_pb.LoadPayloadRequest,
460
+ metadata: grpcWeb.Metadata | null): Promise<winch_winch_pb.LoadPayloadResponse>;
461
+
462
+ loadPayload(
463
+ request: winch_winch_pb.LoadPayloadRequest,
464
+ metadata: grpcWeb.Metadata | null,
465
+ callback: (err: grpcWeb.RpcError,
466
+ response: winch_winch_pb.LoadPayloadResponse) => void): grpcWeb.ClientReadableStream<winch_winch_pb.LoadPayloadResponse>;
467
+
468
+ loadPayload(
469
+ request: winch_winch_pb.LoadPayloadRequest,
470
+ metadata: grpcWeb.Metadata | null,
471
+ callback?: (err: grpcWeb.RpcError,
472
+ response: winch_winch_pb.LoadPayloadResponse) => void) {
473
+ if (callback !== undefined) {
474
+ return this.client_.rpcCall(
475
+ this.hostname_ +
476
+ '/mavsdk.rpc.winch.WinchService/LoadPayload',
477
+ request,
478
+ metadata || {},
479
+ this.methodDescriptorLoadPayload,
480
+ callback);
481
+ }
482
+ return this.client_.unaryCall(
483
+ this.hostname_ +
484
+ '/mavsdk.rpc.winch.WinchService/LoadPayload',
485
+ request,
486
+ metadata || {},
487
+ this.methodDescriptorLoadPayload);
488
+ }
489
+
490
+ }
491
+