@gitpod/supervisor-api-grpcweb 0.1.5-test2 → 0.1.5-to-new-image.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- 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));
17
23
 
18
24
  goog.exportSymbol('proto.supervisor.NotifyRequest', null, global);
19
25
  goog.exportSymbol('proto.supervisor.NotifyRequest.Level', null, global);
package/lib/port_pb.d.ts CHANGED
@@ -182,6 +182,42 @@ export namespace AutoTunnelResponse {
182
182
  }
183
183
  }
184
184
 
185
+ export class RetryAutoExposeRequest extends jspb.Message {
186
+ getPort(): number;
187
+ setPort(value: number): void;
188
+
189
+ serializeBinary(): Uint8Array;
190
+ toObject(includeInstance?: boolean): RetryAutoExposeRequest.AsObject;
191
+ static toObject(includeInstance: boolean, msg: RetryAutoExposeRequest): RetryAutoExposeRequest.AsObject;
192
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
193
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
194
+ static serializeBinaryToWriter(message: RetryAutoExposeRequest, writer: jspb.BinaryWriter): void;
195
+ static deserializeBinary(bytes: Uint8Array): RetryAutoExposeRequest;
196
+ static deserializeBinaryFromReader(message: RetryAutoExposeRequest, reader: jspb.BinaryReader): RetryAutoExposeRequest;
197
+ }
198
+
199
+ export namespace RetryAutoExposeRequest {
200
+ export type AsObject = {
201
+ port: number,
202
+ }
203
+ }
204
+
205
+ export class RetryAutoExposeResponse extends jspb.Message {
206
+ serializeBinary(): Uint8Array;
207
+ toObject(includeInstance?: boolean): RetryAutoExposeResponse.AsObject;
208
+ static toObject(includeInstance: boolean, msg: RetryAutoExposeResponse): RetryAutoExposeResponse.AsObject;
209
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
210
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
211
+ static serializeBinaryToWriter(message: RetryAutoExposeResponse, writer: jspb.BinaryWriter): void;
212
+ static deserializeBinary(bytes: Uint8Array): RetryAutoExposeResponse;
213
+ static deserializeBinaryFromReader(message: RetryAutoExposeResponse, reader: jspb.BinaryReader): RetryAutoExposeResponse;
214
+ }
215
+
216
+ export namespace RetryAutoExposeResponse {
217
+ export type AsObject = {
218
+ }
219
+ }
220
+
185
221
  export interface TunnelVisiblityMap {
186
222
  NONE: 0;
187
223
  HOST: 1;
package/lib/port_pb.js CHANGED
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- 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));
17
23
 
18
24
  goog.exportSymbol('proto.supervisor.AutoTunnelRequest', null, global);
19
25
  goog.exportSymbol('proto.supervisor.AutoTunnelResponse', null, global);
@@ -22,6 +28,8 @@ goog.exportSymbol('proto.supervisor.CloseTunnelResponse', null, global);
22
28
  goog.exportSymbol('proto.supervisor.EstablishTunnelRequest', null, global);
23
29
  goog.exportSymbol('proto.supervisor.EstablishTunnelRequest.OutputCase', null, global);
24
30
  goog.exportSymbol('proto.supervisor.EstablishTunnelResponse', null, global);
31
+ goog.exportSymbol('proto.supervisor.RetryAutoExposeRequest', null, global);
32
+ goog.exportSymbol('proto.supervisor.RetryAutoExposeResponse', null, global);
25
33
  goog.exportSymbol('proto.supervisor.TunnelPortRequest', null, global);
26
34
  goog.exportSymbol('proto.supervisor.TunnelPortResponse', null, global);
27
35
  goog.exportSymbol('proto.supervisor.TunnelVisiblity', null, global);
@@ -193,6 +201,48 @@ if (goog.DEBUG && !COMPILED) {
193
201
  */
194
202
  proto.supervisor.AutoTunnelResponse.displayName = 'proto.supervisor.AutoTunnelResponse';
195
203
  }
204
+ /**
205
+ * Generated by JsPbCodeGenerator.
206
+ * @param {Array=} opt_data Optional initial data array, typically from a
207
+ * server response, or constructed directly in Javascript. The array is used
208
+ * in place and becomes part of the constructed object. It is not cloned.
209
+ * If no data is provided, the constructed object will be empty, but still
210
+ * valid.
211
+ * @extends {jspb.Message}
212
+ * @constructor
213
+ */
214
+ proto.supervisor.RetryAutoExposeRequest = function(opt_data) {
215
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
216
+ };
217
+ goog.inherits(proto.supervisor.RetryAutoExposeRequest, jspb.Message);
218
+ if (goog.DEBUG && !COMPILED) {
219
+ /**
220
+ * @public
221
+ * @override
222
+ */
223
+ proto.supervisor.RetryAutoExposeRequest.displayName = 'proto.supervisor.RetryAutoExposeRequest';
224
+ }
225
+ /**
226
+ * Generated by JsPbCodeGenerator.
227
+ * @param {Array=} opt_data Optional initial data array, typically from a
228
+ * server response, or constructed directly in Javascript. The array is used
229
+ * in place and becomes part of the constructed object. It is not cloned.
230
+ * If no data is provided, the constructed object will be empty, but still
231
+ * valid.
232
+ * @extends {jspb.Message}
233
+ * @constructor
234
+ */
235
+ proto.supervisor.RetryAutoExposeResponse = function(opt_data) {
236
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
237
+ };
238
+ goog.inherits(proto.supervisor.RetryAutoExposeResponse, jspb.Message);
239
+ if (goog.DEBUG && !COMPILED) {
240
+ /**
241
+ * @public
242
+ * @override
243
+ */
244
+ proto.supervisor.RetryAutoExposeResponse.displayName = 'proto.supervisor.RetryAutoExposeResponse';
245
+ }
196
246
 
197
247
 
198
248
 
@@ -1379,6 +1429,237 @@ proto.supervisor.AutoTunnelResponse.serializeBinaryToWriter = function(message,
1379
1429
  };
1380
1430
 
1381
1431
 
1432
+
1433
+
1434
+
1435
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1436
+ /**
1437
+ * Creates an object representation of this proto.
1438
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1439
+ * Optional fields that are not set will be set to undefined.
1440
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1441
+ * For the list of reserved names please see:
1442
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1443
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1444
+ * JSPB instance for transitional soy proto support:
1445
+ * http://goto/soy-param-migration
1446
+ * @return {!Object}
1447
+ */
1448
+ proto.supervisor.RetryAutoExposeRequest.prototype.toObject = function(opt_includeInstance) {
1449
+ return proto.supervisor.RetryAutoExposeRequest.toObject(opt_includeInstance, this);
1450
+ };
1451
+
1452
+
1453
+ /**
1454
+ * Static version of the {@see toObject} method.
1455
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1456
+ * the JSPB instance for transitional soy proto support:
1457
+ * http://goto/soy-param-migration
1458
+ * @param {!proto.supervisor.RetryAutoExposeRequest} msg The msg instance to transform.
1459
+ * @return {!Object}
1460
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1461
+ */
1462
+ proto.supervisor.RetryAutoExposeRequest.toObject = function(includeInstance, msg) {
1463
+ var f, obj = {
1464
+ port: jspb.Message.getFieldWithDefault(msg, 1, 0)
1465
+ };
1466
+
1467
+ if (includeInstance) {
1468
+ obj.$jspbMessageInstance = msg;
1469
+ }
1470
+ return obj;
1471
+ };
1472
+ }
1473
+
1474
+
1475
+ /**
1476
+ * Deserializes binary data (in protobuf wire format).
1477
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1478
+ * @return {!proto.supervisor.RetryAutoExposeRequest}
1479
+ */
1480
+ proto.supervisor.RetryAutoExposeRequest.deserializeBinary = function(bytes) {
1481
+ var reader = new jspb.BinaryReader(bytes);
1482
+ var msg = new proto.supervisor.RetryAutoExposeRequest;
1483
+ return proto.supervisor.RetryAutoExposeRequest.deserializeBinaryFromReader(msg, reader);
1484
+ };
1485
+
1486
+
1487
+ /**
1488
+ * Deserializes binary data (in protobuf wire format) from the
1489
+ * given reader into the given message object.
1490
+ * @param {!proto.supervisor.RetryAutoExposeRequest} msg The message object to deserialize into.
1491
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1492
+ * @return {!proto.supervisor.RetryAutoExposeRequest}
1493
+ */
1494
+ proto.supervisor.RetryAutoExposeRequest.deserializeBinaryFromReader = function(msg, reader) {
1495
+ while (reader.nextField()) {
1496
+ if (reader.isEndGroup()) {
1497
+ break;
1498
+ }
1499
+ var field = reader.getFieldNumber();
1500
+ switch (field) {
1501
+ case 1:
1502
+ var value = /** @type {number} */ (reader.readUint32());
1503
+ msg.setPort(value);
1504
+ break;
1505
+ default:
1506
+ reader.skipField();
1507
+ break;
1508
+ }
1509
+ }
1510
+ return msg;
1511
+ };
1512
+
1513
+
1514
+ /**
1515
+ * Serializes the message to binary data (in protobuf wire format).
1516
+ * @return {!Uint8Array}
1517
+ */
1518
+ proto.supervisor.RetryAutoExposeRequest.prototype.serializeBinary = function() {
1519
+ var writer = new jspb.BinaryWriter();
1520
+ proto.supervisor.RetryAutoExposeRequest.serializeBinaryToWriter(this, writer);
1521
+ return writer.getResultBuffer();
1522
+ };
1523
+
1524
+
1525
+ /**
1526
+ * Serializes the given message to binary data (in protobuf wire
1527
+ * format), writing to the given BinaryWriter.
1528
+ * @param {!proto.supervisor.RetryAutoExposeRequest} message
1529
+ * @param {!jspb.BinaryWriter} writer
1530
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1531
+ */
1532
+ proto.supervisor.RetryAutoExposeRequest.serializeBinaryToWriter = function(message, writer) {
1533
+ var f = undefined;
1534
+ f = message.getPort();
1535
+ if (f !== 0) {
1536
+ writer.writeUint32(
1537
+ 1,
1538
+ f
1539
+ );
1540
+ }
1541
+ };
1542
+
1543
+
1544
+ /**
1545
+ * optional uint32 port = 1;
1546
+ * @return {number}
1547
+ */
1548
+ proto.supervisor.RetryAutoExposeRequest.prototype.getPort = function() {
1549
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1550
+ };
1551
+
1552
+
1553
+ /**
1554
+ * @param {number} value
1555
+ * @return {!proto.supervisor.RetryAutoExposeRequest} returns this
1556
+ */
1557
+ proto.supervisor.RetryAutoExposeRequest.prototype.setPort = function(value) {
1558
+ return jspb.Message.setProto3IntField(this, 1, value);
1559
+ };
1560
+
1561
+
1562
+
1563
+
1564
+
1565
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1566
+ /**
1567
+ * Creates an object representation of this proto.
1568
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1569
+ * Optional fields that are not set will be set to undefined.
1570
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1571
+ * For the list of reserved names please see:
1572
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1573
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1574
+ * JSPB instance for transitional soy proto support:
1575
+ * http://goto/soy-param-migration
1576
+ * @return {!Object}
1577
+ */
1578
+ proto.supervisor.RetryAutoExposeResponse.prototype.toObject = function(opt_includeInstance) {
1579
+ return proto.supervisor.RetryAutoExposeResponse.toObject(opt_includeInstance, this);
1580
+ };
1581
+
1582
+
1583
+ /**
1584
+ * Static version of the {@see toObject} method.
1585
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1586
+ * the JSPB instance for transitional soy proto support:
1587
+ * http://goto/soy-param-migration
1588
+ * @param {!proto.supervisor.RetryAutoExposeResponse} msg The msg instance to transform.
1589
+ * @return {!Object}
1590
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1591
+ */
1592
+ proto.supervisor.RetryAutoExposeResponse.toObject = function(includeInstance, msg) {
1593
+ var f, obj = {
1594
+
1595
+ };
1596
+
1597
+ if (includeInstance) {
1598
+ obj.$jspbMessageInstance = msg;
1599
+ }
1600
+ return obj;
1601
+ };
1602
+ }
1603
+
1604
+
1605
+ /**
1606
+ * Deserializes binary data (in protobuf wire format).
1607
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1608
+ * @return {!proto.supervisor.RetryAutoExposeResponse}
1609
+ */
1610
+ proto.supervisor.RetryAutoExposeResponse.deserializeBinary = function(bytes) {
1611
+ var reader = new jspb.BinaryReader(bytes);
1612
+ var msg = new proto.supervisor.RetryAutoExposeResponse;
1613
+ return proto.supervisor.RetryAutoExposeResponse.deserializeBinaryFromReader(msg, reader);
1614
+ };
1615
+
1616
+
1617
+ /**
1618
+ * Deserializes binary data (in protobuf wire format) from the
1619
+ * given reader into the given message object.
1620
+ * @param {!proto.supervisor.RetryAutoExposeResponse} msg The message object to deserialize into.
1621
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1622
+ * @return {!proto.supervisor.RetryAutoExposeResponse}
1623
+ */
1624
+ proto.supervisor.RetryAutoExposeResponse.deserializeBinaryFromReader = function(msg, reader) {
1625
+ while (reader.nextField()) {
1626
+ if (reader.isEndGroup()) {
1627
+ break;
1628
+ }
1629
+ var field = reader.getFieldNumber();
1630
+ switch (field) {
1631
+ default:
1632
+ reader.skipField();
1633
+ break;
1634
+ }
1635
+ }
1636
+ return msg;
1637
+ };
1638
+
1639
+
1640
+ /**
1641
+ * Serializes the message to binary data (in protobuf wire format).
1642
+ * @return {!Uint8Array}
1643
+ */
1644
+ proto.supervisor.RetryAutoExposeResponse.prototype.serializeBinary = function() {
1645
+ var writer = new jspb.BinaryWriter();
1646
+ proto.supervisor.RetryAutoExposeResponse.serializeBinaryToWriter(this, writer);
1647
+ return writer.getResultBuffer();
1648
+ };
1649
+
1650
+
1651
+ /**
1652
+ * Serializes the given message to binary data (in protobuf wire
1653
+ * format), writing to the given BinaryWriter.
1654
+ * @param {!proto.supervisor.RetryAutoExposeResponse} message
1655
+ * @param {!jspb.BinaryWriter} writer
1656
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1657
+ */
1658
+ proto.supervisor.RetryAutoExposeResponse.serializeBinaryToWriter = function(message, writer) {
1659
+ var f = undefined;
1660
+ };
1661
+
1662
+
1382
1663
  /**
1383
1664
  * @enum {number}
1384
1665
  */
@@ -40,12 +40,22 @@ type PortServiceAutoTunnel = {
40
40
  readonly responseType: typeof port_pb.AutoTunnelResponse;
41
41
  };
42
42
 
43
+ type PortServiceRetryAutoExpose = {
44
+ readonly methodName: string;
45
+ readonly service: typeof PortService;
46
+ readonly requestStream: false;
47
+ readonly responseStream: false;
48
+ readonly requestType: typeof port_pb.RetryAutoExposeRequest;
49
+ readonly responseType: typeof port_pb.RetryAutoExposeResponse;
50
+ };
51
+
43
52
  export class PortService {
44
53
  static readonly serviceName: string;
45
54
  static readonly Tunnel: PortServiceTunnel;
46
55
  static readonly CloseTunnel: PortServiceCloseTunnel;
47
56
  static readonly EstablishTunnel: PortServiceEstablishTunnel;
48
57
  static readonly AutoTunnel: PortServiceAutoTunnel;
58
+ static readonly RetryAutoExpose: PortServiceRetryAutoExpose;
49
59
  }
50
60
 
51
61
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -108,5 +118,14 @@ export class PortServiceClient {
108
118
  requestMessage: port_pb.AutoTunnelRequest,
109
119
  callback: (error: ServiceError|null, responseMessage: port_pb.AutoTunnelResponse|null) => void
110
120
  ): UnaryResponse;
121
+ retryAutoExpose(
122
+ requestMessage: port_pb.RetryAutoExposeRequest,
123
+ metadata: grpc.Metadata,
124
+ callback: (error: ServiceError|null, responseMessage: port_pb.RetryAutoExposeResponse|null) => void
125
+ ): UnaryResponse;
126
+ retryAutoExpose(
127
+ requestMessage: port_pb.RetryAutoExposeRequest,
128
+ callback: (error: ServiceError|null, responseMessage: port_pb.RetryAutoExposeResponse|null) => void
129
+ ): UnaryResponse;
111
130
  }
112
131
 
@@ -46,6 +46,15 @@ PortService.AutoTunnel = {
46
46
  responseType: port_pb.AutoTunnelResponse
47
47
  };
48
48
 
49
+ PortService.RetryAutoExpose = {
50
+ methodName: "RetryAutoExpose",
51
+ service: PortService,
52
+ requestStream: false,
53
+ responseStream: false,
54
+ requestType: port_pb.RetryAutoExposeRequest,
55
+ responseType: port_pb.RetryAutoExposeResponse
56
+ };
57
+
49
58
  exports.PortService = PortService;
50
59
 
51
60
  function PortServiceClient(serviceHost, options) {
@@ -191,5 +200,36 @@ PortServiceClient.prototype.autoTunnel = function autoTunnel(requestMessage, met
191
200
  };
192
201
  };
193
202
 
203
+ PortServiceClient.prototype.retryAutoExpose = function retryAutoExpose(requestMessage, metadata, callback) {
204
+ if (arguments.length === 2) {
205
+ callback = arguments[1];
206
+ }
207
+ var client = grpc.unary(PortService.RetryAutoExpose, {
208
+ request: requestMessage,
209
+ host: this.serviceHost,
210
+ metadata: metadata,
211
+ transport: this.options.transport,
212
+ debug: this.options.debug,
213
+ onEnd: function (response) {
214
+ if (callback) {
215
+ if (response.status !== grpc.Code.OK) {
216
+ var err = new Error(response.statusMessage);
217
+ err.code = response.status;
218
+ err.metadata = response.trailers;
219
+ callback(err, null);
220
+ } else {
221
+ callback(null, response.message);
222
+ }
223
+ }
224
+ }
225
+ });
226
+ return {
227
+ cancel: function () {
228
+ callback = null;
229
+ client.close();
230
+ }
231
+ };
232
+ };
233
+
194
234
  exports.PortServiceClient = PortServiceClient;
195
235
 
@@ -64,6 +64,11 @@ export class IDEStatusResponse extends jspb.Message {
64
64
  getOk(): boolean;
65
65
  setOk(value: boolean): void;
66
66
 
67
+ hasDesktop(): boolean;
68
+ clearDesktop(): void;
69
+ getDesktop(): IDEStatusResponse.DesktopStatus | undefined;
70
+ setDesktop(value?: IDEStatusResponse.DesktopStatus): void;
71
+
67
72
  serializeBinary(): Uint8Array;
68
73
  toObject(includeInstance?: boolean): IDEStatusResponse.AsObject;
69
74
  static toObject(includeInstance: boolean, msg: IDEStatusResponse): IDEStatusResponse.AsObject;
@@ -77,6 +82,39 @@ export class IDEStatusResponse extends jspb.Message {
77
82
  export namespace IDEStatusResponse {
78
83
  export type AsObject = {
79
84
  ok: boolean,
85
+ desktop?: IDEStatusResponse.DesktopStatus.AsObject,
86
+ }
87
+
88
+ export class DesktopStatus extends jspb.Message {
89
+ getLink(): string;
90
+ setLink(value: string): void;
91
+
92
+ getLabel(): string;
93
+ setLabel(value: string): void;
94
+
95
+ getClientid(): string;
96
+ setClientid(value: string): void;
97
+
98
+ getKind(): string;
99
+ setKind(value: string): void;
100
+
101
+ serializeBinary(): Uint8Array;
102
+ toObject(includeInstance?: boolean): DesktopStatus.AsObject;
103
+ static toObject(includeInstance: boolean, msg: DesktopStatus): DesktopStatus.AsObject;
104
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
105
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
106
+ static serializeBinaryToWriter(message: DesktopStatus, writer: jspb.BinaryWriter): void;
107
+ static deserializeBinary(bytes: Uint8Array): DesktopStatus;
108
+ static deserializeBinaryFromReader(message: DesktopStatus, reader: jspb.BinaryReader): DesktopStatus;
109
+ }
110
+
111
+ export namespace DesktopStatus {
112
+ export type AsObject = {
113
+ link: string,
114
+ label: string,
115
+ clientid: string,
116
+ kind: string,
117
+ }
80
118
  }
81
119
  }
82
120
 
@@ -261,9 +299,6 @@ export class PortsStatus extends jspb.Message {
261
299
  getLocalPort(): number;
262
300
  setLocalPort(value: number): void;
263
301
 
264
- getGlobalPort(): number;
265
- setGlobalPort(value: number): void;
266
-
267
302
  getServed(): boolean;
268
303
  setServed(value: boolean): void;
269
304
 
@@ -272,11 +307,20 @@ export class PortsStatus extends jspb.Message {
272
307
  getExposed(): ExposedPortInfo | undefined;
273
308
  setExposed(value?: ExposedPortInfo): void;
274
309
 
310
+ getAutoExposure(): PortAutoExposureMap[keyof PortAutoExposureMap];
311
+ setAutoExposure(value: PortAutoExposureMap[keyof PortAutoExposureMap]): void;
312
+
275
313
  hasTunneled(): boolean;
276
314
  clearTunneled(): void;
277
315
  getTunneled(): TunneledPortInfo | undefined;
278
316
  setTunneled(value?: TunneledPortInfo): void;
279
317
 
318
+ getDescription(): string;
319
+ setDescription(value: string): void;
320
+
321
+ getName(): string;
322
+ setName(value: string): void;
323
+
280
324
  serializeBinary(): Uint8Array;
281
325
  toObject(includeInstance?: boolean): PortsStatus.AsObject;
282
326
  static toObject(includeInstance: boolean, msg: PortsStatus): PortsStatus.AsObject;
@@ -290,10 +334,12 @@ export class PortsStatus extends jspb.Message {
290
334
  export namespace PortsStatus {
291
335
  export type AsObject = {
292
336
  localPort: number,
293
- globalPort: number,
294
337
  served: boolean,
295
338
  exposed?: ExposedPortInfo.AsObject,
339
+ autoExposure: PortAutoExposureMap[keyof PortAutoExposureMap],
296
340
  tunneled?: TunneledPortInfo.AsObject,
341
+ description: string,
342
+ name: string,
297
343
  }
298
344
  }
299
345
 
@@ -426,6 +472,14 @@ export interface OnPortExposedActionMap {
426
472
 
427
473
  export const OnPortExposedAction: OnPortExposedActionMap;
428
474
 
475
+ export interface PortAutoExposureMap {
476
+ TRYING: 0;
477
+ SUCCEEDED: 1;
478
+ FAILED: 2;
479
+ }
480
+
481
+ export const PortAutoExposure: PortAutoExposureMap;
482
+
429
483
  export interface TaskStateMap {
430
484
  OPENING: 0;
431
485
  RUNNING: 1;