@gitpod/supervisor-api-grpcweb 0.1.5-main.999 → 0.1.5-port-description-3059-fork.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.
- package/lib/control_pb.d.ts +0 -4
- package/lib/control_pb.js +8 -32
- package/lib/info_pb.d.ts +16 -0
- package/lib/info_pb.js +128 -2
- package/lib/notification_pb.js +7 -1
- package/lib/port_pb.d.ts +36 -0
- package/lib/port_pb.js +282 -1
- package/lib/port_pb_service.d.ts +19 -0
- package/lib/port_pb_service.js +40 -0
- package/lib/status_pb.d.ts +50 -4
- package/lib/status_pb.js +342 -33
- package/lib/terminal_pb.js +7 -1
- package/lib/token_pb.js +7 -1
- package/package.json +6 -3
- package/pkg-yarn.lock +3 -1
package/lib/control_pb.d.ts
CHANGED
|
@@ -7,9 +7,6 @@ export class ExposePortRequest extends jspb.Message {
|
|
|
7
7
|
getPort(): number;
|
|
8
8
|
setPort(value: number): void;
|
|
9
9
|
|
|
10
|
-
getTargetPort(): number;
|
|
11
|
-
setTargetPort(value: number): void;
|
|
12
|
-
|
|
13
10
|
serializeBinary(): Uint8Array;
|
|
14
11
|
toObject(includeInstance?: boolean): ExposePortRequest.AsObject;
|
|
15
12
|
static toObject(includeInstance: boolean, msg: ExposePortRequest): ExposePortRequest.AsObject;
|
|
@@ -23,7 +20,6 @@ export class ExposePortRequest extends jspb.Message {
|
|
|
23
20
|
export namespace ExposePortRequest {
|
|
24
21
|
export type AsObject = {
|
|
25
22
|
port: number,
|
|
26
|
-
targetPort: number,
|
|
27
23
|
}
|
|
28
24
|
}
|
|
29
25
|
|
package/lib/control_pb.js
CHANGED
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
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.ExposePortRequest', null, global);
|
|
19
25
|
goog.exportSymbol('proto.supervisor.ExposePortResponse', null, global);
|
|
@@ -91,8 +97,7 @@ proto.supervisor.ExposePortRequest.prototype.toObject = function(opt_includeInst
|
|
|
91
97
|
*/
|
|
92
98
|
proto.supervisor.ExposePortRequest.toObject = function(includeInstance, msg) {
|
|
93
99
|
var f, obj = {
|
|
94
|
-
port: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
95
|
-
targetPort: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
100
|
+
port: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
96
101
|
};
|
|
97
102
|
|
|
98
103
|
if (includeInstance) {
|
|
@@ -133,10 +138,6 @@ proto.supervisor.ExposePortRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
133
138
|
var value = /** @type {number} */ (reader.readUint32());
|
|
134
139
|
msg.setPort(value);
|
|
135
140
|
break;
|
|
136
|
-
case 2:
|
|
137
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
138
|
-
msg.setTargetPort(value);
|
|
139
|
-
break;
|
|
140
141
|
default:
|
|
141
142
|
reader.skipField();
|
|
142
143
|
break;
|
|
@@ -173,13 +174,6 @@ proto.supervisor.ExposePortRequest.serializeBinaryToWriter = function(message, w
|
|
|
173
174
|
f
|
|
174
175
|
);
|
|
175
176
|
}
|
|
176
|
-
f = message.getTargetPort();
|
|
177
|
-
if (f !== 0) {
|
|
178
|
-
writer.writeUint32(
|
|
179
|
-
2,
|
|
180
|
-
f
|
|
181
|
-
);
|
|
182
|
-
}
|
|
183
177
|
};
|
|
184
178
|
|
|
185
179
|
|
|
@@ -201,24 +195,6 @@ proto.supervisor.ExposePortRequest.prototype.setPort = function(value) {
|
|
|
201
195
|
};
|
|
202
196
|
|
|
203
197
|
|
|
204
|
-
/**
|
|
205
|
-
* optional uint32 target_port = 2;
|
|
206
|
-
* @return {number}
|
|
207
|
-
*/
|
|
208
|
-
proto.supervisor.ExposePortRequest.prototype.getTargetPort = function() {
|
|
209
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @param {number} value
|
|
215
|
-
* @return {!proto.supervisor.ExposePortRequest} returns this
|
|
216
|
-
*/
|
|
217
|
-
proto.supervisor.ExposePortRequest.prototype.setTargetPort = function(value) {
|
|
218
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
|
|
222
198
|
|
|
223
199
|
|
|
224
200
|
|
package/lib/info_pb.d.ts
CHANGED
|
@@ -58,6 +58,18 @@ export class WorkspaceInfoResponse extends jspb.Message {
|
|
|
58
58
|
getRepository(): WorkspaceInfoResponse.Repository | undefined;
|
|
59
59
|
setRepository(value?: WorkspaceInfoResponse.Repository): void;
|
|
60
60
|
|
|
61
|
+
getWorkspaceClusterHost(): string;
|
|
62
|
+
setWorkspaceClusterHost(value: string): void;
|
|
63
|
+
|
|
64
|
+
getWorkspaceUrl(): string;
|
|
65
|
+
setWorkspaceUrl(value: string): void;
|
|
66
|
+
|
|
67
|
+
getIdeAlias(): string;
|
|
68
|
+
setIdeAlias(value: string): void;
|
|
69
|
+
|
|
70
|
+
getIdePort(): number;
|
|
71
|
+
setIdePort(value: number): void;
|
|
72
|
+
|
|
61
73
|
getWorkspaceLocationCase(): WorkspaceInfoResponse.WorkspaceLocationCase;
|
|
62
74
|
serializeBinary(): Uint8Array;
|
|
63
75
|
toObject(includeInstance?: boolean): WorkspaceInfoResponse.AsObject;
|
|
@@ -81,6 +93,10 @@ export namespace WorkspaceInfoResponse {
|
|
|
81
93
|
gitpodHost: string,
|
|
82
94
|
workspaceContextUrl: string,
|
|
83
95
|
repository?: WorkspaceInfoResponse.Repository.AsObject,
|
|
96
|
+
workspaceClusterHost: string,
|
|
97
|
+
workspaceUrl: string,
|
|
98
|
+
ideAlias: string,
|
|
99
|
+
idePort: number,
|
|
84
100
|
}
|
|
85
101
|
|
|
86
102
|
export class GitpodAPI extends jspb.Message {
|
package/lib/info_pb.js
CHANGED
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
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.WorkspaceInfoRequest', null, global);
|
|
19
25
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse', null, global);
|
|
@@ -272,7 +278,11 @@ proto.supervisor.WorkspaceInfoResponse.toObject = function(includeInstance, msg)
|
|
|
272
278
|
gitpodApi: (f = msg.getGitpodApi()) && proto.supervisor.WorkspaceInfoResponse.GitpodAPI.toObject(includeInstance, f),
|
|
273
279
|
gitpodHost: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
274
280
|
workspaceContextUrl: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
275
|
-
repository: (f = msg.getRepository()) && proto.supervisor.WorkspaceInfoResponse.Repository.toObject(includeInstance, f)
|
|
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)
|
|
276
286
|
};
|
|
277
287
|
|
|
278
288
|
if (includeInstance) {
|
|
@@ -351,6 +361,22 @@ proto.supervisor.WorkspaceInfoResponse.deserializeBinaryFromReader = function(ms
|
|
|
351
361
|
reader.readMessage(value,proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader);
|
|
352
362
|
msg.setRepository(value);
|
|
353
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;
|
|
354
380
|
default:
|
|
355
381
|
reader.skipField();
|
|
356
382
|
break;
|
|
@@ -452,6 +478,34 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
452
478
|
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter
|
|
453
479
|
);
|
|
454
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
|
+
}
|
|
455
509
|
};
|
|
456
510
|
|
|
457
511
|
|
|
@@ -1029,4 +1083,76 @@ proto.supervisor.WorkspaceInfoResponse.prototype.hasRepository = function() {
|
|
|
1029
1083
|
};
|
|
1030
1084
|
|
|
1031
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);
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
|
|
1032
1158
|
goog.object.extend(exports, proto.supervisor);
|
package/lib/notification_pb.js
CHANGED
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
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 =
|
|
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
|
*/
|
package/lib/port_pb_service.d.ts
CHANGED
|
@@ -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
|
|