@gitpod/supervisor-api-grpc 0.1.5-patch-1.2 → 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 +46 -15
- package/lib/info_pb.js +470 -43
- package/lib/notification_grpc_pb.d.ts +122 -0
- package/lib/notification_grpc_pb.js +232 -0
- package/lib/notification_pb.d.ts +339 -0
- package/lib/notification_pb.js +2486 -0
- 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 +9 -29
- package/lib/token_pb.js +256 -111
- 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}
|
|
@@ -239,7 +270,13 @@ proto.supervisor.WorkspaceInfoResponse.toObject = function(includeInstance, msg)
|
|
|
239
270
|
workspaceLocationFolder: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
240
271
|
userHome: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
241
272
|
gitpodApi: (f = msg.getGitpodApi()) && proto.supervisor.WorkspaceInfoResponse.GitpodAPI.toObject(includeInstance, f),
|
|
242
|
-
gitpodHost: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
273
|
+
gitpodHost: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
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)
|
|
243
280
|
};
|
|
244
281
|
|
|
245
282
|
if (includeInstance) {
|
|
@@ -309,6 +346,31 @@ proto.supervisor.WorkspaceInfoResponse.deserializeBinaryFromReader = function(ms
|
|
|
309
346
|
var value = /** @type {string} */ (reader.readString());
|
|
310
347
|
msg.setGitpodHost(value);
|
|
311
348
|
break;
|
|
349
|
+
case 9:
|
|
350
|
+
var value = /** @type {string} */ (reader.readString());
|
|
351
|
+
msg.setWorkspaceContextUrl(value);
|
|
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;
|
|
312
374
|
default:
|
|
313
375
|
reader.skipField();
|
|
314
376
|
break;
|
|
@@ -395,6 +457,49 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
395
457
|
f
|
|
396
458
|
);
|
|
397
459
|
}
|
|
460
|
+
f = message.getWorkspaceContextUrl();
|
|
461
|
+
if (f.length > 0) {
|
|
462
|
+
writer.writeString(
|
|
463
|
+
9,
|
|
464
|
+
f
|
|
465
|
+
);
|
|
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
|
+
}
|
|
398
503
|
};
|
|
399
504
|
|
|
400
505
|
|
|
@@ -403,13 +508,15 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
403
508
|
|
|
404
509
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
405
510
|
/**
|
|
406
|
-
* Creates an object representation of this proto
|
|
511
|
+
* Creates an object representation of this proto.
|
|
407
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.
|
|
408
514
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
409
515
|
* For the list of reserved names please see:
|
|
410
|
-
*
|
|
411
|
-
* @param {boolean=} opt_includeInstance
|
|
412
|
-
* 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
|
|
413
520
|
* @return {!Object}
|
|
414
521
|
*/
|
|
415
522
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -419,8 +526,8 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.toObject = function(o
|
|
|
419
526
|
|
|
420
527
|
/**
|
|
421
528
|
* Static version of the {@see toObject} method.
|
|
422
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
423
|
-
* instance for transitional soy proto support:
|
|
529
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
530
|
+
* the JSPB instance for transitional soy proto support:
|
|
424
531
|
* http://goto/soy-param-migration
|
|
425
532
|
* @param {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} msg The msg instance to transform.
|
|
426
533
|
* @return {!Object}
|
|
@@ -529,9 +636,12 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.getEndpoint = functio
|
|
|
529
636
|
};
|
|
530
637
|
|
|
531
638
|
|
|
532
|
-
/**
|
|
639
|
+
/**
|
|
640
|
+
* @param {string} value
|
|
641
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} returns this
|
|
642
|
+
*/
|
|
533
643
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setEndpoint = function(value) {
|
|
534
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
644
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
535
645
|
};
|
|
536
646
|
|
|
537
647
|
|
|
@@ -544,9 +654,172 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.getHost = function()
|
|
|
544
654
|
};
|
|
545
655
|
|
|
546
656
|
|
|
547
|
-
/**
|
|
657
|
+
/**
|
|
658
|
+
* @param {string} value
|
|
659
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.GitpodAPI} returns this
|
|
660
|
+
*/
|
|
548
661
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setHost = function(value) {
|
|
549
|
-
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);
|
|
550
823
|
};
|
|
551
824
|
|
|
552
825
|
|
|
@@ -559,9 +832,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceId = function() {
|
|
|
559
832
|
};
|
|
560
833
|
|
|
561
834
|
|
|
562
|
-
/**
|
|
835
|
+
/**
|
|
836
|
+
* @param {string} value
|
|
837
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
838
|
+
*/
|
|
563
839
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceId = function(value) {
|
|
564
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
840
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
565
841
|
};
|
|
566
842
|
|
|
567
843
|
|
|
@@ -574,9 +850,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getInstanceId = function() {
|
|
|
574
850
|
};
|
|
575
851
|
|
|
576
852
|
|
|
577
|
-
/**
|
|
853
|
+
/**
|
|
854
|
+
* @param {string} value
|
|
855
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
856
|
+
*/
|
|
578
857
|
proto.supervisor.WorkspaceInfoResponse.prototype.setInstanceId = function(value) {
|
|
579
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
858
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
580
859
|
};
|
|
581
860
|
|
|
582
861
|
|
|
@@ -589,9 +868,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getCheckoutLocation = function(
|
|
|
589
868
|
};
|
|
590
869
|
|
|
591
870
|
|
|
592
|
-
/**
|
|
871
|
+
/**
|
|
872
|
+
* @param {string} value
|
|
873
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
874
|
+
*/
|
|
593
875
|
proto.supervisor.WorkspaceInfoResponse.prototype.setCheckoutLocation = function(value) {
|
|
594
|
-
jspb.Message.setProto3StringField(this, 3, value);
|
|
876
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
595
877
|
};
|
|
596
878
|
|
|
597
879
|
|
|
@@ -604,17 +886,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationFile = func
|
|
|
604
886
|
};
|
|
605
887
|
|
|
606
888
|
|
|
607
|
-
/**
|
|
889
|
+
/**
|
|
890
|
+
* @param {string} value
|
|
891
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
892
|
+
*/
|
|
608
893
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceLocationFile = function(value) {
|
|
609
|
-
jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
894
|
+
return jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
610
895
|
};
|
|
611
896
|
|
|
612
897
|
|
|
613
898
|
/**
|
|
614
899
|
* Clears the field making it undefined.
|
|
900
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
615
901
|
*/
|
|
616
902
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceLocationFile = function() {
|
|
617
|
-
jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
903
|
+
return jspb.Message.setOneofField(this, 4, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
618
904
|
};
|
|
619
905
|
|
|
620
906
|
|
|
@@ -636,17 +922,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceLocationFolder = fu
|
|
|
636
922
|
};
|
|
637
923
|
|
|
638
924
|
|
|
639
|
-
/**
|
|
925
|
+
/**
|
|
926
|
+
* @param {string} value
|
|
927
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
928
|
+
*/
|
|
640
929
|
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceLocationFolder = function(value) {
|
|
641
|
-
jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
930
|
+
return jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], value);
|
|
642
931
|
};
|
|
643
932
|
|
|
644
933
|
|
|
645
934
|
/**
|
|
646
935
|
* Clears the field making it undefined.
|
|
936
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
647
937
|
*/
|
|
648
938
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceLocationFolder = function() {
|
|
649
|
-
jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
939
|
+
return jspb.Message.setOneofField(this, 5, proto.supervisor.WorkspaceInfoResponse.oneofGroups_[0], undefined);
|
|
650
940
|
};
|
|
651
941
|
|
|
652
942
|
|
|
@@ -668,9 +958,12 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getUserHome = function() {
|
|
|
668
958
|
};
|
|
669
959
|
|
|
670
960
|
|
|
671
|
-
/**
|
|
961
|
+
/**
|
|
962
|
+
* @param {string} value
|
|
963
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
964
|
+
*/
|
|
672
965
|
proto.supervisor.WorkspaceInfoResponse.prototype.setUserHome = function(value) {
|
|
673
|
-
jspb.Message.setProto3StringField(this, 6, value);
|
|
966
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
674
967
|
};
|
|
675
968
|
|
|
676
969
|
|
|
@@ -684,17 +977,21 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getGitpodApi = function() {
|
|
|
684
977
|
};
|
|
685
978
|
|
|
686
979
|
|
|
687
|
-
/**
|
|
980
|
+
/**
|
|
981
|
+
* @param {?proto.supervisor.WorkspaceInfoResponse.GitpodAPI|undefined} value
|
|
982
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
983
|
+
*/
|
|
688
984
|
proto.supervisor.WorkspaceInfoResponse.prototype.setGitpodApi = function(value) {
|
|
689
|
-
jspb.Message.setWrapperField(this, 7, value);
|
|
985
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
690
986
|
};
|
|
691
987
|
|
|
692
988
|
|
|
693
989
|
/**
|
|
694
990
|
* Clears the message field making it undefined.
|
|
991
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
695
992
|
*/
|
|
696
993
|
proto.supervisor.WorkspaceInfoResponse.prototype.clearGitpodApi = function() {
|
|
697
|
-
this.setGitpodApi(undefined);
|
|
994
|
+
return this.setGitpodApi(undefined);
|
|
698
995
|
};
|
|
699
996
|
|
|
700
997
|
|
|
@@ -716,9 +1013,139 @@ proto.supervisor.WorkspaceInfoResponse.prototype.getGitpodHost = function() {
|
|
|
716
1013
|
};
|
|
717
1014
|
|
|
718
1015
|
|
|
719
|
-
/**
|
|
1016
|
+
/**
|
|
1017
|
+
* @param {string} value
|
|
1018
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1019
|
+
*/
|
|
720
1020
|
proto.supervisor.WorkspaceInfoResponse.prototype.setGitpodHost = function(value) {
|
|
721
|
-
jspb.Message.setProto3StringField(this, 8, value);
|
|
1021
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* optional string workspace_context_url = 9;
|
|
1027
|
+
* @return {string}
|
|
1028
|
+
*/
|
|
1029
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceContextUrl = function() {
|
|
1030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* @param {string} value
|
|
1036
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1037
|
+
*/
|
|
1038
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceContextUrl = function(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);
|
|
722
1149
|
};
|
|
723
1150
|
|
|
724
1151
|
|