@pinixai/core 0.6.1 → 0.7.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.
@@ -0,0 +1,1450 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file pinix/v2/hub.proto (package pinix.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file pinix/v2/hub.proto.
11
+ */
12
+ export const file_pinix_v2_hub: GenFile = /*@__PURE__*/
13
+ fileDesc("ChJwaW5peC92Mi9odWIucHJvdG8SCHBpbml4LnYyIikKCEh1YkVycm9yEgwKBGNvZGUYASABKAkSDwoHbWVzc2FnZRgCIAEoCSJPCgtDb21tYW5kSW5mbxIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEg0KBWlucHV0GAMgASgJEg4KBm91dHB1dBgEIAEoCSKDAgoIQ2xpcEluZm8SDAoEbmFtZRgBIAEoCRIPCgdwYWNrYWdlGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSEAoIcHJvdmlkZXIYBCABKAkSDgoGZG9tYWluGAUgASgJEicKCGNvbW1hbmRzGAYgAygLMhUucGluaXgudjIuQ29tbWFuZEluZm8SDwoHaGFzX3dlYhgHIAEoCBIXCg90b2tlbl9wcm90ZWN0ZWQYCCABKAgSFAoMZGVwZW5kZW5jaWVzGAkgAygJEiQKBnN0YXR1cxgKIAEoDjIULnBpbml4LnYyLkNsaXBTdGF0dXMSFgoOc3RhdHVzX21lc3NhZ2UYCyABKAkirgIKDENsaXBNYW5pZmVzdBIMCgRuYW1lGAEgASgJEg8KB3BhY2thZ2UYAiABKAkSDwoHdmVyc2lvbhgDIAEoCRIOCg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lcXVlc3QaGC5waW5peC52Mi5JbnZva2VSZXNwb25zZTABEksKDEludm9rZVN0cmVhbRIdLnBpbml4LnYyLkludm9rZVN0cmVhbU1lc3NhZ2UaGC5waW5peC52Mi5JbnZva2VSZXNwb25zZSgBMAESPgoHQWRkQ2xpcBIYLnBpbml4LnYyLkFkZENsaXBSZXF1ZXN0GhkucGluaXgudjIuQWRkQ2xpcFJlc3BvbnNlEkcKClJlbW92ZUNsaXASGy5waW5peC52Mi5SZW1vdmVDbGlwUmVxdWVzdBocLnBpbml4LnYyLlJlbW92ZUNsaXBSZXNwb25zZUIxWi9naXRodWIuY29tL2VwaXJhbC9waW5peC9nZW4vZ28vcGluaXgvdjI7cGluaXh2MmIGcHJvdG8z");
14
+
15
+ /**
16
+ * @generated from message pinix.v2.HubError
17
+ */
18
+ export type HubError = Message<"pinix.v2.HubError"> & {
19
+ /**
20
+ * @generated from field: string code = 1;
21
+ */
22
+ code: string;
23
+
24
+ /**
25
+ * @generated from field: string message = 2;
26
+ */
27
+ message: string;
28
+ };
29
+
30
+ /**
31
+ * Describes the message pinix.v2.HubError.
32
+ * Use `create(HubErrorSchema)` to create a new message.
33
+ */
34
+ export const HubErrorSchema: GenMessage<HubError> = /*@__PURE__*/
35
+ messageDesc(file_pinix_v2_hub, 0);
36
+
37
+ /**
38
+ * @generated from message pinix.v2.CommandInfo
39
+ */
40
+ export type CommandInfo = Message<"pinix.v2.CommandInfo"> & {
41
+ /**
42
+ * @generated from field: string name = 1;
43
+ */
44
+ name: string;
45
+
46
+ /**
47
+ * @generated from field: string description = 2;
48
+ */
49
+ description: string;
50
+
51
+ /**
52
+ * @generated from field: string input = 3;
53
+ */
54
+ input: string;
55
+
56
+ /**
57
+ * @generated from field: string output = 4;
58
+ */
59
+ output: string;
60
+ };
61
+
62
+ /**
63
+ * Describes the message pinix.v2.CommandInfo.
64
+ * Use `create(CommandInfoSchema)` to create a new message.
65
+ */
66
+ export const CommandInfoSchema: GenMessage<CommandInfo> = /*@__PURE__*/
67
+ messageDesc(file_pinix_v2_hub, 1);
68
+
69
+ /**
70
+ * @generated from message pinix.v2.ClipInfo
71
+ */
72
+ export type ClipInfo = Message<"pinix.v2.ClipInfo"> & {
73
+ /**
74
+ * @generated from field: string name = 1;
75
+ */
76
+ name: string;
77
+
78
+ /**
79
+ * @generated from field: string package = 2;
80
+ */
81
+ package: string;
82
+
83
+ /**
84
+ * @generated from field: string version = 3;
85
+ */
86
+ version: string;
87
+
88
+ /**
89
+ * @generated from field: string provider = 4;
90
+ */
91
+ provider: string;
92
+
93
+ /**
94
+ * @generated from field: string domain = 5;
95
+ */
96
+ domain: string;
97
+
98
+ /**
99
+ * @generated from field: repeated pinix.v2.CommandInfo commands = 6;
100
+ */
101
+ commands: CommandInfo[];
102
+
103
+ /**
104
+ * @generated from field: bool has_web = 7;
105
+ */
106
+ hasWeb: boolean;
107
+
108
+ /**
109
+ * @generated from field: bool token_protected = 8;
110
+ */
111
+ tokenProtected: boolean;
112
+
113
+ /**
114
+ * @generated from field: repeated string dependencies = 9;
115
+ */
116
+ dependencies: string[];
117
+
118
+ /**
119
+ * @generated from field: pinix.v2.ClipStatus status = 10;
120
+ */
121
+ status: ClipStatus;
122
+
123
+ /**
124
+ * @generated from field: string status_message = 11;
125
+ */
126
+ statusMessage: string;
127
+ };
128
+
129
+ /**
130
+ * Describes the message pinix.v2.ClipInfo.
131
+ * Use `create(ClipInfoSchema)` to create a new message.
132
+ */
133
+ export const ClipInfoSchema: GenMessage<ClipInfo> = /*@__PURE__*/
134
+ messageDesc(file_pinix_v2_hub, 2);
135
+
136
+ /**
137
+ * @generated from message pinix.v2.ClipManifest
138
+ */
139
+ export type ClipManifest = Message<"pinix.v2.ClipManifest"> & {
140
+ /**
141
+ * @generated from field: string name = 1;
142
+ */
143
+ name: string;
144
+
145
+ /**
146
+ * @generated from field: string package = 2;
147
+ */
148
+ package: string;
149
+
150
+ /**
151
+ * @generated from field: string version = 3;
152
+ */
153
+ version: string;
154
+
155
+ /**
156
+ * @generated from field: string domain = 4;
157
+ */
158
+ domain: string;
159
+
160
+ /**
161
+ * @generated from field: string description = 5;
162
+ */
163
+ description: string;
164
+
165
+ /**
166
+ * @generated from field: repeated pinix.v2.CommandInfo commands = 6;
167
+ */
168
+ commands: CommandInfo[];
169
+
170
+ /**
171
+ * @generated from field: repeated string dependencies = 7;
172
+ */
173
+ dependencies: string[];
174
+
175
+ /**
176
+ * @generated from field: bool has_web = 8;
177
+ */
178
+ hasWeb: boolean;
179
+
180
+ /**
181
+ * @generated from field: repeated string patterns = 9;
182
+ */
183
+ patterns: string[];
184
+
185
+ /**
186
+ * @generated from field: map<string, string> entities = 10;
187
+ */
188
+ entities: { [key: string]: string };
189
+ };
190
+
191
+ /**
192
+ * Describes the message pinix.v2.ClipManifest.
193
+ * Use `create(ClipManifestSchema)` to create a new message.
194
+ */
195
+ export const ClipManifestSchema: GenMessage<ClipManifest> = /*@__PURE__*/
196
+ messageDesc(file_pinix_v2_hub, 3);
197
+
198
+ /**
199
+ * 当前连入的 Provider(在列表里 = 在线)。
200
+ *
201
+ * @generated from message pinix.v2.ProviderInfo
202
+ */
203
+ export type ProviderInfo = Message<"pinix.v2.ProviderInfo"> & {
204
+ /**
205
+ * @generated from field: string name = 1;
206
+ */
207
+ name: string;
208
+
209
+ /**
210
+ * @generated from field: bool accepts_manage = 2;
211
+ */
212
+ acceptsManage: boolean;
213
+
214
+ /**
215
+ * @generated from field: repeated string clips = 3;
216
+ */
217
+ clips: string[];
218
+
219
+ /**
220
+ * @generated from field: int64 connected_at = 4;
221
+ */
222
+ connectedAt: bigint;
223
+ };
224
+
225
+ /**
226
+ * Describes the message pinix.v2.ProviderInfo.
227
+ * Use `create(ProviderInfoSchema)` to create a new message.
228
+ */
229
+ export const ProviderInfoSchema: GenMessage<ProviderInfo> = /*@__PURE__*/
230
+ messageDesc(file_pinix_v2_hub, 4);
231
+
232
+ /**
233
+ * @generated from message pinix.v2.ClipStatusChanged
234
+ */
235
+ export type ClipStatusChanged = Message<"pinix.v2.ClipStatusChanged"> & {
236
+ /**
237
+ * @generated from field: string name = 1;
238
+ */
239
+ name: string;
240
+
241
+ /**
242
+ * @generated from field: pinix.v2.ClipStatus status = 2;
243
+ */
244
+ status: ClipStatus;
245
+
246
+ /**
247
+ * @generated from field: string message = 3;
248
+ */
249
+ message: string;
250
+ };
251
+
252
+ /**
253
+ * Describes the message pinix.v2.ClipStatusChanged.
254
+ * Use `create(ClipStatusChangedSchema)` to create a new message.
255
+ */
256
+ export const ClipStatusChangedSchema: GenMessage<ClipStatusChanged> = /*@__PURE__*/
257
+ messageDesc(file_pinix_v2_hub, 5);
258
+
259
+ /**
260
+ * @generated from message pinix.v2.ProviderMessage
261
+ */
262
+ export type ProviderMessage = Message<"pinix.v2.ProviderMessage"> & {
263
+ /**
264
+ * @generated from oneof pinix.v2.ProviderMessage.payload
265
+ */
266
+ payload: {
267
+ /**
268
+ * @generated from field: pinix.v2.RegisterRequest register = 1;
269
+ */
270
+ value: RegisterRequest;
271
+ case: "register";
272
+ } | {
273
+ /**
274
+ * @generated from field: pinix.v2.ClipAdded clip_added = 2;
275
+ */
276
+ value: ClipAdded;
277
+ case: "clipAdded";
278
+ } | {
279
+ /**
280
+ * @generated from field: pinix.v2.ClipRemoved clip_removed = 3;
281
+ */
282
+ value: ClipRemoved;
283
+ case: "clipRemoved";
284
+ } | {
285
+ /**
286
+ * @generated from field: pinix.v2.InvokeResult invoke_result = 4;
287
+ */
288
+ value: InvokeResult;
289
+ case: "invokeResult";
290
+ } | {
291
+ /**
292
+ * @generated from field: pinix.v2.Heartbeat ping = 5;
293
+ */
294
+ value: Heartbeat;
295
+ case: "ping";
296
+ } | {
297
+ /**
298
+ * @generated from field: pinix.v2.GetClipWebResult get_clip_web_result = 7;
299
+ */
300
+ value: GetClipWebResult;
301
+ case: "getClipWebResult";
302
+ } | {
303
+ /**
304
+ * @generated from field: pinix.v2.ClipStatusChanged clip_status_changed = 8;
305
+ */
306
+ value: ClipStatusChanged;
307
+ case: "clipStatusChanged";
308
+ } | { case: undefined; value?: undefined };
309
+ };
310
+
311
+ /**
312
+ * Describes the message pinix.v2.ProviderMessage.
313
+ * Use `create(ProviderMessageSchema)` to create a new message.
314
+ */
315
+ export const ProviderMessageSchema: GenMessage<ProviderMessage> = /*@__PURE__*/
316
+ messageDesc(file_pinix_v2_hub, 6);
317
+
318
+ /**
319
+ * @generated from message pinix.v2.HubMessage
320
+ */
321
+ export type HubMessage = Message<"pinix.v2.HubMessage"> & {
322
+ /**
323
+ * @generated from oneof pinix.v2.HubMessage.payload
324
+ */
325
+ payload: {
326
+ /**
327
+ * @generated from field: pinix.v2.RegisterResponse register_response = 1;
328
+ */
329
+ value: RegisterResponse;
330
+ case: "registerResponse";
331
+ } | {
332
+ /**
333
+ * @generated from field: pinix.v2.InvokeCommand invoke_command = 2;
334
+ */
335
+ value: InvokeCommand;
336
+ case: "invokeCommand";
337
+ } | {
338
+ /**
339
+ * @generated from field: pinix.v2.InvokeInput invoke_input = 3;
340
+ */
341
+ value: InvokeInput;
342
+ case: "invokeInput";
343
+ } | {
344
+ /**
345
+ * @generated from field: pinix.v2.Heartbeat pong = 5;
346
+ */
347
+ value: Heartbeat;
348
+ case: "pong";
349
+ } | {
350
+ /**
351
+ * @generated from field: pinix.v2.GetClipWebCommand get_clip_web_command = 6;
352
+ */
353
+ value: GetClipWebCommand;
354
+ case: "getClipWebCommand";
355
+ } | { case: undefined; value?: undefined };
356
+ };
357
+
358
+ /**
359
+ * Describes the message pinix.v2.HubMessage.
360
+ * Use `create(HubMessageSchema)` to create a new message.
361
+ */
362
+ export const HubMessageSchema: GenMessage<HubMessage> = /*@__PURE__*/
363
+ messageDesc(file_pinix_v2_hub, 7);
364
+
365
+ /**
366
+ * @generated from message pinix.v2.RuntimeMessage
367
+ */
368
+ export type RuntimeMessage = Message<"pinix.v2.RuntimeMessage"> & {
369
+ /**
370
+ * @generated from oneof pinix.v2.RuntimeMessage.payload
371
+ */
372
+ payload: {
373
+ /**
374
+ * @generated from field: pinix.v2.RuntimeRegister register = 1;
375
+ */
376
+ value: RuntimeRegister;
377
+ case: "register";
378
+ } | {
379
+ /**
380
+ * @generated from field: pinix.v2.InstallResult install_result = 2;
381
+ */
382
+ value: InstallResult;
383
+ case: "installResult";
384
+ } | {
385
+ /**
386
+ * @generated from field: pinix.v2.RemoveResult remove_result = 3;
387
+ */
388
+ value: RemoveResult;
389
+ case: "removeResult";
390
+ } | {
391
+ /**
392
+ * @generated from field: pinix.v2.Heartbeat ping = 4;
393
+ */
394
+ value: Heartbeat;
395
+ case: "ping";
396
+ } | { case: undefined; value?: undefined };
397
+ };
398
+
399
+ /**
400
+ * Describes the message pinix.v2.RuntimeMessage.
401
+ * Use `create(RuntimeMessageSchema)` to create a new message.
402
+ */
403
+ export const RuntimeMessageSchema: GenMessage<RuntimeMessage> = /*@__PURE__*/
404
+ messageDesc(file_pinix_v2_hub, 8);
405
+
406
+ /**
407
+ * @generated from message pinix.v2.HubRuntimeMessage
408
+ */
409
+ export type HubRuntimeMessage = Message<"pinix.v2.HubRuntimeMessage"> & {
410
+ /**
411
+ * @generated from oneof pinix.v2.HubRuntimeMessage.payload
412
+ */
413
+ payload: {
414
+ /**
415
+ * @generated from field: pinix.v2.RuntimeRegisterResponse register_response = 1;
416
+ */
417
+ value: RuntimeRegisterResponse;
418
+ case: "registerResponse";
419
+ } | {
420
+ /**
421
+ * @generated from field: pinix.v2.InstallCommand install_command = 2;
422
+ */
423
+ value: InstallCommand;
424
+ case: "installCommand";
425
+ } | {
426
+ /**
427
+ * @generated from field: pinix.v2.RemoveCommand remove_command = 3;
428
+ */
429
+ value: RemoveCommand;
430
+ case: "removeCommand";
431
+ } | {
432
+ /**
433
+ * @generated from field: pinix.v2.Heartbeat pong = 4;
434
+ */
435
+ value: Heartbeat;
436
+ case: "pong";
437
+ } | { case: undefined; value?: undefined };
438
+ };
439
+
440
+ /**
441
+ * Describes the message pinix.v2.HubRuntimeMessage.
442
+ * Use `create(HubRuntimeMessageSchema)` to create a new message.
443
+ */
444
+ export const HubRuntimeMessageSchema: GenMessage<HubRuntimeMessage> = /*@__PURE__*/
445
+ messageDesc(file_pinix_v2_hub, 9);
446
+
447
+ /**
448
+ * @generated from message pinix.v2.RegisterRequest
449
+ */
450
+ export type RegisterRequest = Message<"pinix.v2.RegisterRequest"> & {
451
+ /**
452
+ * @generated from field: string provider_name = 1;
453
+ */
454
+ providerName: string;
455
+
456
+ /**
457
+ * @generated from field: repeated pinix.v2.ClipRegistration clips = 3;
458
+ */
459
+ clips: ClipRegistration[];
460
+ };
461
+
462
+ /**
463
+ * Describes the message pinix.v2.RegisterRequest.
464
+ * Use `create(RegisterRequestSchema)` to create a new message.
465
+ */
466
+ export const RegisterRequestSchema: GenMessage<RegisterRequest> = /*@__PURE__*/
467
+ messageDesc(file_pinix_v2_hub, 10);
468
+
469
+ /**
470
+ * @generated from message pinix.v2.ClipRegistration
471
+ */
472
+ export type ClipRegistration = Message<"pinix.v2.ClipRegistration"> & {
473
+ /**
474
+ * @generated from field: string alias = 1;
475
+ */
476
+ alias: string;
477
+
478
+ /**
479
+ * @generated from field: string package = 2;
480
+ */
481
+ package: string;
482
+
483
+ /**
484
+ * @generated from field: string version = 3;
485
+ */
486
+ version: string;
487
+
488
+ /**
489
+ * @generated from field: string domain = 4;
490
+ */
491
+ domain: string;
492
+
493
+ /**
494
+ * @generated from field: repeated pinix.v2.CommandInfo commands = 5;
495
+ */
496
+ commands: CommandInfo[];
497
+
498
+ /**
499
+ * @generated from field: bool has_web = 6;
500
+ */
501
+ hasWeb: boolean;
502
+
503
+ /**
504
+ * @generated from field: repeated string dependencies = 7;
505
+ */
506
+ dependencies: string[];
507
+
508
+ /**
509
+ * @generated from field: bool token_protected = 8;
510
+ */
511
+ tokenProtected: boolean;
512
+
513
+ /**
514
+ * @generated from field: string name = 9 [deprecated = true];
515
+ * @deprecated
516
+ */
517
+ name: string;
518
+
519
+ /**
520
+ * @generated from field: repeated string patterns = 10;
521
+ */
522
+ patterns: string[];
523
+
524
+ /**
525
+ * @generated from field: map<string, string> entities = 11;
526
+ */
527
+ entities: { [key: string]: string };
528
+ };
529
+
530
+ /**
531
+ * Describes the message pinix.v2.ClipRegistration.
532
+ * Use `create(ClipRegistrationSchema)` to create a new message.
533
+ */
534
+ export const ClipRegistrationSchema: GenMessage<ClipRegistration> = /*@__PURE__*/
535
+ messageDesc(file_pinix_v2_hub, 11);
536
+
537
+ /**
538
+ * @generated from message pinix.v2.ClipAdded
539
+ */
540
+ export type ClipAdded = Message<"pinix.v2.ClipAdded"> & {
541
+ /**
542
+ * @generated from field: pinix.v2.ClipRegistration clip = 1;
543
+ */
544
+ clip?: ClipRegistration;
545
+
546
+ /**
547
+ * @generated from field: string request_id = 2;
548
+ */
549
+ requestId: string;
550
+ };
551
+
552
+ /**
553
+ * Describes the message pinix.v2.ClipAdded.
554
+ * Use `create(ClipAddedSchema)` to create a new message.
555
+ */
556
+ export const ClipAddedSchema: GenMessage<ClipAdded> = /*@__PURE__*/
557
+ messageDesc(file_pinix_v2_hub, 12);
558
+
559
+ /**
560
+ * @generated from message pinix.v2.ClipRemoved
561
+ */
562
+ export type ClipRemoved = Message<"pinix.v2.ClipRemoved"> & {
563
+ /**
564
+ * @generated from field: string name = 1;
565
+ */
566
+ name: string;
567
+
568
+ /**
569
+ * @generated from field: string request_id = 2;
570
+ */
571
+ requestId: string;
572
+ };
573
+
574
+ /**
575
+ * Describes the message pinix.v2.ClipRemoved.
576
+ * Use `create(ClipRemovedSchema)` to create a new message.
577
+ */
578
+ export const ClipRemovedSchema: GenMessage<ClipRemoved> = /*@__PURE__*/
579
+ messageDesc(file_pinix_v2_hub, 13);
580
+
581
+ /**
582
+ * @generated from message pinix.v2.InvokeResult
583
+ */
584
+ export type InvokeResult = Message<"pinix.v2.InvokeResult"> & {
585
+ /**
586
+ * @generated from field: string request_id = 1;
587
+ */
588
+ requestId: string;
589
+
590
+ /**
591
+ * @generated from field: bytes output = 2;
592
+ */
593
+ output: Uint8Array;
594
+
595
+ /**
596
+ * @generated from field: pinix.v2.HubError error = 3;
597
+ */
598
+ error?: HubError;
599
+
600
+ /**
601
+ * @generated from field: bool done = 4;
602
+ */
603
+ done: boolean;
604
+ };
605
+
606
+ /**
607
+ * Describes the message pinix.v2.InvokeResult.
608
+ * Use `create(InvokeResultSchema)` to create a new message.
609
+ */
610
+ export const InvokeResultSchema: GenMessage<InvokeResult> = /*@__PURE__*/
611
+ messageDesc(file_pinix_v2_hub, 14);
612
+
613
+ /**
614
+ * @generated from message pinix.v2.GetClipWebCommand
615
+ */
616
+ export type GetClipWebCommand = Message<"pinix.v2.GetClipWebCommand"> & {
617
+ /**
618
+ * @generated from field: string request_id = 1;
619
+ */
620
+ requestId: string;
621
+
622
+ /**
623
+ * @generated from field: string clip_name = 2;
624
+ */
625
+ clipName: string;
626
+
627
+ /**
628
+ * @generated from field: string path = 3;
629
+ */
630
+ path: string;
631
+
632
+ /**
633
+ * @generated from field: int64 offset = 4;
634
+ */
635
+ offset: bigint;
636
+
637
+ /**
638
+ * @generated from field: int64 length = 5;
639
+ */
640
+ length: bigint;
641
+
642
+ /**
643
+ * @generated from field: string if_none_match = 6;
644
+ */
645
+ ifNoneMatch: string;
646
+ };
647
+
648
+ /**
649
+ * Describes the message pinix.v2.GetClipWebCommand.
650
+ * Use `create(GetClipWebCommandSchema)` to create a new message.
651
+ */
652
+ export const GetClipWebCommandSchema: GenMessage<GetClipWebCommand> = /*@__PURE__*/
653
+ messageDesc(file_pinix_v2_hub, 15);
654
+
655
+ /**
656
+ * @generated from message pinix.v2.GetClipWebResult
657
+ */
658
+ export type GetClipWebResult = Message<"pinix.v2.GetClipWebResult"> & {
659
+ /**
660
+ * @generated from field: string request_id = 1;
661
+ */
662
+ requestId: string;
663
+
664
+ /**
665
+ * @generated from field: bytes content = 2;
666
+ */
667
+ content: Uint8Array;
668
+
669
+ /**
670
+ * @generated from field: string content_type = 3;
671
+ */
672
+ contentType: string;
673
+
674
+ /**
675
+ * @generated from field: string etag = 4;
676
+ */
677
+ etag: string;
678
+
679
+ /**
680
+ * @generated from field: int64 total_size = 5;
681
+ */
682
+ totalSize: bigint;
683
+
684
+ /**
685
+ * @generated from field: bool not_modified = 6;
686
+ */
687
+ notModified: boolean;
688
+
689
+ /**
690
+ * @generated from field: pinix.v2.HubError error = 7;
691
+ */
692
+ error?: HubError;
693
+ };
694
+
695
+ /**
696
+ * Describes the message pinix.v2.GetClipWebResult.
697
+ * Use `create(GetClipWebResultSchema)` to create a new message.
698
+ */
699
+ export const GetClipWebResultSchema: GenMessage<GetClipWebResult> = /*@__PURE__*/
700
+ messageDesc(file_pinix_v2_hub, 16);
701
+
702
+ /**
703
+ * @generated from message pinix.v2.RegisterResponse
704
+ */
705
+ export type RegisterResponse = Message<"pinix.v2.RegisterResponse"> & {
706
+ /**
707
+ * @generated from field: bool accepted = 1;
708
+ */
709
+ accepted: boolean;
710
+
711
+ /**
712
+ * @generated from field: string message = 2;
713
+ */
714
+ message: string;
715
+ };
716
+
717
+ /**
718
+ * Describes the message pinix.v2.RegisterResponse.
719
+ * Use `create(RegisterResponseSchema)` to create a new message.
720
+ */
721
+ export const RegisterResponseSchema: GenMessage<RegisterResponse> = /*@__PURE__*/
722
+ messageDesc(file_pinix_v2_hub, 17);
723
+
724
+ /**
725
+ * @generated from message pinix.v2.RuntimeRegister
726
+ */
727
+ export type RuntimeRegister = Message<"pinix.v2.RuntimeRegister"> & {
728
+ /**
729
+ * @generated from field: string name = 1;
730
+ */
731
+ name: string;
732
+
733
+ /**
734
+ * @generated from field: string hostname = 2;
735
+ */
736
+ hostname: string;
737
+
738
+ /**
739
+ * @generated from field: string os = 3;
740
+ */
741
+ os: string;
742
+
743
+ /**
744
+ * @generated from field: string arch = 4;
745
+ */
746
+ arch: string;
747
+
748
+ /**
749
+ * @generated from field: repeated string supported_runtimes = 5;
750
+ */
751
+ supportedRuntimes: string[];
752
+ };
753
+
754
+ /**
755
+ * Describes the message pinix.v2.RuntimeRegister.
756
+ * Use `create(RuntimeRegisterSchema)` to create a new message.
757
+ */
758
+ export const RuntimeRegisterSchema: GenMessage<RuntimeRegister> = /*@__PURE__*/
759
+ messageDesc(file_pinix_v2_hub, 18);
760
+
761
+ /**
762
+ * @generated from message pinix.v2.RuntimeRegisterResponse
763
+ */
764
+ export type RuntimeRegisterResponse = Message<"pinix.v2.RuntimeRegisterResponse"> & {
765
+ /**
766
+ * @generated from field: bool accepted = 1;
767
+ */
768
+ accepted: boolean;
769
+
770
+ /**
771
+ * @generated from field: string message = 2;
772
+ */
773
+ message: string;
774
+ };
775
+
776
+ /**
777
+ * Describes the message pinix.v2.RuntimeRegisterResponse.
778
+ * Use `create(RuntimeRegisterResponseSchema)` to create a new message.
779
+ */
780
+ export const RuntimeRegisterResponseSchema: GenMessage<RuntimeRegisterResponse> = /*@__PURE__*/
781
+ messageDesc(file_pinix_v2_hub, 19);
782
+
783
+ /**
784
+ * @generated from message pinix.v2.InvokeCommand
785
+ */
786
+ export type InvokeCommand = Message<"pinix.v2.InvokeCommand"> & {
787
+ /**
788
+ * @generated from field: string request_id = 1;
789
+ */
790
+ requestId: string;
791
+
792
+ /**
793
+ * @generated from field: string clip_name = 2;
794
+ */
795
+ clipName: string;
796
+
797
+ /**
798
+ * @generated from field: string command = 3;
799
+ */
800
+ command: string;
801
+
802
+ /**
803
+ * @generated from field: bytes input = 4;
804
+ */
805
+ input: Uint8Array;
806
+
807
+ /**
808
+ * @generated from field: string clip_token = 5;
809
+ */
810
+ clipToken: string;
811
+ };
812
+
813
+ /**
814
+ * Describes the message pinix.v2.InvokeCommand.
815
+ * Use `create(InvokeCommandSchema)` to create a new message.
816
+ */
817
+ export const InvokeCommandSchema: GenMessage<InvokeCommand> = /*@__PURE__*/
818
+ messageDesc(file_pinix_v2_hub, 20);
819
+
820
+ /**
821
+ * @generated from message pinix.v2.InvokeInput
822
+ */
823
+ export type InvokeInput = Message<"pinix.v2.InvokeInput"> & {
824
+ /**
825
+ * @generated from field: string request_id = 1;
826
+ */
827
+ requestId: string;
828
+
829
+ /**
830
+ * @generated from field: bytes data = 2;
831
+ */
832
+ data: Uint8Array;
833
+
834
+ /**
835
+ * @generated from field: bool done = 3;
836
+ */
837
+ done: boolean;
838
+ };
839
+
840
+ /**
841
+ * Describes the message pinix.v2.InvokeInput.
842
+ * Use `create(InvokeInputSchema)` to create a new message.
843
+ */
844
+ export const InvokeInputSchema: GenMessage<InvokeInput> = /*@__PURE__*/
845
+ messageDesc(file_pinix_v2_hub, 21);
846
+
847
+ /**
848
+ * @generated from message pinix.v2.InstallCommand
849
+ */
850
+ export type InstallCommand = Message<"pinix.v2.InstallCommand"> & {
851
+ /**
852
+ * @generated from field: string request_id = 1;
853
+ */
854
+ requestId: string;
855
+
856
+ /**
857
+ * @generated from field: string source = 2;
858
+ */
859
+ source: string;
860
+
861
+ /**
862
+ * @generated from field: string alias = 3;
863
+ */
864
+ alias: string;
865
+
866
+ /**
867
+ * @generated from field: string clip_token = 4;
868
+ */
869
+ clipToken: string;
870
+ };
871
+
872
+ /**
873
+ * Describes the message pinix.v2.InstallCommand.
874
+ * Use `create(InstallCommandSchema)` to create a new message.
875
+ */
876
+ export const InstallCommandSchema: GenMessage<InstallCommand> = /*@__PURE__*/
877
+ messageDesc(file_pinix_v2_hub, 22);
878
+
879
+ /**
880
+ * @generated from message pinix.v2.InstallResult
881
+ */
882
+ export type InstallResult = Message<"pinix.v2.InstallResult"> & {
883
+ /**
884
+ * @generated from field: string request_id = 1;
885
+ */
886
+ requestId: string;
887
+
888
+ /**
889
+ * @generated from field: pinix.v2.HubError error = 2;
890
+ */
891
+ error?: HubError;
892
+
893
+ /**
894
+ * @generated from field: pinix.v2.ClipInfo clip = 3;
895
+ */
896
+ clip?: ClipInfo;
897
+ };
898
+
899
+ /**
900
+ * Describes the message pinix.v2.InstallResult.
901
+ * Use `create(InstallResultSchema)` to create a new message.
902
+ */
903
+ export const InstallResultSchema: GenMessage<InstallResult> = /*@__PURE__*/
904
+ messageDesc(file_pinix_v2_hub, 23);
905
+
906
+ /**
907
+ * @generated from message pinix.v2.RemoveCommand
908
+ */
909
+ export type RemoveCommand = Message<"pinix.v2.RemoveCommand"> & {
910
+ /**
911
+ * @generated from field: string request_id = 1;
912
+ */
913
+ requestId: string;
914
+
915
+ /**
916
+ * @generated from field: string alias = 2;
917
+ */
918
+ alias: string;
919
+ };
920
+
921
+ /**
922
+ * Describes the message pinix.v2.RemoveCommand.
923
+ * Use `create(RemoveCommandSchema)` to create a new message.
924
+ */
925
+ export const RemoveCommandSchema: GenMessage<RemoveCommand> = /*@__PURE__*/
926
+ messageDesc(file_pinix_v2_hub, 24);
927
+
928
+ /**
929
+ * @generated from message pinix.v2.RemoveResult
930
+ */
931
+ export type RemoveResult = Message<"pinix.v2.RemoveResult"> & {
932
+ /**
933
+ * @generated from field: string request_id = 1;
934
+ */
935
+ requestId: string;
936
+
937
+ /**
938
+ * @generated from field: pinix.v2.HubError error = 2;
939
+ */
940
+ error?: HubError;
941
+ };
942
+
943
+ /**
944
+ * Describes the message pinix.v2.RemoveResult.
945
+ * Use `create(RemoveResultSchema)` to create a new message.
946
+ */
947
+ export const RemoveResultSchema: GenMessage<RemoveResult> = /*@__PURE__*/
948
+ messageDesc(file_pinix_v2_hub, 25);
949
+
950
+ /**
951
+ * @generated from message pinix.v2.Heartbeat
952
+ */
953
+ export type Heartbeat = Message<"pinix.v2.Heartbeat"> & {
954
+ /**
955
+ * @generated from field: int64 sent_at_unix_ms = 1;
956
+ */
957
+ sentAtUnixMs: bigint;
958
+ };
959
+
960
+ /**
961
+ * Describes the message pinix.v2.Heartbeat.
962
+ * Use `create(HeartbeatSchema)` to create a new message.
963
+ */
964
+ export const HeartbeatSchema: GenMessage<Heartbeat> = /*@__PURE__*/
965
+ messageDesc(file_pinix_v2_hub, 26);
966
+
967
+ /**
968
+ * @generated from message pinix.v2.ListClipsRequest
969
+ */
970
+ export type ListClipsRequest = Message<"pinix.v2.ListClipsRequest"> & {
971
+ };
972
+
973
+ /**
974
+ * Describes the message pinix.v2.ListClipsRequest.
975
+ * Use `create(ListClipsRequestSchema)` to create a new message.
976
+ */
977
+ export const ListClipsRequestSchema: GenMessage<ListClipsRequest> = /*@__PURE__*/
978
+ messageDesc(file_pinix_v2_hub, 27);
979
+
980
+ /**
981
+ * @generated from message pinix.v2.ListClipsResponse
982
+ */
983
+ export type ListClipsResponse = Message<"pinix.v2.ListClipsResponse"> & {
984
+ /**
985
+ * @generated from field: repeated pinix.v2.ClipInfo clips = 1;
986
+ */
987
+ clips: ClipInfo[];
988
+ };
989
+
990
+ /**
991
+ * Describes the message pinix.v2.ListClipsResponse.
992
+ * Use `create(ListClipsResponseSchema)` to create a new message.
993
+ */
994
+ export const ListClipsResponseSchema: GenMessage<ListClipsResponse> = /*@__PURE__*/
995
+ messageDesc(file_pinix_v2_hub, 28);
996
+
997
+ /**
998
+ * @generated from message pinix.v2.ListProvidersRequest
999
+ */
1000
+ export type ListProvidersRequest = Message<"pinix.v2.ListProvidersRequest"> & {
1001
+ };
1002
+
1003
+ /**
1004
+ * Describes the message pinix.v2.ListProvidersRequest.
1005
+ * Use `create(ListProvidersRequestSchema)` to create a new message.
1006
+ */
1007
+ export const ListProvidersRequestSchema: GenMessage<ListProvidersRequest> = /*@__PURE__*/
1008
+ messageDesc(file_pinix_v2_hub, 29);
1009
+
1010
+ /**
1011
+ * @generated from message pinix.v2.ListProvidersResponse
1012
+ */
1013
+ export type ListProvidersResponse = Message<"pinix.v2.ListProvidersResponse"> & {
1014
+ /**
1015
+ * @generated from field: repeated pinix.v2.ProviderInfo providers = 1;
1016
+ */
1017
+ providers: ProviderInfo[];
1018
+ };
1019
+
1020
+ /**
1021
+ * Describes the message pinix.v2.ListProvidersResponse.
1022
+ * Use `create(ListProvidersResponseSchema)` to create a new message.
1023
+ */
1024
+ export const ListProvidersResponseSchema: GenMessage<ListProvidersResponse> = /*@__PURE__*/
1025
+ messageDesc(file_pinix_v2_hub, 30);
1026
+
1027
+ /**
1028
+ * @generated from message pinix.v2.GetManifestRequest
1029
+ */
1030
+ export type GetManifestRequest = Message<"pinix.v2.GetManifestRequest"> & {
1031
+ /**
1032
+ * @generated from field: string clip_name = 1;
1033
+ */
1034
+ clipName: string;
1035
+ };
1036
+
1037
+ /**
1038
+ * Describes the message pinix.v2.GetManifestRequest.
1039
+ * Use `create(GetManifestRequestSchema)` to create a new message.
1040
+ */
1041
+ export const GetManifestRequestSchema: GenMessage<GetManifestRequest> = /*@__PURE__*/
1042
+ messageDesc(file_pinix_v2_hub, 31);
1043
+
1044
+ /**
1045
+ * @generated from message pinix.v2.GetManifestResponse
1046
+ */
1047
+ export type GetManifestResponse = Message<"pinix.v2.GetManifestResponse"> & {
1048
+ /**
1049
+ * @generated from field: pinix.v2.ClipManifest manifest = 1;
1050
+ */
1051
+ manifest?: ClipManifest;
1052
+ };
1053
+
1054
+ /**
1055
+ * Describes the message pinix.v2.GetManifestResponse.
1056
+ * Use `create(GetManifestResponseSchema)` to create a new message.
1057
+ */
1058
+ export const GetManifestResponseSchema: GenMessage<GetManifestResponse> = /*@__PURE__*/
1059
+ messageDesc(file_pinix_v2_hub, 32);
1060
+
1061
+ /**
1062
+ * @generated from message pinix.v2.GetClipWebRequest
1063
+ */
1064
+ export type GetClipWebRequest = Message<"pinix.v2.GetClipWebRequest"> & {
1065
+ /**
1066
+ * @generated from field: string clip_name = 1;
1067
+ */
1068
+ clipName: string;
1069
+
1070
+ /**
1071
+ * @generated from field: string path = 2;
1072
+ */
1073
+ path: string;
1074
+
1075
+ /**
1076
+ * @generated from field: string if_none_match = 3;
1077
+ */
1078
+ ifNoneMatch: string;
1079
+
1080
+ /**
1081
+ * @generated from field: int64 offset = 4;
1082
+ */
1083
+ offset: bigint;
1084
+
1085
+ /**
1086
+ * @generated from field: int64 length = 5;
1087
+ */
1088
+ length: bigint;
1089
+ };
1090
+
1091
+ /**
1092
+ * Describes the message pinix.v2.GetClipWebRequest.
1093
+ * Use `create(GetClipWebRequestSchema)` to create a new message.
1094
+ */
1095
+ export const GetClipWebRequestSchema: GenMessage<GetClipWebRequest> = /*@__PURE__*/
1096
+ messageDesc(file_pinix_v2_hub, 33);
1097
+
1098
+ /**
1099
+ * @generated from message pinix.v2.GetClipWebResponse
1100
+ */
1101
+ export type GetClipWebResponse = Message<"pinix.v2.GetClipWebResponse"> & {
1102
+ /**
1103
+ * @generated from field: bytes content = 1;
1104
+ */
1105
+ content: Uint8Array;
1106
+
1107
+ /**
1108
+ * @generated from field: string content_type = 2;
1109
+ */
1110
+ contentType: string;
1111
+
1112
+ /**
1113
+ * @generated from field: string etag = 3;
1114
+ */
1115
+ etag: string;
1116
+
1117
+ /**
1118
+ * @generated from field: bool not_modified = 4;
1119
+ */
1120
+ notModified: boolean;
1121
+
1122
+ /**
1123
+ * @generated from field: int64 total_size = 5;
1124
+ */
1125
+ totalSize: bigint;
1126
+ };
1127
+
1128
+ /**
1129
+ * Describes the message pinix.v2.GetClipWebResponse.
1130
+ * Use `create(GetClipWebResponseSchema)` to create a new message.
1131
+ */
1132
+ export const GetClipWebResponseSchema: GenMessage<GetClipWebResponse> = /*@__PURE__*/
1133
+ messageDesc(file_pinix_v2_hub, 34);
1134
+
1135
+ /**
1136
+ * @generated from message pinix.v2.InvokeRequest
1137
+ */
1138
+ export type InvokeRequest = Message<"pinix.v2.InvokeRequest"> & {
1139
+ /**
1140
+ * @generated from field: string clip_name = 1;
1141
+ */
1142
+ clipName: string;
1143
+
1144
+ /**
1145
+ * @generated from field: string command = 2;
1146
+ */
1147
+ command: string;
1148
+
1149
+ /**
1150
+ * @generated from field: bytes input = 3;
1151
+ */
1152
+ input: Uint8Array;
1153
+
1154
+ /**
1155
+ * @generated from field: string clip_token = 4;
1156
+ */
1157
+ clipToken: string;
1158
+ };
1159
+
1160
+ /**
1161
+ * Describes the message pinix.v2.InvokeRequest.
1162
+ * Use `create(InvokeRequestSchema)` to create a new message.
1163
+ */
1164
+ export const InvokeRequestSchema: GenMessage<InvokeRequest> = /*@__PURE__*/
1165
+ messageDesc(file_pinix_v2_hub, 35);
1166
+
1167
+ /**
1168
+ * @generated from message pinix.v2.InvokeResponse
1169
+ */
1170
+ export type InvokeResponse = Message<"pinix.v2.InvokeResponse"> & {
1171
+ /**
1172
+ * @generated from field: bytes output = 1;
1173
+ */
1174
+ output: Uint8Array;
1175
+
1176
+ /**
1177
+ * @generated from field: pinix.v2.HubError error = 2;
1178
+ */
1179
+ error?: HubError;
1180
+ };
1181
+
1182
+ /**
1183
+ * Describes the message pinix.v2.InvokeResponse.
1184
+ * Use `create(InvokeResponseSchema)` to create a new message.
1185
+ */
1186
+ export const InvokeResponseSchema: GenMessage<InvokeResponse> = /*@__PURE__*/
1187
+ messageDesc(file_pinix_v2_hub, 36);
1188
+
1189
+ /**
1190
+ * @generated from message pinix.v2.InvokeStreamMessage
1191
+ */
1192
+ export type InvokeStreamMessage = Message<"pinix.v2.InvokeStreamMessage"> & {
1193
+ /**
1194
+ * @generated from oneof pinix.v2.InvokeStreamMessage.payload
1195
+ */
1196
+ payload: {
1197
+ /**
1198
+ * @generated from field: pinix.v2.InvokeRequest start = 1;
1199
+ */
1200
+ value: InvokeRequest;
1201
+ case: "start";
1202
+ } | {
1203
+ /**
1204
+ * @generated from field: pinix.v2.InputChunk chunk = 2;
1205
+ */
1206
+ value: InputChunk;
1207
+ case: "chunk";
1208
+ } | { case: undefined; value?: undefined };
1209
+ };
1210
+
1211
+ /**
1212
+ * Describes the message pinix.v2.InvokeStreamMessage.
1213
+ * Use `create(InvokeStreamMessageSchema)` to create a new message.
1214
+ */
1215
+ export const InvokeStreamMessageSchema: GenMessage<InvokeStreamMessage> = /*@__PURE__*/
1216
+ messageDesc(file_pinix_v2_hub, 37);
1217
+
1218
+ /**
1219
+ * @generated from message pinix.v2.InputChunk
1220
+ */
1221
+ export type InputChunk = Message<"pinix.v2.InputChunk"> & {
1222
+ /**
1223
+ * @generated from field: bytes data = 1;
1224
+ */
1225
+ data: Uint8Array;
1226
+
1227
+ /**
1228
+ * @generated from field: bool done = 2;
1229
+ */
1230
+ done: boolean;
1231
+ };
1232
+
1233
+ /**
1234
+ * Describes the message pinix.v2.InputChunk.
1235
+ * Use `create(InputChunkSchema)` to create a new message.
1236
+ */
1237
+ export const InputChunkSchema: GenMessage<InputChunk> = /*@__PURE__*/
1238
+ messageDesc(file_pinix_v2_hub, 38);
1239
+
1240
+ /**
1241
+ * @generated from message pinix.v2.AddClipRequest
1242
+ */
1243
+ export type AddClipRequest = Message<"pinix.v2.AddClipRequest"> & {
1244
+ /**
1245
+ * @generated from field: string source = 1;
1246
+ */
1247
+ source: string;
1248
+
1249
+ /**
1250
+ * @generated from field: string name = 2;
1251
+ */
1252
+ name: string;
1253
+
1254
+ /**
1255
+ * @generated from field: string provider = 3;
1256
+ */
1257
+ provider: string;
1258
+
1259
+ /**
1260
+ * @generated from field: string clip_token = 4;
1261
+ */
1262
+ clipToken: string;
1263
+
1264
+ /**
1265
+ * @generated from field: string requested_alias = 5;
1266
+ */
1267
+ requestedAlias: string;
1268
+ };
1269
+
1270
+ /**
1271
+ * Describes the message pinix.v2.AddClipRequest.
1272
+ * Use `create(AddClipRequestSchema)` to create a new message.
1273
+ */
1274
+ export const AddClipRequestSchema: GenMessage<AddClipRequest> = /*@__PURE__*/
1275
+ messageDesc(file_pinix_v2_hub, 39);
1276
+
1277
+ /**
1278
+ * @generated from message pinix.v2.AddClipResponse
1279
+ */
1280
+ export type AddClipResponse = Message<"pinix.v2.AddClipResponse"> & {
1281
+ /**
1282
+ * @generated from field: pinix.v2.ClipInfo clip = 1;
1283
+ */
1284
+ clip?: ClipInfo;
1285
+ };
1286
+
1287
+ /**
1288
+ * Describes the message pinix.v2.AddClipResponse.
1289
+ * Use `create(AddClipResponseSchema)` to create a new message.
1290
+ */
1291
+ export const AddClipResponseSchema: GenMessage<AddClipResponse> = /*@__PURE__*/
1292
+ messageDesc(file_pinix_v2_hub, 40);
1293
+
1294
+ /**
1295
+ * @generated from message pinix.v2.RemoveClipRequest
1296
+ */
1297
+ export type RemoveClipRequest = Message<"pinix.v2.RemoveClipRequest"> & {
1298
+ /**
1299
+ * @generated from field: string clip_name = 1;
1300
+ */
1301
+ clipName: string;
1302
+ };
1303
+
1304
+ /**
1305
+ * Describes the message pinix.v2.RemoveClipRequest.
1306
+ * Use `create(RemoveClipRequestSchema)` to create a new message.
1307
+ */
1308
+ export const RemoveClipRequestSchema: GenMessage<RemoveClipRequest> = /*@__PURE__*/
1309
+ messageDesc(file_pinix_v2_hub, 41);
1310
+
1311
+ /**
1312
+ * @generated from message pinix.v2.RemoveClipResponse
1313
+ */
1314
+ export type RemoveClipResponse = Message<"pinix.v2.RemoveClipResponse"> & {
1315
+ /**
1316
+ * @generated from field: string clip_name = 1;
1317
+ */
1318
+ clipName: string;
1319
+ };
1320
+
1321
+ /**
1322
+ * Describes the message pinix.v2.RemoveClipResponse.
1323
+ * Use `create(RemoveClipResponseSchema)` to create a new message.
1324
+ */
1325
+ export const RemoveClipResponseSchema: GenMessage<RemoveClipResponse> = /*@__PURE__*/
1326
+ messageDesc(file_pinix_v2_hub, 42);
1327
+
1328
+ /**
1329
+ * Hub 路由表中的 Clip 条目。
1330
+ * 出现在列表里 = 可用,不存在离线概念。
1331
+ *
1332
+ * @generated from enum pinix.v2.ClipStatus
1333
+ */
1334
+ export enum ClipStatus {
1335
+ /**
1336
+ * @generated from enum value: CLIP_STATUS_UNSPECIFIED = 0;
1337
+ */
1338
+ UNSPECIFIED = 0,
1339
+
1340
+ /**
1341
+ * @generated from enum value: CLIP_STATUS_RUNNING = 1;
1342
+ */
1343
+ RUNNING = 1,
1344
+
1345
+ /**
1346
+ * @generated from enum value: CLIP_STATUS_SLEEPING = 2;
1347
+ */
1348
+ SLEEPING = 2,
1349
+
1350
+ /**
1351
+ * @generated from enum value: CLIP_STATUS_ERROR = 3;
1352
+ */
1353
+ ERROR = 3,
1354
+ }
1355
+
1356
+ /**
1357
+ * Describes the enum pinix.v2.ClipStatus.
1358
+ */
1359
+ export const ClipStatusSchema: GenEnum<ClipStatus> = /*@__PURE__*/
1360
+ enumDesc(file_pinix_v2_hub, 0);
1361
+
1362
+ /**
1363
+ * @generated from service pinix.v2.HubService
1364
+ */
1365
+ export const HubService: GenService<{
1366
+ /**
1367
+ * 所有 Provider(Runtime / Edge Clip)统一协议。
1368
+ *
1369
+ * @generated from rpc pinix.v2.HubService.ProviderStream
1370
+ */
1371
+ providerStream: {
1372
+ methodKind: "bidi_streaming";
1373
+ input: typeof ProviderMessageSchema;
1374
+ output: typeof HubMessageSchema;
1375
+ },
1376
+ /**
1377
+ * @generated from rpc pinix.v2.HubService.RuntimeStream
1378
+ */
1379
+ runtimeStream: {
1380
+ methodKind: "bidi_streaming";
1381
+ input: typeof RuntimeMessageSchema;
1382
+ output: typeof HubRuntimeMessageSchema;
1383
+ },
1384
+ /**
1385
+ * @generated from rpc pinix.v2.HubService.ListClips
1386
+ */
1387
+ listClips: {
1388
+ methodKind: "unary";
1389
+ input: typeof ListClipsRequestSchema;
1390
+ output: typeof ListClipsResponseSchema;
1391
+ },
1392
+ /**
1393
+ * @generated from rpc pinix.v2.HubService.ListProviders
1394
+ */
1395
+ listProviders: {
1396
+ methodKind: "unary";
1397
+ input: typeof ListProvidersRequestSchema;
1398
+ output: typeof ListProvidersResponseSchema;
1399
+ },
1400
+ /**
1401
+ * @generated from rpc pinix.v2.HubService.GetManifest
1402
+ */
1403
+ getManifest: {
1404
+ methodKind: "unary";
1405
+ input: typeof GetManifestRequestSchema;
1406
+ output: typeof GetManifestResponseSchema;
1407
+ },
1408
+ /**
1409
+ * @generated from rpc pinix.v2.HubService.GetClipWeb
1410
+ */
1411
+ getClipWeb: {
1412
+ methodKind: "unary";
1413
+ input: typeof GetClipWebRequestSchema;
1414
+ output: typeof GetClipWebResponseSchema;
1415
+ },
1416
+ /**
1417
+ * @generated from rpc pinix.v2.HubService.Invoke
1418
+ */
1419
+ invoke: {
1420
+ methodKind: "server_streaming";
1421
+ input: typeof InvokeRequestSchema;
1422
+ output: typeof InvokeResponseSchema;
1423
+ },
1424
+ /**
1425
+ * @generated from rpc pinix.v2.HubService.InvokeStream
1426
+ */
1427
+ invokeStream: {
1428
+ methodKind: "bidi_streaming";
1429
+ input: typeof InvokeStreamMessageSchema;
1430
+ output: typeof InvokeResponseSchema;
1431
+ },
1432
+ /**
1433
+ * @generated from rpc pinix.v2.HubService.AddClip
1434
+ */
1435
+ addClip: {
1436
+ methodKind: "unary";
1437
+ input: typeof AddClipRequestSchema;
1438
+ output: typeof AddClipResponseSchema;
1439
+ },
1440
+ /**
1441
+ * @generated from rpc pinix.v2.HubService.RemoveClip
1442
+ */
1443
+ removeClip: {
1444
+ methodKind: "unary";
1445
+ input: typeof RemoveClipRequestSchema;
1446
+ output: typeof RemoveClipResponseSchema;
1447
+ },
1448
+ }> = /*@__PURE__*/
1449
+ serviceDesc(file_pinix_v2_hub, 0);
1450
+