@aceplus/smartace-api 2.1.0-drumtracker.1 → 2.1.0-drumtracker.11
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/{drumtracking.drum_pb.d.ts → drumtracker.drum_pb.d.ts} +76 -42
- package/{drumtracking.drum_pb.js → drumtracker.drum_pb.js} +1069 -828
- package/{drumtracking.drum_pb_service.d.ts → drumtracker.drum_pb_service.d.ts} +58 -39
- package/{drumtracking.drum_pb_service.js → drumtracker.drum_pb_service.js} +56 -16
- package/{drumtracking.tracker_pb.d.ts → drumtracker.tracker_pb.d.ts} +70 -32
- package/{drumtracking.tracker_pb.js → drumtracker.tracker_pb.js} +720 -425
- package/{drumtracking.tracker_pb_service.d.ts → drumtracker.tracker_pb_service.d.ts} +33 -33
- package/{drumtracking.tracker_pb_service.js → drumtracker.tracker_pb_service.js} +14 -14
- package/package.json +1 -1
- package/platform.client_pb.d.ts +3 -3
- package/platform.client_pb.js +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// source:
|
|
1
|
+
// source: drumtracker.tracker.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -27,15 +27,16 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
27
27
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
28
28
|
var platform_pagination_pb = require('./platform.pagination_pb.js');
|
|
29
29
|
goog.object.extend(proto, platform_pagination_pb);
|
|
30
|
-
goog.exportSymbol('proto.
|
|
31
|
-
goog.exportSymbol('proto.
|
|
32
|
-
goog.exportSymbol('proto.
|
|
33
|
-
goog.exportSymbol('proto.
|
|
34
|
-
goog.exportSymbol('proto.
|
|
35
|
-
goog.exportSymbol('proto.
|
|
36
|
-
goog.exportSymbol('proto.
|
|
37
|
-
goog.exportSymbol('proto.
|
|
38
|
-
goog.exportSymbol('proto.
|
|
30
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto', null, global);
|
|
31
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.CreateRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.DeleteReply', null, global);
|
|
33
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.DeleteRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.Event', null, global);
|
|
35
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.RetrieveRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.SearchReply', null, global);
|
|
37
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.SearchRequest', null, global);
|
|
38
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.TrackerFilters', null, global);
|
|
39
|
+
goog.exportSymbol('proto.Drumtracker.TrackerProto.UpdateRequest', null, global);
|
|
39
40
|
/**
|
|
40
41
|
* Generated by JsPbCodeGenerator.
|
|
41
42
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -46,16 +47,16 @@ goog.exportSymbol('proto.Drumtracking.TrackerProto.UpdateRequest', null, global)
|
|
|
46
47
|
* @extends {jspb.Message}
|
|
47
48
|
* @constructor
|
|
48
49
|
*/
|
|
49
|
-
proto.
|
|
50
|
+
proto.Drumtracker.TrackerProto = function(opt_data) {
|
|
50
51
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
51
52
|
};
|
|
52
|
-
goog.inherits(proto.
|
|
53
|
+
goog.inherits(proto.Drumtracker.TrackerProto, jspb.Message);
|
|
53
54
|
if (goog.DEBUG && !COMPILED) {
|
|
54
55
|
/**
|
|
55
56
|
* @public
|
|
56
57
|
* @override
|
|
57
58
|
*/
|
|
58
|
-
proto.
|
|
59
|
+
proto.Drumtracker.TrackerProto.displayName = 'proto.Drumtracker.TrackerProto';
|
|
59
60
|
}
|
|
60
61
|
/**
|
|
61
62
|
* Generated by JsPbCodeGenerator.
|
|
@@ -67,16 +68,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
67
68
|
* @extends {jspb.Message}
|
|
68
69
|
* @constructor
|
|
69
70
|
*/
|
|
70
|
-
proto.
|
|
71
|
+
proto.Drumtracker.TrackerProto.Event = function(opt_data) {
|
|
71
72
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
72
73
|
};
|
|
73
|
-
goog.inherits(proto.
|
|
74
|
+
goog.inherits(proto.Drumtracker.TrackerProto.Event, jspb.Message);
|
|
74
75
|
if (goog.DEBUG && !COMPILED) {
|
|
75
76
|
/**
|
|
76
77
|
* @public
|
|
77
78
|
* @override
|
|
78
79
|
*/
|
|
79
|
-
proto.
|
|
80
|
+
proto.Drumtracker.TrackerProto.Event.displayName = 'proto.Drumtracker.TrackerProto.Event';
|
|
80
81
|
}
|
|
81
82
|
/**
|
|
82
83
|
* Generated by JsPbCodeGenerator.
|
|
@@ -88,16 +89,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
88
89
|
* @extends {jspb.Message}
|
|
89
90
|
* @constructor
|
|
90
91
|
*/
|
|
91
|
-
proto.
|
|
92
|
+
proto.Drumtracker.TrackerProto.CreateRequest = function(opt_data) {
|
|
92
93
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
93
94
|
};
|
|
94
|
-
goog.inherits(proto.
|
|
95
|
+
goog.inherits(proto.Drumtracker.TrackerProto.CreateRequest, jspb.Message);
|
|
95
96
|
if (goog.DEBUG && !COMPILED) {
|
|
96
97
|
/**
|
|
97
98
|
* @public
|
|
98
99
|
* @override
|
|
99
100
|
*/
|
|
100
|
-
proto.
|
|
101
|
+
proto.Drumtracker.TrackerProto.CreateRequest.displayName = 'proto.Drumtracker.TrackerProto.CreateRequest';
|
|
101
102
|
}
|
|
102
103
|
/**
|
|
103
104
|
* Generated by JsPbCodeGenerator.
|
|
@@ -109,16 +110,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
109
110
|
* @extends {jspb.Message}
|
|
110
111
|
* @constructor
|
|
111
112
|
*/
|
|
112
|
-
proto.
|
|
113
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest = function(opt_data) {
|
|
113
114
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
114
115
|
};
|
|
115
|
-
goog.inherits(proto.
|
|
116
|
+
goog.inherits(proto.Drumtracker.TrackerProto.RetrieveRequest, jspb.Message);
|
|
116
117
|
if (goog.DEBUG && !COMPILED) {
|
|
117
118
|
/**
|
|
118
119
|
* @public
|
|
119
120
|
* @override
|
|
120
121
|
*/
|
|
121
|
-
proto.
|
|
122
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.displayName = 'proto.Drumtracker.TrackerProto.RetrieveRequest';
|
|
122
123
|
}
|
|
123
124
|
/**
|
|
124
125
|
* Generated by JsPbCodeGenerator.
|
|
@@ -130,16 +131,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
130
131
|
* @extends {jspb.Message}
|
|
131
132
|
* @constructor
|
|
132
133
|
*/
|
|
133
|
-
proto.
|
|
134
|
+
proto.Drumtracker.TrackerProto.UpdateRequest = function(opt_data) {
|
|
134
135
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
135
136
|
};
|
|
136
|
-
goog.inherits(proto.
|
|
137
|
+
goog.inherits(proto.Drumtracker.TrackerProto.UpdateRequest, jspb.Message);
|
|
137
138
|
if (goog.DEBUG && !COMPILED) {
|
|
138
139
|
/**
|
|
139
140
|
* @public
|
|
140
141
|
* @override
|
|
141
142
|
*/
|
|
142
|
-
proto.
|
|
143
|
+
proto.Drumtracker.TrackerProto.UpdateRequest.displayName = 'proto.Drumtracker.TrackerProto.UpdateRequest';
|
|
143
144
|
}
|
|
144
145
|
/**
|
|
145
146
|
* Generated by JsPbCodeGenerator.
|
|
@@ -151,16 +152,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
151
152
|
* @extends {jspb.Message}
|
|
152
153
|
* @constructor
|
|
153
154
|
*/
|
|
154
|
-
proto.
|
|
155
|
+
proto.Drumtracker.TrackerProto.DeleteRequest = function(opt_data) {
|
|
155
156
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
156
157
|
};
|
|
157
|
-
goog.inherits(proto.
|
|
158
|
+
goog.inherits(proto.Drumtracker.TrackerProto.DeleteRequest, jspb.Message);
|
|
158
159
|
if (goog.DEBUG && !COMPILED) {
|
|
159
160
|
/**
|
|
160
161
|
* @public
|
|
161
162
|
* @override
|
|
162
163
|
*/
|
|
163
|
-
proto.
|
|
164
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.displayName = 'proto.Drumtracker.TrackerProto.DeleteRequest';
|
|
164
165
|
}
|
|
165
166
|
/**
|
|
166
167
|
* Generated by JsPbCodeGenerator.
|
|
@@ -172,16 +173,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
172
173
|
* @extends {jspb.Message}
|
|
173
174
|
* @constructor
|
|
174
175
|
*/
|
|
175
|
-
proto.
|
|
176
|
+
proto.Drumtracker.TrackerProto.DeleteReply = function(opt_data) {
|
|
176
177
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
177
178
|
};
|
|
178
|
-
goog.inherits(proto.
|
|
179
|
+
goog.inherits(proto.Drumtracker.TrackerProto.DeleteReply, jspb.Message);
|
|
179
180
|
if (goog.DEBUG && !COMPILED) {
|
|
180
181
|
/**
|
|
181
182
|
* @public
|
|
182
183
|
* @override
|
|
183
184
|
*/
|
|
184
|
-
proto.
|
|
185
|
+
proto.Drumtracker.TrackerProto.DeleteReply.displayName = 'proto.Drumtracker.TrackerProto.DeleteReply';
|
|
185
186
|
}
|
|
186
187
|
/**
|
|
187
188
|
* Generated by JsPbCodeGenerator.
|
|
@@ -193,16 +194,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
193
194
|
* @extends {jspb.Message}
|
|
194
195
|
* @constructor
|
|
195
196
|
*/
|
|
196
|
-
proto.
|
|
197
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
197
|
+
proto.Drumtracker.TrackerProto.SearchRequest = function(opt_data) {
|
|
198
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
198
199
|
};
|
|
199
|
-
goog.inherits(proto.
|
|
200
|
+
goog.inherits(proto.Drumtracker.TrackerProto.SearchRequest, jspb.Message);
|
|
200
201
|
if (goog.DEBUG && !COMPILED) {
|
|
201
202
|
/**
|
|
202
203
|
* @public
|
|
203
204
|
* @override
|
|
204
205
|
*/
|
|
205
|
-
proto.
|
|
206
|
+
proto.Drumtracker.TrackerProto.SearchRequest.displayName = 'proto.Drumtracker.TrackerProto.SearchRequest';
|
|
206
207
|
}
|
|
207
208
|
/**
|
|
208
209
|
* Generated by JsPbCodeGenerator.
|
|
@@ -214,16 +215,37 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
214
215
|
* @extends {jspb.Message}
|
|
215
216
|
* @constructor
|
|
216
217
|
*/
|
|
217
|
-
proto.
|
|
218
|
+
proto.Drumtracker.TrackerProto.SearchReply = function(opt_data) {
|
|
219
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Drumtracker.TrackerProto.SearchReply.repeatedFields_, null);
|
|
220
|
+
};
|
|
221
|
+
goog.inherits(proto.Drumtracker.TrackerProto.SearchReply, jspb.Message);
|
|
222
|
+
if (goog.DEBUG && !COMPILED) {
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
* @override
|
|
226
|
+
*/
|
|
227
|
+
proto.Drumtracker.TrackerProto.SearchReply.displayName = 'proto.Drumtracker.TrackerProto.SearchReply';
|
|
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.Drumtracker.TrackerProto.TrackerFilters = function(opt_data) {
|
|
218
240
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
219
241
|
};
|
|
220
|
-
goog.inherits(proto.
|
|
242
|
+
goog.inherits(proto.Drumtracker.TrackerProto.TrackerFilters, jspb.Message);
|
|
221
243
|
if (goog.DEBUG && !COMPILED) {
|
|
222
244
|
/**
|
|
223
245
|
* @public
|
|
224
246
|
* @override
|
|
225
247
|
*/
|
|
226
|
-
proto.
|
|
248
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.displayName = 'proto.Drumtracker.TrackerProto.TrackerFilters';
|
|
227
249
|
}
|
|
228
250
|
|
|
229
251
|
|
|
@@ -241,8 +263,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
241
263
|
* http://goto/soy-param-migration
|
|
242
264
|
* @return {!Object}
|
|
243
265
|
*/
|
|
244
|
-
proto.
|
|
245
|
-
return proto.
|
|
266
|
+
proto.Drumtracker.TrackerProto.prototype.toObject = function(opt_includeInstance) {
|
|
267
|
+
return proto.Drumtracker.TrackerProto.toObject(opt_includeInstance, this);
|
|
246
268
|
};
|
|
247
269
|
|
|
248
270
|
|
|
@@ -251,21 +273,21 @@ proto.Drumtracking.TrackerProto.prototype.toObject = function(opt_includeInstanc
|
|
|
251
273
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
252
274
|
* the JSPB instance for transitional soy proto support:
|
|
253
275
|
* http://goto/soy-param-migration
|
|
254
|
-
* @param {!proto.
|
|
276
|
+
* @param {!proto.Drumtracker.TrackerProto} msg The msg instance to transform.
|
|
255
277
|
* @return {!Object}
|
|
256
278
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
257
279
|
*/
|
|
258
|
-
proto.
|
|
280
|
+
proto.Drumtracker.TrackerProto.toObject = function(includeInstance, msg) {
|
|
259
281
|
var f, obj = {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
282
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
283
|
+
drumId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
284
|
+
batteryVoltage: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
285
|
+
lastEvent: (f = msg.getLastEvent()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
263
286
|
activationDate: (f = msg.getActivationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
264
|
-
rotations: jspb.Message.getFieldWithDefault(msg,
|
|
265
|
-
deactivated: jspb.Message.getBooleanFieldWithDefault(msg,
|
|
266
|
-
deactivationReason: jspb.Message.getFieldWithDefault(msg,
|
|
267
|
-
deactivationDate: (f = msg.getDeactivationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
268
|
-
drumNumber: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
287
|
+
rotations: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
288
|
+
deactivated: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
289
|
+
deactivationReason: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
290
|
+
deactivationDate: (f = msg.getDeactivationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
269
291
|
};
|
|
270
292
|
|
|
271
293
|
if (includeInstance) {
|
|
@@ -279,23 +301,23 @@ proto.Drumtracking.TrackerProto.toObject = function(includeInstance, msg) {
|
|
|
279
301
|
/**
|
|
280
302
|
* Deserializes binary data (in protobuf wire format).
|
|
281
303
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
282
|
-
* @return {!proto.
|
|
304
|
+
* @return {!proto.Drumtracker.TrackerProto}
|
|
283
305
|
*/
|
|
284
|
-
proto.
|
|
306
|
+
proto.Drumtracker.TrackerProto.deserializeBinary = function(bytes) {
|
|
285
307
|
var reader = new jspb.BinaryReader(bytes);
|
|
286
|
-
var msg = new proto.
|
|
287
|
-
return proto.
|
|
308
|
+
var msg = new proto.Drumtracker.TrackerProto;
|
|
309
|
+
return proto.Drumtracker.TrackerProto.deserializeBinaryFromReader(msg, reader);
|
|
288
310
|
};
|
|
289
311
|
|
|
290
312
|
|
|
291
313
|
/**
|
|
292
314
|
* Deserializes binary data (in protobuf wire format) from the
|
|
293
315
|
* given reader into the given message object.
|
|
294
|
-
* @param {!proto.
|
|
316
|
+
* @param {!proto.Drumtracker.TrackerProto} msg The message object to deserialize into.
|
|
295
317
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
296
|
-
* @return {!proto.
|
|
318
|
+
* @return {!proto.Drumtracker.TrackerProto}
|
|
297
319
|
*/
|
|
298
|
-
proto.
|
|
320
|
+
proto.Drumtracker.TrackerProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
299
321
|
while (reader.nextField()) {
|
|
300
322
|
if (reader.isEndGroup()) {
|
|
301
323
|
break;
|
|
@@ -303,44 +325,44 @@ proto.Drumtracking.TrackerProto.deserializeBinaryFromReader = function(msg, read
|
|
|
303
325
|
var field = reader.getFieldNumber();
|
|
304
326
|
switch (field) {
|
|
305
327
|
case 1:
|
|
306
|
-
var value = /** @type {
|
|
307
|
-
msg.
|
|
328
|
+
var value = /** @type {string} */ (reader.readString());
|
|
329
|
+
msg.setUid(value);
|
|
308
330
|
break;
|
|
309
331
|
case 2:
|
|
310
|
-
var value = /** @type {number} */ (reader.
|
|
311
|
-
msg.
|
|
332
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
333
|
+
msg.setDrumId(value);
|
|
312
334
|
break;
|
|
313
335
|
case 3:
|
|
336
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
337
|
+
msg.setBatteryVoltage(value);
|
|
338
|
+
break;
|
|
339
|
+
case 4:
|
|
314
340
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
315
341
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
316
|
-
msg.
|
|
342
|
+
msg.setLastEvent(value);
|
|
317
343
|
break;
|
|
318
|
-
case
|
|
344
|
+
case 5:
|
|
319
345
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
320
346
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
321
347
|
msg.setActivationDate(value);
|
|
322
348
|
break;
|
|
323
|
-
case
|
|
349
|
+
case 6:
|
|
324
350
|
var value = /** @type {number} */ (reader.readInt32());
|
|
325
351
|
msg.setRotations(value);
|
|
326
352
|
break;
|
|
327
|
-
case
|
|
353
|
+
case 7:
|
|
328
354
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
329
355
|
msg.setDeactivated(value);
|
|
330
356
|
break;
|
|
331
|
-
case
|
|
357
|
+
case 8:
|
|
332
358
|
var value = /** @type {string} */ (reader.readString());
|
|
333
359
|
msg.setDeactivationReason(value);
|
|
334
360
|
break;
|
|
335
|
-
case
|
|
361
|
+
case 9:
|
|
336
362
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
337
363
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
338
364
|
msg.setDeactivationDate(value);
|
|
339
365
|
break;
|
|
340
|
-
case 9:
|
|
341
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
342
|
-
msg.setDrumNumber(value);
|
|
343
|
-
break;
|
|
344
366
|
default:
|
|
345
367
|
reader.skipField();
|
|
346
368
|
break;
|
|
@@ -354,9 +376,9 @@ proto.Drumtracking.TrackerProto.deserializeBinaryFromReader = function(msg, read
|
|
|
354
376
|
* Serializes the message to binary data (in protobuf wire format).
|
|
355
377
|
* @return {!Uint8Array}
|
|
356
378
|
*/
|
|
357
|
-
proto.
|
|
379
|
+
proto.Drumtracker.TrackerProto.prototype.serializeBinary = function() {
|
|
358
380
|
var writer = new jspb.BinaryWriter();
|
|
359
|
-
proto.
|
|
381
|
+
proto.Drumtracker.TrackerProto.serializeBinaryToWriter(this, writer);
|
|
360
382
|
return writer.getResultBuffer();
|
|
361
383
|
};
|
|
362
384
|
|
|
@@ -364,30 +386,37 @@ proto.Drumtracking.TrackerProto.prototype.serializeBinary = function() {
|
|
|
364
386
|
/**
|
|
365
387
|
* Serializes the given message to binary data (in protobuf wire
|
|
366
388
|
* format), writing to the given BinaryWriter.
|
|
367
|
-
* @param {!proto.
|
|
389
|
+
* @param {!proto.Drumtracker.TrackerProto} message
|
|
368
390
|
* @param {!jspb.BinaryWriter} writer
|
|
369
391
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
370
392
|
*/
|
|
371
|
-
proto.
|
|
393
|
+
proto.Drumtracker.TrackerProto.serializeBinaryToWriter = function(message, writer) {
|
|
372
394
|
var f = undefined;
|
|
373
|
-
f = message.
|
|
374
|
-
if (f
|
|
375
|
-
writer.
|
|
395
|
+
f = message.getUid();
|
|
396
|
+
if (f.length > 0) {
|
|
397
|
+
writer.writeString(
|
|
376
398
|
1,
|
|
377
399
|
f
|
|
378
400
|
);
|
|
379
401
|
}
|
|
380
|
-
f = message.
|
|
402
|
+
f = message.getDrumId();
|
|
381
403
|
if (f !== 0) {
|
|
382
|
-
writer.
|
|
404
|
+
writer.writeInt64(
|
|
383
405
|
2,
|
|
384
406
|
f
|
|
385
407
|
);
|
|
386
408
|
}
|
|
387
|
-
f = message.
|
|
409
|
+
f = message.getBatteryVoltage();
|
|
410
|
+
if (f !== 0.0) {
|
|
411
|
+
writer.writeDouble(
|
|
412
|
+
3,
|
|
413
|
+
f
|
|
414
|
+
);
|
|
415
|
+
}
|
|
416
|
+
f = message.getLastEvent();
|
|
388
417
|
if (f != null) {
|
|
389
418
|
writer.writeMessage(
|
|
390
|
-
|
|
419
|
+
4,
|
|
391
420
|
f,
|
|
392
421
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
393
422
|
);
|
|
@@ -395,7 +424,7 @@ proto.Drumtracking.TrackerProto.serializeBinaryToWriter = function(message, writ
|
|
|
395
424
|
f = message.getActivationDate();
|
|
396
425
|
if (f != null) {
|
|
397
426
|
writer.writeMessage(
|
|
398
|
-
|
|
427
|
+
5,
|
|
399
428
|
f,
|
|
400
429
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
401
430
|
);
|
|
@@ -403,39 +432,32 @@ proto.Drumtracking.TrackerProto.serializeBinaryToWriter = function(message, writ
|
|
|
403
432
|
f = message.getRotations();
|
|
404
433
|
if (f !== 0) {
|
|
405
434
|
writer.writeInt32(
|
|
406
|
-
|
|
435
|
+
6,
|
|
407
436
|
f
|
|
408
437
|
);
|
|
409
438
|
}
|
|
410
439
|
f = message.getDeactivated();
|
|
411
440
|
if (f) {
|
|
412
441
|
writer.writeBool(
|
|
413
|
-
|
|
442
|
+
7,
|
|
414
443
|
f
|
|
415
444
|
);
|
|
416
445
|
}
|
|
417
446
|
f = message.getDeactivationReason();
|
|
418
447
|
if (f.length > 0) {
|
|
419
448
|
writer.writeString(
|
|
420
|
-
|
|
449
|
+
8,
|
|
421
450
|
f
|
|
422
451
|
);
|
|
423
452
|
}
|
|
424
453
|
f = message.getDeactivationDate();
|
|
425
454
|
if (f != null) {
|
|
426
455
|
writer.writeMessage(
|
|
427
|
-
|
|
456
|
+
9,
|
|
428
457
|
f,
|
|
429
458
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
430
459
|
);
|
|
431
460
|
}
|
|
432
|
-
f = message.getDrumNumber();
|
|
433
|
-
if (f !== 0) {
|
|
434
|
-
writer.writeInt64(
|
|
435
|
-
9,
|
|
436
|
-
f
|
|
437
|
-
);
|
|
438
|
-
}
|
|
439
461
|
};
|
|
440
462
|
|
|
441
463
|
|
|
@@ -455,8 +477,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
455
477
|
* http://goto/soy-param-migration
|
|
456
478
|
* @return {!Object}
|
|
457
479
|
*/
|
|
458
|
-
proto.
|
|
459
|
-
return proto.
|
|
480
|
+
proto.Drumtracker.TrackerProto.Event.prototype.toObject = function(opt_includeInstance) {
|
|
481
|
+
return proto.Drumtracker.TrackerProto.Event.toObject(opt_includeInstance, this);
|
|
460
482
|
};
|
|
461
483
|
|
|
462
484
|
|
|
@@ -465,13 +487,20 @@ proto.Drumtracking.TrackerProto.CreateRequest.prototype.toObject = function(opt_
|
|
|
465
487
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
466
488
|
* the JSPB instance for transitional soy proto support:
|
|
467
489
|
* http://goto/soy-param-migration
|
|
468
|
-
* @param {!proto.
|
|
490
|
+
* @param {!proto.Drumtracker.TrackerProto.Event} msg The msg instance to transform.
|
|
469
491
|
* @return {!Object}
|
|
470
492
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
471
493
|
*/
|
|
472
|
-
proto.
|
|
494
|
+
proto.Drumtracker.TrackerProto.Event.toObject = function(includeInstance, msg) {
|
|
473
495
|
var f, obj = {
|
|
474
|
-
|
|
496
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
497
|
+
uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
498
|
+
latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
499
|
+
longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
500
|
+
temparture: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
501
|
+
rotations: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
502
|
+
date: (f = msg.getDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
503
|
+
batteryVoltage: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
|
|
475
504
|
};
|
|
476
505
|
|
|
477
506
|
if (includeInstance) {
|
|
@@ -485,23 +514,23 @@ proto.Drumtracking.TrackerProto.CreateRequest.toObject = function(includeInstanc
|
|
|
485
514
|
/**
|
|
486
515
|
* Deserializes binary data (in protobuf wire format).
|
|
487
516
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
488
|
-
* @return {!proto.
|
|
517
|
+
* @return {!proto.Drumtracker.TrackerProto.Event}
|
|
489
518
|
*/
|
|
490
|
-
proto.
|
|
519
|
+
proto.Drumtracker.TrackerProto.Event.deserializeBinary = function(bytes) {
|
|
491
520
|
var reader = new jspb.BinaryReader(bytes);
|
|
492
|
-
var msg = new proto.
|
|
493
|
-
return proto.
|
|
521
|
+
var msg = new proto.Drumtracker.TrackerProto.Event;
|
|
522
|
+
return proto.Drumtracker.TrackerProto.Event.deserializeBinaryFromReader(msg, reader);
|
|
494
523
|
};
|
|
495
524
|
|
|
496
525
|
|
|
497
526
|
/**
|
|
498
527
|
* Deserializes binary data (in protobuf wire format) from the
|
|
499
528
|
* given reader into the given message object.
|
|
500
|
-
* @param {!proto.
|
|
529
|
+
* @param {!proto.Drumtracker.TrackerProto.Event} msg The message object to deserialize into.
|
|
501
530
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
502
|
-
* @return {!proto.
|
|
531
|
+
* @return {!proto.Drumtracker.TrackerProto.Event}
|
|
503
532
|
*/
|
|
504
|
-
proto.
|
|
533
|
+
proto.Drumtracker.TrackerProto.Event.deserializeBinaryFromReader = function(msg, reader) {
|
|
505
534
|
while (reader.nextField()) {
|
|
506
535
|
if (reader.isEndGroup()) {
|
|
507
536
|
break;
|
|
@@ -510,7 +539,36 @@ proto.Drumtracking.TrackerProto.CreateRequest.deserializeBinaryFromReader = func
|
|
|
510
539
|
switch (field) {
|
|
511
540
|
case 1:
|
|
512
541
|
var value = /** @type {number} */ (reader.readInt64());
|
|
513
|
-
msg.
|
|
542
|
+
msg.setId(value);
|
|
543
|
+
break;
|
|
544
|
+
case 2:
|
|
545
|
+
var value = /** @type {string} */ (reader.readString());
|
|
546
|
+
msg.setUid(value);
|
|
547
|
+
break;
|
|
548
|
+
case 3:
|
|
549
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
550
|
+
msg.setLatitude(value);
|
|
551
|
+
break;
|
|
552
|
+
case 4:
|
|
553
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
554
|
+
msg.setLongitude(value);
|
|
555
|
+
break;
|
|
556
|
+
case 5:
|
|
557
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
558
|
+
msg.setTemparture(value);
|
|
559
|
+
break;
|
|
560
|
+
case 6:
|
|
561
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
562
|
+
msg.setRotations(value);
|
|
563
|
+
break;
|
|
564
|
+
case 7:
|
|
565
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
566
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
567
|
+
msg.setDate(value);
|
|
568
|
+
break;
|
|
569
|
+
case 8:
|
|
570
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
571
|
+
msg.setBatteryVoltage(value);
|
|
514
572
|
break;
|
|
515
573
|
default:
|
|
516
574
|
reader.skipField();
|
|
@@ -525,9 +583,9 @@ proto.Drumtracking.TrackerProto.CreateRequest.deserializeBinaryFromReader = func
|
|
|
525
583
|
* Serializes the message to binary data (in protobuf wire format).
|
|
526
584
|
* @return {!Uint8Array}
|
|
527
585
|
*/
|
|
528
|
-
proto.
|
|
586
|
+
proto.Drumtracker.TrackerProto.Event.prototype.serializeBinary = function() {
|
|
529
587
|
var writer = new jspb.BinaryWriter();
|
|
530
|
-
proto.
|
|
588
|
+
proto.Drumtracker.TrackerProto.Event.serializeBinaryToWriter(this, writer);
|
|
531
589
|
return writer.getResultBuffer();
|
|
532
590
|
};
|
|
533
591
|
|
|
@@ -535,40 +593,235 @@ proto.Drumtracking.TrackerProto.CreateRequest.prototype.serializeBinary = functi
|
|
|
535
593
|
/**
|
|
536
594
|
* Serializes the given message to binary data (in protobuf wire
|
|
537
595
|
* format), writing to the given BinaryWriter.
|
|
538
|
-
* @param {!proto.
|
|
596
|
+
* @param {!proto.Drumtracker.TrackerProto.Event} message
|
|
539
597
|
* @param {!jspb.BinaryWriter} writer
|
|
540
598
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
541
599
|
*/
|
|
542
|
-
proto.
|
|
600
|
+
proto.Drumtracker.TrackerProto.Event.serializeBinaryToWriter = function(message, writer) {
|
|
543
601
|
var f = undefined;
|
|
544
|
-
f = message.
|
|
602
|
+
f = message.getId();
|
|
545
603
|
if (f !== 0) {
|
|
546
604
|
writer.writeInt64(
|
|
547
605
|
1,
|
|
548
606
|
f
|
|
549
607
|
);
|
|
550
608
|
}
|
|
609
|
+
f = message.getUid();
|
|
610
|
+
if (f.length > 0) {
|
|
611
|
+
writer.writeString(
|
|
612
|
+
2,
|
|
613
|
+
f
|
|
614
|
+
);
|
|
615
|
+
}
|
|
616
|
+
f = message.getLatitude();
|
|
617
|
+
if (f !== 0.0) {
|
|
618
|
+
writer.writeDouble(
|
|
619
|
+
3,
|
|
620
|
+
f
|
|
621
|
+
);
|
|
622
|
+
}
|
|
623
|
+
f = message.getLongitude();
|
|
624
|
+
if (f !== 0.0) {
|
|
625
|
+
writer.writeDouble(
|
|
626
|
+
4,
|
|
627
|
+
f
|
|
628
|
+
);
|
|
629
|
+
}
|
|
630
|
+
f = message.getTemparture();
|
|
631
|
+
if (f !== 0) {
|
|
632
|
+
writer.writeInt32(
|
|
633
|
+
5,
|
|
634
|
+
f
|
|
635
|
+
);
|
|
636
|
+
}
|
|
637
|
+
f = message.getRotations();
|
|
638
|
+
if (f !== 0) {
|
|
639
|
+
writer.writeInt32(
|
|
640
|
+
6,
|
|
641
|
+
f
|
|
642
|
+
);
|
|
643
|
+
}
|
|
644
|
+
f = message.getDate();
|
|
645
|
+
if (f != null) {
|
|
646
|
+
writer.writeMessage(
|
|
647
|
+
7,
|
|
648
|
+
f,
|
|
649
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
650
|
+
);
|
|
651
|
+
}
|
|
652
|
+
f = message.getBatteryVoltage();
|
|
653
|
+
if (f !== 0.0) {
|
|
654
|
+
writer.writeDouble(
|
|
655
|
+
8,
|
|
656
|
+
f
|
|
657
|
+
);
|
|
658
|
+
}
|
|
551
659
|
};
|
|
552
660
|
|
|
553
661
|
|
|
554
662
|
/**
|
|
555
|
-
* optional int64
|
|
663
|
+
* optional int64 id = 1;
|
|
556
664
|
* @return {number}
|
|
557
665
|
*/
|
|
558
|
-
proto.
|
|
666
|
+
proto.Drumtracker.TrackerProto.Event.prototype.getId = function() {
|
|
559
667
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
560
668
|
};
|
|
561
669
|
|
|
562
670
|
|
|
563
671
|
/**
|
|
564
672
|
* @param {number} value
|
|
565
|
-
* @return {!proto.
|
|
673
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
566
674
|
*/
|
|
567
|
-
proto.
|
|
675
|
+
proto.Drumtracker.TrackerProto.Event.prototype.setId = function(value) {
|
|
568
676
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
569
677
|
};
|
|
570
678
|
|
|
571
679
|
|
|
680
|
+
/**
|
|
681
|
+
* optional string uid = 2;
|
|
682
|
+
* @return {string}
|
|
683
|
+
*/
|
|
684
|
+
proto.Drumtracker.TrackerProto.Event.prototype.getUid = function() {
|
|
685
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* @param {string} value
|
|
691
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
692
|
+
*/
|
|
693
|
+
proto.Drumtracker.TrackerProto.Event.prototype.setUid = function(value) {
|
|
694
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* optional double latitude = 3;
|
|
700
|
+
* @return {number}
|
|
701
|
+
*/
|
|
702
|
+
proto.Drumtracker.TrackerProto.Event.prototype.getLatitude = function() {
|
|
703
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* @param {number} value
|
|
709
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
710
|
+
*/
|
|
711
|
+
proto.Drumtracker.TrackerProto.Event.prototype.setLatitude = function(value) {
|
|
712
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* optional double longitude = 4;
|
|
718
|
+
* @return {number}
|
|
719
|
+
*/
|
|
720
|
+
proto.Drumtracker.TrackerProto.Event.prototype.getLongitude = function() {
|
|
721
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
722
|
+
};
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* @param {number} value
|
|
727
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
728
|
+
*/
|
|
729
|
+
proto.Drumtracker.TrackerProto.Event.prototype.setLongitude = function(value) {
|
|
730
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* optional int32 temparture = 5;
|
|
736
|
+
* @return {number}
|
|
737
|
+
*/
|
|
738
|
+
proto.Drumtracker.TrackerProto.Event.prototype.getTemparture = function() {
|
|
739
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @param {number} value
|
|
745
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
746
|
+
*/
|
|
747
|
+
proto.Drumtracker.TrackerProto.Event.prototype.setTemparture = function(value) {
|
|
748
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* optional int32 rotations = 6;
|
|
754
|
+
* @return {number}
|
|
755
|
+
*/
|
|
756
|
+
proto.Drumtracker.TrackerProto.Event.prototype.getRotations = function() {
|
|
757
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* @param {number} value
|
|
763
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
764
|
+
*/
|
|
765
|
+
proto.Drumtracker.TrackerProto.Event.prototype.setRotations = function(value) {
|
|
766
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* optional google.protobuf.Timestamp date = 7;
|
|
772
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
773
|
+
*/
|
|
774
|
+
proto.Drumtracker.TrackerProto.Event.prototype.getDate = function() {
|
|
775
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
776
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
782
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
783
|
+
*/
|
|
784
|
+
proto.Drumtracker.TrackerProto.Event.prototype.setDate = function(value) {
|
|
785
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Clears the message field making it undefined.
|
|
791
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
792
|
+
*/
|
|
793
|
+
proto.Drumtracker.TrackerProto.Event.prototype.clearDate = function() {
|
|
794
|
+
return this.setDate(undefined);
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Returns whether this field is set.
|
|
800
|
+
* @return {boolean}
|
|
801
|
+
*/
|
|
802
|
+
proto.Drumtracker.TrackerProto.Event.prototype.hasDate = function() {
|
|
803
|
+
return jspb.Message.getField(this, 7) != null;
|
|
804
|
+
};
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* optional double battery_voltage = 8;
|
|
809
|
+
* @return {number}
|
|
810
|
+
*/
|
|
811
|
+
proto.Drumtracker.TrackerProto.Event.prototype.getBatteryVoltage = function() {
|
|
812
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
813
|
+
};
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* @param {number} value
|
|
818
|
+
* @return {!proto.Drumtracker.TrackerProto.Event} returns this
|
|
819
|
+
*/
|
|
820
|
+
proto.Drumtracker.TrackerProto.Event.prototype.setBatteryVoltage = function(value) {
|
|
821
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
|
|
572
825
|
|
|
573
826
|
|
|
574
827
|
|
|
@@ -585,8 +838,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
585
838
|
* http://goto/soy-param-migration
|
|
586
839
|
* @return {!Object}
|
|
587
840
|
*/
|
|
588
|
-
proto.
|
|
589
|
-
return proto.
|
|
841
|
+
proto.Drumtracker.TrackerProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
842
|
+
return proto.Drumtracker.TrackerProto.CreateRequest.toObject(opt_includeInstance, this);
|
|
590
843
|
};
|
|
591
844
|
|
|
592
845
|
|
|
@@ -595,13 +848,13 @@ proto.Drumtracking.TrackerProto.RetrieveRequest.prototype.toObject = function(op
|
|
|
595
848
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
596
849
|
* the JSPB instance for transitional soy proto support:
|
|
597
850
|
* http://goto/soy-param-migration
|
|
598
|
-
* @param {!proto.
|
|
851
|
+
* @param {!proto.Drumtracker.TrackerProto.CreateRequest} msg The msg instance to transform.
|
|
599
852
|
* @return {!Object}
|
|
600
853
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
601
854
|
*/
|
|
602
|
-
proto.
|
|
855
|
+
proto.Drumtracker.TrackerProto.CreateRequest.toObject = function(includeInstance, msg) {
|
|
603
856
|
var f, obj = {
|
|
604
|
-
|
|
857
|
+
|
|
605
858
|
};
|
|
606
859
|
|
|
607
860
|
if (includeInstance) {
|
|
@@ -615,33 +868,29 @@ proto.Drumtracking.TrackerProto.RetrieveRequest.toObject = function(includeInsta
|
|
|
615
868
|
/**
|
|
616
869
|
* Deserializes binary data (in protobuf wire format).
|
|
617
870
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
618
|
-
* @return {!proto.
|
|
871
|
+
* @return {!proto.Drumtracker.TrackerProto.CreateRequest}
|
|
619
872
|
*/
|
|
620
|
-
proto.
|
|
873
|
+
proto.Drumtracker.TrackerProto.CreateRequest.deserializeBinary = function(bytes) {
|
|
621
874
|
var reader = new jspb.BinaryReader(bytes);
|
|
622
|
-
var msg = new proto.
|
|
623
|
-
return proto.
|
|
875
|
+
var msg = new proto.Drumtracker.TrackerProto.CreateRequest;
|
|
876
|
+
return proto.Drumtracker.TrackerProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
|
|
624
877
|
};
|
|
625
878
|
|
|
626
879
|
|
|
627
880
|
/**
|
|
628
881
|
* Deserializes binary data (in protobuf wire format) from the
|
|
629
882
|
* given reader into the given message object.
|
|
630
|
-
* @param {!proto.
|
|
883
|
+
* @param {!proto.Drumtracker.TrackerProto.CreateRequest} msg The message object to deserialize into.
|
|
631
884
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
632
|
-
* @return {!proto.
|
|
885
|
+
* @return {!proto.Drumtracker.TrackerProto.CreateRequest}
|
|
633
886
|
*/
|
|
634
|
-
proto.
|
|
887
|
+
proto.Drumtracker.TrackerProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
635
888
|
while (reader.nextField()) {
|
|
636
889
|
if (reader.isEndGroup()) {
|
|
637
890
|
break;
|
|
638
891
|
}
|
|
639
892
|
var field = reader.getFieldNumber();
|
|
640
893
|
switch (field) {
|
|
641
|
-
case 1:
|
|
642
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
643
|
-
msg.setId(value);
|
|
644
|
-
break;
|
|
645
894
|
default:
|
|
646
895
|
reader.skipField();
|
|
647
896
|
break;
|
|
@@ -655,9 +904,9 @@ proto.Drumtracking.TrackerProto.RetrieveRequest.deserializeBinaryFromReader = fu
|
|
|
655
904
|
* Serializes the message to binary data (in protobuf wire format).
|
|
656
905
|
* @return {!Uint8Array}
|
|
657
906
|
*/
|
|
658
|
-
proto.
|
|
907
|
+
proto.Drumtracker.TrackerProto.CreateRequest.prototype.serializeBinary = function() {
|
|
659
908
|
var writer = new jspb.BinaryWriter();
|
|
660
|
-
proto.
|
|
909
|
+
proto.Drumtracker.TrackerProto.CreateRequest.serializeBinaryToWriter(this, writer);
|
|
661
910
|
return writer.getResultBuffer();
|
|
662
911
|
};
|
|
663
912
|
|
|
@@ -665,37 +914,12 @@ proto.Drumtracking.TrackerProto.RetrieveRequest.prototype.serializeBinary = func
|
|
|
665
914
|
/**
|
|
666
915
|
* Serializes the given message to binary data (in protobuf wire
|
|
667
916
|
* format), writing to the given BinaryWriter.
|
|
668
|
-
* @param {!proto.
|
|
917
|
+
* @param {!proto.Drumtracker.TrackerProto.CreateRequest} message
|
|
669
918
|
* @param {!jspb.BinaryWriter} writer
|
|
670
919
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
671
920
|
*/
|
|
672
|
-
proto.
|
|
921
|
+
proto.Drumtracker.TrackerProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
673
922
|
var f = undefined;
|
|
674
|
-
f = message.getId();
|
|
675
|
-
if (f !== 0) {
|
|
676
|
-
writer.writeInt64(
|
|
677
|
-
1,
|
|
678
|
-
f
|
|
679
|
-
);
|
|
680
|
-
}
|
|
681
|
-
};
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* optional int64 id = 1;
|
|
686
|
-
* @return {number}
|
|
687
|
-
*/
|
|
688
|
-
proto.Drumtracking.TrackerProto.RetrieveRequest.prototype.getId = function() {
|
|
689
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
690
|
-
};
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* @param {number} value
|
|
695
|
-
* @return {!proto.Drumtracking.TrackerProto.RetrieveRequest} returns this
|
|
696
|
-
*/
|
|
697
|
-
proto.Drumtracking.TrackerProto.RetrieveRequest.prototype.setId = function(value) {
|
|
698
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
699
923
|
};
|
|
700
924
|
|
|
701
925
|
|
|
@@ -715,8 +939,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
715
939
|
* http://goto/soy-param-migration
|
|
716
940
|
* @return {!Object}
|
|
717
941
|
*/
|
|
718
|
-
proto.
|
|
719
|
-
return proto.
|
|
942
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
943
|
+
return proto.Drumtracker.TrackerProto.RetrieveRequest.toObject(opt_includeInstance, this);
|
|
720
944
|
};
|
|
721
945
|
|
|
722
946
|
|
|
@@ -725,14 +949,13 @@ proto.Drumtracking.TrackerProto.UpdateRequest.prototype.toObject = function(opt_
|
|
|
725
949
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
726
950
|
* the JSPB instance for transitional soy proto support:
|
|
727
951
|
* http://goto/soy-param-migration
|
|
728
|
-
* @param {!proto.
|
|
952
|
+
* @param {!proto.Drumtracker.TrackerProto.RetrieveRequest} msg The msg instance to transform.
|
|
729
953
|
* @return {!Object}
|
|
730
954
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
731
955
|
*/
|
|
732
|
-
proto.
|
|
956
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
733
957
|
var f, obj = {
|
|
734
|
-
|
|
735
|
-
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
958
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
736
959
|
};
|
|
737
960
|
|
|
738
961
|
if (includeInstance) {
|
|
@@ -746,23 +969,23 @@ proto.Drumtracking.TrackerProto.UpdateRequest.toObject = function(includeInstanc
|
|
|
746
969
|
/**
|
|
747
970
|
* Deserializes binary data (in protobuf wire format).
|
|
748
971
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
749
|
-
* @return {!proto.
|
|
972
|
+
* @return {!proto.Drumtracker.TrackerProto.RetrieveRequest}
|
|
750
973
|
*/
|
|
751
|
-
proto.
|
|
974
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.deserializeBinary = function(bytes) {
|
|
752
975
|
var reader = new jspb.BinaryReader(bytes);
|
|
753
|
-
var msg = new proto.
|
|
754
|
-
return proto.
|
|
976
|
+
var msg = new proto.Drumtracker.TrackerProto.RetrieveRequest;
|
|
977
|
+
return proto.Drumtracker.TrackerProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
|
|
755
978
|
};
|
|
756
979
|
|
|
757
980
|
|
|
758
981
|
/**
|
|
759
982
|
* Deserializes binary data (in protobuf wire format) from the
|
|
760
983
|
* given reader into the given message object.
|
|
761
|
-
* @param {!proto.
|
|
984
|
+
* @param {!proto.Drumtracker.TrackerProto.RetrieveRequest} msg The message object to deserialize into.
|
|
762
985
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
763
|
-
* @return {!proto.
|
|
986
|
+
* @return {!proto.Drumtracker.TrackerProto.RetrieveRequest}
|
|
764
987
|
*/
|
|
765
|
-
proto.
|
|
988
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
766
989
|
while (reader.nextField()) {
|
|
767
990
|
if (reader.isEndGroup()) {
|
|
768
991
|
break;
|
|
@@ -770,12 +993,8 @@ proto.Drumtracking.TrackerProto.UpdateRequest.deserializeBinaryFromReader = func
|
|
|
770
993
|
var field = reader.getFieldNumber();
|
|
771
994
|
switch (field) {
|
|
772
995
|
case 1:
|
|
773
|
-
var value = /** @type {
|
|
774
|
-
msg.
|
|
775
|
-
break;
|
|
776
|
-
case 2:
|
|
777
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
778
|
-
msg.setDrumNumber(value);
|
|
996
|
+
var value = /** @type {string} */ (reader.readString());
|
|
997
|
+
msg.setUid(value);
|
|
779
998
|
break;
|
|
780
999
|
default:
|
|
781
1000
|
reader.skipField();
|
|
@@ -790,9 +1009,9 @@ proto.Drumtracking.TrackerProto.UpdateRequest.deserializeBinaryFromReader = func
|
|
|
790
1009
|
* Serializes the message to binary data (in protobuf wire format).
|
|
791
1010
|
* @return {!Uint8Array}
|
|
792
1011
|
*/
|
|
793
|
-
proto.
|
|
1012
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.prototype.serializeBinary = function() {
|
|
794
1013
|
var writer = new jspb.BinaryWriter();
|
|
795
|
-
proto.
|
|
1014
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
|
|
796
1015
|
return writer.getResultBuffer();
|
|
797
1016
|
};
|
|
798
1017
|
|
|
@@ -800,62 +1019,138 @@ proto.Drumtracking.TrackerProto.UpdateRequest.prototype.serializeBinary = functi
|
|
|
800
1019
|
/**
|
|
801
1020
|
* Serializes the given message to binary data (in protobuf wire
|
|
802
1021
|
* format), writing to the given BinaryWriter.
|
|
803
|
-
* @param {!proto.
|
|
1022
|
+
* @param {!proto.Drumtracker.TrackerProto.RetrieveRequest} message
|
|
804
1023
|
* @param {!jspb.BinaryWriter} writer
|
|
805
1024
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
806
1025
|
*/
|
|
807
|
-
proto.
|
|
1026
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
808
1027
|
var f = undefined;
|
|
809
|
-
f = message.
|
|
810
|
-
if (f
|
|
811
|
-
writer.
|
|
1028
|
+
f = message.getUid();
|
|
1029
|
+
if (f.length > 0) {
|
|
1030
|
+
writer.writeString(
|
|
812
1031
|
1,
|
|
813
1032
|
f
|
|
814
1033
|
);
|
|
815
1034
|
}
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* optional string uid = 1;
|
|
1040
|
+
* @return {string}
|
|
1041
|
+
*/
|
|
1042
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.prototype.getUid = function() {
|
|
1043
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* @param {string} value
|
|
1049
|
+
* @return {!proto.Drumtracker.TrackerProto.RetrieveRequest} returns this
|
|
1050
|
+
*/
|
|
1051
|
+
proto.Drumtracker.TrackerProto.RetrieveRequest.prototype.setUid = function(value) {
|
|
1052
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1060
|
+
/**
|
|
1061
|
+
* Creates an object representation of this proto.
|
|
1062
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1063
|
+
* Optional fields that are not set will be set to undefined.
|
|
1064
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1065
|
+
* For the list of reserved names please see:
|
|
1066
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1067
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1068
|
+
* JSPB instance for transitional soy proto support:
|
|
1069
|
+
* http://goto/soy-param-migration
|
|
1070
|
+
* @return {!Object}
|
|
1071
|
+
*/
|
|
1072
|
+
proto.Drumtracker.TrackerProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1073
|
+
return proto.Drumtracker.TrackerProto.UpdateRequest.toObject(opt_includeInstance, this);
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Static version of the {@see toObject} method.
|
|
1079
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1080
|
+
* the JSPB instance for transitional soy proto support:
|
|
1081
|
+
* http://goto/soy-param-migration
|
|
1082
|
+
* @param {!proto.Drumtracker.TrackerProto.UpdateRequest} msg The msg instance to transform.
|
|
1083
|
+
* @return {!Object}
|
|
1084
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1085
|
+
*/
|
|
1086
|
+
proto.Drumtracker.TrackerProto.UpdateRequest.toObject = function(includeInstance, msg) {
|
|
1087
|
+
var f, obj = {
|
|
1088
|
+
|
|
1089
|
+
};
|
|
1090
|
+
|
|
1091
|
+
if (includeInstance) {
|
|
1092
|
+
obj.$jspbMessageInstance = msg;
|
|
822
1093
|
}
|
|
1094
|
+
return obj;
|
|
823
1095
|
};
|
|
1096
|
+
}
|
|
824
1097
|
|
|
825
1098
|
|
|
826
1099
|
/**
|
|
827
|
-
*
|
|
828
|
-
* @
|
|
1100
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1101
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1102
|
+
* @return {!proto.Drumtracker.TrackerProto.UpdateRequest}
|
|
829
1103
|
*/
|
|
830
|
-
proto.
|
|
831
|
-
|
|
1104
|
+
proto.Drumtracker.TrackerProto.UpdateRequest.deserializeBinary = function(bytes) {
|
|
1105
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1106
|
+
var msg = new proto.Drumtracker.TrackerProto.UpdateRequest;
|
|
1107
|
+
return proto.Drumtracker.TrackerProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
832
1108
|
};
|
|
833
1109
|
|
|
834
1110
|
|
|
835
1111
|
/**
|
|
836
|
-
*
|
|
837
|
-
*
|
|
1112
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1113
|
+
* given reader into the given message object.
|
|
1114
|
+
* @param {!proto.Drumtracker.TrackerProto.UpdateRequest} msg The message object to deserialize into.
|
|
1115
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1116
|
+
* @return {!proto.Drumtracker.TrackerProto.UpdateRequest}
|
|
838
1117
|
*/
|
|
839
|
-
proto.
|
|
840
|
-
|
|
1118
|
+
proto.Drumtracker.TrackerProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1119
|
+
while (reader.nextField()) {
|
|
1120
|
+
if (reader.isEndGroup()) {
|
|
1121
|
+
break;
|
|
1122
|
+
}
|
|
1123
|
+
var field = reader.getFieldNumber();
|
|
1124
|
+
switch (field) {
|
|
1125
|
+
default:
|
|
1126
|
+
reader.skipField();
|
|
1127
|
+
break;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
return msg;
|
|
841
1131
|
};
|
|
842
1132
|
|
|
843
1133
|
|
|
844
1134
|
/**
|
|
845
|
-
*
|
|
846
|
-
* @return {
|
|
1135
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1136
|
+
* @return {!Uint8Array}
|
|
847
1137
|
*/
|
|
848
|
-
proto.
|
|
849
|
-
|
|
1138
|
+
proto.Drumtracker.TrackerProto.UpdateRequest.prototype.serializeBinary = function() {
|
|
1139
|
+
var writer = new jspb.BinaryWriter();
|
|
1140
|
+
proto.Drumtracker.TrackerProto.UpdateRequest.serializeBinaryToWriter(this, writer);
|
|
1141
|
+
return writer.getResultBuffer();
|
|
850
1142
|
};
|
|
851
1143
|
|
|
852
1144
|
|
|
853
1145
|
/**
|
|
854
|
-
*
|
|
855
|
-
*
|
|
1146
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1147
|
+
* format), writing to the given BinaryWriter.
|
|
1148
|
+
* @param {!proto.Drumtracker.TrackerProto.UpdateRequest} message
|
|
1149
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1150
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
856
1151
|
*/
|
|
857
|
-
proto.
|
|
858
|
-
|
|
1152
|
+
proto.Drumtracker.TrackerProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1153
|
+
var f = undefined;
|
|
859
1154
|
};
|
|
860
1155
|
|
|
861
1156
|
|
|
@@ -875,8 +1170,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
875
1170
|
* http://goto/soy-param-migration
|
|
876
1171
|
* @return {!Object}
|
|
877
1172
|
*/
|
|
878
|
-
proto.
|
|
879
|
-
return proto.
|
|
1173
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1174
|
+
return proto.Drumtracker.TrackerProto.DeleteRequest.toObject(opt_includeInstance, this);
|
|
880
1175
|
};
|
|
881
1176
|
|
|
882
1177
|
|
|
@@ -885,13 +1180,13 @@ proto.Drumtracking.TrackerProto.DeleteRequest.prototype.toObject = function(opt_
|
|
|
885
1180
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
886
1181
|
* the JSPB instance for transitional soy proto support:
|
|
887
1182
|
* http://goto/soy-param-migration
|
|
888
|
-
* @param {!proto.
|
|
1183
|
+
* @param {!proto.Drumtracker.TrackerProto.DeleteRequest} msg The msg instance to transform.
|
|
889
1184
|
* @return {!Object}
|
|
890
1185
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
891
1186
|
*/
|
|
892
|
-
proto.
|
|
1187
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.toObject = function(includeInstance, msg) {
|
|
893
1188
|
var f, obj = {
|
|
894
|
-
|
|
1189
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
895
1190
|
};
|
|
896
1191
|
|
|
897
1192
|
if (includeInstance) {
|
|
@@ -905,23 +1200,23 @@ proto.Drumtracking.TrackerProto.DeleteRequest.toObject = function(includeInstanc
|
|
|
905
1200
|
/**
|
|
906
1201
|
* Deserializes binary data (in protobuf wire format).
|
|
907
1202
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
908
|
-
* @return {!proto.
|
|
1203
|
+
* @return {!proto.Drumtracker.TrackerProto.DeleteRequest}
|
|
909
1204
|
*/
|
|
910
|
-
proto.
|
|
1205
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.deserializeBinary = function(bytes) {
|
|
911
1206
|
var reader = new jspb.BinaryReader(bytes);
|
|
912
|
-
var msg = new proto.
|
|
913
|
-
return proto.
|
|
1207
|
+
var msg = new proto.Drumtracker.TrackerProto.DeleteRequest;
|
|
1208
|
+
return proto.Drumtracker.TrackerProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
|
|
914
1209
|
};
|
|
915
1210
|
|
|
916
1211
|
|
|
917
1212
|
/**
|
|
918
1213
|
* Deserializes binary data (in protobuf wire format) from the
|
|
919
1214
|
* given reader into the given message object.
|
|
920
|
-
* @param {!proto.
|
|
1215
|
+
* @param {!proto.Drumtracker.TrackerProto.DeleteRequest} msg The message object to deserialize into.
|
|
921
1216
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
922
|
-
* @return {!proto.
|
|
1217
|
+
* @return {!proto.Drumtracker.TrackerProto.DeleteRequest}
|
|
923
1218
|
*/
|
|
924
|
-
proto.
|
|
1219
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
925
1220
|
while (reader.nextField()) {
|
|
926
1221
|
if (reader.isEndGroup()) {
|
|
927
1222
|
break;
|
|
@@ -929,8 +1224,8 @@ proto.Drumtracking.TrackerProto.DeleteRequest.deserializeBinaryFromReader = func
|
|
|
929
1224
|
var field = reader.getFieldNumber();
|
|
930
1225
|
switch (field) {
|
|
931
1226
|
case 1:
|
|
932
|
-
var value = /** @type {
|
|
933
|
-
msg.
|
|
1227
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1228
|
+
msg.setUid(value);
|
|
934
1229
|
break;
|
|
935
1230
|
default:
|
|
936
1231
|
reader.skipField();
|
|
@@ -945,9 +1240,9 @@ proto.Drumtracking.TrackerProto.DeleteRequest.deserializeBinaryFromReader = func
|
|
|
945
1240
|
* Serializes the message to binary data (in protobuf wire format).
|
|
946
1241
|
* @return {!Uint8Array}
|
|
947
1242
|
*/
|
|
948
|
-
proto.
|
|
1243
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.prototype.serializeBinary = function() {
|
|
949
1244
|
var writer = new jspb.BinaryWriter();
|
|
950
|
-
proto.
|
|
1245
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.serializeBinaryToWriter(this, writer);
|
|
951
1246
|
return writer.getResultBuffer();
|
|
952
1247
|
};
|
|
953
1248
|
|
|
@@ -955,15 +1250,15 @@ proto.Drumtracking.TrackerProto.DeleteRequest.prototype.serializeBinary = functi
|
|
|
955
1250
|
/**
|
|
956
1251
|
* Serializes the given message to binary data (in protobuf wire
|
|
957
1252
|
* format), writing to the given BinaryWriter.
|
|
958
|
-
* @param {!proto.
|
|
1253
|
+
* @param {!proto.Drumtracker.TrackerProto.DeleteRequest} message
|
|
959
1254
|
* @param {!jspb.BinaryWriter} writer
|
|
960
1255
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
961
1256
|
*/
|
|
962
|
-
proto.
|
|
1257
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
963
1258
|
var f = undefined;
|
|
964
|
-
f = message.
|
|
965
|
-
if (f
|
|
966
|
-
writer.
|
|
1259
|
+
f = message.getUid();
|
|
1260
|
+
if (f.length > 0) {
|
|
1261
|
+
writer.writeString(
|
|
967
1262
|
1,
|
|
968
1263
|
f
|
|
969
1264
|
);
|
|
@@ -972,20 +1267,20 @@ proto.Drumtracking.TrackerProto.DeleteRequest.serializeBinaryToWriter = function
|
|
|
972
1267
|
|
|
973
1268
|
|
|
974
1269
|
/**
|
|
975
|
-
* optional
|
|
976
|
-
* @return {
|
|
1270
|
+
* optional string uid = 1;
|
|
1271
|
+
* @return {string}
|
|
977
1272
|
*/
|
|
978
|
-
proto.
|
|
979
|
-
return /** @type {
|
|
1273
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.prototype.getUid = function() {
|
|
1274
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
980
1275
|
};
|
|
981
1276
|
|
|
982
1277
|
|
|
983
1278
|
/**
|
|
984
|
-
* @param {
|
|
985
|
-
* @return {!proto.
|
|
1279
|
+
* @param {string} value
|
|
1280
|
+
* @return {!proto.Drumtracker.TrackerProto.DeleteRequest} returns this
|
|
986
1281
|
*/
|
|
987
|
-
proto.
|
|
988
|
-
return jspb.Message.
|
|
1282
|
+
proto.Drumtracker.TrackerProto.DeleteRequest.prototype.setUid = function(value) {
|
|
1283
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
989
1284
|
};
|
|
990
1285
|
|
|
991
1286
|
|
|
@@ -1005,8 +1300,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1005
1300
|
* http://goto/soy-param-migration
|
|
1006
1301
|
* @return {!Object}
|
|
1007
1302
|
*/
|
|
1008
|
-
proto.
|
|
1009
|
-
return proto.
|
|
1303
|
+
proto.Drumtracker.TrackerProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
|
|
1304
|
+
return proto.Drumtracker.TrackerProto.DeleteReply.toObject(opt_includeInstance, this);
|
|
1010
1305
|
};
|
|
1011
1306
|
|
|
1012
1307
|
|
|
@@ -1015,11 +1310,11 @@ proto.Drumtracking.TrackerProto.DeleteReply.prototype.toObject = function(opt_in
|
|
|
1015
1310
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1016
1311
|
* the JSPB instance for transitional soy proto support:
|
|
1017
1312
|
* http://goto/soy-param-migration
|
|
1018
|
-
* @param {!proto.
|
|
1313
|
+
* @param {!proto.Drumtracker.TrackerProto.DeleteReply} msg The msg instance to transform.
|
|
1019
1314
|
* @return {!Object}
|
|
1020
1315
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1021
1316
|
*/
|
|
1022
|
-
proto.
|
|
1317
|
+
proto.Drumtracker.TrackerProto.DeleteReply.toObject = function(includeInstance, msg) {
|
|
1023
1318
|
var f, obj = {
|
|
1024
1319
|
|
|
1025
1320
|
};
|
|
@@ -1035,23 +1330,23 @@ proto.Drumtracking.TrackerProto.DeleteReply.toObject = function(includeInstance,
|
|
|
1035
1330
|
/**
|
|
1036
1331
|
* Deserializes binary data (in protobuf wire format).
|
|
1037
1332
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1038
|
-
* @return {!proto.
|
|
1333
|
+
* @return {!proto.Drumtracker.TrackerProto.DeleteReply}
|
|
1039
1334
|
*/
|
|
1040
|
-
proto.
|
|
1335
|
+
proto.Drumtracker.TrackerProto.DeleteReply.deserializeBinary = function(bytes) {
|
|
1041
1336
|
var reader = new jspb.BinaryReader(bytes);
|
|
1042
|
-
var msg = new proto.
|
|
1043
|
-
return proto.
|
|
1337
|
+
var msg = new proto.Drumtracker.TrackerProto.DeleteReply;
|
|
1338
|
+
return proto.Drumtracker.TrackerProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
|
|
1044
1339
|
};
|
|
1045
1340
|
|
|
1046
1341
|
|
|
1047
1342
|
/**
|
|
1048
1343
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1049
1344
|
* given reader into the given message object.
|
|
1050
|
-
* @param {!proto.
|
|
1345
|
+
* @param {!proto.Drumtracker.TrackerProto.DeleteReply} msg The message object to deserialize into.
|
|
1051
1346
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1052
|
-
* @return {!proto.
|
|
1347
|
+
* @return {!proto.Drumtracker.TrackerProto.DeleteReply}
|
|
1053
1348
|
*/
|
|
1054
|
-
proto.
|
|
1349
|
+
proto.Drumtracker.TrackerProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
1055
1350
|
while (reader.nextField()) {
|
|
1056
1351
|
if (reader.isEndGroup()) {
|
|
1057
1352
|
break;
|
|
@@ -1071,9 +1366,9 @@ proto.Drumtracking.TrackerProto.DeleteReply.deserializeBinaryFromReader = functi
|
|
|
1071
1366
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1072
1367
|
* @return {!Uint8Array}
|
|
1073
1368
|
*/
|
|
1074
|
-
proto.
|
|
1369
|
+
proto.Drumtracker.TrackerProto.DeleteReply.prototype.serializeBinary = function() {
|
|
1075
1370
|
var writer = new jspb.BinaryWriter();
|
|
1076
|
-
proto.
|
|
1371
|
+
proto.Drumtracker.TrackerProto.DeleteReply.serializeBinaryToWriter(this, writer);
|
|
1077
1372
|
return writer.getResultBuffer();
|
|
1078
1373
|
};
|
|
1079
1374
|
|
|
@@ -1081,11 +1376,11 @@ proto.Drumtracking.TrackerProto.DeleteReply.prototype.serializeBinary = function
|
|
|
1081
1376
|
/**
|
|
1082
1377
|
* Serializes the given message to binary data (in protobuf wire
|
|
1083
1378
|
* format), writing to the given BinaryWriter.
|
|
1084
|
-
* @param {!proto.
|
|
1379
|
+
* @param {!proto.Drumtracker.TrackerProto.DeleteReply} message
|
|
1085
1380
|
* @param {!jspb.BinaryWriter} writer
|
|
1086
1381
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1087
1382
|
*/
|
|
1088
|
-
proto.
|
|
1383
|
+
proto.Drumtracker.TrackerProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
|
|
1089
1384
|
var f = undefined;
|
|
1090
1385
|
};
|
|
1091
1386
|
|
|
@@ -1106,8 +1401,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1106
1401
|
* http://goto/soy-param-migration
|
|
1107
1402
|
* @return {!Object}
|
|
1108
1403
|
*/
|
|
1109
|
-
proto.
|
|
1110
|
-
return proto.
|
|
1404
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1405
|
+
return proto.Drumtracker.TrackerProto.SearchRequest.toObject(opt_includeInstance, this);
|
|
1111
1406
|
};
|
|
1112
1407
|
|
|
1113
1408
|
|
|
@@ -1116,13 +1411,13 @@ proto.Drumtracking.TrackerProto.SearchRequest.prototype.toObject = function(opt_
|
|
|
1116
1411
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1117
1412
|
* the JSPB instance for transitional soy proto support:
|
|
1118
1413
|
* http://goto/soy-param-migration
|
|
1119
|
-
* @param {!proto.
|
|
1414
|
+
* @param {!proto.Drumtracker.TrackerProto.SearchRequest} msg The msg instance to transform.
|
|
1120
1415
|
* @return {!Object}
|
|
1121
1416
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1122
1417
|
*/
|
|
1123
|
-
proto.
|
|
1418
|
+
proto.Drumtracker.TrackerProto.SearchRequest.toObject = function(includeInstance, msg) {
|
|
1124
1419
|
var f, obj = {
|
|
1125
|
-
filters: (f = msg.getFilters()) && proto.
|
|
1420
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.TrackerProto.TrackerFilters.toObject(includeInstance, f),
|
|
1126
1421
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1127
1422
|
count: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
1128
1423
|
};
|
|
@@ -1138,23 +1433,23 @@ proto.Drumtracking.TrackerProto.SearchRequest.toObject = function(includeInstanc
|
|
|
1138
1433
|
/**
|
|
1139
1434
|
* Deserializes binary data (in protobuf wire format).
|
|
1140
1435
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1141
|
-
* @return {!proto.
|
|
1436
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchRequest}
|
|
1142
1437
|
*/
|
|
1143
|
-
proto.
|
|
1438
|
+
proto.Drumtracker.TrackerProto.SearchRequest.deserializeBinary = function(bytes) {
|
|
1144
1439
|
var reader = new jspb.BinaryReader(bytes);
|
|
1145
|
-
var msg = new proto.
|
|
1146
|
-
return proto.
|
|
1440
|
+
var msg = new proto.Drumtracker.TrackerProto.SearchRequest;
|
|
1441
|
+
return proto.Drumtracker.TrackerProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
1147
1442
|
};
|
|
1148
1443
|
|
|
1149
1444
|
|
|
1150
1445
|
/**
|
|
1151
1446
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1152
1447
|
* given reader into the given message object.
|
|
1153
|
-
* @param {!proto.
|
|
1448
|
+
* @param {!proto.Drumtracker.TrackerProto.SearchRequest} msg The message object to deserialize into.
|
|
1154
1449
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1155
|
-
* @return {!proto.
|
|
1450
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchRequest}
|
|
1156
1451
|
*/
|
|
1157
|
-
proto.
|
|
1452
|
+
proto.Drumtracker.TrackerProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1158
1453
|
while (reader.nextField()) {
|
|
1159
1454
|
if (reader.isEndGroup()) {
|
|
1160
1455
|
break;
|
|
@@ -1162,8 +1457,8 @@ proto.Drumtracking.TrackerProto.SearchRequest.deserializeBinaryFromReader = func
|
|
|
1162
1457
|
var field = reader.getFieldNumber();
|
|
1163
1458
|
switch (field) {
|
|
1164
1459
|
case 1:
|
|
1165
|
-
var value = new proto.
|
|
1166
|
-
reader.readMessage(value,proto.
|
|
1460
|
+
var value = new proto.Drumtracker.TrackerProto.TrackerFilters;
|
|
1461
|
+
reader.readMessage(value,proto.Drumtracker.TrackerProto.TrackerFilters.deserializeBinaryFromReader);
|
|
1167
1462
|
msg.setFilters(value);
|
|
1168
1463
|
break;
|
|
1169
1464
|
case 2:
|
|
@@ -1187,9 +1482,9 @@ proto.Drumtracking.TrackerProto.SearchRequest.deserializeBinaryFromReader = func
|
|
|
1187
1482
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1188
1483
|
* @return {!Uint8Array}
|
|
1189
1484
|
*/
|
|
1190
|
-
proto.
|
|
1485
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.serializeBinary = function() {
|
|
1191
1486
|
var writer = new jspb.BinaryWriter();
|
|
1192
|
-
proto.
|
|
1487
|
+
proto.Drumtracker.TrackerProto.SearchRequest.serializeBinaryToWriter(this, writer);
|
|
1193
1488
|
return writer.getResultBuffer();
|
|
1194
1489
|
};
|
|
1195
1490
|
|
|
@@ -1197,18 +1492,18 @@ proto.Drumtracking.TrackerProto.SearchRequest.prototype.serializeBinary = functi
|
|
|
1197
1492
|
/**
|
|
1198
1493
|
* Serializes the given message to binary data (in protobuf wire
|
|
1199
1494
|
* format), writing to the given BinaryWriter.
|
|
1200
|
-
* @param {!proto.
|
|
1495
|
+
* @param {!proto.Drumtracker.TrackerProto.SearchRequest} message
|
|
1201
1496
|
* @param {!jspb.BinaryWriter} writer
|
|
1202
1497
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1203
1498
|
*/
|
|
1204
|
-
proto.
|
|
1499
|
+
proto.Drumtracker.TrackerProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1205
1500
|
var f = undefined;
|
|
1206
1501
|
f = message.getFilters();
|
|
1207
1502
|
if (f != null) {
|
|
1208
1503
|
writer.writeMessage(
|
|
1209
1504
|
1,
|
|
1210
1505
|
f,
|
|
1211
|
-
proto.
|
|
1506
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.serializeBinaryToWriter
|
|
1212
1507
|
);
|
|
1213
1508
|
}
|
|
1214
1509
|
f = message.getPage();
|
|
@@ -1230,28 +1525,28 @@ proto.Drumtracking.TrackerProto.SearchRequest.serializeBinaryToWriter = function
|
|
|
1230
1525
|
|
|
1231
1526
|
/**
|
|
1232
1527
|
* optional TrackerFilters filters = 1;
|
|
1233
|
-
* @return {?proto.
|
|
1528
|
+
* @return {?proto.Drumtracker.TrackerProto.TrackerFilters}
|
|
1234
1529
|
*/
|
|
1235
|
-
proto.
|
|
1236
|
-
return /** @type{?proto.
|
|
1237
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1530
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.getFilters = function() {
|
|
1531
|
+
return /** @type{?proto.Drumtracker.TrackerProto.TrackerFilters} */ (
|
|
1532
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.TrackerProto.TrackerFilters, 1));
|
|
1238
1533
|
};
|
|
1239
1534
|
|
|
1240
1535
|
|
|
1241
1536
|
/**
|
|
1242
|
-
* @param {?proto.
|
|
1243
|
-
* @return {!proto.
|
|
1537
|
+
* @param {?proto.Drumtracker.TrackerProto.TrackerFilters|undefined} value
|
|
1538
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchRequest} returns this
|
|
1244
1539
|
*/
|
|
1245
|
-
proto.
|
|
1540
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.setFilters = function(value) {
|
|
1246
1541
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
1247
1542
|
};
|
|
1248
1543
|
|
|
1249
1544
|
|
|
1250
1545
|
/**
|
|
1251
1546
|
* Clears the message field making it undefined.
|
|
1252
|
-
* @return {!proto.
|
|
1547
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchRequest} returns this
|
|
1253
1548
|
*/
|
|
1254
|
-
proto.
|
|
1549
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.clearFilters = function() {
|
|
1255
1550
|
return this.setFilters(undefined);
|
|
1256
1551
|
};
|
|
1257
1552
|
|
|
@@ -1260,7 +1555,7 @@ proto.Drumtracking.TrackerProto.SearchRequest.prototype.clearFilters = function(
|
|
|
1260
1555
|
* Returns whether this field is set.
|
|
1261
1556
|
* @return {boolean}
|
|
1262
1557
|
*/
|
|
1263
|
-
proto.
|
|
1558
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.hasFilters = function() {
|
|
1264
1559
|
return jspb.Message.getField(this, 1) != null;
|
|
1265
1560
|
};
|
|
1266
1561
|
|
|
@@ -1269,16 +1564,16 @@ proto.Drumtracking.TrackerProto.SearchRequest.prototype.hasFilters = function()
|
|
|
1269
1564
|
* optional int32 page = 2;
|
|
1270
1565
|
* @return {number}
|
|
1271
1566
|
*/
|
|
1272
|
-
proto.
|
|
1567
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.getPage = function() {
|
|
1273
1568
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1274
1569
|
};
|
|
1275
1570
|
|
|
1276
1571
|
|
|
1277
1572
|
/**
|
|
1278
1573
|
* @param {number} value
|
|
1279
|
-
* @return {!proto.
|
|
1574
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchRequest} returns this
|
|
1280
1575
|
*/
|
|
1281
|
-
proto.
|
|
1576
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.setPage = function(value) {
|
|
1282
1577
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1283
1578
|
};
|
|
1284
1579
|
|
|
@@ -1287,16 +1582,16 @@ proto.Drumtracking.TrackerProto.SearchRequest.prototype.setPage = function(value
|
|
|
1287
1582
|
* optional int32 count = 3;
|
|
1288
1583
|
* @return {number}
|
|
1289
1584
|
*/
|
|
1290
|
-
proto.
|
|
1585
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.getCount = function() {
|
|
1291
1586
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1292
1587
|
};
|
|
1293
1588
|
|
|
1294
1589
|
|
|
1295
1590
|
/**
|
|
1296
1591
|
* @param {number} value
|
|
1297
|
-
* @return {!proto.
|
|
1592
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchRequest} returns this
|
|
1298
1593
|
*/
|
|
1299
|
-
proto.
|
|
1594
|
+
proto.Drumtracker.TrackerProto.SearchRequest.prototype.setCount = function(value) {
|
|
1300
1595
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
1301
1596
|
};
|
|
1302
1597
|
|
|
@@ -1307,7 +1602,7 @@ proto.Drumtracking.TrackerProto.SearchRequest.prototype.setCount = function(valu
|
|
|
1307
1602
|
* @private {!Array<number>}
|
|
1308
1603
|
* @const
|
|
1309
1604
|
*/
|
|
1310
|
-
proto.
|
|
1605
|
+
proto.Drumtracker.TrackerProto.SearchReply.repeatedFields_ = [1];
|
|
1311
1606
|
|
|
1312
1607
|
|
|
1313
1608
|
|
|
@@ -1324,8 +1619,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1324
1619
|
* http://goto/soy-param-migration
|
|
1325
1620
|
* @return {!Object}
|
|
1326
1621
|
*/
|
|
1327
|
-
proto.
|
|
1328
|
-
return proto.
|
|
1622
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
|
|
1623
|
+
return proto.Drumtracker.TrackerProto.SearchReply.toObject(opt_includeInstance, this);
|
|
1329
1624
|
};
|
|
1330
1625
|
|
|
1331
1626
|
|
|
@@ -1334,14 +1629,14 @@ proto.Drumtracking.TrackerProto.SearchReply.prototype.toObject = function(opt_in
|
|
|
1334
1629
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1335
1630
|
* the JSPB instance for transitional soy proto support:
|
|
1336
1631
|
* http://goto/soy-param-migration
|
|
1337
|
-
* @param {!proto.
|
|
1632
|
+
* @param {!proto.Drumtracker.TrackerProto.SearchReply} msg The msg instance to transform.
|
|
1338
1633
|
* @return {!Object}
|
|
1339
1634
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1340
1635
|
*/
|
|
1341
|
-
proto.
|
|
1636
|
+
proto.Drumtracker.TrackerProto.SearchReply.toObject = function(includeInstance, msg) {
|
|
1342
1637
|
var f, obj = {
|
|
1343
1638
|
trackersList: jspb.Message.toObjectList(msg.getTrackersList(),
|
|
1344
|
-
proto.
|
|
1639
|
+
proto.Drumtracker.TrackerProto.toObject, includeInstance),
|
|
1345
1640
|
pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
|
|
1346
1641
|
};
|
|
1347
1642
|
|
|
@@ -1356,23 +1651,23 @@ proto.Drumtracking.TrackerProto.SearchReply.toObject = function(includeInstance,
|
|
|
1356
1651
|
/**
|
|
1357
1652
|
* Deserializes binary data (in protobuf wire format).
|
|
1358
1653
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1359
|
-
* @return {!proto.
|
|
1654
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchReply}
|
|
1360
1655
|
*/
|
|
1361
|
-
proto.
|
|
1656
|
+
proto.Drumtracker.TrackerProto.SearchReply.deserializeBinary = function(bytes) {
|
|
1362
1657
|
var reader = new jspb.BinaryReader(bytes);
|
|
1363
|
-
var msg = new proto.
|
|
1364
|
-
return proto.
|
|
1658
|
+
var msg = new proto.Drumtracker.TrackerProto.SearchReply;
|
|
1659
|
+
return proto.Drumtracker.TrackerProto.SearchReply.deserializeBinaryFromReader(msg, reader);
|
|
1365
1660
|
};
|
|
1366
1661
|
|
|
1367
1662
|
|
|
1368
1663
|
/**
|
|
1369
1664
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1370
1665
|
* given reader into the given message object.
|
|
1371
|
-
* @param {!proto.
|
|
1666
|
+
* @param {!proto.Drumtracker.TrackerProto.SearchReply} msg The message object to deserialize into.
|
|
1372
1667
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1373
|
-
* @return {!proto.
|
|
1668
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchReply}
|
|
1374
1669
|
*/
|
|
1375
|
-
proto.
|
|
1670
|
+
proto.Drumtracker.TrackerProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
1376
1671
|
while (reader.nextField()) {
|
|
1377
1672
|
if (reader.isEndGroup()) {
|
|
1378
1673
|
break;
|
|
@@ -1380,8 +1675,8 @@ proto.Drumtracking.TrackerProto.SearchReply.deserializeBinaryFromReader = functi
|
|
|
1380
1675
|
var field = reader.getFieldNumber();
|
|
1381
1676
|
switch (field) {
|
|
1382
1677
|
case 1:
|
|
1383
|
-
var value = new proto.
|
|
1384
|
-
reader.readMessage(value,proto.
|
|
1678
|
+
var value = new proto.Drumtracker.TrackerProto;
|
|
1679
|
+
reader.readMessage(value,proto.Drumtracker.TrackerProto.deserializeBinaryFromReader);
|
|
1385
1680
|
msg.addTrackers(value);
|
|
1386
1681
|
break;
|
|
1387
1682
|
case 2:
|
|
@@ -1402,9 +1697,9 @@ proto.Drumtracking.TrackerProto.SearchReply.deserializeBinaryFromReader = functi
|
|
|
1402
1697
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1403
1698
|
* @return {!Uint8Array}
|
|
1404
1699
|
*/
|
|
1405
|
-
proto.
|
|
1700
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.serializeBinary = function() {
|
|
1406
1701
|
var writer = new jspb.BinaryWriter();
|
|
1407
|
-
proto.
|
|
1702
|
+
proto.Drumtracker.TrackerProto.SearchReply.serializeBinaryToWriter(this, writer);
|
|
1408
1703
|
return writer.getResultBuffer();
|
|
1409
1704
|
};
|
|
1410
1705
|
|
|
@@ -1412,18 +1707,18 @@ proto.Drumtracking.TrackerProto.SearchReply.prototype.serializeBinary = function
|
|
|
1412
1707
|
/**
|
|
1413
1708
|
* Serializes the given message to binary data (in protobuf wire
|
|
1414
1709
|
* format), writing to the given BinaryWriter.
|
|
1415
|
-
* @param {!proto.
|
|
1710
|
+
* @param {!proto.Drumtracker.TrackerProto.SearchReply} message
|
|
1416
1711
|
* @param {!jspb.BinaryWriter} writer
|
|
1417
1712
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1418
1713
|
*/
|
|
1419
|
-
proto.
|
|
1714
|
+
proto.Drumtracker.TrackerProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
|
|
1420
1715
|
var f = undefined;
|
|
1421
1716
|
f = message.getTrackersList();
|
|
1422
1717
|
if (f.length > 0) {
|
|
1423
1718
|
writer.writeRepeatedMessage(
|
|
1424
1719
|
1,
|
|
1425
1720
|
f,
|
|
1426
|
-
proto.
|
|
1721
|
+
proto.Drumtracker.TrackerProto.serializeBinaryToWriter
|
|
1427
1722
|
);
|
|
1428
1723
|
}
|
|
1429
1724
|
f = message.getPagination();
|
|
@@ -1439,38 +1734,38 @@ proto.Drumtracking.TrackerProto.SearchReply.serializeBinaryToWriter = function(m
|
|
|
1439
1734
|
|
|
1440
1735
|
/**
|
|
1441
1736
|
* repeated TrackerProto trackers = 1;
|
|
1442
|
-
* @return {!Array<!proto.
|
|
1737
|
+
* @return {!Array<!proto.Drumtracker.TrackerProto>}
|
|
1443
1738
|
*/
|
|
1444
|
-
proto.
|
|
1445
|
-
return /** @type{!Array<!proto.
|
|
1446
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
1739
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.getTrackersList = function() {
|
|
1740
|
+
return /** @type{!Array<!proto.Drumtracker.TrackerProto>} */ (
|
|
1741
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Drumtracker.TrackerProto, 1));
|
|
1447
1742
|
};
|
|
1448
1743
|
|
|
1449
1744
|
|
|
1450
1745
|
/**
|
|
1451
|
-
* @param {!Array<!proto.
|
|
1452
|
-
* @return {!proto.
|
|
1746
|
+
* @param {!Array<!proto.Drumtracker.TrackerProto>} value
|
|
1747
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchReply} returns this
|
|
1453
1748
|
*/
|
|
1454
|
-
proto.
|
|
1749
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.setTrackersList = function(value) {
|
|
1455
1750
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1456
1751
|
};
|
|
1457
1752
|
|
|
1458
1753
|
|
|
1459
1754
|
/**
|
|
1460
|
-
* @param {!proto.
|
|
1755
|
+
* @param {!proto.Drumtracker.TrackerProto=} opt_value
|
|
1461
1756
|
* @param {number=} opt_index
|
|
1462
|
-
* @return {!proto.
|
|
1757
|
+
* @return {!proto.Drumtracker.TrackerProto}
|
|
1463
1758
|
*/
|
|
1464
|
-
proto.
|
|
1465
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
1759
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.addTrackers = function(opt_value, opt_index) {
|
|
1760
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Drumtracker.TrackerProto, opt_index);
|
|
1466
1761
|
};
|
|
1467
1762
|
|
|
1468
1763
|
|
|
1469
1764
|
/**
|
|
1470
1765
|
* Clears the list making it empty but non-null.
|
|
1471
|
-
* @return {!proto.
|
|
1766
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchReply} returns this
|
|
1472
1767
|
*/
|
|
1473
|
-
proto.
|
|
1768
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.clearTrackersList = function() {
|
|
1474
1769
|
return this.setTrackersList([]);
|
|
1475
1770
|
};
|
|
1476
1771
|
|
|
@@ -1479,7 +1774,7 @@ proto.Drumtracking.TrackerProto.SearchReply.prototype.clearTrackersList = functi
|
|
|
1479
1774
|
* optional Platform.PaginationProto pagination = 2;
|
|
1480
1775
|
* @return {?proto.Platform.PaginationProto}
|
|
1481
1776
|
*/
|
|
1482
|
-
proto.
|
|
1777
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.getPagination = function() {
|
|
1483
1778
|
return /** @type{?proto.Platform.PaginationProto} */ (
|
|
1484
1779
|
jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
|
|
1485
1780
|
};
|
|
@@ -1487,18 +1782,18 @@ proto.Drumtracking.TrackerProto.SearchReply.prototype.getPagination = function()
|
|
|
1487
1782
|
|
|
1488
1783
|
/**
|
|
1489
1784
|
* @param {?proto.Platform.PaginationProto|undefined} value
|
|
1490
|
-
* @return {!proto.
|
|
1785
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchReply} returns this
|
|
1491
1786
|
*/
|
|
1492
|
-
proto.
|
|
1787
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.setPagination = function(value) {
|
|
1493
1788
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1494
1789
|
};
|
|
1495
1790
|
|
|
1496
1791
|
|
|
1497
1792
|
/**
|
|
1498
1793
|
* Clears the message field making it undefined.
|
|
1499
|
-
* @return {!proto.
|
|
1794
|
+
* @return {!proto.Drumtracker.TrackerProto.SearchReply} returns this
|
|
1500
1795
|
*/
|
|
1501
|
-
proto.
|
|
1796
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.clearPagination = function() {
|
|
1502
1797
|
return this.setPagination(undefined);
|
|
1503
1798
|
};
|
|
1504
1799
|
|
|
@@ -1507,7 +1802,7 @@ proto.Drumtracking.TrackerProto.SearchReply.prototype.clearPagination = function
|
|
|
1507
1802
|
* Returns whether this field is set.
|
|
1508
1803
|
* @return {boolean}
|
|
1509
1804
|
*/
|
|
1510
|
-
proto.
|
|
1805
|
+
proto.Drumtracker.TrackerProto.SearchReply.prototype.hasPagination = function() {
|
|
1511
1806
|
return jspb.Message.getField(this, 2) != null;
|
|
1512
1807
|
};
|
|
1513
1808
|
|
|
@@ -1528,8 +1823,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1528
1823
|
* http://goto/soy-param-migration
|
|
1529
1824
|
* @return {!Object}
|
|
1530
1825
|
*/
|
|
1531
|
-
proto.
|
|
1532
|
-
return proto.
|
|
1826
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.prototype.toObject = function(opt_includeInstance) {
|
|
1827
|
+
return proto.Drumtracker.TrackerProto.TrackerFilters.toObject(opt_includeInstance, this);
|
|
1533
1828
|
};
|
|
1534
1829
|
|
|
1535
1830
|
|
|
@@ -1538,11 +1833,11 @@ proto.Drumtracking.TrackerProto.TrackerFilters.prototype.toObject = function(opt
|
|
|
1538
1833
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1539
1834
|
* the JSPB instance for transitional soy proto support:
|
|
1540
1835
|
* http://goto/soy-param-migration
|
|
1541
|
-
* @param {!proto.
|
|
1836
|
+
* @param {!proto.Drumtracker.TrackerProto.TrackerFilters} msg The msg instance to transform.
|
|
1542
1837
|
* @return {!Object}
|
|
1543
1838
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1544
1839
|
*/
|
|
1545
|
-
proto.
|
|
1840
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.toObject = function(includeInstance, msg) {
|
|
1546
1841
|
var f, obj = {
|
|
1547
1842
|
search: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1548
1843
|
};
|
|
@@ -1558,23 +1853,23 @@ proto.Drumtracking.TrackerProto.TrackerFilters.toObject = function(includeInstan
|
|
|
1558
1853
|
/**
|
|
1559
1854
|
* Deserializes binary data (in protobuf wire format).
|
|
1560
1855
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1561
|
-
* @return {!proto.
|
|
1856
|
+
* @return {!proto.Drumtracker.TrackerProto.TrackerFilters}
|
|
1562
1857
|
*/
|
|
1563
|
-
proto.
|
|
1858
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.deserializeBinary = function(bytes) {
|
|
1564
1859
|
var reader = new jspb.BinaryReader(bytes);
|
|
1565
|
-
var msg = new proto.
|
|
1566
|
-
return proto.
|
|
1860
|
+
var msg = new proto.Drumtracker.TrackerProto.TrackerFilters;
|
|
1861
|
+
return proto.Drumtracker.TrackerProto.TrackerFilters.deserializeBinaryFromReader(msg, reader);
|
|
1567
1862
|
};
|
|
1568
1863
|
|
|
1569
1864
|
|
|
1570
1865
|
/**
|
|
1571
1866
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1572
1867
|
* given reader into the given message object.
|
|
1573
|
-
* @param {!proto.
|
|
1868
|
+
* @param {!proto.Drumtracker.TrackerProto.TrackerFilters} msg The message object to deserialize into.
|
|
1574
1869
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1575
|
-
* @return {!proto.
|
|
1870
|
+
* @return {!proto.Drumtracker.TrackerProto.TrackerFilters}
|
|
1576
1871
|
*/
|
|
1577
|
-
proto.
|
|
1872
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.deserializeBinaryFromReader = function(msg, reader) {
|
|
1578
1873
|
while (reader.nextField()) {
|
|
1579
1874
|
if (reader.isEndGroup()) {
|
|
1580
1875
|
break;
|
|
@@ -1598,9 +1893,9 @@ proto.Drumtracking.TrackerProto.TrackerFilters.deserializeBinaryFromReader = fun
|
|
|
1598
1893
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1599
1894
|
* @return {!Uint8Array}
|
|
1600
1895
|
*/
|
|
1601
|
-
proto.
|
|
1896
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.prototype.serializeBinary = function() {
|
|
1602
1897
|
var writer = new jspb.BinaryWriter();
|
|
1603
|
-
proto.
|
|
1898
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.serializeBinaryToWriter(this, writer);
|
|
1604
1899
|
return writer.getResultBuffer();
|
|
1605
1900
|
};
|
|
1606
1901
|
|
|
@@ -1608,11 +1903,11 @@ proto.Drumtracking.TrackerProto.TrackerFilters.prototype.serializeBinary = funct
|
|
|
1608
1903
|
/**
|
|
1609
1904
|
* Serializes the given message to binary data (in protobuf wire
|
|
1610
1905
|
* format), writing to the given BinaryWriter.
|
|
1611
|
-
* @param {!proto.
|
|
1906
|
+
* @param {!proto.Drumtracker.TrackerProto.TrackerFilters} message
|
|
1612
1907
|
* @param {!jspb.BinaryWriter} writer
|
|
1613
1908
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1614
1909
|
*/
|
|
1615
|
-
proto.
|
|
1910
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.serializeBinaryToWriter = function(message, writer) {
|
|
1616
1911
|
var f = undefined;
|
|
1617
1912
|
f = message.getSearch();
|
|
1618
1913
|
if (f.length > 0) {
|
|
@@ -1628,81 +1923,99 @@ proto.Drumtracking.TrackerProto.TrackerFilters.serializeBinaryToWriter = functio
|
|
|
1628
1923
|
* optional string search = 1;
|
|
1629
1924
|
* @return {string}
|
|
1630
1925
|
*/
|
|
1631
|
-
proto.
|
|
1926
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.prototype.getSearch = function() {
|
|
1632
1927
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1633
1928
|
};
|
|
1634
1929
|
|
|
1635
1930
|
|
|
1636
1931
|
/**
|
|
1637
1932
|
* @param {string} value
|
|
1638
|
-
* @return {!proto.
|
|
1933
|
+
* @return {!proto.Drumtracker.TrackerProto.TrackerFilters} returns this
|
|
1639
1934
|
*/
|
|
1640
|
-
proto.
|
|
1935
|
+
proto.Drumtracker.TrackerProto.TrackerFilters.prototype.setSearch = function(value) {
|
|
1641
1936
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1642
1937
|
};
|
|
1643
1938
|
|
|
1644
1939
|
|
|
1645
1940
|
/**
|
|
1646
|
-
* optional
|
|
1647
|
-
* @return {
|
|
1941
|
+
* optional string uid = 1;
|
|
1942
|
+
* @return {string}
|
|
1648
1943
|
*/
|
|
1649
|
-
proto.
|
|
1650
|
-
return /** @type {
|
|
1944
|
+
proto.Drumtracker.TrackerProto.prototype.getUid = function() {
|
|
1945
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1651
1946
|
};
|
|
1652
1947
|
|
|
1653
1948
|
|
|
1654
1949
|
/**
|
|
1655
|
-
* @param {
|
|
1656
|
-
* @return {!proto.
|
|
1950
|
+
* @param {string} value
|
|
1951
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1657
1952
|
*/
|
|
1658
|
-
proto.
|
|
1659
|
-
return jspb.Message.
|
|
1953
|
+
proto.Drumtracker.TrackerProto.prototype.setUid = function(value) {
|
|
1954
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1660
1955
|
};
|
|
1661
1956
|
|
|
1662
1957
|
|
|
1663
1958
|
/**
|
|
1664
|
-
* optional
|
|
1959
|
+
* optional int64 drum_id = 2;
|
|
1665
1960
|
* @return {number}
|
|
1666
1961
|
*/
|
|
1667
|
-
proto.
|
|
1962
|
+
proto.Drumtracker.TrackerProto.prototype.getDrumId = function() {
|
|
1668
1963
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1669
1964
|
};
|
|
1670
1965
|
|
|
1671
1966
|
|
|
1672
1967
|
/**
|
|
1673
1968
|
* @param {number} value
|
|
1674
|
-
* @return {!proto.
|
|
1969
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1675
1970
|
*/
|
|
1676
|
-
proto.
|
|
1971
|
+
proto.Drumtracker.TrackerProto.prototype.setDrumId = function(value) {
|
|
1677
1972
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1678
1973
|
};
|
|
1679
1974
|
|
|
1680
1975
|
|
|
1681
1976
|
/**
|
|
1682
|
-
* optional
|
|
1977
|
+
* optional double battery_voltage = 3;
|
|
1978
|
+
* @return {number}
|
|
1979
|
+
*/
|
|
1980
|
+
proto.Drumtracker.TrackerProto.prototype.getBatteryVoltage = function() {
|
|
1981
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
1982
|
+
};
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* @param {number} value
|
|
1987
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1988
|
+
*/
|
|
1989
|
+
proto.Drumtracker.TrackerProto.prototype.setBatteryVoltage = function(value) {
|
|
1990
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
1991
|
+
};
|
|
1992
|
+
|
|
1993
|
+
|
|
1994
|
+
/**
|
|
1995
|
+
* optional google.protobuf.Timestamp last_event = 4;
|
|
1683
1996
|
* @return {?proto.google.protobuf.Timestamp}
|
|
1684
1997
|
*/
|
|
1685
|
-
proto.
|
|
1998
|
+
proto.Drumtracker.TrackerProto.prototype.getLastEvent = function() {
|
|
1686
1999
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1687
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
2000
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
1688
2001
|
};
|
|
1689
2002
|
|
|
1690
2003
|
|
|
1691
2004
|
/**
|
|
1692
2005
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1693
|
-
* @return {!proto.
|
|
2006
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1694
2007
|
*/
|
|
1695
|
-
proto.
|
|
1696
|
-
return jspb.Message.setWrapperField(this,
|
|
2008
|
+
proto.Drumtracker.TrackerProto.prototype.setLastEvent = function(value) {
|
|
2009
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1697
2010
|
};
|
|
1698
2011
|
|
|
1699
2012
|
|
|
1700
2013
|
/**
|
|
1701
2014
|
* Clears the message field making it undefined.
|
|
1702
|
-
* @return {!proto.
|
|
2015
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1703
2016
|
*/
|
|
1704
|
-
proto.
|
|
1705
|
-
return this.
|
|
2017
|
+
proto.Drumtracker.TrackerProto.prototype.clearLastEvent = function() {
|
|
2018
|
+
return this.setLastEvent(undefined);
|
|
1706
2019
|
};
|
|
1707
2020
|
|
|
1708
2021
|
|
|
@@ -1710,35 +2023,35 @@ proto.Drumtracking.TrackerProto.prototype.clearLastUpdate = function() {
|
|
|
1710
2023
|
* Returns whether this field is set.
|
|
1711
2024
|
* @return {boolean}
|
|
1712
2025
|
*/
|
|
1713
|
-
proto.
|
|
1714
|
-
return jspb.Message.getField(this,
|
|
2026
|
+
proto.Drumtracker.TrackerProto.prototype.hasLastEvent = function() {
|
|
2027
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1715
2028
|
};
|
|
1716
2029
|
|
|
1717
2030
|
|
|
1718
2031
|
/**
|
|
1719
|
-
* optional google.protobuf.Timestamp activation_date =
|
|
2032
|
+
* optional google.protobuf.Timestamp activation_date = 5;
|
|
1720
2033
|
* @return {?proto.google.protobuf.Timestamp}
|
|
1721
2034
|
*/
|
|
1722
|
-
proto.
|
|
2035
|
+
proto.Drumtracker.TrackerProto.prototype.getActivationDate = function() {
|
|
1723
2036
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1724
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
2037
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
1725
2038
|
};
|
|
1726
2039
|
|
|
1727
2040
|
|
|
1728
2041
|
/**
|
|
1729
2042
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1730
|
-
* @return {!proto.
|
|
2043
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1731
2044
|
*/
|
|
1732
|
-
proto.
|
|
1733
|
-
return jspb.Message.setWrapperField(this,
|
|
2045
|
+
proto.Drumtracker.TrackerProto.prototype.setActivationDate = function(value) {
|
|
2046
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1734
2047
|
};
|
|
1735
2048
|
|
|
1736
2049
|
|
|
1737
2050
|
/**
|
|
1738
2051
|
* Clears the message field making it undefined.
|
|
1739
|
-
* @return {!proto.
|
|
2052
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1740
2053
|
*/
|
|
1741
|
-
proto.
|
|
2054
|
+
proto.Drumtracker.TrackerProto.prototype.clearActivationDate = function() {
|
|
1742
2055
|
return this.setActivationDate(undefined);
|
|
1743
2056
|
};
|
|
1744
2057
|
|
|
@@ -1747,89 +2060,89 @@ proto.Drumtracking.TrackerProto.prototype.clearActivationDate = function() {
|
|
|
1747
2060
|
* Returns whether this field is set.
|
|
1748
2061
|
* @return {boolean}
|
|
1749
2062
|
*/
|
|
1750
|
-
proto.
|
|
1751
|
-
return jspb.Message.getField(this,
|
|
2063
|
+
proto.Drumtracker.TrackerProto.prototype.hasActivationDate = function() {
|
|
2064
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1752
2065
|
};
|
|
1753
2066
|
|
|
1754
2067
|
|
|
1755
2068
|
/**
|
|
1756
|
-
* optional int32 rotations =
|
|
2069
|
+
* optional int32 rotations = 6;
|
|
1757
2070
|
* @return {number}
|
|
1758
2071
|
*/
|
|
1759
|
-
proto.
|
|
1760
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
2072
|
+
proto.Drumtracker.TrackerProto.prototype.getRotations = function() {
|
|
2073
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1761
2074
|
};
|
|
1762
2075
|
|
|
1763
2076
|
|
|
1764
2077
|
/**
|
|
1765
2078
|
* @param {number} value
|
|
1766
|
-
* @return {!proto.
|
|
2079
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1767
2080
|
*/
|
|
1768
|
-
proto.
|
|
1769
|
-
return jspb.Message.setProto3IntField(this,
|
|
2081
|
+
proto.Drumtracker.TrackerProto.prototype.setRotations = function(value) {
|
|
2082
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1770
2083
|
};
|
|
1771
2084
|
|
|
1772
2085
|
|
|
1773
2086
|
/**
|
|
1774
|
-
* optional bool deactivated =
|
|
2087
|
+
* optional bool deactivated = 7;
|
|
1775
2088
|
* @return {boolean}
|
|
1776
2089
|
*/
|
|
1777
|
-
proto.
|
|
1778
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
2090
|
+
proto.Drumtracker.TrackerProto.prototype.getDeactivated = function() {
|
|
2091
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
1779
2092
|
};
|
|
1780
2093
|
|
|
1781
2094
|
|
|
1782
2095
|
/**
|
|
1783
2096
|
* @param {boolean} value
|
|
1784
|
-
* @return {!proto.
|
|
2097
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1785
2098
|
*/
|
|
1786
|
-
proto.
|
|
1787
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
2099
|
+
proto.Drumtracker.TrackerProto.prototype.setDeactivated = function(value) {
|
|
2100
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
1788
2101
|
};
|
|
1789
2102
|
|
|
1790
2103
|
|
|
1791
2104
|
/**
|
|
1792
|
-
* optional string deactivation_reason =
|
|
2105
|
+
* optional string deactivation_reason = 8;
|
|
1793
2106
|
* @return {string}
|
|
1794
2107
|
*/
|
|
1795
|
-
proto.
|
|
1796
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2108
|
+
proto.Drumtracker.TrackerProto.prototype.getDeactivationReason = function() {
|
|
2109
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1797
2110
|
};
|
|
1798
2111
|
|
|
1799
2112
|
|
|
1800
2113
|
/**
|
|
1801
2114
|
* @param {string} value
|
|
1802
|
-
* @return {!proto.
|
|
2115
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1803
2116
|
*/
|
|
1804
|
-
proto.
|
|
1805
|
-
return jspb.Message.setProto3StringField(this,
|
|
2117
|
+
proto.Drumtracker.TrackerProto.prototype.setDeactivationReason = function(value) {
|
|
2118
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1806
2119
|
};
|
|
1807
2120
|
|
|
1808
2121
|
|
|
1809
2122
|
/**
|
|
1810
|
-
* optional google.protobuf.Timestamp deactivation_date =
|
|
2123
|
+
* optional google.protobuf.Timestamp deactivation_date = 9;
|
|
1811
2124
|
* @return {?proto.google.protobuf.Timestamp}
|
|
1812
2125
|
*/
|
|
1813
|
-
proto.
|
|
2126
|
+
proto.Drumtracker.TrackerProto.prototype.getDeactivationDate = function() {
|
|
1814
2127
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1815
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
2128
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
|
|
1816
2129
|
};
|
|
1817
2130
|
|
|
1818
2131
|
|
|
1819
2132
|
/**
|
|
1820
2133
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1821
|
-
* @return {!proto.
|
|
2134
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1822
2135
|
*/
|
|
1823
|
-
proto.
|
|
1824
|
-
return jspb.Message.setWrapperField(this,
|
|
2136
|
+
proto.Drumtracker.TrackerProto.prototype.setDeactivationDate = function(value) {
|
|
2137
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
1825
2138
|
};
|
|
1826
2139
|
|
|
1827
2140
|
|
|
1828
2141
|
/**
|
|
1829
2142
|
* Clears the message field making it undefined.
|
|
1830
|
-
* @return {!proto.
|
|
2143
|
+
* @return {!proto.Drumtracker.TrackerProto} returns this
|
|
1831
2144
|
*/
|
|
1832
|
-
proto.
|
|
2145
|
+
proto.Drumtracker.TrackerProto.prototype.clearDeactivationDate = function() {
|
|
1833
2146
|
return this.setDeactivationDate(undefined);
|
|
1834
2147
|
};
|
|
1835
2148
|
|
|
@@ -1838,27 +2151,9 @@ proto.Drumtracking.TrackerProto.prototype.clearDeactivationDate = function() {
|
|
|
1838
2151
|
* Returns whether this field is set.
|
|
1839
2152
|
* @return {boolean}
|
|
1840
2153
|
*/
|
|
1841
|
-
proto.
|
|
1842
|
-
return jspb.Message.getField(this,
|
|
1843
|
-
};
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
/**
|
|
1847
|
-
* optional int64 drum_number = 9;
|
|
1848
|
-
* @return {number}
|
|
1849
|
-
*/
|
|
1850
|
-
proto.Drumtracking.TrackerProto.prototype.getDrumNumber = function() {
|
|
1851
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
1852
|
-
};
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
/**
|
|
1856
|
-
* @param {number} value
|
|
1857
|
-
* @return {!proto.Drumtracking.TrackerProto} returns this
|
|
1858
|
-
*/
|
|
1859
|
-
proto.Drumtracking.TrackerProto.prototype.setDrumNumber = function(value) {
|
|
1860
|
-
return jspb.Message.setProto3IntField(this, 9, value);
|
|
2154
|
+
proto.Drumtracker.TrackerProto.prototype.hasDeactivationDate = function() {
|
|
2155
|
+
return jspb.Message.getField(this, 9) != null;
|
|
1861
2156
|
};
|
|
1862
2157
|
|
|
1863
2158
|
|
|
1864
|
-
goog.object.extend(exports, proto.
|
|
2159
|
+
goog.object.extend(exports, proto.Drumtracker);
|