@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
package/lib/info_pb.js
CHANGED
|
@@ -1,19 +1,31 @@
|
|
|
1
|
+
// source: info.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.WorkspaceInfoRequest', null, global);
|
|
15
25
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse', null, global);
|
|
16
26
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.GitpodAPI', null, global);
|
|
27
|
+
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.Repository', null, global);
|
|
28
|
+
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.WorkspaceLocationCase', null, global);
|
|
17
29
|
/**
|
|
18
30
|
* Generated by JsPbCodeGenerator.
|
|
19
31
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -77,18 +89,41 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
77
89
|
*/
|
|
78
90
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.displayName = 'proto.supervisor.WorkspaceInfoResponse.GitpodAPI';
|
|
79
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Generated by JsPbCodeGenerator.
|
|
94
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
95
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
96
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
97
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
98
|
+
* valid.
|
|
99
|
+
* @extends {jspb.Message}
|
|
100
|
+
* @constructor
|
|
101
|
+
*/
|
|
102
|
+
proto.supervisor.WorkspaceInfoResponse.Repository = function(opt_data) {
|
|
103
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
104
|
+
};
|
|
105
|
+
goog.inherits(proto.supervisor.WorkspaceInfoResponse.Repository, jspb.Message);
|
|
106
|
+
if (goog.DEBUG && !COMPILED) {
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* @override
|
|
110
|
+
*/
|
|
111
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.displayName = 'proto.supervisor.WorkspaceInfoResponse.Repository';
|
|
112
|
+
}
|
|
80
113
|
|
|
81
114
|
|
|
82
115
|
|
|
83
116
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
84
117
|
/**
|
|
85
|
-
* Creates an object representation of this proto
|
|
118
|
+
* Creates an object representation of this proto.
|
|
86
119
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
120
|
+
* Optional fields that are not set will be set to undefined.
|
|
87
121
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
88
122
|
* For the list of reserved names please see:
|
|
89
|
-
*
|
|
90
|
-
* @param {boolean=} opt_includeInstance
|
|
91
|
-
* for transitional soy proto support:
|
|
123
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
124
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
125
|
+
* JSPB instance for transitional soy proto support:
|
|
126
|
+
* http://goto/soy-param-migration
|
|
92
127
|
* @return {!Object}
|
|
93
128
|
*/
|
|
94
129
|
proto.supervisor.WorkspaceInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -98,8 +133,8 @@ proto.supervisor.WorkspaceInfoRequest.prototype.toObject = function(opt_includeI
|
|
|
98
133
|
|
|
99
134
|
/**
|
|
100
135
|
* Static version of the {@see toObject} method.
|
|
101
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
102
|
-
* instance for transitional soy proto support:
|
|
136
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
137
|
+
* the JSPB instance for transitional soy proto support:
|
|
103
138
|
* http://goto/soy-param-migration
|
|
104
139
|
* @param {!proto.supervisor.WorkspaceInfoRequest} msg The msg instance to transform.
|
|
105
140
|
* @return {!Object}
|
|
@@ -207,13 +242,15 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationCase = func
|
|
|
207
242
|
|
|
208
243
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
209
244
|
/**
|
|
210
|
-
* Creates an object representation of this proto
|
|
245
|
+
* Creates an object representation of this proto.
|
|
211
246
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
247
|
+
* Optional fields that are not set will be set to undefined.
|
|
212
248
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
213
249
|
* For the list of reserved names please see:
|
|
214
|
-
*
|
|
215
|
-
* @param {boolean=} opt_includeInstance
|
|
216
|
-
* for transitional soy proto support:
|
|
250
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
251
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
252
|
+
* JSPB instance for transitional soy proto support:
|
|
253
|
+
* http://goto/soy-param-migration
|
|
217
254
|
* @return {!Object}
|
|
218
255
|
*/
|
|
219
256
|
proto.supervisor.WorkspaceInfoResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -223,8 +260,8 @@ proto.supervisor.WorkspaceInfoResponse.prototype.toObject = function(opt_include
|
|
|
223
260
|
|
|
224
261
|
/**
|
|
225
262
|
* Static version of the {@see toObject} method.
|
|
226
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
227
|
-
* instance for transitional soy proto support:
|
|
263
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
264
|
+
* the JSPB instance for transitional soy proto support:
|
|
228
265
|
* http://goto/soy-param-migration
|
|
229
266
|
* @param {!proto.supervisor.WorkspaceInfoResponse} msg The msg instance to transform.
|
|
230
267
|
* @return {!Object}
|
|
@@ -240,7 +277,12 @@ proto.supervisor.WorkspaceInfoResponse.toObject = function(includeInstance, msg)
|
|
|
240
277
|
userHome: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
241
278
|
gitpodApi: (f = msg.getGitpodApi()) && proto.supervisor.WorkspaceInfoResponse.GitpodAPI.toObject(includeInstance, f),
|
|
242
279
|
gitpodHost: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
243
|
-
workspaceContextUrl: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
280
|
+
workspaceContextUrl: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
281
|
+
repository: (f = msg.getRepository()) && proto.supervisor.WorkspaceInfoResponse.Repository.toObject(includeInstance, f),
|
|
282
|
+
workspaceClusterHost: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
283
|
+
workspaceUrl: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
284
|
+
ideAlias: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
285
|
+
idePort: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
244
286
|
};
|
|
245
287
|
|
|
246
288
|
if (includeInstance) {
|
|
@@ -314,6 +356,27 @@ proto.supervisor.WorkspaceInfoResponse.deserializeBinaryFromReader = function(ms
|
|
|
314
356
|
var value = /** @type {string} */ (reader.readString());
|
|
315
357
|
msg.setWorkspaceContextUrl(value);
|
|
316
358
|
break;
|
|
359
|
+
case 10:
|
|
360
|
+
var value = new proto.supervisor.WorkspaceInfoResponse.Repository;
|
|
361
|
+
reader.readMessage(value,proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader);
|
|
362
|
+
msg.setRepository(value);
|
|
363
|
+
break;
|
|
364
|
+
case 11:
|
|
365
|
+
var value = /** @type {string} */ (reader.readString());
|
|
366
|
+
msg.setWorkspaceClusterHost(value);
|
|
367
|
+
break;
|
|
368
|
+
case 12:
|
|
369
|
+
var value = /** @type {string} */ (reader.readString());
|
|
370
|
+
msg.setWorkspaceUrl(value);
|
|
371
|
+
break;
|
|
372
|
+
case 13:
|
|
373
|
+
var value = /** @type {string} */ (reader.readString());
|
|
374
|
+
msg.setIdeAlias(value);
|
|
375
|
+
break;
|
|
376
|
+
case 14:
|
|
377
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
378
|
+
msg.setIdePort(value);
|
|
379
|
+
break;
|
|
317
380
|
default:
|
|
318
381
|
reader.skipField();
|
|
319
382
|
break;
|
|
@@ -407,6 +470,42 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
407
470
|
f
|
|
408
471
|
);
|
|
409
472
|
}
|
|
473
|
+
f = message.getRepository();
|
|
474
|
+
if (f != null) {
|
|
475
|
+
writer.writeMessage(
|
|
476
|
+
10,
|
|
477
|
+
f,
|
|
478
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter
|
|
479
|
+
);
|
|
480
|
+
}
|
|
481
|
+
f = message.getWorkspaceClusterHost();
|
|
482
|
+
if (f.length > 0) {
|
|
483
|
+
writer.writeString(
|
|
484
|
+
11,
|
|
485
|
+
f
|
|
486
|
+
);
|
|
487
|
+
}
|
|
488
|
+
f = message.getWorkspaceUrl();
|
|
489
|
+
if (f.length > 0) {
|
|
490
|
+
writer.writeString(
|
|
491
|
+
12,
|
|
492
|
+
f
|
|
493
|
+
);
|
|
494
|
+
}
|
|
495
|
+
f = message.getIdeAlias();
|
|
496
|
+
if (f.length > 0) {
|
|
497
|
+
writer.writeString(
|
|
498
|
+
13,
|
|
499
|
+
f
|
|
500
|
+
);
|
|
501
|
+
}
|
|
502
|
+
f = message.getIdePort();
|
|
503
|
+
if (f !== 0) {
|
|
504
|
+
writer.writeUint32(
|
|
505
|
+
14,
|
|
506
|
+
f
|
|
507
|
+
);
|
|
508
|
+
}
|
|
410
509
|
};
|
|
411
510
|
|
|
412
511
|
|
|
@@ -415,13 +514,15 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
415
514
|
|
|
416
515
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
417
516
|
/**
|
|
418
|
-
* Creates an object representation of this proto
|
|
517
|
+
* Creates an object representation of this proto.
|
|
419
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.
|
|
420
520
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
421
521
|
* For the list of reserved names please see:
|
|
422
|
-
*
|
|
423
|
-
* @param {boolean=} opt_includeInstance
|
|
424
|
-
* 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
|
|
425
526
|
* @return {!Object}
|
|
426
527
|
*/
|
|
427
528
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -431,8 +532,8 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.toObject = function(o
|
|
|
431
532
|
|
|
432
533
|
/**
|
|
433
534
|
* Static version of the {@see toObject} method.
|
|
434
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
435
|
-
* instance for transitional soy proto support:
|
|
535
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
536
|
+
* the JSPB instance for transitional soy proto support:
|
|
436
537
|
* http://goto/soy-param-migration
|
|
437
538
|
* @param {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} msg The msg instance to transform.
|
|
438
539
|
* @return {!Object}
|
|
@@ -541,9 +642,12 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.getEndpoint = functio
|
|
|
541
642
|
};
|
|
542
643
|
|
|
543
644
|
|
|
544
|
-
/**
|
|
645
|
+
/**
|
|
646
|
+
* @param {string} value
|
|
647
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} returns this
|
|
648
|
+
*/
|
|
545
649
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setEndpoint = function(value) {
|
|
546
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
650
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
547
651
|
};
|
|
548
652
|
|
|
549
653
|
|
|
@@ -556,9 +660,172 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.getHost = function()
|
|
|
556
660
|
};
|
|
557
661
|
|
|
558
662
|
|
|
559
|
-
/**
|
|
663
|
+
/**
|
|
664
|
+
* @param {string} value
|
|
665
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} returns this
|
|
666
|
+
*/
|
|
560
667
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setHost = function(value) {
|
|
561
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
668
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
676
|
+
/**
|
|
677
|
+
* Creates an object representation of this proto.
|
|
678
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
679
|
+
* Optional fields that are not set will be set to undefined.
|
|
680
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
681
|
+
* For the list of reserved names please see:
|
|
682
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
683
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
684
|
+
* JSPB instance for transitional soy proto support:
|
|
685
|
+
* http://goto/soy-param-migration
|
|
686
|
+
* @return {!Object}
|
|
687
|
+
*/
|
|
688
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.toObject = function(opt_includeInstance) {
|
|
689
|
+
return proto.supervisor.WorkspaceInfoResponse.Repository.toObject(opt_includeInstance, this);
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Static version of the {@see toObject} method.
|
|
695
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
696
|
+
* the JSPB instance for transitional soy proto support:
|
|
697
|
+
* http://goto/soy-param-migration
|
|
698
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} msg The msg instance to transform.
|
|
699
|
+
* @return {!Object}
|
|
700
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
701
|
+
*/
|
|
702
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.toObject = function(includeInstance, msg) {
|
|
703
|
+
var f, obj = {
|
|
704
|
+
owner: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
705
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
if (includeInstance) {
|
|
709
|
+
obj.$jspbMessageInstance = msg;
|
|
710
|
+
}
|
|
711
|
+
return obj;
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Deserializes binary data (in protobuf wire format).
|
|
718
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
719
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
720
|
+
*/
|
|
721
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinary = function(bytes) {
|
|
722
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
723
|
+
var msg = new proto.supervisor.WorkspaceInfoResponse.Repository;
|
|
724
|
+
return proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader(msg, reader);
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
730
|
+
* given reader into the given message object.
|
|
731
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} msg The message object to deserialize into.
|
|
732
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
733
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
734
|
+
*/
|
|
735
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader = function(msg, reader) {
|
|
736
|
+
while (reader.nextField()) {
|
|
737
|
+
if (reader.isEndGroup()) {
|
|
738
|
+
break;
|
|
739
|
+
}
|
|
740
|
+
var field = reader.getFieldNumber();
|
|
741
|
+
switch (field) {
|
|
742
|
+
case 1:
|
|
743
|
+
var value = /** @type {string} */ (reader.readString());
|
|
744
|
+
msg.setOwner(value);
|
|
745
|
+
break;
|
|
746
|
+
case 2:
|
|
747
|
+
var value = /** @type {string} */ (reader.readString());
|
|
748
|
+
msg.setName(value);
|
|
749
|
+
break;
|
|
750
|
+
default:
|
|
751
|
+
reader.skipField();
|
|
752
|
+
break;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
return msg;
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
761
|
+
* @return {!Uint8Array}
|
|
762
|
+
*/
|
|
763
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.serializeBinary = function() {
|
|
764
|
+
var writer = new jspb.BinaryWriter();
|
|
765
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter(this, writer);
|
|
766
|
+
return writer.getResultBuffer();
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
772
|
+
* format), writing to the given BinaryWriter.
|
|
773
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} message
|
|
774
|
+
* @param {!jspb.BinaryWriter} writer
|
|
775
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
776
|
+
*/
|
|
777
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter = function(message, writer) {
|
|
778
|
+
var f = undefined;
|
|
779
|
+
f = message.getOwner();
|
|
780
|
+
if (f.length > 0) {
|
|
781
|
+
writer.writeString(
|
|
782
|
+
1,
|
|
783
|
+
f
|
|
784
|
+
);
|
|
785
|
+
}
|
|
786
|
+
f = message.getName();
|
|
787
|
+
if (f.length > 0) {
|
|
788
|
+
writer.writeString(
|
|
789
|
+
2,
|
|
790
|
+
f
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* optional string owner = 1;
|
|
798
|
+
* @return {string}
|
|
799
|
+
*/
|
|
800
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.getOwner = function() {
|
|
801
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* @param {string} value
|
|
807
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository} returns this
|
|
808
|
+
*/
|
|
809
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.setOwner = function(value) {
|
|
810
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* optional string name = 2;
|
|
816
|
+
* @return {string}
|
|
817
|
+
*/
|
|
818
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.getName = function() {
|
|
819
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* @param {string} value
|
|
825
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository} returns this
|
|
826
|
+
*/
|
|
827
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.setName = function(value) {
|
|
828
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
562
829
|
};
|
|
563
830
|
|
|
564
831
|
|
|
@@ -571,9 +838,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceId = function() {
|
|
|
571
838
|
};
|
|
572
839
|
|
|
573
840
|
|
|
574
|
-
/**
|
|
841
|
+
/**
|
|
842
|
+
* @param {string} value
|
|
843
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
844
|
+
*/
|
|
575
845
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceId = function(value) {
|
|
576
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
846
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
577
847
|
};
|
|
578
848
|
|
|
579
849
|
|
|
@@ -586,9 +856,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getInstanceId = function() {
|
|
|
586
856
|
};
|
|
587
857
|
|
|
588
858
|
|
|
589
|
-
/**
|
|
859
|
+
/**
|
|
860
|
+
* @param {string} value
|
|
861
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
862
|
+
*/
|
|
590
863
|
proto.supervisor.WorkspaceInfoResponse.prototype.setInstanceId = function(value) {
|
|
591
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
864
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
592
865
|
};
|
|
593
866
|
|
|
594
867
|
|
|
@@ -601,9 +874,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getCheckoutLocation = function(
|
|
|
601
874
|
};
|
|
602
875
|
|
|
603
876
|
|
|
604
|
-
/**
|
|
877
|
+
/**
|
|
878
|
+
* @param {string} value
|
|
879
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
880
|
+
*/
|
|
605
881
|
proto.supervisor.WorkspaceInfoResponse.prototype.setCheckoutLocation = function(value) {
|
|
606
|
-
jspb.Message.setProto3StringField(this, 3, value);
|
|
882
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
607
883
|
};
|
|
608
884
|
|
|
609
885
|
|
|
@@ -616,17 +892,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationFile = func
|
|
|
616
892
|
};
|
|
617
893
|
|
|
618
894
|
|
|
619
|
-
/**
|
|
895
|
+
/**
|
|
896
|
+
* @param {string} value
|
|
897
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
898
|
+
*/
|
|
620
899
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceLocationFile = function(value) {
|
|
621
|
-
jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
900
|
+
return jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
622
901
|
};
|
|
623
902
|
|
|
624
903
|
|
|
625
904
|
/**
|
|
626
905
|
* Clears the field making it undefined.
|
|
906
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
627
907
|
*/
|
|
628
908
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceLocationFile = function() {
|
|
629
|
-
jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
909
|
+
return jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
630
910
|
};
|
|
631
911
|
|
|
632
912
|
|
|
@@ -648,17 +928,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationFolder = fu
|
|
|
648
928
|
};
|
|
649
929
|
|
|
650
930
|
|
|
651
|
-
/**
|
|
931
|
+
/**
|
|
932
|
+
* @param {string} value
|
|
933
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
934
|
+
*/
|
|
652
935
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceLocationFolder = function(value) {
|
|
653
|
-
jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
936
|
+
return jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
654
937
|
};
|
|
655
938
|
|
|
656
939
|
|
|
657
940
|
/**
|
|
658
941
|
* Clears the field making it undefined.
|
|
942
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
659
943
|
*/
|
|
660
944
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceLocationFolder = function() {
|
|
661
|
-
jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
945
|
+
return jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
662
946
|
};
|
|
663
947
|
|
|
664
948
|
|
|
@@ -680,9 +964,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getUserHome = function() {
|
|
|
680
964
|
};
|
|
681
965
|
|
|
682
966
|
|
|
683
|
-
/**
|
|
967
|
+
/**
|
|
968
|
+
* @param {string} value
|
|
969
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
970
|
+
*/
|
|
684
971
|
proto.supervisor.WorkspaceInfoResponse.prototype.setUserHome = function(value) {
|
|
685
|
-
jspb.Message.setProto3StringField(this, 6, value);
|
|
972
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
686
973
|
};
|
|
687
974
|
|
|
688
975
|
|
|
@@ -696,17 +983,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getGitpodApi = function() {
|
|
|
696
983
|
};
|
|
697
984
|
|
|
698
985
|
|
|
699
|
-
/**
|
|
986
|
+
/**
|
|
987
|
+
* @param {?proto.supervisor.WorkspaceInfoResponse.GitpodAPI|undefined} value
|
|
988
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
989
|
+
*/
|
|
700
990
|
proto.supervisor.WorkspaceInfoResponse.prototype.setGitpodApi = function(value) {
|
|
701
|
-
jspb.Message.setWrapperField(this, 7, value);
|
|
991
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
702
992
|
};
|
|
703
993
|
|
|
704
994
|
|
|
705
995
|
/**
|
|
706
996
|
* Clears the message field making it undefined.
|
|
997
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
707
998
|
*/
|
|
708
999
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearGitpodApi = function() {
|
|
709
|
-
this.setGitpodApi(undefined);
|
|
1000
|
+
return this.setGitpodApi(undefined);
|
|
710
1001
|
};
|
|
711
1002
|
|
|
712
1003
|
|
|
@@ -728,9 +1019,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getGitpodHost = function() {
|
|
|
728
1019
|
};
|
|
729
1020
|
|
|
730
1021
|
|
|
731
|
-
/**
|
|
1022
|
+
/**
|
|
1023
|
+
* @param {string} value
|
|
1024
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1025
|
+
*/
|
|
732
1026
|
proto.supervisor.WorkspaceInfoResponse.prototype.setGitpodHost = function(value) {
|
|
733
|
-
jspb.Message.setProto3StringField(this, 8, value);
|
|
1027
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
734
1028
|
};
|
|
735
1029
|
|
|
736
1030
|
|
|
@@ -743,9 +1037,121 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceContextUrl = functi
|
|
|
743
1037
|
};
|
|
744
1038
|
|
|
745
1039
|
|
|
746
|
-
/**
|
|
1040
|
+
/**
|
|
1041
|
+
* @param {string} value
|
|
1042
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1043
|
+
*/
|
|
747
1044
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceContextUrl = function(value) {
|
|
748
|
-
jspb.Message.setProto3StringField(this, 9, value);
|
|
1045
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* optional Repository repository = 10;
|
|
1051
|
+
* @return {?proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
1052
|
+
*/
|
|
1053
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getRepository = function() {
|
|
1054
|
+
return /** @type{?proto.supervisor.WorkspaceInfoResponse.Repository} */ (
|
|
1055
|
+
jspb.Message.getWrapperField(this, proto.supervisor.WorkspaceInfoResponse.Repository, 10));
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* @param {?proto.supervisor.WorkspaceInfoResponse.Repository|undefined} value
|
|
1061
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1062
|
+
*/
|
|
1063
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setRepository = function(value) {
|
|
1064
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* Clears the message field making it undefined.
|
|
1070
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1071
|
+
*/
|
|
1072
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.clearRepository = function() {
|
|
1073
|
+
return this.setRepository(undefined);
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Returns whether this field is set.
|
|
1079
|
+
* @return {boolean}
|
|
1080
|
+
*/
|
|
1081
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.hasRepository = function() {
|
|
1082
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1083
|
+
};
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* optional string workspace_cluster_host = 11;
|
|
1088
|
+
* @return {string}
|
|
1089
|
+
*/
|
|
1090
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceClusterHost = function() {
|
|
1091
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* @param {string} value
|
|
1097
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1098
|
+
*/
|
|
1099
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceClusterHost = function(value) {
|
|
1100
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* optional string workspace_url = 12;
|
|
1106
|
+
* @return {string}
|
|
1107
|
+
*/
|
|
1108
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceUrl = function() {
|
|
1109
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* @param {string} value
|
|
1115
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1116
|
+
*/
|
|
1117
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceUrl = function(value) {
|
|
1118
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* optional string ide_alias = 13;
|
|
1124
|
+
* @return {string}
|
|
1125
|
+
*/
|
|
1126
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getIdeAlias = function() {
|
|
1127
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @param {string} value
|
|
1133
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1134
|
+
*/
|
|
1135
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setIdeAlias = function(value) {
|
|
1136
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* optional uint32 ide_port = 14;
|
|
1142
|
+
* @return {number}
|
|
1143
|
+
*/
|
|
1144
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getIdePort = function() {
|
|
1145
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* @param {number} value
|
|
1151
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1152
|
+
*/
|
|
1153
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setIdePort = function(value) {
|
|
1154
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
749
1155
|
};
|
|
750
1156
|
|
|
751
1157
|
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
|
|
7
7
|
import * as grpc from "@grpc/grpc-js";
|
|
8
|
-
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
|
9
8
|
import * as notification_pb from "./notification_pb";
|
|
10
9
|
|
|
11
10
|
interface INotificationServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|