@gitpod/supervisor-api-grpcweb 0.1.5-prs-dazzlev2-test.3 → 0.1.5-se-better-ts-api.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.js CHANGED
@@ -13,13 +13,7 @@
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
 
24
18
  goog.exportSymbol('proto.supervisor.CreateSSHKeyPairRequest', null, global);
25
19
  goog.exportSymbol('proto.supervisor.CreateSSHKeyPairResponse', null, global);
package/lib/info_pb.d.ts CHANGED
@@ -70,6 +70,11 @@ export class WorkspaceInfoResponse extends jspb.Message {
70
70
  getIdePort(): number;
71
71
  setIdePort(value: number): void;
72
72
 
73
+ hasWorkspaceClass(): boolean;
74
+ clearWorkspaceClass(): void;
75
+ getWorkspaceClass(): WorkspaceInfoResponse.WorkspaceClass | undefined;
76
+ setWorkspaceClass(value?: WorkspaceInfoResponse.WorkspaceClass): void;
77
+
73
78
  getWorkspaceLocationCase(): WorkspaceInfoResponse.WorkspaceLocationCase;
74
79
  serializeBinary(): Uint8Array;
75
80
  toObject(includeInstance?: boolean): WorkspaceInfoResponse.AsObject;
@@ -97,6 +102,7 @@ export namespace WorkspaceInfoResponse {
97
102
  workspaceUrl: string,
98
103
  ideAlias: string,
99
104
  idePort: number,
105
+ workspaceClass?: WorkspaceInfoResponse.WorkspaceClass.AsObject,
100
106
  }
101
107
 
102
108
  export class GitpodAPI extends jspb.Message {
@@ -147,6 +153,34 @@ export namespace WorkspaceInfoResponse {
147
153
  }
148
154
  }
149
155
 
156
+ export class WorkspaceClass extends jspb.Message {
157
+ getId(): string;
158
+ setId(value: string): void;
159
+
160
+ getDisplayName(): string;
161
+ setDisplayName(value: string): void;
162
+
163
+ getDescription(): string;
164
+ setDescription(value: string): void;
165
+
166
+ serializeBinary(): Uint8Array;
167
+ toObject(includeInstance?: boolean): WorkspaceClass.AsObject;
168
+ static toObject(includeInstance: boolean, msg: WorkspaceClass): WorkspaceClass.AsObject;
169
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
170
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
171
+ static serializeBinaryToWriter(message: WorkspaceClass, writer: jspb.BinaryWriter): void;
172
+ static deserializeBinary(bytes: Uint8Array): WorkspaceClass;
173
+ static deserializeBinaryFromReader(message: WorkspaceClass, reader: jspb.BinaryReader): WorkspaceClass;
174
+ }
175
+
176
+ export namespace WorkspaceClass {
177
+ export type AsObject = {
178
+ id: string,
179
+ displayName: string,
180
+ description: string,
181
+ }
182
+ }
183
+
150
184
  export enum WorkspaceLocationCase {
151
185
  WORKSPACE_LOCATION_NOT_SET = 0,
152
186
  WORKSPACE_LOCATION_FILE = 4,
package/lib/info_pb.js CHANGED
@@ -13,18 +13,13 @@
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
 
24
18
  goog.exportSymbol('proto.supervisor.WorkspaceInfoRequest', null, global);
25
19
  goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse', null, global);
26
20
  goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.GitpodAPI', null, global);
27
21
  goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.Repository', null, global);
22
+ goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.WorkspaceClass', null, global);
28
23
  goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.WorkspaceLocationCase', null, global);
29
24
  /**
30
25
  * Generated by JsPbCodeGenerator.
@@ -110,6 +105,27 @@ if (goog.DEBUG && !COMPILED) {
110
105
  */
111
106
  proto.supervisor.WorkspaceInfoResponse.Repository.displayName = 'proto.supervisor.WorkspaceInfoResponse.Repository';
112
107
  }
108
+ /**
109
+ * Generated by JsPbCodeGenerator.
110
+ * @param {Array=} opt_data Optional initial data array, typically from a
111
+ * server response, or constructed directly in Javascript. The array is used
112
+ * in place and becomes part of the constructed object. It is not cloned.
113
+ * If no data is provided, the constructed object will be empty, but still
114
+ * valid.
115
+ * @extends {jspb.Message}
116
+ * @constructor
117
+ */
118
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass = function(opt_data) {
119
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
120
+ };
121
+ goog.inherits(proto.supervisor.WorkspaceInfoResponse.WorkspaceClass, jspb.Message);
122
+ if (goog.DEBUG && !COMPILED) {
123
+ /**
124
+ * @public
125
+ * @override
126
+ */
127
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.displayName = 'proto.supervisor.WorkspaceInfoResponse.WorkspaceClass';
128
+ }
113
129
 
114
130
 
115
131
 
@@ -282,7 +298,8 @@ proto.supervisor.WorkspaceInfoResponse.toObject = function(includeInstance, msg)
282
298
  workspaceClusterHost: jspb.Message.getFieldWithDefault(msg, 11, ""),
283
299
  workspaceUrl: jspb.Message.getFieldWithDefault(msg, 12, ""),
284
300
  ideAlias: jspb.Message.getFieldWithDefault(msg, 13, ""),
285
- idePort: jspb.Message.getFieldWithDefault(msg, 14, 0)
301
+ idePort: jspb.Message.getFieldWithDefault(msg, 14, 0),
302
+ workspaceClass: (f = msg.getWorkspaceClass()) && proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.toObject(includeInstance, f)
286
303
  };
287
304
 
288
305
  if (includeInstance) {
@@ -377,6 +394,11 @@ proto.supervisor.WorkspaceInfoResponse.deserializeBinaryFromReader = function(ms
377
394
  var value = /** @type {number} */ (reader.readUint32());
378
395
  msg.setIdePort(value);
379
396
  break;
397
+ case 15:
398
+ var value = new proto.supervisor.WorkspaceInfoResponse.WorkspaceClass;
399
+ reader.readMessage(value,proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.deserializeBinaryFromReader);
400
+ msg.setWorkspaceClass(value);
401
+ break;
380
402
  default:
381
403
  reader.skipField();
382
404
  break;
@@ -506,6 +528,14 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
506
528
  f
507
529
  );
508
530
  }
531
+ f = message.getWorkspaceClass();
532
+ if (f != null) {
533
+ writer.writeMessage(
534
+ 15,
535
+ f,
536
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.serializeBinaryToWriter
537
+ );
538
+ }
509
539
  };
510
540
 
511
541
 
@@ -829,6 +859,196 @@ proto.supervisor.WorkspaceInfoResponse.Repository.prototype.setName = function(v
829
859
  };
830
860
 
831
861
 
862
+
863
+
864
+
865
+ if (jspb.Message.GENERATE_TO_OBJECT) {
866
+ /**
867
+ * Creates an object representation of this proto.
868
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
869
+ * Optional fields that are not set will be set to undefined.
870
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
871
+ * For the list of reserved names please see:
872
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
873
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
874
+ * JSPB instance for transitional soy proto support:
875
+ * http://goto/soy-param-migration
876
+ * @return {!Object}
877
+ */
878
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.toObject = function(opt_includeInstance) {
879
+ return proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.toObject(opt_includeInstance, this);
880
+ };
881
+
882
+
883
+ /**
884
+ * Static version of the {@see toObject} method.
885
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
886
+ * the JSPB instance for transitional soy proto support:
887
+ * http://goto/soy-param-migration
888
+ * @param {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} msg The msg instance to transform.
889
+ * @return {!Object}
890
+ * @suppress {unusedLocalVariables} f is only used for nested messages
891
+ */
892
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.toObject = function(includeInstance, msg) {
893
+ var f, obj = {
894
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
895
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
896
+ description: jspb.Message.getFieldWithDefault(msg, 3, "")
897
+ };
898
+
899
+ if (includeInstance) {
900
+ obj.$jspbMessageInstance = msg;
901
+ }
902
+ return obj;
903
+ };
904
+ }
905
+
906
+
907
+ /**
908
+ * Deserializes binary data (in protobuf wire format).
909
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
910
+ * @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass}
911
+ */
912
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.deserializeBinary = function(bytes) {
913
+ var reader = new jspb.BinaryReader(bytes);
914
+ var msg = new proto.supervisor.WorkspaceInfoResponse.WorkspaceClass;
915
+ return proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.deserializeBinaryFromReader(msg, reader);
916
+ };
917
+
918
+
919
+ /**
920
+ * Deserializes binary data (in protobuf wire format) from the
921
+ * given reader into the given message object.
922
+ * @param {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} msg The message object to deserialize into.
923
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
924
+ * @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass}
925
+ */
926
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.deserializeBinaryFromReader = function(msg, reader) {
927
+ while (reader.nextField()) {
928
+ if (reader.isEndGroup()) {
929
+ break;
930
+ }
931
+ var field = reader.getFieldNumber();
932
+ switch (field) {
933
+ case 1:
934
+ var value = /** @type {string} */ (reader.readString());
935
+ msg.setId(value);
936
+ break;
937
+ case 2:
938
+ var value = /** @type {string} */ (reader.readString());
939
+ msg.setDisplayName(value);
940
+ break;
941
+ case 3:
942
+ var value = /** @type {string} */ (reader.readString());
943
+ msg.setDescription(value);
944
+ break;
945
+ default:
946
+ reader.skipField();
947
+ break;
948
+ }
949
+ }
950
+ return msg;
951
+ };
952
+
953
+
954
+ /**
955
+ * Serializes the message to binary data (in protobuf wire format).
956
+ * @return {!Uint8Array}
957
+ */
958
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.serializeBinary = function() {
959
+ var writer = new jspb.BinaryWriter();
960
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.serializeBinaryToWriter(this, writer);
961
+ return writer.getResultBuffer();
962
+ };
963
+
964
+
965
+ /**
966
+ * Serializes the given message to binary data (in protobuf wire
967
+ * format), writing to the given BinaryWriter.
968
+ * @param {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} message
969
+ * @param {!jspb.BinaryWriter} writer
970
+ * @suppress {unusedLocalVariables} f is only used for nested messages
971
+ */
972
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.serializeBinaryToWriter = function(message, writer) {
973
+ var f = undefined;
974
+ f = message.getId();
975
+ if (f.length > 0) {
976
+ writer.writeString(
977
+ 1,
978
+ f
979
+ );
980
+ }
981
+ f = message.getDisplayName();
982
+ if (f.length > 0) {
983
+ writer.writeString(
984
+ 2,
985
+ f
986
+ );
987
+ }
988
+ f = message.getDescription();
989
+ if (f.length > 0) {
990
+ writer.writeString(
991
+ 3,
992
+ f
993
+ );
994
+ }
995
+ };
996
+
997
+
998
+ /**
999
+ * optional string id = 1;
1000
+ * @return {string}
1001
+ */
1002
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.getId = function() {
1003
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1004
+ };
1005
+
1006
+
1007
+ /**
1008
+ * @param {string} value
1009
+ * @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} returns this
1010
+ */
1011
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.setId = function(value) {
1012
+ return jspb.Message.setProto3StringField(this, 1, value);
1013
+ };
1014
+
1015
+
1016
+ /**
1017
+ * optional string display_name = 2;
1018
+ * @return {string}
1019
+ */
1020
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.getDisplayName = function() {
1021
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1022
+ };
1023
+
1024
+
1025
+ /**
1026
+ * @param {string} value
1027
+ * @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} returns this
1028
+ */
1029
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.setDisplayName = function(value) {
1030
+ return jspb.Message.setProto3StringField(this, 2, value);
1031
+ };
1032
+
1033
+
1034
+ /**
1035
+ * optional string description = 3;
1036
+ * @return {string}
1037
+ */
1038
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.getDescription = function() {
1039
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1040
+ };
1041
+
1042
+
1043
+ /**
1044
+ * @param {string} value
1045
+ * @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} returns this
1046
+ */
1047
+ proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.setDescription = function(value) {
1048
+ return jspb.Message.setProto3StringField(this, 3, value);
1049
+ };
1050
+
1051
+
832
1052
  /**
833
1053
  * optional string workspace_id = 1;
834
1054
  * @return {string}
@@ -1155,4 +1375,41 @@ proto.supervisor.WorkspaceInfoResponse.prototype.setIdePort = function(value) {
1155
1375
  };
1156
1376
 
1157
1377
 
1378
+ /**
1379
+ * optional WorkspaceClass workspace_class = 15;
1380
+ * @return {?proto.supervisor.WorkspaceInfoResponse.WorkspaceClass}
1381
+ */
1382
+ proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceClass = function() {
1383
+ return /** @type{?proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} */ (
1384
+ jspb.Message.getWrapperField(this, proto.supervisor.WorkspaceInfoResponse.WorkspaceClass, 15));
1385
+ };
1386
+
1387
+
1388
+ /**
1389
+ * @param {?proto.supervisor.WorkspaceInfoResponse.WorkspaceClass|undefined} value
1390
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
1391
+ */
1392
+ proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceClass = function(value) {
1393
+ return jspb.Message.setWrapperField(this, 15, value);
1394
+ };
1395
+
1396
+
1397
+ /**
1398
+ * Clears the message field making it undefined.
1399
+ * @return {!proto.supervisor.WorkspaceInfoResponse} returns this
1400
+ */
1401
+ proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceClass = function() {
1402
+ return this.setWorkspaceClass(undefined);
1403
+ };
1404
+
1405
+
1406
+ /**
1407
+ * Returns whether this field is set.
1408
+ * @return {boolean}
1409
+ */
1410
+ proto.supervisor.WorkspaceInfoResponse.prototype.hasWorkspaceClass = function() {
1411
+ return jspb.Message.getField(this, 15) != null;
1412
+ };
1413
+
1414
+
1158
1415
  goog.object.extend(exports, proto.supervisor);
@@ -145,3 +145,188 @@ export namespace RespondResponse {
145
145
  }
146
146
  }
147
147
 
148
+ export class NotifyActiveRequest extends jspb.Message {
149
+ hasOpen(): boolean;
150
+ clearOpen(): void;
151
+ getOpen(): NotifyActiveRequest.OpenData | undefined;
152
+ setOpen(value?: NotifyActiveRequest.OpenData): void;
153
+
154
+ hasPreview(): boolean;
155
+ clearPreview(): void;
156
+ getPreview(): NotifyActiveRequest.PreviewData | undefined;
157
+ setPreview(value?: NotifyActiveRequest.PreviewData): void;
158
+
159
+ getActionDataCase(): NotifyActiveRequest.ActionDataCase;
160
+ serializeBinary(): Uint8Array;
161
+ toObject(includeInstance?: boolean): NotifyActiveRequest.AsObject;
162
+ static toObject(includeInstance: boolean, msg: NotifyActiveRequest): NotifyActiveRequest.AsObject;
163
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
164
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
165
+ static serializeBinaryToWriter(message: NotifyActiveRequest, writer: jspb.BinaryWriter): void;
166
+ static deserializeBinary(bytes: Uint8Array): NotifyActiveRequest;
167
+ static deserializeBinaryFromReader(message: NotifyActiveRequest, reader: jspb.BinaryReader): NotifyActiveRequest;
168
+ }
169
+
170
+ export namespace NotifyActiveRequest {
171
+ export type AsObject = {
172
+ open?: NotifyActiveRequest.OpenData.AsObject,
173
+ preview?: NotifyActiveRequest.PreviewData.AsObject,
174
+ }
175
+
176
+ export class OpenData extends jspb.Message {
177
+ clearUrlsList(): void;
178
+ getUrlsList(): Array<string>;
179
+ setUrlsList(value: Array<string>): void;
180
+ addUrls(value: string, index?: number): string;
181
+
182
+ getAwait(): boolean;
183
+ setAwait(value: boolean): void;
184
+
185
+ serializeBinary(): Uint8Array;
186
+ toObject(includeInstance?: boolean): OpenData.AsObject;
187
+ static toObject(includeInstance: boolean, msg: OpenData): OpenData.AsObject;
188
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
189
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
190
+ static serializeBinaryToWriter(message: OpenData, writer: jspb.BinaryWriter): void;
191
+ static deserializeBinary(bytes: Uint8Array): OpenData;
192
+ static deserializeBinaryFromReader(message: OpenData, reader: jspb.BinaryReader): OpenData;
193
+ }
194
+
195
+ export namespace OpenData {
196
+ export type AsObject = {
197
+ urlsList: Array<string>,
198
+ await: boolean,
199
+ }
200
+ }
201
+
202
+ export class PreviewData extends jspb.Message {
203
+ getUrl(): string;
204
+ setUrl(value: string): void;
205
+
206
+ getExternal(): boolean;
207
+ setExternal(value: boolean): void;
208
+
209
+ serializeBinary(): Uint8Array;
210
+ toObject(includeInstance?: boolean): PreviewData.AsObject;
211
+ static toObject(includeInstance: boolean, msg: PreviewData): PreviewData.AsObject;
212
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
213
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
214
+ static serializeBinaryToWriter(message: PreviewData, writer: jspb.BinaryWriter): void;
215
+ static deserializeBinary(bytes: Uint8Array): PreviewData;
216
+ static deserializeBinaryFromReader(message: PreviewData, reader: jspb.BinaryReader): PreviewData;
217
+ }
218
+
219
+ export namespace PreviewData {
220
+ export type AsObject = {
221
+ url: string,
222
+ external: boolean,
223
+ }
224
+ }
225
+
226
+ export enum ActionDataCase {
227
+ ACTION_DATA_NOT_SET = 0,
228
+ OPEN = 1,
229
+ PREVIEW = 2,
230
+ }
231
+ }
232
+
233
+ export class NotifyActiveResponse extends jspb.Message {
234
+ serializeBinary(): Uint8Array;
235
+ toObject(includeInstance?: boolean): NotifyActiveResponse.AsObject;
236
+ static toObject(includeInstance: boolean, msg: NotifyActiveResponse): NotifyActiveResponse.AsObject;
237
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
238
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
239
+ static serializeBinaryToWriter(message: NotifyActiveResponse, writer: jspb.BinaryWriter): void;
240
+ static deserializeBinary(bytes: Uint8Array): NotifyActiveResponse;
241
+ static deserializeBinaryFromReader(message: NotifyActiveResponse, reader: jspb.BinaryReader): NotifyActiveResponse;
242
+ }
243
+
244
+ export namespace NotifyActiveResponse {
245
+ export type AsObject = {
246
+ }
247
+ }
248
+
249
+ export class SubscribeActiveRequest extends jspb.Message {
250
+ serializeBinary(): Uint8Array;
251
+ toObject(includeInstance?: boolean): SubscribeActiveRequest.AsObject;
252
+ static toObject(includeInstance: boolean, msg: SubscribeActiveRequest): SubscribeActiveRequest.AsObject;
253
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
254
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
255
+ static serializeBinaryToWriter(message: SubscribeActiveRequest, writer: jspb.BinaryWriter): void;
256
+ static deserializeBinary(bytes: Uint8Array): SubscribeActiveRequest;
257
+ static deserializeBinaryFromReader(message: SubscribeActiveRequest, reader: jspb.BinaryReader): SubscribeActiveRequest;
258
+ }
259
+
260
+ export namespace SubscribeActiveRequest {
261
+ export type AsObject = {
262
+ }
263
+ }
264
+
265
+ export class SubscribeActiveResponse extends jspb.Message {
266
+ getRequestid(): number;
267
+ setRequestid(value: number): void;
268
+
269
+ hasRequest(): boolean;
270
+ clearRequest(): void;
271
+ getRequest(): NotifyActiveRequest | undefined;
272
+ setRequest(value?: NotifyActiveRequest): void;
273
+
274
+ serializeBinary(): Uint8Array;
275
+ toObject(includeInstance?: boolean): SubscribeActiveResponse.AsObject;
276
+ static toObject(includeInstance: boolean, msg: SubscribeActiveResponse): SubscribeActiveResponse.AsObject;
277
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
278
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
279
+ static serializeBinaryToWriter(message: SubscribeActiveResponse, writer: jspb.BinaryWriter): void;
280
+ static deserializeBinary(bytes: Uint8Array): SubscribeActiveResponse;
281
+ static deserializeBinaryFromReader(message: SubscribeActiveResponse, reader: jspb.BinaryReader): SubscribeActiveResponse;
282
+ }
283
+
284
+ export namespace SubscribeActiveResponse {
285
+ export type AsObject = {
286
+ requestid: number,
287
+ request?: NotifyActiveRequest.AsObject,
288
+ }
289
+ }
290
+
291
+ export class NotifyActiveRespondRequest extends jspb.Message {
292
+ getRequestid(): number;
293
+ setRequestid(value: number): void;
294
+
295
+ hasResponse(): boolean;
296
+ clearResponse(): void;
297
+ getResponse(): NotifyActiveResponse | undefined;
298
+ setResponse(value?: NotifyActiveResponse): void;
299
+
300
+ serializeBinary(): Uint8Array;
301
+ toObject(includeInstance?: boolean): NotifyActiveRespondRequest.AsObject;
302
+ static toObject(includeInstance: boolean, msg: NotifyActiveRespondRequest): NotifyActiveRespondRequest.AsObject;
303
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
304
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
305
+ static serializeBinaryToWriter(message: NotifyActiveRespondRequest, writer: jspb.BinaryWriter): void;
306
+ static deserializeBinary(bytes: Uint8Array): NotifyActiveRespondRequest;
307
+ static deserializeBinaryFromReader(message: NotifyActiveRespondRequest, reader: jspb.BinaryReader): NotifyActiveRespondRequest;
308
+ }
309
+
310
+ export namespace NotifyActiveRespondRequest {
311
+ export type AsObject = {
312
+ requestid: number,
313
+ response?: NotifyActiveResponse.AsObject,
314
+ }
315
+ }
316
+
317
+ export class NotifyActiveRespondResponse extends jspb.Message {
318
+ serializeBinary(): Uint8Array;
319
+ toObject(includeInstance?: boolean): NotifyActiveRespondResponse.AsObject;
320
+ static toObject(includeInstance: boolean, msg: NotifyActiveRespondResponse): NotifyActiveRespondResponse.AsObject;
321
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
322
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
323
+ static serializeBinaryToWriter(message: NotifyActiveRespondResponse, writer: jspb.BinaryWriter): void;
324
+ static deserializeBinary(bytes: Uint8Array): NotifyActiveRespondResponse;
325
+ static deserializeBinaryFromReader(message: NotifyActiveRespondResponse, reader: jspb.BinaryReader): NotifyActiveRespondResponse;
326
+ }
327
+
328
+ export namespace NotifyActiveRespondResponse {
329
+ export type AsObject = {
330
+ }
331
+ }
332
+