@aceplus/smartace-api 2.1.0-drumtracker.6 → 2.1.0-drumtracker.8
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/drumtracker.drum_pb.d.ts +43 -1
- package/drumtracker.drum_pb.js +910 -585
- package/drumtracker.drum_pb_service.d.ts +20 -1
- package/drumtracker.drum_pb_service.js +42 -2
- package/package.json +1 -1
package/drumtracker.drum_pb.js
CHANGED
|
@@ -29,21 +29,23 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
29
29
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
30
30
|
var platform_pagination_pb = require('./platform.pagination_pb.js');
|
|
31
31
|
goog.object.extend(proto, platform_pagination_pb);
|
|
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.
|
|
39
|
-
goog.exportSymbol('proto.
|
|
40
|
-
goog.exportSymbol('proto.
|
|
41
|
-
goog.exportSymbol('proto.
|
|
42
|
-
goog.exportSymbol('proto.
|
|
43
|
-
goog.exportSymbol('proto.
|
|
44
|
-
goog.exportSymbol('proto.
|
|
45
|
-
goog.exportSymbol('proto.
|
|
46
|
-
goog.exportSymbol('proto.
|
|
32
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto', null, global);
|
|
33
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.CableType', null, global);
|
|
34
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.CountReply', null, global);
|
|
35
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.CountRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.CreateRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DeleteReply', null, global);
|
|
38
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DeleteRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DeleteRequest.SearchCase', null, global);
|
|
40
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DrumFilters', null, global);
|
|
41
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DrumType', null, global);
|
|
42
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.LocationSearchReply', null, global);
|
|
43
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.LocationSearchRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.RetrieveRequest', null, global);
|
|
45
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase', null, global);
|
|
46
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.SearchReply', null, global);
|
|
47
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.SearchRequest', null, global);
|
|
48
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.UpdateRequest', null, global);
|
|
47
49
|
/**
|
|
48
50
|
* Generated by JsPbCodeGenerator.
|
|
49
51
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -54,16 +56,16 @@ goog.exportSymbol('proto.Drumtracking.DrumProto.UpdateRequest', null, global);
|
|
|
54
56
|
* @extends {jspb.Message}
|
|
55
57
|
* @constructor
|
|
56
58
|
*/
|
|
57
|
-
proto.
|
|
59
|
+
proto.Drumtracker.DrumProto = function(opt_data) {
|
|
58
60
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
59
61
|
};
|
|
60
|
-
goog.inherits(proto.
|
|
62
|
+
goog.inherits(proto.Drumtracker.DrumProto, jspb.Message);
|
|
61
63
|
if (goog.DEBUG && !COMPILED) {
|
|
62
64
|
/**
|
|
63
65
|
* @public
|
|
64
66
|
* @override
|
|
65
67
|
*/
|
|
66
|
-
proto.
|
|
68
|
+
proto.Drumtracker.DrumProto.displayName = 'proto.Drumtracker.DrumProto';
|
|
67
69
|
}
|
|
68
70
|
/**
|
|
69
71
|
* Generated by JsPbCodeGenerator.
|
|
@@ -75,16 +77,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
75
77
|
* @extends {jspb.Message}
|
|
76
78
|
* @constructor
|
|
77
79
|
*/
|
|
78
|
-
proto.
|
|
80
|
+
proto.Drumtracker.DrumProto.CableType = function(opt_data) {
|
|
79
81
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
80
82
|
};
|
|
81
|
-
goog.inherits(proto.
|
|
83
|
+
goog.inherits(proto.Drumtracker.DrumProto.CableType, jspb.Message);
|
|
82
84
|
if (goog.DEBUG && !COMPILED) {
|
|
83
85
|
/**
|
|
84
86
|
* @public
|
|
85
87
|
* @override
|
|
86
88
|
*/
|
|
87
|
-
proto.
|
|
89
|
+
proto.Drumtracker.DrumProto.CableType.displayName = 'proto.Drumtracker.DrumProto.CableType';
|
|
88
90
|
}
|
|
89
91
|
/**
|
|
90
92
|
* Generated by JsPbCodeGenerator.
|
|
@@ -96,16 +98,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
96
98
|
* @extends {jspb.Message}
|
|
97
99
|
* @constructor
|
|
98
100
|
*/
|
|
99
|
-
proto.
|
|
101
|
+
proto.Drumtracker.DrumProto.DrumType = function(opt_data) {
|
|
100
102
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
101
103
|
};
|
|
102
|
-
goog.inherits(proto.
|
|
104
|
+
goog.inherits(proto.Drumtracker.DrumProto.DrumType, jspb.Message);
|
|
103
105
|
if (goog.DEBUG && !COMPILED) {
|
|
104
106
|
/**
|
|
105
107
|
* @public
|
|
106
108
|
* @override
|
|
107
109
|
*/
|
|
108
|
-
proto.
|
|
110
|
+
proto.Drumtracker.DrumProto.DrumType.displayName = 'proto.Drumtracker.DrumProto.DrumType';
|
|
109
111
|
}
|
|
110
112
|
/**
|
|
111
113
|
* Generated by JsPbCodeGenerator.
|
|
@@ -117,16 +119,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
117
119
|
* @extends {jspb.Message}
|
|
118
120
|
* @constructor
|
|
119
121
|
*/
|
|
120
|
-
proto.
|
|
122
|
+
proto.Drumtracker.DrumProto.CreateRequest = function(opt_data) {
|
|
121
123
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
122
124
|
};
|
|
123
|
-
goog.inherits(proto.
|
|
125
|
+
goog.inherits(proto.Drumtracker.DrumProto.CreateRequest, jspb.Message);
|
|
124
126
|
if (goog.DEBUG && !COMPILED) {
|
|
125
127
|
/**
|
|
126
128
|
* @public
|
|
127
129
|
* @override
|
|
128
130
|
*/
|
|
129
|
-
proto.
|
|
131
|
+
proto.Drumtracker.DrumProto.CreateRequest.displayName = 'proto.Drumtracker.DrumProto.CreateRequest';
|
|
130
132
|
}
|
|
131
133
|
/**
|
|
132
134
|
* Generated by JsPbCodeGenerator.
|
|
@@ -138,16 +140,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
138
140
|
* @extends {jspb.Message}
|
|
139
141
|
* @constructor
|
|
140
142
|
*/
|
|
141
|
-
proto.
|
|
142
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.
|
|
143
|
+
proto.Drumtracker.DrumProto.RetrieveRequest = function(opt_data) {
|
|
144
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_);
|
|
143
145
|
};
|
|
144
|
-
goog.inherits(proto.
|
|
146
|
+
goog.inherits(proto.Drumtracker.DrumProto.RetrieveRequest, jspb.Message);
|
|
145
147
|
if (goog.DEBUG && !COMPILED) {
|
|
146
148
|
/**
|
|
147
149
|
* @public
|
|
148
150
|
* @override
|
|
149
151
|
*/
|
|
150
|
-
proto.
|
|
152
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.displayName = 'proto.Drumtracker.DrumProto.RetrieveRequest';
|
|
151
153
|
}
|
|
152
154
|
/**
|
|
153
155
|
* Generated by JsPbCodeGenerator.
|
|
@@ -159,16 +161,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
159
161
|
* @extends {jspb.Message}
|
|
160
162
|
* @constructor
|
|
161
163
|
*/
|
|
162
|
-
proto.
|
|
164
|
+
proto.Drumtracker.DrumProto.UpdateRequest = function(opt_data) {
|
|
163
165
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
164
166
|
};
|
|
165
|
-
goog.inherits(proto.
|
|
167
|
+
goog.inherits(proto.Drumtracker.DrumProto.UpdateRequest, jspb.Message);
|
|
166
168
|
if (goog.DEBUG && !COMPILED) {
|
|
167
169
|
/**
|
|
168
170
|
* @public
|
|
169
171
|
* @override
|
|
170
172
|
*/
|
|
171
|
-
proto.
|
|
173
|
+
proto.Drumtracker.DrumProto.UpdateRequest.displayName = 'proto.Drumtracker.DrumProto.UpdateRequest';
|
|
172
174
|
}
|
|
173
175
|
/**
|
|
174
176
|
* Generated by JsPbCodeGenerator.
|
|
@@ -180,16 +182,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
180
182
|
* @extends {jspb.Message}
|
|
181
183
|
* @constructor
|
|
182
184
|
*/
|
|
183
|
-
proto.
|
|
184
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.
|
|
185
|
+
proto.Drumtracker.DrumProto.DeleteRequest = function(opt_data) {
|
|
186
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_);
|
|
185
187
|
};
|
|
186
|
-
goog.inherits(proto.
|
|
188
|
+
goog.inherits(proto.Drumtracker.DrumProto.DeleteRequest, jspb.Message);
|
|
187
189
|
if (goog.DEBUG && !COMPILED) {
|
|
188
190
|
/**
|
|
189
191
|
* @public
|
|
190
192
|
* @override
|
|
191
193
|
*/
|
|
192
|
-
proto.
|
|
194
|
+
proto.Drumtracker.DrumProto.DeleteRequest.displayName = 'proto.Drumtracker.DrumProto.DeleteRequest';
|
|
193
195
|
}
|
|
194
196
|
/**
|
|
195
197
|
* Generated by JsPbCodeGenerator.
|
|
@@ -201,16 +203,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
201
203
|
* @extends {jspb.Message}
|
|
202
204
|
* @constructor
|
|
203
205
|
*/
|
|
204
|
-
proto.
|
|
206
|
+
proto.Drumtracker.DrumProto.DeleteReply = function(opt_data) {
|
|
205
207
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
206
208
|
};
|
|
207
|
-
goog.inherits(proto.
|
|
209
|
+
goog.inherits(proto.Drumtracker.DrumProto.DeleteReply, jspb.Message);
|
|
208
210
|
if (goog.DEBUG && !COMPILED) {
|
|
209
211
|
/**
|
|
210
212
|
* @public
|
|
211
213
|
* @override
|
|
212
214
|
*/
|
|
213
|
-
proto.
|
|
215
|
+
proto.Drumtracker.DrumProto.DeleteReply.displayName = 'proto.Drumtracker.DrumProto.DeleteReply';
|
|
214
216
|
}
|
|
215
217
|
/**
|
|
216
218
|
* Generated by JsPbCodeGenerator.
|
|
@@ -222,16 +224,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
222
224
|
* @extends {jspb.Message}
|
|
223
225
|
* @constructor
|
|
224
226
|
*/
|
|
225
|
-
proto.
|
|
227
|
+
proto.Drumtracker.DrumProto.SearchRequest = function(opt_data) {
|
|
226
228
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
227
229
|
};
|
|
228
|
-
goog.inherits(proto.
|
|
230
|
+
goog.inherits(proto.Drumtracker.DrumProto.SearchRequest, jspb.Message);
|
|
229
231
|
if (goog.DEBUG && !COMPILED) {
|
|
230
232
|
/**
|
|
231
233
|
* @public
|
|
232
234
|
* @override
|
|
233
235
|
*/
|
|
234
|
-
proto.
|
|
236
|
+
proto.Drumtracker.DrumProto.SearchRequest.displayName = 'proto.Drumtracker.DrumProto.SearchRequest';
|
|
235
237
|
}
|
|
236
238
|
/**
|
|
237
239
|
* Generated by JsPbCodeGenerator.
|
|
@@ -243,16 +245,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
243
245
|
* @extends {jspb.Message}
|
|
244
246
|
* @constructor
|
|
245
247
|
*/
|
|
246
|
-
proto.
|
|
247
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.
|
|
248
|
+
proto.Drumtracker.DrumProto.SearchReply = function(opt_data) {
|
|
249
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Drumtracker.DrumProto.SearchReply.repeatedFields_, null);
|
|
248
250
|
};
|
|
249
|
-
goog.inherits(proto.
|
|
251
|
+
goog.inherits(proto.Drumtracker.DrumProto.SearchReply, jspb.Message);
|
|
250
252
|
if (goog.DEBUG && !COMPILED) {
|
|
251
253
|
/**
|
|
252
254
|
* @public
|
|
253
255
|
* @override
|
|
254
256
|
*/
|
|
255
|
-
proto.
|
|
257
|
+
proto.Drumtracker.DrumProto.SearchReply.displayName = 'proto.Drumtracker.DrumProto.SearchReply';
|
|
256
258
|
}
|
|
257
259
|
/**
|
|
258
260
|
* Generated by JsPbCodeGenerator.
|
|
@@ -264,16 +266,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
264
266
|
* @extends {jspb.Message}
|
|
265
267
|
* @constructor
|
|
266
268
|
*/
|
|
267
|
-
proto.
|
|
269
|
+
proto.Drumtracker.DrumProto.CountRequest = function(opt_data) {
|
|
268
270
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
269
271
|
};
|
|
270
|
-
goog.inherits(proto.
|
|
272
|
+
goog.inherits(proto.Drumtracker.DrumProto.CountRequest, jspb.Message);
|
|
271
273
|
if (goog.DEBUG && !COMPILED) {
|
|
272
274
|
/**
|
|
273
275
|
* @public
|
|
274
276
|
* @override
|
|
275
277
|
*/
|
|
276
|
-
proto.
|
|
278
|
+
proto.Drumtracker.DrumProto.CountRequest.displayName = 'proto.Drumtracker.DrumProto.CountRequest';
|
|
277
279
|
}
|
|
278
280
|
/**
|
|
279
281
|
* Generated by JsPbCodeGenerator.
|
|
@@ -285,16 +287,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
285
287
|
* @extends {jspb.Message}
|
|
286
288
|
* @constructor
|
|
287
289
|
*/
|
|
288
|
-
proto.
|
|
289
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
290
|
+
proto.Drumtracker.DrumProto.CountReply = function(opt_data) {
|
|
291
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
290
292
|
};
|
|
291
|
-
goog.inherits(proto.
|
|
293
|
+
goog.inherits(proto.Drumtracker.DrumProto.CountReply, jspb.Message);
|
|
292
294
|
if (goog.DEBUG && !COMPILED) {
|
|
293
295
|
/**
|
|
294
296
|
* @public
|
|
295
297
|
* @override
|
|
296
298
|
*/
|
|
297
|
-
proto.
|
|
299
|
+
proto.Drumtracker.DrumProto.CountReply.displayName = 'proto.Drumtracker.DrumProto.CountReply';
|
|
298
300
|
}
|
|
299
301
|
/**
|
|
300
302
|
* Generated by JsPbCodeGenerator.
|
|
@@ -306,16 +308,58 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
306
308
|
* @extends {jspb.Message}
|
|
307
309
|
* @constructor
|
|
308
310
|
*/
|
|
309
|
-
proto.
|
|
311
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest = function(opt_data) {
|
|
310
312
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
311
313
|
};
|
|
312
|
-
goog.inherits(proto.
|
|
314
|
+
goog.inherits(proto.Drumtracker.DrumProto.LocationSearchRequest, jspb.Message);
|
|
315
|
+
if (goog.DEBUG && !COMPILED) {
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
* @override
|
|
319
|
+
*/
|
|
320
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.displayName = 'proto.Drumtracker.DrumProto.LocationSearchRequest';
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Generated by JsPbCodeGenerator.
|
|
324
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
325
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
326
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
327
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
328
|
+
* valid.
|
|
329
|
+
* @extends {jspb.Message}
|
|
330
|
+
* @constructor
|
|
331
|
+
*/
|
|
332
|
+
proto.Drumtracker.DrumProto.LocationSearchReply = function(opt_data) {
|
|
333
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Drumtracker.DrumProto.LocationSearchReply.repeatedFields_, null);
|
|
334
|
+
};
|
|
335
|
+
goog.inherits(proto.Drumtracker.DrumProto.LocationSearchReply, jspb.Message);
|
|
313
336
|
if (goog.DEBUG && !COMPILED) {
|
|
314
337
|
/**
|
|
315
338
|
* @public
|
|
316
339
|
* @override
|
|
317
340
|
*/
|
|
318
|
-
proto.
|
|
341
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.displayName = 'proto.Drumtracker.DrumProto.LocationSearchReply';
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Generated by JsPbCodeGenerator.
|
|
345
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
346
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
347
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
348
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
349
|
+
* valid.
|
|
350
|
+
* @extends {jspb.Message}
|
|
351
|
+
* @constructor
|
|
352
|
+
*/
|
|
353
|
+
proto.Drumtracker.DrumProto.DrumFilters = function(opt_data) {
|
|
354
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
355
|
+
};
|
|
356
|
+
goog.inherits(proto.Drumtracker.DrumProto.DrumFilters, jspb.Message);
|
|
357
|
+
if (goog.DEBUG && !COMPILED) {
|
|
358
|
+
/**
|
|
359
|
+
* @public
|
|
360
|
+
* @override
|
|
361
|
+
*/
|
|
362
|
+
proto.Drumtracker.DrumProto.DrumFilters.displayName = 'proto.Drumtracker.DrumProto.DrumFilters';
|
|
319
363
|
}
|
|
320
364
|
|
|
321
365
|
|
|
@@ -333,8 +377,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
333
377
|
* http://goto/soy-param-migration
|
|
334
378
|
* @return {!Object}
|
|
335
379
|
*/
|
|
336
|
-
proto.
|
|
337
|
-
return proto.
|
|
380
|
+
proto.Drumtracker.DrumProto.prototype.toObject = function(opt_includeInstance) {
|
|
381
|
+
return proto.Drumtracker.DrumProto.toObject(opt_includeInstance, this);
|
|
338
382
|
};
|
|
339
383
|
|
|
340
384
|
|
|
@@ -343,16 +387,16 @@ proto.Drumtracking.DrumProto.prototype.toObject = function(opt_includeInstance)
|
|
|
343
387
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
344
388
|
* the JSPB instance for transitional soy proto support:
|
|
345
389
|
* http://goto/soy-param-migration
|
|
346
|
-
* @param {!proto.
|
|
390
|
+
* @param {!proto.Drumtracker.DrumProto} msg The msg instance to transform.
|
|
347
391
|
* @return {!Object}
|
|
348
392
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
349
393
|
*/
|
|
350
|
-
proto.
|
|
394
|
+
proto.Drumtracker.DrumProto.toObject = function(includeInstance, msg) {
|
|
351
395
|
var f, obj = {
|
|
352
396
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
353
397
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
354
|
-
drumType: (f = msg.getDrumType()) && proto.
|
|
355
|
-
cableType: (f = msg.getCableType()) && proto.
|
|
398
|
+
drumType: (f = msg.getDrumType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
399
|
+
cableType: (f = msg.getCableType()) && proto.Drumtracker.DrumProto.CableType.toObject(includeInstance, f),
|
|
356
400
|
groupId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
357
401
|
cableLength: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
358
402
|
residualLength: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
@@ -375,23 +419,23 @@ proto.Drumtracking.DrumProto.toObject = function(includeInstance, msg) {
|
|
|
375
419
|
/**
|
|
376
420
|
* Deserializes binary data (in protobuf wire format).
|
|
377
421
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
378
|
-
* @return {!proto.
|
|
422
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
379
423
|
*/
|
|
380
|
-
proto.
|
|
424
|
+
proto.Drumtracker.DrumProto.deserializeBinary = function(bytes) {
|
|
381
425
|
var reader = new jspb.BinaryReader(bytes);
|
|
382
|
-
var msg = new proto.
|
|
383
|
-
return proto.
|
|
426
|
+
var msg = new proto.Drumtracker.DrumProto;
|
|
427
|
+
return proto.Drumtracker.DrumProto.deserializeBinaryFromReader(msg, reader);
|
|
384
428
|
};
|
|
385
429
|
|
|
386
430
|
|
|
387
431
|
/**
|
|
388
432
|
* Deserializes binary data (in protobuf wire format) from the
|
|
389
433
|
* given reader into the given message object.
|
|
390
|
-
* @param {!proto.
|
|
434
|
+
* @param {!proto.Drumtracker.DrumProto} msg The message object to deserialize into.
|
|
391
435
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
392
|
-
* @return {!proto.
|
|
436
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
393
437
|
*/
|
|
394
|
-
proto.
|
|
438
|
+
proto.Drumtracker.DrumProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
395
439
|
while (reader.nextField()) {
|
|
396
440
|
if (reader.isEndGroup()) {
|
|
397
441
|
break;
|
|
@@ -407,13 +451,13 @@ proto.Drumtracking.DrumProto.deserializeBinaryFromReader = function(msg, reader)
|
|
|
407
451
|
msg.setDrumNumber(value);
|
|
408
452
|
break;
|
|
409
453
|
case 3:
|
|
410
|
-
var value = new proto.
|
|
411
|
-
reader.readMessage(value,proto.
|
|
454
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
455
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
412
456
|
msg.setDrumType(value);
|
|
413
457
|
break;
|
|
414
458
|
case 4:
|
|
415
|
-
var value = new proto.
|
|
416
|
-
reader.readMessage(value,proto.
|
|
459
|
+
var value = new proto.Drumtracker.DrumProto.CableType;
|
|
460
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.CableType.deserializeBinaryFromReader);
|
|
417
461
|
msg.setCableType(value);
|
|
418
462
|
break;
|
|
419
463
|
case 5:
|
|
@@ -466,9 +510,9 @@ proto.Drumtracking.DrumProto.deserializeBinaryFromReader = function(msg, reader)
|
|
|
466
510
|
* Serializes the message to binary data (in protobuf wire format).
|
|
467
511
|
* @return {!Uint8Array}
|
|
468
512
|
*/
|
|
469
|
-
proto.
|
|
513
|
+
proto.Drumtracker.DrumProto.prototype.serializeBinary = function() {
|
|
470
514
|
var writer = new jspb.BinaryWriter();
|
|
471
|
-
proto.
|
|
515
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter(this, writer);
|
|
472
516
|
return writer.getResultBuffer();
|
|
473
517
|
};
|
|
474
518
|
|
|
@@ -476,11 +520,11 @@ proto.Drumtracking.DrumProto.prototype.serializeBinary = function() {
|
|
|
476
520
|
/**
|
|
477
521
|
* Serializes the given message to binary data (in protobuf wire
|
|
478
522
|
* format), writing to the given BinaryWriter.
|
|
479
|
-
* @param {!proto.
|
|
523
|
+
* @param {!proto.Drumtracker.DrumProto} message
|
|
480
524
|
* @param {!jspb.BinaryWriter} writer
|
|
481
525
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
482
526
|
*/
|
|
483
|
-
proto.
|
|
527
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter = function(message, writer) {
|
|
484
528
|
var f = undefined;
|
|
485
529
|
f = message.getId();
|
|
486
530
|
if (f !== 0) {
|
|
@@ -501,7 +545,7 @@ proto.Drumtracking.DrumProto.serializeBinaryToWriter = function(message, writer)
|
|
|
501
545
|
writer.writeMessage(
|
|
502
546
|
3,
|
|
503
547
|
f,
|
|
504
|
-
proto.
|
|
548
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
505
549
|
);
|
|
506
550
|
}
|
|
507
551
|
f = message.getCableType();
|
|
@@ -509,7 +553,7 @@ proto.Drumtracking.DrumProto.serializeBinaryToWriter = function(message, writer)
|
|
|
509
553
|
writer.writeMessage(
|
|
510
554
|
4,
|
|
511
555
|
f,
|
|
512
|
-
proto.
|
|
556
|
+
proto.Drumtracker.DrumProto.CableType.serializeBinaryToWriter
|
|
513
557
|
);
|
|
514
558
|
}
|
|
515
559
|
f = message.getGroupId();
|
|
@@ -595,8 +639,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
595
639
|
* http://goto/soy-param-migration
|
|
596
640
|
* @return {!Object}
|
|
597
641
|
*/
|
|
598
|
-
proto.
|
|
599
|
-
return proto.
|
|
642
|
+
proto.Drumtracker.DrumProto.CableType.prototype.toObject = function(opt_includeInstance) {
|
|
643
|
+
return proto.Drumtracker.DrumProto.CableType.toObject(opt_includeInstance, this);
|
|
600
644
|
};
|
|
601
645
|
|
|
602
646
|
|
|
@@ -605,11 +649,11 @@ proto.Drumtracking.DrumProto.CableType.prototype.toObject = function(opt_include
|
|
|
605
649
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
606
650
|
* the JSPB instance for transitional soy proto support:
|
|
607
651
|
* http://goto/soy-param-migration
|
|
608
|
-
* @param {!proto.
|
|
652
|
+
* @param {!proto.Drumtracker.DrumProto.CableType} msg The msg instance to transform.
|
|
609
653
|
* @return {!Object}
|
|
610
654
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
611
655
|
*/
|
|
612
|
-
proto.
|
|
656
|
+
proto.Drumtracker.DrumProto.CableType.toObject = function(includeInstance, msg) {
|
|
613
657
|
var f, obj = {
|
|
614
658
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
615
659
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -627,23 +671,23 @@ proto.Drumtracking.DrumProto.CableType.toObject = function(includeInstance, msg)
|
|
|
627
671
|
/**
|
|
628
672
|
* Deserializes binary data (in protobuf wire format).
|
|
629
673
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
630
|
-
* @return {!proto.
|
|
674
|
+
* @return {!proto.Drumtracker.DrumProto.CableType}
|
|
631
675
|
*/
|
|
632
|
-
proto.
|
|
676
|
+
proto.Drumtracker.DrumProto.CableType.deserializeBinary = function(bytes) {
|
|
633
677
|
var reader = new jspb.BinaryReader(bytes);
|
|
634
|
-
var msg = new proto.
|
|
635
|
-
return proto.
|
|
678
|
+
var msg = new proto.Drumtracker.DrumProto.CableType;
|
|
679
|
+
return proto.Drumtracker.DrumProto.CableType.deserializeBinaryFromReader(msg, reader);
|
|
636
680
|
};
|
|
637
681
|
|
|
638
682
|
|
|
639
683
|
/**
|
|
640
684
|
* Deserializes binary data (in protobuf wire format) from the
|
|
641
685
|
* given reader into the given message object.
|
|
642
|
-
* @param {!proto.
|
|
686
|
+
* @param {!proto.Drumtracker.DrumProto.CableType} msg The message object to deserialize into.
|
|
643
687
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
644
|
-
* @return {!proto.
|
|
688
|
+
* @return {!proto.Drumtracker.DrumProto.CableType}
|
|
645
689
|
*/
|
|
646
|
-
proto.
|
|
690
|
+
proto.Drumtracker.DrumProto.CableType.deserializeBinaryFromReader = function(msg, reader) {
|
|
647
691
|
while (reader.nextField()) {
|
|
648
692
|
if (reader.isEndGroup()) {
|
|
649
693
|
break;
|
|
@@ -675,9 +719,9 @@ proto.Drumtracking.DrumProto.CableType.deserializeBinaryFromReader = function(ms
|
|
|
675
719
|
* Serializes the message to binary data (in protobuf wire format).
|
|
676
720
|
* @return {!Uint8Array}
|
|
677
721
|
*/
|
|
678
|
-
proto.
|
|
722
|
+
proto.Drumtracker.DrumProto.CableType.prototype.serializeBinary = function() {
|
|
679
723
|
var writer = new jspb.BinaryWriter();
|
|
680
|
-
proto.
|
|
724
|
+
proto.Drumtracker.DrumProto.CableType.serializeBinaryToWriter(this, writer);
|
|
681
725
|
return writer.getResultBuffer();
|
|
682
726
|
};
|
|
683
727
|
|
|
@@ -685,11 +729,11 @@ proto.Drumtracking.DrumProto.CableType.prototype.serializeBinary = function() {
|
|
|
685
729
|
/**
|
|
686
730
|
* Serializes the given message to binary data (in protobuf wire
|
|
687
731
|
* format), writing to the given BinaryWriter.
|
|
688
|
-
* @param {!proto.
|
|
732
|
+
* @param {!proto.Drumtracker.DrumProto.CableType} message
|
|
689
733
|
* @param {!jspb.BinaryWriter} writer
|
|
690
734
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
691
735
|
*/
|
|
692
|
-
proto.
|
|
736
|
+
proto.Drumtracker.DrumProto.CableType.serializeBinaryToWriter = function(message, writer) {
|
|
693
737
|
var f = undefined;
|
|
694
738
|
f = message.getName();
|
|
695
739
|
if (f.length > 0) {
|
|
@@ -719,16 +763,16 @@ proto.Drumtracking.DrumProto.CableType.serializeBinaryToWriter = function(messag
|
|
|
719
763
|
* optional string name = 1;
|
|
720
764
|
* @return {string}
|
|
721
765
|
*/
|
|
722
|
-
proto.
|
|
766
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getName = function() {
|
|
723
767
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
724
768
|
};
|
|
725
769
|
|
|
726
770
|
|
|
727
771
|
/**
|
|
728
772
|
* @param {string} value
|
|
729
|
-
* @return {!proto.
|
|
773
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
730
774
|
*/
|
|
731
|
-
proto.
|
|
775
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setName = function(value) {
|
|
732
776
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
733
777
|
};
|
|
734
778
|
|
|
@@ -737,16 +781,16 @@ proto.Drumtracking.DrumProto.CableType.prototype.setName = function(value) {
|
|
|
737
781
|
* optional string description = 2;
|
|
738
782
|
* @return {string}
|
|
739
783
|
*/
|
|
740
|
-
proto.
|
|
784
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getDescription = function() {
|
|
741
785
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
742
786
|
};
|
|
743
787
|
|
|
744
788
|
|
|
745
789
|
/**
|
|
746
790
|
* @param {string} value
|
|
747
|
-
* @return {!proto.
|
|
791
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
748
792
|
*/
|
|
749
|
-
proto.
|
|
793
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setDescription = function(value) {
|
|
750
794
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
751
795
|
};
|
|
752
796
|
|
|
@@ -755,16 +799,16 @@ proto.Drumtracking.DrumProto.CableType.prototype.setDescription = function(value
|
|
|
755
799
|
* optional int32 diameter = 3;
|
|
756
800
|
* @return {number}
|
|
757
801
|
*/
|
|
758
|
-
proto.
|
|
802
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getDiameter = function() {
|
|
759
803
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
760
804
|
};
|
|
761
805
|
|
|
762
806
|
|
|
763
807
|
/**
|
|
764
808
|
* @param {number} value
|
|
765
|
-
* @return {!proto.
|
|
809
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
766
810
|
*/
|
|
767
|
-
proto.
|
|
811
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setDiameter = function(value) {
|
|
768
812
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
769
813
|
};
|
|
770
814
|
|
|
@@ -785,8 +829,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
785
829
|
* http://goto/soy-param-migration
|
|
786
830
|
* @return {!Object}
|
|
787
831
|
*/
|
|
788
|
-
proto.
|
|
789
|
-
return proto.
|
|
832
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.toObject = function(opt_includeInstance) {
|
|
833
|
+
return proto.Drumtracker.DrumProto.DrumType.toObject(opt_includeInstance, this);
|
|
790
834
|
};
|
|
791
835
|
|
|
792
836
|
|
|
@@ -795,11 +839,11 @@ proto.Drumtracking.DrumProto.DrumType.prototype.toObject = function(opt_includeI
|
|
|
795
839
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
796
840
|
* the JSPB instance for transitional soy proto support:
|
|
797
841
|
* http://goto/soy-param-migration
|
|
798
|
-
* @param {!proto.
|
|
842
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} msg The msg instance to transform.
|
|
799
843
|
* @return {!Object}
|
|
800
844
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
801
845
|
*/
|
|
802
|
-
proto.
|
|
846
|
+
proto.Drumtracker.DrumProto.DrumType.toObject = function(includeInstance, msg) {
|
|
803
847
|
var f, obj = {
|
|
804
848
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
805
849
|
diameterMin: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -818,23 +862,23 @@ proto.Drumtracking.DrumProto.DrumType.toObject = function(includeInstance, msg)
|
|
|
818
862
|
/**
|
|
819
863
|
* Deserializes binary data (in protobuf wire format).
|
|
820
864
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
821
|
-
* @return {!proto.
|
|
865
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType}
|
|
822
866
|
*/
|
|
823
|
-
proto.
|
|
867
|
+
proto.Drumtracker.DrumProto.DrumType.deserializeBinary = function(bytes) {
|
|
824
868
|
var reader = new jspb.BinaryReader(bytes);
|
|
825
|
-
var msg = new proto.
|
|
826
|
-
return proto.
|
|
869
|
+
var msg = new proto.Drumtracker.DrumProto.DrumType;
|
|
870
|
+
return proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader(msg, reader);
|
|
827
871
|
};
|
|
828
872
|
|
|
829
873
|
|
|
830
874
|
/**
|
|
831
875
|
* Deserializes binary data (in protobuf wire format) from the
|
|
832
876
|
* given reader into the given message object.
|
|
833
|
-
* @param {!proto.
|
|
877
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} msg The message object to deserialize into.
|
|
834
878
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
835
|
-
* @return {!proto.
|
|
879
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType}
|
|
836
880
|
*/
|
|
837
|
-
proto.
|
|
881
|
+
proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader = function(msg, reader) {
|
|
838
882
|
while (reader.nextField()) {
|
|
839
883
|
if (reader.isEndGroup()) {
|
|
840
884
|
break;
|
|
@@ -870,9 +914,9 @@ proto.Drumtracking.DrumProto.DrumType.deserializeBinaryFromReader = function(msg
|
|
|
870
914
|
* Serializes the message to binary data (in protobuf wire format).
|
|
871
915
|
* @return {!Uint8Array}
|
|
872
916
|
*/
|
|
873
|
-
proto.
|
|
917
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.serializeBinary = function() {
|
|
874
918
|
var writer = new jspb.BinaryWriter();
|
|
875
|
-
proto.
|
|
919
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter(this, writer);
|
|
876
920
|
return writer.getResultBuffer();
|
|
877
921
|
};
|
|
878
922
|
|
|
@@ -880,11 +924,11 @@ proto.Drumtracking.DrumProto.DrumType.prototype.serializeBinary = function() {
|
|
|
880
924
|
/**
|
|
881
925
|
* Serializes the given message to binary data (in protobuf wire
|
|
882
926
|
* format), writing to the given BinaryWriter.
|
|
883
|
-
* @param {!proto.
|
|
927
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} message
|
|
884
928
|
* @param {!jspb.BinaryWriter} writer
|
|
885
929
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
886
930
|
*/
|
|
887
|
-
proto.
|
|
931
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter = function(message, writer) {
|
|
888
932
|
var f = undefined;
|
|
889
933
|
f = message.getName();
|
|
890
934
|
if (f.length > 0) {
|
|
@@ -921,16 +965,16 @@ proto.Drumtracking.DrumProto.DrumType.serializeBinaryToWriter = function(message
|
|
|
921
965
|
* optional string name = 1;
|
|
922
966
|
* @return {string}
|
|
923
967
|
*/
|
|
924
|
-
proto.
|
|
968
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getName = function() {
|
|
925
969
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
926
970
|
};
|
|
927
971
|
|
|
928
972
|
|
|
929
973
|
/**
|
|
930
974
|
* @param {string} value
|
|
931
|
-
* @return {!proto.
|
|
975
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
932
976
|
*/
|
|
933
|
-
proto.
|
|
977
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setName = function(value) {
|
|
934
978
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
935
979
|
};
|
|
936
980
|
|
|
@@ -939,16 +983,16 @@ proto.Drumtracking.DrumProto.DrumType.prototype.setName = function(value) {
|
|
|
939
983
|
* optional int32 diameter_min = 2;
|
|
940
984
|
* @return {number}
|
|
941
985
|
*/
|
|
942
|
-
proto.
|
|
986
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getDiameterMin = function() {
|
|
943
987
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
944
988
|
};
|
|
945
989
|
|
|
946
990
|
|
|
947
991
|
/**
|
|
948
992
|
* @param {number} value
|
|
949
|
-
* @return {!proto.
|
|
993
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
950
994
|
*/
|
|
951
|
-
proto.
|
|
995
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setDiameterMin = function(value) {
|
|
952
996
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
953
997
|
};
|
|
954
998
|
|
|
@@ -957,16 +1001,16 @@ proto.Drumtracking.DrumProto.DrumType.prototype.setDiameterMin = function(value)
|
|
|
957
1001
|
* optional int32 diameter_max = 3;
|
|
958
1002
|
* @return {number}
|
|
959
1003
|
*/
|
|
960
|
-
proto.
|
|
1004
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getDiameterMax = function() {
|
|
961
1005
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
962
1006
|
};
|
|
963
1007
|
|
|
964
1008
|
|
|
965
1009
|
/**
|
|
966
1010
|
* @param {number} value
|
|
967
|
-
* @return {!proto.
|
|
1011
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
968
1012
|
*/
|
|
969
|
-
proto.
|
|
1013
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setDiameterMax = function(value) {
|
|
970
1014
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
971
1015
|
};
|
|
972
1016
|
|
|
@@ -975,16 +1019,16 @@ proto.Drumtracking.DrumProto.DrumType.prototype.setDiameterMax = function(value)
|
|
|
975
1019
|
* optional int32 width = 4;
|
|
976
1020
|
* @return {number}
|
|
977
1021
|
*/
|
|
978
|
-
proto.
|
|
1022
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getWidth = function() {
|
|
979
1023
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
980
1024
|
};
|
|
981
1025
|
|
|
982
1026
|
|
|
983
1027
|
/**
|
|
984
1028
|
* @param {number} value
|
|
985
|
-
* @return {!proto.
|
|
1029
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
986
1030
|
*/
|
|
987
|
-
proto.
|
|
1031
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setWidth = function(value) {
|
|
988
1032
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
989
1033
|
};
|
|
990
1034
|
|
|
@@ -1005,8 +1049,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1005
1049
|
* http://goto/soy-param-migration
|
|
1006
1050
|
* @return {!Object}
|
|
1007
1051
|
*/
|
|
1008
|
-
proto.
|
|
1009
|
-
return proto.
|
|
1052
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1053
|
+
return proto.Drumtracker.DrumProto.CreateRequest.toObject(opt_includeInstance, this);
|
|
1010
1054
|
};
|
|
1011
1055
|
|
|
1012
1056
|
|
|
@@ -1015,15 +1059,15 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.toObject = function(opt_inc
|
|
|
1015
1059
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1016
1060
|
* the JSPB instance for transitional soy proto support:
|
|
1017
1061
|
* http://goto/soy-param-migration
|
|
1018
|
-
* @param {!proto.
|
|
1062
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} msg The msg instance to transform.
|
|
1019
1063
|
* @return {!Object}
|
|
1020
1064
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1021
1065
|
*/
|
|
1022
|
-
proto.
|
|
1066
|
+
proto.Drumtracker.DrumProto.CreateRequest.toObject = function(includeInstance, msg) {
|
|
1023
1067
|
var f, obj = {
|
|
1024
1068
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1025
|
-
drumType: (f = msg.getDrumType()) && proto.
|
|
1026
|
-
cableType: (f = msg.getCableType()) && proto.
|
|
1069
|
+
drumType: (f = msg.getDrumType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
1070
|
+
cableType: (f = msg.getCableType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
1027
1071
|
groupId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1028
1072
|
cableLength: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1029
1073
|
residualLength: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
@@ -1042,23 +1086,23 @@ proto.Drumtracking.DrumProto.CreateRequest.toObject = function(includeInstance,
|
|
|
1042
1086
|
/**
|
|
1043
1087
|
* Deserializes binary data (in protobuf wire format).
|
|
1044
1088
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1045
|
-
* @return {!proto.
|
|
1089
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest}
|
|
1046
1090
|
*/
|
|
1047
|
-
proto.
|
|
1091
|
+
proto.Drumtracker.DrumProto.CreateRequest.deserializeBinary = function(bytes) {
|
|
1048
1092
|
var reader = new jspb.BinaryReader(bytes);
|
|
1049
|
-
var msg = new proto.
|
|
1050
|
-
return proto.
|
|
1093
|
+
var msg = new proto.Drumtracker.DrumProto.CreateRequest;
|
|
1094
|
+
return proto.Drumtracker.DrumProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
|
|
1051
1095
|
};
|
|
1052
1096
|
|
|
1053
1097
|
|
|
1054
1098
|
/**
|
|
1055
1099
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1056
1100
|
* given reader into the given message object.
|
|
1057
|
-
* @param {!proto.
|
|
1101
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} msg The message object to deserialize into.
|
|
1058
1102
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1059
|
-
* @return {!proto.
|
|
1103
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest}
|
|
1060
1104
|
*/
|
|
1061
|
-
proto.
|
|
1105
|
+
proto.Drumtracker.DrumProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1062
1106
|
while (reader.nextField()) {
|
|
1063
1107
|
if (reader.isEndGroup()) {
|
|
1064
1108
|
break;
|
|
@@ -1070,13 +1114,13 @@ proto.Drumtracking.DrumProto.CreateRequest.deserializeBinaryFromReader = functio
|
|
|
1070
1114
|
msg.setDrumNumber(value);
|
|
1071
1115
|
break;
|
|
1072
1116
|
case 2:
|
|
1073
|
-
var value = new proto.
|
|
1074
|
-
reader.readMessage(value,proto.
|
|
1117
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
1118
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
1075
1119
|
msg.setDrumType(value);
|
|
1076
1120
|
break;
|
|
1077
1121
|
case 3:
|
|
1078
|
-
var value = new proto.
|
|
1079
|
-
reader.readMessage(value,proto.
|
|
1122
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
1123
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
1080
1124
|
msg.setCableType(value);
|
|
1081
1125
|
break;
|
|
1082
1126
|
case 4:
|
|
@@ -1112,9 +1156,9 @@ proto.Drumtracking.DrumProto.CreateRequest.deserializeBinaryFromReader = functio
|
|
|
1112
1156
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1113
1157
|
* @return {!Uint8Array}
|
|
1114
1158
|
*/
|
|
1115
|
-
proto.
|
|
1159
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.serializeBinary = function() {
|
|
1116
1160
|
var writer = new jspb.BinaryWriter();
|
|
1117
|
-
proto.
|
|
1161
|
+
proto.Drumtracker.DrumProto.CreateRequest.serializeBinaryToWriter(this, writer);
|
|
1118
1162
|
return writer.getResultBuffer();
|
|
1119
1163
|
};
|
|
1120
1164
|
|
|
@@ -1122,11 +1166,11 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.serializeBinary = function(
|
|
|
1122
1166
|
/**
|
|
1123
1167
|
* Serializes the given message to binary data (in protobuf wire
|
|
1124
1168
|
* format), writing to the given BinaryWriter.
|
|
1125
|
-
* @param {!proto.
|
|
1169
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} message
|
|
1126
1170
|
* @param {!jspb.BinaryWriter} writer
|
|
1127
1171
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1128
1172
|
*/
|
|
1129
|
-
proto.
|
|
1173
|
+
proto.Drumtracker.DrumProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1130
1174
|
var f = undefined;
|
|
1131
1175
|
f = message.getDrumNumber();
|
|
1132
1176
|
if (f !== 0) {
|
|
@@ -1140,7 +1184,7 @@ proto.Drumtracking.DrumProto.CreateRequest.serializeBinaryToWriter = function(me
|
|
|
1140
1184
|
writer.writeMessage(
|
|
1141
1185
|
2,
|
|
1142
1186
|
f,
|
|
1143
|
-
proto.
|
|
1187
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
1144
1188
|
);
|
|
1145
1189
|
}
|
|
1146
1190
|
f = message.getCableType();
|
|
@@ -1148,7 +1192,7 @@ proto.Drumtracking.DrumProto.CreateRequest.serializeBinaryToWriter = function(me
|
|
|
1148
1192
|
writer.writeMessage(
|
|
1149
1193
|
3,
|
|
1150
1194
|
f,
|
|
1151
|
-
proto.
|
|
1195
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
1152
1196
|
);
|
|
1153
1197
|
}
|
|
1154
1198
|
f = message.getGroupId();
|
|
@@ -1193,44 +1237,44 @@ proto.Drumtracking.DrumProto.CreateRequest.serializeBinaryToWriter = function(me
|
|
|
1193
1237
|
* optional int64 drum_number = 1;
|
|
1194
1238
|
* @return {number}
|
|
1195
1239
|
*/
|
|
1196
|
-
proto.
|
|
1240
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getDrumNumber = function() {
|
|
1197
1241
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1198
1242
|
};
|
|
1199
1243
|
|
|
1200
1244
|
|
|
1201
1245
|
/**
|
|
1202
1246
|
* @param {number} value
|
|
1203
|
-
* @return {!proto.
|
|
1247
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1204
1248
|
*/
|
|
1205
|
-
proto.
|
|
1249
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setDrumNumber = function(value) {
|
|
1206
1250
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1207
1251
|
};
|
|
1208
1252
|
|
|
1209
1253
|
|
|
1210
1254
|
/**
|
|
1211
1255
|
* optional DrumType drum_type = 2;
|
|
1212
|
-
* @return {?proto.
|
|
1256
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
1213
1257
|
*/
|
|
1214
|
-
proto.
|
|
1215
|
-
return /** @type{?proto.
|
|
1216
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1258
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getDrumType = function() {
|
|
1259
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
1260
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 2));
|
|
1217
1261
|
};
|
|
1218
1262
|
|
|
1219
1263
|
|
|
1220
1264
|
/**
|
|
1221
|
-
* @param {?proto.
|
|
1222
|
-
* @return {!proto.
|
|
1265
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
1266
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1223
1267
|
*/
|
|
1224
|
-
proto.
|
|
1268
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setDrumType = function(value) {
|
|
1225
1269
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1226
1270
|
};
|
|
1227
1271
|
|
|
1228
1272
|
|
|
1229
1273
|
/**
|
|
1230
1274
|
* Clears the message field making it undefined.
|
|
1231
|
-
* @return {!proto.
|
|
1275
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1232
1276
|
*/
|
|
1233
|
-
proto.
|
|
1277
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.clearDrumType = function() {
|
|
1234
1278
|
return this.setDrumType(undefined);
|
|
1235
1279
|
};
|
|
1236
1280
|
|
|
@@ -1239,35 +1283,35 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.clearDrumType = function()
|
|
|
1239
1283
|
* Returns whether this field is set.
|
|
1240
1284
|
* @return {boolean}
|
|
1241
1285
|
*/
|
|
1242
|
-
proto.
|
|
1286
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.hasDrumType = function() {
|
|
1243
1287
|
return jspb.Message.getField(this, 2) != null;
|
|
1244
1288
|
};
|
|
1245
1289
|
|
|
1246
1290
|
|
|
1247
1291
|
/**
|
|
1248
1292
|
* optional DrumType cable_type = 3;
|
|
1249
|
-
* @return {?proto.
|
|
1293
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
1250
1294
|
*/
|
|
1251
|
-
proto.
|
|
1252
|
-
return /** @type{?proto.
|
|
1253
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1295
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCableType = function() {
|
|
1296
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
1297
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 3));
|
|
1254
1298
|
};
|
|
1255
1299
|
|
|
1256
1300
|
|
|
1257
1301
|
/**
|
|
1258
|
-
* @param {?proto.
|
|
1259
|
-
* @return {!proto.
|
|
1302
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
1303
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1260
1304
|
*/
|
|
1261
|
-
proto.
|
|
1305
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCableType = function(value) {
|
|
1262
1306
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
1263
1307
|
};
|
|
1264
1308
|
|
|
1265
1309
|
|
|
1266
1310
|
/**
|
|
1267
1311
|
* Clears the message field making it undefined.
|
|
1268
|
-
* @return {!proto.
|
|
1312
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1269
1313
|
*/
|
|
1270
|
-
proto.
|
|
1314
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.clearCableType = function() {
|
|
1271
1315
|
return this.setCableType(undefined);
|
|
1272
1316
|
};
|
|
1273
1317
|
|
|
@@ -1276,7 +1320,7 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.clearCableType = function()
|
|
|
1276
1320
|
* Returns whether this field is set.
|
|
1277
1321
|
* @return {boolean}
|
|
1278
1322
|
*/
|
|
1279
|
-
proto.
|
|
1323
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.hasCableType = function() {
|
|
1280
1324
|
return jspb.Message.getField(this, 3) != null;
|
|
1281
1325
|
};
|
|
1282
1326
|
|
|
@@ -1285,16 +1329,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.hasCableType = function() {
|
|
|
1285
1329
|
* optional string group_id = 4;
|
|
1286
1330
|
* @return {string}
|
|
1287
1331
|
*/
|
|
1288
|
-
proto.
|
|
1332
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getGroupId = function() {
|
|
1289
1333
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1290
1334
|
};
|
|
1291
1335
|
|
|
1292
1336
|
|
|
1293
1337
|
/**
|
|
1294
1338
|
* @param {string} value
|
|
1295
|
-
* @return {!proto.
|
|
1339
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1296
1340
|
*/
|
|
1297
|
-
proto.
|
|
1341
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setGroupId = function(value) {
|
|
1298
1342
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1299
1343
|
};
|
|
1300
1344
|
|
|
@@ -1303,16 +1347,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setGroupId = function(value
|
|
|
1303
1347
|
* optional int32 cable_length = 5;
|
|
1304
1348
|
* @return {number}
|
|
1305
1349
|
*/
|
|
1306
|
-
proto.
|
|
1350
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCableLength = function() {
|
|
1307
1351
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1308
1352
|
};
|
|
1309
1353
|
|
|
1310
1354
|
|
|
1311
1355
|
/**
|
|
1312
1356
|
* @param {number} value
|
|
1313
|
-
* @return {!proto.
|
|
1357
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1314
1358
|
*/
|
|
1315
|
-
proto.
|
|
1359
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCableLength = function(value) {
|
|
1316
1360
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
1317
1361
|
};
|
|
1318
1362
|
|
|
@@ -1321,16 +1365,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setCableLength = function(v
|
|
|
1321
1365
|
* optional int32 residual_length = 6;
|
|
1322
1366
|
* @return {number}
|
|
1323
1367
|
*/
|
|
1324
|
-
proto.
|
|
1368
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getResidualLength = function() {
|
|
1325
1369
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1326
1370
|
};
|
|
1327
1371
|
|
|
1328
1372
|
|
|
1329
1373
|
/**
|
|
1330
1374
|
* @param {number} value
|
|
1331
|
-
* @return {!proto.
|
|
1375
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1332
1376
|
*/
|
|
1333
|
-
proto.
|
|
1377
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setResidualLength = function(value) {
|
|
1334
1378
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1335
1379
|
};
|
|
1336
1380
|
|
|
@@ -1339,16 +1383,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setResidualLength = functio
|
|
|
1339
1383
|
* optional string sales_reference = 7;
|
|
1340
1384
|
* @return {string}
|
|
1341
1385
|
*/
|
|
1342
|
-
proto.
|
|
1386
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getSalesReference = function() {
|
|
1343
1387
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1344
1388
|
};
|
|
1345
1389
|
|
|
1346
1390
|
|
|
1347
1391
|
/**
|
|
1348
1392
|
* @param {string} value
|
|
1349
|
-
* @return {!proto.
|
|
1393
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1350
1394
|
*/
|
|
1351
|
-
proto.
|
|
1395
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setSalesReference = function(value) {
|
|
1352
1396
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1353
1397
|
};
|
|
1354
1398
|
|
|
@@ -1357,16 +1401,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setSalesReference = functio
|
|
|
1357
1401
|
* optional string customer_reference = 8;
|
|
1358
1402
|
* @return {string}
|
|
1359
1403
|
*/
|
|
1360
|
-
proto.
|
|
1404
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCustomerReference = function() {
|
|
1361
1405
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1362
1406
|
};
|
|
1363
1407
|
|
|
1364
1408
|
|
|
1365
1409
|
/**
|
|
1366
1410
|
* @param {string} value
|
|
1367
|
-
* @return {!proto.
|
|
1411
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1368
1412
|
*/
|
|
1369
|
-
proto.
|
|
1413
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCustomerReference = function(value) {
|
|
1370
1414
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1371
1415
|
};
|
|
1372
1416
|
|
|
@@ -1380,22 +1424,22 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setCustomerReference = func
|
|
|
1380
1424
|
* @private {!Array<!Array<number>>}
|
|
1381
1425
|
* @const
|
|
1382
1426
|
*/
|
|
1383
|
-
proto.
|
|
1427
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_ = [[1,2]];
|
|
1384
1428
|
|
|
1385
1429
|
/**
|
|
1386
1430
|
* @enum {number}
|
|
1387
1431
|
*/
|
|
1388
|
-
proto.
|
|
1432
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase = {
|
|
1389
1433
|
SEARCH_NOT_SET: 0,
|
|
1390
1434
|
ID: 1,
|
|
1391
1435
|
DRUM_NUMBER: 2
|
|
1392
1436
|
};
|
|
1393
1437
|
|
|
1394
1438
|
/**
|
|
1395
|
-
* @return {proto.
|
|
1439
|
+
* @return {proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase}
|
|
1396
1440
|
*/
|
|
1397
|
-
proto.
|
|
1398
|
-
return /** @type {proto.
|
|
1441
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getSearchCase = function() {
|
|
1442
|
+
return /** @type {proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0]));
|
|
1399
1443
|
};
|
|
1400
1444
|
|
|
1401
1445
|
|
|
@@ -1413,8 +1457,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1413
1457
|
* http://goto/soy-param-migration
|
|
1414
1458
|
* @return {!Object}
|
|
1415
1459
|
*/
|
|
1416
|
-
proto.
|
|
1417
|
-
return proto.
|
|
1460
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1461
|
+
return proto.Drumtracker.DrumProto.RetrieveRequest.toObject(opt_includeInstance, this);
|
|
1418
1462
|
};
|
|
1419
1463
|
|
|
1420
1464
|
|
|
@@ -1423,11 +1467,11 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.toObject = function(opt_i
|
|
|
1423
1467
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1424
1468
|
* the JSPB instance for transitional soy proto support:
|
|
1425
1469
|
* http://goto/soy-param-migration
|
|
1426
|
-
* @param {!proto.
|
|
1470
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} msg The msg instance to transform.
|
|
1427
1471
|
* @return {!Object}
|
|
1428
1472
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1429
1473
|
*/
|
|
1430
|
-
proto.
|
|
1474
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
1431
1475
|
var f, obj = {
|
|
1432
1476
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1433
1477
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -1444,23 +1488,23 @@ proto.Drumtracking.DrumProto.RetrieveRequest.toObject = function(includeInstance
|
|
|
1444
1488
|
/**
|
|
1445
1489
|
* Deserializes binary data (in protobuf wire format).
|
|
1446
1490
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1447
|
-
* @return {!proto.
|
|
1491
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest}
|
|
1448
1492
|
*/
|
|
1449
|
-
proto.
|
|
1493
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinary = function(bytes) {
|
|
1450
1494
|
var reader = new jspb.BinaryReader(bytes);
|
|
1451
|
-
var msg = new proto.
|
|
1452
|
-
return proto.
|
|
1495
|
+
var msg = new proto.Drumtracker.DrumProto.RetrieveRequest;
|
|
1496
|
+
return proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
|
|
1453
1497
|
};
|
|
1454
1498
|
|
|
1455
1499
|
|
|
1456
1500
|
/**
|
|
1457
1501
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1458
1502
|
* given reader into the given message object.
|
|
1459
|
-
* @param {!proto.
|
|
1503
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} msg The message object to deserialize into.
|
|
1460
1504
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1461
|
-
* @return {!proto.
|
|
1505
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest}
|
|
1462
1506
|
*/
|
|
1463
|
-
proto.
|
|
1507
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1464
1508
|
while (reader.nextField()) {
|
|
1465
1509
|
if (reader.isEndGroup()) {
|
|
1466
1510
|
break;
|
|
@@ -1488,9 +1532,9 @@ proto.Drumtracking.DrumProto.RetrieveRequest.deserializeBinaryFromReader = funct
|
|
|
1488
1532
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1489
1533
|
* @return {!Uint8Array}
|
|
1490
1534
|
*/
|
|
1491
|
-
proto.
|
|
1535
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.serializeBinary = function() {
|
|
1492
1536
|
var writer = new jspb.BinaryWriter();
|
|
1493
|
-
proto.
|
|
1537
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
|
|
1494
1538
|
return writer.getResultBuffer();
|
|
1495
1539
|
};
|
|
1496
1540
|
|
|
@@ -1498,11 +1542,11 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.serializeBinary = functio
|
|
|
1498
1542
|
/**
|
|
1499
1543
|
* Serializes the given message to binary data (in protobuf wire
|
|
1500
1544
|
* format), writing to the given BinaryWriter.
|
|
1501
|
-
* @param {!proto.
|
|
1545
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} message
|
|
1502
1546
|
* @param {!jspb.BinaryWriter} writer
|
|
1503
1547
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1504
1548
|
*/
|
|
1505
|
-
proto.
|
|
1549
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1506
1550
|
var f = undefined;
|
|
1507
1551
|
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
1508
1552
|
if (f != null) {
|
|
@@ -1525,26 +1569,26 @@ proto.Drumtracking.DrumProto.RetrieveRequest.serializeBinaryToWriter = function(
|
|
|
1525
1569
|
* optional int64 id = 1;
|
|
1526
1570
|
* @return {number}
|
|
1527
1571
|
*/
|
|
1528
|
-
proto.
|
|
1572
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getId = function() {
|
|
1529
1573
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1530
1574
|
};
|
|
1531
1575
|
|
|
1532
1576
|
|
|
1533
1577
|
/**
|
|
1534
1578
|
* @param {number} value
|
|
1535
|
-
* @return {!proto.
|
|
1579
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1536
1580
|
*/
|
|
1537
|
-
proto.
|
|
1538
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
1581
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.setId = function(value) {
|
|
1582
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], value);
|
|
1539
1583
|
};
|
|
1540
1584
|
|
|
1541
1585
|
|
|
1542
1586
|
/**
|
|
1543
1587
|
* Clears the field making it undefined.
|
|
1544
|
-
* @return {!proto.
|
|
1588
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1545
1589
|
*/
|
|
1546
|
-
proto.
|
|
1547
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
1590
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.clearId = function() {
|
|
1591
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
1548
1592
|
};
|
|
1549
1593
|
|
|
1550
1594
|
|
|
@@ -1552,7 +1596,7 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.clearId = function() {
|
|
|
1552
1596
|
* Returns whether this field is set.
|
|
1553
1597
|
* @return {boolean}
|
|
1554
1598
|
*/
|
|
1555
|
-
proto.
|
|
1599
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.hasId = function() {
|
|
1556
1600
|
return jspb.Message.getField(this, 1) != null;
|
|
1557
1601
|
};
|
|
1558
1602
|
|
|
@@ -1561,26 +1605,26 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.hasId = function() {
|
|
|
1561
1605
|
* optional int64 drum_number = 2;
|
|
1562
1606
|
* @return {number}
|
|
1563
1607
|
*/
|
|
1564
|
-
proto.
|
|
1608
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getDrumNumber = function() {
|
|
1565
1609
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1566
1610
|
};
|
|
1567
1611
|
|
|
1568
1612
|
|
|
1569
1613
|
/**
|
|
1570
1614
|
* @param {number} value
|
|
1571
|
-
* @return {!proto.
|
|
1615
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1572
1616
|
*/
|
|
1573
|
-
proto.
|
|
1574
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
1617
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.setDrumNumber = function(value) {
|
|
1618
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], value);
|
|
1575
1619
|
};
|
|
1576
1620
|
|
|
1577
1621
|
|
|
1578
1622
|
/**
|
|
1579
1623
|
* Clears the field making it undefined.
|
|
1580
|
-
* @return {!proto.
|
|
1624
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1581
1625
|
*/
|
|
1582
|
-
proto.
|
|
1583
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
1626
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.clearDrumNumber = function() {
|
|
1627
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
1584
1628
|
};
|
|
1585
1629
|
|
|
1586
1630
|
|
|
@@ -1588,7 +1632,7 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.clearDrumNumber = functio
|
|
|
1588
1632
|
* Returns whether this field is set.
|
|
1589
1633
|
* @return {boolean}
|
|
1590
1634
|
*/
|
|
1591
|
-
proto.
|
|
1635
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.hasDrumNumber = function() {
|
|
1592
1636
|
return jspb.Message.getField(this, 2) != null;
|
|
1593
1637
|
};
|
|
1594
1638
|
|
|
@@ -1609,8 +1653,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1609
1653
|
* http://goto/soy-param-migration
|
|
1610
1654
|
* @return {!Object}
|
|
1611
1655
|
*/
|
|
1612
|
-
proto.
|
|
1613
|
-
return proto.
|
|
1656
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1657
|
+
return proto.Drumtracker.DrumProto.UpdateRequest.toObject(opt_includeInstance, this);
|
|
1614
1658
|
};
|
|
1615
1659
|
|
|
1616
1660
|
|
|
@@ -1619,16 +1663,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.toObject = function(opt_inc
|
|
|
1619
1663
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1620
1664
|
* the JSPB instance for transitional soy proto support:
|
|
1621
1665
|
* http://goto/soy-param-migration
|
|
1622
|
-
* @param {!proto.
|
|
1666
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} msg The msg instance to transform.
|
|
1623
1667
|
* @return {!Object}
|
|
1624
1668
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1625
1669
|
*/
|
|
1626
|
-
proto.
|
|
1670
|
+
proto.Drumtracker.DrumProto.UpdateRequest.toObject = function(includeInstance, msg) {
|
|
1627
1671
|
var f, obj = {
|
|
1628
1672
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1629
1673
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1630
|
-
drumType: (f = msg.getDrumType()) && proto.
|
|
1631
|
-
cableType: (f = msg.getCableType()) && proto.
|
|
1674
|
+
drumType: (f = msg.getDrumType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
1675
|
+
cableType: (f = msg.getCableType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
1632
1676
|
groupId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1633
1677
|
cableLength: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
1634
1678
|
residualLength: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
@@ -1647,23 +1691,23 @@ proto.Drumtracking.DrumProto.UpdateRequest.toObject = function(includeInstance,
|
|
|
1647
1691
|
/**
|
|
1648
1692
|
* Deserializes binary data (in protobuf wire format).
|
|
1649
1693
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1650
|
-
* @return {!proto.
|
|
1694
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest}
|
|
1651
1695
|
*/
|
|
1652
|
-
proto.
|
|
1696
|
+
proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinary = function(bytes) {
|
|
1653
1697
|
var reader = new jspb.BinaryReader(bytes);
|
|
1654
|
-
var msg = new proto.
|
|
1655
|
-
return proto.
|
|
1698
|
+
var msg = new proto.Drumtracker.DrumProto.UpdateRequest;
|
|
1699
|
+
return proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
1656
1700
|
};
|
|
1657
1701
|
|
|
1658
1702
|
|
|
1659
1703
|
/**
|
|
1660
1704
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1661
1705
|
* given reader into the given message object.
|
|
1662
|
-
* @param {!proto.
|
|
1706
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} msg The message object to deserialize into.
|
|
1663
1707
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1664
|
-
* @return {!proto.
|
|
1708
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest}
|
|
1665
1709
|
*/
|
|
1666
|
-
proto.
|
|
1710
|
+
proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1667
1711
|
while (reader.nextField()) {
|
|
1668
1712
|
if (reader.isEndGroup()) {
|
|
1669
1713
|
break;
|
|
@@ -1679,13 +1723,13 @@ proto.Drumtracking.DrumProto.UpdateRequest.deserializeBinaryFromReader = functio
|
|
|
1679
1723
|
msg.setDrumNumber(value);
|
|
1680
1724
|
break;
|
|
1681
1725
|
case 3:
|
|
1682
|
-
var value = new proto.
|
|
1683
|
-
reader.readMessage(value,proto.
|
|
1726
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
1727
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
1684
1728
|
msg.setDrumType(value);
|
|
1685
1729
|
break;
|
|
1686
1730
|
case 4:
|
|
1687
|
-
var value = new proto.
|
|
1688
|
-
reader.readMessage(value,proto.
|
|
1731
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
1732
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
1689
1733
|
msg.setCableType(value);
|
|
1690
1734
|
break;
|
|
1691
1735
|
case 5:
|
|
@@ -1721,9 +1765,9 @@ proto.Drumtracking.DrumProto.UpdateRequest.deserializeBinaryFromReader = functio
|
|
|
1721
1765
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1722
1766
|
* @return {!Uint8Array}
|
|
1723
1767
|
*/
|
|
1724
|
-
proto.
|
|
1768
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.serializeBinary = function() {
|
|
1725
1769
|
var writer = new jspb.BinaryWriter();
|
|
1726
|
-
proto.
|
|
1770
|
+
proto.Drumtracker.DrumProto.UpdateRequest.serializeBinaryToWriter(this, writer);
|
|
1727
1771
|
return writer.getResultBuffer();
|
|
1728
1772
|
};
|
|
1729
1773
|
|
|
@@ -1731,11 +1775,11 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.serializeBinary = function(
|
|
|
1731
1775
|
/**
|
|
1732
1776
|
* Serializes the given message to binary data (in protobuf wire
|
|
1733
1777
|
* format), writing to the given BinaryWriter.
|
|
1734
|
-
* @param {!proto.
|
|
1778
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} message
|
|
1735
1779
|
* @param {!jspb.BinaryWriter} writer
|
|
1736
1780
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1737
1781
|
*/
|
|
1738
|
-
proto.
|
|
1782
|
+
proto.Drumtracker.DrumProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1739
1783
|
var f = undefined;
|
|
1740
1784
|
f = message.getId();
|
|
1741
1785
|
if (f !== 0) {
|
|
@@ -1756,7 +1800,7 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1756
1800
|
writer.writeMessage(
|
|
1757
1801
|
3,
|
|
1758
1802
|
f,
|
|
1759
|
-
proto.
|
|
1803
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
1760
1804
|
);
|
|
1761
1805
|
}
|
|
1762
1806
|
f = message.getCableType();
|
|
@@ -1764,7 +1808,7 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1764
1808
|
writer.writeMessage(
|
|
1765
1809
|
4,
|
|
1766
1810
|
f,
|
|
1767
|
-
proto.
|
|
1811
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
1768
1812
|
);
|
|
1769
1813
|
}
|
|
1770
1814
|
f = message.getGroupId();
|
|
@@ -1809,16 +1853,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1809
1853
|
* optional int64 id = 1;
|
|
1810
1854
|
* @return {number}
|
|
1811
1855
|
*/
|
|
1812
|
-
proto.
|
|
1856
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getId = function() {
|
|
1813
1857
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1814
1858
|
};
|
|
1815
1859
|
|
|
1816
1860
|
|
|
1817
1861
|
/**
|
|
1818
1862
|
* @param {number} value
|
|
1819
|
-
* @return {!proto.
|
|
1863
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1820
1864
|
*/
|
|
1821
|
-
proto.
|
|
1865
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setId = function(value) {
|
|
1822
1866
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1823
1867
|
};
|
|
1824
1868
|
|
|
@@ -1827,44 +1871,44 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setId = function(value) {
|
|
|
1827
1871
|
* optional int64 drum_number = 2;
|
|
1828
1872
|
* @return {number}
|
|
1829
1873
|
*/
|
|
1830
|
-
proto.
|
|
1874
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getDrumNumber = function() {
|
|
1831
1875
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1832
1876
|
};
|
|
1833
1877
|
|
|
1834
1878
|
|
|
1835
1879
|
/**
|
|
1836
1880
|
* @param {number} value
|
|
1837
|
-
* @return {!proto.
|
|
1881
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1838
1882
|
*/
|
|
1839
|
-
proto.
|
|
1883
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setDrumNumber = function(value) {
|
|
1840
1884
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1841
1885
|
};
|
|
1842
1886
|
|
|
1843
1887
|
|
|
1844
1888
|
/**
|
|
1845
1889
|
* optional DrumType drum_type = 3;
|
|
1846
|
-
* @return {?proto.
|
|
1890
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
1847
1891
|
*/
|
|
1848
|
-
proto.
|
|
1849
|
-
return /** @type{?proto.
|
|
1850
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1892
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getDrumType = function() {
|
|
1893
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
1894
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 3));
|
|
1851
1895
|
};
|
|
1852
1896
|
|
|
1853
1897
|
|
|
1854
1898
|
/**
|
|
1855
|
-
* @param {?proto.
|
|
1856
|
-
* @return {!proto.
|
|
1899
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
1900
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1857
1901
|
*/
|
|
1858
|
-
proto.
|
|
1902
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setDrumType = function(value) {
|
|
1859
1903
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
1860
1904
|
};
|
|
1861
1905
|
|
|
1862
1906
|
|
|
1863
1907
|
/**
|
|
1864
1908
|
* Clears the message field making it undefined.
|
|
1865
|
-
* @return {!proto.
|
|
1909
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1866
1910
|
*/
|
|
1867
|
-
proto.
|
|
1911
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.clearDrumType = function() {
|
|
1868
1912
|
return this.setDrumType(undefined);
|
|
1869
1913
|
};
|
|
1870
1914
|
|
|
@@ -1873,35 +1917,35 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.clearDrumType = function()
|
|
|
1873
1917
|
* Returns whether this field is set.
|
|
1874
1918
|
* @return {boolean}
|
|
1875
1919
|
*/
|
|
1876
|
-
proto.
|
|
1920
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.hasDrumType = function() {
|
|
1877
1921
|
return jspb.Message.getField(this, 3) != null;
|
|
1878
1922
|
};
|
|
1879
1923
|
|
|
1880
1924
|
|
|
1881
1925
|
/**
|
|
1882
1926
|
* optional DrumType cable_type = 4;
|
|
1883
|
-
* @return {?proto.
|
|
1927
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
1884
1928
|
*/
|
|
1885
|
-
proto.
|
|
1886
|
-
return /** @type{?proto.
|
|
1887
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1929
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCableType = function() {
|
|
1930
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
1931
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 4));
|
|
1888
1932
|
};
|
|
1889
1933
|
|
|
1890
1934
|
|
|
1891
1935
|
/**
|
|
1892
|
-
* @param {?proto.
|
|
1893
|
-
* @return {!proto.
|
|
1936
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
1937
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1894
1938
|
*/
|
|
1895
|
-
proto.
|
|
1939
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCableType = function(value) {
|
|
1896
1940
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
1897
1941
|
};
|
|
1898
1942
|
|
|
1899
1943
|
|
|
1900
1944
|
/**
|
|
1901
1945
|
* Clears the message field making it undefined.
|
|
1902
|
-
* @return {!proto.
|
|
1946
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1903
1947
|
*/
|
|
1904
|
-
proto.
|
|
1948
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.clearCableType = function() {
|
|
1905
1949
|
return this.setCableType(undefined);
|
|
1906
1950
|
};
|
|
1907
1951
|
|
|
@@ -1910,7 +1954,7 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.clearCableType = function()
|
|
|
1910
1954
|
* Returns whether this field is set.
|
|
1911
1955
|
* @return {boolean}
|
|
1912
1956
|
*/
|
|
1913
|
-
proto.
|
|
1957
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.hasCableType = function() {
|
|
1914
1958
|
return jspb.Message.getField(this, 4) != null;
|
|
1915
1959
|
};
|
|
1916
1960
|
|
|
@@ -1919,16 +1963,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.hasCableType = function() {
|
|
|
1919
1963
|
* optional string group_id = 5;
|
|
1920
1964
|
* @return {string}
|
|
1921
1965
|
*/
|
|
1922
|
-
proto.
|
|
1966
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getGroupId = function() {
|
|
1923
1967
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1924
1968
|
};
|
|
1925
1969
|
|
|
1926
1970
|
|
|
1927
1971
|
/**
|
|
1928
1972
|
* @param {string} value
|
|
1929
|
-
* @return {!proto.
|
|
1973
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1930
1974
|
*/
|
|
1931
|
-
proto.
|
|
1975
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setGroupId = function(value) {
|
|
1932
1976
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1933
1977
|
};
|
|
1934
1978
|
|
|
@@ -1937,16 +1981,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setGroupId = function(value
|
|
|
1937
1981
|
* optional int32 cable_length = 6;
|
|
1938
1982
|
* @return {number}
|
|
1939
1983
|
*/
|
|
1940
|
-
proto.
|
|
1984
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCableLength = function() {
|
|
1941
1985
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1942
1986
|
};
|
|
1943
1987
|
|
|
1944
1988
|
|
|
1945
1989
|
/**
|
|
1946
1990
|
* @param {number} value
|
|
1947
|
-
* @return {!proto.
|
|
1991
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1948
1992
|
*/
|
|
1949
|
-
proto.
|
|
1993
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCableLength = function(value) {
|
|
1950
1994
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1951
1995
|
};
|
|
1952
1996
|
|
|
@@ -1955,16 +1999,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setCableLength = function(v
|
|
|
1955
1999
|
* optional int32 residual_length = 7;
|
|
1956
2000
|
* @return {number}
|
|
1957
2001
|
*/
|
|
1958
|
-
proto.
|
|
2002
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getResidualLength = function() {
|
|
1959
2003
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1960
2004
|
};
|
|
1961
2005
|
|
|
1962
2006
|
|
|
1963
2007
|
/**
|
|
1964
2008
|
* @param {number} value
|
|
1965
|
-
* @return {!proto.
|
|
2009
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1966
2010
|
*/
|
|
1967
|
-
proto.
|
|
2011
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setResidualLength = function(value) {
|
|
1968
2012
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
1969
2013
|
};
|
|
1970
2014
|
|
|
@@ -1973,16 +2017,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setResidualLength = functio
|
|
|
1973
2017
|
* optional string sales_reference = 8;
|
|
1974
2018
|
* @return {string}
|
|
1975
2019
|
*/
|
|
1976
|
-
proto.
|
|
2020
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getSalesReference = function() {
|
|
1977
2021
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1978
2022
|
};
|
|
1979
2023
|
|
|
1980
2024
|
|
|
1981
2025
|
/**
|
|
1982
2026
|
* @param {string} value
|
|
1983
|
-
* @return {!proto.
|
|
2027
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1984
2028
|
*/
|
|
1985
|
-
proto.
|
|
2029
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setSalesReference = function(value) {
|
|
1986
2030
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1987
2031
|
};
|
|
1988
2032
|
|
|
@@ -1991,16 +2035,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setSalesReference = functio
|
|
|
1991
2035
|
* optional string customer_reference = 9;
|
|
1992
2036
|
* @return {string}
|
|
1993
2037
|
*/
|
|
1994
|
-
proto.
|
|
2038
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCustomerReference = function() {
|
|
1995
2039
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1996
2040
|
};
|
|
1997
2041
|
|
|
1998
2042
|
|
|
1999
2043
|
/**
|
|
2000
2044
|
* @param {string} value
|
|
2001
|
-
* @return {!proto.
|
|
2045
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
2002
2046
|
*/
|
|
2003
|
-
proto.
|
|
2047
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCustomerReference = function(value) {
|
|
2004
2048
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2005
2049
|
};
|
|
2006
2050
|
|
|
@@ -2014,22 +2058,22 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setCustomerReference = func
|
|
|
2014
2058
|
* @private {!Array<!Array<number>>}
|
|
2015
2059
|
* @const
|
|
2016
2060
|
*/
|
|
2017
|
-
proto.
|
|
2061
|
+
proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_ = [[1,2]];
|
|
2018
2062
|
|
|
2019
2063
|
/**
|
|
2020
2064
|
* @enum {number}
|
|
2021
2065
|
*/
|
|
2022
|
-
proto.
|
|
2066
|
+
proto.Drumtracker.DrumProto.DeleteRequest.SearchCase = {
|
|
2023
2067
|
SEARCH_NOT_SET: 0,
|
|
2024
2068
|
ID: 1,
|
|
2025
2069
|
DRUM_NUMBER: 2
|
|
2026
2070
|
};
|
|
2027
2071
|
|
|
2028
2072
|
/**
|
|
2029
|
-
* @return {proto.
|
|
2073
|
+
* @return {proto.Drumtracker.DrumProto.DeleteRequest.SearchCase}
|
|
2030
2074
|
*/
|
|
2031
|
-
proto.
|
|
2032
|
-
return /** @type {proto.
|
|
2075
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getSearchCase = function() {
|
|
2076
|
+
return /** @type {proto.Drumtracker.DrumProto.DeleteRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0]));
|
|
2033
2077
|
};
|
|
2034
2078
|
|
|
2035
2079
|
|
|
@@ -2047,8 +2091,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2047
2091
|
* http://goto/soy-param-migration
|
|
2048
2092
|
* @return {!Object}
|
|
2049
2093
|
*/
|
|
2050
|
-
proto.
|
|
2051
|
-
return proto.
|
|
2094
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2095
|
+
return proto.Drumtracker.DrumProto.DeleteRequest.toObject(opt_includeInstance, this);
|
|
2052
2096
|
};
|
|
2053
2097
|
|
|
2054
2098
|
|
|
@@ -2057,11 +2101,11 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.toObject = function(opt_inc
|
|
|
2057
2101
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2058
2102
|
* the JSPB instance for transitional soy proto support:
|
|
2059
2103
|
* http://goto/soy-param-migration
|
|
2060
|
-
* @param {!proto.
|
|
2104
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} msg The msg instance to transform.
|
|
2061
2105
|
* @return {!Object}
|
|
2062
2106
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2063
2107
|
*/
|
|
2064
|
-
proto.
|
|
2108
|
+
proto.Drumtracker.DrumProto.DeleteRequest.toObject = function(includeInstance, msg) {
|
|
2065
2109
|
var f, obj = {
|
|
2066
2110
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2067
2111
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -2078,23 +2122,23 @@ proto.Drumtracking.DrumProto.DeleteRequest.toObject = function(includeInstance,
|
|
|
2078
2122
|
/**
|
|
2079
2123
|
* Deserializes binary data (in protobuf wire format).
|
|
2080
2124
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2081
|
-
* @return {!proto.
|
|
2125
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest}
|
|
2082
2126
|
*/
|
|
2083
|
-
proto.
|
|
2127
|
+
proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinary = function(bytes) {
|
|
2084
2128
|
var reader = new jspb.BinaryReader(bytes);
|
|
2085
|
-
var msg = new proto.
|
|
2086
|
-
return proto.
|
|
2129
|
+
var msg = new proto.Drumtracker.DrumProto.DeleteRequest;
|
|
2130
|
+
return proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
|
|
2087
2131
|
};
|
|
2088
2132
|
|
|
2089
2133
|
|
|
2090
2134
|
/**
|
|
2091
2135
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2092
2136
|
* given reader into the given message object.
|
|
2093
|
-
* @param {!proto.
|
|
2137
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} msg The message object to deserialize into.
|
|
2094
2138
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2095
|
-
* @return {!proto.
|
|
2139
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest}
|
|
2096
2140
|
*/
|
|
2097
|
-
proto.
|
|
2141
|
+
proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2098
2142
|
while (reader.nextField()) {
|
|
2099
2143
|
if (reader.isEndGroup()) {
|
|
2100
2144
|
break;
|
|
@@ -2122,9 +2166,9 @@ proto.Drumtracking.DrumProto.DeleteRequest.deserializeBinaryFromReader = functio
|
|
|
2122
2166
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2123
2167
|
* @return {!Uint8Array}
|
|
2124
2168
|
*/
|
|
2125
|
-
proto.
|
|
2169
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.serializeBinary = function() {
|
|
2126
2170
|
var writer = new jspb.BinaryWriter();
|
|
2127
|
-
proto.
|
|
2171
|
+
proto.Drumtracker.DrumProto.DeleteRequest.serializeBinaryToWriter(this, writer);
|
|
2128
2172
|
return writer.getResultBuffer();
|
|
2129
2173
|
};
|
|
2130
2174
|
|
|
@@ -2132,11 +2176,11 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.serializeBinary = function(
|
|
|
2132
2176
|
/**
|
|
2133
2177
|
* Serializes the given message to binary data (in protobuf wire
|
|
2134
2178
|
* format), writing to the given BinaryWriter.
|
|
2135
|
-
* @param {!proto.
|
|
2179
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} message
|
|
2136
2180
|
* @param {!jspb.BinaryWriter} writer
|
|
2137
2181
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2138
2182
|
*/
|
|
2139
|
-
proto.
|
|
2183
|
+
proto.Drumtracker.DrumProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2140
2184
|
var f = undefined;
|
|
2141
2185
|
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
2142
2186
|
if (f != null) {
|
|
@@ -2159,26 +2203,26 @@ proto.Drumtracking.DrumProto.DeleteRequest.serializeBinaryToWriter = function(me
|
|
|
2159
2203
|
* optional int64 id = 1;
|
|
2160
2204
|
* @return {number}
|
|
2161
2205
|
*/
|
|
2162
|
-
proto.
|
|
2206
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getId = function() {
|
|
2163
2207
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2164
2208
|
};
|
|
2165
2209
|
|
|
2166
2210
|
|
|
2167
2211
|
/**
|
|
2168
2212
|
* @param {number} value
|
|
2169
|
-
* @return {!proto.
|
|
2213
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2170
2214
|
*/
|
|
2171
|
-
proto.
|
|
2172
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
2215
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.setId = function(value) {
|
|
2216
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], value);
|
|
2173
2217
|
};
|
|
2174
2218
|
|
|
2175
2219
|
|
|
2176
2220
|
/**
|
|
2177
2221
|
* Clears the field making it undefined.
|
|
2178
|
-
* @return {!proto.
|
|
2222
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2179
2223
|
*/
|
|
2180
|
-
proto.
|
|
2181
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
2224
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.clearId = function() {
|
|
2225
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], undefined);
|
|
2182
2226
|
};
|
|
2183
2227
|
|
|
2184
2228
|
|
|
@@ -2186,7 +2230,7 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.clearId = function() {
|
|
|
2186
2230
|
* Returns whether this field is set.
|
|
2187
2231
|
* @return {boolean}
|
|
2188
2232
|
*/
|
|
2189
|
-
proto.
|
|
2233
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.hasId = function() {
|
|
2190
2234
|
return jspb.Message.getField(this, 1) != null;
|
|
2191
2235
|
};
|
|
2192
2236
|
|
|
@@ -2195,26 +2239,26 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.hasId = function() {
|
|
|
2195
2239
|
* optional int64 drum_number = 2;
|
|
2196
2240
|
* @return {number}
|
|
2197
2241
|
*/
|
|
2198
|
-
proto.
|
|
2242
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getDrumNumber = function() {
|
|
2199
2243
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2200
2244
|
};
|
|
2201
2245
|
|
|
2202
2246
|
|
|
2203
2247
|
/**
|
|
2204
2248
|
* @param {number} value
|
|
2205
|
-
* @return {!proto.
|
|
2249
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2206
2250
|
*/
|
|
2207
|
-
proto.
|
|
2208
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
2251
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.setDrumNumber = function(value) {
|
|
2252
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], value);
|
|
2209
2253
|
};
|
|
2210
2254
|
|
|
2211
2255
|
|
|
2212
2256
|
/**
|
|
2213
2257
|
* Clears the field making it undefined.
|
|
2214
|
-
* @return {!proto.
|
|
2258
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2215
2259
|
*/
|
|
2216
|
-
proto.
|
|
2217
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
2260
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.clearDrumNumber = function() {
|
|
2261
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], undefined);
|
|
2218
2262
|
};
|
|
2219
2263
|
|
|
2220
2264
|
|
|
@@ -2222,7 +2266,7 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.clearDrumNumber = function(
|
|
|
2222
2266
|
* Returns whether this field is set.
|
|
2223
2267
|
* @return {boolean}
|
|
2224
2268
|
*/
|
|
2225
|
-
proto.
|
|
2269
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.hasDrumNumber = function() {
|
|
2226
2270
|
return jspb.Message.getField(this, 2) != null;
|
|
2227
2271
|
};
|
|
2228
2272
|
|
|
@@ -2243,8 +2287,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2243
2287
|
* http://goto/soy-param-migration
|
|
2244
2288
|
* @return {!Object}
|
|
2245
2289
|
*/
|
|
2246
|
-
proto.
|
|
2247
|
-
return proto.
|
|
2290
|
+
proto.Drumtracker.DrumProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
|
|
2291
|
+
return proto.Drumtracker.DrumProto.DeleteReply.toObject(opt_includeInstance, this);
|
|
2248
2292
|
};
|
|
2249
2293
|
|
|
2250
2294
|
|
|
@@ -2253,11 +2297,11 @@ proto.Drumtracking.DrumProto.DeleteReply.prototype.toObject = function(opt_inclu
|
|
|
2253
2297
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2254
2298
|
* the JSPB instance for transitional soy proto support:
|
|
2255
2299
|
* http://goto/soy-param-migration
|
|
2256
|
-
* @param {!proto.
|
|
2300
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} msg The msg instance to transform.
|
|
2257
2301
|
* @return {!Object}
|
|
2258
2302
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2259
2303
|
*/
|
|
2260
|
-
proto.
|
|
2304
|
+
proto.Drumtracker.DrumProto.DeleteReply.toObject = function(includeInstance, msg) {
|
|
2261
2305
|
var f, obj = {
|
|
2262
2306
|
|
|
2263
2307
|
};
|
|
@@ -2273,23 +2317,23 @@ proto.Drumtracking.DrumProto.DeleteReply.toObject = function(includeInstance, ms
|
|
|
2273
2317
|
/**
|
|
2274
2318
|
* Deserializes binary data (in protobuf wire format).
|
|
2275
2319
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2276
|
-
* @return {!proto.
|
|
2320
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteReply}
|
|
2277
2321
|
*/
|
|
2278
|
-
proto.
|
|
2322
|
+
proto.Drumtracker.DrumProto.DeleteReply.deserializeBinary = function(bytes) {
|
|
2279
2323
|
var reader = new jspb.BinaryReader(bytes);
|
|
2280
|
-
var msg = new proto.
|
|
2281
|
-
return proto.
|
|
2324
|
+
var msg = new proto.Drumtracker.DrumProto.DeleteReply;
|
|
2325
|
+
return proto.Drumtracker.DrumProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
|
|
2282
2326
|
};
|
|
2283
2327
|
|
|
2284
2328
|
|
|
2285
2329
|
/**
|
|
2286
2330
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2287
2331
|
* given reader into the given message object.
|
|
2288
|
-
* @param {!proto.
|
|
2332
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} msg The message object to deserialize into.
|
|
2289
2333
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2290
|
-
* @return {!proto.
|
|
2334
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteReply}
|
|
2291
2335
|
*/
|
|
2292
|
-
proto.
|
|
2336
|
+
proto.Drumtracker.DrumProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
2293
2337
|
while (reader.nextField()) {
|
|
2294
2338
|
if (reader.isEndGroup()) {
|
|
2295
2339
|
break;
|
|
@@ -2309,9 +2353,9 @@ proto.Drumtracking.DrumProto.DeleteReply.deserializeBinaryFromReader = function(
|
|
|
2309
2353
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2310
2354
|
* @return {!Uint8Array}
|
|
2311
2355
|
*/
|
|
2312
|
-
proto.
|
|
2356
|
+
proto.Drumtracker.DrumProto.DeleteReply.prototype.serializeBinary = function() {
|
|
2313
2357
|
var writer = new jspb.BinaryWriter();
|
|
2314
|
-
proto.
|
|
2358
|
+
proto.Drumtracker.DrumProto.DeleteReply.serializeBinaryToWriter(this, writer);
|
|
2315
2359
|
return writer.getResultBuffer();
|
|
2316
2360
|
};
|
|
2317
2361
|
|
|
@@ -2319,11 +2363,11 @@ proto.Drumtracking.DrumProto.DeleteReply.prototype.serializeBinary = function()
|
|
|
2319
2363
|
/**
|
|
2320
2364
|
* Serializes the given message to binary data (in protobuf wire
|
|
2321
2365
|
* format), writing to the given BinaryWriter.
|
|
2322
|
-
* @param {!proto.
|
|
2366
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} message
|
|
2323
2367
|
* @param {!jspb.BinaryWriter} writer
|
|
2324
2368
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2325
2369
|
*/
|
|
2326
|
-
proto.
|
|
2370
|
+
proto.Drumtracker.DrumProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
|
|
2327
2371
|
var f = undefined;
|
|
2328
2372
|
};
|
|
2329
2373
|
|
|
@@ -2344,8 +2388,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2344
2388
|
* http://goto/soy-param-migration
|
|
2345
2389
|
* @return {!Object}
|
|
2346
2390
|
*/
|
|
2347
|
-
proto.
|
|
2348
|
-
return proto.
|
|
2391
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2392
|
+
return proto.Drumtracker.DrumProto.SearchRequest.toObject(opt_includeInstance, this);
|
|
2349
2393
|
};
|
|
2350
2394
|
|
|
2351
2395
|
|
|
@@ -2354,13 +2398,13 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.toObject = function(opt_inc
|
|
|
2354
2398
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2355
2399
|
* the JSPB instance for transitional soy proto support:
|
|
2356
2400
|
* http://goto/soy-param-migration
|
|
2357
|
-
* @param {!proto.
|
|
2401
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} msg The msg instance to transform.
|
|
2358
2402
|
* @return {!Object}
|
|
2359
2403
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2360
2404
|
*/
|
|
2361
|
-
proto.
|
|
2405
|
+
proto.Drumtracker.DrumProto.SearchRequest.toObject = function(includeInstance, msg) {
|
|
2362
2406
|
var f, obj = {
|
|
2363
|
-
filters: (f = msg.getFilters()) && proto.
|
|
2407
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.DrumProto.DrumFilters.toObject(includeInstance, f),
|
|
2364
2408
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2365
2409
|
count: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2366
2410
|
};
|
|
@@ -2376,23 +2420,23 @@ proto.Drumtracking.DrumProto.SearchRequest.toObject = function(includeInstance,
|
|
|
2376
2420
|
/**
|
|
2377
2421
|
* Deserializes binary data (in protobuf wire format).
|
|
2378
2422
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2379
|
-
* @return {!proto.
|
|
2423
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest}
|
|
2380
2424
|
*/
|
|
2381
|
-
proto.
|
|
2425
|
+
proto.Drumtracker.DrumProto.SearchRequest.deserializeBinary = function(bytes) {
|
|
2382
2426
|
var reader = new jspb.BinaryReader(bytes);
|
|
2383
|
-
var msg = new proto.
|
|
2384
|
-
return proto.
|
|
2427
|
+
var msg = new proto.Drumtracker.DrumProto.SearchRequest;
|
|
2428
|
+
return proto.Drumtracker.DrumProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
2385
2429
|
};
|
|
2386
2430
|
|
|
2387
2431
|
|
|
2388
2432
|
/**
|
|
2389
2433
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2390
2434
|
* given reader into the given message object.
|
|
2391
|
-
* @param {!proto.
|
|
2435
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} msg The message object to deserialize into.
|
|
2392
2436
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2393
|
-
* @return {!proto.
|
|
2437
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest}
|
|
2394
2438
|
*/
|
|
2395
|
-
proto.
|
|
2439
|
+
proto.Drumtracker.DrumProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2396
2440
|
while (reader.nextField()) {
|
|
2397
2441
|
if (reader.isEndGroup()) {
|
|
2398
2442
|
break;
|
|
@@ -2400,8 +2444,8 @@ proto.Drumtracking.DrumProto.SearchRequest.deserializeBinaryFromReader = functio
|
|
|
2400
2444
|
var field = reader.getFieldNumber();
|
|
2401
2445
|
switch (field) {
|
|
2402
2446
|
case 1:
|
|
2403
|
-
var value = new proto.
|
|
2404
|
-
reader.readMessage(value,proto.
|
|
2447
|
+
var value = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
2448
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader);
|
|
2405
2449
|
msg.setFilters(value);
|
|
2406
2450
|
break;
|
|
2407
2451
|
case 2:
|
|
@@ -2425,9 +2469,9 @@ proto.Drumtracking.DrumProto.SearchRequest.deserializeBinaryFromReader = functio
|
|
|
2425
2469
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2426
2470
|
* @return {!Uint8Array}
|
|
2427
2471
|
*/
|
|
2428
|
-
proto.
|
|
2472
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.serializeBinary = function() {
|
|
2429
2473
|
var writer = new jspb.BinaryWriter();
|
|
2430
|
-
proto.
|
|
2474
|
+
proto.Drumtracker.DrumProto.SearchRequest.serializeBinaryToWriter(this, writer);
|
|
2431
2475
|
return writer.getResultBuffer();
|
|
2432
2476
|
};
|
|
2433
2477
|
|
|
@@ -2435,18 +2479,18 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.serializeBinary = function(
|
|
|
2435
2479
|
/**
|
|
2436
2480
|
* Serializes the given message to binary data (in protobuf wire
|
|
2437
2481
|
* format), writing to the given BinaryWriter.
|
|
2438
|
-
* @param {!proto.
|
|
2482
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} message
|
|
2439
2483
|
* @param {!jspb.BinaryWriter} writer
|
|
2440
2484
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2441
2485
|
*/
|
|
2442
|
-
proto.
|
|
2486
|
+
proto.Drumtracker.DrumProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2443
2487
|
var f = undefined;
|
|
2444
2488
|
f = message.getFilters();
|
|
2445
2489
|
if (f != null) {
|
|
2446
2490
|
writer.writeMessage(
|
|
2447
2491
|
1,
|
|
2448
2492
|
f,
|
|
2449
|
-
proto.
|
|
2493
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter
|
|
2450
2494
|
);
|
|
2451
2495
|
}
|
|
2452
2496
|
f = message.getPage();
|
|
@@ -2468,28 +2512,28 @@ proto.Drumtracking.DrumProto.SearchRequest.serializeBinaryToWriter = function(me
|
|
|
2468
2512
|
|
|
2469
2513
|
/**
|
|
2470
2514
|
* optional DrumFilters filters = 1;
|
|
2471
|
-
* @return {?proto.
|
|
2515
|
+
* @return {?proto.Drumtracker.DrumProto.DrumFilters}
|
|
2472
2516
|
*/
|
|
2473
|
-
proto.
|
|
2474
|
-
return /** @type{?proto.
|
|
2475
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2517
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getFilters = function() {
|
|
2518
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumFilters} */ (
|
|
2519
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumFilters, 1));
|
|
2476
2520
|
};
|
|
2477
2521
|
|
|
2478
2522
|
|
|
2479
2523
|
/**
|
|
2480
|
-
* @param {?proto.
|
|
2481
|
-
* @return {!proto.
|
|
2524
|
+
* @param {?proto.Drumtracker.DrumProto.DrumFilters|undefined} value
|
|
2525
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2482
2526
|
*/
|
|
2483
|
-
proto.
|
|
2527
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setFilters = function(value) {
|
|
2484
2528
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2485
2529
|
};
|
|
2486
2530
|
|
|
2487
2531
|
|
|
2488
2532
|
/**
|
|
2489
2533
|
* Clears the message field making it undefined.
|
|
2490
|
-
* @return {!proto.
|
|
2534
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2491
2535
|
*/
|
|
2492
|
-
proto.
|
|
2536
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.clearFilters = function() {
|
|
2493
2537
|
return this.setFilters(undefined);
|
|
2494
2538
|
};
|
|
2495
2539
|
|
|
@@ -2498,7 +2542,7 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.clearFilters = function() {
|
|
|
2498
2542
|
* Returns whether this field is set.
|
|
2499
2543
|
* @return {boolean}
|
|
2500
2544
|
*/
|
|
2501
|
-
proto.
|
|
2545
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.hasFilters = function() {
|
|
2502
2546
|
return jspb.Message.getField(this, 1) != null;
|
|
2503
2547
|
};
|
|
2504
2548
|
|
|
@@ -2507,16 +2551,16 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.hasFilters = function() {
|
|
|
2507
2551
|
* optional int32 page = 2;
|
|
2508
2552
|
* @return {number}
|
|
2509
2553
|
*/
|
|
2510
|
-
proto.
|
|
2554
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getPage = function() {
|
|
2511
2555
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2512
2556
|
};
|
|
2513
2557
|
|
|
2514
2558
|
|
|
2515
2559
|
/**
|
|
2516
2560
|
* @param {number} value
|
|
2517
|
-
* @return {!proto.
|
|
2561
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2518
2562
|
*/
|
|
2519
|
-
proto.
|
|
2563
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setPage = function(value) {
|
|
2520
2564
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2521
2565
|
};
|
|
2522
2566
|
|
|
@@ -2525,16 +2569,16 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.setPage = function(value) {
|
|
|
2525
2569
|
* optional int32 count = 3;
|
|
2526
2570
|
* @return {number}
|
|
2527
2571
|
*/
|
|
2528
|
-
proto.
|
|
2572
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getCount = function() {
|
|
2529
2573
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2530
2574
|
};
|
|
2531
2575
|
|
|
2532
2576
|
|
|
2533
2577
|
/**
|
|
2534
2578
|
* @param {number} value
|
|
2535
|
-
* @return {!proto.
|
|
2579
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2536
2580
|
*/
|
|
2537
|
-
proto.
|
|
2581
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setCount = function(value) {
|
|
2538
2582
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
2539
2583
|
};
|
|
2540
2584
|
|
|
@@ -2545,7 +2589,7 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.setCount = function(value)
|
|
|
2545
2589
|
* @private {!Array<number>}
|
|
2546
2590
|
* @const
|
|
2547
2591
|
*/
|
|
2548
|
-
proto.
|
|
2592
|
+
proto.Drumtracker.DrumProto.SearchReply.repeatedFields_ = [1];
|
|
2549
2593
|
|
|
2550
2594
|
|
|
2551
2595
|
|
|
@@ -2562,8 +2606,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2562
2606
|
* http://goto/soy-param-migration
|
|
2563
2607
|
* @return {!Object}
|
|
2564
2608
|
*/
|
|
2565
|
-
proto.
|
|
2566
|
-
return proto.
|
|
2609
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
|
|
2610
|
+
return proto.Drumtracker.DrumProto.SearchReply.toObject(opt_includeInstance, this);
|
|
2567
2611
|
};
|
|
2568
2612
|
|
|
2569
2613
|
|
|
@@ -2572,14 +2616,14 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.toObject = function(opt_inclu
|
|
|
2572
2616
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2573
2617
|
* the JSPB instance for transitional soy proto support:
|
|
2574
2618
|
* http://goto/soy-param-migration
|
|
2575
|
-
* @param {!proto.
|
|
2619
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} msg The msg instance to transform.
|
|
2576
2620
|
* @return {!Object}
|
|
2577
2621
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2578
2622
|
*/
|
|
2579
|
-
proto.
|
|
2623
|
+
proto.Drumtracker.DrumProto.SearchReply.toObject = function(includeInstance, msg) {
|
|
2580
2624
|
var f, obj = {
|
|
2581
2625
|
drumsList: jspb.Message.toObjectList(msg.getDrumsList(),
|
|
2582
|
-
proto.
|
|
2626
|
+
proto.Drumtracker.DrumProto.toObject, includeInstance),
|
|
2583
2627
|
pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
|
|
2584
2628
|
};
|
|
2585
2629
|
|
|
@@ -2594,23 +2638,23 @@ proto.Drumtracking.DrumProto.SearchReply.toObject = function(includeInstance, ms
|
|
|
2594
2638
|
/**
|
|
2595
2639
|
* Deserializes binary data (in protobuf wire format).
|
|
2596
2640
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2597
|
-
* @return {!proto.
|
|
2641
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply}
|
|
2598
2642
|
*/
|
|
2599
|
-
proto.
|
|
2643
|
+
proto.Drumtracker.DrumProto.SearchReply.deserializeBinary = function(bytes) {
|
|
2600
2644
|
var reader = new jspb.BinaryReader(bytes);
|
|
2601
|
-
var msg = new proto.
|
|
2602
|
-
return proto.
|
|
2645
|
+
var msg = new proto.Drumtracker.DrumProto.SearchReply;
|
|
2646
|
+
return proto.Drumtracker.DrumProto.SearchReply.deserializeBinaryFromReader(msg, reader);
|
|
2603
2647
|
};
|
|
2604
2648
|
|
|
2605
2649
|
|
|
2606
2650
|
/**
|
|
2607
2651
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2608
2652
|
* given reader into the given message object.
|
|
2609
|
-
* @param {!proto.
|
|
2653
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} msg The message object to deserialize into.
|
|
2610
2654
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2611
|
-
* @return {!proto.
|
|
2655
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply}
|
|
2612
2656
|
*/
|
|
2613
|
-
proto.
|
|
2657
|
+
proto.Drumtracker.DrumProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
2614
2658
|
while (reader.nextField()) {
|
|
2615
2659
|
if (reader.isEndGroup()) {
|
|
2616
2660
|
break;
|
|
@@ -2618,8 +2662,8 @@ proto.Drumtracking.DrumProto.SearchReply.deserializeBinaryFromReader = function(
|
|
|
2618
2662
|
var field = reader.getFieldNumber();
|
|
2619
2663
|
switch (field) {
|
|
2620
2664
|
case 1:
|
|
2621
|
-
var value = new proto.
|
|
2622
|
-
reader.readMessage(value,proto.
|
|
2665
|
+
var value = new proto.Drumtracker.DrumProto;
|
|
2666
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.deserializeBinaryFromReader);
|
|
2623
2667
|
msg.addDrums(value);
|
|
2624
2668
|
break;
|
|
2625
2669
|
case 2:
|
|
@@ -2640,9 +2684,9 @@ proto.Drumtracking.DrumProto.SearchReply.deserializeBinaryFromReader = function(
|
|
|
2640
2684
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2641
2685
|
* @return {!Uint8Array}
|
|
2642
2686
|
*/
|
|
2643
|
-
proto.
|
|
2687
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.serializeBinary = function() {
|
|
2644
2688
|
var writer = new jspb.BinaryWriter();
|
|
2645
|
-
proto.
|
|
2689
|
+
proto.Drumtracker.DrumProto.SearchReply.serializeBinaryToWriter(this, writer);
|
|
2646
2690
|
return writer.getResultBuffer();
|
|
2647
2691
|
};
|
|
2648
2692
|
|
|
@@ -2650,18 +2694,18 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.serializeBinary = function()
|
|
|
2650
2694
|
/**
|
|
2651
2695
|
* Serializes the given message to binary data (in protobuf wire
|
|
2652
2696
|
* format), writing to the given BinaryWriter.
|
|
2653
|
-
* @param {!proto.
|
|
2697
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} message
|
|
2654
2698
|
* @param {!jspb.BinaryWriter} writer
|
|
2655
2699
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2656
2700
|
*/
|
|
2657
|
-
proto.
|
|
2701
|
+
proto.Drumtracker.DrumProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
|
|
2658
2702
|
var f = undefined;
|
|
2659
2703
|
f = message.getDrumsList();
|
|
2660
2704
|
if (f.length > 0) {
|
|
2661
2705
|
writer.writeRepeatedMessage(
|
|
2662
2706
|
1,
|
|
2663
2707
|
f,
|
|
2664
|
-
proto.
|
|
2708
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter
|
|
2665
2709
|
);
|
|
2666
2710
|
}
|
|
2667
2711
|
f = message.getPagination();
|
|
@@ -2677,38 +2721,38 @@ proto.Drumtracking.DrumProto.SearchReply.serializeBinaryToWriter = function(mess
|
|
|
2677
2721
|
|
|
2678
2722
|
/**
|
|
2679
2723
|
* repeated DrumProto drums = 1;
|
|
2680
|
-
* @return {!Array<!proto.
|
|
2724
|
+
* @return {!Array<!proto.Drumtracker.DrumProto>}
|
|
2681
2725
|
*/
|
|
2682
|
-
proto.
|
|
2683
|
-
return /** @type{!Array<!proto.
|
|
2684
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
2726
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.getDrumsList = function() {
|
|
2727
|
+
return /** @type{!Array<!proto.Drumtracker.DrumProto>} */ (
|
|
2728
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Drumtracker.DrumProto, 1));
|
|
2685
2729
|
};
|
|
2686
2730
|
|
|
2687
2731
|
|
|
2688
2732
|
/**
|
|
2689
|
-
* @param {!Array<!proto.
|
|
2690
|
-
* @return {!proto.
|
|
2733
|
+
* @param {!Array<!proto.Drumtracker.DrumProto>} value
|
|
2734
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2691
2735
|
*/
|
|
2692
|
-
proto.
|
|
2736
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.setDrumsList = function(value) {
|
|
2693
2737
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2694
2738
|
};
|
|
2695
2739
|
|
|
2696
2740
|
|
|
2697
2741
|
/**
|
|
2698
|
-
* @param {!proto.
|
|
2742
|
+
* @param {!proto.Drumtracker.DrumProto=} opt_value
|
|
2699
2743
|
* @param {number=} opt_index
|
|
2700
|
-
* @return {!proto.
|
|
2744
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
2701
2745
|
*/
|
|
2702
|
-
proto.
|
|
2703
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
2746
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.addDrums = function(opt_value, opt_index) {
|
|
2747
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Drumtracker.DrumProto, opt_index);
|
|
2704
2748
|
};
|
|
2705
2749
|
|
|
2706
2750
|
|
|
2707
2751
|
/**
|
|
2708
2752
|
* Clears the list making it empty but non-null.
|
|
2709
|
-
* @return {!proto.
|
|
2753
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2710
2754
|
*/
|
|
2711
|
-
proto.
|
|
2755
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.clearDrumsList = function() {
|
|
2712
2756
|
return this.setDrumsList([]);
|
|
2713
2757
|
};
|
|
2714
2758
|
|
|
@@ -2717,7 +2761,7 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.clearDrumsList = function() {
|
|
|
2717
2761
|
* optional Platform.PaginationProto pagination = 2;
|
|
2718
2762
|
* @return {?proto.Platform.PaginationProto}
|
|
2719
2763
|
*/
|
|
2720
|
-
proto.
|
|
2764
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.getPagination = function() {
|
|
2721
2765
|
return /** @type{?proto.Platform.PaginationProto} */ (
|
|
2722
2766
|
jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
|
|
2723
2767
|
};
|
|
@@ -2725,18 +2769,18 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.getPagination = function() {
|
|
|
2725
2769
|
|
|
2726
2770
|
/**
|
|
2727
2771
|
* @param {?proto.Platform.PaginationProto|undefined} value
|
|
2728
|
-
* @return {!proto.
|
|
2772
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2729
2773
|
*/
|
|
2730
|
-
proto.
|
|
2774
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.setPagination = function(value) {
|
|
2731
2775
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2732
2776
|
};
|
|
2733
2777
|
|
|
2734
2778
|
|
|
2735
2779
|
/**
|
|
2736
2780
|
* Clears the message field making it undefined.
|
|
2737
|
-
* @return {!proto.
|
|
2781
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2738
2782
|
*/
|
|
2739
|
-
proto.
|
|
2783
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.clearPagination = function() {
|
|
2740
2784
|
return this.setPagination(undefined);
|
|
2741
2785
|
};
|
|
2742
2786
|
|
|
@@ -2745,7 +2789,7 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.clearPagination = function()
|
|
|
2745
2789
|
* Returns whether this field is set.
|
|
2746
2790
|
* @return {boolean}
|
|
2747
2791
|
*/
|
|
2748
|
-
proto.
|
|
2792
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.hasPagination = function() {
|
|
2749
2793
|
return jspb.Message.getField(this, 2) != null;
|
|
2750
2794
|
};
|
|
2751
2795
|
|
|
@@ -2766,8 +2810,289 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2766
2810
|
* http://goto/soy-param-migration
|
|
2767
2811
|
* @return {!Object}
|
|
2768
2812
|
*/
|
|
2769
|
-
proto.
|
|
2770
|
-
return proto.
|
|
2813
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2814
|
+
return proto.Drumtracker.DrumProto.CountRequest.toObject(opt_includeInstance, this);
|
|
2815
|
+
};
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* Static version of the {@see toObject} method.
|
|
2820
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2821
|
+
* the JSPB instance for transitional soy proto support:
|
|
2822
|
+
* http://goto/soy-param-migration
|
|
2823
|
+
* @param {!proto.Drumtracker.DrumProto.CountRequest} msg The msg instance to transform.
|
|
2824
|
+
* @return {!Object}
|
|
2825
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2826
|
+
*/
|
|
2827
|
+
proto.Drumtracker.DrumProto.CountRequest.toObject = function(includeInstance, msg) {
|
|
2828
|
+
var f, obj = {
|
|
2829
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.DrumProto.DrumFilters.toObject(includeInstance, f)
|
|
2830
|
+
};
|
|
2831
|
+
|
|
2832
|
+
if (includeInstance) {
|
|
2833
|
+
obj.$jspbMessageInstance = msg;
|
|
2834
|
+
}
|
|
2835
|
+
return obj;
|
|
2836
|
+
};
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
/**
|
|
2841
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2842
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2843
|
+
* @return {!proto.Drumtracker.DrumProto.CountRequest}
|
|
2844
|
+
*/
|
|
2845
|
+
proto.Drumtracker.DrumProto.CountRequest.deserializeBinary = function(bytes) {
|
|
2846
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2847
|
+
var msg = new proto.Drumtracker.DrumProto.CountRequest;
|
|
2848
|
+
return proto.Drumtracker.DrumProto.CountRequest.deserializeBinaryFromReader(msg, reader);
|
|
2849
|
+
};
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
/**
|
|
2853
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2854
|
+
* given reader into the given message object.
|
|
2855
|
+
* @param {!proto.Drumtracker.DrumProto.CountRequest} msg The message object to deserialize into.
|
|
2856
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2857
|
+
* @return {!proto.Drumtracker.DrumProto.CountRequest}
|
|
2858
|
+
*/
|
|
2859
|
+
proto.Drumtracker.DrumProto.CountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2860
|
+
while (reader.nextField()) {
|
|
2861
|
+
if (reader.isEndGroup()) {
|
|
2862
|
+
break;
|
|
2863
|
+
}
|
|
2864
|
+
var field = reader.getFieldNumber();
|
|
2865
|
+
switch (field) {
|
|
2866
|
+
case 1:
|
|
2867
|
+
var value = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
2868
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader);
|
|
2869
|
+
msg.setFilters(value);
|
|
2870
|
+
break;
|
|
2871
|
+
default:
|
|
2872
|
+
reader.skipField();
|
|
2873
|
+
break;
|
|
2874
|
+
}
|
|
2875
|
+
}
|
|
2876
|
+
return msg;
|
|
2877
|
+
};
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
/**
|
|
2881
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2882
|
+
* @return {!Uint8Array}
|
|
2883
|
+
*/
|
|
2884
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.serializeBinary = function() {
|
|
2885
|
+
var writer = new jspb.BinaryWriter();
|
|
2886
|
+
proto.Drumtracker.DrumProto.CountRequest.serializeBinaryToWriter(this, writer);
|
|
2887
|
+
return writer.getResultBuffer();
|
|
2888
|
+
};
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
/**
|
|
2892
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2893
|
+
* format), writing to the given BinaryWriter.
|
|
2894
|
+
* @param {!proto.Drumtracker.DrumProto.CountRequest} message
|
|
2895
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2896
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2897
|
+
*/
|
|
2898
|
+
proto.Drumtracker.DrumProto.CountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2899
|
+
var f = undefined;
|
|
2900
|
+
f = message.getFilters();
|
|
2901
|
+
if (f != null) {
|
|
2902
|
+
writer.writeMessage(
|
|
2903
|
+
1,
|
|
2904
|
+
f,
|
|
2905
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter
|
|
2906
|
+
);
|
|
2907
|
+
}
|
|
2908
|
+
};
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
/**
|
|
2912
|
+
* optional DrumFilters filters = 1;
|
|
2913
|
+
* @return {?proto.Drumtracker.DrumProto.DrumFilters}
|
|
2914
|
+
*/
|
|
2915
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.getFilters = function() {
|
|
2916
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumFilters} */ (
|
|
2917
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumFilters, 1));
|
|
2918
|
+
};
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* @param {?proto.Drumtracker.DrumProto.DrumFilters|undefined} value
|
|
2923
|
+
* @return {!proto.Drumtracker.DrumProto.CountRequest} returns this
|
|
2924
|
+
*/
|
|
2925
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.setFilters = function(value) {
|
|
2926
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2927
|
+
};
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Clears the message field making it undefined.
|
|
2932
|
+
* @return {!proto.Drumtracker.DrumProto.CountRequest} returns this
|
|
2933
|
+
*/
|
|
2934
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.clearFilters = function() {
|
|
2935
|
+
return this.setFilters(undefined);
|
|
2936
|
+
};
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* Returns whether this field is set.
|
|
2941
|
+
* @return {boolean}
|
|
2942
|
+
*/
|
|
2943
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.hasFilters = function() {
|
|
2944
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2945
|
+
};
|
|
2946
|
+
|
|
2947
|
+
|
|
2948
|
+
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2952
|
+
/**
|
|
2953
|
+
* Creates an object representation of this proto.
|
|
2954
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2955
|
+
* Optional fields that are not set will be set to undefined.
|
|
2956
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2957
|
+
* For the list of reserved names please see:
|
|
2958
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2959
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2960
|
+
* JSPB instance for transitional soy proto support:
|
|
2961
|
+
* http://goto/soy-param-migration
|
|
2962
|
+
* @return {!Object}
|
|
2963
|
+
*/
|
|
2964
|
+
proto.Drumtracker.DrumProto.CountReply.prototype.toObject = function(opt_includeInstance) {
|
|
2965
|
+
return proto.Drumtracker.DrumProto.CountReply.toObject(opt_includeInstance, this);
|
|
2966
|
+
};
|
|
2967
|
+
|
|
2968
|
+
|
|
2969
|
+
/**
|
|
2970
|
+
* Static version of the {@see toObject} method.
|
|
2971
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2972
|
+
* the JSPB instance for transitional soy proto support:
|
|
2973
|
+
* http://goto/soy-param-migration
|
|
2974
|
+
* @param {!proto.Drumtracker.DrumProto.CountReply} msg The msg instance to transform.
|
|
2975
|
+
* @return {!Object}
|
|
2976
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2977
|
+
*/
|
|
2978
|
+
proto.Drumtracker.DrumProto.CountReply.toObject = function(includeInstance, msg) {
|
|
2979
|
+
var f, obj = {
|
|
2980
|
+
total: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
2981
|
+
};
|
|
2982
|
+
|
|
2983
|
+
if (includeInstance) {
|
|
2984
|
+
obj.$jspbMessageInstance = msg;
|
|
2985
|
+
}
|
|
2986
|
+
return obj;
|
|
2987
|
+
};
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2993
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2994
|
+
* @return {!proto.Drumtracker.DrumProto.CountReply}
|
|
2995
|
+
*/
|
|
2996
|
+
proto.Drumtracker.DrumProto.CountReply.deserializeBinary = function(bytes) {
|
|
2997
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2998
|
+
var msg = new proto.Drumtracker.DrumProto.CountReply;
|
|
2999
|
+
return proto.Drumtracker.DrumProto.CountReply.deserializeBinaryFromReader(msg, reader);
|
|
3000
|
+
};
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3005
|
+
* given reader into the given message object.
|
|
3006
|
+
* @param {!proto.Drumtracker.DrumProto.CountReply} msg The message object to deserialize into.
|
|
3007
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3008
|
+
* @return {!proto.Drumtracker.DrumProto.CountReply}
|
|
3009
|
+
*/
|
|
3010
|
+
proto.Drumtracker.DrumProto.CountReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
3011
|
+
while (reader.nextField()) {
|
|
3012
|
+
if (reader.isEndGroup()) {
|
|
3013
|
+
break;
|
|
3014
|
+
}
|
|
3015
|
+
var field = reader.getFieldNumber();
|
|
3016
|
+
switch (field) {
|
|
3017
|
+
case 1:
|
|
3018
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3019
|
+
msg.setTotal(value);
|
|
3020
|
+
break;
|
|
3021
|
+
default:
|
|
3022
|
+
reader.skipField();
|
|
3023
|
+
break;
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
return msg;
|
|
3027
|
+
};
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
/**
|
|
3031
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3032
|
+
* @return {!Uint8Array}
|
|
3033
|
+
*/
|
|
3034
|
+
proto.Drumtracker.DrumProto.CountReply.prototype.serializeBinary = function() {
|
|
3035
|
+
var writer = new jspb.BinaryWriter();
|
|
3036
|
+
proto.Drumtracker.DrumProto.CountReply.serializeBinaryToWriter(this, writer);
|
|
3037
|
+
return writer.getResultBuffer();
|
|
3038
|
+
};
|
|
3039
|
+
|
|
3040
|
+
|
|
3041
|
+
/**
|
|
3042
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3043
|
+
* format), writing to the given BinaryWriter.
|
|
3044
|
+
* @param {!proto.Drumtracker.DrumProto.CountReply} message
|
|
3045
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3046
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3047
|
+
*/
|
|
3048
|
+
proto.Drumtracker.DrumProto.CountReply.serializeBinaryToWriter = function(message, writer) {
|
|
3049
|
+
var f = undefined;
|
|
3050
|
+
f = message.getTotal();
|
|
3051
|
+
if (f !== 0) {
|
|
3052
|
+
writer.writeInt32(
|
|
3053
|
+
1,
|
|
3054
|
+
f
|
|
3055
|
+
);
|
|
3056
|
+
}
|
|
3057
|
+
};
|
|
3058
|
+
|
|
3059
|
+
|
|
3060
|
+
/**
|
|
3061
|
+
* optional int32 total = 1;
|
|
3062
|
+
* @return {number}
|
|
3063
|
+
*/
|
|
3064
|
+
proto.Drumtracker.DrumProto.CountReply.prototype.getTotal = function() {
|
|
3065
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3066
|
+
};
|
|
3067
|
+
|
|
3068
|
+
|
|
3069
|
+
/**
|
|
3070
|
+
* @param {number} value
|
|
3071
|
+
* @return {!proto.Drumtracker.DrumProto.CountReply} returns this
|
|
3072
|
+
*/
|
|
3073
|
+
proto.Drumtracker.DrumProto.CountReply.prototype.setTotal = function(value) {
|
|
3074
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3075
|
+
};
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
|
|
3080
|
+
|
|
3081
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3082
|
+
/**
|
|
3083
|
+
* Creates an object representation of this proto.
|
|
3084
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3085
|
+
* Optional fields that are not set will be set to undefined.
|
|
3086
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3087
|
+
* For the list of reserved names please see:
|
|
3088
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3089
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3090
|
+
* JSPB instance for transitional soy proto support:
|
|
3091
|
+
* http://goto/soy-param-migration
|
|
3092
|
+
* @return {!Object}
|
|
3093
|
+
*/
|
|
3094
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3095
|
+
return proto.Drumtracker.DrumProto.LocationSearchRequest.toObject(opt_includeInstance, this);
|
|
2771
3096
|
};
|
|
2772
3097
|
|
|
2773
3098
|
|
|
@@ -2776,13 +3101,13 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.toObject = function
|
|
|
2776
3101
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2777
3102
|
* the JSPB instance for transitional soy proto support:
|
|
2778
3103
|
* http://goto/soy-param-migration
|
|
2779
|
-
* @param {!proto.
|
|
3104
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} msg The msg instance to transform.
|
|
2780
3105
|
* @return {!Object}
|
|
2781
3106
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2782
3107
|
*/
|
|
2783
|
-
proto.
|
|
3108
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.toObject = function(includeInstance, msg) {
|
|
2784
3109
|
var f, obj = {
|
|
2785
|
-
filters: (f = msg.getFilters()) && proto.
|
|
3110
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.DrumProto.DrumFilters.toObject(includeInstance, f),
|
|
2786
3111
|
latmax: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
2787
3112
|
latmin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
2788
3113
|
lngmax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
@@ -2800,23 +3125,23 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.toObject = function(includeIn
|
|
|
2800
3125
|
/**
|
|
2801
3126
|
* Deserializes binary data (in protobuf wire format).
|
|
2802
3127
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2803
|
-
* @return {!proto.
|
|
3128
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest}
|
|
2804
3129
|
*/
|
|
2805
|
-
proto.
|
|
3130
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinary = function(bytes) {
|
|
2806
3131
|
var reader = new jspb.BinaryReader(bytes);
|
|
2807
|
-
var msg = new proto.
|
|
2808
|
-
return proto.
|
|
3132
|
+
var msg = new proto.Drumtracker.DrumProto.LocationSearchRequest;
|
|
3133
|
+
return proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
2809
3134
|
};
|
|
2810
3135
|
|
|
2811
3136
|
|
|
2812
3137
|
/**
|
|
2813
3138
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2814
3139
|
* given reader into the given message object.
|
|
2815
|
-
* @param {!proto.
|
|
3140
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} msg The message object to deserialize into.
|
|
2816
3141
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2817
|
-
* @return {!proto.
|
|
3142
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest}
|
|
2818
3143
|
*/
|
|
2819
|
-
proto.
|
|
3144
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2820
3145
|
while (reader.nextField()) {
|
|
2821
3146
|
if (reader.isEndGroup()) {
|
|
2822
3147
|
break;
|
|
@@ -2824,8 +3149,8 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.deserializeBinaryFromReader =
|
|
|
2824
3149
|
var field = reader.getFieldNumber();
|
|
2825
3150
|
switch (field) {
|
|
2826
3151
|
case 1:
|
|
2827
|
-
var value = new proto.
|
|
2828
|
-
reader.readMessage(value,proto.
|
|
3152
|
+
var value = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
3153
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader);
|
|
2829
3154
|
msg.setFilters(value);
|
|
2830
3155
|
break;
|
|
2831
3156
|
case 2:
|
|
@@ -2857,9 +3182,9 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.deserializeBinaryFromReader =
|
|
|
2857
3182
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2858
3183
|
* @return {!Uint8Array}
|
|
2859
3184
|
*/
|
|
2860
|
-
proto.
|
|
3185
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.serializeBinary = function() {
|
|
2861
3186
|
var writer = new jspb.BinaryWriter();
|
|
2862
|
-
proto.
|
|
3187
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.serializeBinaryToWriter(this, writer);
|
|
2863
3188
|
return writer.getResultBuffer();
|
|
2864
3189
|
};
|
|
2865
3190
|
|
|
@@ -2867,18 +3192,18 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.serializeBinary = f
|
|
|
2867
3192
|
/**
|
|
2868
3193
|
* Serializes the given message to binary data (in protobuf wire
|
|
2869
3194
|
* format), writing to the given BinaryWriter.
|
|
2870
|
-
* @param {!proto.
|
|
3195
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} message
|
|
2871
3196
|
* @param {!jspb.BinaryWriter} writer
|
|
2872
3197
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2873
3198
|
*/
|
|
2874
|
-
proto.
|
|
3199
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2875
3200
|
var f = undefined;
|
|
2876
3201
|
f = message.getFilters();
|
|
2877
3202
|
if (f != null) {
|
|
2878
3203
|
writer.writeMessage(
|
|
2879
3204
|
1,
|
|
2880
3205
|
f,
|
|
2881
|
-
proto.
|
|
3206
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter
|
|
2882
3207
|
);
|
|
2883
3208
|
}
|
|
2884
3209
|
f = message.getLatmax();
|
|
@@ -2914,28 +3239,28 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.serializeBinaryToWriter = fun
|
|
|
2914
3239
|
|
|
2915
3240
|
/**
|
|
2916
3241
|
* optional DrumFilters filters = 1;
|
|
2917
|
-
* @return {?proto.
|
|
3242
|
+
* @return {?proto.Drumtracker.DrumProto.DrumFilters}
|
|
2918
3243
|
*/
|
|
2919
|
-
proto.
|
|
2920
|
-
return /** @type{?proto.
|
|
2921
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3244
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getFilters = function() {
|
|
3245
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumFilters} */ (
|
|
3246
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumFilters, 1));
|
|
2922
3247
|
};
|
|
2923
3248
|
|
|
2924
3249
|
|
|
2925
3250
|
/**
|
|
2926
|
-
* @param {?proto.
|
|
2927
|
-
* @return {!proto.
|
|
3251
|
+
* @param {?proto.Drumtracker.DrumProto.DrumFilters|undefined} value
|
|
3252
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2928
3253
|
*/
|
|
2929
|
-
proto.
|
|
3254
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setFilters = function(value) {
|
|
2930
3255
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2931
3256
|
};
|
|
2932
3257
|
|
|
2933
3258
|
|
|
2934
3259
|
/**
|
|
2935
3260
|
* Clears the message field making it undefined.
|
|
2936
|
-
* @return {!proto.
|
|
3261
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2937
3262
|
*/
|
|
2938
|
-
proto.
|
|
3263
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.clearFilters = function() {
|
|
2939
3264
|
return this.setFilters(undefined);
|
|
2940
3265
|
};
|
|
2941
3266
|
|
|
@@ -2944,7 +3269,7 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.clearFilters = func
|
|
|
2944
3269
|
* Returns whether this field is set.
|
|
2945
3270
|
* @return {boolean}
|
|
2946
3271
|
*/
|
|
2947
|
-
proto.
|
|
3272
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.hasFilters = function() {
|
|
2948
3273
|
return jspb.Message.getField(this, 1) != null;
|
|
2949
3274
|
};
|
|
2950
3275
|
|
|
@@ -2953,16 +3278,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.hasFilters = functi
|
|
|
2953
3278
|
* optional double latMax = 2;
|
|
2954
3279
|
* @return {number}
|
|
2955
3280
|
*/
|
|
2956
|
-
proto.
|
|
3281
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLatmax = function() {
|
|
2957
3282
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
2958
3283
|
};
|
|
2959
3284
|
|
|
2960
3285
|
|
|
2961
3286
|
/**
|
|
2962
3287
|
* @param {number} value
|
|
2963
|
-
* @return {!proto.
|
|
3288
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2964
3289
|
*/
|
|
2965
|
-
proto.
|
|
3290
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLatmax = function(value) {
|
|
2966
3291
|
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
2967
3292
|
};
|
|
2968
3293
|
|
|
@@ -2971,16 +3296,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLatmax = functio
|
|
|
2971
3296
|
* optional double latMin = 3;
|
|
2972
3297
|
* @return {number}
|
|
2973
3298
|
*/
|
|
2974
|
-
proto.
|
|
3299
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLatmin = function() {
|
|
2975
3300
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
2976
3301
|
};
|
|
2977
3302
|
|
|
2978
3303
|
|
|
2979
3304
|
/**
|
|
2980
3305
|
* @param {number} value
|
|
2981
|
-
* @return {!proto.
|
|
3306
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2982
3307
|
*/
|
|
2983
|
-
proto.
|
|
3308
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLatmin = function(value) {
|
|
2984
3309
|
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
2985
3310
|
};
|
|
2986
3311
|
|
|
@@ -2989,16 +3314,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLatmin = functio
|
|
|
2989
3314
|
* optional double lngMax = 4;
|
|
2990
3315
|
* @return {number}
|
|
2991
3316
|
*/
|
|
2992
|
-
proto.
|
|
3317
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLngmax = function() {
|
|
2993
3318
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
2994
3319
|
};
|
|
2995
3320
|
|
|
2996
3321
|
|
|
2997
3322
|
/**
|
|
2998
3323
|
* @param {number} value
|
|
2999
|
-
* @return {!proto.
|
|
3324
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
3000
3325
|
*/
|
|
3001
|
-
proto.
|
|
3326
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLngmax = function(value) {
|
|
3002
3327
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
3003
3328
|
};
|
|
3004
3329
|
|
|
@@ -3007,16 +3332,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLngmax = functio
|
|
|
3007
3332
|
* optional double lngMin = 5;
|
|
3008
3333
|
* @return {number}
|
|
3009
3334
|
*/
|
|
3010
|
-
proto.
|
|
3335
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLngmin = function() {
|
|
3011
3336
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
3012
3337
|
};
|
|
3013
3338
|
|
|
3014
3339
|
|
|
3015
3340
|
/**
|
|
3016
3341
|
* @param {number} value
|
|
3017
|
-
* @return {!proto.
|
|
3342
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
3018
3343
|
*/
|
|
3019
|
-
proto.
|
|
3344
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLngmin = function(value) {
|
|
3020
3345
|
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
3021
3346
|
};
|
|
3022
3347
|
|
|
@@ -3027,7 +3352,7 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLngmin = functio
|
|
|
3027
3352
|
* @private {!Array<number>}
|
|
3028
3353
|
* @const
|
|
3029
3354
|
*/
|
|
3030
|
-
proto.
|
|
3355
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.repeatedFields_ = [1];
|
|
3031
3356
|
|
|
3032
3357
|
|
|
3033
3358
|
|
|
@@ -3044,8 +3369,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3044
3369
|
* http://goto/soy-param-migration
|
|
3045
3370
|
* @return {!Object}
|
|
3046
3371
|
*/
|
|
3047
|
-
proto.
|
|
3048
|
-
return proto.
|
|
3372
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.toObject = function(opt_includeInstance) {
|
|
3373
|
+
return proto.Drumtracker.DrumProto.LocationSearchReply.toObject(opt_includeInstance, this);
|
|
3049
3374
|
};
|
|
3050
3375
|
|
|
3051
3376
|
|
|
@@ -3054,14 +3379,14 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.toObject = function(o
|
|
|
3054
3379
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3055
3380
|
* the JSPB instance for transitional soy proto support:
|
|
3056
3381
|
* http://goto/soy-param-migration
|
|
3057
|
-
* @param {!proto.
|
|
3382
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} msg The msg instance to transform.
|
|
3058
3383
|
* @return {!Object}
|
|
3059
3384
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3060
3385
|
*/
|
|
3061
|
-
proto.
|
|
3386
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.toObject = function(includeInstance, msg) {
|
|
3062
3387
|
var f, obj = {
|
|
3063
3388
|
drumsList: jspb.Message.toObjectList(msg.getDrumsList(),
|
|
3064
|
-
proto.
|
|
3389
|
+
proto.Drumtracker.DrumProto.toObject, includeInstance),
|
|
3065
3390
|
total: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3066
3391
|
};
|
|
3067
3392
|
|
|
@@ -3076,23 +3401,23 @@ proto.Drumtracking.DrumProto.LocationSearchReply.toObject = function(includeInst
|
|
|
3076
3401
|
/**
|
|
3077
3402
|
* Deserializes binary data (in protobuf wire format).
|
|
3078
3403
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3079
|
-
* @return {!proto.
|
|
3404
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply}
|
|
3080
3405
|
*/
|
|
3081
|
-
proto.
|
|
3406
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinary = function(bytes) {
|
|
3082
3407
|
var reader = new jspb.BinaryReader(bytes);
|
|
3083
|
-
var msg = new proto.
|
|
3084
|
-
return proto.
|
|
3408
|
+
var msg = new proto.Drumtracker.DrumProto.LocationSearchReply;
|
|
3409
|
+
return proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinaryFromReader(msg, reader);
|
|
3085
3410
|
};
|
|
3086
3411
|
|
|
3087
3412
|
|
|
3088
3413
|
/**
|
|
3089
3414
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3090
3415
|
* given reader into the given message object.
|
|
3091
|
-
* @param {!proto.
|
|
3416
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} msg The message object to deserialize into.
|
|
3092
3417
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3093
|
-
* @return {!proto.
|
|
3418
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply}
|
|
3094
3419
|
*/
|
|
3095
|
-
proto.
|
|
3420
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
3096
3421
|
while (reader.nextField()) {
|
|
3097
3422
|
if (reader.isEndGroup()) {
|
|
3098
3423
|
break;
|
|
@@ -3100,8 +3425,8 @@ proto.Drumtracking.DrumProto.LocationSearchReply.deserializeBinaryFromReader = f
|
|
|
3100
3425
|
var field = reader.getFieldNumber();
|
|
3101
3426
|
switch (field) {
|
|
3102
3427
|
case 1:
|
|
3103
|
-
var value = new proto.
|
|
3104
|
-
reader.readMessage(value,proto.
|
|
3428
|
+
var value = new proto.Drumtracker.DrumProto;
|
|
3429
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.deserializeBinaryFromReader);
|
|
3105
3430
|
msg.addDrums(value);
|
|
3106
3431
|
break;
|
|
3107
3432
|
case 2:
|
|
@@ -3121,9 +3446,9 @@ proto.Drumtracking.DrumProto.LocationSearchReply.deserializeBinaryFromReader = f
|
|
|
3121
3446
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3122
3447
|
* @return {!Uint8Array}
|
|
3123
3448
|
*/
|
|
3124
|
-
proto.
|
|
3449
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.serializeBinary = function() {
|
|
3125
3450
|
var writer = new jspb.BinaryWriter();
|
|
3126
|
-
proto.
|
|
3451
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.serializeBinaryToWriter(this, writer);
|
|
3127
3452
|
return writer.getResultBuffer();
|
|
3128
3453
|
};
|
|
3129
3454
|
|
|
@@ -3131,18 +3456,18 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.serializeBinary = fun
|
|
|
3131
3456
|
/**
|
|
3132
3457
|
* Serializes the given message to binary data (in protobuf wire
|
|
3133
3458
|
* format), writing to the given BinaryWriter.
|
|
3134
|
-
* @param {!proto.
|
|
3459
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} message
|
|
3135
3460
|
* @param {!jspb.BinaryWriter} writer
|
|
3136
3461
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3137
3462
|
*/
|
|
3138
|
-
proto.
|
|
3463
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.serializeBinaryToWriter = function(message, writer) {
|
|
3139
3464
|
var f = undefined;
|
|
3140
3465
|
f = message.getDrumsList();
|
|
3141
3466
|
if (f.length > 0) {
|
|
3142
3467
|
writer.writeRepeatedMessage(
|
|
3143
3468
|
1,
|
|
3144
3469
|
f,
|
|
3145
|
-
proto.
|
|
3470
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter
|
|
3146
3471
|
);
|
|
3147
3472
|
}
|
|
3148
3473
|
f = message.getTotal();
|
|
@@ -3157,38 +3482,38 @@ proto.Drumtracking.DrumProto.LocationSearchReply.serializeBinaryToWriter = funct
|
|
|
3157
3482
|
|
|
3158
3483
|
/**
|
|
3159
3484
|
* repeated DrumProto drums = 1;
|
|
3160
|
-
* @return {!Array<!proto.
|
|
3485
|
+
* @return {!Array<!proto.Drumtracker.DrumProto>}
|
|
3161
3486
|
*/
|
|
3162
|
-
proto.
|
|
3163
|
-
return /** @type{!Array<!proto.
|
|
3164
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
3487
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.getDrumsList = function() {
|
|
3488
|
+
return /** @type{!Array<!proto.Drumtracker.DrumProto>} */ (
|
|
3489
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Drumtracker.DrumProto, 1));
|
|
3165
3490
|
};
|
|
3166
3491
|
|
|
3167
3492
|
|
|
3168
3493
|
/**
|
|
3169
|
-
* @param {!Array<!proto.
|
|
3170
|
-
* @return {!proto.
|
|
3494
|
+
* @param {!Array<!proto.Drumtracker.DrumProto>} value
|
|
3495
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3171
3496
|
*/
|
|
3172
|
-
proto.
|
|
3497
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.setDrumsList = function(value) {
|
|
3173
3498
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3174
3499
|
};
|
|
3175
3500
|
|
|
3176
3501
|
|
|
3177
3502
|
/**
|
|
3178
|
-
* @param {!proto.
|
|
3503
|
+
* @param {!proto.Drumtracker.DrumProto=} opt_value
|
|
3179
3504
|
* @param {number=} opt_index
|
|
3180
|
-
* @return {!proto.
|
|
3505
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
3181
3506
|
*/
|
|
3182
|
-
proto.
|
|
3183
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
3507
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.addDrums = function(opt_value, opt_index) {
|
|
3508
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Drumtracker.DrumProto, opt_index);
|
|
3184
3509
|
};
|
|
3185
3510
|
|
|
3186
3511
|
|
|
3187
3512
|
/**
|
|
3188
3513
|
* Clears the list making it empty but non-null.
|
|
3189
|
-
* @return {!proto.
|
|
3514
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3190
3515
|
*/
|
|
3191
|
-
proto.
|
|
3516
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.clearDrumsList = function() {
|
|
3192
3517
|
return this.setDrumsList([]);
|
|
3193
3518
|
};
|
|
3194
3519
|
|
|
@@ -3197,16 +3522,16 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.clearDrumsList = func
|
|
|
3197
3522
|
* optional int32 total = 2;
|
|
3198
3523
|
* @return {number}
|
|
3199
3524
|
*/
|
|
3200
|
-
proto.
|
|
3525
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.getTotal = function() {
|
|
3201
3526
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3202
3527
|
};
|
|
3203
3528
|
|
|
3204
3529
|
|
|
3205
3530
|
/**
|
|
3206
3531
|
* @param {number} value
|
|
3207
|
-
* @return {!proto.
|
|
3532
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3208
3533
|
*/
|
|
3209
|
-
proto.
|
|
3534
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.setTotal = function(value) {
|
|
3210
3535
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3211
3536
|
};
|
|
3212
3537
|
|
|
@@ -3227,8 +3552,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3227
3552
|
* http://goto/soy-param-migration
|
|
3228
3553
|
* @return {!Object}
|
|
3229
3554
|
*/
|
|
3230
|
-
proto.
|
|
3231
|
-
return proto.
|
|
3555
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.toObject = function(opt_includeInstance) {
|
|
3556
|
+
return proto.Drumtracker.DrumProto.DrumFilters.toObject(opt_includeInstance, this);
|
|
3232
3557
|
};
|
|
3233
3558
|
|
|
3234
3559
|
|
|
@@ -3237,11 +3562,11 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.toObject = function(opt_inclu
|
|
|
3237
3562
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3238
3563
|
* the JSPB instance for transitional soy proto support:
|
|
3239
3564
|
* http://goto/soy-param-migration
|
|
3240
|
-
* @param {!proto.
|
|
3565
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} msg The msg instance to transform.
|
|
3241
3566
|
* @return {!Object}
|
|
3242
3567
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3243
3568
|
*/
|
|
3244
|
-
proto.
|
|
3569
|
+
proto.Drumtracker.DrumProto.DrumFilters.toObject = function(includeInstance, msg) {
|
|
3245
3570
|
var f, obj = {
|
|
3246
3571
|
search: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3247
3572
|
minRemainingLength: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -3262,23 +3587,23 @@ proto.Drumtracking.DrumProto.DrumFilters.toObject = function(includeInstance, ms
|
|
|
3262
3587
|
/**
|
|
3263
3588
|
* Deserializes binary data (in protobuf wire format).
|
|
3264
3589
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3265
|
-
* @return {!proto.
|
|
3590
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters}
|
|
3266
3591
|
*/
|
|
3267
|
-
proto.
|
|
3592
|
+
proto.Drumtracker.DrumProto.DrumFilters.deserializeBinary = function(bytes) {
|
|
3268
3593
|
var reader = new jspb.BinaryReader(bytes);
|
|
3269
|
-
var msg = new proto.
|
|
3270
|
-
return proto.
|
|
3594
|
+
var msg = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
3595
|
+
return proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader(msg, reader);
|
|
3271
3596
|
};
|
|
3272
3597
|
|
|
3273
3598
|
|
|
3274
3599
|
/**
|
|
3275
3600
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3276
3601
|
* given reader into the given message object.
|
|
3277
|
-
* @param {!proto.
|
|
3602
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} msg The message object to deserialize into.
|
|
3278
3603
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3279
|
-
* @return {!proto.
|
|
3604
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters}
|
|
3280
3605
|
*/
|
|
3281
|
-
proto.
|
|
3606
|
+
proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader = function(msg, reader) {
|
|
3282
3607
|
while (reader.nextField()) {
|
|
3283
3608
|
if (reader.isEndGroup()) {
|
|
3284
3609
|
break;
|
|
@@ -3322,9 +3647,9 @@ proto.Drumtracking.DrumProto.DrumFilters.deserializeBinaryFromReader = function(
|
|
|
3322
3647
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3323
3648
|
* @return {!Uint8Array}
|
|
3324
3649
|
*/
|
|
3325
|
-
proto.
|
|
3650
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.serializeBinary = function() {
|
|
3326
3651
|
var writer = new jspb.BinaryWriter();
|
|
3327
|
-
proto.
|
|
3652
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter(this, writer);
|
|
3328
3653
|
return writer.getResultBuffer();
|
|
3329
3654
|
};
|
|
3330
3655
|
|
|
@@ -3332,11 +3657,11 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.serializeBinary = function()
|
|
|
3332
3657
|
/**
|
|
3333
3658
|
* Serializes the given message to binary data (in protobuf wire
|
|
3334
3659
|
* format), writing to the given BinaryWriter.
|
|
3335
|
-
* @param {!proto.
|
|
3660
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} message
|
|
3336
3661
|
* @param {!jspb.BinaryWriter} writer
|
|
3337
3662
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3338
3663
|
*/
|
|
3339
|
-
proto.
|
|
3664
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter = function(message, writer) {
|
|
3340
3665
|
var f = undefined;
|
|
3341
3666
|
f = message.getSearch();
|
|
3342
3667
|
if (f.length > 0) {
|
|
@@ -3387,16 +3712,16 @@ proto.Drumtracking.DrumProto.DrumFilters.serializeBinaryToWriter = function(mess
|
|
|
3387
3712
|
* optional string search = 1;
|
|
3388
3713
|
* @return {string}
|
|
3389
3714
|
*/
|
|
3390
|
-
proto.
|
|
3715
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getSearch = function() {
|
|
3391
3716
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3392
3717
|
};
|
|
3393
3718
|
|
|
3394
3719
|
|
|
3395
3720
|
/**
|
|
3396
3721
|
* @param {string} value
|
|
3397
|
-
* @return {!proto.
|
|
3722
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3398
3723
|
*/
|
|
3399
|
-
proto.
|
|
3724
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setSearch = function(value) {
|
|
3400
3725
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3401
3726
|
};
|
|
3402
3727
|
|
|
@@ -3405,16 +3730,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setSearch = function(value) {
|
|
|
3405
3730
|
* optional int32 min_remaining_length = 2;
|
|
3406
3731
|
* @return {number}
|
|
3407
3732
|
*/
|
|
3408
|
-
proto.
|
|
3733
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMinRemainingLength = function() {
|
|
3409
3734
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3410
3735
|
};
|
|
3411
3736
|
|
|
3412
3737
|
|
|
3413
3738
|
/**
|
|
3414
3739
|
* @param {number} value
|
|
3415
|
-
* @return {!proto.
|
|
3740
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3416
3741
|
*/
|
|
3417
|
-
proto.
|
|
3742
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMinRemainingLength = function(value) {
|
|
3418
3743
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3419
3744
|
};
|
|
3420
3745
|
|
|
@@ -3423,16 +3748,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMinRemainingLength = funct
|
|
|
3423
3748
|
* optional int32 max_remaining_length = 3;
|
|
3424
3749
|
* @return {number}
|
|
3425
3750
|
*/
|
|
3426
|
-
proto.
|
|
3751
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMaxRemainingLength = function() {
|
|
3427
3752
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3428
3753
|
};
|
|
3429
3754
|
|
|
3430
3755
|
|
|
3431
3756
|
/**
|
|
3432
3757
|
* @param {number} value
|
|
3433
|
-
* @return {!proto.
|
|
3758
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3434
3759
|
*/
|
|
3435
|
-
proto.
|
|
3760
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMaxRemainingLength = function(value) {
|
|
3436
3761
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
3437
3762
|
};
|
|
3438
3763
|
|
|
@@ -3441,16 +3766,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMaxRemainingLength = funct
|
|
|
3441
3766
|
* optional int32 customer_id = 4;
|
|
3442
3767
|
* @return {number}
|
|
3443
3768
|
*/
|
|
3444
|
-
proto.
|
|
3769
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getCustomerId = function() {
|
|
3445
3770
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3446
3771
|
};
|
|
3447
3772
|
|
|
3448
3773
|
|
|
3449
3774
|
/**
|
|
3450
3775
|
* @param {number} value
|
|
3451
|
-
* @return {!proto.
|
|
3776
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3452
3777
|
*/
|
|
3453
|
-
proto.
|
|
3778
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setCustomerId = function(value) {
|
|
3454
3779
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
3455
3780
|
};
|
|
3456
3781
|
|
|
@@ -3459,16 +3784,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setCustomerId = function(valu
|
|
|
3459
3784
|
* optional int32 min_battery = 5;
|
|
3460
3785
|
* @return {number}
|
|
3461
3786
|
*/
|
|
3462
|
-
proto.
|
|
3787
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMinBattery = function() {
|
|
3463
3788
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
3464
3789
|
};
|
|
3465
3790
|
|
|
3466
3791
|
|
|
3467
3792
|
/**
|
|
3468
3793
|
* @param {number} value
|
|
3469
|
-
* @return {!proto.
|
|
3794
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3470
3795
|
*/
|
|
3471
|
-
proto.
|
|
3796
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMinBattery = function(value) {
|
|
3472
3797
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
3473
3798
|
};
|
|
3474
3799
|
|
|
@@ -3477,16 +3802,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMinBattery = function(valu
|
|
|
3477
3802
|
* optional int32 max_battery = 6;
|
|
3478
3803
|
* @return {number}
|
|
3479
3804
|
*/
|
|
3480
|
-
proto.
|
|
3805
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMaxBattery = function() {
|
|
3481
3806
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
3482
3807
|
};
|
|
3483
3808
|
|
|
3484
3809
|
|
|
3485
3810
|
/**
|
|
3486
3811
|
* @param {number} value
|
|
3487
|
-
* @return {!proto.
|
|
3812
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3488
3813
|
*/
|
|
3489
|
-
proto.
|
|
3814
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMaxBattery = function(value) {
|
|
3490
3815
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
3491
3816
|
};
|
|
3492
3817
|
|
|
@@ -3495,16 +3820,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMaxBattery = function(valu
|
|
|
3495
3820
|
* optional int64 id = 1;
|
|
3496
3821
|
* @return {number}
|
|
3497
3822
|
*/
|
|
3498
|
-
proto.
|
|
3823
|
+
proto.Drumtracker.DrumProto.prototype.getId = function() {
|
|
3499
3824
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3500
3825
|
};
|
|
3501
3826
|
|
|
3502
3827
|
|
|
3503
3828
|
/**
|
|
3504
3829
|
* @param {number} value
|
|
3505
|
-
* @return {!proto.
|
|
3830
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3506
3831
|
*/
|
|
3507
|
-
proto.
|
|
3832
|
+
proto.Drumtracker.DrumProto.prototype.setId = function(value) {
|
|
3508
3833
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3509
3834
|
};
|
|
3510
3835
|
|
|
@@ -3513,44 +3838,44 @@ proto.Drumtracking.DrumProto.prototype.setId = function(value) {
|
|
|
3513
3838
|
* optional int64 drum_number = 2;
|
|
3514
3839
|
* @return {number}
|
|
3515
3840
|
*/
|
|
3516
|
-
proto.
|
|
3841
|
+
proto.Drumtracker.DrumProto.prototype.getDrumNumber = function() {
|
|
3517
3842
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3518
3843
|
};
|
|
3519
3844
|
|
|
3520
3845
|
|
|
3521
3846
|
/**
|
|
3522
3847
|
* @param {number} value
|
|
3523
|
-
* @return {!proto.
|
|
3848
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3524
3849
|
*/
|
|
3525
|
-
proto.
|
|
3850
|
+
proto.Drumtracker.DrumProto.prototype.setDrumNumber = function(value) {
|
|
3526
3851
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3527
3852
|
};
|
|
3528
3853
|
|
|
3529
3854
|
|
|
3530
3855
|
/**
|
|
3531
3856
|
* optional DrumType drum_type = 3;
|
|
3532
|
-
* @return {?proto.
|
|
3857
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
3533
3858
|
*/
|
|
3534
|
-
proto.
|
|
3535
|
-
return /** @type{?proto.
|
|
3536
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3859
|
+
proto.Drumtracker.DrumProto.prototype.getDrumType = function() {
|
|
3860
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
3861
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 3));
|
|
3537
3862
|
};
|
|
3538
3863
|
|
|
3539
3864
|
|
|
3540
3865
|
/**
|
|
3541
|
-
* @param {?proto.
|
|
3542
|
-
* @return {!proto.
|
|
3866
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
3867
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3543
3868
|
*/
|
|
3544
|
-
proto.
|
|
3869
|
+
proto.Drumtracker.DrumProto.prototype.setDrumType = function(value) {
|
|
3545
3870
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
3546
3871
|
};
|
|
3547
3872
|
|
|
3548
3873
|
|
|
3549
3874
|
/**
|
|
3550
3875
|
* Clears the message field making it undefined.
|
|
3551
|
-
* @return {!proto.
|
|
3876
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3552
3877
|
*/
|
|
3553
|
-
proto.
|
|
3878
|
+
proto.Drumtracker.DrumProto.prototype.clearDrumType = function() {
|
|
3554
3879
|
return this.setDrumType(undefined);
|
|
3555
3880
|
};
|
|
3556
3881
|
|
|
@@ -3559,35 +3884,35 @@ proto.Drumtracking.DrumProto.prototype.clearDrumType = function() {
|
|
|
3559
3884
|
* Returns whether this field is set.
|
|
3560
3885
|
* @return {boolean}
|
|
3561
3886
|
*/
|
|
3562
|
-
proto.
|
|
3887
|
+
proto.Drumtracker.DrumProto.prototype.hasDrumType = function() {
|
|
3563
3888
|
return jspb.Message.getField(this, 3) != null;
|
|
3564
3889
|
};
|
|
3565
3890
|
|
|
3566
3891
|
|
|
3567
3892
|
/**
|
|
3568
3893
|
* optional CableType cable_type = 4;
|
|
3569
|
-
* @return {?proto.
|
|
3894
|
+
* @return {?proto.Drumtracker.DrumProto.CableType}
|
|
3570
3895
|
*/
|
|
3571
|
-
proto.
|
|
3572
|
-
return /** @type{?proto.
|
|
3573
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3896
|
+
proto.Drumtracker.DrumProto.prototype.getCableType = function() {
|
|
3897
|
+
return /** @type{?proto.Drumtracker.DrumProto.CableType} */ (
|
|
3898
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.CableType, 4));
|
|
3574
3899
|
};
|
|
3575
3900
|
|
|
3576
3901
|
|
|
3577
3902
|
/**
|
|
3578
|
-
* @param {?proto.
|
|
3579
|
-
* @return {!proto.
|
|
3903
|
+
* @param {?proto.Drumtracker.DrumProto.CableType|undefined} value
|
|
3904
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3580
3905
|
*/
|
|
3581
|
-
proto.
|
|
3906
|
+
proto.Drumtracker.DrumProto.prototype.setCableType = function(value) {
|
|
3582
3907
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
3583
3908
|
};
|
|
3584
3909
|
|
|
3585
3910
|
|
|
3586
3911
|
/**
|
|
3587
3912
|
* Clears the message field making it undefined.
|
|
3588
|
-
* @return {!proto.
|
|
3913
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3589
3914
|
*/
|
|
3590
|
-
proto.
|
|
3915
|
+
proto.Drumtracker.DrumProto.prototype.clearCableType = function() {
|
|
3591
3916
|
return this.setCableType(undefined);
|
|
3592
3917
|
};
|
|
3593
3918
|
|
|
@@ -3596,7 +3921,7 @@ proto.Drumtracking.DrumProto.prototype.clearCableType = function() {
|
|
|
3596
3921
|
* Returns whether this field is set.
|
|
3597
3922
|
* @return {boolean}
|
|
3598
3923
|
*/
|
|
3599
|
-
proto.
|
|
3924
|
+
proto.Drumtracker.DrumProto.prototype.hasCableType = function() {
|
|
3600
3925
|
return jspb.Message.getField(this, 4) != null;
|
|
3601
3926
|
};
|
|
3602
3927
|
|
|
@@ -3605,16 +3930,16 @@ proto.Drumtracking.DrumProto.prototype.hasCableType = function() {
|
|
|
3605
3930
|
* optional string group_id = 5;
|
|
3606
3931
|
* @return {string}
|
|
3607
3932
|
*/
|
|
3608
|
-
proto.
|
|
3933
|
+
proto.Drumtracker.DrumProto.prototype.getGroupId = function() {
|
|
3609
3934
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3610
3935
|
};
|
|
3611
3936
|
|
|
3612
3937
|
|
|
3613
3938
|
/**
|
|
3614
3939
|
* @param {string} value
|
|
3615
|
-
* @return {!proto.
|
|
3940
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3616
3941
|
*/
|
|
3617
|
-
proto.
|
|
3942
|
+
proto.Drumtracker.DrumProto.prototype.setGroupId = function(value) {
|
|
3618
3943
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3619
3944
|
};
|
|
3620
3945
|
|
|
@@ -3623,16 +3948,16 @@ proto.Drumtracking.DrumProto.prototype.setGroupId = function(value) {
|
|
|
3623
3948
|
* optional int32 cable_length = 6;
|
|
3624
3949
|
* @return {number}
|
|
3625
3950
|
*/
|
|
3626
|
-
proto.
|
|
3951
|
+
proto.Drumtracker.DrumProto.prototype.getCableLength = function() {
|
|
3627
3952
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
3628
3953
|
};
|
|
3629
3954
|
|
|
3630
3955
|
|
|
3631
3956
|
/**
|
|
3632
3957
|
* @param {number} value
|
|
3633
|
-
* @return {!proto.
|
|
3958
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3634
3959
|
*/
|
|
3635
|
-
proto.
|
|
3960
|
+
proto.Drumtracker.DrumProto.prototype.setCableLength = function(value) {
|
|
3636
3961
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
3637
3962
|
};
|
|
3638
3963
|
|
|
@@ -3641,16 +3966,16 @@ proto.Drumtracking.DrumProto.prototype.setCableLength = function(value) {
|
|
|
3641
3966
|
* optional int32 residual_length = 7;
|
|
3642
3967
|
* @return {number}
|
|
3643
3968
|
*/
|
|
3644
|
-
proto.
|
|
3969
|
+
proto.Drumtracker.DrumProto.prototype.getResidualLength = function() {
|
|
3645
3970
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
3646
3971
|
};
|
|
3647
3972
|
|
|
3648
3973
|
|
|
3649
3974
|
/**
|
|
3650
3975
|
* @param {number} value
|
|
3651
|
-
* @return {!proto.
|
|
3976
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3652
3977
|
*/
|
|
3653
|
-
proto.
|
|
3978
|
+
proto.Drumtracker.DrumProto.prototype.setResidualLength = function(value) {
|
|
3654
3979
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
3655
3980
|
};
|
|
3656
3981
|
|
|
@@ -3659,16 +3984,16 @@ proto.Drumtracking.DrumProto.prototype.setResidualLength = function(value) {
|
|
|
3659
3984
|
* optional double latitude = 8;
|
|
3660
3985
|
* @return {number}
|
|
3661
3986
|
*/
|
|
3662
|
-
proto.
|
|
3987
|
+
proto.Drumtracker.DrumProto.prototype.getLatitude = function() {
|
|
3663
3988
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
3664
3989
|
};
|
|
3665
3990
|
|
|
3666
3991
|
|
|
3667
3992
|
/**
|
|
3668
3993
|
* @param {number} value
|
|
3669
|
-
* @return {!proto.
|
|
3994
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3670
3995
|
*/
|
|
3671
|
-
proto.
|
|
3996
|
+
proto.Drumtracker.DrumProto.prototype.setLatitude = function(value) {
|
|
3672
3997
|
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
3673
3998
|
};
|
|
3674
3999
|
|
|
@@ -3677,16 +4002,16 @@ proto.Drumtracking.DrumProto.prototype.setLatitude = function(value) {
|
|
|
3677
4002
|
* optional double longitude = 9;
|
|
3678
4003
|
* @return {number}
|
|
3679
4004
|
*/
|
|
3680
|
-
proto.
|
|
4005
|
+
proto.Drumtracker.DrumProto.prototype.getLongitude = function() {
|
|
3681
4006
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
3682
4007
|
};
|
|
3683
4008
|
|
|
3684
4009
|
|
|
3685
4010
|
/**
|
|
3686
4011
|
* @param {number} value
|
|
3687
|
-
* @return {!proto.
|
|
4012
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3688
4013
|
*/
|
|
3689
|
-
proto.
|
|
4014
|
+
proto.Drumtracker.DrumProto.prototype.setLongitude = function(value) {
|
|
3690
4015
|
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
3691
4016
|
};
|
|
3692
4017
|
|
|
@@ -3695,16 +4020,16 @@ proto.Drumtracking.DrumProto.prototype.setLongitude = function(value) {
|
|
|
3695
4020
|
* optional int32 temperature = 10;
|
|
3696
4021
|
* @return {number}
|
|
3697
4022
|
*/
|
|
3698
|
-
proto.
|
|
4023
|
+
proto.Drumtracker.DrumProto.prototype.getTemperature = function() {
|
|
3699
4024
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
3700
4025
|
};
|
|
3701
4026
|
|
|
3702
4027
|
|
|
3703
4028
|
/**
|
|
3704
4029
|
* @param {number} value
|
|
3705
|
-
* @return {!proto.
|
|
4030
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3706
4031
|
*/
|
|
3707
|
-
proto.
|
|
4032
|
+
proto.Drumtracker.DrumProto.prototype.setTemperature = function(value) {
|
|
3708
4033
|
return jspb.Message.setProto3IntField(this, 10, value);
|
|
3709
4034
|
};
|
|
3710
4035
|
|
|
@@ -3713,7 +4038,7 @@ proto.Drumtracking.DrumProto.prototype.setTemperature = function(value) {
|
|
|
3713
4038
|
* optional google.protobuf.Timestamp last_update = 11;
|
|
3714
4039
|
* @return {?proto.google.protobuf.Timestamp}
|
|
3715
4040
|
*/
|
|
3716
|
-
proto.
|
|
4041
|
+
proto.Drumtracker.DrumProto.prototype.getLastUpdate = function() {
|
|
3717
4042
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3718
4043
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
3719
4044
|
};
|
|
@@ -3721,18 +4046,18 @@ proto.Drumtracking.DrumProto.prototype.getLastUpdate = function() {
|
|
|
3721
4046
|
|
|
3722
4047
|
/**
|
|
3723
4048
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
3724
|
-
* @return {!proto.
|
|
4049
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3725
4050
|
*/
|
|
3726
|
-
proto.
|
|
4051
|
+
proto.Drumtracker.DrumProto.prototype.setLastUpdate = function(value) {
|
|
3727
4052
|
return jspb.Message.setWrapperField(this, 11, value);
|
|
3728
4053
|
};
|
|
3729
4054
|
|
|
3730
4055
|
|
|
3731
4056
|
/**
|
|
3732
4057
|
* Clears the message field making it undefined.
|
|
3733
|
-
* @return {!proto.
|
|
4058
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3734
4059
|
*/
|
|
3735
|
-
proto.
|
|
4060
|
+
proto.Drumtracker.DrumProto.prototype.clearLastUpdate = function() {
|
|
3736
4061
|
return this.setLastUpdate(undefined);
|
|
3737
4062
|
};
|
|
3738
4063
|
|
|
@@ -3741,7 +4066,7 @@ proto.Drumtracking.DrumProto.prototype.clearLastUpdate = function() {
|
|
|
3741
4066
|
* Returns whether this field is set.
|
|
3742
4067
|
* @return {boolean}
|
|
3743
4068
|
*/
|
|
3744
|
-
proto.
|
|
4069
|
+
proto.Drumtracker.DrumProto.prototype.hasLastUpdate = function() {
|
|
3745
4070
|
return jspb.Message.getField(this, 11) != null;
|
|
3746
4071
|
};
|
|
3747
4072
|
|
|
@@ -3750,16 +4075,16 @@ proto.Drumtracking.DrumProto.prototype.hasLastUpdate = function() {
|
|
|
3750
4075
|
* optional string sales_reference = 12;
|
|
3751
4076
|
* @return {string}
|
|
3752
4077
|
*/
|
|
3753
|
-
proto.
|
|
4078
|
+
proto.Drumtracker.DrumProto.prototype.getSalesReference = function() {
|
|
3754
4079
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3755
4080
|
};
|
|
3756
4081
|
|
|
3757
4082
|
|
|
3758
4083
|
/**
|
|
3759
4084
|
* @param {string} value
|
|
3760
|
-
* @return {!proto.
|
|
4085
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3761
4086
|
*/
|
|
3762
|
-
proto.
|
|
4087
|
+
proto.Drumtracker.DrumProto.prototype.setSalesReference = function(value) {
|
|
3763
4088
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
3764
4089
|
};
|
|
3765
4090
|
|
|
@@ -3768,18 +4093,18 @@ proto.Drumtracking.DrumProto.prototype.setSalesReference = function(value) {
|
|
|
3768
4093
|
* optional string customer_reference = 13;
|
|
3769
4094
|
* @return {string}
|
|
3770
4095
|
*/
|
|
3771
|
-
proto.
|
|
4096
|
+
proto.Drumtracker.DrumProto.prototype.getCustomerReference = function() {
|
|
3772
4097
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
3773
4098
|
};
|
|
3774
4099
|
|
|
3775
4100
|
|
|
3776
4101
|
/**
|
|
3777
4102
|
* @param {string} value
|
|
3778
|
-
* @return {!proto.
|
|
4103
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3779
4104
|
*/
|
|
3780
|
-
proto.
|
|
4105
|
+
proto.Drumtracker.DrumProto.prototype.setCustomerReference = function(value) {
|
|
3781
4106
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
3782
4107
|
};
|
|
3783
4108
|
|
|
3784
4109
|
|
|
3785
|
-
goog.object.extend(exports, proto.
|
|
4110
|
+
goog.object.extend(exports, proto.Drumtracker);
|