@gitpod/supervisor-api-grpc 0.1.5-patch-2-fork.0 → 0.1.5-port-description-3059-fork.2
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.
- package/lib/control_grpc_pb.d.ts +0 -1
- package/lib/control_pb.d.ts +0 -5
- package/lib/control_pb.js +32 -42
- package/lib/info_grpc_pb.d.ts +0 -1
- package/lib/info_pb.d.ts +42 -15
- package/lib/info_pb.js +451 -45
- package/lib/notification_grpc_pb.d.ts +0 -1
- package/lib/notification_grpc_pb.js +1 -1
- package/lib/notification_pb.d.ts +0 -8
- package/lib/notification_pb.js +108 -58
- package/lib/port_grpc_pb.d.ts +108 -0
- package/lib/port_grpc_pb.js +187 -0
- package/lib/port_pb.d.ts +232 -0
- package/lib/port_pb.js +1672 -0
- package/lib/status_grpc_pb.d.ts +1 -1
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +80 -27
- package/lib/status_pb.js +887 -213
- package/lib/terminal_grpc_pb.d.ts +34 -1
- package/lib/terminal_grpc_pb.js +68 -0
- package/lib/terminal_pb.d.ts +103 -45
- package/lib/terminal_pb.js +1061 -177
- package/lib/token_grpc_pb.d.ts +0 -1
- package/lib/token_pb.d.ts +4 -30
- package/lib/token_pb.js +214 -114
- package/package.json +8 -7
- package/pkg-yarn.lock +3 -3
|
@@ -79,7 +79,7 @@ function deserialize_supervisor_SubscribeResponse(buffer_arg) {
|
|
|
79
79
|
// Notification serivce allows external processes to notify the user and ask for decisions.
|
|
80
80
|
var NotificationServiceService = exports.NotificationServiceService = {
|
|
81
81
|
// Prompts the user and asks for a decision. Typically called by some external process.
|
|
82
|
-
// If the list of actions is empty this service returns immediately,
|
|
82
|
+
// If the list of actions is empty this service returns immediately,
|
|
83
83
|
// otherwise it blocks until the user has made their choice.
|
|
84
84
|
notify: {
|
|
85
85
|
path: '/supervisor.NotificationService/Notify',
|
package/lib/notification_pb.d.ts
CHANGED
|
@@ -9,16 +9,13 @@ import * as jspb from "google-protobuf";
|
|
|
9
9
|
export class NotifyRequest extends jspb.Message {
|
|
10
10
|
getLevel(): NotifyRequest.Level;
|
|
11
11
|
setLevel(value: NotifyRequest.Level): NotifyRequest;
|
|
12
|
-
|
|
13
12
|
getMessage(): string;
|
|
14
13
|
setMessage(value: string): NotifyRequest;
|
|
15
|
-
|
|
16
14
|
clearActionsList(): void;
|
|
17
15
|
getActionsList(): Array<string>;
|
|
18
16
|
setActionsList(value: Array<string>): NotifyRequest;
|
|
19
17
|
addActions(value: string, index?: number): string;
|
|
20
18
|
|
|
21
|
-
|
|
22
19
|
serializeBinary(): Uint8Array;
|
|
23
20
|
toObject(includeInstance?: boolean): NotifyRequest.AsObject;
|
|
24
21
|
static toObject(includeInstance: boolean, msg: NotifyRequest): NotifyRequest.AsObject;
|
|
@@ -48,7 +45,6 @@ export class NotifyResponse extends jspb.Message {
|
|
|
48
45
|
getAction(): string;
|
|
49
46
|
setAction(value: string): NotifyResponse;
|
|
50
47
|
|
|
51
|
-
|
|
52
48
|
serializeBinary(): Uint8Array;
|
|
53
49
|
toObject(includeInstance?: boolean): NotifyResponse.AsObject;
|
|
54
50
|
static toObject(includeInstance: boolean, msg: NotifyResponse): NotifyResponse.AsObject;
|
|
@@ -86,13 +82,11 @@ export class SubscribeResponse extends jspb.Message {
|
|
|
86
82
|
getRequestid(): number;
|
|
87
83
|
setRequestid(value: number): SubscribeResponse;
|
|
88
84
|
|
|
89
|
-
|
|
90
85
|
hasRequest(): boolean;
|
|
91
86
|
clearRequest(): void;
|
|
92
87
|
getRequest(): NotifyRequest | undefined;
|
|
93
88
|
setRequest(value?: NotifyRequest): SubscribeResponse;
|
|
94
89
|
|
|
95
|
-
|
|
96
90
|
serializeBinary(): Uint8Array;
|
|
97
91
|
toObject(includeInstance?: boolean): SubscribeResponse.AsObject;
|
|
98
92
|
static toObject(includeInstance: boolean, msg: SubscribeResponse): SubscribeResponse.AsObject;
|
|
@@ -114,13 +108,11 @@ export class RespondRequest extends jspb.Message {
|
|
|
114
108
|
getRequestid(): number;
|
|
115
109
|
setRequestid(value: number): RespondRequest;
|
|
116
110
|
|
|
117
|
-
|
|
118
111
|
hasResponse(): boolean;
|
|
119
112
|
clearResponse(): void;
|
|
120
113
|
getResponse(): NotifyResponse | undefined;
|
|
121
114
|
setResponse(value?: NotifyResponse): RespondRequest;
|
|
122
115
|
|
|
123
|
-
|
|
124
116
|
serializeBinary(): Uint8Array;
|
|
125
117
|
toObject(includeInstance?: boolean): RespondRequest.AsObject;
|
|
126
118
|
static toObject(includeInstance: boolean, msg: RespondRequest): RespondRequest.AsObject;
|
package/lib/notification_pb.js
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
+
// source: notification.proto
|
|
1
2
|
/**
|
|
2
3
|
* @fileoverview
|
|
3
4
|
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
4
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
5
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
6
8
|
* @public
|
|
7
9
|
*/
|
|
8
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
9
13
|
|
|
10
14
|
var jspb = require('google-protobuf');
|
|
11
15
|
var goog = jspb;
|
|
12
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
13
23
|
|
|
14
24
|
goog.exportSymbol('proto.supervisor.NotifyRequest', null, global);
|
|
15
25
|
goog.exportSymbol('proto.supervisor.NotifyRequest.Level', null, global);
|
|
@@ -156,13 +166,15 @@ proto.supervisor.NotifyRequest.repeatedFields_ = [3];
|
|
|
156
166
|
|
|
157
167
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
158
168
|
/**
|
|
159
|
-
* Creates an object representation of this proto
|
|
169
|
+
* Creates an object representation of this proto.
|
|
160
170
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
171
|
+
* Optional fields that are not set will be set to undefined.
|
|
161
172
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
162
173
|
* For the list of reserved names please see:
|
|
163
|
-
*
|
|
164
|
-
* @param {boolean=} opt_includeInstance
|
|
165
|
-
* for transitional soy proto support:
|
|
174
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
175
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
176
|
+
* JSPB instance for transitional soy proto support:
|
|
177
|
+
* http://goto/soy-param-migration
|
|
166
178
|
* @return {!Object}
|
|
167
179
|
*/
|
|
168
180
|
proto.supervisor.NotifyRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -172,8 +184,8 @@ proto.supervisor.NotifyRequest.prototype.toObject = function(opt_includeInstance
|
|
|
172
184
|
|
|
173
185
|
/**
|
|
174
186
|
* Static version of the {@see toObject} method.
|
|
175
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
176
|
-
* instance for transitional soy proto support:
|
|
187
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
188
|
+
* the JSPB instance for transitional soy proto support:
|
|
177
189
|
* http://goto/soy-param-migration
|
|
178
190
|
* @param {!proto.supervisor.NotifyRequest} msg The msg instance to transform.
|
|
179
191
|
* @return {!Object}
|
|
@@ -183,7 +195,7 @@ proto.supervisor.NotifyRequest.toObject = function(includeInstance, msg) {
|
|
|
183
195
|
var f, obj = {
|
|
184
196
|
level: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
185
197
|
message: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
186
|
-
actionsList: jspb.Message.getRepeatedField(msg, 3)
|
|
198
|
+
actionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
187
199
|
};
|
|
188
200
|
|
|
189
201
|
if (includeInstance) {
|
|
@@ -303,9 +315,12 @@ proto.supervisor.NotifyRequest.prototype.getLevel = function() {
|
|
|
303
315
|
};
|
|
304
316
|
|
|
305
317
|
|
|
306
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* @param {!proto.supervisor.NotifyRequest.Level} value
|
|
320
|
+
* @return {!proto.supervisor.NotifyRequest} returns this
|
|
321
|
+
*/
|
|
307
322
|
proto.supervisor.NotifyRequest.prototype.setLevel = function(value) {
|
|
308
|
-
jspb.Message.setProto3EnumField(this, 1, value);
|
|
323
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
309
324
|
};
|
|
310
325
|
|
|
311
326
|
|
|
@@ -318,9 +333,12 @@ proto.supervisor.NotifyRequest.prototype.getMessage = function() {
|
|
|
318
333
|
};
|
|
319
334
|
|
|
320
335
|
|
|
321
|
-
/**
|
|
336
|
+
/**
|
|
337
|
+
* @param {string} value
|
|
338
|
+
* @return {!proto.supervisor.NotifyRequest} returns this
|
|
339
|
+
*/
|
|
322
340
|
proto.supervisor.NotifyRequest.prototype.setMessage = function(value) {
|
|
323
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
341
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
324
342
|
};
|
|
325
343
|
|
|
326
344
|
|
|
@@ -333,26 +351,31 @@ proto.supervisor.NotifyRequest.prototype.getActionsList = function() {
|
|
|
333
351
|
};
|
|
334
352
|
|
|
335
353
|
|
|
336
|
-
/**
|
|
354
|
+
/**
|
|
355
|
+
* @param {!Array<string>} value
|
|
356
|
+
* @return {!proto.supervisor.NotifyRequest} returns this
|
|
357
|
+
*/
|
|
337
358
|
proto.supervisor.NotifyRequest.prototype.setActionsList = function(value) {
|
|
338
|
-
jspb.Message.setField(this, 3, value || []);
|
|
359
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
339
360
|
};
|
|
340
361
|
|
|
341
362
|
|
|
342
363
|
/**
|
|
343
364
|
* @param {string} value
|
|
344
365
|
* @param {number=} opt_index
|
|
366
|
+
* @return {!proto.supervisor.NotifyRequest} returns this
|
|
345
367
|
*/
|
|
346
368
|
proto.supervisor.NotifyRequest.prototype.addActions = function(value, opt_index) {
|
|
347
|
-
jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
369
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
348
370
|
};
|
|
349
371
|
|
|
350
372
|
|
|
351
373
|
/**
|
|
352
374
|
* Clears the list making it empty but non-null.
|
|
375
|
+
* @return {!proto.supervisor.NotifyRequest} returns this
|
|
353
376
|
*/
|
|
354
377
|
proto.supervisor.NotifyRequest.prototype.clearActionsList = function() {
|
|
355
|
-
this.setActionsList([]);
|
|
378
|
+
return this.setActionsList([]);
|
|
356
379
|
};
|
|
357
380
|
|
|
358
381
|
|
|
@@ -361,13 +384,15 @@ proto.supervisor.NotifyRequest.prototype.clearActionsList = function() {
|
|
|
361
384
|
|
|
362
385
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
363
386
|
/**
|
|
364
|
-
* Creates an object representation of this proto
|
|
387
|
+
* Creates an object representation of this proto.
|
|
365
388
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
389
|
+
* Optional fields that are not set will be set to undefined.
|
|
366
390
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
367
391
|
* For the list of reserved names please see:
|
|
368
|
-
*
|
|
369
|
-
* @param {boolean=} opt_includeInstance
|
|
370
|
-
* for transitional soy proto support:
|
|
392
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
393
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
394
|
+
* JSPB instance for transitional soy proto support:
|
|
395
|
+
* http://goto/soy-param-migration
|
|
371
396
|
* @return {!Object}
|
|
372
397
|
*/
|
|
373
398
|
proto.supervisor.NotifyResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -377,8 +402,8 @@ proto.supervisor.NotifyResponse.prototype.toObject = function(opt_includeInstanc
|
|
|
377
402
|
|
|
378
403
|
/**
|
|
379
404
|
* Static version of the {@see toObject} method.
|
|
380
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
381
|
-
* instance for transitional soy proto support:
|
|
405
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
406
|
+
* the JSPB instance for transitional soy proto support:
|
|
382
407
|
* http://goto/soy-param-migration
|
|
383
408
|
* @param {!proto.supervisor.NotifyResponse} msg The msg instance to transform.
|
|
384
409
|
* @return {!Object}
|
|
@@ -475,9 +500,12 @@ proto.supervisor.NotifyResponse.prototype.getAction = function() {
|
|
|
475
500
|
};
|
|
476
501
|
|
|
477
502
|
|
|
478
|
-
/**
|
|
503
|
+
/**
|
|
504
|
+
* @param {string} value
|
|
505
|
+
* @return {!proto.supervisor.NotifyResponse} returns this
|
|
506
|
+
*/
|
|
479
507
|
proto.supervisor.NotifyResponse.prototype.setAction = function(value) {
|
|
480
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
508
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
481
509
|
};
|
|
482
510
|
|
|
483
511
|
|
|
@@ -486,13 +514,15 @@ proto.supervisor.NotifyResponse.prototype.setAction = function(value) {
|
|
|
486
514
|
|
|
487
515
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
488
516
|
/**
|
|
489
|
-
* Creates an object representation of this proto
|
|
517
|
+
* Creates an object representation of this proto.
|
|
490
518
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
519
|
+
* Optional fields that are not set will be set to undefined.
|
|
491
520
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
492
521
|
* For the list of reserved names please see:
|
|
493
|
-
*
|
|
494
|
-
* @param {boolean=} opt_includeInstance
|
|
495
|
-
* for transitional soy proto support:
|
|
522
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
523
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
524
|
+
* JSPB instance for transitional soy proto support:
|
|
525
|
+
* http://goto/soy-param-migration
|
|
496
526
|
* @return {!Object}
|
|
497
527
|
*/
|
|
498
528
|
proto.supervisor.SubscribeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -502,8 +532,8 @@ proto.supervisor.SubscribeRequest.prototype.toObject = function(opt_includeInsta
|
|
|
502
532
|
|
|
503
533
|
/**
|
|
504
534
|
* Static version of the {@see toObject} method.
|
|
505
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
506
|
-
* instance for transitional soy proto support:
|
|
535
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
536
|
+
* the JSPB instance for transitional soy proto support:
|
|
507
537
|
* http://goto/soy-param-migration
|
|
508
538
|
* @param {!proto.supervisor.SubscribeRequest} msg The msg instance to transform.
|
|
509
539
|
* @return {!Object}
|
|
@@ -585,13 +615,15 @@ proto.supervisor.SubscribeRequest.serializeBinaryToWriter = function(message, wr
|
|
|
585
615
|
|
|
586
616
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
587
617
|
/**
|
|
588
|
-
* Creates an object representation of this proto
|
|
618
|
+
* Creates an object representation of this proto.
|
|
589
619
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
620
|
+
* Optional fields that are not set will be set to undefined.
|
|
590
621
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
591
622
|
* For the list of reserved names please see:
|
|
592
|
-
*
|
|
593
|
-
* @param {boolean=} opt_includeInstance
|
|
594
|
-
* for transitional soy proto support:
|
|
623
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
624
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
625
|
+
* JSPB instance for transitional soy proto support:
|
|
626
|
+
* http://goto/soy-param-migration
|
|
595
627
|
* @return {!Object}
|
|
596
628
|
*/
|
|
597
629
|
proto.supervisor.SubscribeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -601,8 +633,8 @@ proto.supervisor.SubscribeResponse.prototype.toObject = function(opt_includeInst
|
|
|
601
633
|
|
|
602
634
|
/**
|
|
603
635
|
* Static version of the {@see toObject} method.
|
|
604
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
605
|
-
* instance for transitional soy proto support:
|
|
636
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
637
|
+
* the JSPB instance for transitional soy proto support:
|
|
606
638
|
* http://goto/soy-param-migration
|
|
607
639
|
* @param {!proto.supervisor.SubscribeResponse} msg The msg instance to transform.
|
|
608
640
|
* @return {!Object}
|
|
@@ -713,9 +745,12 @@ proto.supervisor.SubscribeResponse.prototype.getRequestid = function() {
|
|
|
713
745
|
};
|
|
714
746
|
|
|
715
747
|
|
|
716
|
-
/**
|
|
748
|
+
/**
|
|
749
|
+
* @param {number} value
|
|
750
|
+
* @return {!proto.supervisor.SubscribeResponse} returns this
|
|
751
|
+
*/
|
|
717
752
|
proto.supervisor.SubscribeResponse.prototype.setRequestid = function(value) {
|
|
718
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
753
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
719
754
|
};
|
|
720
755
|
|
|
721
756
|
|
|
@@ -729,17 +764,21 @@ proto.supervisor.SubscribeResponse.prototype.getRequest = function() {
|
|
|
729
764
|
};
|
|
730
765
|
|
|
731
766
|
|
|
732
|
-
/**
|
|
767
|
+
/**
|
|
768
|
+
* @param {?proto.supervisor.NotifyRequest|undefined} value
|
|
769
|
+
* @return {!proto.supervisor.SubscribeResponse} returns this
|
|
770
|
+
*/
|
|
733
771
|
proto.supervisor.SubscribeResponse.prototype.setRequest = function(value) {
|
|
734
|
-
jspb.Message.setWrapperField(this, 2, value);
|
|
772
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
735
773
|
};
|
|
736
774
|
|
|
737
775
|
|
|
738
776
|
/**
|
|
739
777
|
* Clears the message field making it undefined.
|
|
778
|
+
* @return {!proto.supervisor.SubscribeResponse} returns this
|
|
740
779
|
*/
|
|
741
780
|
proto.supervisor.SubscribeResponse.prototype.clearRequest = function() {
|
|
742
|
-
this.setRequest(undefined);
|
|
781
|
+
return this.setRequest(undefined);
|
|
743
782
|
};
|
|
744
783
|
|
|
745
784
|
|
|
@@ -757,13 +796,15 @@ proto.supervisor.SubscribeResponse.prototype.hasRequest = function() {
|
|
|
757
796
|
|
|
758
797
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
759
798
|
/**
|
|
760
|
-
* Creates an object representation of this proto
|
|
799
|
+
* Creates an object representation of this proto.
|
|
761
800
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
801
|
+
* Optional fields that are not set will be set to undefined.
|
|
762
802
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
763
803
|
* For the list of reserved names please see:
|
|
764
|
-
*
|
|
765
|
-
* @param {boolean=} opt_includeInstance
|
|
766
|
-
* for transitional soy proto support:
|
|
804
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
805
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
806
|
+
* JSPB instance for transitional soy proto support:
|
|
807
|
+
* http://goto/soy-param-migration
|
|
767
808
|
* @return {!Object}
|
|
768
809
|
*/
|
|
769
810
|
proto.supervisor.RespondRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -773,8 +814,8 @@ proto.supervisor.RespondRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
773
814
|
|
|
774
815
|
/**
|
|
775
816
|
* Static version of the {@see toObject} method.
|
|
776
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
777
|
-
* instance for transitional soy proto support:
|
|
817
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
818
|
+
* the JSPB instance for transitional soy proto support:
|
|
778
819
|
* http://goto/soy-param-migration
|
|
779
820
|
* @param {!proto.supervisor.RespondRequest} msg The msg instance to transform.
|
|
780
821
|
* @return {!Object}
|
|
@@ -885,9 +926,12 @@ proto.supervisor.RespondRequest.prototype.getRequestid = function() {
|
|
|
885
926
|
};
|
|
886
927
|
|
|
887
928
|
|
|
888
|
-
/**
|
|
929
|
+
/**
|
|
930
|
+
* @param {number} value
|
|
931
|
+
* @return {!proto.supervisor.RespondRequest} returns this
|
|
932
|
+
*/
|
|
889
933
|
proto.supervisor.RespondRequest.prototype.setRequestid = function(value) {
|
|
890
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
934
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
891
935
|
};
|
|
892
936
|
|
|
893
937
|
|
|
@@ -901,17 +945,21 @@ proto.supervisor.RespondRequest.prototype.getResponse = function() {
|
|
|
901
945
|
};
|
|
902
946
|
|
|
903
947
|
|
|
904
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* @param {?proto.supervisor.NotifyResponse|undefined} value
|
|
950
|
+
* @return {!proto.supervisor.RespondRequest} returns this
|
|
951
|
+
*/
|
|
905
952
|
proto.supervisor.RespondRequest.prototype.setResponse = function(value) {
|
|
906
|
-
jspb.Message.setWrapperField(this, 2, value);
|
|
953
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
907
954
|
};
|
|
908
955
|
|
|
909
956
|
|
|
910
957
|
/**
|
|
911
958
|
* Clears the message field making it undefined.
|
|
959
|
+
* @return {!proto.supervisor.RespondRequest} returns this
|
|
912
960
|
*/
|
|
913
961
|
proto.supervisor.RespondRequest.prototype.clearResponse = function() {
|
|
914
|
-
this.setResponse(undefined);
|
|
962
|
+
return this.setResponse(undefined);
|
|
915
963
|
};
|
|
916
964
|
|
|
917
965
|
|
|
@@ -929,13 +977,15 @@ proto.supervisor.RespondRequest.prototype.hasResponse = function() {
|
|
|
929
977
|
|
|
930
978
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
931
979
|
/**
|
|
932
|
-
* Creates an object representation of this proto
|
|
980
|
+
* Creates an object representation of this proto.
|
|
933
981
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
982
|
+
* Optional fields that are not set will be set to undefined.
|
|
934
983
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
935
984
|
* For the list of reserved names please see:
|
|
936
|
-
*
|
|
937
|
-
* @param {boolean=} opt_includeInstance
|
|
938
|
-
* for transitional soy proto support:
|
|
985
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
986
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
987
|
+
* JSPB instance for transitional soy proto support:
|
|
988
|
+
* http://goto/soy-param-migration
|
|
939
989
|
* @return {!Object}
|
|
940
990
|
*/
|
|
941
991
|
proto.supervisor.RespondResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -945,8 +995,8 @@ proto.supervisor.RespondResponse.prototype.toObject = function(opt_includeInstan
|
|
|
945
995
|
|
|
946
996
|
/**
|
|
947
997
|
* Static version of the {@see toObject} method.
|
|
948
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
949
|
-
* instance for transitional soy proto support:
|
|
998
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
999
|
+
* the JSPB instance for transitional soy proto support:
|
|
950
1000
|
* http://goto/soy-param-migration
|
|
951
1001
|
* @param {!proto.supervisor.RespondResponse} msg The msg instance to transform.
|
|
952
1002
|
* @return {!Object}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// package: supervisor
|
|
2
|
+
// file: port.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as grpc from "@grpc/grpc-js";
|
|
8
|
+
import * as port_pb from "./port_pb";
|
|
9
|
+
|
|
10
|
+
interface IPortServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
11
|
+
tunnel: IPortServiceService_ITunnel;
|
|
12
|
+
closeTunnel: IPortServiceService_ICloseTunnel;
|
|
13
|
+
establishTunnel: IPortServiceService_IEstablishTunnel;
|
|
14
|
+
autoTunnel: IPortServiceService_IAutoTunnel;
|
|
15
|
+
retryAutoExpose: IPortServiceService_IRetryAutoExpose;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface IPortServiceService_ITunnel extends grpc.MethodDefinition<port_pb.TunnelPortRequest, port_pb.TunnelPortResponse> {
|
|
19
|
+
path: "/supervisor.PortService/Tunnel";
|
|
20
|
+
requestStream: false;
|
|
21
|
+
responseStream: false;
|
|
22
|
+
requestSerialize: grpc.serialize<port_pb.TunnelPortRequest>;
|
|
23
|
+
requestDeserialize: grpc.deserialize<port_pb.TunnelPortRequest>;
|
|
24
|
+
responseSerialize: grpc.serialize<port_pb.TunnelPortResponse>;
|
|
25
|
+
responseDeserialize: grpc.deserialize<port_pb.TunnelPortResponse>;
|
|
26
|
+
}
|
|
27
|
+
interface IPortServiceService_ICloseTunnel extends grpc.MethodDefinition<port_pb.CloseTunnelRequest, port_pb.CloseTunnelResponse> {
|
|
28
|
+
path: "/supervisor.PortService/CloseTunnel";
|
|
29
|
+
requestStream: false;
|
|
30
|
+
responseStream: false;
|
|
31
|
+
requestSerialize: grpc.serialize<port_pb.CloseTunnelRequest>;
|
|
32
|
+
requestDeserialize: grpc.deserialize<port_pb.CloseTunnelRequest>;
|
|
33
|
+
responseSerialize: grpc.serialize<port_pb.CloseTunnelResponse>;
|
|
34
|
+
responseDeserialize: grpc.deserialize<port_pb.CloseTunnelResponse>;
|
|
35
|
+
}
|
|
36
|
+
interface IPortServiceService_IEstablishTunnel extends grpc.MethodDefinition<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse> {
|
|
37
|
+
path: "/supervisor.PortService/EstablishTunnel";
|
|
38
|
+
requestStream: true;
|
|
39
|
+
responseStream: true;
|
|
40
|
+
requestSerialize: grpc.serialize<port_pb.EstablishTunnelRequest>;
|
|
41
|
+
requestDeserialize: grpc.deserialize<port_pb.EstablishTunnelRequest>;
|
|
42
|
+
responseSerialize: grpc.serialize<port_pb.EstablishTunnelResponse>;
|
|
43
|
+
responseDeserialize: grpc.deserialize<port_pb.EstablishTunnelResponse>;
|
|
44
|
+
}
|
|
45
|
+
interface IPortServiceService_IAutoTunnel extends grpc.MethodDefinition<port_pb.AutoTunnelRequest, port_pb.AutoTunnelResponse> {
|
|
46
|
+
path: "/supervisor.PortService/AutoTunnel";
|
|
47
|
+
requestStream: false;
|
|
48
|
+
responseStream: false;
|
|
49
|
+
requestSerialize: grpc.serialize<port_pb.AutoTunnelRequest>;
|
|
50
|
+
requestDeserialize: grpc.deserialize<port_pb.AutoTunnelRequest>;
|
|
51
|
+
responseSerialize: grpc.serialize<port_pb.AutoTunnelResponse>;
|
|
52
|
+
responseDeserialize: grpc.deserialize<port_pb.AutoTunnelResponse>;
|
|
53
|
+
}
|
|
54
|
+
interface IPortServiceService_IRetryAutoExpose extends grpc.MethodDefinition<port_pb.RetryAutoExposeRequest, port_pb.RetryAutoExposeResponse> {
|
|
55
|
+
path: "/supervisor.PortService/RetryAutoExpose";
|
|
56
|
+
requestStream: false;
|
|
57
|
+
responseStream: false;
|
|
58
|
+
requestSerialize: grpc.serialize<port_pb.RetryAutoExposeRequest>;
|
|
59
|
+
requestDeserialize: grpc.deserialize<port_pb.RetryAutoExposeRequest>;
|
|
60
|
+
responseSerialize: grpc.serialize<port_pb.RetryAutoExposeResponse>;
|
|
61
|
+
responseDeserialize: grpc.deserialize<port_pb.RetryAutoExposeResponse>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export const PortServiceService: IPortServiceService;
|
|
65
|
+
|
|
66
|
+
export interface IPortServiceServer extends grpc.UntypedServiceImplementation {
|
|
67
|
+
tunnel: grpc.handleUnaryCall<port_pb.TunnelPortRequest, port_pb.TunnelPortResponse>;
|
|
68
|
+
closeTunnel: grpc.handleUnaryCall<port_pb.CloseTunnelRequest, port_pb.CloseTunnelResponse>;
|
|
69
|
+
establishTunnel: grpc.handleBidiStreamingCall<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
70
|
+
autoTunnel: grpc.handleUnaryCall<port_pb.AutoTunnelRequest, port_pb.AutoTunnelResponse>;
|
|
71
|
+
retryAutoExpose: grpc.handleUnaryCall<port_pb.RetryAutoExposeRequest, port_pb.RetryAutoExposeResponse>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface IPortServiceClient {
|
|
75
|
+
tunnel(request: port_pb.TunnelPortRequest, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
76
|
+
tunnel(request: port_pb.TunnelPortRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
77
|
+
tunnel(request: port_pb.TunnelPortRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
78
|
+
closeTunnel(request: port_pb.CloseTunnelRequest, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
79
|
+
closeTunnel(request: port_pb.CloseTunnelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
80
|
+
closeTunnel(request: port_pb.CloseTunnelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
81
|
+
establishTunnel(): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
82
|
+
establishTunnel(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
83
|
+
establishTunnel(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
84
|
+
autoTunnel(request: port_pb.AutoTunnelRequest, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
85
|
+
autoTunnel(request: port_pb.AutoTunnelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
86
|
+
autoTunnel(request: port_pb.AutoTunnelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
87
|
+
retryAutoExpose(request: port_pb.RetryAutoExposeRequest, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
88
|
+
retryAutoExpose(request: port_pb.RetryAutoExposeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
89
|
+
retryAutoExpose(request: port_pb.RetryAutoExposeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export class PortServiceClient extends grpc.Client implements IPortServiceClient {
|
|
93
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
94
|
+
public tunnel(request: port_pb.TunnelPortRequest, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
95
|
+
public tunnel(request: port_pb.TunnelPortRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
96
|
+
public tunnel(request: port_pb.TunnelPortRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
97
|
+
public closeTunnel(request: port_pb.CloseTunnelRequest, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
98
|
+
public closeTunnel(request: port_pb.CloseTunnelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
99
|
+
public closeTunnel(request: port_pb.CloseTunnelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
100
|
+
public establishTunnel(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
101
|
+
public establishTunnel(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
102
|
+
public autoTunnel(request: port_pb.AutoTunnelRequest, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
103
|
+
public autoTunnel(request: port_pb.AutoTunnelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
104
|
+
public autoTunnel(request: port_pb.AutoTunnelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
105
|
+
public retryAutoExpose(request: port_pb.RetryAutoExposeRequest, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
106
|
+
public retryAutoExpose(request: port_pb.RetryAutoExposeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
107
|
+
public retryAutoExpose(request: port_pb.RetryAutoExposeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
108
|
+
}
|