@gitpod/supervisor-api-grpc 0.1.5-se-career-tip.1 → 0.1.5-se-init.1

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/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 = Function('return this')();
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 suitable for use in Soy templates.
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
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
90
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
91
- * for transitional soy proto support: http://goto/soy-param-migration
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 the JSPB
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 suitable for use in Soy templates.
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
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
215
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
216
- * for transitional soy proto support: http://goto/soy-param-migration
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 the JSPB
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}
@@ -239,7 +276,13 @@ proto.supervisor.WorkspaceInfoResponse.toObject = function(includeInstance, msg)
239
276
  workspaceLocationFolder: jspb.Message.getFieldWithDefault(msg, 5, ""),
240
277
  userHome: jspb.Message.getFieldWithDefault(msg, 6, ""),
241
278
  gitpodApi: (f = msg.getGitpodApi()) && proto.supervisor.WorkspaceInfoResponse.GitpodAPI.toObject(includeInstance, f),
242
- gitpodHost: jspb.Message.getFieldWithDefault(msg, 8, "")
279
+ gitpodHost: jspb.Message.getFieldWithDefault(msg, 8, ""),
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)
243
286
  };
244
287
 
245
288
  if (includeInstance) {
@@ -309,6 +352,31 @@ proto.supervisor.WorkspaceInfoResponse.deserializeBinaryFromReader = function(ms
309
352
  var value = /** @type {string} */ (reader.readString());
310
353
  msg.setGitpodHost(value);
311
354
  break;
355
+ case 9:
356
+ var value = /** @type {string} */ (reader.readString());
357
+ msg.setWorkspaceContextUrl(value);
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;
312
380
  default:
313
381
  reader.skipField();
314
382
  break;
@@ -395,6 +463,49 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
395
463
  f
396
464
  );
397
465
  }
466
+ f = message.getWorkspaceContextUrl();
467
+ if (f.length > 0) {
468
+ writer.writeString(
469
+ 9,
470
+ f
471
+ );
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
+ }
398
509
  };
399
510
 
400
511
 
@@ -403,13 +514,15 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
403
514
 
404
515
  if (jspb.Message.GENERATE_TO_OBJECT) {
405
516
  /**
406
- * Creates an object representation of this proto suitable for use in Soy templates.
517
+ * Creates an object representation of this proto.
407
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.
408
520
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
409
521
  * For the list of reserved names please see:
410
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
411
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
412
- * for transitional soy proto support: http://goto/soy-param-migration
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
413
526
  * @return {!Object}
414
527
  */
415
528
  proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.toObject = function(opt_includeInstance) {
@@ -419,8 +532,8 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.toObject = function(o
419
532
 
420
533
  /**
421
534
  * Static version of the {@see toObject} method.
422
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
423
- * instance for transitional soy proto support:
535
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
536
+ * the JSPB instance for transitional soy proto support:
424
537
  * http://goto/soy-param-migration
425
538
  * @param {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} msg The msg instance to transform.
426
539
  * @return {!Object}
@@ -529,9 +642,12 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.getEndpoint = functio
529
642
  };
530
643
 
531
644
 
532
- /** @param {string} value */
645
+ /**
646
+ * @param {string} value
647
+ * @return {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} returns this
648
+ */
533
649
  proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setEndpoint = function(value) {
534
- jspb.Message.setProto3StringField(this, 1, value);
650
+ return jspb.Message.setProto3StringField(this, 1, value);
535
651
  };
536
652
 
537
653
 
@@ -544,9 +660,172 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.getHost = function()
544
660
  };
545
661
 
546
662
 
547
- /** @param {string} value */
663
+ /**
664
+ * @param {string} value
665
+ * @return {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} returns this
666
+ */
548
667
  proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setHost = function(value) {
549
- 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);
550
829
  };
551
830
 
552
831
 
@@ -559,9 +838,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceId = function() {
559
838
  };
560
839
 
561
840
 
562
- /** @param {string} value */
841
+ /**
842
+ * @param {string} value
843
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
844
+ */
563
845
  proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceId = function(value) {
564
- jspb.Message.setProto3StringField(this, 1, value);
846
+ return jspb.Message.setProto3StringField(this, 1, value);
565
847
  };
566
848
 
567
849
 
@@ -574,9 +856,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getInstanceId = function() {
574
856
  };
575
857
 
576
858
 
577
- /** @param {string} value */
859
+ /**
860
+ * @param {string} value
861
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
862
+ */
578
863
  proto.supervisor.WorkspaceInfoResponse.prototype.setInstanceId = function(value) {
579
- jspb.Message.setProto3StringField(this, 2, value);
864
+ return jspb.Message.setProto3StringField(this, 2, value);
580
865
  };
581
866
 
582
867
 
@@ -589,9 +874,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getCheckoutLocation = function(
589
874
  };
590
875
 
591
876
 
592
- /** @param {string} value */
877
+ /**
878
+ * @param {string} value
879
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
880
+ */
593
881
  proto.supervisor.WorkspaceInfoResponse.prototype.setCheckoutLocation = function(value) {
594
- jspb.Message.setProto3StringField(this, 3, value);
882
+ return jspb.Message.setProto3StringField(this, 3, value);
595
883
  };
596
884
 
597
885
 
@@ -604,17 +892,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationFile = func
604
892
  };
605
893
 
606
894
 
607
- /** @param {string} value */
895
+ /**
896
+ * @param {string} value
897
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
898
+ */
608
899
  proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceLocationFile = function(value) {
609
- jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
900
+ return jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
610
901
  };
611
902
 
612
903
 
613
904
  /**
614
905
  * Clears the field making it undefined.
906
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
615
907
  */
616
908
  proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceLocationFile = function() {
617
- jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
909
+ return jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
618
910
  };
619
911
 
620
912
 
@@ -636,17 +928,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationFolder = fu
636
928
  };
637
929
 
638
930
 
639
- /** @param {string} value */
931
+ /**
932
+ * @param {string} value
933
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
934
+ */
640
935
  proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceLocationFolder = function(value) {
641
- jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
936
+ return jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
642
937
  };
643
938
 
644
939
 
645
940
  /**
646
941
  * Clears the field making it undefined.
942
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
647
943
  */
648
944
  proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceLocationFolder = function() {
649
- jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
945
+ return jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
650
946
  };
651
947
 
652
948
 
@@ -668,9 +964,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getUserHome = function() {
668
964
  };
669
965
 
670
966
 
671
- /** @param {string} value */
967
+ /**
968
+ * @param {string} value
969
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
970
+ */
672
971
  proto.supervisor.WorkspaceInfoResponse.prototype.setUserHome = function(value) {
673
- jspb.Message.setProto3StringField(this, 6, value);
972
+ return jspb.Message.setProto3StringField(this, 6, value);
674
973
  };
675
974
 
676
975
 
@@ -684,17 +983,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getGitpodApi = function() {
684
983
  };
685
984
 
686
985
 
687
- /** @param {?proto.supervisor.WorkspaceInfoResponse.GitpodAPI|undefined} value */
986
+ /**
987
+ * @param {?proto.supervisor.WorkspaceInfoResponse.GitpodAPI|undefined} value
988
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
989
+ */
688
990
  proto.supervisor.WorkspaceInfoResponse.prototype.setGitpodApi = function(value) {
689
- jspb.Message.setWrapperField(this, 7, value);
991
+ return jspb.Message.setWrapperField(this, 7, value);
690
992
  };
691
993
 
692
994
 
693
995
  /**
694
996
  * Clears the message field making it undefined.
997
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
695
998
  */
696
999
  proto.supervisor.WorkspaceInfoResponse.prototype.clearGitpodApi = function() {
697
- this.setGitpodApi(undefined);
1000
+ return this.setGitpodApi(undefined);
698
1001
  };
699
1002
 
700
1003
 
@@ -716,9 +1019,139 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getGitpodHost = function() {
716
1019
  };
717
1020
 
718
1021
 
719
- /** @param {string} value */
1022
+ /**
1023
+ * @param {string} value
1024
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
1025
+ */
720
1026
  proto.supervisor.WorkspaceInfoResponse.prototype.setGitpodHost = function(value) {
721
- jspb.Message.setProto3StringField(this, 8, value);
1027
+ return jspb.Message.setProto3StringField(this, 8, value);
1028
+ };
1029
+
1030
+
1031
+ /**
1032
+ * optional string workspace_context_url = 9;
1033
+ * @return {string}
1034
+ */
1035
+ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceContextUrl = function() {
1036
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1037
+ };
1038
+
1039
+
1040
+ /**
1041
+ * @param {string} value
1042
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
1043
+ */
1044
+ proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceContextUrl = function(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);
722
1155
  };
723
1156
 
724
1157