@gitpod/supervisor-api-grpc 0.1.5-se-init.1 → 0.1.5-se-better-ts-api.0

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.
@@ -9,6 +9,7 @@ import * as control_pb from "./control_pb";
9
9
 
10
10
  interface IControlServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
11
11
  exposePort: IControlServiceService_IExposePort;
12
+ createSSHKeyPair: IControlServiceService_ICreateSSHKeyPair;
12
13
  }
13
14
 
14
15
  interface IControlServiceService_IExposePort extends grpc.MethodDefinition<control_pb.ExposePortRequest, control_pb.ExposePortResponse> {
@@ -20,17 +21,30 @@ interface IControlServiceService_IExposePort extends grpc.MethodDefinition<contr
20
21
  responseSerialize: grpc.serialize<control_pb.ExposePortResponse>;
21
22
  responseDeserialize: grpc.deserialize<control_pb.ExposePortResponse>;
22
23
  }
24
+ interface IControlServiceService_ICreateSSHKeyPair extends grpc.MethodDefinition<control_pb.CreateSSHKeyPairRequest, control_pb.CreateSSHKeyPairResponse> {
25
+ path: "/supervisor.ControlService/CreateSSHKeyPair";
26
+ requestStream: false;
27
+ responseStream: false;
28
+ requestSerialize: grpc.serialize<control_pb.CreateSSHKeyPairRequest>;
29
+ requestDeserialize: grpc.deserialize<control_pb.CreateSSHKeyPairRequest>;
30
+ responseSerialize: grpc.serialize<control_pb.CreateSSHKeyPairResponse>;
31
+ responseDeserialize: grpc.deserialize<control_pb.CreateSSHKeyPairResponse>;
32
+ }
23
33
 
24
34
  export const ControlServiceService: IControlServiceService;
25
35
 
26
36
  export interface IControlServiceServer extends grpc.UntypedServiceImplementation {
27
37
  exposePort: grpc.handleUnaryCall<control_pb.ExposePortRequest, control_pb.ExposePortResponse>;
38
+ createSSHKeyPair: grpc.handleUnaryCall<control_pb.CreateSSHKeyPairRequest, control_pb.CreateSSHKeyPairResponse>;
28
39
  }
29
40
 
30
41
  export interface IControlServiceClient {
31
42
  exposePort(request: control_pb.ExposePortRequest, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
32
43
  exposePort(request: control_pb.ExposePortRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
33
44
  exposePort(request: control_pb.ExposePortRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
45
+ createSSHKeyPair(request: control_pb.CreateSSHKeyPairRequest, callback: (error: grpc.ServiceError | null, response: control_pb.CreateSSHKeyPairResponse) => void): grpc.ClientUnaryCall;
46
+ createSSHKeyPair(request: control_pb.CreateSSHKeyPairRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: control_pb.CreateSSHKeyPairResponse) => void): grpc.ClientUnaryCall;
47
+ createSSHKeyPair(request: control_pb.CreateSSHKeyPairRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: control_pb.CreateSSHKeyPairResponse) => void): grpc.ClientUnaryCall;
34
48
  }
35
49
 
36
50
  export class ControlServiceClient extends grpc.Client implements IControlServiceClient {
@@ -38,4 +52,7 @@ export class ControlServiceClient extends grpc.Client implements IControlService
38
52
  public exposePort(request: control_pb.ExposePortRequest, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
39
53
  public exposePort(request: control_pb.ExposePortRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
40
54
  public exposePort(request: control_pb.ExposePortRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
55
+ public createSSHKeyPair(request: control_pb.CreateSSHKeyPairRequest, callback: (error: grpc.ServiceError | null, response: control_pb.CreateSSHKeyPairResponse) => void): grpc.ClientUnaryCall;
56
+ public createSSHKeyPair(request: control_pb.CreateSSHKeyPairRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: control_pb.CreateSSHKeyPairResponse) => void): grpc.ClientUnaryCall;
57
+ public createSSHKeyPair(request: control_pb.CreateSSHKeyPairRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: control_pb.CreateSSHKeyPairResponse) => void): grpc.ClientUnaryCall;
41
58
  }
@@ -9,6 +9,28 @@
9
9
  var grpc = require('@grpc/grpc-js');
10
10
  var control_pb = require('./control_pb.js');
11
11
 
12
+ function serialize_supervisor_CreateSSHKeyPairRequest(arg) {
13
+ if (!(arg instanceof control_pb.CreateSSHKeyPairRequest)) {
14
+ throw new Error('Expected argument of type supervisor.CreateSSHKeyPairRequest');
15
+ }
16
+ return Buffer.from(arg.serializeBinary());
17
+ }
18
+
19
+ function deserialize_supervisor_CreateSSHKeyPairRequest(buffer_arg) {
20
+ return control_pb.CreateSSHKeyPairRequest.deserializeBinary(new Uint8Array(buffer_arg));
21
+ }
22
+
23
+ function serialize_supervisor_CreateSSHKeyPairResponse(arg) {
24
+ if (!(arg instanceof control_pb.CreateSSHKeyPairResponse)) {
25
+ throw new Error('Expected argument of type supervisor.CreateSSHKeyPairResponse');
26
+ }
27
+ return Buffer.from(arg.serializeBinary());
28
+ }
29
+
30
+ function deserialize_supervisor_CreateSSHKeyPairResponse(buffer_arg) {
31
+ return control_pb.CreateSSHKeyPairResponse.deserializeBinary(new Uint8Array(buffer_arg));
32
+ }
33
+
12
34
  function serialize_supervisor_ExposePortRequest(arg) {
13
35
  if (!(arg instanceof control_pb.ExposePortRequest)) {
14
36
  throw new Error('Expected argument of type supervisor.ExposePortRequest');
@@ -46,6 +68,18 @@ exposePort: {
46
68
  responseSerialize: serialize_supervisor_ExposePortResponse,
47
69
  responseDeserialize: deserialize_supervisor_ExposePortResponse,
48
70
  },
71
+ // CreateSSHKeyPair Create a pair of SSH Keys and put them in ~/.ssh/authorized_keys, this will only be generated once in the entire workspace lifecycle
72
+ createSSHKeyPair: {
73
+ path: '/supervisor.ControlService/CreateSSHKeyPair',
74
+ requestStream: false,
75
+ responseStream: false,
76
+ requestType: control_pb.CreateSSHKeyPairRequest,
77
+ responseType: control_pb.CreateSSHKeyPairResponse,
78
+ requestSerialize: serialize_supervisor_CreateSSHKeyPairRequest,
79
+ requestDeserialize: deserialize_supervisor_CreateSSHKeyPairRequest,
80
+ responseSerialize: serialize_supervisor_CreateSSHKeyPairResponse,
81
+ responseDeserialize: deserialize_supervisor_CreateSSHKeyPairResponse,
82
+ },
49
83
  };
50
84
 
51
85
  exports.ControlServiceClient = grpc.makeGenericClientConstructor(ControlServiceService);
@@ -42,3 +42,40 @@ export namespace ExposePortResponse {
42
42
  export type AsObject = {
43
43
  }
44
44
  }
45
+
46
+ export class CreateSSHKeyPairRequest extends jspb.Message {
47
+
48
+ serializeBinary(): Uint8Array;
49
+ toObject(includeInstance?: boolean): CreateSSHKeyPairRequest.AsObject;
50
+ static toObject(includeInstance: boolean, msg: CreateSSHKeyPairRequest): CreateSSHKeyPairRequest.AsObject;
51
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
52
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
53
+ static serializeBinaryToWriter(message: CreateSSHKeyPairRequest, writer: jspb.BinaryWriter): void;
54
+ static deserializeBinary(bytes: Uint8Array): CreateSSHKeyPairRequest;
55
+ static deserializeBinaryFromReader(message: CreateSSHKeyPairRequest, reader: jspb.BinaryReader): CreateSSHKeyPairRequest;
56
+ }
57
+
58
+ export namespace CreateSSHKeyPairRequest {
59
+ export type AsObject = {
60
+ }
61
+ }
62
+
63
+ export class CreateSSHKeyPairResponse extends jspb.Message {
64
+ getPrivateKey(): string;
65
+ setPrivateKey(value: string): CreateSSHKeyPairResponse;
66
+
67
+ serializeBinary(): Uint8Array;
68
+ toObject(includeInstance?: boolean): CreateSSHKeyPairResponse.AsObject;
69
+ static toObject(includeInstance: boolean, msg: CreateSSHKeyPairResponse): CreateSSHKeyPairResponse.AsObject;
70
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
71
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
72
+ static serializeBinaryToWriter(message: CreateSSHKeyPairResponse, writer: jspb.BinaryWriter): void;
73
+ static deserializeBinary(bytes: Uint8Array): CreateSSHKeyPairResponse;
74
+ static deserializeBinaryFromReader(message: CreateSSHKeyPairResponse, reader: jspb.BinaryReader): CreateSSHKeyPairResponse;
75
+ }
76
+
77
+ export namespace CreateSSHKeyPairResponse {
78
+ export type AsObject = {
79
+ privateKey: string,
80
+ }
81
+ }
package/lib/control_pb.js CHANGED
@@ -13,14 +13,10 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
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));
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
23
17
 
18
+ goog.exportSymbol('proto.supervisor.CreateSSHKeyPairRequest', null, global);
19
+ goog.exportSymbol('proto.supervisor.CreateSSHKeyPairResponse', null, global);
24
20
  goog.exportSymbol('proto.supervisor.ExposePortRequest', null, global);
25
21
  goog.exportSymbol('proto.supervisor.ExposePortResponse', null, global);
26
22
  /**
@@ -65,6 +61,48 @@ if (goog.DEBUG && !COMPILED) {
65
61
  */
66
62
  proto.supervisor.ExposePortResponse.displayName = 'proto.supervisor.ExposePortResponse';
67
63
  }
64
+ /**
65
+ * Generated by JsPbCodeGenerator.
66
+ * @param {Array=} opt_data Optional initial data array, typically from a
67
+ * server response, or constructed directly in Javascript. The array is used
68
+ * in place and becomes part of the constructed object. It is not cloned.
69
+ * If no data is provided, the constructed object will be empty, but still
70
+ * valid.
71
+ * @extends {jspb.Message}
72
+ * @constructor
73
+ */
74
+ proto.supervisor.CreateSSHKeyPairRequest = function(opt_data) {
75
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
76
+ };
77
+ goog.inherits(proto.supervisor.CreateSSHKeyPairRequest, jspb.Message);
78
+ if (goog.DEBUG && !COMPILED) {
79
+ /**
80
+ * @public
81
+ * @override
82
+ */
83
+ proto.supervisor.CreateSSHKeyPairRequest.displayName = 'proto.supervisor.CreateSSHKeyPairRequest';
84
+ }
85
+ /**
86
+ * Generated by JsPbCodeGenerator.
87
+ * @param {Array=} opt_data Optional initial data array, typically from a
88
+ * server response, or constructed directly in Javascript. The array is used
89
+ * in place and becomes part of the constructed object. It is not cloned.
90
+ * If no data is provided, the constructed object will be empty, but still
91
+ * valid.
92
+ * @extends {jspb.Message}
93
+ * @constructor
94
+ */
95
+ proto.supervisor.CreateSSHKeyPairResponse = function(opt_data) {
96
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
97
+ };
98
+ goog.inherits(proto.supervisor.CreateSSHKeyPairResponse, jspb.Message);
99
+ if (goog.DEBUG && !COMPILED) {
100
+ /**
101
+ * @public
102
+ * @override
103
+ */
104
+ proto.supervisor.CreateSSHKeyPairResponse.displayName = 'proto.supervisor.CreateSSHKeyPairResponse';
105
+ }
68
106
 
69
107
 
70
108
 
@@ -296,4 +334,235 @@ proto.supervisor.ExposePortResponse.serializeBinaryToWriter = function(message,
296
334
  };
297
335
 
298
336
 
337
+
338
+
339
+
340
+ if (jspb.Message.GENERATE_TO_OBJECT) {
341
+ /**
342
+ * Creates an object representation of this proto.
343
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
344
+ * Optional fields that are not set will be set to undefined.
345
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
346
+ * For the list of reserved names please see:
347
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
348
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
349
+ * JSPB instance for transitional soy proto support:
350
+ * http://goto/soy-param-migration
351
+ * @return {!Object}
352
+ */
353
+ proto.supervisor.CreateSSHKeyPairRequest.prototype.toObject = function(opt_includeInstance) {
354
+ return proto.supervisor.CreateSSHKeyPairRequest.toObject(opt_includeInstance, this);
355
+ };
356
+
357
+
358
+ /**
359
+ * Static version of the {@see toObject} method.
360
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
361
+ * the JSPB instance for transitional soy proto support:
362
+ * http://goto/soy-param-migration
363
+ * @param {!proto.supervisor.CreateSSHKeyPairRequest} msg The msg instance to transform.
364
+ * @return {!Object}
365
+ * @suppress {unusedLocalVariables} f is only used for nested messages
366
+ */
367
+ proto.supervisor.CreateSSHKeyPairRequest.toObject = function(includeInstance, msg) {
368
+ var f, obj = {
369
+
370
+ };
371
+
372
+ if (includeInstance) {
373
+ obj.$jspbMessageInstance = msg;
374
+ }
375
+ return obj;
376
+ };
377
+ }
378
+
379
+
380
+ /**
381
+ * Deserializes binary data (in protobuf wire format).
382
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
383
+ * @return {!proto.supervisor.CreateSSHKeyPairRequest}
384
+ */
385
+ proto.supervisor.CreateSSHKeyPairRequest.deserializeBinary = function(bytes) {
386
+ var reader = new jspb.BinaryReader(bytes);
387
+ var msg = new proto.supervisor.CreateSSHKeyPairRequest;
388
+ return proto.supervisor.CreateSSHKeyPairRequest.deserializeBinaryFromReader(msg, reader);
389
+ };
390
+
391
+
392
+ /**
393
+ * Deserializes binary data (in protobuf wire format) from the
394
+ * given reader into the given message object.
395
+ * @param {!proto.supervisor.CreateSSHKeyPairRequest} msg The message object to deserialize into.
396
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
397
+ * @return {!proto.supervisor.CreateSSHKeyPairRequest}
398
+ */
399
+ proto.supervisor.CreateSSHKeyPairRequest.deserializeBinaryFromReader = function(msg, reader) {
400
+ while (reader.nextField()) {
401
+ if (reader.isEndGroup()) {
402
+ break;
403
+ }
404
+ var field = reader.getFieldNumber();
405
+ switch (field) {
406
+ default:
407
+ reader.skipField();
408
+ break;
409
+ }
410
+ }
411
+ return msg;
412
+ };
413
+
414
+
415
+ /**
416
+ * Serializes the message to binary data (in protobuf wire format).
417
+ * @return {!Uint8Array}
418
+ */
419
+ proto.supervisor.CreateSSHKeyPairRequest.prototype.serializeBinary = function() {
420
+ var writer = new jspb.BinaryWriter();
421
+ proto.supervisor.CreateSSHKeyPairRequest.serializeBinaryToWriter(this, writer);
422
+ return writer.getResultBuffer();
423
+ };
424
+
425
+
426
+ /**
427
+ * Serializes the given message to binary data (in protobuf wire
428
+ * format), writing to the given BinaryWriter.
429
+ * @param {!proto.supervisor.CreateSSHKeyPairRequest} message
430
+ * @param {!jspb.BinaryWriter} writer
431
+ * @suppress {unusedLocalVariables} f is only used for nested messages
432
+ */
433
+ proto.supervisor.CreateSSHKeyPairRequest.serializeBinaryToWriter = function(message, writer) {
434
+ var f = undefined;
435
+ };
436
+
437
+
438
+
439
+
440
+
441
+ if (jspb.Message.GENERATE_TO_OBJECT) {
442
+ /**
443
+ * Creates an object representation of this proto.
444
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
445
+ * Optional fields that are not set will be set to undefined.
446
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
447
+ * For the list of reserved names please see:
448
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
449
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
450
+ * JSPB instance for transitional soy proto support:
451
+ * http://goto/soy-param-migration
452
+ * @return {!Object}
453
+ */
454
+ proto.supervisor.CreateSSHKeyPairResponse.prototype.toObject = function(opt_includeInstance) {
455
+ return proto.supervisor.CreateSSHKeyPairResponse.toObject(opt_includeInstance, this);
456
+ };
457
+
458
+
459
+ /**
460
+ * Static version of the {@see toObject} method.
461
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
462
+ * the JSPB instance for transitional soy proto support:
463
+ * http://goto/soy-param-migration
464
+ * @param {!proto.supervisor.CreateSSHKeyPairResponse} msg The msg instance to transform.
465
+ * @return {!Object}
466
+ * @suppress {unusedLocalVariables} f is only used for nested messages
467
+ */
468
+ proto.supervisor.CreateSSHKeyPairResponse.toObject = function(includeInstance, msg) {
469
+ var f, obj = {
470
+ privateKey: jspb.Message.getFieldWithDefault(msg, 1, "")
471
+ };
472
+
473
+ if (includeInstance) {
474
+ obj.$jspbMessageInstance = msg;
475
+ }
476
+ return obj;
477
+ };
478
+ }
479
+
480
+
481
+ /**
482
+ * Deserializes binary data (in protobuf wire format).
483
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
484
+ * @return {!proto.supervisor.CreateSSHKeyPairResponse}
485
+ */
486
+ proto.supervisor.CreateSSHKeyPairResponse.deserializeBinary = function(bytes) {
487
+ var reader = new jspb.BinaryReader(bytes);
488
+ var msg = new proto.supervisor.CreateSSHKeyPairResponse;
489
+ return proto.supervisor.CreateSSHKeyPairResponse.deserializeBinaryFromReader(msg, reader);
490
+ };
491
+
492
+
493
+ /**
494
+ * Deserializes binary data (in protobuf wire format) from the
495
+ * given reader into the given message object.
496
+ * @param {!proto.supervisor.CreateSSHKeyPairResponse} msg The message object to deserialize into.
497
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
498
+ * @return {!proto.supervisor.CreateSSHKeyPairResponse}
499
+ */
500
+ proto.supervisor.CreateSSHKeyPairResponse.deserializeBinaryFromReader = function(msg, reader) {
501
+ while (reader.nextField()) {
502
+ if (reader.isEndGroup()) {
503
+ break;
504
+ }
505
+ var field = reader.getFieldNumber();
506
+ switch (field) {
507
+ case 1:
508
+ var value = /** @type {string} */ (reader.readString());
509
+ msg.setPrivateKey(value);
510
+ break;
511
+ default:
512
+ reader.skipField();
513
+ break;
514
+ }
515
+ }
516
+ return msg;
517
+ };
518
+
519
+
520
+ /**
521
+ * Serializes the message to binary data (in protobuf wire format).
522
+ * @return {!Uint8Array}
523
+ */
524
+ proto.supervisor.CreateSSHKeyPairResponse.prototype.serializeBinary = function() {
525
+ var writer = new jspb.BinaryWriter();
526
+ proto.supervisor.CreateSSHKeyPairResponse.serializeBinaryToWriter(this, writer);
527
+ return writer.getResultBuffer();
528
+ };
529
+
530
+
531
+ /**
532
+ * Serializes the given message to binary data (in protobuf wire
533
+ * format), writing to the given BinaryWriter.
534
+ * @param {!proto.supervisor.CreateSSHKeyPairResponse} message
535
+ * @param {!jspb.BinaryWriter} writer
536
+ * @suppress {unusedLocalVariables} f is only used for nested messages
537
+ */
538
+ proto.supervisor.CreateSSHKeyPairResponse.serializeBinaryToWriter = function(message, writer) {
539
+ var f = undefined;
540
+ f = message.getPrivateKey();
541
+ if (f.length > 0) {
542
+ writer.writeString(
543
+ 1,
544
+ f
545
+ );
546
+ }
547
+ };
548
+
549
+
550
+ /**
551
+ * optional string private_key = 1;
552
+ * @return {string}
553
+ */
554
+ proto.supervisor.CreateSSHKeyPairResponse.prototype.getPrivateKey = function() {
555
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
556
+ };
557
+
558
+
559
+ /**
560
+ * @param {string} value
561
+ * @return {!proto.supervisor.CreateSSHKeyPairResponse} returns this
562
+ */
563
+ proto.supervisor.CreateSSHKeyPairResponse.prototype.setPrivateKey = function(value) {
564
+ return jspb.Message.setProto3StringField(this, 1, value);
565
+ };
566
+
567
+
299
568
  goog.object.extend(exports, proto.supervisor);
package/lib/info_pb.d.ts CHANGED
@@ -65,6 +65,11 @@ export class WorkspaceInfoResponse extends jspb.Message {
65
65
  getIdePort(): number;
66
66
  setIdePort(value: number): WorkspaceInfoResponse;
67
67
 
68
+ hasWorkspaceClass(): boolean;
69
+ clearWorkspaceClass(): void;
70
+ getWorkspaceClass(): WorkspaceInfoResponse.WorkspaceClass | undefined;
71
+ setWorkspaceClass(value?: WorkspaceInfoResponse.WorkspaceClass): WorkspaceInfoResponse;
72
+
68
73
  getWorkspaceLocationCase(): WorkspaceInfoResponse.WorkspaceLocationCase;
69
74
 
70
75
  serializeBinary(): Uint8Array;
@@ -93,6 +98,7 @@ export namespace WorkspaceInfoResponse {
93
98
  workspaceUrl: string,
94
99
  ideAlias: string,
95
100
  idePort: number,
101
+ workspaceClass?: WorkspaceInfoResponse.WorkspaceClass.AsObject,
96
102
  }
97
103
 
98
104
 
@@ -142,6 +148,32 @@ export namespace WorkspaceInfoResponse {
142
148
  }
143
149
  }
144
150
 
151
+ export class WorkspaceClass extends jspb.Message {
152
+ getId(): string;
153
+ setId(value: string): WorkspaceClass;
154
+ getDisplayName(): string;
155
+ setDisplayName(value: string): WorkspaceClass;
156
+ getDescription(): string;
157
+ setDescription(value: string): WorkspaceClass;
158
+
159
+ serializeBinary(): Uint8Array;
160
+ toObject(includeInstance?: boolean): WorkspaceClass.AsObject;
161
+ static toObject(includeInstance: boolean, msg: WorkspaceClass): WorkspaceClass.AsObject;
162
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
163
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
164
+ static serializeBinaryToWriter(message: WorkspaceClass, writer: jspb.BinaryWriter): void;
165
+ static deserializeBinary(bytes: Uint8Array): WorkspaceClass;
166
+ static deserializeBinaryFromReader(message: WorkspaceClass, reader: jspb.BinaryReader): WorkspaceClass;
167
+ }
168
+
169
+ export namespace WorkspaceClass {
170
+ export type AsObject = {
171
+ id: string,
172
+ displayName: string,
173
+ description: string,
174
+ }
175
+ }
176
+
145
177
 
146
178
  export enum WorkspaceLocationCase {
147
179
  WORKSPACE_LOCATION_NOT_SET = 0,