@gitpod/supervisor-api-grpcweb 0.1.5-server-vscode-oauth2.25 → 0.1.5-sje-kots-drop-repo.1
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/notification_pb.d.ts +185 -0
- package/lib/notification_pb.js +1416 -0
- package/lib/notification_pb_service.d.ts +49 -0
- package/lib/notification_pb_service.js +128 -0
- package/package.json +1 -1
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
package/lib/notification_pb.js
CHANGED
|
@@ -21,11 +21,20 @@ var global = (function() {
|
|
|
21
21
|
return Function('return this')();
|
|
22
22
|
}.call(null));
|
|
23
23
|
|
|
24
|
+
goog.exportSymbol('proto.supervisor.NotifyActiveRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.supervisor.NotifyActiveRequest.ActionDataCase', null, global);
|
|
26
|
+
goog.exportSymbol('proto.supervisor.NotifyActiveRequest.OpenData', null, global);
|
|
27
|
+
goog.exportSymbol('proto.supervisor.NotifyActiveRequest.PreviewData', null, global);
|
|
28
|
+
goog.exportSymbol('proto.supervisor.NotifyActiveRespondRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.supervisor.NotifyActiveRespondResponse', null, global);
|
|
30
|
+
goog.exportSymbol('proto.supervisor.NotifyActiveResponse', null, global);
|
|
24
31
|
goog.exportSymbol('proto.supervisor.NotifyRequest', null, global);
|
|
25
32
|
goog.exportSymbol('proto.supervisor.NotifyRequest.Level', null, global);
|
|
26
33
|
goog.exportSymbol('proto.supervisor.NotifyResponse', null, global);
|
|
27
34
|
goog.exportSymbol('proto.supervisor.RespondRequest', null, global);
|
|
28
35
|
goog.exportSymbol('proto.supervisor.RespondResponse', null, global);
|
|
36
|
+
goog.exportSymbol('proto.supervisor.SubscribeActiveRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.supervisor.SubscribeActiveResponse', null, global);
|
|
29
38
|
goog.exportSymbol('proto.supervisor.SubscribeRequest', null, global);
|
|
30
39
|
goog.exportSymbol('proto.supervisor.SubscribeResponse', null, global);
|
|
31
40
|
/**
|
|
@@ -154,6 +163,174 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
154
163
|
*/
|
|
155
164
|
proto.supervisor.RespondResponse.displayName = 'proto.supervisor.RespondResponse';
|
|
156
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Generated by JsPbCodeGenerator.
|
|
168
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
169
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
170
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
171
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
172
|
+
* valid.
|
|
173
|
+
* @extends {jspb.Message}
|
|
174
|
+
* @constructor
|
|
175
|
+
*/
|
|
176
|
+
proto.supervisor.NotifyActiveRequest = function(opt_data) {
|
|
177
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.supervisor.NotifyActiveRequest.oneofGroups_);
|
|
178
|
+
};
|
|
179
|
+
goog.inherits(proto.supervisor.NotifyActiveRequest, jspb.Message);
|
|
180
|
+
if (goog.DEBUG && !COMPILED) {
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
* @override
|
|
184
|
+
*/
|
|
185
|
+
proto.supervisor.NotifyActiveRequest.displayName = 'proto.supervisor.NotifyActiveRequest';
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Generated by JsPbCodeGenerator.
|
|
189
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
190
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
191
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
192
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
193
|
+
* valid.
|
|
194
|
+
* @extends {jspb.Message}
|
|
195
|
+
* @constructor
|
|
196
|
+
*/
|
|
197
|
+
proto.supervisor.NotifyActiveRequest.OpenData = function(opt_data) {
|
|
198
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.supervisor.NotifyActiveRequest.OpenData.repeatedFields_, null);
|
|
199
|
+
};
|
|
200
|
+
goog.inherits(proto.supervisor.NotifyActiveRequest.OpenData, jspb.Message);
|
|
201
|
+
if (goog.DEBUG && !COMPILED) {
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
* @override
|
|
205
|
+
*/
|
|
206
|
+
proto.supervisor.NotifyActiveRequest.OpenData.displayName = 'proto.supervisor.NotifyActiveRequest.OpenData';
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Generated by JsPbCodeGenerator.
|
|
210
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
211
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
212
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
213
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
214
|
+
* valid.
|
|
215
|
+
* @extends {jspb.Message}
|
|
216
|
+
* @constructor
|
|
217
|
+
*/
|
|
218
|
+
proto.supervisor.NotifyActiveRequest.PreviewData = function(opt_data) {
|
|
219
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
220
|
+
};
|
|
221
|
+
goog.inherits(proto.supervisor.NotifyActiveRequest.PreviewData, jspb.Message);
|
|
222
|
+
if (goog.DEBUG && !COMPILED) {
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
* @override
|
|
226
|
+
*/
|
|
227
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.displayName = 'proto.supervisor.NotifyActiveRequest.PreviewData';
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Generated by JsPbCodeGenerator.
|
|
231
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
232
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
233
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
234
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
235
|
+
* valid.
|
|
236
|
+
* @extends {jspb.Message}
|
|
237
|
+
* @constructor
|
|
238
|
+
*/
|
|
239
|
+
proto.supervisor.NotifyActiveResponse = function(opt_data) {
|
|
240
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
241
|
+
};
|
|
242
|
+
goog.inherits(proto.supervisor.NotifyActiveResponse, jspb.Message);
|
|
243
|
+
if (goog.DEBUG && !COMPILED) {
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
* @override
|
|
247
|
+
*/
|
|
248
|
+
proto.supervisor.NotifyActiveResponse.displayName = 'proto.supervisor.NotifyActiveResponse';
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Generated by JsPbCodeGenerator.
|
|
252
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
253
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
254
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
255
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
256
|
+
* valid.
|
|
257
|
+
* @extends {jspb.Message}
|
|
258
|
+
* @constructor
|
|
259
|
+
*/
|
|
260
|
+
proto.supervisor.SubscribeActiveRequest = function(opt_data) {
|
|
261
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
262
|
+
};
|
|
263
|
+
goog.inherits(proto.supervisor.SubscribeActiveRequest, jspb.Message);
|
|
264
|
+
if (goog.DEBUG && !COMPILED) {
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
* @override
|
|
268
|
+
*/
|
|
269
|
+
proto.supervisor.SubscribeActiveRequest.displayName = 'proto.supervisor.SubscribeActiveRequest';
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Generated by JsPbCodeGenerator.
|
|
273
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
274
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
275
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
276
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
277
|
+
* valid.
|
|
278
|
+
* @extends {jspb.Message}
|
|
279
|
+
* @constructor
|
|
280
|
+
*/
|
|
281
|
+
proto.supervisor.SubscribeActiveResponse = function(opt_data) {
|
|
282
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
283
|
+
};
|
|
284
|
+
goog.inherits(proto.supervisor.SubscribeActiveResponse, jspb.Message);
|
|
285
|
+
if (goog.DEBUG && !COMPILED) {
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* @override
|
|
289
|
+
*/
|
|
290
|
+
proto.supervisor.SubscribeActiveResponse.displayName = 'proto.supervisor.SubscribeActiveResponse';
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Generated by JsPbCodeGenerator.
|
|
294
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
295
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
296
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
297
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
298
|
+
* valid.
|
|
299
|
+
* @extends {jspb.Message}
|
|
300
|
+
* @constructor
|
|
301
|
+
*/
|
|
302
|
+
proto.supervisor.NotifyActiveRespondRequest = function(opt_data) {
|
|
303
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
304
|
+
};
|
|
305
|
+
goog.inherits(proto.supervisor.NotifyActiveRespondRequest, jspb.Message);
|
|
306
|
+
if (goog.DEBUG && !COMPILED) {
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
* @override
|
|
310
|
+
*/
|
|
311
|
+
proto.supervisor.NotifyActiveRespondRequest.displayName = 'proto.supervisor.NotifyActiveRespondRequest';
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Generated by JsPbCodeGenerator.
|
|
315
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
316
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
317
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
318
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
319
|
+
* valid.
|
|
320
|
+
* @extends {jspb.Message}
|
|
321
|
+
* @constructor
|
|
322
|
+
*/
|
|
323
|
+
proto.supervisor.NotifyActiveRespondResponse = function(opt_data) {
|
|
324
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
325
|
+
};
|
|
326
|
+
goog.inherits(proto.supervisor.NotifyActiveRespondResponse, jspb.Message);
|
|
327
|
+
if (goog.DEBUG && !COMPILED) {
|
|
328
|
+
/**
|
|
329
|
+
* @public
|
|
330
|
+
* @override
|
|
331
|
+
*/
|
|
332
|
+
proto.supervisor.NotifyActiveRespondResponse.displayName = 'proto.supervisor.NotifyActiveRespondResponse';
|
|
333
|
+
}
|
|
157
334
|
|
|
158
335
|
/**
|
|
159
336
|
* List of repeated fields within this message type.
|
|
@@ -1073,4 +1250,1243 @@ proto.supervisor.RespondResponse.serializeBinaryToWriter = function(message, wri
|
|
|
1073
1250
|
};
|
|
1074
1251
|
|
|
1075
1252
|
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
1256
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
1257
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
1258
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
1259
|
+
* @private {!Array<!Array<number>>}
|
|
1260
|
+
* @const
|
|
1261
|
+
*/
|
|
1262
|
+
proto.supervisor.NotifyActiveRequest.oneofGroups_ = [[1,2]];
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* @enum {number}
|
|
1266
|
+
*/
|
|
1267
|
+
proto.supervisor.NotifyActiveRequest.ActionDataCase = {
|
|
1268
|
+
ACTION_DATA_NOT_SET: 0,
|
|
1269
|
+
OPEN: 1,
|
|
1270
|
+
PREVIEW: 2
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* @return {proto.supervisor.NotifyActiveRequest.ActionDataCase}
|
|
1275
|
+
*/
|
|
1276
|
+
proto.supervisor.NotifyActiveRequest.prototype.getActionDataCase = function() {
|
|
1277
|
+
return /** @type {proto.supervisor.NotifyActiveRequest.ActionDataCase} */(jspb.Message.computeOneofCase(this, proto.supervisor.NotifyActiveRequest.oneofGroups_[0]));
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1283
|
+
/**
|
|
1284
|
+
* Creates an object representation of this proto.
|
|
1285
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1286
|
+
* Optional fields that are not set will be set to undefined.
|
|
1287
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1288
|
+
* For the list of reserved names please see:
|
|
1289
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1290
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1291
|
+
* JSPB instance for transitional soy proto support:
|
|
1292
|
+
* http://goto/soy-param-migration
|
|
1293
|
+
* @return {!Object}
|
|
1294
|
+
*/
|
|
1295
|
+
proto.supervisor.NotifyActiveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1296
|
+
return proto.supervisor.NotifyActiveRequest.toObject(opt_includeInstance, this);
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* Static version of the {@see toObject} method.
|
|
1302
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1303
|
+
* the JSPB instance for transitional soy proto support:
|
|
1304
|
+
* http://goto/soy-param-migration
|
|
1305
|
+
* @param {!proto.supervisor.NotifyActiveRequest} msg The msg instance to transform.
|
|
1306
|
+
* @return {!Object}
|
|
1307
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1308
|
+
*/
|
|
1309
|
+
proto.supervisor.NotifyActiveRequest.toObject = function(includeInstance, msg) {
|
|
1310
|
+
var f, obj = {
|
|
1311
|
+
open: (f = msg.getOpen()) && proto.supervisor.NotifyActiveRequest.OpenData.toObject(includeInstance, f),
|
|
1312
|
+
preview: (f = msg.getPreview()) && proto.supervisor.NotifyActiveRequest.PreviewData.toObject(includeInstance, f)
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
if (includeInstance) {
|
|
1316
|
+
obj.$jspbMessageInstance = msg;
|
|
1317
|
+
}
|
|
1318
|
+
return obj;
|
|
1319
|
+
};
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1325
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1326
|
+
* @return {!proto.supervisor.NotifyActiveRequest}
|
|
1327
|
+
*/
|
|
1328
|
+
proto.supervisor.NotifyActiveRequest.deserializeBinary = function(bytes) {
|
|
1329
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1330
|
+
var msg = new proto.supervisor.NotifyActiveRequest;
|
|
1331
|
+
return proto.supervisor.NotifyActiveRequest.deserializeBinaryFromReader(msg, reader);
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1337
|
+
* given reader into the given message object.
|
|
1338
|
+
* @param {!proto.supervisor.NotifyActiveRequest} msg The message object to deserialize into.
|
|
1339
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1340
|
+
* @return {!proto.supervisor.NotifyActiveRequest}
|
|
1341
|
+
*/
|
|
1342
|
+
proto.supervisor.NotifyActiveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1343
|
+
while (reader.nextField()) {
|
|
1344
|
+
if (reader.isEndGroup()) {
|
|
1345
|
+
break;
|
|
1346
|
+
}
|
|
1347
|
+
var field = reader.getFieldNumber();
|
|
1348
|
+
switch (field) {
|
|
1349
|
+
case 1:
|
|
1350
|
+
var value = new proto.supervisor.NotifyActiveRequest.OpenData;
|
|
1351
|
+
reader.readMessage(value,proto.supervisor.NotifyActiveRequest.OpenData.deserializeBinaryFromReader);
|
|
1352
|
+
msg.setOpen(value);
|
|
1353
|
+
break;
|
|
1354
|
+
case 2:
|
|
1355
|
+
var value = new proto.supervisor.NotifyActiveRequest.PreviewData;
|
|
1356
|
+
reader.readMessage(value,proto.supervisor.NotifyActiveRequest.PreviewData.deserializeBinaryFromReader);
|
|
1357
|
+
msg.setPreview(value);
|
|
1358
|
+
break;
|
|
1359
|
+
default:
|
|
1360
|
+
reader.skipField();
|
|
1361
|
+
break;
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
return msg;
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1370
|
+
* @return {!Uint8Array}
|
|
1371
|
+
*/
|
|
1372
|
+
proto.supervisor.NotifyActiveRequest.prototype.serializeBinary = function() {
|
|
1373
|
+
var writer = new jspb.BinaryWriter();
|
|
1374
|
+
proto.supervisor.NotifyActiveRequest.serializeBinaryToWriter(this, writer);
|
|
1375
|
+
return writer.getResultBuffer();
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1381
|
+
* format), writing to the given BinaryWriter.
|
|
1382
|
+
* @param {!proto.supervisor.NotifyActiveRequest} message
|
|
1383
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1384
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1385
|
+
*/
|
|
1386
|
+
proto.supervisor.NotifyActiveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1387
|
+
var f = undefined;
|
|
1388
|
+
f = message.getOpen();
|
|
1389
|
+
if (f != null) {
|
|
1390
|
+
writer.writeMessage(
|
|
1391
|
+
1,
|
|
1392
|
+
f,
|
|
1393
|
+
proto.supervisor.NotifyActiveRequest.OpenData.serializeBinaryToWriter
|
|
1394
|
+
);
|
|
1395
|
+
}
|
|
1396
|
+
f = message.getPreview();
|
|
1397
|
+
if (f != null) {
|
|
1398
|
+
writer.writeMessage(
|
|
1399
|
+
2,
|
|
1400
|
+
f,
|
|
1401
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.serializeBinaryToWriter
|
|
1402
|
+
);
|
|
1403
|
+
}
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* List of repeated fields within this message type.
|
|
1410
|
+
* @private {!Array<number>}
|
|
1411
|
+
* @const
|
|
1412
|
+
*/
|
|
1413
|
+
proto.supervisor.NotifyActiveRequest.OpenData.repeatedFields_ = [1];
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1418
|
+
/**
|
|
1419
|
+
* Creates an object representation of this proto.
|
|
1420
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1421
|
+
* Optional fields that are not set will be set to undefined.
|
|
1422
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1423
|
+
* For the list of reserved names please see:
|
|
1424
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1425
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1426
|
+
* JSPB instance for transitional soy proto support:
|
|
1427
|
+
* http://goto/soy-param-migration
|
|
1428
|
+
* @return {!Object}
|
|
1429
|
+
*/
|
|
1430
|
+
proto.supervisor.NotifyActiveRequest.OpenData.prototype.toObject = function(opt_includeInstance) {
|
|
1431
|
+
return proto.supervisor.NotifyActiveRequest.OpenData.toObject(opt_includeInstance, this);
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* Static version of the {@see toObject} method.
|
|
1437
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1438
|
+
* the JSPB instance for transitional soy proto support:
|
|
1439
|
+
* http://goto/soy-param-migration
|
|
1440
|
+
* @param {!proto.supervisor.NotifyActiveRequest.OpenData} msg The msg instance to transform.
|
|
1441
|
+
* @return {!Object}
|
|
1442
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1443
|
+
*/
|
|
1444
|
+
proto.supervisor.NotifyActiveRequest.OpenData.toObject = function(includeInstance, msg) {
|
|
1445
|
+
var f, obj = {
|
|
1446
|
+
urlsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1447
|
+
await: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1450
|
+
if (includeInstance) {
|
|
1451
|
+
obj.$jspbMessageInstance = msg;
|
|
1452
|
+
}
|
|
1453
|
+
return obj;
|
|
1454
|
+
};
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1460
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1461
|
+
* @return {!proto.supervisor.NotifyActiveRequest.OpenData}
|
|
1462
|
+
*/
|
|
1463
|
+
proto.supervisor.NotifyActiveRequest.OpenData.deserializeBinary = function(bytes) {
|
|
1464
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1465
|
+
var msg = new proto.supervisor.NotifyActiveRequest.OpenData;
|
|
1466
|
+
return proto.supervisor.NotifyActiveRequest.OpenData.deserializeBinaryFromReader(msg, reader);
|
|
1467
|
+
};
|
|
1468
|
+
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1472
|
+
* given reader into the given message object.
|
|
1473
|
+
* @param {!proto.supervisor.NotifyActiveRequest.OpenData} msg The message object to deserialize into.
|
|
1474
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1475
|
+
* @return {!proto.supervisor.NotifyActiveRequest.OpenData}
|
|
1476
|
+
*/
|
|
1477
|
+
proto.supervisor.NotifyActiveRequest.OpenData.deserializeBinaryFromReader = function(msg, reader) {
|
|
1478
|
+
while (reader.nextField()) {
|
|
1479
|
+
if (reader.isEndGroup()) {
|
|
1480
|
+
break;
|
|
1481
|
+
}
|
|
1482
|
+
var field = reader.getFieldNumber();
|
|
1483
|
+
switch (field) {
|
|
1484
|
+
case 1:
|
|
1485
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1486
|
+
msg.addUrls(value);
|
|
1487
|
+
break;
|
|
1488
|
+
case 2:
|
|
1489
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1490
|
+
msg.setAwait(value);
|
|
1491
|
+
break;
|
|
1492
|
+
default:
|
|
1493
|
+
reader.skipField();
|
|
1494
|
+
break;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
return msg;
|
|
1498
|
+
};
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1503
|
+
* @return {!Uint8Array}
|
|
1504
|
+
*/
|
|
1505
|
+
proto.supervisor.NotifyActiveRequest.OpenData.prototype.serializeBinary = function() {
|
|
1506
|
+
var writer = new jspb.BinaryWriter();
|
|
1507
|
+
proto.supervisor.NotifyActiveRequest.OpenData.serializeBinaryToWriter(this, writer);
|
|
1508
|
+
return writer.getResultBuffer();
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1514
|
+
* format), writing to the given BinaryWriter.
|
|
1515
|
+
* @param {!proto.supervisor.NotifyActiveRequest.OpenData} message
|
|
1516
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1517
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1518
|
+
*/
|
|
1519
|
+
proto.supervisor.NotifyActiveRequest.OpenData.serializeBinaryToWriter = function(message, writer) {
|
|
1520
|
+
var f = undefined;
|
|
1521
|
+
f = message.getUrlsList();
|
|
1522
|
+
if (f.length > 0) {
|
|
1523
|
+
writer.writeRepeatedString(
|
|
1524
|
+
1,
|
|
1525
|
+
f
|
|
1526
|
+
);
|
|
1527
|
+
}
|
|
1528
|
+
f = message.getAwait();
|
|
1529
|
+
if (f) {
|
|
1530
|
+
writer.writeBool(
|
|
1531
|
+
2,
|
|
1532
|
+
f
|
|
1533
|
+
);
|
|
1534
|
+
}
|
|
1535
|
+
};
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* repeated string urls = 1;
|
|
1540
|
+
* @return {!Array<string>}
|
|
1541
|
+
*/
|
|
1542
|
+
proto.supervisor.NotifyActiveRequest.OpenData.prototype.getUrlsList = function() {
|
|
1543
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* @param {!Array<string>} value
|
|
1549
|
+
* @return {!proto.supervisor.NotifyActiveRequest.OpenData} returns this
|
|
1550
|
+
*/
|
|
1551
|
+
proto.supervisor.NotifyActiveRequest.OpenData.prototype.setUrlsList = function(value) {
|
|
1552
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* @param {string} value
|
|
1558
|
+
* @param {number=} opt_index
|
|
1559
|
+
* @return {!proto.supervisor.NotifyActiveRequest.OpenData} returns this
|
|
1560
|
+
*/
|
|
1561
|
+
proto.supervisor.NotifyActiveRequest.OpenData.prototype.addUrls = function(value, opt_index) {
|
|
1562
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1563
|
+
};
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* Clears the list making it empty but non-null.
|
|
1568
|
+
* @return {!proto.supervisor.NotifyActiveRequest.OpenData} returns this
|
|
1569
|
+
*/
|
|
1570
|
+
proto.supervisor.NotifyActiveRequest.OpenData.prototype.clearUrlsList = function() {
|
|
1571
|
+
return this.setUrlsList([]);
|
|
1572
|
+
};
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* optional bool await = 2;
|
|
1577
|
+
* @return {boolean}
|
|
1578
|
+
*/
|
|
1579
|
+
proto.supervisor.NotifyActiveRequest.OpenData.prototype.getAwait = function() {
|
|
1580
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* @param {boolean} value
|
|
1586
|
+
* @return {!proto.supervisor.NotifyActiveRequest.OpenData} returns this
|
|
1587
|
+
*/
|
|
1588
|
+
proto.supervisor.NotifyActiveRequest.OpenData.prototype.setAwait = function(value) {
|
|
1589
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1597
|
+
/**
|
|
1598
|
+
* Creates an object representation of this proto.
|
|
1599
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1600
|
+
* Optional fields that are not set will be set to undefined.
|
|
1601
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1602
|
+
* For the list of reserved names please see:
|
|
1603
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1604
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1605
|
+
* JSPB instance for transitional soy proto support:
|
|
1606
|
+
* http://goto/soy-param-migration
|
|
1607
|
+
* @return {!Object}
|
|
1608
|
+
*/
|
|
1609
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.prototype.toObject = function(opt_includeInstance) {
|
|
1610
|
+
return proto.supervisor.NotifyActiveRequest.PreviewData.toObject(opt_includeInstance, this);
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* Static version of the {@see toObject} method.
|
|
1616
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1617
|
+
* the JSPB instance for transitional soy proto support:
|
|
1618
|
+
* http://goto/soy-param-migration
|
|
1619
|
+
* @param {!proto.supervisor.NotifyActiveRequest.PreviewData} msg The msg instance to transform.
|
|
1620
|
+
* @return {!Object}
|
|
1621
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1622
|
+
*/
|
|
1623
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.toObject = function(includeInstance, msg) {
|
|
1624
|
+
var f, obj = {
|
|
1625
|
+
url: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1626
|
+
external: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1629
|
+
if (includeInstance) {
|
|
1630
|
+
obj.$jspbMessageInstance = msg;
|
|
1631
|
+
}
|
|
1632
|
+
return obj;
|
|
1633
|
+
};
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1639
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1640
|
+
* @return {!proto.supervisor.NotifyActiveRequest.PreviewData}
|
|
1641
|
+
*/
|
|
1642
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.deserializeBinary = function(bytes) {
|
|
1643
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1644
|
+
var msg = new proto.supervisor.NotifyActiveRequest.PreviewData;
|
|
1645
|
+
return proto.supervisor.NotifyActiveRequest.PreviewData.deserializeBinaryFromReader(msg, reader);
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1651
|
+
* given reader into the given message object.
|
|
1652
|
+
* @param {!proto.supervisor.NotifyActiveRequest.PreviewData} msg The message object to deserialize into.
|
|
1653
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1654
|
+
* @return {!proto.supervisor.NotifyActiveRequest.PreviewData}
|
|
1655
|
+
*/
|
|
1656
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.deserializeBinaryFromReader = function(msg, reader) {
|
|
1657
|
+
while (reader.nextField()) {
|
|
1658
|
+
if (reader.isEndGroup()) {
|
|
1659
|
+
break;
|
|
1660
|
+
}
|
|
1661
|
+
var field = reader.getFieldNumber();
|
|
1662
|
+
switch (field) {
|
|
1663
|
+
case 1:
|
|
1664
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1665
|
+
msg.setUrl(value);
|
|
1666
|
+
break;
|
|
1667
|
+
case 2:
|
|
1668
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1669
|
+
msg.setExternal(value);
|
|
1670
|
+
break;
|
|
1671
|
+
default:
|
|
1672
|
+
reader.skipField();
|
|
1673
|
+
break;
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
return msg;
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1682
|
+
* @return {!Uint8Array}
|
|
1683
|
+
*/
|
|
1684
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.prototype.serializeBinary = function() {
|
|
1685
|
+
var writer = new jspb.BinaryWriter();
|
|
1686
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.serializeBinaryToWriter(this, writer);
|
|
1687
|
+
return writer.getResultBuffer();
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1693
|
+
* format), writing to the given BinaryWriter.
|
|
1694
|
+
* @param {!proto.supervisor.NotifyActiveRequest.PreviewData} message
|
|
1695
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1696
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1697
|
+
*/
|
|
1698
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.serializeBinaryToWriter = function(message, writer) {
|
|
1699
|
+
var f = undefined;
|
|
1700
|
+
f = message.getUrl();
|
|
1701
|
+
if (f.length > 0) {
|
|
1702
|
+
writer.writeString(
|
|
1703
|
+
1,
|
|
1704
|
+
f
|
|
1705
|
+
);
|
|
1706
|
+
}
|
|
1707
|
+
f = message.getExternal();
|
|
1708
|
+
if (f) {
|
|
1709
|
+
writer.writeBool(
|
|
1710
|
+
2,
|
|
1711
|
+
f
|
|
1712
|
+
);
|
|
1713
|
+
}
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* optional string url = 1;
|
|
1719
|
+
* @return {string}
|
|
1720
|
+
*/
|
|
1721
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.prototype.getUrl = function() {
|
|
1722
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1723
|
+
};
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* @param {string} value
|
|
1728
|
+
* @return {!proto.supervisor.NotifyActiveRequest.PreviewData} returns this
|
|
1729
|
+
*/
|
|
1730
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.prototype.setUrl = function(value) {
|
|
1731
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1732
|
+
};
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
/**
|
|
1736
|
+
* optional bool external = 2;
|
|
1737
|
+
* @return {boolean}
|
|
1738
|
+
*/
|
|
1739
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.prototype.getExternal = function() {
|
|
1740
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
1741
|
+
};
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* @param {boolean} value
|
|
1746
|
+
* @return {!proto.supervisor.NotifyActiveRequest.PreviewData} returns this
|
|
1747
|
+
*/
|
|
1748
|
+
proto.supervisor.NotifyActiveRequest.PreviewData.prototype.setExternal = function(value) {
|
|
1749
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* optional OpenData open = 1;
|
|
1755
|
+
* @return {?proto.supervisor.NotifyActiveRequest.OpenData}
|
|
1756
|
+
*/
|
|
1757
|
+
proto.supervisor.NotifyActiveRequest.prototype.getOpen = function() {
|
|
1758
|
+
return /** @type{?proto.supervisor.NotifyActiveRequest.OpenData} */ (
|
|
1759
|
+
jspb.Message.getWrapperField(this, proto.supervisor.NotifyActiveRequest.OpenData, 1));
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* @param {?proto.supervisor.NotifyActiveRequest.OpenData|undefined} value
|
|
1765
|
+
* @return {!proto.supervisor.NotifyActiveRequest} returns this
|
|
1766
|
+
*/
|
|
1767
|
+
proto.supervisor.NotifyActiveRequest.prototype.setOpen = function(value) {
|
|
1768
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.supervisor.NotifyActiveRequest.oneofGroups_[0], value);
|
|
1769
|
+
};
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Clears the message field making it undefined.
|
|
1774
|
+
* @return {!proto.supervisor.NotifyActiveRequest} returns this
|
|
1775
|
+
*/
|
|
1776
|
+
proto.supervisor.NotifyActiveRequest.prototype.clearOpen = function() {
|
|
1777
|
+
return this.setOpen(undefined);
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* Returns whether this field is set.
|
|
1783
|
+
* @return {boolean}
|
|
1784
|
+
*/
|
|
1785
|
+
proto.supervisor.NotifyActiveRequest.prototype.hasOpen = function() {
|
|
1786
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1787
|
+
};
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* optional PreviewData preview = 2;
|
|
1792
|
+
* @return {?proto.supervisor.NotifyActiveRequest.PreviewData}
|
|
1793
|
+
*/
|
|
1794
|
+
proto.supervisor.NotifyActiveRequest.prototype.getPreview = function() {
|
|
1795
|
+
return /** @type{?proto.supervisor.NotifyActiveRequest.PreviewData} */ (
|
|
1796
|
+
jspb.Message.getWrapperField(this, proto.supervisor.NotifyActiveRequest.PreviewData, 2));
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* @param {?proto.supervisor.NotifyActiveRequest.PreviewData|undefined} value
|
|
1802
|
+
* @return {!proto.supervisor.NotifyActiveRequest} returns this
|
|
1803
|
+
*/
|
|
1804
|
+
proto.supervisor.NotifyActiveRequest.prototype.setPreview = function(value) {
|
|
1805
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.supervisor.NotifyActiveRequest.oneofGroups_[0], value);
|
|
1806
|
+
};
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* Clears the message field making it undefined.
|
|
1811
|
+
* @return {!proto.supervisor.NotifyActiveRequest} returns this
|
|
1812
|
+
*/
|
|
1813
|
+
proto.supervisor.NotifyActiveRequest.prototype.clearPreview = function() {
|
|
1814
|
+
return this.setPreview(undefined);
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* Returns whether this field is set.
|
|
1820
|
+
* @return {boolean}
|
|
1821
|
+
*/
|
|
1822
|
+
proto.supervisor.NotifyActiveRequest.prototype.hasPreview = function() {
|
|
1823
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1824
|
+
};
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1831
|
+
/**
|
|
1832
|
+
* Creates an object representation of this proto.
|
|
1833
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1834
|
+
* Optional fields that are not set will be set to undefined.
|
|
1835
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1836
|
+
* For the list of reserved names please see:
|
|
1837
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1838
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1839
|
+
* JSPB instance for transitional soy proto support:
|
|
1840
|
+
* http://goto/soy-param-migration
|
|
1841
|
+
* @return {!Object}
|
|
1842
|
+
*/
|
|
1843
|
+
proto.supervisor.NotifyActiveResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1844
|
+
return proto.supervisor.NotifyActiveResponse.toObject(opt_includeInstance, this);
|
|
1845
|
+
};
|
|
1846
|
+
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* Static version of the {@see toObject} method.
|
|
1850
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1851
|
+
* the JSPB instance for transitional soy proto support:
|
|
1852
|
+
* http://goto/soy-param-migration
|
|
1853
|
+
* @param {!proto.supervisor.NotifyActiveResponse} msg The msg instance to transform.
|
|
1854
|
+
* @return {!Object}
|
|
1855
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1856
|
+
*/
|
|
1857
|
+
proto.supervisor.NotifyActiveResponse.toObject = function(includeInstance, msg) {
|
|
1858
|
+
var f, obj = {
|
|
1859
|
+
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
if (includeInstance) {
|
|
1863
|
+
obj.$jspbMessageInstance = msg;
|
|
1864
|
+
}
|
|
1865
|
+
return obj;
|
|
1866
|
+
};
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1872
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1873
|
+
* @return {!proto.supervisor.NotifyActiveResponse}
|
|
1874
|
+
*/
|
|
1875
|
+
proto.supervisor.NotifyActiveResponse.deserializeBinary = function(bytes) {
|
|
1876
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1877
|
+
var msg = new proto.supervisor.NotifyActiveResponse;
|
|
1878
|
+
return proto.supervisor.NotifyActiveResponse.deserializeBinaryFromReader(msg, reader);
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1884
|
+
* given reader into the given message object.
|
|
1885
|
+
* @param {!proto.supervisor.NotifyActiveResponse} msg The message object to deserialize into.
|
|
1886
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1887
|
+
* @return {!proto.supervisor.NotifyActiveResponse}
|
|
1888
|
+
*/
|
|
1889
|
+
proto.supervisor.NotifyActiveResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1890
|
+
while (reader.nextField()) {
|
|
1891
|
+
if (reader.isEndGroup()) {
|
|
1892
|
+
break;
|
|
1893
|
+
}
|
|
1894
|
+
var field = reader.getFieldNumber();
|
|
1895
|
+
switch (field) {
|
|
1896
|
+
default:
|
|
1897
|
+
reader.skipField();
|
|
1898
|
+
break;
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
return msg;
|
|
1902
|
+
};
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1907
|
+
* @return {!Uint8Array}
|
|
1908
|
+
*/
|
|
1909
|
+
proto.supervisor.NotifyActiveResponse.prototype.serializeBinary = function() {
|
|
1910
|
+
var writer = new jspb.BinaryWriter();
|
|
1911
|
+
proto.supervisor.NotifyActiveResponse.serializeBinaryToWriter(this, writer);
|
|
1912
|
+
return writer.getResultBuffer();
|
|
1913
|
+
};
|
|
1914
|
+
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1918
|
+
* format), writing to the given BinaryWriter.
|
|
1919
|
+
* @param {!proto.supervisor.NotifyActiveResponse} message
|
|
1920
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1921
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1922
|
+
*/
|
|
1923
|
+
proto.supervisor.NotifyActiveResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1924
|
+
var f = undefined;
|
|
1925
|
+
};
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
|
|
1931
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1932
|
+
/**
|
|
1933
|
+
* Creates an object representation of this proto.
|
|
1934
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1935
|
+
* Optional fields that are not set will be set to undefined.
|
|
1936
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1937
|
+
* For the list of reserved names please see:
|
|
1938
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1939
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1940
|
+
* JSPB instance for transitional soy proto support:
|
|
1941
|
+
* http://goto/soy-param-migration
|
|
1942
|
+
* @return {!Object}
|
|
1943
|
+
*/
|
|
1944
|
+
proto.supervisor.SubscribeActiveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1945
|
+
return proto.supervisor.SubscribeActiveRequest.toObject(opt_includeInstance, this);
|
|
1946
|
+
};
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* Static version of the {@see toObject} method.
|
|
1951
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1952
|
+
* the JSPB instance for transitional soy proto support:
|
|
1953
|
+
* http://goto/soy-param-migration
|
|
1954
|
+
* @param {!proto.supervisor.SubscribeActiveRequest} msg The msg instance to transform.
|
|
1955
|
+
* @return {!Object}
|
|
1956
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1957
|
+
*/
|
|
1958
|
+
proto.supervisor.SubscribeActiveRequest.toObject = function(includeInstance, msg) {
|
|
1959
|
+
var f, obj = {
|
|
1960
|
+
|
|
1961
|
+
};
|
|
1962
|
+
|
|
1963
|
+
if (includeInstance) {
|
|
1964
|
+
obj.$jspbMessageInstance = msg;
|
|
1965
|
+
}
|
|
1966
|
+
return obj;
|
|
1967
|
+
};
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1973
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1974
|
+
* @return {!proto.supervisor.SubscribeActiveRequest}
|
|
1975
|
+
*/
|
|
1976
|
+
proto.supervisor.SubscribeActiveRequest.deserializeBinary = function(bytes) {
|
|
1977
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1978
|
+
var msg = new proto.supervisor.SubscribeActiveRequest;
|
|
1979
|
+
return proto.supervisor.SubscribeActiveRequest.deserializeBinaryFromReader(msg, reader);
|
|
1980
|
+
};
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1985
|
+
* given reader into the given message object.
|
|
1986
|
+
* @param {!proto.supervisor.SubscribeActiveRequest} msg The message object to deserialize into.
|
|
1987
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1988
|
+
* @return {!proto.supervisor.SubscribeActiveRequest}
|
|
1989
|
+
*/
|
|
1990
|
+
proto.supervisor.SubscribeActiveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1991
|
+
while (reader.nextField()) {
|
|
1992
|
+
if (reader.isEndGroup()) {
|
|
1993
|
+
break;
|
|
1994
|
+
}
|
|
1995
|
+
var field = reader.getFieldNumber();
|
|
1996
|
+
switch (field) {
|
|
1997
|
+
default:
|
|
1998
|
+
reader.skipField();
|
|
1999
|
+
break;
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
return msg;
|
|
2003
|
+
};
|
|
2004
|
+
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2008
|
+
* @return {!Uint8Array}
|
|
2009
|
+
*/
|
|
2010
|
+
proto.supervisor.SubscribeActiveRequest.prototype.serializeBinary = function() {
|
|
2011
|
+
var writer = new jspb.BinaryWriter();
|
|
2012
|
+
proto.supervisor.SubscribeActiveRequest.serializeBinaryToWriter(this, writer);
|
|
2013
|
+
return writer.getResultBuffer();
|
|
2014
|
+
};
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2019
|
+
* format), writing to the given BinaryWriter.
|
|
2020
|
+
* @param {!proto.supervisor.SubscribeActiveRequest} message
|
|
2021
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2022
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2023
|
+
*/
|
|
2024
|
+
proto.supervisor.SubscribeActiveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2025
|
+
var f = undefined;
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
|
|
2032
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2033
|
+
/**
|
|
2034
|
+
* Creates an object representation of this proto.
|
|
2035
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2036
|
+
* Optional fields that are not set will be set to undefined.
|
|
2037
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2038
|
+
* For the list of reserved names please see:
|
|
2039
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2040
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2041
|
+
* JSPB instance for transitional soy proto support:
|
|
2042
|
+
* http://goto/soy-param-migration
|
|
2043
|
+
* @return {!Object}
|
|
2044
|
+
*/
|
|
2045
|
+
proto.supervisor.SubscribeActiveResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2046
|
+
return proto.supervisor.SubscribeActiveResponse.toObject(opt_includeInstance, this);
|
|
2047
|
+
};
|
|
2048
|
+
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* Static version of the {@see toObject} method.
|
|
2052
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2053
|
+
* the JSPB instance for transitional soy proto support:
|
|
2054
|
+
* http://goto/soy-param-migration
|
|
2055
|
+
* @param {!proto.supervisor.SubscribeActiveResponse} msg The msg instance to transform.
|
|
2056
|
+
* @return {!Object}
|
|
2057
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2058
|
+
*/
|
|
2059
|
+
proto.supervisor.SubscribeActiveResponse.toObject = function(includeInstance, msg) {
|
|
2060
|
+
var f, obj = {
|
|
2061
|
+
requestid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2062
|
+
request: (f = msg.getRequest()) && proto.supervisor.NotifyActiveRequest.toObject(includeInstance, f)
|
|
2063
|
+
};
|
|
2064
|
+
|
|
2065
|
+
if (includeInstance) {
|
|
2066
|
+
obj.$jspbMessageInstance = msg;
|
|
2067
|
+
}
|
|
2068
|
+
return obj;
|
|
2069
|
+
};
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2075
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2076
|
+
* @return {!proto.supervisor.SubscribeActiveResponse}
|
|
2077
|
+
*/
|
|
2078
|
+
proto.supervisor.SubscribeActiveResponse.deserializeBinary = function(bytes) {
|
|
2079
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2080
|
+
var msg = new proto.supervisor.SubscribeActiveResponse;
|
|
2081
|
+
return proto.supervisor.SubscribeActiveResponse.deserializeBinaryFromReader(msg, reader);
|
|
2082
|
+
};
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2087
|
+
* given reader into the given message object.
|
|
2088
|
+
* @param {!proto.supervisor.SubscribeActiveResponse} msg The message object to deserialize into.
|
|
2089
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2090
|
+
* @return {!proto.supervisor.SubscribeActiveResponse}
|
|
2091
|
+
*/
|
|
2092
|
+
proto.supervisor.SubscribeActiveResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2093
|
+
while (reader.nextField()) {
|
|
2094
|
+
if (reader.isEndGroup()) {
|
|
2095
|
+
break;
|
|
2096
|
+
}
|
|
2097
|
+
var field = reader.getFieldNumber();
|
|
2098
|
+
switch (field) {
|
|
2099
|
+
case 1:
|
|
2100
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
2101
|
+
msg.setRequestid(value);
|
|
2102
|
+
break;
|
|
2103
|
+
case 2:
|
|
2104
|
+
var value = new proto.supervisor.NotifyActiveRequest;
|
|
2105
|
+
reader.readMessage(value,proto.supervisor.NotifyActiveRequest.deserializeBinaryFromReader);
|
|
2106
|
+
msg.setRequest(value);
|
|
2107
|
+
break;
|
|
2108
|
+
default:
|
|
2109
|
+
reader.skipField();
|
|
2110
|
+
break;
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
return msg;
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2119
|
+
* @return {!Uint8Array}
|
|
2120
|
+
*/
|
|
2121
|
+
proto.supervisor.SubscribeActiveResponse.prototype.serializeBinary = function() {
|
|
2122
|
+
var writer = new jspb.BinaryWriter();
|
|
2123
|
+
proto.supervisor.SubscribeActiveResponse.serializeBinaryToWriter(this, writer);
|
|
2124
|
+
return writer.getResultBuffer();
|
|
2125
|
+
};
|
|
2126
|
+
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2130
|
+
* format), writing to the given BinaryWriter.
|
|
2131
|
+
* @param {!proto.supervisor.SubscribeActiveResponse} message
|
|
2132
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2133
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2134
|
+
*/
|
|
2135
|
+
proto.supervisor.SubscribeActiveResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2136
|
+
var f = undefined;
|
|
2137
|
+
f = message.getRequestid();
|
|
2138
|
+
if (f !== 0) {
|
|
2139
|
+
writer.writeUint64(
|
|
2140
|
+
1,
|
|
2141
|
+
f
|
|
2142
|
+
);
|
|
2143
|
+
}
|
|
2144
|
+
f = message.getRequest();
|
|
2145
|
+
if (f != null) {
|
|
2146
|
+
writer.writeMessage(
|
|
2147
|
+
2,
|
|
2148
|
+
f,
|
|
2149
|
+
proto.supervisor.NotifyActiveRequest.serializeBinaryToWriter
|
|
2150
|
+
);
|
|
2151
|
+
}
|
|
2152
|
+
};
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
* optional uint64 requestId = 1;
|
|
2157
|
+
* @return {number}
|
|
2158
|
+
*/
|
|
2159
|
+
proto.supervisor.SubscribeActiveResponse.prototype.getRequestid = function() {
|
|
2160
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2161
|
+
};
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* @param {number} value
|
|
2166
|
+
* @return {!proto.supervisor.SubscribeActiveResponse} returns this
|
|
2167
|
+
*/
|
|
2168
|
+
proto.supervisor.SubscribeActiveResponse.prototype.setRequestid = function(value) {
|
|
2169
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2170
|
+
};
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* optional NotifyActiveRequest request = 2;
|
|
2175
|
+
* @return {?proto.supervisor.NotifyActiveRequest}
|
|
2176
|
+
*/
|
|
2177
|
+
proto.supervisor.SubscribeActiveResponse.prototype.getRequest = function() {
|
|
2178
|
+
return /** @type{?proto.supervisor.NotifyActiveRequest} */ (
|
|
2179
|
+
jspb.Message.getWrapperField(this, proto.supervisor.NotifyActiveRequest, 2));
|
|
2180
|
+
};
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
/**
|
|
2184
|
+
* @param {?proto.supervisor.NotifyActiveRequest|undefined} value
|
|
2185
|
+
* @return {!proto.supervisor.SubscribeActiveResponse} returns this
|
|
2186
|
+
*/
|
|
2187
|
+
proto.supervisor.SubscribeActiveResponse.prototype.setRequest = function(value) {
|
|
2188
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2189
|
+
};
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* Clears the message field making it undefined.
|
|
2194
|
+
* @return {!proto.supervisor.SubscribeActiveResponse} returns this
|
|
2195
|
+
*/
|
|
2196
|
+
proto.supervisor.SubscribeActiveResponse.prototype.clearRequest = function() {
|
|
2197
|
+
return this.setRequest(undefined);
|
|
2198
|
+
};
|
|
2199
|
+
|
|
2200
|
+
|
|
2201
|
+
/**
|
|
2202
|
+
* Returns whether this field is set.
|
|
2203
|
+
* @return {boolean}
|
|
2204
|
+
*/
|
|
2205
|
+
proto.supervisor.SubscribeActiveResponse.prototype.hasRequest = function() {
|
|
2206
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2207
|
+
};
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2214
|
+
/**
|
|
2215
|
+
* Creates an object representation of this proto.
|
|
2216
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2217
|
+
* Optional fields that are not set will be set to undefined.
|
|
2218
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2219
|
+
* For the list of reserved names please see:
|
|
2220
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2221
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2222
|
+
* JSPB instance for transitional soy proto support:
|
|
2223
|
+
* http://goto/soy-param-migration
|
|
2224
|
+
* @return {!Object}
|
|
2225
|
+
*/
|
|
2226
|
+
proto.supervisor.NotifyActiveRespondRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2227
|
+
return proto.supervisor.NotifyActiveRespondRequest.toObject(opt_includeInstance, this);
|
|
2228
|
+
};
|
|
2229
|
+
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* Static version of the {@see toObject} method.
|
|
2233
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2234
|
+
* the JSPB instance for transitional soy proto support:
|
|
2235
|
+
* http://goto/soy-param-migration
|
|
2236
|
+
* @param {!proto.supervisor.NotifyActiveRespondRequest} msg The msg instance to transform.
|
|
2237
|
+
* @return {!Object}
|
|
2238
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2239
|
+
*/
|
|
2240
|
+
proto.supervisor.NotifyActiveRespondRequest.toObject = function(includeInstance, msg) {
|
|
2241
|
+
var f, obj = {
|
|
2242
|
+
requestid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2243
|
+
response: (f = msg.getResponse()) && proto.supervisor.NotifyActiveResponse.toObject(includeInstance, f)
|
|
2244
|
+
};
|
|
2245
|
+
|
|
2246
|
+
if (includeInstance) {
|
|
2247
|
+
obj.$jspbMessageInstance = msg;
|
|
2248
|
+
}
|
|
2249
|
+
return obj;
|
|
2250
|
+
};
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2256
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2257
|
+
* @return {!proto.supervisor.NotifyActiveRespondRequest}
|
|
2258
|
+
*/
|
|
2259
|
+
proto.supervisor.NotifyActiveRespondRequest.deserializeBinary = function(bytes) {
|
|
2260
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2261
|
+
var msg = new proto.supervisor.NotifyActiveRespondRequest;
|
|
2262
|
+
return proto.supervisor.NotifyActiveRespondRequest.deserializeBinaryFromReader(msg, reader);
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2268
|
+
* given reader into the given message object.
|
|
2269
|
+
* @param {!proto.supervisor.NotifyActiveRespondRequest} msg The message object to deserialize into.
|
|
2270
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2271
|
+
* @return {!proto.supervisor.NotifyActiveRespondRequest}
|
|
2272
|
+
*/
|
|
2273
|
+
proto.supervisor.NotifyActiveRespondRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2274
|
+
while (reader.nextField()) {
|
|
2275
|
+
if (reader.isEndGroup()) {
|
|
2276
|
+
break;
|
|
2277
|
+
}
|
|
2278
|
+
var field = reader.getFieldNumber();
|
|
2279
|
+
switch (field) {
|
|
2280
|
+
case 1:
|
|
2281
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
2282
|
+
msg.setRequestid(value);
|
|
2283
|
+
break;
|
|
2284
|
+
case 2:
|
|
2285
|
+
var value = new proto.supervisor.NotifyActiveResponse;
|
|
2286
|
+
reader.readMessage(value,proto.supervisor.NotifyActiveResponse.deserializeBinaryFromReader);
|
|
2287
|
+
msg.setResponse(value);
|
|
2288
|
+
break;
|
|
2289
|
+
default:
|
|
2290
|
+
reader.skipField();
|
|
2291
|
+
break;
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
return msg;
|
|
2295
|
+
};
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2300
|
+
* @return {!Uint8Array}
|
|
2301
|
+
*/
|
|
2302
|
+
proto.supervisor.NotifyActiveRespondRequest.prototype.serializeBinary = function() {
|
|
2303
|
+
var writer = new jspb.BinaryWriter();
|
|
2304
|
+
proto.supervisor.NotifyActiveRespondRequest.serializeBinaryToWriter(this, writer);
|
|
2305
|
+
return writer.getResultBuffer();
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2311
|
+
* format), writing to the given BinaryWriter.
|
|
2312
|
+
* @param {!proto.supervisor.NotifyActiveRespondRequest} message
|
|
2313
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2314
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2315
|
+
*/
|
|
2316
|
+
proto.supervisor.NotifyActiveRespondRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2317
|
+
var f = undefined;
|
|
2318
|
+
f = message.getRequestid();
|
|
2319
|
+
if (f !== 0) {
|
|
2320
|
+
writer.writeUint64(
|
|
2321
|
+
1,
|
|
2322
|
+
f
|
|
2323
|
+
);
|
|
2324
|
+
}
|
|
2325
|
+
f = message.getResponse();
|
|
2326
|
+
if (f != null) {
|
|
2327
|
+
writer.writeMessage(
|
|
2328
|
+
2,
|
|
2329
|
+
f,
|
|
2330
|
+
proto.supervisor.NotifyActiveResponse.serializeBinaryToWriter
|
|
2331
|
+
);
|
|
2332
|
+
}
|
|
2333
|
+
};
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* optional uint64 requestId = 1;
|
|
2338
|
+
* @return {number}
|
|
2339
|
+
*/
|
|
2340
|
+
proto.supervisor.NotifyActiveRespondRequest.prototype.getRequestid = function() {
|
|
2341
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* @param {number} value
|
|
2347
|
+
* @return {!proto.supervisor.NotifyActiveRespondRequest} returns this
|
|
2348
|
+
*/
|
|
2349
|
+
proto.supervisor.NotifyActiveRespondRequest.prototype.setRequestid = function(value) {
|
|
2350
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2351
|
+
};
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* optional NotifyActiveResponse response = 2;
|
|
2356
|
+
* @return {?proto.supervisor.NotifyActiveResponse}
|
|
2357
|
+
*/
|
|
2358
|
+
proto.supervisor.NotifyActiveRespondRequest.prototype.getResponse = function() {
|
|
2359
|
+
return /** @type{?proto.supervisor.NotifyActiveResponse} */ (
|
|
2360
|
+
jspb.Message.getWrapperField(this, proto.supervisor.NotifyActiveResponse, 2));
|
|
2361
|
+
};
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* @param {?proto.supervisor.NotifyActiveResponse|undefined} value
|
|
2366
|
+
* @return {!proto.supervisor.NotifyActiveRespondRequest} returns this
|
|
2367
|
+
*/
|
|
2368
|
+
proto.supervisor.NotifyActiveRespondRequest.prototype.setResponse = function(value) {
|
|
2369
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2370
|
+
};
|
|
2371
|
+
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* Clears the message field making it undefined.
|
|
2375
|
+
* @return {!proto.supervisor.NotifyActiveRespondRequest} returns this
|
|
2376
|
+
*/
|
|
2377
|
+
proto.supervisor.NotifyActiveRespondRequest.prototype.clearResponse = function() {
|
|
2378
|
+
return this.setResponse(undefined);
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Returns whether this field is set.
|
|
2384
|
+
* @return {boolean}
|
|
2385
|
+
*/
|
|
2386
|
+
proto.supervisor.NotifyActiveRespondRequest.prototype.hasResponse = function() {
|
|
2387
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2388
|
+
};
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2395
|
+
/**
|
|
2396
|
+
* Creates an object representation of this proto.
|
|
2397
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2398
|
+
* Optional fields that are not set will be set to undefined.
|
|
2399
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2400
|
+
* For the list of reserved names please see:
|
|
2401
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2402
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2403
|
+
* JSPB instance for transitional soy proto support:
|
|
2404
|
+
* http://goto/soy-param-migration
|
|
2405
|
+
* @return {!Object}
|
|
2406
|
+
*/
|
|
2407
|
+
proto.supervisor.NotifyActiveRespondResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2408
|
+
return proto.supervisor.NotifyActiveRespondResponse.toObject(opt_includeInstance, this);
|
|
2409
|
+
};
|
|
2410
|
+
|
|
2411
|
+
|
|
2412
|
+
/**
|
|
2413
|
+
* Static version of the {@see toObject} method.
|
|
2414
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2415
|
+
* the JSPB instance for transitional soy proto support:
|
|
2416
|
+
* http://goto/soy-param-migration
|
|
2417
|
+
* @param {!proto.supervisor.NotifyActiveRespondResponse} msg The msg instance to transform.
|
|
2418
|
+
* @return {!Object}
|
|
2419
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2420
|
+
*/
|
|
2421
|
+
proto.supervisor.NotifyActiveRespondResponse.toObject = function(includeInstance, msg) {
|
|
2422
|
+
var f, obj = {
|
|
2423
|
+
|
|
2424
|
+
};
|
|
2425
|
+
|
|
2426
|
+
if (includeInstance) {
|
|
2427
|
+
obj.$jspbMessageInstance = msg;
|
|
2428
|
+
}
|
|
2429
|
+
return obj;
|
|
2430
|
+
};
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2436
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2437
|
+
* @return {!proto.supervisor.NotifyActiveRespondResponse}
|
|
2438
|
+
*/
|
|
2439
|
+
proto.supervisor.NotifyActiveRespondResponse.deserializeBinary = function(bytes) {
|
|
2440
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2441
|
+
var msg = new proto.supervisor.NotifyActiveRespondResponse;
|
|
2442
|
+
return proto.supervisor.NotifyActiveRespondResponse.deserializeBinaryFromReader(msg, reader);
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2448
|
+
* given reader into the given message object.
|
|
2449
|
+
* @param {!proto.supervisor.NotifyActiveRespondResponse} msg The message object to deserialize into.
|
|
2450
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2451
|
+
* @return {!proto.supervisor.NotifyActiveRespondResponse}
|
|
2452
|
+
*/
|
|
2453
|
+
proto.supervisor.NotifyActiveRespondResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2454
|
+
while (reader.nextField()) {
|
|
2455
|
+
if (reader.isEndGroup()) {
|
|
2456
|
+
break;
|
|
2457
|
+
}
|
|
2458
|
+
var field = reader.getFieldNumber();
|
|
2459
|
+
switch (field) {
|
|
2460
|
+
default:
|
|
2461
|
+
reader.skipField();
|
|
2462
|
+
break;
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
return msg;
|
|
2466
|
+
};
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2471
|
+
* @return {!Uint8Array}
|
|
2472
|
+
*/
|
|
2473
|
+
proto.supervisor.NotifyActiveRespondResponse.prototype.serializeBinary = function() {
|
|
2474
|
+
var writer = new jspb.BinaryWriter();
|
|
2475
|
+
proto.supervisor.NotifyActiveRespondResponse.serializeBinaryToWriter(this, writer);
|
|
2476
|
+
return writer.getResultBuffer();
|
|
2477
|
+
};
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2482
|
+
* format), writing to the given BinaryWriter.
|
|
2483
|
+
* @param {!proto.supervisor.NotifyActiveRespondResponse} message
|
|
2484
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2485
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2486
|
+
*/
|
|
2487
|
+
proto.supervisor.NotifyActiveRespondResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2488
|
+
var f = undefined;
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2491
|
+
|
|
1076
2492
|
goog.object.extend(exports, proto.supervisor);
|