@gitpod/supervisor-api-grpc 0.1.5-patch-2-fork.0 → 0.1.5-pavel-git-status-fix.4
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 +17 -1
- package/lib/control_grpc_pb.js +34 -0
- package/lib/control_pb.d.ts +37 -5
- package/lib/control_pb.js +301 -42
- package/lib/info_grpc_pb.d.ts +0 -1
- package/lib/info_pb.d.ts +42 -15
- package/lib/info_pb.js +445 -45
- package/lib/notification_grpc_pb.d.ts +49 -1
- package/lib/notification_grpc_pb.js +115 -4
- package/lib/notification_pb.d.ts +191 -8
- package/lib/notification_pb.js +1519 -59
- 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 +1666 -0
- package/lib/status_grpc_pb.d.ts +18 -1
- package/lib/status_grpc_pb.js +35 -0
- package/lib/status_pb.d.ts +155 -27
- package/lib/status_pb.js +1803 -546
- 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 +1055 -177
- package/lib/token_grpc_pb.d.ts +0 -1
- package/lib/token_pb.d.ts +4 -30
- package/lib/token_pb.js +208 -114
- package/package.json +10 -8
- package/pkg-yarn.lock +3 -3
- package/provenance-bundle.jsonl +4 -0
package/lib/info_pb.js
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
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 = Function('return this')();
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
13
17
|
|
|
14
18
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoRequest', null, global);
|
|
15
19
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse', null, global);
|
|
16
20
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.GitpodAPI', null, global);
|
|
21
|
+
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.Repository', null, global);
|
|
22
|
+
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.WorkspaceLocationCase', null, global);
|
|
17
23
|
/**
|
|
18
24
|
* Generated by JsPbCodeGenerator.
|
|
19
25
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -77,18 +83,41 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
77
83
|
*/
|
|
78
84
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.displayName = 'proto.supervisor.WorkspaceInfoResponse.GitpodAPI';
|
|
79
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Generated by JsPbCodeGenerator.
|
|
88
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
89
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
90
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
91
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
92
|
+
* valid.
|
|
93
|
+
* @extends {jspb.Message}
|
|
94
|
+
* @constructor
|
|
95
|
+
*/
|
|
96
|
+
proto.supervisor.WorkspaceInfoResponse.Repository = function(opt_data) {
|
|
97
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
98
|
+
};
|
|
99
|
+
goog.inherits(proto.supervisor.WorkspaceInfoResponse.Repository, jspb.Message);
|
|
100
|
+
if (goog.DEBUG && !COMPILED) {
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* @override
|
|
104
|
+
*/
|
|
105
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.displayName = 'proto.supervisor.WorkspaceInfoResponse.Repository';
|
|
106
|
+
}
|
|
80
107
|
|
|
81
108
|
|
|
82
109
|
|
|
83
110
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
84
111
|
/**
|
|
85
|
-
* Creates an object representation of this proto
|
|
112
|
+
* Creates an object representation of this proto.
|
|
86
113
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
114
|
+
* Optional fields that are not set will be set to undefined.
|
|
87
115
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
88
116
|
* For the list of reserved names please see:
|
|
89
|
-
*
|
|
90
|
-
* @param {boolean=} opt_includeInstance
|
|
91
|
-
* for transitional soy proto support:
|
|
117
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
118
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
119
|
+
* JSPB instance for transitional soy proto support:
|
|
120
|
+
* http://goto/soy-param-migration
|
|
92
121
|
* @return {!Object}
|
|
93
122
|
*/
|
|
94
123
|
proto.supervisor.WorkspaceInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -98,8 +127,8 @@ proto.supervisor.WorkspaceInfoRequest.prototype.toObject = function(opt_includeI
|
|
|
98
127
|
|
|
99
128
|
/**
|
|
100
129
|
* Static version of the {@see toObject} method.
|
|
101
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
102
|
-
* instance for transitional soy proto support:
|
|
130
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
131
|
+
* the JSPB instance for transitional soy proto support:
|
|
103
132
|
* http://goto/soy-param-migration
|
|
104
133
|
* @param {!proto.supervisor.WorkspaceInfoRequest} msg The msg instance to transform.
|
|
105
134
|
* @return {!Object}
|
|
@@ -207,13 +236,15 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationCase = func
|
|
|
207
236
|
|
|
208
237
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
209
238
|
/**
|
|
210
|
-
* Creates an object representation of this proto
|
|
239
|
+
* Creates an object representation of this proto.
|
|
211
240
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
241
|
+
* Optional fields that are not set will be set to undefined.
|
|
212
242
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
213
243
|
* For the list of reserved names please see:
|
|
214
|
-
*
|
|
215
|
-
* @param {boolean=} opt_includeInstance
|
|
216
|
-
* for transitional soy proto support:
|
|
244
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
245
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
246
|
+
* JSPB instance for transitional soy proto support:
|
|
247
|
+
* http://goto/soy-param-migration
|
|
217
248
|
* @return {!Object}
|
|
218
249
|
*/
|
|
219
250
|
proto.supervisor.WorkspaceInfoResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -223,8 +254,8 @@ proto.supervisor.WorkspaceInfoResponse.prototype.toObject = function(opt_include
|
|
|
223
254
|
|
|
224
255
|
/**
|
|
225
256
|
* Static version of the {@see toObject} method.
|
|
226
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
227
|
-
* instance for transitional soy proto support:
|
|
257
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
258
|
+
* the JSPB instance for transitional soy proto support:
|
|
228
259
|
* http://goto/soy-param-migration
|
|
229
260
|
* @param {!proto.supervisor.WorkspaceInfoResponse} msg The msg instance to transform.
|
|
230
261
|
* @return {!Object}
|
|
@@ -240,7 +271,12 @@ proto.supervisor.WorkspaceInfoResponse.toObject = function(includeInstance, msg)
|
|
|
240
271
|
userHome: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
241
272
|
gitpodApi: (f = msg.getGitpodApi()) && proto.supervisor.WorkspaceInfoResponse.GitpodAPI.toObject(includeInstance, f),
|
|
242
273
|
gitpodHost: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
243
|
-
workspaceContextUrl: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
274
|
+
workspaceContextUrl: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
275
|
+
repository: (f = msg.getRepository()) && proto.supervisor.WorkspaceInfoResponse.Repository.toObject(includeInstance, f),
|
|
276
|
+
workspaceClusterHost: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
277
|
+
workspaceUrl: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
278
|
+
ideAlias: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
279
|
+
idePort: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
244
280
|
};
|
|
245
281
|
|
|
246
282
|
if (includeInstance) {
|
|
@@ -314,6 +350,27 @@ proto.supervisor.WorkspaceInfoResponse.deserializeBinaryFromReader = function(ms
|
|
|
314
350
|
var value = /** @type {string} */ (reader.readString());
|
|
315
351
|
msg.setWorkspaceContextUrl(value);
|
|
316
352
|
break;
|
|
353
|
+
case 10:
|
|
354
|
+
var value = new proto.supervisor.WorkspaceInfoResponse.Repository;
|
|
355
|
+
reader.readMessage(value,proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader);
|
|
356
|
+
msg.setRepository(value);
|
|
357
|
+
break;
|
|
358
|
+
case 11:
|
|
359
|
+
var value = /** @type {string} */ (reader.readString());
|
|
360
|
+
msg.setWorkspaceClusterHost(value);
|
|
361
|
+
break;
|
|
362
|
+
case 12:
|
|
363
|
+
var value = /** @type {string} */ (reader.readString());
|
|
364
|
+
msg.setWorkspaceUrl(value);
|
|
365
|
+
break;
|
|
366
|
+
case 13:
|
|
367
|
+
var value = /** @type {string} */ (reader.readString());
|
|
368
|
+
msg.setIdeAlias(value);
|
|
369
|
+
break;
|
|
370
|
+
case 14:
|
|
371
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
372
|
+
msg.setIdePort(value);
|
|
373
|
+
break;
|
|
317
374
|
default:
|
|
318
375
|
reader.skipField();
|
|
319
376
|
break;
|
|
@@ -407,6 +464,42 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
407
464
|
f
|
|
408
465
|
);
|
|
409
466
|
}
|
|
467
|
+
f = message.getRepository();
|
|
468
|
+
if (f != null) {
|
|
469
|
+
writer.writeMessage(
|
|
470
|
+
10,
|
|
471
|
+
f,
|
|
472
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter
|
|
473
|
+
);
|
|
474
|
+
}
|
|
475
|
+
f = message.getWorkspaceClusterHost();
|
|
476
|
+
if (f.length > 0) {
|
|
477
|
+
writer.writeString(
|
|
478
|
+
11,
|
|
479
|
+
f
|
|
480
|
+
);
|
|
481
|
+
}
|
|
482
|
+
f = message.getWorkspaceUrl();
|
|
483
|
+
if (f.length > 0) {
|
|
484
|
+
writer.writeString(
|
|
485
|
+
12,
|
|
486
|
+
f
|
|
487
|
+
);
|
|
488
|
+
}
|
|
489
|
+
f = message.getIdeAlias();
|
|
490
|
+
if (f.length > 0) {
|
|
491
|
+
writer.writeString(
|
|
492
|
+
13,
|
|
493
|
+
f
|
|
494
|
+
);
|
|
495
|
+
}
|
|
496
|
+
f = message.getIdePort();
|
|
497
|
+
if (f !== 0) {
|
|
498
|
+
writer.writeUint32(
|
|
499
|
+
14,
|
|
500
|
+
f
|
|
501
|
+
);
|
|
502
|
+
}
|
|
410
503
|
};
|
|
411
504
|
|
|
412
505
|
|
|
@@ -415,13 +508,15 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
415
508
|
|
|
416
509
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
417
510
|
/**
|
|
418
|
-
* Creates an object representation of this proto
|
|
511
|
+
* Creates an object representation of this proto.
|
|
419
512
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
513
|
+
* Optional fields that are not set will be set to undefined.
|
|
420
514
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
421
515
|
* For the list of reserved names please see:
|
|
422
|
-
*
|
|
423
|
-
* @param {boolean=} opt_includeInstance
|
|
424
|
-
* for transitional soy proto support:
|
|
516
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
517
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
518
|
+
* JSPB instance for transitional soy proto support:
|
|
519
|
+
* http://goto/soy-param-migration
|
|
425
520
|
* @return {!Object}
|
|
426
521
|
*/
|
|
427
522
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -431,8 +526,8 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.toObject = function(o
|
|
|
431
526
|
|
|
432
527
|
/**
|
|
433
528
|
* Static version of the {@see toObject} method.
|
|
434
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
435
|
-
* instance for transitional soy proto support:
|
|
529
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
530
|
+
* the JSPB instance for transitional soy proto support:
|
|
436
531
|
* http://goto/soy-param-migration
|
|
437
532
|
* @param {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} msg The msg instance to transform.
|
|
438
533
|
* @return {!Object}
|
|
@@ -541,9 +636,12 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.getEndpoint = functio
|
|
|
541
636
|
};
|
|
542
637
|
|
|
543
638
|
|
|
544
|
-
/**
|
|
639
|
+
/**
|
|
640
|
+
* @param {string} value
|
|
641
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} returns this
|
|
642
|
+
*/
|
|
545
643
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setEndpoint = function(value) {
|
|
546
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
644
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
547
645
|
};
|
|
548
646
|
|
|
549
647
|
|
|
@@ -556,9 +654,172 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.getHost = function()
|
|
|
556
654
|
};
|
|
557
655
|
|
|
558
656
|
|
|
559
|
-
/**
|
|
657
|
+
/**
|
|
658
|
+
* @param {string} value
|
|
659
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} returns this
|
|
660
|
+
*/
|
|
560
661
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setHost = function(value) {
|
|
561
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
662
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
670
|
+
/**
|
|
671
|
+
* Creates an object representation of this proto.
|
|
672
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
673
|
+
* Optional fields that are not set will be set to undefined.
|
|
674
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
675
|
+
* For the list of reserved names please see:
|
|
676
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
677
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
678
|
+
* JSPB instance for transitional soy proto support:
|
|
679
|
+
* http://goto/soy-param-migration
|
|
680
|
+
* @return {!Object}
|
|
681
|
+
*/
|
|
682
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.toObject = function(opt_includeInstance) {
|
|
683
|
+
return proto.supervisor.WorkspaceInfoResponse.Repository.toObject(opt_includeInstance, this);
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Static version of the {@see toObject} method.
|
|
689
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
690
|
+
* the JSPB instance for transitional soy proto support:
|
|
691
|
+
* http://goto/soy-param-migration
|
|
692
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} msg The msg instance to transform.
|
|
693
|
+
* @return {!Object}
|
|
694
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
695
|
+
*/
|
|
696
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.toObject = function(includeInstance, msg) {
|
|
697
|
+
var f, obj = {
|
|
698
|
+
owner: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
699
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
if (includeInstance) {
|
|
703
|
+
obj.$jspbMessageInstance = msg;
|
|
704
|
+
}
|
|
705
|
+
return obj;
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Deserializes binary data (in protobuf wire format).
|
|
712
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
713
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
714
|
+
*/
|
|
715
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinary = function(bytes) {
|
|
716
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
717
|
+
var msg = new proto.supervisor.WorkspaceInfoResponse.Repository;
|
|
718
|
+
return proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader(msg, reader);
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
724
|
+
* given reader into the given message object.
|
|
725
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} msg The message object to deserialize into.
|
|
726
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
727
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
728
|
+
*/
|
|
729
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader = function(msg, reader) {
|
|
730
|
+
while (reader.nextField()) {
|
|
731
|
+
if (reader.isEndGroup()) {
|
|
732
|
+
break;
|
|
733
|
+
}
|
|
734
|
+
var field = reader.getFieldNumber();
|
|
735
|
+
switch (field) {
|
|
736
|
+
case 1:
|
|
737
|
+
var value = /** @type {string} */ (reader.readString());
|
|
738
|
+
msg.setOwner(value);
|
|
739
|
+
break;
|
|
740
|
+
case 2:
|
|
741
|
+
var value = /** @type {string} */ (reader.readString());
|
|
742
|
+
msg.setName(value);
|
|
743
|
+
break;
|
|
744
|
+
default:
|
|
745
|
+
reader.skipField();
|
|
746
|
+
break;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
return msg;
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
755
|
+
* @return {!Uint8Array}
|
|
756
|
+
*/
|
|
757
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.serializeBinary = function() {
|
|
758
|
+
var writer = new jspb.BinaryWriter();
|
|
759
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter(this, writer);
|
|
760
|
+
return writer.getResultBuffer();
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
766
|
+
* format), writing to the given BinaryWriter.
|
|
767
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} message
|
|
768
|
+
* @param {!jspb.BinaryWriter} writer
|
|
769
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
770
|
+
*/
|
|
771
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter = function(message, writer) {
|
|
772
|
+
var f = undefined;
|
|
773
|
+
f = message.getOwner();
|
|
774
|
+
if (f.length > 0) {
|
|
775
|
+
writer.writeString(
|
|
776
|
+
1,
|
|
777
|
+
f
|
|
778
|
+
);
|
|
779
|
+
}
|
|
780
|
+
f = message.getName();
|
|
781
|
+
if (f.length > 0) {
|
|
782
|
+
writer.writeString(
|
|
783
|
+
2,
|
|
784
|
+
f
|
|
785
|
+
);
|
|
786
|
+
}
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* optional string owner = 1;
|
|
792
|
+
* @return {string}
|
|
793
|
+
*/
|
|
794
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.getOwner = function() {
|
|
795
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* @param {string} value
|
|
801
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository} returns this
|
|
802
|
+
*/
|
|
803
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.setOwner = function(value) {
|
|
804
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* optional string name = 2;
|
|
810
|
+
* @return {string}
|
|
811
|
+
*/
|
|
812
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.getName = function() {
|
|
813
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* @param {string} value
|
|
819
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository} returns this
|
|
820
|
+
*/
|
|
821
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.setName = function(value) {
|
|
822
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
562
823
|
};
|
|
563
824
|
|
|
564
825
|
|
|
@@ -571,9 +832,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceId = function() {
|
|
|
571
832
|
};
|
|
572
833
|
|
|
573
834
|
|
|
574
|
-
/**
|
|
835
|
+
/**
|
|
836
|
+
* @param {string} value
|
|
837
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
838
|
+
*/
|
|
575
839
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceId = function(value) {
|
|
576
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
840
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
577
841
|
};
|
|
578
842
|
|
|
579
843
|
|
|
@@ -586,9 +850,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getInstanceId = function() {
|
|
|
586
850
|
};
|
|
587
851
|
|
|
588
852
|
|
|
589
|
-
/**
|
|
853
|
+
/**
|
|
854
|
+
* @param {string} value
|
|
855
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
856
|
+
*/
|
|
590
857
|
proto.supervisor.WorkspaceInfoResponse.prototype.setInstanceId = function(value) {
|
|
591
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
858
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
592
859
|
};
|
|
593
860
|
|
|
594
861
|
|
|
@@ -601,9 +868,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getCheckoutLocation = function(
|
|
|
601
868
|
};
|
|
602
869
|
|
|
603
870
|
|
|
604
|
-
/**
|
|
871
|
+
/**
|
|
872
|
+
* @param {string} value
|
|
873
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
874
|
+
*/
|
|
605
875
|
proto.supervisor.WorkspaceInfoResponse.prototype.setCheckoutLocation = function(value) {
|
|
606
|
-
jspb.Message.setProto3StringField(this, 3, value);
|
|
876
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
607
877
|
};
|
|
608
878
|
|
|
609
879
|
|
|
@@ -616,17 +886,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationFile = func
|
|
|
616
886
|
};
|
|
617
887
|
|
|
618
888
|
|
|
619
|
-
/**
|
|
889
|
+
/**
|
|
890
|
+
* @param {string} value
|
|
891
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
892
|
+
*/
|
|
620
893
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceLocationFile = function(value) {
|
|
621
|
-
jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
894
|
+
return jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
622
895
|
};
|
|
623
896
|
|
|
624
897
|
|
|
625
898
|
/**
|
|
626
899
|
* Clears the field making it undefined.
|
|
900
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
627
901
|
*/
|
|
628
902
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceLocationFile = function() {
|
|
629
|
-
jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
903
|
+
return jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
630
904
|
};
|
|
631
905
|
|
|
632
906
|
|
|
@@ -648,17 +922,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationFolder = fu
|
|
|
648
922
|
};
|
|
649
923
|
|
|
650
924
|
|
|
651
|
-
/**
|
|
925
|
+
/**
|
|
926
|
+
* @param {string} value
|
|
927
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
928
|
+
*/
|
|
652
929
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceLocationFolder = function(value) {
|
|
653
|
-
jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
930
|
+
return jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
654
931
|
};
|
|
655
932
|
|
|
656
933
|
|
|
657
934
|
/**
|
|
658
935
|
* Clears the field making it undefined.
|
|
936
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
659
937
|
*/
|
|
660
938
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceLocationFolder = function() {
|
|
661
|
-
jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
939
|
+
return jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
662
940
|
};
|
|
663
941
|
|
|
664
942
|
|
|
@@ -680,9 +958,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getUserHome = function() {
|
|
|
680
958
|
};
|
|
681
959
|
|
|
682
960
|
|
|
683
|
-
/**
|
|
961
|
+
/**
|
|
962
|
+
* @param {string} value
|
|
963
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
964
|
+
*/
|
|
684
965
|
proto.supervisor.WorkspaceInfoResponse.prototype.setUserHome = function(value) {
|
|
685
|
-
jspb.Message.setProto3StringField(this, 6, value);
|
|
966
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
686
967
|
};
|
|
687
968
|
|
|
688
969
|
|
|
@@ -696,17 +977,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getGitpodApi = function() {
|
|
|
696
977
|
};
|
|
697
978
|
|
|
698
979
|
|
|
699
|
-
/**
|
|
980
|
+
/**
|
|
981
|
+
* @param {?proto.supervisor.WorkspaceInfoResponse.GitpodAPI|undefined} value
|
|
982
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
983
|
+
*/
|
|
700
984
|
proto.supervisor.WorkspaceInfoResponse.prototype.setGitpodApi = function(value) {
|
|
701
|
-
jspb.Message.setWrapperField(this, 7, value);
|
|
985
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
702
986
|
};
|
|
703
987
|
|
|
704
988
|
|
|
705
989
|
/**
|
|
706
990
|
* Clears the message field making it undefined.
|
|
991
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
707
992
|
*/
|
|
708
993
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearGitpodApi = function() {
|
|
709
|
-
this.setGitpodApi(undefined);
|
|
994
|
+
return this.setGitpodApi(undefined);
|
|
710
995
|
};
|
|
711
996
|
|
|
712
997
|
|
|
@@ -728,9 +1013,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getGitpodHost = function() {
|
|
|
728
1013
|
};
|
|
729
1014
|
|
|
730
1015
|
|
|
731
|
-
/**
|
|
1016
|
+
/**
|
|
1017
|
+
* @param {string} value
|
|
1018
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1019
|
+
*/
|
|
732
1020
|
proto.supervisor.WorkspaceInfoResponse.prototype.setGitpodHost = function(value) {
|
|
733
|
-
jspb.Message.setProto3StringField(this, 8, value);
|
|
1021
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
734
1022
|
};
|
|
735
1023
|
|
|
736
1024
|
|
|
@@ -743,9 +1031,121 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceContextUrl = functi
|
|
|
743
1031
|
};
|
|
744
1032
|
|
|
745
1033
|
|
|
746
|
-
/**
|
|
1034
|
+
/**
|
|
1035
|
+
* @param {string} value
|
|
1036
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1037
|
+
*/
|
|
747
1038
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceContextUrl = function(value) {
|
|
748
|
-
jspb.Message.setProto3StringField(this, 9, value);
|
|
1039
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* optional Repository repository = 10;
|
|
1045
|
+
* @return {?proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
1046
|
+
*/
|
|
1047
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getRepository = function() {
|
|
1048
|
+
return /** @type{?proto.supervisor.WorkspaceInfoResponse.Repository} */ (
|
|
1049
|
+
jspb.Message.getWrapperField(this, proto.supervisor.WorkspaceInfoResponse.Repository, 10));
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* @param {?proto.supervisor.WorkspaceInfoResponse.Repository|undefined} value
|
|
1055
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1056
|
+
*/
|
|
1057
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setRepository = function(value) {
|
|
1058
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Clears the message field making it undefined.
|
|
1064
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1065
|
+
*/
|
|
1066
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.clearRepository = function() {
|
|
1067
|
+
return this.setRepository(undefined);
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Returns whether this field is set.
|
|
1073
|
+
* @return {boolean}
|
|
1074
|
+
*/
|
|
1075
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.hasRepository = function() {
|
|
1076
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* optional string workspace_cluster_host = 11;
|
|
1082
|
+
* @return {string}
|
|
1083
|
+
*/
|
|
1084
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceClusterHost = function() {
|
|
1085
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* @param {string} value
|
|
1091
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1092
|
+
*/
|
|
1093
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceClusterHost = function(value) {
|
|
1094
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* optional string workspace_url = 12;
|
|
1100
|
+
* @return {string}
|
|
1101
|
+
*/
|
|
1102
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceUrl = function() {
|
|
1103
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* @param {string} value
|
|
1109
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1110
|
+
*/
|
|
1111
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceUrl = function(value) {
|
|
1112
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* optional string ide_alias = 13;
|
|
1118
|
+
* @return {string}
|
|
1119
|
+
*/
|
|
1120
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getIdeAlias = function() {
|
|
1121
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* @param {string} value
|
|
1127
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1128
|
+
*/
|
|
1129
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setIdeAlias = function(value) {
|
|
1130
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* optional uint32 ide_port = 14;
|
|
1136
|
+
* @return {number}
|
|
1137
|
+
*/
|
|
1138
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getIdePort = function() {
|
|
1139
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* @param {number} value
|
|
1145
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1146
|
+
*/
|
|
1147
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setIdePort = function(value) {
|
|
1148
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
749
1149
|
};
|
|
750
1150
|
|
|
751
1151
|
|