@aceplus/smartace-api 3.6.0-alpha.11 → 3.6.0-alpha.14
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/package.json +1 -1
- package/spic.admin_alert_pb.d.ts +91 -0
- package/spic.admin_alert_pb.js +666 -0
- package/spic.admin_alert_pb_service.d.ts +102 -0
- package/spic.admin_alert_pb_service.js +142 -0
- package/spic.alarm_pb.d.ts +336 -0
- package/spic.alarm_pb.js +2562 -0
- package/spic.alarm_pb_service.d.ts +101 -0
- package/spic.alarm_pb_service.js +141 -0
- package/spic.cabinet_pb.d.ts +0 -267
- package/spic.cabinet_pb.js +0 -1960
- package/spic.cabinet_pb_service.d.ts +0 -87
- package/spic.cabinet_pb_service.js +0 -176
package/spic.cabinet_pb.js
CHANGED
|
@@ -21,8 +21,6 @@ var global =
|
|
|
21
21
|
(function () { return this; }).call(null) ||
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
|
-
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
25
|
-
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
26
24
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
27
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
28
26
|
var platform_location_pb = require('./platform.location_pb.js');
|
|
@@ -32,16 +30,8 @@ goog.object.extend(proto, platform_pagination_pb);
|
|
|
32
30
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
33
31
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
34
32
|
goog.exportSymbol('proto.Spic.CabinetProto', null, global);
|
|
35
|
-
goog.exportSymbol('proto.Spic.CabinetProto.AdminAlerts', null, global);
|
|
36
|
-
goog.exportSymbol('proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest', null, global);
|
|
37
|
-
goog.exportSymbol('proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest', null, global);
|
|
38
|
-
goog.exportSymbol('proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest', null, global);
|
|
39
33
|
goog.exportSymbol('proto.Spic.CabinetProto.AlarmType', null, global);
|
|
40
34
|
goog.exportSymbol('proto.Spic.CabinetProto.BatteryStatus', null, global);
|
|
41
|
-
goog.exportSymbol('proto.Spic.CabinetProto.Event', null, global);
|
|
42
|
-
goog.exportSymbol('proto.Spic.CabinetProto.Event.EventType', null, global);
|
|
43
|
-
goog.exportSymbol('proto.Spic.CabinetProto.Event.SearchReply', null, global);
|
|
44
|
-
goog.exportSymbol('proto.Spic.CabinetProto.Event.SearchRequest', null, global);
|
|
45
35
|
goog.exportSymbol('proto.Spic.CabinetProto.LocationSearchReply', null, global);
|
|
46
36
|
goog.exportSymbol('proto.Spic.CabinetProto.LocationSearchRequest', null, global);
|
|
47
37
|
goog.exportSymbol('proto.Spic.CabinetProto.OpenRequest', null, global);
|
|
@@ -291,153 +281,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
291
281
|
*/
|
|
292
282
|
proto.Spic.CabinetProto.State.ExcelReportReply.displayName = 'proto.Spic.CabinetProto.State.ExcelReportReply';
|
|
293
283
|
}
|
|
294
|
-
/**
|
|
295
|
-
* Generated by JsPbCodeGenerator.
|
|
296
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
297
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
298
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
299
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
300
|
-
* valid.
|
|
301
|
-
* @extends {jspb.Message}
|
|
302
|
-
* @constructor
|
|
303
|
-
*/
|
|
304
|
-
proto.Spic.CabinetProto.Event = function(opt_data) {
|
|
305
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
306
|
-
};
|
|
307
|
-
goog.inherits(proto.Spic.CabinetProto.Event, jspb.Message);
|
|
308
|
-
if (goog.DEBUG && !COMPILED) {
|
|
309
|
-
/**
|
|
310
|
-
* @public
|
|
311
|
-
* @override
|
|
312
|
-
*/
|
|
313
|
-
proto.Spic.CabinetProto.Event.displayName = 'proto.Spic.CabinetProto.Event';
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Generated by JsPbCodeGenerator.
|
|
317
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
318
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
319
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
320
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
321
|
-
* valid.
|
|
322
|
-
* @extends {jspb.Message}
|
|
323
|
-
* @constructor
|
|
324
|
-
*/
|
|
325
|
-
proto.Spic.CabinetProto.Event.SearchRequest = function(opt_data) {
|
|
326
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.CabinetProto.Event.SearchRequest.repeatedFields_, null);
|
|
327
|
-
};
|
|
328
|
-
goog.inherits(proto.Spic.CabinetProto.Event.SearchRequest, jspb.Message);
|
|
329
|
-
if (goog.DEBUG && !COMPILED) {
|
|
330
|
-
/**
|
|
331
|
-
* @public
|
|
332
|
-
* @override
|
|
333
|
-
*/
|
|
334
|
-
proto.Spic.CabinetProto.Event.SearchRequest.displayName = 'proto.Spic.CabinetProto.Event.SearchRequest';
|
|
335
|
-
}
|
|
336
|
-
/**
|
|
337
|
-
* Generated by JsPbCodeGenerator.
|
|
338
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
339
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
340
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
341
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
342
|
-
* valid.
|
|
343
|
-
* @extends {jspb.Message}
|
|
344
|
-
* @constructor
|
|
345
|
-
*/
|
|
346
|
-
proto.Spic.CabinetProto.Event.SearchReply = function(opt_data) {
|
|
347
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.CabinetProto.Event.SearchReply.repeatedFields_, null);
|
|
348
|
-
};
|
|
349
|
-
goog.inherits(proto.Spic.CabinetProto.Event.SearchReply, jspb.Message);
|
|
350
|
-
if (goog.DEBUG && !COMPILED) {
|
|
351
|
-
/**
|
|
352
|
-
* @public
|
|
353
|
-
* @override
|
|
354
|
-
*/
|
|
355
|
-
proto.Spic.CabinetProto.Event.SearchReply.displayName = 'proto.Spic.CabinetProto.Event.SearchReply';
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* Generated by JsPbCodeGenerator.
|
|
359
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
360
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
361
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
362
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
363
|
-
* valid.
|
|
364
|
-
* @extends {jspb.Message}
|
|
365
|
-
* @constructor
|
|
366
|
-
*/
|
|
367
|
-
proto.Spic.CabinetProto.AdminAlerts = function(opt_data) {
|
|
368
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.CabinetProto.AdminAlerts.repeatedFields_, null);
|
|
369
|
-
};
|
|
370
|
-
goog.inherits(proto.Spic.CabinetProto.AdminAlerts, jspb.Message);
|
|
371
|
-
if (goog.DEBUG && !COMPILED) {
|
|
372
|
-
/**
|
|
373
|
-
* @public
|
|
374
|
-
* @override
|
|
375
|
-
*/
|
|
376
|
-
proto.Spic.CabinetProto.AdminAlerts.displayName = 'proto.Spic.CabinetProto.AdminAlerts';
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* Generated by JsPbCodeGenerator.
|
|
380
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
381
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
382
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
383
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
384
|
-
* valid.
|
|
385
|
-
* @extends {jspb.Message}
|
|
386
|
-
* @constructor
|
|
387
|
-
*/
|
|
388
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest = function(opt_data) {
|
|
389
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
390
|
-
};
|
|
391
|
-
goog.inherits(proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest, jspb.Message);
|
|
392
|
-
if (goog.DEBUG && !COMPILED) {
|
|
393
|
-
/**
|
|
394
|
-
* @public
|
|
395
|
-
* @override
|
|
396
|
-
*/
|
|
397
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.displayName = 'proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest';
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Generated by JsPbCodeGenerator.
|
|
401
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
402
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
403
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
404
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
405
|
-
* valid.
|
|
406
|
-
* @extends {jspb.Message}
|
|
407
|
-
* @constructor
|
|
408
|
-
*/
|
|
409
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest = function(opt_data) {
|
|
410
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
411
|
-
};
|
|
412
|
-
goog.inherits(proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest, jspb.Message);
|
|
413
|
-
if (goog.DEBUG && !COMPILED) {
|
|
414
|
-
/**
|
|
415
|
-
* @public
|
|
416
|
-
* @override
|
|
417
|
-
*/
|
|
418
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.displayName = 'proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest';
|
|
419
|
-
}
|
|
420
|
-
/**
|
|
421
|
-
* Generated by JsPbCodeGenerator.
|
|
422
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
423
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
424
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
425
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
426
|
-
* valid.
|
|
427
|
-
* @extends {jspb.Message}
|
|
428
|
-
* @constructor
|
|
429
|
-
*/
|
|
430
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest = function(opt_data) {
|
|
431
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
432
|
-
};
|
|
433
|
-
goog.inherits(proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest, jspb.Message);
|
|
434
|
-
if (goog.DEBUG && !COMPILED) {
|
|
435
|
-
/**
|
|
436
|
-
* @public
|
|
437
|
-
* @override
|
|
438
|
-
*/
|
|
439
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.displayName = 'proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest';
|
|
440
|
-
}
|
|
441
284
|
/**
|
|
442
285
|
* Generated by JsPbCodeGenerator.
|
|
443
286
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4110,1809 +3953,6 @@ proto.Spic.CabinetProto.State.prototype.setOpenRequestId = function(value) {
|
|
|
4110
3953
|
|
|
4111
3954
|
|
|
4112
3955
|
|
|
4113
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4114
|
-
/**
|
|
4115
|
-
* Creates an object representation of this proto.
|
|
4116
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4117
|
-
* Optional fields that are not set will be set to undefined.
|
|
4118
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4119
|
-
* For the list of reserved names please see:
|
|
4120
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4121
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4122
|
-
* JSPB instance for transitional soy proto support:
|
|
4123
|
-
* http://goto/soy-param-migration
|
|
4124
|
-
* @return {!Object}
|
|
4125
|
-
*/
|
|
4126
|
-
proto.Spic.CabinetProto.Event.prototype.toObject = function(opt_includeInstance) {
|
|
4127
|
-
return proto.Spic.CabinetProto.Event.toObject(opt_includeInstance, this);
|
|
4128
|
-
};
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
/**
|
|
4132
|
-
* Static version of the {@see toObject} method.
|
|
4133
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4134
|
-
* the JSPB instance for transitional soy proto support:
|
|
4135
|
-
* http://goto/soy-param-migration
|
|
4136
|
-
* @param {!proto.Spic.CabinetProto.Event} msg The msg instance to transform.
|
|
4137
|
-
* @return {!Object}
|
|
4138
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4139
|
-
*/
|
|
4140
|
-
proto.Spic.CabinetProto.Event.toObject = function(includeInstance, msg) {
|
|
4141
|
-
var f, obj = {
|
|
4142
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4143
|
-
startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
4144
|
-
endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
4145
|
-
cabinetId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
4146
|
-
eventType: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
4147
|
-
notificationSent: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
4148
|
-
openRequest: (f = msg.getOpenRequest()) && proto.Spic.CabinetProto.OpenRequest.toObject(includeInstance, f),
|
|
4149
|
-
detail: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
4150
|
-
};
|
|
4151
|
-
|
|
4152
|
-
if (includeInstance) {
|
|
4153
|
-
obj.$jspbMessageInstance = msg;
|
|
4154
|
-
}
|
|
4155
|
-
return obj;
|
|
4156
|
-
};
|
|
4157
|
-
}
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
/**
|
|
4161
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4162
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4163
|
-
* @return {!proto.Spic.CabinetProto.Event}
|
|
4164
|
-
*/
|
|
4165
|
-
proto.Spic.CabinetProto.Event.deserializeBinary = function(bytes) {
|
|
4166
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4167
|
-
var msg = new proto.Spic.CabinetProto.Event;
|
|
4168
|
-
return proto.Spic.CabinetProto.Event.deserializeBinaryFromReader(msg, reader);
|
|
4169
|
-
};
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
/**
|
|
4173
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4174
|
-
* given reader into the given message object.
|
|
4175
|
-
* @param {!proto.Spic.CabinetProto.Event} msg The message object to deserialize into.
|
|
4176
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4177
|
-
* @return {!proto.Spic.CabinetProto.Event}
|
|
4178
|
-
*/
|
|
4179
|
-
proto.Spic.CabinetProto.Event.deserializeBinaryFromReader = function(msg, reader) {
|
|
4180
|
-
while (reader.nextField()) {
|
|
4181
|
-
if (reader.isEndGroup()) {
|
|
4182
|
-
break;
|
|
4183
|
-
}
|
|
4184
|
-
var field = reader.getFieldNumber();
|
|
4185
|
-
switch (field) {
|
|
4186
|
-
case 1:
|
|
4187
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4188
|
-
msg.setId(value);
|
|
4189
|
-
break;
|
|
4190
|
-
case 2:
|
|
4191
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
4192
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
4193
|
-
msg.setStartDate(value);
|
|
4194
|
-
break;
|
|
4195
|
-
case 3:
|
|
4196
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
4197
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
4198
|
-
msg.setEndDate(value);
|
|
4199
|
-
break;
|
|
4200
|
-
case 4:
|
|
4201
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4202
|
-
msg.setCabinetId(value);
|
|
4203
|
-
break;
|
|
4204
|
-
case 5:
|
|
4205
|
-
var value = /** @type {!proto.Spic.CabinetProto.Event.EventType} */ (reader.readEnum());
|
|
4206
|
-
msg.setEventType(value);
|
|
4207
|
-
break;
|
|
4208
|
-
case 6:
|
|
4209
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
4210
|
-
msg.setNotificationSent(value);
|
|
4211
|
-
break;
|
|
4212
|
-
case 7:
|
|
4213
|
-
var value = new proto.Spic.CabinetProto.OpenRequest;
|
|
4214
|
-
reader.readMessage(value,proto.Spic.CabinetProto.OpenRequest.deserializeBinaryFromReader);
|
|
4215
|
-
msg.setOpenRequest(value);
|
|
4216
|
-
break;
|
|
4217
|
-
case 8:
|
|
4218
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4219
|
-
msg.setDetail(value);
|
|
4220
|
-
break;
|
|
4221
|
-
default:
|
|
4222
|
-
reader.skipField();
|
|
4223
|
-
break;
|
|
4224
|
-
}
|
|
4225
|
-
}
|
|
4226
|
-
return msg;
|
|
4227
|
-
};
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
/**
|
|
4231
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4232
|
-
* @return {!Uint8Array}
|
|
4233
|
-
*/
|
|
4234
|
-
proto.Spic.CabinetProto.Event.prototype.serializeBinary = function() {
|
|
4235
|
-
var writer = new jspb.BinaryWriter();
|
|
4236
|
-
proto.Spic.CabinetProto.Event.serializeBinaryToWriter(this, writer);
|
|
4237
|
-
return writer.getResultBuffer();
|
|
4238
|
-
};
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
/**
|
|
4242
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4243
|
-
* format), writing to the given BinaryWriter.
|
|
4244
|
-
* @param {!proto.Spic.CabinetProto.Event} message
|
|
4245
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4246
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4247
|
-
*/
|
|
4248
|
-
proto.Spic.CabinetProto.Event.serializeBinaryToWriter = function(message, writer) {
|
|
4249
|
-
var f = undefined;
|
|
4250
|
-
f = message.getId();
|
|
4251
|
-
if (f !== 0) {
|
|
4252
|
-
writer.writeInt64(
|
|
4253
|
-
1,
|
|
4254
|
-
f
|
|
4255
|
-
);
|
|
4256
|
-
}
|
|
4257
|
-
f = message.getStartDate();
|
|
4258
|
-
if (f != null) {
|
|
4259
|
-
writer.writeMessage(
|
|
4260
|
-
2,
|
|
4261
|
-
f,
|
|
4262
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
4263
|
-
);
|
|
4264
|
-
}
|
|
4265
|
-
f = message.getEndDate();
|
|
4266
|
-
if (f != null) {
|
|
4267
|
-
writer.writeMessage(
|
|
4268
|
-
3,
|
|
4269
|
-
f,
|
|
4270
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
4271
|
-
);
|
|
4272
|
-
}
|
|
4273
|
-
f = message.getCabinetId();
|
|
4274
|
-
if (f !== 0) {
|
|
4275
|
-
writer.writeInt64(
|
|
4276
|
-
4,
|
|
4277
|
-
f
|
|
4278
|
-
);
|
|
4279
|
-
}
|
|
4280
|
-
f = message.getEventType();
|
|
4281
|
-
if (f !== 0.0) {
|
|
4282
|
-
writer.writeEnum(
|
|
4283
|
-
5,
|
|
4284
|
-
f
|
|
4285
|
-
);
|
|
4286
|
-
}
|
|
4287
|
-
f = message.getNotificationSent();
|
|
4288
|
-
if (f) {
|
|
4289
|
-
writer.writeBool(
|
|
4290
|
-
6,
|
|
4291
|
-
f
|
|
4292
|
-
);
|
|
4293
|
-
}
|
|
4294
|
-
f = message.getOpenRequest();
|
|
4295
|
-
if (f != null) {
|
|
4296
|
-
writer.writeMessage(
|
|
4297
|
-
7,
|
|
4298
|
-
f,
|
|
4299
|
-
proto.Spic.CabinetProto.OpenRequest.serializeBinaryToWriter
|
|
4300
|
-
);
|
|
4301
|
-
}
|
|
4302
|
-
f = message.getDetail();
|
|
4303
|
-
if (f.length > 0) {
|
|
4304
|
-
writer.writeString(
|
|
4305
|
-
8,
|
|
4306
|
-
f
|
|
4307
|
-
);
|
|
4308
|
-
}
|
|
4309
|
-
};
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
/**
|
|
4313
|
-
* @enum {number}
|
|
4314
|
-
*/
|
|
4315
|
-
proto.Spic.CabinetProto.Event.EventType = {
|
|
4316
|
-
NO_ALARM: 0,
|
|
4317
|
-
INACTIVE_CABINET: 1,
|
|
4318
|
-
TILT: 2,
|
|
4319
|
-
BATTERY: 3,
|
|
4320
|
-
UNAUTHORIZED_ACCESS: 4,
|
|
4321
|
-
EXCEEDED_TIME: 5,
|
|
4322
|
-
UNLOCKED_CABINET: 6,
|
|
4323
|
-
LOCK_ERROR: 7,
|
|
4324
|
-
OPENING: 8,
|
|
4325
|
-
INSTALLATION: 9,
|
|
4326
|
-
MAINTENANCE: 10,
|
|
4327
|
-
EXTERNAL_IO_ERROR: 11,
|
|
4328
|
-
HIGH_TEMP: 12,
|
|
4329
|
-
CRIT_TEMP: 13,
|
|
4330
|
-
PENDING_AUTHORIZATION_OPENING: 14
|
|
4331
|
-
};
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
/**
|
|
4335
|
-
* List of repeated fields within this message type.
|
|
4336
|
-
* @private {!Array<number>}
|
|
4337
|
-
* @const
|
|
4338
|
-
*/
|
|
4339
|
-
proto.Spic.CabinetProto.Event.SearchRequest.repeatedFields_ = [3];
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4344
|
-
/**
|
|
4345
|
-
* Creates an object representation of this proto.
|
|
4346
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4347
|
-
* Optional fields that are not set will be set to undefined.
|
|
4348
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4349
|
-
* For the list of reserved names please see:
|
|
4350
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4351
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4352
|
-
* JSPB instance for transitional soy proto support:
|
|
4353
|
-
* http://goto/soy-param-migration
|
|
4354
|
-
* @return {!Object}
|
|
4355
|
-
*/
|
|
4356
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4357
|
-
return proto.Spic.CabinetProto.Event.SearchRequest.toObject(opt_includeInstance, this);
|
|
4358
|
-
};
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
/**
|
|
4362
|
-
* Static version of the {@see toObject} method.
|
|
4363
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4364
|
-
* the JSPB instance for transitional soy proto support:
|
|
4365
|
-
* http://goto/soy-param-migration
|
|
4366
|
-
* @param {!proto.Spic.CabinetProto.Event.SearchRequest} msg The msg instance to transform.
|
|
4367
|
-
* @return {!Object}
|
|
4368
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4369
|
-
*/
|
|
4370
|
-
proto.Spic.CabinetProto.Event.SearchRequest.toObject = function(includeInstance, msg) {
|
|
4371
|
-
var f, obj = {
|
|
4372
|
-
cabinetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4373
|
-
active: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4374
|
-
eventTypeList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
4375
|
-
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
4376
|
-
count: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
4377
|
-
descorder: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
4378
|
-
dateFrom: (f = msg.getDateFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
4379
|
-
dateTo: (f = msg.getDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
4380
|
-
};
|
|
4381
|
-
|
|
4382
|
-
if (includeInstance) {
|
|
4383
|
-
obj.$jspbMessageInstance = msg;
|
|
4384
|
-
}
|
|
4385
|
-
return obj;
|
|
4386
|
-
};
|
|
4387
|
-
}
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
/**
|
|
4391
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4392
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4393
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest}
|
|
4394
|
-
*/
|
|
4395
|
-
proto.Spic.CabinetProto.Event.SearchRequest.deserializeBinary = function(bytes) {
|
|
4396
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4397
|
-
var msg = new proto.Spic.CabinetProto.Event.SearchRequest;
|
|
4398
|
-
return proto.Spic.CabinetProto.Event.SearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
4399
|
-
};
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
/**
|
|
4403
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4404
|
-
* given reader into the given message object.
|
|
4405
|
-
* @param {!proto.Spic.CabinetProto.Event.SearchRequest} msg The message object to deserialize into.
|
|
4406
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4407
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest}
|
|
4408
|
-
*/
|
|
4409
|
-
proto.Spic.CabinetProto.Event.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4410
|
-
while (reader.nextField()) {
|
|
4411
|
-
if (reader.isEndGroup()) {
|
|
4412
|
-
break;
|
|
4413
|
-
}
|
|
4414
|
-
var field = reader.getFieldNumber();
|
|
4415
|
-
switch (field) {
|
|
4416
|
-
case 1:
|
|
4417
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4418
|
-
msg.setCabinetId(value);
|
|
4419
|
-
break;
|
|
4420
|
-
case 2:
|
|
4421
|
-
var value = /** @type {!proto.Platform.BooleanFilterType} */ (reader.readEnum());
|
|
4422
|
-
msg.setActive(value);
|
|
4423
|
-
break;
|
|
4424
|
-
case 3:
|
|
4425
|
-
var values = /** @type {!Array<!proto.Spic.CabinetProto.Event.EventType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
4426
|
-
for (var i = 0; i < values.length; i++) {
|
|
4427
|
-
msg.addEventType(values[i]);
|
|
4428
|
-
}
|
|
4429
|
-
break;
|
|
4430
|
-
case 4:
|
|
4431
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
4432
|
-
msg.setPage(value);
|
|
4433
|
-
break;
|
|
4434
|
-
case 5:
|
|
4435
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
4436
|
-
msg.setCount(value);
|
|
4437
|
-
break;
|
|
4438
|
-
case 6:
|
|
4439
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
4440
|
-
msg.setDescorder(value);
|
|
4441
|
-
break;
|
|
4442
|
-
case 7:
|
|
4443
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
4444
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
4445
|
-
msg.setDateFrom(value);
|
|
4446
|
-
break;
|
|
4447
|
-
case 8:
|
|
4448
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
4449
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
4450
|
-
msg.setDateTo(value);
|
|
4451
|
-
break;
|
|
4452
|
-
default:
|
|
4453
|
-
reader.skipField();
|
|
4454
|
-
break;
|
|
4455
|
-
}
|
|
4456
|
-
}
|
|
4457
|
-
return msg;
|
|
4458
|
-
};
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
/**
|
|
4462
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4463
|
-
* @return {!Uint8Array}
|
|
4464
|
-
*/
|
|
4465
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.serializeBinary = function() {
|
|
4466
|
-
var writer = new jspb.BinaryWriter();
|
|
4467
|
-
proto.Spic.CabinetProto.Event.SearchRequest.serializeBinaryToWriter(this, writer);
|
|
4468
|
-
return writer.getResultBuffer();
|
|
4469
|
-
};
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
/**
|
|
4473
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4474
|
-
* format), writing to the given BinaryWriter.
|
|
4475
|
-
* @param {!proto.Spic.CabinetProto.Event.SearchRequest} message
|
|
4476
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4477
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4478
|
-
*/
|
|
4479
|
-
proto.Spic.CabinetProto.Event.SearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4480
|
-
var f = undefined;
|
|
4481
|
-
f = message.getCabinetId();
|
|
4482
|
-
if (f !== 0) {
|
|
4483
|
-
writer.writeInt64(
|
|
4484
|
-
1,
|
|
4485
|
-
f
|
|
4486
|
-
);
|
|
4487
|
-
}
|
|
4488
|
-
f = message.getActive();
|
|
4489
|
-
if (f !== 0.0) {
|
|
4490
|
-
writer.writeEnum(
|
|
4491
|
-
2,
|
|
4492
|
-
f
|
|
4493
|
-
);
|
|
4494
|
-
}
|
|
4495
|
-
f = message.getEventTypeList();
|
|
4496
|
-
if (f.length > 0) {
|
|
4497
|
-
writer.writePackedEnum(
|
|
4498
|
-
3,
|
|
4499
|
-
f
|
|
4500
|
-
);
|
|
4501
|
-
}
|
|
4502
|
-
f = message.getPage();
|
|
4503
|
-
if (f !== 0) {
|
|
4504
|
-
writer.writeInt32(
|
|
4505
|
-
4,
|
|
4506
|
-
f
|
|
4507
|
-
);
|
|
4508
|
-
}
|
|
4509
|
-
f = message.getCount();
|
|
4510
|
-
if (f !== 0) {
|
|
4511
|
-
writer.writeInt32(
|
|
4512
|
-
5,
|
|
4513
|
-
f
|
|
4514
|
-
);
|
|
4515
|
-
}
|
|
4516
|
-
f = message.getDescorder();
|
|
4517
|
-
if (f) {
|
|
4518
|
-
writer.writeBool(
|
|
4519
|
-
6,
|
|
4520
|
-
f
|
|
4521
|
-
);
|
|
4522
|
-
}
|
|
4523
|
-
f = message.getDateFrom();
|
|
4524
|
-
if (f != null) {
|
|
4525
|
-
writer.writeMessage(
|
|
4526
|
-
7,
|
|
4527
|
-
f,
|
|
4528
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
4529
|
-
);
|
|
4530
|
-
}
|
|
4531
|
-
f = message.getDateTo();
|
|
4532
|
-
if (f != null) {
|
|
4533
|
-
writer.writeMessage(
|
|
4534
|
-
8,
|
|
4535
|
-
f,
|
|
4536
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
4537
|
-
);
|
|
4538
|
-
}
|
|
4539
|
-
};
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
/**
|
|
4543
|
-
* optional int64 cabinet_id = 1;
|
|
4544
|
-
* @return {number}
|
|
4545
|
-
*/
|
|
4546
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getCabinetId = function() {
|
|
4547
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4548
|
-
};
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
/**
|
|
4552
|
-
* @param {number} value
|
|
4553
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4554
|
-
*/
|
|
4555
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setCabinetId = function(value) {
|
|
4556
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4557
|
-
};
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
/**
|
|
4561
|
-
* optional Platform.BooleanFilterType active = 2;
|
|
4562
|
-
* @return {!proto.Platform.BooleanFilterType}
|
|
4563
|
-
*/
|
|
4564
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getActive = function() {
|
|
4565
|
-
return /** @type {!proto.Platform.BooleanFilterType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4566
|
-
};
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
/**
|
|
4570
|
-
* @param {!proto.Platform.BooleanFilterType} value
|
|
4571
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4572
|
-
*/
|
|
4573
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setActive = function(value) {
|
|
4574
|
-
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
4575
|
-
};
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
/**
|
|
4579
|
-
* repeated EventType event_type = 3;
|
|
4580
|
-
* @return {!Array<!proto.Spic.CabinetProto.Event.EventType>}
|
|
4581
|
-
*/
|
|
4582
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getEventTypeList = function() {
|
|
4583
|
-
return /** @type {!Array<!proto.Spic.CabinetProto.Event.EventType>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
4584
|
-
};
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
/**
|
|
4588
|
-
* @param {!Array<!proto.Spic.CabinetProto.Event.EventType>} value
|
|
4589
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4590
|
-
*/
|
|
4591
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setEventTypeList = function(value) {
|
|
4592
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
4593
|
-
};
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
/**
|
|
4597
|
-
* @param {!proto.Spic.CabinetProto.Event.EventType} value
|
|
4598
|
-
* @param {number=} opt_index
|
|
4599
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4600
|
-
*/
|
|
4601
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.addEventType = function(value, opt_index) {
|
|
4602
|
-
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
4603
|
-
};
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
/**
|
|
4607
|
-
* Clears the list making it empty but non-null.
|
|
4608
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4609
|
-
*/
|
|
4610
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.clearEventTypeList = function() {
|
|
4611
|
-
return this.setEventTypeList([]);
|
|
4612
|
-
};
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
/**
|
|
4616
|
-
* optional int32 page = 4;
|
|
4617
|
-
* @return {number}
|
|
4618
|
-
*/
|
|
4619
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getPage = function() {
|
|
4620
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4621
|
-
};
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
/**
|
|
4625
|
-
* @param {number} value
|
|
4626
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4627
|
-
*/
|
|
4628
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setPage = function(value) {
|
|
4629
|
-
return jspb.Message.setProto3IntField(this, 4, value);
|
|
4630
|
-
};
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
/**
|
|
4634
|
-
* optional int32 count = 5;
|
|
4635
|
-
* @return {number}
|
|
4636
|
-
*/
|
|
4637
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getCount = function() {
|
|
4638
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
4639
|
-
};
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
/**
|
|
4643
|
-
* @param {number} value
|
|
4644
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4645
|
-
*/
|
|
4646
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setCount = function(value) {
|
|
4647
|
-
return jspb.Message.setProto3IntField(this, 5, value);
|
|
4648
|
-
};
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
/**
|
|
4652
|
-
* optional bool descOrder = 6;
|
|
4653
|
-
* @return {boolean}
|
|
4654
|
-
*/
|
|
4655
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getDescorder = function() {
|
|
4656
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
4657
|
-
};
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
/**
|
|
4661
|
-
* @param {boolean} value
|
|
4662
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4663
|
-
*/
|
|
4664
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setDescorder = function(value) {
|
|
4665
|
-
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
4666
|
-
};
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
/**
|
|
4670
|
-
* optional google.protobuf.Timestamp date_from = 7;
|
|
4671
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
4672
|
-
*/
|
|
4673
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getDateFrom = function() {
|
|
4674
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
4675
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
4676
|
-
};
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
/**
|
|
4680
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
4681
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4682
|
-
*/
|
|
4683
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setDateFrom = function(value) {
|
|
4684
|
-
return jspb.Message.setWrapperField(this, 7, value);
|
|
4685
|
-
};
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
/**
|
|
4689
|
-
* Clears the message field making it undefined.
|
|
4690
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4691
|
-
*/
|
|
4692
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.clearDateFrom = function() {
|
|
4693
|
-
return this.setDateFrom(undefined);
|
|
4694
|
-
};
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
/**
|
|
4698
|
-
* Returns whether this field is set.
|
|
4699
|
-
* @return {boolean}
|
|
4700
|
-
*/
|
|
4701
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.hasDateFrom = function() {
|
|
4702
|
-
return jspb.Message.getField(this, 7) != null;
|
|
4703
|
-
};
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
/**
|
|
4707
|
-
* optional google.protobuf.Timestamp date_to = 8;
|
|
4708
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
4709
|
-
*/
|
|
4710
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getDateTo = function() {
|
|
4711
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
4712
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
|
4713
|
-
};
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
/**
|
|
4717
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
4718
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4719
|
-
*/
|
|
4720
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setDateTo = function(value) {
|
|
4721
|
-
return jspb.Message.setWrapperField(this, 8, value);
|
|
4722
|
-
};
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
/**
|
|
4726
|
-
* Clears the message field making it undefined.
|
|
4727
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
4728
|
-
*/
|
|
4729
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.clearDateTo = function() {
|
|
4730
|
-
return this.setDateTo(undefined);
|
|
4731
|
-
};
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
/**
|
|
4735
|
-
* Returns whether this field is set.
|
|
4736
|
-
* @return {boolean}
|
|
4737
|
-
*/
|
|
4738
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.hasDateTo = function() {
|
|
4739
|
-
return jspb.Message.getField(this, 8) != null;
|
|
4740
|
-
};
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
/**
|
|
4745
|
-
* List of repeated fields within this message type.
|
|
4746
|
-
* @private {!Array<number>}
|
|
4747
|
-
* @const
|
|
4748
|
-
*/
|
|
4749
|
-
proto.Spic.CabinetProto.Event.SearchReply.repeatedFields_ = [1];
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4754
|
-
/**
|
|
4755
|
-
* Creates an object representation of this proto.
|
|
4756
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4757
|
-
* Optional fields that are not set will be set to undefined.
|
|
4758
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4759
|
-
* For the list of reserved names please see:
|
|
4760
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4761
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4762
|
-
* JSPB instance for transitional soy proto support:
|
|
4763
|
-
* http://goto/soy-param-migration
|
|
4764
|
-
* @return {!Object}
|
|
4765
|
-
*/
|
|
4766
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.toObject = function(opt_includeInstance) {
|
|
4767
|
-
return proto.Spic.CabinetProto.Event.SearchReply.toObject(opt_includeInstance, this);
|
|
4768
|
-
};
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
/**
|
|
4772
|
-
* Static version of the {@see toObject} method.
|
|
4773
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4774
|
-
* the JSPB instance for transitional soy proto support:
|
|
4775
|
-
* http://goto/soy-param-migration
|
|
4776
|
-
* @param {!proto.Spic.CabinetProto.Event.SearchReply} msg The msg instance to transform.
|
|
4777
|
-
* @return {!Object}
|
|
4778
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4779
|
-
*/
|
|
4780
|
-
proto.Spic.CabinetProto.Event.SearchReply.toObject = function(includeInstance, msg) {
|
|
4781
|
-
var f, obj = {
|
|
4782
|
-
eventsList: jspb.Message.toObjectList(msg.getEventsList(),
|
|
4783
|
-
proto.Spic.CabinetProto.Event.toObject, includeInstance),
|
|
4784
|
-
pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
|
|
4785
|
-
};
|
|
4786
|
-
|
|
4787
|
-
if (includeInstance) {
|
|
4788
|
-
obj.$jspbMessageInstance = msg;
|
|
4789
|
-
}
|
|
4790
|
-
return obj;
|
|
4791
|
-
};
|
|
4792
|
-
}
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
/**
|
|
4796
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4797
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4798
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchReply}
|
|
4799
|
-
*/
|
|
4800
|
-
proto.Spic.CabinetProto.Event.SearchReply.deserializeBinary = function(bytes) {
|
|
4801
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4802
|
-
var msg = new proto.Spic.CabinetProto.Event.SearchReply;
|
|
4803
|
-
return proto.Spic.CabinetProto.Event.SearchReply.deserializeBinaryFromReader(msg, reader);
|
|
4804
|
-
};
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
/**
|
|
4808
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4809
|
-
* given reader into the given message object.
|
|
4810
|
-
* @param {!proto.Spic.CabinetProto.Event.SearchReply} msg The message object to deserialize into.
|
|
4811
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4812
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchReply}
|
|
4813
|
-
*/
|
|
4814
|
-
proto.Spic.CabinetProto.Event.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
4815
|
-
while (reader.nextField()) {
|
|
4816
|
-
if (reader.isEndGroup()) {
|
|
4817
|
-
break;
|
|
4818
|
-
}
|
|
4819
|
-
var field = reader.getFieldNumber();
|
|
4820
|
-
switch (field) {
|
|
4821
|
-
case 1:
|
|
4822
|
-
var value = new proto.Spic.CabinetProto.Event;
|
|
4823
|
-
reader.readMessage(value,proto.Spic.CabinetProto.Event.deserializeBinaryFromReader);
|
|
4824
|
-
msg.addEvents(value);
|
|
4825
|
-
break;
|
|
4826
|
-
case 2:
|
|
4827
|
-
var value = new platform_pagination_pb.PaginationProto;
|
|
4828
|
-
reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
|
|
4829
|
-
msg.setPagination(value);
|
|
4830
|
-
break;
|
|
4831
|
-
default:
|
|
4832
|
-
reader.skipField();
|
|
4833
|
-
break;
|
|
4834
|
-
}
|
|
4835
|
-
}
|
|
4836
|
-
return msg;
|
|
4837
|
-
};
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
/**
|
|
4841
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4842
|
-
* @return {!Uint8Array}
|
|
4843
|
-
*/
|
|
4844
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.serializeBinary = function() {
|
|
4845
|
-
var writer = new jspb.BinaryWriter();
|
|
4846
|
-
proto.Spic.CabinetProto.Event.SearchReply.serializeBinaryToWriter(this, writer);
|
|
4847
|
-
return writer.getResultBuffer();
|
|
4848
|
-
};
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
/**
|
|
4852
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4853
|
-
* format), writing to the given BinaryWriter.
|
|
4854
|
-
* @param {!proto.Spic.CabinetProto.Event.SearchReply} message
|
|
4855
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4856
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4857
|
-
*/
|
|
4858
|
-
proto.Spic.CabinetProto.Event.SearchReply.serializeBinaryToWriter = function(message, writer) {
|
|
4859
|
-
var f = undefined;
|
|
4860
|
-
f = message.getEventsList();
|
|
4861
|
-
if (f.length > 0) {
|
|
4862
|
-
writer.writeRepeatedMessage(
|
|
4863
|
-
1,
|
|
4864
|
-
f,
|
|
4865
|
-
proto.Spic.CabinetProto.Event.serializeBinaryToWriter
|
|
4866
|
-
);
|
|
4867
|
-
}
|
|
4868
|
-
f = message.getPagination();
|
|
4869
|
-
if (f != null) {
|
|
4870
|
-
writer.writeMessage(
|
|
4871
|
-
2,
|
|
4872
|
-
f,
|
|
4873
|
-
platform_pagination_pb.PaginationProto.serializeBinaryToWriter
|
|
4874
|
-
);
|
|
4875
|
-
}
|
|
4876
|
-
};
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
/**
|
|
4880
|
-
* repeated Event events = 1;
|
|
4881
|
-
* @return {!Array<!proto.Spic.CabinetProto.Event>}
|
|
4882
|
-
*/
|
|
4883
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.getEventsList = function() {
|
|
4884
|
-
return /** @type{!Array<!proto.Spic.CabinetProto.Event>} */ (
|
|
4885
|
-
jspb.Message.getRepeatedWrapperField(this, proto.Spic.CabinetProto.Event, 1));
|
|
4886
|
-
};
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
/**
|
|
4890
|
-
* @param {!Array<!proto.Spic.CabinetProto.Event>} value
|
|
4891
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchReply} returns this
|
|
4892
|
-
*/
|
|
4893
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.setEventsList = function(value) {
|
|
4894
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4895
|
-
};
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
/**
|
|
4899
|
-
* @param {!proto.Spic.CabinetProto.Event=} opt_value
|
|
4900
|
-
* @param {number=} opt_index
|
|
4901
|
-
* @return {!proto.Spic.CabinetProto.Event}
|
|
4902
|
-
*/
|
|
4903
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.addEvents = function(opt_value, opt_index) {
|
|
4904
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Spic.CabinetProto.Event, opt_index);
|
|
4905
|
-
};
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
/**
|
|
4909
|
-
* Clears the list making it empty but non-null.
|
|
4910
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchReply} returns this
|
|
4911
|
-
*/
|
|
4912
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.clearEventsList = function() {
|
|
4913
|
-
return this.setEventsList([]);
|
|
4914
|
-
};
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
/**
|
|
4918
|
-
* optional Platform.PaginationProto pagination = 2;
|
|
4919
|
-
* @return {?proto.Platform.PaginationProto}
|
|
4920
|
-
*/
|
|
4921
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.getPagination = function() {
|
|
4922
|
-
return /** @type{?proto.Platform.PaginationProto} */ (
|
|
4923
|
-
jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
|
|
4924
|
-
};
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
/**
|
|
4928
|
-
* @param {?proto.Platform.PaginationProto|undefined} value
|
|
4929
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchReply} returns this
|
|
4930
|
-
*/
|
|
4931
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.setPagination = function(value) {
|
|
4932
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
4933
|
-
};
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
/**
|
|
4937
|
-
* Clears the message field making it undefined.
|
|
4938
|
-
* @return {!proto.Spic.CabinetProto.Event.SearchReply} returns this
|
|
4939
|
-
*/
|
|
4940
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.clearPagination = function() {
|
|
4941
|
-
return this.setPagination(undefined);
|
|
4942
|
-
};
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
/**
|
|
4946
|
-
* Returns whether this field is set.
|
|
4947
|
-
* @return {boolean}
|
|
4948
|
-
*/
|
|
4949
|
-
proto.Spic.CabinetProto.Event.SearchReply.prototype.hasPagination = function() {
|
|
4950
|
-
return jspb.Message.getField(this, 2) != null;
|
|
4951
|
-
};
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
/**
|
|
4955
|
-
* optional int64 id = 1;
|
|
4956
|
-
* @return {number}
|
|
4957
|
-
*/
|
|
4958
|
-
proto.Spic.CabinetProto.Event.prototype.getId = function() {
|
|
4959
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4960
|
-
};
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
/**
|
|
4964
|
-
* @param {number} value
|
|
4965
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
4966
|
-
*/
|
|
4967
|
-
proto.Spic.CabinetProto.Event.prototype.setId = function(value) {
|
|
4968
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4969
|
-
};
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
/**
|
|
4973
|
-
* optional google.protobuf.Timestamp start_date = 2;
|
|
4974
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
4975
|
-
*/
|
|
4976
|
-
proto.Spic.CabinetProto.Event.prototype.getStartDate = function() {
|
|
4977
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
4978
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
4979
|
-
};
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
/**
|
|
4983
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
4984
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
4985
|
-
*/
|
|
4986
|
-
proto.Spic.CabinetProto.Event.prototype.setStartDate = function(value) {
|
|
4987
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
4988
|
-
};
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
/**
|
|
4992
|
-
* Clears the message field making it undefined.
|
|
4993
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
4994
|
-
*/
|
|
4995
|
-
proto.Spic.CabinetProto.Event.prototype.clearStartDate = function() {
|
|
4996
|
-
return this.setStartDate(undefined);
|
|
4997
|
-
};
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
/**
|
|
5001
|
-
* Returns whether this field is set.
|
|
5002
|
-
* @return {boolean}
|
|
5003
|
-
*/
|
|
5004
|
-
proto.Spic.CabinetProto.Event.prototype.hasStartDate = function() {
|
|
5005
|
-
return jspb.Message.getField(this, 2) != null;
|
|
5006
|
-
};
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
/**
|
|
5010
|
-
* optional google.protobuf.Timestamp end_date = 3;
|
|
5011
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
5012
|
-
*/
|
|
5013
|
-
proto.Spic.CabinetProto.Event.prototype.getEndDate = function() {
|
|
5014
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
5015
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
5016
|
-
};
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
/**
|
|
5020
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
5021
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
5022
|
-
*/
|
|
5023
|
-
proto.Spic.CabinetProto.Event.prototype.setEndDate = function(value) {
|
|
5024
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
5025
|
-
};
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
/**
|
|
5029
|
-
* Clears the message field making it undefined.
|
|
5030
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
5031
|
-
*/
|
|
5032
|
-
proto.Spic.CabinetProto.Event.prototype.clearEndDate = function() {
|
|
5033
|
-
return this.setEndDate(undefined);
|
|
5034
|
-
};
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
/**
|
|
5038
|
-
* Returns whether this field is set.
|
|
5039
|
-
* @return {boolean}
|
|
5040
|
-
*/
|
|
5041
|
-
proto.Spic.CabinetProto.Event.prototype.hasEndDate = function() {
|
|
5042
|
-
return jspb.Message.getField(this, 3) != null;
|
|
5043
|
-
};
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
/**
|
|
5047
|
-
* optional int64 cabinet_id = 4;
|
|
5048
|
-
* @return {number}
|
|
5049
|
-
*/
|
|
5050
|
-
proto.Spic.CabinetProto.Event.prototype.getCabinetId = function() {
|
|
5051
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
5052
|
-
};
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
/**
|
|
5056
|
-
* @param {number} value
|
|
5057
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
5058
|
-
*/
|
|
5059
|
-
proto.Spic.CabinetProto.Event.prototype.setCabinetId = function(value) {
|
|
5060
|
-
return jspb.Message.setProto3IntField(this, 4, value);
|
|
5061
|
-
};
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
/**
|
|
5065
|
-
* optional EventType event_type = 5;
|
|
5066
|
-
* @return {!proto.Spic.CabinetProto.Event.EventType}
|
|
5067
|
-
*/
|
|
5068
|
-
proto.Spic.CabinetProto.Event.prototype.getEventType = function() {
|
|
5069
|
-
return /** @type {!proto.Spic.CabinetProto.Event.EventType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
5070
|
-
};
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
/**
|
|
5074
|
-
* @param {!proto.Spic.CabinetProto.Event.EventType} value
|
|
5075
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
5076
|
-
*/
|
|
5077
|
-
proto.Spic.CabinetProto.Event.prototype.setEventType = function(value) {
|
|
5078
|
-
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
5079
|
-
};
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
/**
|
|
5083
|
-
* optional bool notification_sent = 6;
|
|
5084
|
-
* @return {boolean}
|
|
5085
|
-
*/
|
|
5086
|
-
proto.Spic.CabinetProto.Event.prototype.getNotificationSent = function() {
|
|
5087
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
5088
|
-
};
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
/**
|
|
5092
|
-
* @param {boolean} value
|
|
5093
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
5094
|
-
*/
|
|
5095
|
-
proto.Spic.CabinetProto.Event.prototype.setNotificationSent = function(value) {
|
|
5096
|
-
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
5097
|
-
};
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
/**
|
|
5101
|
-
* optional OpenRequest open_request = 7;
|
|
5102
|
-
* @return {?proto.Spic.CabinetProto.OpenRequest}
|
|
5103
|
-
*/
|
|
5104
|
-
proto.Spic.CabinetProto.Event.prototype.getOpenRequest = function() {
|
|
5105
|
-
return /** @type{?proto.Spic.CabinetProto.OpenRequest} */ (
|
|
5106
|
-
jspb.Message.getWrapperField(this, proto.Spic.CabinetProto.OpenRequest, 7));
|
|
5107
|
-
};
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
/**
|
|
5111
|
-
* @param {?proto.Spic.CabinetProto.OpenRequest|undefined} value
|
|
5112
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
5113
|
-
*/
|
|
5114
|
-
proto.Spic.CabinetProto.Event.prototype.setOpenRequest = function(value) {
|
|
5115
|
-
return jspb.Message.setWrapperField(this, 7, value);
|
|
5116
|
-
};
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
/**
|
|
5120
|
-
* Clears the message field making it undefined.
|
|
5121
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
5122
|
-
*/
|
|
5123
|
-
proto.Spic.CabinetProto.Event.prototype.clearOpenRequest = function() {
|
|
5124
|
-
return this.setOpenRequest(undefined);
|
|
5125
|
-
};
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
/**
|
|
5129
|
-
* Returns whether this field is set.
|
|
5130
|
-
* @return {boolean}
|
|
5131
|
-
*/
|
|
5132
|
-
proto.Spic.CabinetProto.Event.prototype.hasOpenRequest = function() {
|
|
5133
|
-
return jspb.Message.getField(this, 7) != null;
|
|
5134
|
-
};
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
/**
|
|
5138
|
-
* optional string detail = 8;
|
|
5139
|
-
* @return {string}
|
|
5140
|
-
*/
|
|
5141
|
-
proto.Spic.CabinetProto.Event.prototype.getDetail = function() {
|
|
5142
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5143
|
-
};
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
/**
|
|
5147
|
-
* @param {string} value
|
|
5148
|
-
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
5149
|
-
*/
|
|
5150
|
-
proto.Spic.CabinetProto.Event.prototype.setDetail = function(value) {
|
|
5151
|
-
return jspb.Message.setProto3StringField(this, 8, value);
|
|
5152
|
-
};
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
/**
|
|
5157
|
-
* List of repeated fields within this message type.
|
|
5158
|
-
* @private {!Array<number>}
|
|
5159
|
-
* @const
|
|
5160
|
-
*/
|
|
5161
|
-
proto.Spic.CabinetProto.AdminAlerts.repeatedFields_ = [3];
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5166
|
-
/**
|
|
5167
|
-
* Creates an object representation of this proto.
|
|
5168
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5169
|
-
* Optional fields that are not set will be set to undefined.
|
|
5170
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5171
|
-
* For the list of reserved names please see:
|
|
5172
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5173
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5174
|
-
* JSPB instance for transitional soy proto support:
|
|
5175
|
-
* http://goto/soy-param-migration
|
|
5176
|
-
* @return {!Object}
|
|
5177
|
-
*/
|
|
5178
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.toObject = function(opt_includeInstance) {
|
|
5179
|
-
return proto.Spic.CabinetProto.AdminAlerts.toObject(opt_includeInstance, this);
|
|
5180
|
-
};
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
/**
|
|
5184
|
-
* Static version of the {@see toObject} method.
|
|
5185
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5186
|
-
* the JSPB instance for transitional soy proto support:
|
|
5187
|
-
* http://goto/soy-param-migration
|
|
5188
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts} msg The msg instance to transform.
|
|
5189
|
-
* @return {!Object}
|
|
5190
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5191
|
-
*/
|
|
5192
|
-
proto.Spic.CabinetProto.AdminAlerts.toObject = function(includeInstance, msg) {
|
|
5193
|
-
var f, obj = {
|
|
5194
|
-
cabinetid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5195
|
-
accountid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5196
|
-
subscribedEventsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5197
|
-
};
|
|
5198
|
-
|
|
5199
|
-
if (includeInstance) {
|
|
5200
|
-
obj.$jspbMessageInstance = msg;
|
|
5201
|
-
}
|
|
5202
|
-
return obj;
|
|
5203
|
-
};
|
|
5204
|
-
}
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
/**
|
|
5208
|
-
* Deserializes binary data (in protobuf wire format).
|
|
5209
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5210
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts}
|
|
5211
|
-
*/
|
|
5212
|
-
proto.Spic.CabinetProto.AdminAlerts.deserializeBinary = function(bytes) {
|
|
5213
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
5214
|
-
var msg = new proto.Spic.CabinetProto.AdminAlerts;
|
|
5215
|
-
return proto.Spic.CabinetProto.AdminAlerts.deserializeBinaryFromReader(msg, reader);
|
|
5216
|
-
};
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
/**
|
|
5220
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
5221
|
-
* given reader into the given message object.
|
|
5222
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts} msg The message object to deserialize into.
|
|
5223
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5224
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts}
|
|
5225
|
-
*/
|
|
5226
|
-
proto.Spic.CabinetProto.AdminAlerts.deserializeBinaryFromReader = function(msg, reader) {
|
|
5227
|
-
while (reader.nextField()) {
|
|
5228
|
-
if (reader.isEndGroup()) {
|
|
5229
|
-
break;
|
|
5230
|
-
}
|
|
5231
|
-
var field = reader.getFieldNumber();
|
|
5232
|
-
switch (field) {
|
|
5233
|
-
case 1:
|
|
5234
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
5235
|
-
msg.setCabinetid(value);
|
|
5236
|
-
break;
|
|
5237
|
-
case 2:
|
|
5238
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
5239
|
-
msg.setAccountid(value);
|
|
5240
|
-
break;
|
|
5241
|
-
case 3:
|
|
5242
|
-
var values = /** @type {!Array<!proto.Spic.CabinetProto.Event.EventType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
5243
|
-
for (var i = 0; i < values.length; i++) {
|
|
5244
|
-
msg.addSubscribedEvents(values[i]);
|
|
5245
|
-
}
|
|
5246
|
-
break;
|
|
5247
|
-
default:
|
|
5248
|
-
reader.skipField();
|
|
5249
|
-
break;
|
|
5250
|
-
}
|
|
5251
|
-
}
|
|
5252
|
-
return msg;
|
|
5253
|
-
};
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
/**
|
|
5257
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
5258
|
-
* @return {!Uint8Array}
|
|
5259
|
-
*/
|
|
5260
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.serializeBinary = function() {
|
|
5261
|
-
var writer = new jspb.BinaryWriter();
|
|
5262
|
-
proto.Spic.CabinetProto.AdminAlerts.serializeBinaryToWriter(this, writer);
|
|
5263
|
-
return writer.getResultBuffer();
|
|
5264
|
-
};
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
/**
|
|
5268
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
5269
|
-
* format), writing to the given BinaryWriter.
|
|
5270
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts} message
|
|
5271
|
-
* @param {!jspb.BinaryWriter} writer
|
|
5272
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5273
|
-
*/
|
|
5274
|
-
proto.Spic.CabinetProto.AdminAlerts.serializeBinaryToWriter = function(message, writer) {
|
|
5275
|
-
var f = undefined;
|
|
5276
|
-
f = message.getCabinetid();
|
|
5277
|
-
if (f !== 0) {
|
|
5278
|
-
writer.writeInt64(
|
|
5279
|
-
1,
|
|
5280
|
-
f
|
|
5281
|
-
);
|
|
5282
|
-
}
|
|
5283
|
-
f = message.getAccountid();
|
|
5284
|
-
if (f !== 0) {
|
|
5285
|
-
writer.writeInt64(
|
|
5286
|
-
2,
|
|
5287
|
-
f
|
|
5288
|
-
);
|
|
5289
|
-
}
|
|
5290
|
-
f = message.getSubscribedEventsList();
|
|
5291
|
-
if (f.length > 0) {
|
|
5292
|
-
writer.writePackedEnum(
|
|
5293
|
-
3,
|
|
5294
|
-
f
|
|
5295
|
-
);
|
|
5296
|
-
}
|
|
5297
|
-
};
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5304
|
-
/**
|
|
5305
|
-
* Creates an object representation of this proto.
|
|
5306
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5307
|
-
* Optional fields that are not set will be set to undefined.
|
|
5308
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5309
|
-
* For the list of reserved names please see:
|
|
5310
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5311
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5312
|
-
* JSPB instance for transitional soy proto support:
|
|
5313
|
-
* http://goto/soy-param-migration
|
|
5314
|
-
* @return {!Object}
|
|
5315
|
-
*/
|
|
5316
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5317
|
-
return proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.toObject(opt_includeInstance, this);
|
|
5318
|
-
};
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
/**
|
|
5322
|
-
* Static version of the {@see toObject} method.
|
|
5323
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5324
|
-
* the JSPB instance for transitional soy proto support:
|
|
5325
|
-
* http://goto/soy-param-migration
|
|
5326
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest} msg The msg instance to transform.
|
|
5327
|
-
* @return {!Object}
|
|
5328
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5329
|
-
*/
|
|
5330
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.toObject = function(includeInstance, msg) {
|
|
5331
|
-
var f, obj = {
|
|
5332
|
-
cabinetid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5333
|
-
accountid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
5334
|
-
};
|
|
5335
|
-
|
|
5336
|
-
if (includeInstance) {
|
|
5337
|
-
obj.$jspbMessageInstance = msg;
|
|
5338
|
-
}
|
|
5339
|
-
return obj;
|
|
5340
|
-
};
|
|
5341
|
-
}
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
/**
|
|
5345
|
-
* Deserializes binary data (in protobuf wire format).
|
|
5346
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5347
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest}
|
|
5348
|
-
*/
|
|
5349
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.deserializeBinary = function(bytes) {
|
|
5350
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
5351
|
-
var msg = new proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest;
|
|
5352
|
-
return proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.deserializeBinaryFromReader(msg, reader);
|
|
5353
|
-
};
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
/**
|
|
5357
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
5358
|
-
* given reader into the given message object.
|
|
5359
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest} msg The message object to deserialize into.
|
|
5360
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5361
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest}
|
|
5362
|
-
*/
|
|
5363
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5364
|
-
while (reader.nextField()) {
|
|
5365
|
-
if (reader.isEndGroup()) {
|
|
5366
|
-
break;
|
|
5367
|
-
}
|
|
5368
|
-
var field = reader.getFieldNumber();
|
|
5369
|
-
switch (field) {
|
|
5370
|
-
case 1:
|
|
5371
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
5372
|
-
msg.setCabinetid(value);
|
|
5373
|
-
break;
|
|
5374
|
-
case 2:
|
|
5375
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
5376
|
-
msg.setAccountid(value);
|
|
5377
|
-
break;
|
|
5378
|
-
default:
|
|
5379
|
-
reader.skipField();
|
|
5380
|
-
break;
|
|
5381
|
-
}
|
|
5382
|
-
}
|
|
5383
|
-
return msg;
|
|
5384
|
-
};
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
/**
|
|
5388
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
5389
|
-
* @return {!Uint8Array}
|
|
5390
|
-
*/
|
|
5391
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.prototype.serializeBinary = function() {
|
|
5392
|
-
var writer = new jspb.BinaryWriter();
|
|
5393
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.serializeBinaryToWriter(this, writer);
|
|
5394
|
-
return writer.getResultBuffer();
|
|
5395
|
-
};
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
/**
|
|
5399
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
5400
|
-
* format), writing to the given BinaryWriter.
|
|
5401
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest} message
|
|
5402
|
-
* @param {!jspb.BinaryWriter} writer
|
|
5403
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5404
|
-
*/
|
|
5405
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5406
|
-
var f = undefined;
|
|
5407
|
-
f = message.getCabinetid();
|
|
5408
|
-
if (f !== 0) {
|
|
5409
|
-
writer.writeInt64(
|
|
5410
|
-
1,
|
|
5411
|
-
f
|
|
5412
|
-
);
|
|
5413
|
-
}
|
|
5414
|
-
f = message.getAccountid();
|
|
5415
|
-
if (f !== 0) {
|
|
5416
|
-
writer.writeInt64(
|
|
5417
|
-
2,
|
|
5418
|
-
f
|
|
5419
|
-
);
|
|
5420
|
-
}
|
|
5421
|
-
};
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
/**
|
|
5425
|
-
* optional int64 cabinetId = 1;
|
|
5426
|
-
* @return {number}
|
|
5427
|
-
*/
|
|
5428
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.prototype.getCabinetid = function() {
|
|
5429
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5430
|
-
};
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
/**
|
|
5434
|
-
* @param {number} value
|
|
5435
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest} returns this
|
|
5436
|
-
*/
|
|
5437
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.prototype.setCabinetid = function(value) {
|
|
5438
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5439
|
-
};
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
/**
|
|
5443
|
-
* optional int64 accountId = 2;
|
|
5444
|
-
* @return {number}
|
|
5445
|
-
*/
|
|
5446
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.prototype.getAccountid = function() {
|
|
5447
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5448
|
-
};
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
/**
|
|
5452
|
-
* @param {number} value
|
|
5453
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest} returns this
|
|
5454
|
-
*/
|
|
5455
|
-
proto.Spic.CabinetProto.AdminAlerts.RetrieveAlertsRequest.prototype.setAccountid = function(value) {
|
|
5456
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
5457
|
-
};
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5464
|
-
/**
|
|
5465
|
-
* Creates an object representation of this proto.
|
|
5466
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5467
|
-
* Optional fields that are not set will be set to undefined.
|
|
5468
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5469
|
-
* For the list of reserved names please see:
|
|
5470
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5471
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5472
|
-
* JSPB instance for transitional soy proto support:
|
|
5473
|
-
* http://goto/soy-param-migration
|
|
5474
|
-
* @return {!Object}
|
|
5475
|
-
*/
|
|
5476
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5477
|
-
return proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.toObject(opt_includeInstance, this);
|
|
5478
|
-
};
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
/**
|
|
5482
|
-
* Static version of the {@see toObject} method.
|
|
5483
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5484
|
-
* the JSPB instance for transitional soy proto support:
|
|
5485
|
-
* http://goto/soy-param-migration
|
|
5486
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest} msg The msg instance to transform.
|
|
5487
|
-
* @return {!Object}
|
|
5488
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5489
|
-
*/
|
|
5490
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.toObject = function(includeInstance, msg) {
|
|
5491
|
-
var f, obj = {
|
|
5492
|
-
cabinetid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5493
|
-
accountid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5494
|
-
eventType: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
5495
|
-
};
|
|
5496
|
-
|
|
5497
|
-
if (includeInstance) {
|
|
5498
|
-
obj.$jspbMessageInstance = msg;
|
|
5499
|
-
}
|
|
5500
|
-
return obj;
|
|
5501
|
-
};
|
|
5502
|
-
}
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
/**
|
|
5506
|
-
* Deserializes binary data (in protobuf wire format).
|
|
5507
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5508
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest}
|
|
5509
|
-
*/
|
|
5510
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.deserializeBinary = function(bytes) {
|
|
5511
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
5512
|
-
var msg = new proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest;
|
|
5513
|
-
return proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.deserializeBinaryFromReader(msg, reader);
|
|
5514
|
-
};
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
/**
|
|
5518
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
5519
|
-
* given reader into the given message object.
|
|
5520
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest} msg The message object to deserialize into.
|
|
5521
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5522
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest}
|
|
5523
|
-
*/
|
|
5524
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5525
|
-
while (reader.nextField()) {
|
|
5526
|
-
if (reader.isEndGroup()) {
|
|
5527
|
-
break;
|
|
5528
|
-
}
|
|
5529
|
-
var field = reader.getFieldNumber();
|
|
5530
|
-
switch (field) {
|
|
5531
|
-
case 1:
|
|
5532
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
5533
|
-
msg.setCabinetid(value);
|
|
5534
|
-
break;
|
|
5535
|
-
case 2:
|
|
5536
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
5537
|
-
msg.setAccountid(value);
|
|
5538
|
-
break;
|
|
5539
|
-
case 3:
|
|
5540
|
-
var value = /** @type {!proto.Spic.CabinetProto.Event.EventType} */ (reader.readEnum());
|
|
5541
|
-
msg.setEventType(value);
|
|
5542
|
-
break;
|
|
5543
|
-
default:
|
|
5544
|
-
reader.skipField();
|
|
5545
|
-
break;
|
|
5546
|
-
}
|
|
5547
|
-
}
|
|
5548
|
-
return msg;
|
|
5549
|
-
};
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
/**
|
|
5553
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
5554
|
-
* @return {!Uint8Array}
|
|
5555
|
-
*/
|
|
5556
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.prototype.serializeBinary = function() {
|
|
5557
|
-
var writer = new jspb.BinaryWriter();
|
|
5558
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.serializeBinaryToWriter(this, writer);
|
|
5559
|
-
return writer.getResultBuffer();
|
|
5560
|
-
};
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
/**
|
|
5564
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
5565
|
-
* format), writing to the given BinaryWriter.
|
|
5566
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest} message
|
|
5567
|
-
* @param {!jspb.BinaryWriter} writer
|
|
5568
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5569
|
-
*/
|
|
5570
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5571
|
-
var f = undefined;
|
|
5572
|
-
f = message.getCabinetid();
|
|
5573
|
-
if (f !== 0) {
|
|
5574
|
-
writer.writeInt64(
|
|
5575
|
-
1,
|
|
5576
|
-
f
|
|
5577
|
-
);
|
|
5578
|
-
}
|
|
5579
|
-
f = message.getAccountid();
|
|
5580
|
-
if (f !== 0) {
|
|
5581
|
-
writer.writeInt64(
|
|
5582
|
-
2,
|
|
5583
|
-
f
|
|
5584
|
-
);
|
|
5585
|
-
}
|
|
5586
|
-
f = message.getEventType();
|
|
5587
|
-
if (f !== 0.0) {
|
|
5588
|
-
writer.writeEnum(
|
|
5589
|
-
3,
|
|
5590
|
-
f
|
|
5591
|
-
);
|
|
5592
|
-
}
|
|
5593
|
-
};
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
/**
|
|
5597
|
-
* optional int64 cabinetId = 1;
|
|
5598
|
-
* @return {number}
|
|
5599
|
-
*/
|
|
5600
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.prototype.getCabinetid = function() {
|
|
5601
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5602
|
-
};
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
/**
|
|
5606
|
-
* @param {number} value
|
|
5607
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest} returns this
|
|
5608
|
-
*/
|
|
5609
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.prototype.setCabinetid = function(value) {
|
|
5610
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5611
|
-
};
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
/**
|
|
5615
|
-
* optional int64 accountId = 2;
|
|
5616
|
-
* @return {number}
|
|
5617
|
-
*/
|
|
5618
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.prototype.getAccountid = function() {
|
|
5619
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5620
|
-
};
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
/**
|
|
5624
|
-
* @param {number} value
|
|
5625
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest} returns this
|
|
5626
|
-
*/
|
|
5627
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.prototype.setAccountid = function(value) {
|
|
5628
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
5629
|
-
};
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
/**
|
|
5633
|
-
* optional Event.EventType event_type = 3;
|
|
5634
|
-
* @return {!proto.Spic.CabinetProto.Event.EventType}
|
|
5635
|
-
*/
|
|
5636
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.prototype.getEventType = function() {
|
|
5637
|
-
return /** @type {!proto.Spic.CabinetProto.Event.EventType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
5638
|
-
};
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
/**
|
|
5642
|
-
* @param {!proto.Spic.CabinetProto.Event.EventType} value
|
|
5643
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest} returns this
|
|
5644
|
-
*/
|
|
5645
|
-
proto.Spic.CabinetProto.AdminAlerts.AddAlertRequest.prototype.setEventType = function(value) {
|
|
5646
|
-
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
5647
|
-
};
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5654
|
-
/**
|
|
5655
|
-
* Creates an object representation of this proto.
|
|
5656
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5657
|
-
* Optional fields that are not set will be set to undefined.
|
|
5658
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5659
|
-
* For the list of reserved names please see:
|
|
5660
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5661
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5662
|
-
* JSPB instance for transitional soy proto support:
|
|
5663
|
-
* http://goto/soy-param-migration
|
|
5664
|
-
* @return {!Object}
|
|
5665
|
-
*/
|
|
5666
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5667
|
-
return proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.toObject(opt_includeInstance, this);
|
|
5668
|
-
};
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
/**
|
|
5672
|
-
* Static version of the {@see toObject} method.
|
|
5673
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5674
|
-
* the JSPB instance for transitional soy proto support:
|
|
5675
|
-
* http://goto/soy-param-migration
|
|
5676
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest} msg The msg instance to transform.
|
|
5677
|
-
* @return {!Object}
|
|
5678
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5679
|
-
*/
|
|
5680
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.toObject = function(includeInstance, msg) {
|
|
5681
|
-
var f, obj = {
|
|
5682
|
-
cabinetid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5683
|
-
accountid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5684
|
-
eventType: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
5685
|
-
};
|
|
5686
|
-
|
|
5687
|
-
if (includeInstance) {
|
|
5688
|
-
obj.$jspbMessageInstance = msg;
|
|
5689
|
-
}
|
|
5690
|
-
return obj;
|
|
5691
|
-
};
|
|
5692
|
-
}
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
/**
|
|
5696
|
-
* Deserializes binary data (in protobuf wire format).
|
|
5697
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5698
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest}
|
|
5699
|
-
*/
|
|
5700
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.deserializeBinary = function(bytes) {
|
|
5701
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
5702
|
-
var msg = new proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest;
|
|
5703
|
-
return proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.deserializeBinaryFromReader(msg, reader);
|
|
5704
|
-
};
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
/**
|
|
5708
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
5709
|
-
* given reader into the given message object.
|
|
5710
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest} msg The message object to deserialize into.
|
|
5711
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5712
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest}
|
|
5713
|
-
*/
|
|
5714
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5715
|
-
while (reader.nextField()) {
|
|
5716
|
-
if (reader.isEndGroup()) {
|
|
5717
|
-
break;
|
|
5718
|
-
}
|
|
5719
|
-
var field = reader.getFieldNumber();
|
|
5720
|
-
switch (field) {
|
|
5721
|
-
case 1:
|
|
5722
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
5723
|
-
msg.setCabinetid(value);
|
|
5724
|
-
break;
|
|
5725
|
-
case 2:
|
|
5726
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
5727
|
-
msg.setAccountid(value);
|
|
5728
|
-
break;
|
|
5729
|
-
case 3:
|
|
5730
|
-
var value = /** @type {!proto.Spic.CabinetProto.Event.EventType} */ (reader.readEnum());
|
|
5731
|
-
msg.setEventType(value);
|
|
5732
|
-
break;
|
|
5733
|
-
default:
|
|
5734
|
-
reader.skipField();
|
|
5735
|
-
break;
|
|
5736
|
-
}
|
|
5737
|
-
}
|
|
5738
|
-
return msg;
|
|
5739
|
-
};
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
/**
|
|
5743
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
5744
|
-
* @return {!Uint8Array}
|
|
5745
|
-
*/
|
|
5746
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.prototype.serializeBinary = function() {
|
|
5747
|
-
var writer = new jspb.BinaryWriter();
|
|
5748
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.serializeBinaryToWriter(this, writer);
|
|
5749
|
-
return writer.getResultBuffer();
|
|
5750
|
-
};
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
/**
|
|
5754
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
5755
|
-
* format), writing to the given BinaryWriter.
|
|
5756
|
-
* @param {!proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest} message
|
|
5757
|
-
* @param {!jspb.BinaryWriter} writer
|
|
5758
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5759
|
-
*/
|
|
5760
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5761
|
-
var f = undefined;
|
|
5762
|
-
f = message.getCabinetid();
|
|
5763
|
-
if (f !== 0) {
|
|
5764
|
-
writer.writeInt64(
|
|
5765
|
-
1,
|
|
5766
|
-
f
|
|
5767
|
-
);
|
|
5768
|
-
}
|
|
5769
|
-
f = message.getAccountid();
|
|
5770
|
-
if (f !== 0) {
|
|
5771
|
-
writer.writeInt64(
|
|
5772
|
-
2,
|
|
5773
|
-
f
|
|
5774
|
-
);
|
|
5775
|
-
}
|
|
5776
|
-
f = message.getEventType();
|
|
5777
|
-
if (f !== 0.0) {
|
|
5778
|
-
writer.writeEnum(
|
|
5779
|
-
3,
|
|
5780
|
-
f
|
|
5781
|
-
);
|
|
5782
|
-
}
|
|
5783
|
-
};
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
/**
|
|
5787
|
-
* optional int64 cabinetId = 1;
|
|
5788
|
-
* @return {number}
|
|
5789
|
-
*/
|
|
5790
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.prototype.getCabinetid = function() {
|
|
5791
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5792
|
-
};
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
/**
|
|
5796
|
-
* @param {number} value
|
|
5797
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest} returns this
|
|
5798
|
-
*/
|
|
5799
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.prototype.setCabinetid = function(value) {
|
|
5800
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5801
|
-
};
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
/**
|
|
5805
|
-
* optional int64 accountId = 2;
|
|
5806
|
-
* @return {number}
|
|
5807
|
-
*/
|
|
5808
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.prototype.getAccountid = function() {
|
|
5809
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5810
|
-
};
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
/**
|
|
5814
|
-
* @param {number} value
|
|
5815
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest} returns this
|
|
5816
|
-
*/
|
|
5817
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.prototype.setAccountid = function(value) {
|
|
5818
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
5819
|
-
};
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
/**
|
|
5823
|
-
* optional Event.EventType event_type = 3;
|
|
5824
|
-
* @return {!proto.Spic.CabinetProto.Event.EventType}
|
|
5825
|
-
*/
|
|
5826
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.prototype.getEventType = function() {
|
|
5827
|
-
return /** @type {!proto.Spic.CabinetProto.Event.EventType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
5828
|
-
};
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
/**
|
|
5832
|
-
* @param {!proto.Spic.CabinetProto.Event.EventType} value
|
|
5833
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest} returns this
|
|
5834
|
-
*/
|
|
5835
|
-
proto.Spic.CabinetProto.AdminAlerts.RemoveAlertRequest.prototype.setEventType = function(value) {
|
|
5836
|
-
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
5837
|
-
};
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
/**
|
|
5841
|
-
* optional int64 cabinetId = 1;
|
|
5842
|
-
* @return {number}
|
|
5843
|
-
*/
|
|
5844
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.getCabinetid = function() {
|
|
5845
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5846
|
-
};
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
/**
|
|
5850
|
-
* @param {number} value
|
|
5851
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts} returns this
|
|
5852
|
-
*/
|
|
5853
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.setCabinetid = function(value) {
|
|
5854
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5855
|
-
};
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
/**
|
|
5859
|
-
* optional int64 accountId = 2;
|
|
5860
|
-
* @return {number}
|
|
5861
|
-
*/
|
|
5862
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.getAccountid = function() {
|
|
5863
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5864
|
-
};
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
/**
|
|
5868
|
-
* @param {number} value
|
|
5869
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts} returns this
|
|
5870
|
-
*/
|
|
5871
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.setAccountid = function(value) {
|
|
5872
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
5873
|
-
};
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
/**
|
|
5877
|
-
* repeated Event.EventType subscribed_events = 3;
|
|
5878
|
-
* @return {!Array<!proto.Spic.CabinetProto.Event.EventType>}
|
|
5879
|
-
*/
|
|
5880
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.getSubscribedEventsList = function() {
|
|
5881
|
-
return /** @type {!Array<!proto.Spic.CabinetProto.Event.EventType>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
5882
|
-
};
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
/**
|
|
5886
|
-
* @param {!Array<!proto.Spic.CabinetProto.Event.EventType>} value
|
|
5887
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts} returns this
|
|
5888
|
-
*/
|
|
5889
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.setSubscribedEventsList = function(value) {
|
|
5890
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
5891
|
-
};
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
/**
|
|
5895
|
-
* @param {!proto.Spic.CabinetProto.Event.EventType} value
|
|
5896
|
-
* @param {number=} opt_index
|
|
5897
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts} returns this
|
|
5898
|
-
*/
|
|
5899
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.addSubscribedEvents = function(value, opt_index) {
|
|
5900
|
-
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
5901
|
-
};
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
/**
|
|
5905
|
-
* Clears the list making it empty but non-null.
|
|
5906
|
-
* @return {!proto.Spic.CabinetProto.AdminAlerts} returns this
|
|
5907
|
-
*/
|
|
5908
|
-
proto.Spic.CabinetProto.AdminAlerts.prototype.clearSubscribedEventsList = function() {
|
|
5909
|
-
return this.setSubscribedEventsList([]);
|
|
5910
|
-
};
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
3956
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5917
3957
|
/**
|
|
5918
3958
|
* Creates an object representation of this proto.
|