@aceplus/smartace-api 2.1.0-drumtracker.1 → 2.1.0-drumtracker.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{drumtracking.drum_pb.d.ts → drumtracker.drum_pb.d.ts} +76 -42
- package/{drumtracking.drum_pb.js → drumtracker.drum_pb.js} +1069 -828
- package/{drumtracking.drum_pb_service.d.ts → drumtracker.drum_pb_service.d.ts} +58 -39
- package/{drumtracking.drum_pb_service.js → drumtracker.drum_pb_service.js} +56 -16
- package/{drumtracking.tracker_pb.d.ts → drumtracker.tracker_pb.d.ts} +2 -2
- package/{drumtracking.tracker_pb.js → drumtracker.tracker_pb.js} +272 -272
- package/{drumtracking.tracker_pb_service.d.ts → drumtracker.tracker_pb_service.d.ts} +33 -33
- package/{drumtracking.tracker_pb_service.js → drumtracker.tracker_pb_service.js} +14 -14
- package/package.json +1 -1
- package/platform.client_pb.d.ts +3 -3
- package/platform.client_pb.js +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// source:
|
|
1
|
+
// source: drumtracker.drum.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -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,58 @@ 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);
|
|
292
|
+
};
|
|
293
|
+
goog.inherits(proto.Drumtracker.DrumProto.CountReply, jspb.Message);
|
|
294
|
+
if (goog.DEBUG && !COMPILED) {
|
|
295
|
+
/**
|
|
296
|
+
* @public
|
|
297
|
+
* @override
|
|
298
|
+
*/
|
|
299
|
+
proto.Drumtracker.DrumProto.CountReply.displayName = 'proto.Drumtracker.DrumProto.CountReply';
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Generated by JsPbCodeGenerator.
|
|
303
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
304
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
305
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
306
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
307
|
+
* valid.
|
|
308
|
+
* @extends {jspb.Message}
|
|
309
|
+
* @constructor
|
|
310
|
+
*/
|
|
311
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest = function(opt_data) {
|
|
312
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
313
|
+
};
|
|
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);
|
|
290
334
|
};
|
|
291
|
-
goog.inherits(proto.
|
|
335
|
+
goog.inherits(proto.Drumtracker.DrumProto.LocationSearchReply, jspb.Message);
|
|
292
336
|
if (goog.DEBUG && !COMPILED) {
|
|
293
337
|
/**
|
|
294
338
|
* @public
|
|
295
339
|
* @override
|
|
296
340
|
*/
|
|
297
|
-
proto.
|
|
341
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.displayName = 'proto.Drumtracker.DrumProto.LocationSearchReply';
|
|
298
342
|
}
|
|
299
343
|
/**
|
|
300
344
|
* Generated by JsPbCodeGenerator.
|
|
@@ -306,16 +350,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
306
350
|
* @extends {jspb.Message}
|
|
307
351
|
* @constructor
|
|
308
352
|
*/
|
|
309
|
-
proto.
|
|
353
|
+
proto.Drumtracker.DrumProto.DrumFilters = function(opt_data) {
|
|
310
354
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
311
355
|
};
|
|
312
|
-
goog.inherits(proto.
|
|
356
|
+
goog.inherits(proto.Drumtracker.DrumProto.DrumFilters, jspb.Message);
|
|
313
357
|
if (goog.DEBUG && !COMPILED) {
|
|
314
358
|
/**
|
|
315
359
|
* @public
|
|
316
360
|
* @override
|
|
317
361
|
*/
|
|
318
|
-
proto.
|
|
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
|
-
|
|
354
|
-
drumType: (f = msg.getDrumType()) && proto.
|
|
355
|
-
cableType: (f = msg.getCableType()) && proto.
|
|
397
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
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;
|
|
@@ -403,17 +447,17 @@ proto.Drumtracking.DrumProto.deserializeBinaryFromReader = function(msg, reader)
|
|
|
403
447
|
msg.setId(value);
|
|
404
448
|
break;
|
|
405
449
|
case 2:
|
|
406
|
-
var value = /** @type {
|
|
407
|
-
msg.
|
|
450
|
+
var value = /** @type {string} */ (reader.readString());
|
|
451
|
+
msg.setName(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) {
|
|
@@ -489,9 +533,9 @@ proto.Drumtracking.DrumProto.serializeBinaryToWriter = function(message, writer)
|
|
|
489
533
|
f
|
|
490
534
|
);
|
|
491
535
|
}
|
|
492
|
-
f = message.
|
|
493
|
-
if (f
|
|
494
|
-
writer.
|
|
536
|
+
f = message.getName();
|
|
537
|
+
if (f.length > 0) {
|
|
538
|
+
writer.writeString(
|
|
495
539
|
2,
|
|
496
540
|
f
|
|
497
541
|
);
|
|
@@ -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,15 +649,16 @@ 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
|
-
|
|
615
|
-
|
|
616
|
-
|
|
658
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
659
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
660
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
661
|
+
diameter: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
617
662
|
};
|
|
618
663
|
|
|
619
664
|
if (includeInstance) {
|
|
@@ -627,23 +672,23 @@ proto.Drumtracking.DrumProto.CableType.toObject = function(includeInstance, msg)
|
|
|
627
672
|
/**
|
|
628
673
|
* Deserializes binary data (in protobuf wire format).
|
|
629
674
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
630
|
-
* @return {!proto.
|
|
675
|
+
* @return {!proto.Drumtracker.DrumProto.CableType}
|
|
631
676
|
*/
|
|
632
|
-
proto.
|
|
677
|
+
proto.Drumtracker.DrumProto.CableType.deserializeBinary = function(bytes) {
|
|
633
678
|
var reader = new jspb.BinaryReader(bytes);
|
|
634
|
-
var msg = new proto.
|
|
635
|
-
return proto.
|
|
679
|
+
var msg = new proto.Drumtracker.DrumProto.CableType;
|
|
680
|
+
return proto.Drumtracker.DrumProto.CableType.deserializeBinaryFromReader(msg, reader);
|
|
636
681
|
};
|
|
637
682
|
|
|
638
683
|
|
|
639
684
|
/**
|
|
640
685
|
* Deserializes binary data (in protobuf wire format) from the
|
|
641
686
|
* given reader into the given message object.
|
|
642
|
-
* @param {!proto.
|
|
687
|
+
* @param {!proto.Drumtracker.DrumProto.CableType} msg The message object to deserialize into.
|
|
643
688
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
644
|
-
* @return {!proto.
|
|
689
|
+
* @return {!proto.Drumtracker.DrumProto.CableType}
|
|
645
690
|
*/
|
|
646
|
-
proto.
|
|
691
|
+
proto.Drumtracker.DrumProto.CableType.deserializeBinaryFromReader = function(msg, reader) {
|
|
647
692
|
while (reader.nextField()) {
|
|
648
693
|
if (reader.isEndGroup()) {
|
|
649
694
|
break;
|
|
@@ -651,14 +696,18 @@ proto.Drumtracking.DrumProto.CableType.deserializeBinaryFromReader = function(ms
|
|
|
651
696
|
var field = reader.getFieldNumber();
|
|
652
697
|
switch (field) {
|
|
653
698
|
case 1:
|
|
699
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
700
|
+
msg.setId(value);
|
|
701
|
+
break;
|
|
702
|
+
case 2:
|
|
654
703
|
var value = /** @type {string} */ (reader.readString());
|
|
655
704
|
msg.setName(value);
|
|
656
705
|
break;
|
|
657
|
-
case
|
|
706
|
+
case 3:
|
|
658
707
|
var value = /** @type {string} */ (reader.readString());
|
|
659
708
|
msg.setDescription(value);
|
|
660
709
|
break;
|
|
661
|
-
case
|
|
710
|
+
case 4:
|
|
662
711
|
var value = /** @type {number} */ (reader.readInt32());
|
|
663
712
|
msg.setDiameter(value);
|
|
664
713
|
break;
|
|
@@ -675,9 +724,9 @@ proto.Drumtracking.DrumProto.CableType.deserializeBinaryFromReader = function(ms
|
|
|
675
724
|
* Serializes the message to binary data (in protobuf wire format).
|
|
676
725
|
* @return {!Uint8Array}
|
|
677
726
|
*/
|
|
678
|
-
proto.
|
|
727
|
+
proto.Drumtracker.DrumProto.CableType.prototype.serializeBinary = function() {
|
|
679
728
|
var writer = new jspb.BinaryWriter();
|
|
680
|
-
proto.
|
|
729
|
+
proto.Drumtracker.DrumProto.CableType.serializeBinaryToWriter(this, writer);
|
|
681
730
|
return writer.getResultBuffer();
|
|
682
731
|
};
|
|
683
732
|
|
|
@@ -685,30 +734,37 @@ proto.Drumtracking.DrumProto.CableType.prototype.serializeBinary = function() {
|
|
|
685
734
|
/**
|
|
686
735
|
* Serializes the given message to binary data (in protobuf wire
|
|
687
736
|
* format), writing to the given BinaryWriter.
|
|
688
|
-
* @param {!proto.
|
|
737
|
+
* @param {!proto.Drumtracker.DrumProto.CableType} message
|
|
689
738
|
* @param {!jspb.BinaryWriter} writer
|
|
690
739
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
691
740
|
*/
|
|
692
|
-
proto.
|
|
741
|
+
proto.Drumtracker.DrumProto.CableType.serializeBinaryToWriter = function(message, writer) {
|
|
693
742
|
var f = undefined;
|
|
743
|
+
f = message.getId();
|
|
744
|
+
if (f !== 0) {
|
|
745
|
+
writer.writeInt32(
|
|
746
|
+
1,
|
|
747
|
+
f
|
|
748
|
+
);
|
|
749
|
+
}
|
|
694
750
|
f = message.getName();
|
|
695
751
|
if (f.length > 0) {
|
|
696
752
|
writer.writeString(
|
|
697
|
-
|
|
753
|
+
2,
|
|
698
754
|
f
|
|
699
755
|
);
|
|
700
756
|
}
|
|
701
757
|
f = message.getDescription();
|
|
702
758
|
if (f.length > 0) {
|
|
703
759
|
writer.writeString(
|
|
704
|
-
|
|
760
|
+
3,
|
|
705
761
|
f
|
|
706
762
|
);
|
|
707
763
|
}
|
|
708
764
|
f = message.getDiameter();
|
|
709
765
|
if (f !== 0) {
|
|
710
766
|
writer.writeInt32(
|
|
711
|
-
|
|
767
|
+
4,
|
|
712
768
|
f
|
|
713
769
|
);
|
|
714
770
|
}
|
|
@@ -716,56 +772,74 @@ proto.Drumtracking.DrumProto.CableType.serializeBinaryToWriter = function(messag
|
|
|
716
772
|
|
|
717
773
|
|
|
718
774
|
/**
|
|
719
|
-
* optional
|
|
720
|
-
* @return {
|
|
775
|
+
* optional int32 id = 1;
|
|
776
|
+
* @return {number}
|
|
721
777
|
*/
|
|
722
|
-
proto.
|
|
723
|
-
return /** @type {
|
|
778
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getId = function() {
|
|
779
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
724
780
|
};
|
|
725
781
|
|
|
726
782
|
|
|
727
783
|
/**
|
|
728
|
-
* @param {
|
|
729
|
-
* @return {!proto.
|
|
784
|
+
* @param {number} value
|
|
785
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
730
786
|
*/
|
|
731
|
-
proto.
|
|
732
|
-
return jspb.Message.
|
|
787
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setId = function(value) {
|
|
788
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
733
789
|
};
|
|
734
790
|
|
|
735
791
|
|
|
736
792
|
/**
|
|
737
|
-
* optional string
|
|
793
|
+
* optional string name = 2;
|
|
738
794
|
* @return {string}
|
|
739
795
|
*/
|
|
740
|
-
proto.
|
|
796
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getName = function() {
|
|
741
797
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
742
798
|
};
|
|
743
799
|
|
|
744
800
|
|
|
745
801
|
/**
|
|
746
802
|
* @param {string} value
|
|
747
|
-
* @return {!proto.
|
|
803
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
748
804
|
*/
|
|
749
|
-
proto.
|
|
805
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setName = function(value) {
|
|
750
806
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
751
807
|
};
|
|
752
808
|
|
|
753
809
|
|
|
754
810
|
/**
|
|
755
|
-
* optional
|
|
811
|
+
* optional string description = 3;
|
|
812
|
+
* @return {string}
|
|
813
|
+
*/
|
|
814
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getDescription = function() {
|
|
815
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* @param {string} value
|
|
821
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
822
|
+
*/
|
|
823
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setDescription = function(value) {
|
|
824
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* optional int32 diameter = 4;
|
|
756
830
|
* @return {number}
|
|
757
831
|
*/
|
|
758
|
-
proto.
|
|
759
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
832
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getDiameter = function() {
|
|
833
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
760
834
|
};
|
|
761
835
|
|
|
762
836
|
|
|
763
837
|
/**
|
|
764
838
|
* @param {number} value
|
|
765
|
-
* @return {!proto.
|
|
839
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
766
840
|
*/
|
|
767
|
-
proto.
|
|
768
|
-
return jspb.Message.setProto3IntField(this,
|
|
841
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setDiameter = function(value) {
|
|
842
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
769
843
|
};
|
|
770
844
|
|
|
771
845
|
|
|
@@ -785,8 +859,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
785
859
|
* http://goto/soy-param-migration
|
|
786
860
|
* @return {!Object}
|
|
787
861
|
*/
|
|
788
|
-
proto.
|
|
789
|
-
return proto.
|
|
862
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.toObject = function(opt_includeInstance) {
|
|
863
|
+
return proto.Drumtracker.DrumProto.DrumType.toObject(opt_includeInstance, this);
|
|
790
864
|
};
|
|
791
865
|
|
|
792
866
|
|
|
@@ -795,16 +869,17 @@ proto.Drumtracking.DrumProto.DrumType.prototype.toObject = function(opt_includeI
|
|
|
795
869
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
796
870
|
* the JSPB instance for transitional soy proto support:
|
|
797
871
|
* http://goto/soy-param-migration
|
|
798
|
-
* @param {!proto.
|
|
872
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} msg The msg instance to transform.
|
|
799
873
|
* @return {!Object}
|
|
800
874
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
801
875
|
*/
|
|
802
|
-
proto.
|
|
876
|
+
proto.Drumtracker.DrumProto.DrumType.toObject = function(includeInstance, msg) {
|
|
803
877
|
var f, obj = {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
878
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
879
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
880
|
+
diameterMin: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
881
|
+
diameterMax: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
882
|
+
width: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
808
883
|
};
|
|
809
884
|
|
|
810
885
|
if (includeInstance) {
|
|
@@ -818,23 +893,23 @@ proto.Drumtracking.DrumProto.DrumType.toObject = function(includeInstance, msg)
|
|
|
818
893
|
/**
|
|
819
894
|
* Deserializes binary data (in protobuf wire format).
|
|
820
895
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
821
|
-
* @return {!proto.
|
|
896
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType}
|
|
822
897
|
*/
|
|
823
|
-
proto.
|
|
898
|
+
proto.Drumtracker.DrumProto.DrumType.deserializeBinary = function(bytes) {
|
|
824
899
|
var reader = new jspb.BinaryReader(bytes);
|
|
825
|
-
var msg = new proto.
|
|
826
|
-
return proto.
|
|
900
|
+
var msg = new proto.Drumtracker.DrumProto.DrumType;
|
|
901
|
+
return proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader(msg, reader);
|
|
827
902
|
};
|
|
828
903
|
|
|
829
904
|
|
|
830
905
|
/**
|
|
831
906
|
* Deserializes binary data (in protobuf wire format) from the
|
|
832
907
|
* given reader into the given message object.
|
|
833
|
-
* @param {!proto.
|
|
908
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} msg The message object to deserialize into.
|
|
834
909
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
835
|
-
* @return {!proto.
|
|
910
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType}
|
|
836
911
|
*/
|
|
837
|
-
proto.
|
|
912
|
+
proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader = function(msg, reader) {
|
|
838
913
|
while (reader.nextField()) {
|
|
839
914
|
if (reader.isEndGroup()) {
|
|
840
915
|
break;
|
|
@@ -842,18 +917,22 @@ proto.Drumtracking.DrumProto.DrumType.deserializeBinaryFromReader = function(msg
|
|
|
842
917
|
var field = reader.getFieldNumber();
|
|
843
918
|
switch (field) {
|
|
844
919
|
case 1:
|
|
920
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
921
|
+
msg.setId(value);
|
|
922
|
+
break;
|
|
923
|
+
case 2:
|
|
845
924
|
var value = /** @type {string} */ (reader.readString());
|
|
846
925
|
msg.setName(value);
|
|
847
926
|
break;
|
|
848
|
-
case
|
|
927
|
+
case 3:
|
|
849
928
|
var value = /** @type {number} */ (reader.readInt32());
|
|
850
929
|
msg.setDiameterMin(value);
|
|
851
930
|
break;
|
|
852
|
-
case
|
|
931
|
+
case 4:
|
|
853
932
|
var value = /** @type {number} */ (reader.readInt32());
|
|
854
933
|
msg.setDiameterMax(value);
|
|
855
934
|
break;
|
|
856
|
-
case
|
|
935
|
+
case 5:
|
|
857
936
|
var value = /** @type {number} */ (reader.readInt32());
|
|
858
937
|
msg.setWidth(value);
|
|
859
938
|
break;
|
|
@@ -870,9 +949,9 @@ proto.Drumtracking.DrumProto.DrumType.deserializeBinaryFromReader = function(msg
|
|
|
870
949
|
* Serializes the message to binary data (in protobuf wire format).
|
|
871
950
|
* @return {!Uint8Array}
|
|
872
951
|
*/
|
|
873
|
-
proto.
|
|
952
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.serializeBinary = function() {
|
|
874
953
|
var writer = new jspb.BinaryWriter();
|
|
875
|
-
proto.
|
|
954
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter(this, writer);
|
|
876
955
|
return writer.getResultBuffer();
|
|
877
956
|
};
|
|
878
957
|
|
|
@@ -880,37 +959,44 @@ proto.Drumtracking.DrumProto.DrumType.prototype.serializeBinary = function() {
|
|
|
880
959
|
/**
|
|
881
960
|
* Serializes the given message to binary data (in protobuf wire
|
|
882
961
|
* format), writing to the given BinaryWriter.
|
|
883
|
-
* @param {!proto.
|
|
962
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} message
|
|
884
963
|
* @param {!jspb.BinaryWriter} writer
|
|
885
964
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
886
965
|
*/
|
|
887
|
-
proto.
|
|
966
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter = function(message, writer) {
|
|
888
967
|
var f = undefined;
|
|
968
|
+
f = message.getId();
|
|
969
|
+
if (f !== 0) {
|
|
970
|
+
writer.writeInt32(
|
|
971
|
+
1,
|
|
972
|
+
f
|
|
973
|
+
);
|
|
974
|
+
}
|
|
889
975
|
f = message.getName();
|
|
890
976
|
if (f.length > 0) {
|
|
891
977
|
writer.writeString(
|
|
892
|
-
|
|
978
|
+
2,
|
|
893
979
|
f
|
|
894
980
|
);
|
|
895
981
|
}
|
|
896
982
|
f = message.getDiameterMin();
|
|
897
983
|
if (f !== 0) {
|
|
898
984
|
writer.writeInt32(
|
|
899
|
-
|
|
985
|
+
3,
|
|
900
986
|
f
|
|
901
987
|
);
|
|
902
988
|
}
|
|
903
989
|
f = message.getDiameterMax();
|
|
904
990
|
if (f !== 0) {
|
|
905
991
|
writer.writeInt32(
|
|
906
|
-
|
|
992
|
+
4,
|
|
907
993
|
f
|
|
908
994
|
);
|
|
909
995
|
}
|
|
910
996
|
f = message.getWidth();
|
|
911
997
|
if (f !== 0) {
|
|
912
998
|
writer.writeInt32(
|
|
913
|
-
|
|
999
|
+
5,
|
|
914
1000
|
f
|
|
915
1001
|
);
|
|
916
1002
|
}
|
|
@@ -918,77 +1004,95 @@ proto.Drumtracking.DrumProto.DrumType.serializeBinaryToWriter = function(message
|
|
|
918
1004
|
|
|
919
1005
|
|
|
920
1006
|
/**
|
|
921
|
-
* optional
|
|
922
|
-
* @return {
|
|
1007
|
+
* optional int32 id = 1;
|
|
1008
|
+
* @return {number}
|
|
923
1009
|
*/
|
|
924
|
-
proto.
|
|
925
|
-
return /** @type {
|
|
1010
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getId = function() {
|
|
1011
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
926
1012
|
};
|
|
927
1013
|
|
|
928
1014
|
|
|
929
1015
|
/**
|
|
930
|
-
* @param {
|
|
931
|
-
* @return {!proto.
|
|
1016
|
+
* @param {number} value
|
|
1017
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
932
1018
|
*/
|
|
933
|
-
proto.
|
|
934
|
-
return jspb.Message.
|
|
1019
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setId = function(value) {
|
|
1020
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
935
1021
|
};
|
|
936
1022
|
|
|
937
1023
|
|
|
938
1024
|
/**
|
|
939
|
-
* optional
|
|
940
|
-
* @return {
|
|
1025
|
+
* optional string name = 2;
|
|
1026
|
+
* @return {string}
|
|
941
1027
|
*/
|
|
942
|
-
proto.
|
|
943
|
-
return /** @type {
|
|
1028
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getName = function() {
|
|
1029
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
944
1030
|
};
|
|
945
1031
|
|
|
946
1032
|
|
|
947
1033
|
/**
|
|
948
|
-
* @param {
|
|
949
|
-
* @return {!proto.
|
|
1034
|
+
* @param {string} value
|
|
1035
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
950
1036
|
*/
|
|
951
|
-
proto.
|
|
952
|
-
return jspb.Message.
|
|
1037
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setName = function(value) {
|
|
1038
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
953
1039
|
};
|
|
954
1040
|
|
|
955
1041
|
|
|
956
1042
|
/**
|
|
957
|
-
* optional int32
|
|
1043
|
+
* optional int32 diameter_min = 3;
|
|
958
1044
|
* @return {number}
|
|
959
1045
|
*/
|
|
960
|
-
proto.
|
|
1046
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getDiameterMin = function() {
|
|
961
1047
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
962
1048
|
};
|
|
963
1049
|
|
|
964
1050
|
|
|
965
1051
|
/**
|
|
966
1052
|
* @param {number} value
|
|
967
|
-
* @return {!proto.
|
|
1053
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
968
1054
|
*/
|
|
969
|
-
proto.
|
|
1055
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setDiameterMin = function(value) {
|
|
970
1056
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
971
1057
|
};
|
|
972
1058
|
|
|
973
1059
|
|
|
974
1060
|
/**
|
|
975
|
-
* optional int32
|
|
1061
|
+
* optional int32 diameter_max = 4;
|
|
976
1062
|
* @return {number}
|
|
977
1063
|
*/
|
|
978
|
-
proto.
|
|
1064
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getDiameterMax = function() {
|
|
979
1065
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
980
1066
|
};
|
|
981
1067
|
|
|
982
1068
|
|
|
983
1069
|
/**
|
|
984
1070
|
* @param {number} value
|
|
985
|
-
* @return {!proto.
|
|
1071
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
986
1072
|
*/
|
|
987
|
-
proto.
|
|
1073
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setDiameterMax = function(value) {
|
|
988
1074
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
989
1075
|
};
|
|
990
1076
|
|
|
991
1077
|
|
|
1078
|
+
/**
|
|
1079
|
+
* optional int32 width = 5;
|
|
1080
|
+
* @return {number}
|
|
1081
|
+
*/
|
|
1082
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getWidth = function() {
|
|
1083
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* @param {number} value
|
|
1089
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
1090
|
+
*/
|
|
1091
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setWidth = function(value) {
|
|
1092
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
1093
|
+
};
|
|
1094
|
+
|
|
1095
|
+
|
|
992
1096
|
|
|
993
1097
|
|
|
994
1098
|
|
|
@@ -1005,8 +1109,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1005
1109
|
* http://goto/soy-param-migration
|
|
1006
1110
|
* @return {!Object}
|
|
1007
1111
|
*/
|
|
1008
|
-
proto.
|
|
1009
|
-
return proto.
|
|
1112
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1113
|
+
return proto.Drumtracker.DrumProto.CreateRequest.toObject(opt_includeInstance, this);
|
|
1010
1114
|
};
|
|
1011
1115
|
|
|
1012
1116
|
|
|
@@ -1015,20 +1119,19 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.toObject = function(opt_inc
|
|
|
1015
1119
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1016
1120
|
* the JSPB instance for transitional soy proto support:
|
|
1017
1121
|
* http://goto/soy-param-migration
|
|
1018
|
-
* @param {!proto.
|
|
1122
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} msg The msg instance to transform.
|
|
1019
1123
|
* @return {!Object}
|
|
1020
1124
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1021
1125
|
*/
|
|
1022
|
-
proto.
|
|
1126
|
+
proto.Drumtracker.DrumProto.CreateRequest.toObject = function(includeInstance, msg) {
|
|
1023
1127
|
var f, obj = {
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1128
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1129
|
+
drumTypeId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1130
|
+
cableTypeId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1027
1131
|
groupId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1028
1132
|
cableLength: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
customerReference: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
1133
|
+
salesReference: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1134
|
+
customerReference: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
1032
1135
|
};
|
|
1033
1136
|
|
|
1034
1137
|
if (includeInstance) {
|
|
@@ -1042,23 +1145,23 @@ proto.Drumtracking.DrumProto.CreateRequest.toObject = function(includeInstance,
|
|
|
1042
1145
|
/**
|
|
1043
1146
|
* Deserializes binary data (in protobuf wire format).
|
|
1044
1147
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1045
|
-
* @return {!proto.
|
|
1148
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest}
|
|
1046
1149
|
*/
|
|
1047
|
-
proto.
|
|
1150
|
+
proto.Drumtracker.DrumProto.CreateRequest.deserializeBinary = function(bytes) {
|
|
1048
1151
|
var reader = new jspb.BinaryReader(bytes);
|
|
1049
|
-
var msg = new proto.
|
|
1050
|
-
return proto.
|
|
1152
|
+
var msg = new proto.Drumtracker.DrumProto.CreateRequest;
|
|
1153
|
+
return proto.Drumtracker.DrumProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
|
|
1051
1154
|
};
|
|
1052
1155
|
|
|
1053
1156
|
|
|
1054
1157
|
/**
|
|
1055
1158
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1056
1159
|
* given reader into the given message object.
|
|
1057
|
-
* @param {!proto.
|
|
1160
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} msg The message object to deserialize into.
|
|
1058
1161
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1059
|
-
* @return {!proto.
|
|
1162
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest}
|
|
1060
1163
|
*/
|
|
1061
|
-
proto.
|
|
1164
|
+
proto.Drumtracker.DrumProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1062
1165
|
while (reader.nextField()) {
|
|
1063
1166
|
if (reader.isEndGroup()) {
|
|
1064
1167
|
break;
|
|
@@ -1066,18 +1169,16 @@ proto.Drumtracking.DrumProto.CreateRequest.deserializeBinaryFromReader = functio
|
|
|
1066
1169
|
var field = reader.getFieldNumber();
|
|
1067
1170
|
switch (field) {
|
|
1068
1171
|
case 1:
|
|
1069
|
-
var value = /** @type {
|
|
1070
|
-
msg.
|
|
1172
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1173
|
+
msg.setName(value);
|
|
1071
1174
|
break;
|
|
1072
1175
|
case 2:
|
|
1073
|
-
var value =
|
|
1074
|
-
|
|
1075
|
-
msg.setDrumType(value);
|
|
1176
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1177
|
+
msg.setDrumTypeId(value);
|
|
1076
1178
|
break;
|
|
1077
1179
|
case 3:
|
|
1078
|
-
var value =
|
|
1079
|
-
|
|
1080
|
-
msg.setCableType(value);
|
|
1180
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1181
|
+
msg.setCableTypeId(value);
|
|
1081
1182
|
break;
|
|
1082
1183
|
case 4:
|
|
1083
1184
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -1088,14 +1189,10 @@ proto.Drumtracking.DrumProto.CreateRequest.deserializeBinaryFromReader = functio
|
|
|
1088
1189
|
msg.setCableLength(value);
|
|
1089
1190
|
break;
|
|
1090
1191
|
case 6:
|
|
1091
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
1092
|
-
msg.setResidualLength(value);
|
|
1093
|
-
break;
|
|
1094
|
-
case 7:
|
|
1095
1192
|
var value = /** @type {string} */ (reader.readString());
|
|
1096
1193
|
msg.setSalesReference(value);
|
|
1097
1194
|
break;
|
|
1098
|
-
case
|
|
1195
|
+
case 7:
|
|
1099
1196
|
var value = /** @type {string} */ (reader.readString());
|
|
1100
1197
|
msg.setCustomerReference(value);
|
|
1101
1198
|
break;
|
|
@@ -1112,9 +1209,9 @@ proto.Drumtracking.DrumProto.CreateRequest.deserializeBinaryFromReader = functio
|
|
|
1112
1209
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1113
1210
|
* @return {!Uint8Array}
|
|
1114
1211
|
*/
|
|
1115
|
-
proto.
|
|
1212
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.serializeBinary = function() {
|
|
1116
1213
|
var writer = new jspb.BinaryWriter();
|
|
1117
|
-
proto.
|
|
1214
|
+
proto.Drumtracker.DrumProto.CreateRequest.serializeBinaryToWriter(this, writer);
|
|
1118
1215
|
return writer.getResultBuffer();
|
|
1119
1216
|
};
|
|
1120
1217
|
|
|
@@ -1122,33 +1219,31 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.serializeBinary = function(
|
|
|
1122
1219
|
/**
|
|
1123
1220
|
* Serializes the given message to binary data (in protobuf wire
|
|
1124
1221
|
* format), writing to the given BinaryWriter.
|
|
1125
|
-
* @param {!proto.
|
|
1222
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} message
|
|
1126
1223
|
* @param {!jspb.BinaryWriter} writer
|
|
1127
1224
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1128
1225
|
*/
|
|
1129
|
-
proto.
|
|
1226
|
+
proto.Drumtracker.DrumProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1130
1227
|
var f = undefined;
|
|
1131
|
-
f = message.
|
|
1132
|
-
if (f
|
|
1133
|
-
writer.
|
|
1228
|
+
f = message.getName();
|
|
1229
|
+
if (f.length > 0) {
|
|
1230
|
+
writer.writeString(
|
|
1134
1231
|
1,
|
|
1135
1232
|
f
|
|
1136
1233
|
);
|
|
1137
1234
|
}
|
|
1138
|
-
f = message.
|
|
1139
|
-
if (f
|
|
1140
|
-
writer.
|
|
1235
|
+
f = message.getDrumTypeId();
|
|
1236
|
+
if (f !== 0) {
|
|
1237
|
+
writer.writeInt32(
|
|
1141
1238
|
2,
|
|
1142
|
-
f
|
|
1143
|
-
proto.Drumtracking.DrumProto.DrumType.serializeBinaryToWriter
|
|
1239
|
+
f
|
|
1144
1240
|
);
|
|
1145
1241
|
}
|
|
1146
|
-
f = message.
|
|
1147
|
-
if (f
|
|
1148
|
-
writer.
|
|
1242
|
+
f = message.getCableTypeId();
|
|
1243
|
+
if (f !== 0) {
|
|
1244
|
+
writer.writeInt32(
|
|
1149
1245
|
3,
|
|
1150
|
-
f
|
|
1151
|
-
proto.Drumtracking.DrumProto.DrumType.serializeBinaryToWriter
|
|
1246
|
+
f
|
|
1152
1247
|
);
|
|
1153
1248
|
}
|
|
1154
1249
|
f = message.getGroupId();
|
|
@@ -1165,24 +1260,17 @@ proto.Drumtracking.DrumProto.CreateRequest.serializeBinaryToWriter = function(me
|
|
|
1165
1260
|
f
|
|
1166
1261
|
);
|
|
1167
1262
|
}
|
|
1168
|
-
f = message.getResidualLength();
|
|
1169
|
-
if (f !== 0) {
|
|
1170
|
-
writer.writeInt32(
|
|
1171
|
-
6,
|
|
1172
|
-
f
|
|
1173
|
-
);
|
|
1174
|
-
}
|
|
1175
1263
|
f = message.getSalesReference();
|
|
1176
1264
|
if (f.length > 0) {
|
|
1177
1265
|
writer.writeString(
|
|
1178
|
-
|
|
1266
|
+
6,
|
|
1179
1267
|
f
|
|
1180
1268
|
);
|
|
1181
1269
|
}
|
|
1182
1270
|
f = message.getCustomerReference();
|
|
1183
1271
|
if (f.length > 0) {
|
|
1184
1272
|
writer.writeString(
|
|
1185
|
-
|
|
1273
|
+
7,
|
|
1186
1274
|
f
|
|
1187
1275
|
);
|
|
1188
1276
|
}
|
|
@@ -1190,94 +1278,56 @@ proto.Drumtracking.DrumProto.CreateRequest.serializeBinaryToWriter = function(me
|
|
|
1190
1278
|
|
|
1191
1279
|
|
|
1192
1280
|
/**
|
|
1193
|
-
* optional
|
|
1194
|
-
* @return {
|
|
1195
|
-
*/
|
|
1196
|
-
proto.Drumtracking.DrumProto.CreateRequest.prototype.getDrumNumber = function() {
|
|
1197
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1198
|
-
};
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
/**
|
|
1202
|
-
* @param {number} value
|
|
1203
|
-
* @return {!proto.Drumtracking.DrumProto.CreateRequest} returns this
|
|
1204
|
-
*/
|
|
1205
|
-
proto.Drumtracking.DrumProto.CreateRequest.prototype.setDrumNumber = function(value) {
|
|
1206
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1207
|
-
};
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
* optional DrumType drum_type = 2;
|
|
1212
|
-
* @return {?proto.Drumtracking.DrumProto.DrumType}
|
|
1281
|
+
* optional string name = 1;
|
|
1282
|
+
* @return {string}
|
|
1213
1283
|
*/
|
|
1214
|
-
proto.
|
|
1215
|
-
return /** @type{
|
|
1216
|
-
jspb.Message.getWrapperField(this, proto.Drumtracking.DrumProto.DrumType, 2));
|
|
1217
|
-
};
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
/**
|
|
1221
|
-
* @param {?proto.Drumtracking.DrumProto.DrumType|undefined} value
|
|
1222
|
-
* @return {!proto.Drumtracking.DrumProto.CreateRequest} returns this
|
|
1223
|
-
*/
|
|
1224
|
-
proto.Drumtracking.DrumProto.CreateRequest.prototype.setDrumType = function(value) {
|
|
1225
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
1284
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getName = function() {
|
|
1285
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1226
1286
|
};
|
|
1227
1287
|
|
|
1228
1288
|
|
|
1229
1289
|
/**
|
|
1230
|
-
*
|
|
1231
|
-
* @return {!proto.
|
|
1290
|
+
* @param {string} value
|
|
1291
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1232
1292
|
*/
|
|
1233
|
-
proto.
|
|
1234
|
-
return
|
|
1293
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setName = function(value) {
|
|
1294
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1235
1295
|
};
|
|
1236
1296
|
|
|
1237
1297
|
|
|
1238
1298
|
/**
|
|
1239
|
-
*
|
|
1240
|
-
* @return {
|
|
1299
|
+
* optional int32 drum_type_id = 2;
|
|
1300
|
+
* @return {number}
|
|
1241
1301
|
*/
|
|
1242
|
-
proto.
|
|
1243
|
-
return jspb.Message.
|
|
1302
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getDrumTypeId = function() {
|
|
1303
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1244
1304
|
};
|
|
1245
1305
|
|
|
1246
1306
|
|
|
1247
1307
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
* @return {
|
|
1308
|
+
* @param {number} value
|
|
1309
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1250
1310
|
*/
|
|
1251
|
-
proto.
|
|
1252
|
-
return
|
|
1253
|
-
jspb.Message.getWrapperField(this, proto.Drumtracking.DrumProto.DrumType, 3));
|
|
1254
|
-
};
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
/**
|
|
1258
|
-
* @param {?proto.Drumtracking.DrumProto.DrumType|undefined} value
|
|
1259
|
-
* @return {!proto.Drumtracking.DrumProto.CreateRequest} returns this
|
|
1260
|
-
*/
|
|
1261
|
-
proto.Drumtracking.DrumProto.CreateRequest.prototype.setCableType = function(value) {
|
|
1262
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
1311
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setDrumTypeId = function(value) {
|
|
1312
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1263
1313
|
};
|
|
1264
1314
|
|
|
1265
1315
|
|
|
1266
1316
|
/**
|
|
1267
|
-
*
|
|
1268
|
-
* @return {
|
|
1317
|
+
* optional int32 cable_type_id = 3;
|
|
1318
|
+
* @return {number}
|
|
1269
1319
|
*/
|
|
1270
|
-
proto.
|
|
1271
|
-
return
|
|
1320
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCableTypeId = function() {
|
|
1321
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1272
1322
|
};
|
|
1273
1323
|
|
|
1274
1324
|
|
|
1275
1325
|
/**
|
|
1276
|
-
*
|
|
1277
|
-
* @return {
|
|
1326
|
+
* @param {number} value
|
|
1327
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1278
1328
|
*/
|
|
1279
|
-
proto.
|
|
1280
|
-
return jspb.Message.
|
|
1329
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCableTypeId = function(value) {
|
|
1330
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
1281
1331
|
};
|
|
1282
1332
|
|
|
1283
1333
|
|
|
@@ -1285,16 +1335,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.hasCableType = function() {
|
|
|
1285
1335
|
* optional string group_id = 4;
|
|
1286
1336
|
* @return {string}
|
|
1287
1337
|
*/
|
|
1288
|
-
proto.
|
|
1338
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getGroupId = function() {
|
|
1289
1339
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1290
1340
|
};
|
|
1291
1341
|
|
|
1292
1342
|
|
|
1293
1343
|
/**
|
|
1294
1344
|
* @param {string} value
|
|
1295
|
-
* @return {!proto.
|
|
1345
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1296
1346
|
*/
|
|
1297
|
-
proto.
|
|
1347
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setGroupId = function(value) {
|
|
1298
1348
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1299
1349
|
};
|
|
1300
1350
|
|
|
@@ -1303,71 +1353,53 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setGroupId = function(value
|
|
|
1303
1353
|
* optional int32 cable_length = 5;
|
|
1304
1354
|
* @return {number}
|
|
1305
1355
|
*/
|
|
1306
|
-
proto.
|
|
1356
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCableLength = function() {
|
|
1307
1357
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1308
1358
|
};
|
|
1309
1359
|
|
|
1310
1360
|
|
|
1311
1361
|
/**
|
|
1312
1362
|
* @param {number} value
|
|
1313
|
-
* @return {!proto.
|
|
1363
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1314
1364
|
*/
|
|
1315
|
-
proto.
|
|
1365
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCableLength = function(value) {
|
|
1316
1366
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
1317
1367
|
};
|
|
1318
1368
|
|
|
1319
1369
|
|
|
1320
1370
|
/**
|
|
1321
|
-
* optional
|
|
1322
|
-
* @return {number}
|
|
1323
|
-
*/
|
|
1324
|
-
proto.Drumtracking.DrumProto.CreateRequest.prototype.getResidualLength = function() {
|
|
1325
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1326
|
-
};
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
/**
|
|
1330
|
-
* @param {number} value
|
|
1331
|
-
* @return {!proto.Drumtracking.DrumProto.CreateRequest} returns this
|
|
1332
|
-
*/
|
|
1333
|
-
proto.Drumtracking.DrumProto.CreateRequest.prototype.setResidualLength = function(value) {
|
|
1334
|
-
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1335
|
-
};
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1339
|
-
* optional string sales_reference = 7;
|
|
1371
|
+
* optional string sales_reference = 6;
|
|
1340
1372
|
* @return {string}
|
|
1341
1373
|
*/
|
|
1342
|
-
proto.
|
|
1343
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1374
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getSalesReference = function() {
|
|
1375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1344
1376
|
};
|
|
1345
1377
|
|
|
1346
1378
|
|
|
1347
1379
|
/**
|
|
1348
1380
|
* @param {string} value
|
|
1349
|
-
* @return {!proto.
|
|
1381
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1350
1382
|
*/
|
|
1351
|
-
proto.
|
|
1352
|
-
return jspb.Message.setProto3StringField(this,
|
|
1383
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setSalesReference = function(value) {
|
|
1384
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1353
1385
|
};
|
|
1354
1386
|
|
|
1355
1387
|
|
|
1356
1388
|
/**
|
|
1357
|
-
* optional string customer_reference =
|
|
1389
|
+
* optional string customer_reference = 7;
|
|
1358
1390
|
* @return {string}
|
|
1359
1391
|
*/
|
|
1360
|
-
proto.
|
|
1361
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1392
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCustomerReference = function() {
|
|
1393
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1362
1394
|
};
|
|
1363
1395
|
|
|
1364
1396
|
|
|
1365
1397
|
/**
|
|
1366
1398
|
* @param {string} value
|
|
1367
|
-
* @return {!proto.
|
|
1399
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1368
1400
|
*/
|
|
1369
|
-
proto.
|
|
1370
|
-
return jspb.Message.setProto3StringField(this,
|
|
1401
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCustomerReference = function(value) {
|
|
1402
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1371
1403
|
};
|
|
1372
1404
|
|
|
1373
1405
|
|
|
@@ -1380,22 +1412,22 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setCustomerReference = func
|
|
|
1380
1412
|
* @private {!Array<!Array<number>>}
|
|
1381
1413
|
* @const
|
|
1382
1414
|
*/
|
|
1383
|
-
proto.
|
|
1415
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_ = [[1,2]];
|
|
1384
1416
|
|
|
1385
1417
|
/**
|
|
1386
1418
|
* @enum {number}
|
|
1387
1419
|
*/
|
|
1388
|
-
proto.
|
|
1420
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase = {
|
|
1389
1421
|
SEARCH_NOT_SET: 0,
|
|
1390
1422
|
ID: 1,
|
|
1391
1423
|
DRUM_NUMBER: 2
|
|
1392
1424
|
};
|
|
1393
1425
|
|
|
1394
1426
|
/**
|
|
1395
|
-
* @return {proto.
|
|
1427
|
+
* @return {proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase}
|
|
1396
1428
|
*/
|
|
1397
|
-
proto.
|
|
1398
|
-
return /** @type {proto.
|
|
1429
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getSearchCase = function() {
|
|
1430
|
+
return /** @type {proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0]));
|
|
1399
1431
|
};
|
|
1400
1432
|
|
|
1401
1433
|
|
|
@@ -1413,8 +1445,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1413
1445
|
* http://goto/soy-param-migration
|
|
1414
1446
|
* @return {!Object}
|
|
1415
1447
|
*/
|
|
1416
|
-
proto.
|
|
1417
|
-
return proto.
|
|
1448
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1449
|
+
return proto.Drumtracker.DrumProto.RetrieveRequest.toObject(opt_includeInstance, this);
|
|
1418
1450
|
};
|
|
1419
1451
|
|
|
1420
1452
|
|
|
@@ -1423,11 +1455,11 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.toObject = function(opt_i
|
|
|
1423
1455
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1424
1456
|
* the JSPB instance for transitional soy proto support:
|
|
1425
1457
|
* http://goto/soy-param-migration
|
|
1426
|
-
* @param {!proto.
|
|
1458
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} msg The msg instance to transform.
|
|
1427
1459
|
* @return {!Object}
|
|
1428
1460
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1429
1461
|
*/
|
|
1430
|
-
proto.
|
|
1462
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
1431
1463
|
var f, obj = {
|
|
1432
1464
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1433
1465
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -1444,23 +1476,23 @@ proto.Drumtracking.DrumProto.RetrieveRequest.toObject = function(includeInstance
|
|
|
1444
1476
|
/**
|
|
1445
1477
|
* Deserializes binary data (in protobuf wire format).
|
|
1446
1478
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1447
|
-
* @return {!proto.
|
|
1479
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest}
|
|
1448
1480
|
*/
|
|
1449
|
-
proto.
|
|
1481
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinary = function(bytes) {
|
|
1450
1482
|
var reader = new jspb.BinaryReader(bytes);
|
|
1451
|
-
var msg = new proto.
|
|
1452
|
-
return proto.
|
|
1483
|
+
var msg = new proto.Drumtracker.DrumProto.RetrieveRequest;
|
|
1484
|
+
return proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
|
|
1453
1485
|
};
|
|
1454
1486
|
|
|
1455
1487
|
|
|
1456
1488
|
/**
|
|
1457
1489
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1458
1490
|
* given reader into the given message object.
|
|
1459
|
-
* @param {!proto.
|
|
1491
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} msg The message object to deserialize into.
|
|
1460
1492
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1461
|
-
* @return {!proto.
|
|
1493
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest}
|
|
1462
1494
|
*/
|
|
1463
|
-
proto.
|
|
1495
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1464
1496
|
while (reader.nextField()) {
|
|
1465
1497
|
if (reader.isEndGroup()) {
|
|
1466
1498
|
break;
|
|
@@ -1488,9 +1520,9 @@ proto.Drumtracking.DrumProto.RetrieveRequest.deserializeBinaryFromReader = funct
|
|
|
1488
1520
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1489
1521
|
* @return {!Uint8Array}
|
|
1490
1522
|
*/
|
|
1491
|
-
proto.
|
|
1523
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.serializeBinary = function() {
|
|
1492
1524
|
var writer = new jspb.BinaryWriter();
|
|
1493
|
-
proto.
|
|
1525
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
|
|
1494
1526
|
return writer.getResultBuffer();
|
|
1495
1527
|
};
|
|
1496
1528
|
|
|
@@ -1498,11 +1530,11 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.serializeBinary = functio
|
|
|
1498
1530
|
/**
|
|
1499
1531
|
* Serializes the given message to binary data (in protobuf wire
|
|
1500
1532
|
* format), writing to the given BinaryWriter.
|
|
1501
|
-
* @param {!proto.
|
|
1533
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} message
|
|
1502
1534
|
* @param {!jspb.BinaryWriter} writer
|
|
1503
1535
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1504
1536
|
*/
|
|
1505
|
-
proto.
|
|
1537
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1506
1538
|
var f = undefined;
|
|
1507
1539
|
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
1508
1540
|
if (f != null) {
|
|
@@ -1525,26 +1557,26 @@ proto.Drumtracking.DrumProto.RetrieveRequest.serializeBinaryToWriter = function(
|
|
|
1525
1557
|
* optional int64 id = 1;
|
|
1526
1558
|
* @return {number}
|
|
1527
1559
|
*/
|
|
1528
|
-
proto.
|
|
1560
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getId = function() {
|
|
1529
1561
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1530
1562
|
};
|
|
1531
1563
|
|
|
1532
1564
|
|
|
1533
1565
|
/**
|
|
1534
1566
|
* @param {number} value
|
|
1535
|
-
* @return {!proto.
|
|
1567
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1536
1568
|
*/
|
|
1537
|
-
proto.
|
|
1538
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
1569
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.setId = function(value) {
|
|
1570
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], value);
|
|
1539
1571
|
};
|
|
1540
1572
|
|
|
1541
1573
|
|
|
1542
1574
|
/**
|
|
1543
1575
|
* Clears the field making it undefined.
|
|
1544
|
-
* @return {!proto.
|
|
1576
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1545
1577
|
*/
|
|
1546
|
-
proto.
|
|
1547
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
1578
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.clearId = function() {
|
|
1579
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
1548
1580
|
};
|
|
1549
1581
|
|
|
1550
1582
|
|
|
@@ -1552,7 +1584,7 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.clearId = function() {
|
|
|
1552
1584
|
* Returns whether this field is set.
|
|
1553
1585
|
* @return {boolean}
|
|
1554
1586
|
*/
|
|
1555
|
-
proto.
|
|
1587
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.hasId = function() {
|
|
1556
1588
|
return jspb.Message.getField(this, 1) != null;
|
|
1557
1589
|
};
|
|
1558
1590
|
|
|
@@ -1561,26 +1593,26 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.hasId = function() {
|
|
|
1561
1593
|
* optional int64 drum_number = 2;
|
|
1562
1594
|
* @return {number}
|
|
1563
1595
|
*/
|
|
1564
|
-
proto.
|
|
1596
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getDrumNumber = function() {
|
|
1565
1597
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1566
1598
|
};
|
|
1567
1599
|
|
|
1568
1600
|
|
|
1569
1601
|
/**
|
|
1570
1602
|
* @param {number} value
|
|
1571
|
-
* @return {!proto.
|
|
1603
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1572
1604
|
*/
|
|
1573
|
-
proto.
|
|
1574
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
1605
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.setDrumNumber = function(value) {
|
|
1606
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], value);
|
|
1575
1607
|
};
|
|
1576
1608
|
|
|
1577
1609
|
|
|
1578
1610
|
/**
|
|
1579
1611
|
* Clears the field making it undefined.
|
|
1580
|
-
* @return {!proto.
|
|
1612
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1581
1613
|
*/
|
|
1582
|
-
proto.
|
|
1583
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
1614
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.clearDrumNumber = function() {
|
|
1615
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
1584
1616
|
};
|
|
1585
1617
|
|
|
1586
1618
|
|
|
@@ -1588,7 +1620,7 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.clearDrumNumber = functio
|
|
|
1588
1620
|
* Returns whether this field is set.
|
|
1589
1621
|
* @return {boolean}
|
|
1590
1622
|
*/
|
|
1591
|
-
proto.
|
|
1623
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.hasDrumNumber = function() {
|
|
1592
1624
|
return jspb.Message.getField(this, 2) != null;
|
|
1593
1625
|
};
|
|
1594
1626
|
|
|
@@ -1609,8 +1641,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1609
1641
|
* http://goto/soy-param-migration
|
|
1610
1642
|
* @return {!Object}
|
|
1611
1643
|
*/
|
|
1612
|
-
proto.
|
|
1613
|
-
return proto.
|
|
1644
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1645
|
+
return proto.Drumtracker.DrumProto.UpdateRequest.toObject(opt_includeInstance, this);
|
|
1614
1646
|
};
|
|
1615
1647
|
|
|
1616
1648
|
|
|
@@ -1619,21 +1651,20 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.toObject = function(opt_inc
|
|
|
1619
1651
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1620
1652
|
* the JSPB instance for transitional soy proto support:
|
|
1621
1653
|
* http://goto/soy-param-migration
|
|
1622
|
-
* @param {!proto.
|
|
1654
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} msg The msg instance to transform.
|
|
1623
1655
|
* @return {!Object}
|
|
1624
1656
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1625
1657
|
*/
|
|
1626
|
-
proto.
|
|
1658
|
+
proto.Drumtracker.DrumProto.UpdateRequest.toObject = function(includeInstance, msg) {
|
|
1627
1659
|
var f, obj = {
|
|
1628
1660
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1661
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1662
|
+
drumTypeId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1663
|
+
cableTypeId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1632
1664
|
groupId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1633
1665
|
cableLength: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
customerReference: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1666
|
+
salesReference: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1667
|
+
customerReference: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
1637
1668
|
};
|
|
1638
1669
|
|
|
1639
1670
|
if (includeInstance) {
|
|
@@ -1647,23 +1678,23 @@ proto.Drumtracking.DrumProto.UpdateRequest.toObject = function(includeInstance,
|
|
|
1647
1678
|
/**
|
|
1648
1679
|
* Deserializes binary data (in protobuf wire format).
|
|
1649
1680
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1650
|
-
* @return {!proto.
|
|
1681
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest}
|
|
1651
1682
|
*/
|
|
1652
|
-
proto.
|
|
1683
|
+
proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinary = function(bytes) {
|
|
1653
1684
|
var reader = new jspb.BinaryReader(bytes);
|
|
1654
|
-
var msg = new proto.
|
|
1655
|
-
return proto.
|
|
1685
|
+
var msg = new proto.Drumtracker.DrumProto.UpdateRequest;
|
|
1686
|
+
return proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
1656
1687
|
};
|
|
1657
1688
|
|
|
1658
1689
|
|
|
1659
1690
|
/**
|
|
1660
1691
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1661
1692
|
* given reader into the given message object.
|
|
1662
|
-
* @param {!proto.
|
|
1693
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} msg The message object to deserialize into.
|
|
1663
1694
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1664
|
-
* @return {!proto.
|
|
1695
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest}
|
|
1665
1696
|
*/
|
|
1666
|
-
proto.
|
|
1697
|
+
proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1667
1698
|
while (reader.nextField()) {
|
|
1668
1699
|
if (reader.isEndGroup()) {
|
|
1669
1700
|
break;
|
|
@@ -1675,18 +1706,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.deserializeBinaryFromReader = functio
|
|
|
1675
1706
|
msg.setId(value);
|
|
1676
1707
|
break;
|
|
1677
1708
|
case 2:
|
|
1678
|
-
var value = /** @type {
|
|
1679
|
-
msg.
|
|
1709
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1710
|
+
msg.setName(value);
|
|
1680
1711
|
break;
|
|
1681
1712
|
case 3:
|
|
1682
|
-
var value =
|
|
1683
|
-
|
|
1684
|
-
msg.setDrumType(value);
|
|
1713
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1714
|
+
msg.setDrumTypeId(value);
|
|
1685
1715
|
break;
|
|
1686
1716
|
case 4:
|
|
1687
|
-
var value =
|
|
1688
|
-
|
|
1689
|
-
msg.setCableType(value);
|
|
1717
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1718
|
+
msg.setCableTypeId(value);
|
|
1690
1719
|
break;
|
|
1691
1720
|
case 5:
|
|
1692
1721
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -1697,14 +1726,10 @@ proto.Drumtracking.DrumProto.UpdateRequest.deserializeBinaryFromReader = functio
|
|
|
1697
1726
|
msg.setCableLength(value);
|
|
1698
1727
|
break;
|
|
1699
1728
|
case 7:
|
|
1700
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
1701
|
-
msg.setResidualLength(value);
|
|
1702
|
-
break;
|
|
1703
|
-
case 8:
|
|
1704
1729
|
var value = /** @type {string} */ (reader.readString());
|
|
1705
1730
|
msg.setSalesReference(value);
|
|
1706
1731
|
break;
|
|
1707
|
-
case
|
|
1732
|
+
case 8:
|
|
1708
1733
|
var value = /** @type {string} */ (reader.readString());
|
|
1709
1734
|
msg.setCustomerReference(value);
|
|
1710
1735
|
break;
|
|
@@ -1721,9 +1746,9 @@ proto.Drumtracking.DrumProto.UpdateRequest.deserializeBinaryFromReader = functio
|
|
|
1721
1746
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1722
1747
|
* @return {!Uint8Array}
|
|
1723
1748
|
*/
|
|
1724
|
-
proto.
|
|
1749
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.serializeBinary = function() {
|
|
1725
1750
|
var writer = new jspb.BinaryWriter();
|
|
1726
|
-
proto.
|
|
1751
|
+
proto.Drumtracker.DrumProto.UpdateRequest.serializeBinaryToWriter(this, writer);
|
|
1727
1752
|
return writer.getResultBuffer();
|
|
1728
1753
|
};
|
|
1729
1754
|
|
|
@@ -1731,11 +1756,11 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.serializeBinary = function(
|
|
|
1731
1756
|
/**
|
|
1732
1757
|
* Serializes the given message to binary data (in protobuf wire
|
|
1733
1758
|
* format), writing to the given BinaryWriter.
|
|
1734
|
-
* @param {!proto.
|
|
1759
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} message
|
|
1735
1760
|
* @param {!jspb.BinaryWriter} writer
|
|
1736
1761
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1737
1762
|
*/
|
|
1738
|
-
proto.
|
|
1763
|
+
proto.Drumtracker.DrumProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1739
1764
|
var f = undefined;
|
|
1740
1765
|
f = message.getId();
|
|
1741
1766
|
if (f !== 0) {
|
|
@@ -1744,27 +1769,25 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1744
1769
|
f
|
|
1745
1770
|
);
|
|
1746
1771
|
}
|
|
1747
|
-
f = message.
|
|
1748
|
-
if (f
|
|
1749
|
-
writer.
|
|
1772
|
+
f = message.getName();
|
|
1773
|
+
if (f.length > 0) {
|
|
1774
|
+
writer.writeString(
|
|
1750
1775
|
2,
|
|
1751
1776
|
f
|
|
1752
1777
|
);
|
|
1753
1778
|
}
|
|
1754
|
-
f = message.
|
|
1755
|
-
if (f
|
|
1756
|
-
writer.
|
|
1779
|
+
f = message.getDrumTypeId();
|
|
1780
|
+
if (f !== 0) {
|
|
1781
|
+
writer.writeInt32(
|
|
1757
1782
|
3,
|
|
1758
|
-
f
|
|
1759
|
-
proto.Drumtracking.DrumProto.DrumType.serializeBinaryToWriter
|
|
1783
|
+
f
|
|
1760
1784
|
);
|
|
1761
1785
|
}
|
|
1762
|
-
f = message.
|
|
1763
|
-
if (f
|
|
1764
|
-
writer.
|
|
1786
|
+
f = message.getCableTypeId();
|
|
1787
|
+
if (f !== 0) {
|
|
1788
|
+
writer.writeInt32(
|
|
1765
1789
|
4,
|
|
1766
|
-
f
|
|
1767
|
-
proto.Drumtracking.DrumProto.DrumType.serializeBinaryToWriter
|
|
1790
|
+
f
|
|
1768
1791
|
);
|
|
1769
1792
|
}
|
|
1770
1793
|
f = message.getGroupId();
|
|
@@ -1781,24 +1804,17 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1781
1804
|
f
|
|
1782
1805
|
);
|
|
1783
1806
|
}
|
|
1784
|
-
f = message.getResidualLength();
|
|
1785
|
-
if (f !== 0) {
|
|
1786
|
-
writer.writeInt32(
|
|
1787
|
-
7,
|
|
1788
|
-
f
|
|
1789
|
-
);
|
|
1790
|
-
}
|
|
1791
1807
|
f = message.getSalesReference();
|
|
1792
1808
|
if (f.length > 0) {
|
|
1793
1809
|
writer.writeString(
|
|
1794
|
-
|
|
1810
|
+
7,
|
|
1795
1811
|
f
|
|
1796
1812
|
);
|
|
1797
1813
|
}
|
|
1798
1814
|
f = message.getCustomerReference();
|
|
1799
1815
|
if (f.length > 0) {
|
|
1800
1816
|
writer.writeString(
|
|
1801
|
-
|
|
1817
|
+
8,
|
|
1802
1818
|
f
|
|
1803
1819
|
);
|
|
1804
1820
|
}
|
|
@@ -1809,109 +1825,71 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1809
1825
|
* optional int64 id = 1;
|
|
1810
1826
|
* @return {number}
|
|
1811
1827
|
*/
|
|
1812
|
-
proto.
|
|
1828
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getId = function() {
|
|
1813
1829
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1814
1830
|
};
|
|
1815
1831
|
|
|
1816
1832
|
|
|
1817
1833
|
/**
|
|
1818
1834
|
* @param {number} value
|
|
1819
|
-
* @return {!proto.
|
|
1835
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1820
1836
|
*/
|
|
1821
|
-
proto.
|
|
1837
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setId = function(value) {
|
|
1822
1838
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1823
1839
|
};
|
|
1824
1840
|
|
|
1825
1841
|
|
|
1826
1842
|
/**
|
|
1827
|
-
* optional
|
|
1828
|
-
* @return {
|
|
1829
|
-
*/
|
|
1830
|
-
proto.Drumtracking.DrumProto.UpdateRequest.prototype.getDrumNumber = function() {
|
|
1831
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1832
|
-
};
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
/**
|
|
1836
|
-
* @param {number} value
|
|
1837
|
-
* @return {!proto.Drumtracking.DrumProto.UpdateRequest} returns this
|
|
1838
|
-
*/
|
|
1839
|
-
proto.Drumtracking.DrumProto.UpdateRequest.prototype.setDrumNumber = function(value) {
|
|
1840
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1841
|
-
};
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
/**
|
|
1845
|
-
* optional DrumType drum_type = 3;
|
|
1846
|
-
* @return {?proto.Drumtracking.DrumProto.DrumType}
|
|
1843
|
+
* optional string name = 2;
|
|
1844
|
+
* @return {string}
|
|
1847
1845
|
*/
|
|
1848
|
-
proto.
|
|
1849
|
-
return /** @type{
|
|
1850
|
-
jspb.Message.getWrapperField(this, proto.Drumtracking.DrumProto.DrumType, 3));
|
|
1851
|
-
};
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
/**
|
|
1855
|
-
* @param {?proto.Drumtracking.DrumProto.DrumType|undefined} value
|
|
1856
|
-
* @return {!proto.Drumtracking.DrumProto.UpdateRequest} returns this
|
|
1857
|
-
*/
|
|
1858
|
-
proto.Drumtracking.DrumProto.UpdateRequest.prototype.setDrumType = function(value) {
|
|
1859
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
1846
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getName = function() {
|
|
1847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1860
1848
|
};
|
|
1861
1849
|
|
|
1862
1850
|
|
|
1863
1851
|
/**
|
|
1864
|
-
*
|
|
1865
|
-
* @return {!proto.
|
|
1852
|
+
* @param {string} value
|
|
1853
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1866
1854
|
*/
|
|
1867
|
-
proto.
|
|
1868
|
-
return
|
|
1855
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setName = function(value) {
|
|
1856
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1869
1857
|
};
|
|
1870
1858
|
|
|
1871
1859
|
|
|
1872
1860
|
/**
|
|
1873
|
-
*
|
|
1874
|
-
* @return {
|
|
1861
|
+
* optional int32 drum_type_id = 3;
|
|
1862
|
+
* @return {number}
|
|
1875
1863
|
*/
|
|
1876
|
-
proto.
|
|
1877
|
-
return jspb.Message.
|
|
1864
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getDrumTypeId = function() {
|
|
1865
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1878
1866
|
};
|
|
1879
1867
|
|
|
1880
1868
|
|
|
1881
1869
|
/**
|
|
1882
|
-
*
|
|
1883
|
-
* @return {
|
|
1870
|
+
* @param {number} value
|
|
1871
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1884
1872
|
*/
|
|
1885
|
-
proto.
|
|
1886
|
-
return
|
|
1887
|
-
jspb.Message.getWrapperField(this, proto.Drumtracking.DrumProto.DrumType, 4));
|
|
1888
|
-
};
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
/**
|
|
1892
|
-
* @param {?proto.Drumtracking.DrumProto.DrumType|undefined} value
|
|
1893
|
-
* @return {!proto.Drumtracking.DrumProto.UpdateRequest} returns this
|
|
1894
|
-
*/
|
|
1895
|
-
proto.Drumtracking.DrumProto.UpdateRequest.prototype.setCableType = function(value) {
|
|
1896
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
1873
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setDrumTypeId = function(value) {
|
|
1874
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
1897
1875
|
};
|
|
1898
1876
|
|
|
1899
1877
|
|
|
1900
1878
|
/**
|
|
1901
|
-
*
|
|
1902
|
-
* @return {
|
|
1879
|
+
* optional int32 cable_type_id = 4;
|
|
1880
|
+
* @return {number}
|
|
1903
1881
|
*/
|
|
1904
|
-
proto.
|
|
1905
|
-
return
|
|
1882
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCableTypeId = function() {
|
|
1883
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1906
1884
|
};
|
|
1907
1885
|
|
|
1908
1886
|
|
|
1909
1887
|
/**
|
|
1910
|
-
*
|
|
1911
|
-
* @return {
|
|
1888
|
+
* @param {number} value
|
|
1889
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1912
1890
|
*/
|
|
1913
|
-
proto.
|
|
1914
|
-
return jspb.Message.
|
|
1891
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCableTypeId = function(value) {
|
|
1892
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
1915
1893
|
};
|
|
1916
1894
|
|
|
1917
1895
|
|
|
@@ -1919,89 +1897,71 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.hasCableType = function() {
|
|
|
1919
1897
|
* optional string group_id = 5;
|
|
1920
1898
|
* @return {string}
|
|
1921
1899
|
*/
|
|
1922
|
-
proto.
|
|
1900
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getGroupId = function() {
|
|
1923
1901
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1924
1902
|
};
|
|
1925
1903
|
|
|
1926
1904
|
|
|
1927
1905
|
/**
|
|
1928
1906
|
* @param {string} value
|
|
1929
|
-
* @return {!proto.
|
|
1907
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1930
1908
|
*/
|
|
1931
|
-
proto.
|
|
1932
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1933
|
-
};
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
/**
|
|
1937
|
-
* optional int32 cable_length = 6;
|
|
1938
|
-
* @return {number}
|
|
1939
|
-
*/
|
|
1940
|
-
proto.Drumtracking.DrumProto.UpdateRequest.prototype.getCableLength = function() {
|
|
1941
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1942
|
-
};
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
/**
|
|
1946
|
-
* @param {number} value
|
|
1947
|
-
* @return {!proto.Drumtracking.DrumProto.UpdateRequest} returns this
|
|
1948
|
-
*/
|
|
1949
|
-
proto.Drumtracking.DrumProto.UpdateRequest.prototype.setCableLength = function(value) {
|
|
1950
|
-
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1909
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setGroupId = function(value) {
|
|
1910
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1951
1911
|
};
|
|
1952
1912
|
|
|
1953
1913
|
|
|
1954
1914
|
/**
|
|
1955
|
-
* optional int32
|
|
1915
|
+
* optional int32 cable_length = 6;
|
|
1956
1916
|
* @return {number}
|
|
1957
1917
|
*/
|
|
1958
|
-
proto.
|
|
1959
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1918
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCableLength = function() {
|
|
1919
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1960
1920
|
};
|
|
1961
1921
|
|
|
1962
1922
|
|
|
1963
1923
|
/**
|
|
1964
1924
|
* @param {number} value
|
|
1965
|
-
* @return {!proto.
|
|
1925
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1966
1926
|
*/
|
|
1967
|
-
proto.
|
|
1968
|
-
return jspb.Message.setProto3IntField(this,
|
|
1927
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCableLength = function(value) {
|
|
1928
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1969
1929
|
};
|
|
1970
1930
|
|
|
1971
1931
|
|
|
1972
1932
|
/**
|
|
1973
|
-
* optional string sales_reference =
|
|
1933
|
+
* optional string sales_reference = 7;
|
|
1974
1934
|
* @return {string}
|
|
1975
1935
|
*/
|
|
1976
|
-
proto.
|
|
1977
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1936
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getSalesReference = function() {
|
|
1937
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1978
1938
|
};
|
|
1979
1939
|
|
|
1980
1940
|
|
|
1981
1941
|
/**
|
|
1982
1942
|
* @param {string} value
|
|
1983
|
-
* @return {!proto.
|
|
1943
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1984
1944
|
*/
|
|
1985
|
-
proto.
|
|
1986
|
-
return jspb.Message.setProto3StringField(this,
|
|
1945
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setSalesReference = function(value) {
|
|
1946
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1987
1947
|
};
|
|
1988
1948
|
|
|
1989
1949
|
|
|
1990
1950
|
/**
|
|
1991
|
-
* optional string customer_reference =
|
|
1951
|
+
* optional string customer_reference = 8;
|
|
1992
1952
|
* @return {string}
|
|
1993
1953
|
*/
|
|
1994
|
-
proto.
|
|
1995
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1954
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCustomerReference = function() {
|
|
1955
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1996
1956
|
};
|
|
1997
1957
|
|
|
1998
1958
|
|
|
1999
1959
|
/**
|
|
2000
1960
|
* @param {string} value
|
|
2001
|
-
* @return {!proto.
|
|
1961
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
2002
1962
|
*/
|
|
2003
|
-
proto.
|
|
2004
|
-
return jspb.Message.setProto3StringField(this,
|
|
1963
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCustomerReference = function(value) {
|
|
1964
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
2005
1965
|
};
|
|
2006
1966
|
|
|
2007
1967
|
|
|
@@ -2014,22 +1974,22 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setCustomerReference = func
|
|
|
2014
1974
|
* @private {!Array<!Array<number>>}
|
|
2015
1975
|
* @const
|
|
2016
1976
|
*/
|
|
2017
|
-
proto.
|
|
1977
|
+
proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_ = [[1,2]];
|
|
2018
1978
|
|
|
2019
1979
|
/**
|
|
2020
1980
|
* @enum {number}
|
|
2021
1981
|
*/
|
|
2022
|
-
proto.
|
|
1982
|
+
proto.Drumtracker.DrumProto.DeleteRequest.SearchCase = {
|
|
2023
1983
|
SEARCH_NOT_SET: 0,
|
|
2024
1984
|
ID: 1,
|
|
2025
1985
|
DRUM_NUMBER: 2
|
|
2026
1986
|
};
|
|
2027
1987
|
|
|
2028
1988
|
/**
|
|
2029
|
-
* @return {proto.
|
|
1989
|
+
* @return {proto.Drumtracker.DrumProto.DeleteRequest.SearchCase}
|
|
2030
1990
|
*/
|
|
2031
|
-
proto.
|
|
2032
|
-
return /** @type {proto.
|
|
1991
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getSearchCase = function() {
|
|
1992
|
+
return /** @type {proto.Drumtracker.DrumProto.DeleteRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0]));
|
|
2033
1993
|
};
|
|
2034
1994
|
|
|
2035
1995
|
|
|
@@ -2047,8 +2007,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2047
2007
|
* http://goto/soy-param-migration
|
|
2048
2008
|
* @return {!Object}
|
|
2049
2009
|
*/
|
|
2050
|
-
proto.
|
|
2051
|
-
return proto.
|
|
2010
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2011
|
+
return proto.Drumtracker.DrumProto.DeleteRequest.toObject(opt_includeInstance, this);
|
|
2052
2012
|
};
|
|
2053
2013
|
|
|
2054
2014
|
|
|
@@ -2057,11 +2017,11 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.toObject = function(opt_inc
|
|
|
2057
2017
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2058
2018
|
* the JSPB instance for transitional soy proto support:
|
|
2059
2019
|
* http://goto/soy-param-migration
|
|
2060
|
-
* @param {!proto.
|
|
2020
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} msg The msg instance to transform.
|
|
2061
2021
|
* @return {!Object}
|
|
2062
2022
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2063
2023
|
*/
|
|
2064
|
-
proto.
|
|
2024
|
+
proto.Drumtracker.DrumProto.DeleteRequest.toObject = function(includeInstance, msg) {
|
|
2065
2025
|
var f, obj = {
|
|
2066
2026
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2067
2027
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -2078,23 +2038,23 @@ proto.Drumtracking.DrumProto.DeleteRequest.toObject = function(includeInstance,
|
|
|
2078
2038
|
/**
|
|
2079
2039
|
* Deserializes binary data (in protobuf wire format).
|
|
2080
2040
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2081
|
-
* @return {!proto.
|
|
2041
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest}
|
|
2082
2042
|
*/
|
|
2083
|
-
proto.
|
|
2043
|
+
proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinary = function(bytes) {
|
|
2084
2044
|
var reader = new jspb.BinaryReader(bytes);
|
|
2085
|
-
var msg = new proto.
|
|
2086
|
-
return proto.
|
|
2045
|
+
var msg = new proto.Drumtracker.DrumProto.DeleteRequest;
|
|
2046
|
+
return proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
|
|
2087
2047
|
};
|
|
2088
2048
|
|
|
2089
2049
|
|
|
2090
2050
|
/**
|
|
2091
2051
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2092
2052
|
* given reader into the given message object.
|
|
2093
|
-
* @param {!proto.
|
|
2053
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} msg The message object to deserialize into.
|
|
2094
2054
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2095
|
-
* @return {!proto.
|
|
2055
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest}
|
|
2096
2056
|
*/
|
|
2097
|
-
proto.
|
|
2057
|
+
proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2098
2058
|
while (reader.nextField()) {
|
|
2099
2059
|
if (reader.isEndGroup()) {
|
|
2100
2060
|
break;
|
|
@@ -2122,9 +2082,9 @@ proto.Drumtracking.DrumProto.DeleteRequest.deserializeBinaryFromReader = functio
|
|
|
2122
2082
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2123
2083
|
* @return {!Uint8Array}
|
|
2124
2084
|
*/
|
|
2125
|
-
proto.
|
|
2085
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.serializeBinary = function() {
|
|
2126
2086
|
var writer = new jspb.BinaryWriter();
|
|
2127
|
-
proto.
|
|
2087
|
+
proto.Drumtracker.DrumProto.DeleteRequest.serializeBinaryToWriter(this, writer);
|
|
2128
2088
|
return writer.getResultBuffer();
|
|
2129
2089
|
};
|
|
2130
2090
|
|
|
@@ -2132,11 +2092,11 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.serializeBinary = function(
|
|
|
2132
2092
|
/**
|
|
2133
2093
|
* Serializes the given message to binary data (in protobuf wire
|
|
2134
2094
|
* format), writing to the given BinaryWriter.
|
|
2135
|
-
* @param {!proto.
|
|
2095
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} message
|
|
2136
2096
|
* @param {!jspb.BinaryWriter} writer
|
|
2137
2097
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2138
2098
|
*/
|
|
2139
|
-
proto.
|
|
2099
|
+
proto.Drumtracker.DrumProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2140
2100
|
var f = undefined;
|
|
2141
2101
|
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
2142
2102
|
if (f != null) {
|
|
@@ -2159,26 +2119,26 @@ proto.Drumtracking.DrumProto.DeleteRequest.serializeBinaryToWriter = function(me
|
|
|
2159
2119
|
* optional int64 id = 1;
|
|
2160
2120
|
* @return {number}
|
|
2161
2121
|
*/
|
|
2162
|
-
proto.
|
|
2122
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getId = function() {
|
|
2163
2123
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2164
2124
|
};
|
|
2165
2125
|
|
|
2166
2126
|
|
|
2167
2127
|
/**
|
|
2168
2128
|
* @param {number} value
|
|
2169
|
-
* @return {!proto.
|
|
2129
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2170
2130
|
*/
|
|
2171
|
-
proto.
|
|
2172
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
2131
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.setId = function(value) {
|
|
2132
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], value);
|
|
2173
2133
|
};
|
|
2174
2134
|
|
|
2175
2135
|
|
|
2176
2136
|
/**
|
|
2177
2137
|
* Clears the field making it undefined.
|
|
2178
|
-
* @return {!proto.
|
|
2138
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2179
2139
|
*/
|
|
2180
|
-
proto.
|
|
2181
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
2140
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.clearId = function() {
|
|
2141
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], undefined);
|
|
2182
2142
|
};
|
|
2183
2143
|
|
|
2184
2144
|
|
|
@@ -2186,7 +2146,7 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.clearId = function() {
|
|
|
2186
2146
|
* Returns whether this field is set.
|
|
2187
2147
|
* @return {boolean}
|
|
2188
2148
|
*/
|
|
2189
|
-
proto.
|
|
2149
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.hasId = function() {
|
|
2190
2150
|
return jspb.Message.getField(this, 1) != null;
|
|
2191
2151
|
};
|
|
2192
2152
|
|
|
@@ -2195,26 +2155,26 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.hasId = function() {
|
|
|
2195
2155
|
* optional int64 drum_number = 2;
|
|
2196
2156
|
* @return {number}
|
|
2197
2157
|
*/
|
|
2198
|
-
proto.
|
|
2158
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getDrumNumber = function() {
|
|
2199
2159
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2200
2160
|
};
|
|
2201
2161
|
|
|
2202
2162
|
|
|
2203
2163
|
/**
|
|
2204
2164
|
* @param {number} value
|
|
2205
|
-
* @return {!proto.
|
|
2165
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2206
2166
|
*/
|
|
2207
|
-
proto.
|
|
2208
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
2167
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.setDrumNumber = function(value) {
|
|
2168
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], value);
|
|
2209
2169
|
};
|
|
2210
2170
|
|
|
2211
2171
|
|
|
2212
2172
|
/**
|
|
2213
2173
|
* Clears the field making it undefined.
|
|
2214
|
-
* @return {!proto.
|
|
2174
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2215
2175
|
*/
|
|
2216
|
-
proto.
|
|
2217
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
2176
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.clearDrumNumber = function() {
|
|
2177
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], undefined);
|
|
2218
2178
|
};
|
|
2219
2179
|
|
|
2220
2180
|
|
|
@@ -2222,7 +2182,7 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.clearDrumNumber = function(
|
|
|
2222
2182
|
* Returns whether this field is set.
|
|
2223
2183
|
* @return {boolean}
|
|
2224
2184
|
*/
|
|
2225
|
-
proto.
|
|
2185
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.hasDrumNumber = function() {
|
|
2226
2186
|
return jspb.Message.getField(this, 2) != null;
|
|
2227
2187
|
};
|
|
2228
2188
|
|
|
@@ -2243,8 +2203,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2243
2203
|
* http://goto/soy-param-migration
|
|
2244
2204
|
* @return {!Object}
|
|
2245
2205
|
*/
|
|
2246
|
-
proto.
|
|
2247
|
-
return proto.
|
|
2206
|
+
proto.Drumtracker.DrumProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
|
|
2207
|
+
return proto.Drumtracker.DrumProto.DeleteReply.toObject(opt_includeInstance, this);
|
|
2248
2208
|
};
|
|
2249
2209
|
|
|
2250
2210
|
|
|
@@ -2253,11 +2213,11 @@ proto.Drumtracking.DrumProto.DeleteReply.prototype.toObject = function(opt_inclu
|
|
|
2253
2213
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2254
2214
|
* the JSPB instance for transitional soy proto support:
|
|
2255
2215
|
* http://goto/soy-param-migration
|
|
2256
|
-
* @param {!proto.
|
|
2216
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} msg The msg instance to transform.
|
|
2257
2217
|
* @return {!Object}
|
|
2258
2218
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2259
2219
|
*/
|
|
2260
|
-
proto.
|
|
2220
|
+
proto.Drumtracker.DrumProto.DeleteReply.toObject = function(includeInstance, msg) {
|
|
2261
2221
|
var f, obj = {
|
|
2262
2222
|
|
|
2263
2223
|
};
|
|
@@ -2273,23 +2233,23 @@ proto.Drumtracking.DrumProto.DeleteReply.toObject = function(includeInstance, ms
|
|
|
2273
2233
|
/**
|
|
2274
2234
|
* Deserializes binary data (in protobuf wire format).
|
|
2275
2235
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2276
|
-
* @return {!proto.
|
|
2236
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteReply}
|
|
2277
2237
|
*/
|
|
2278
|
-
proto.
|
|
2238
|
+
proto.Drumtracker.DrumProto.DeleteReply.deserializeBinary = function(bytes) {
|
|
2279
2239
|
var reader = new jspb.BinaryReader(bytes);
|
|
2280
|
-
var msg = new proto.
|
|
2281
|
-
return proto.
|
|
2240
|
+
var msg = new proto.Drumtracker.DrumProto.DeleteReply;
|
|
2241
|
+
return proto.Drumtracker.DrumProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
|
|
2282
2242
|
};
|
|
2283
2243
|
|
|
2284
2244
|
|
|
2285
2245
|
/**
|
|
2286
2246
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2287
2247
|
* given reader into the given message object.
|
|
2288
|
-
* @param {!proto.
|
|
2248
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} msg The message object to deserialize into.
|
|
2289
2249
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2290
|
-
* @return {!proto.
|
|
2250
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteReply}
|
|
2291
2251
|
*/
|
|
2292
|
-
proto.
|
|
2252
|
+
proto.Drumtracker.DrumProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
2293
2253
|
while (reader.nextField()) {
|
|
2294
2254
|
if (reader.isEndGroup()) {
|
|
2295
2255
|
break;
|
|
@@ -2309,9 +2269,9 @@ proto.Drumtracking.DrumProto.DeleteReply.deserializeBinaryFromReader = function(
|
|
|
2309
2269
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2310
2270
|
* @return {!Uint8Array}
|
|
2311
2271
|
*/
|
|
2312
|
-
proto.
|
|
2272
|
+
proto.Drumtracker.DrumProto.DeleteReply.prototype.serializeBinary = function() {
|
|
2313
2273
|
var writer = new jspb.BinaryWriter();
|
|
2314
|
-
proto.
|
|
2274
|
+
proto.Drumtracker.DrumProto.DeleteReply.serializeBinaryToWriter(this, writer);
|
|
2315
2275
|
return writer.getResultBuffer();
|
|
2316
2276
|
};
|
|
2317
2277
|
|
|
@@ -2319,11 +2279,11 @@ proto.Drumtracking.DrumProto.DeleteReply.prototype.serializeBinary = function()
|
|
|
2319
2279
|
/**
|
|
2320
2280
|
* Serializes the given message to binary data (in protobuf wire
|
|
2321
2281
|
* format), writing to the given BinaryWriter.
|
|
2322
|
-
* @param {!proto.
|
|
2282
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} message
|
|
2323
2283
|
* @param {!jspb.BinaryWriter} writer
|
|
2324
2284
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2325
2285
|
*/
|
|
2326
|
-
proto.
|
|
2286
|
+
proto.Drumtracker.DrumProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
|
|
2327
2287
|
var f = undefined;
|
|
2328
2288
|
};
|
|
2329
2289
|
|
|
@@ -2344,8 +2304,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2344
2304
|
* http://goto/soy-param-migration
|
|
2345
2305
|
* @return {!Object}
|
|
2346
2306
|
*/
|
|
2347
|
-
proto.
|
|
2348
|
-
return proto.
|
|
2307
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2308
|
+
return proto.Drumtracker.DrumProto.SearchRequest.toObject(opt_includeInstance, this);
|
|
2349
2309
|
};
|
|
2350
2310
|
|
|
2351
2311
|
|
|
@@ -2354,13 +2314,13 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.toObject = function(opt_inc
|
|
|
2354
2314
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2355
2315
|
* the JSPB instance for transitional soy proto support:
|
|
2356
2316
|
* http://goto/soy-param-migration
|
|
2357
|
-
* @param {!proto.
|
|
2317
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} msg The msg instance to transform.
|
|
2358
2318
|
* @return {!Object}
|
|
2359
2319
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2360
2320
|
*/
|
|
2361
|
-
proto.
|
|
2321
|
+
proto.Drumtracker.DrumProto.SearchRequest.toObject = function(includeInstance, msg) {
|
|
2362
2322
|
var f, obj = {
|
|
2363
|
-
filters: (f = msg.getFilters()) && proto.
|
|
2323
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.DrumProto.DrumFilters.toObject(includeInstance, f),
|
|
2364
2324
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2365
2325
|
count: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2366
2326
|
};
|
|
@@ -2376,23 +2336,23 @@ proto.Drumtracking.DrumProto.SearchRequest.toObject = function(includeInstance,
|
|
|
2376
2336
|
/**
|
|
2377
2337
|
* Deserializes binary data (in protobuf wire format).
|
|
2378
2338
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2379
|
-
* @return {!proto.
|
|
2339
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest}
|
|
2380
2340
|
*/
|
|
2381
|
-
proto.
|
|
2341
|
+
proto.Drumtracker.DrumProto.SearchRequest.deserializeBinary = function(bytes) {
|
|
2382
2342
|
var reader = new jspb.BinaryReader(bytes);
|
|
2383
|
-
var msg = new proto.
|
|
2384
|
-
return proto.
|
|
2343
|
+
var msg = new proto.Drumtracker.DrumProto.SearchRequest;
|
|
2344
|
+
return proto.Drumtracker.DrumProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
2385
2345
|
};
|
|
2386
2346
|
|
|
2387
2347
|
|
|
2388
2348
|
/**
|
|
2389
2349
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2390
2350
|
* given reader into the given message object.
|
|
2391
|
-
* @param {!proto.
|
|
2351
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} msg The message object to deserialize into.
|
|
2392
2352
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2393
|
-
* @return {!proto.
|
|
2353
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest}
|
|
2394
2354
|
*/
|
|
2395
|
-
proto.
|
|
2355
|
+
proto.Drumtracker.DrumProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2396
2356
|
while (reader.nextField()) {
|
|
2397
2357
|
if (reader.isEndGroup()) {
|
|
2398
2358
|
break;
|
|
@@ -2400,8 +2360,8 @@ proto.Drumtracking.DrumProto.SearchRequest.deserializeBinaryFromReader = functio
|
|
|
2400
2360
|
var field = reader.getFieldNumber();
|
|
2401
2361
|
switch (field) {
|
|
2402
2362
|
case 1:
|
|
2403
|
-
var value = new proto.
|
|
2404
|
-
reader.readMessage(value,proto.
|
|
2363
|
+
var value = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
2364
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader);
|
|
2405
2365
|
msg.setFilters(value);
|
|
2406
2366
|
break;
|
|
2407
2367
|
case 2:
|
|
@@ -2425,9 +2385,9 @@ proto.Drumtracking.DrumProto.SearchRequest.deserializeBinaryFromReader = functio
|
|
|
2425
2385
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2426
2386
|
* @return {!Uint8Array}
|
|
2427
2387
|
*/
|
|
2428
|
-
proto.
|
|
2388
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.serializeBinary = function() {
|
|
2429
2389
|
var writer = new jspb.BinaryWriter();
|
|
2430
|
-
proto.
|
|
2390
|
+
proto.Drumtracker.DrumProto.SearchRequest.serializeBinaryToWriter(this, writer);
|
|
2431
2391
|
return writer.getResultBuffer();
|
|
2432
2392
|
};
|
|
2433
2393
|
|
|
@@ -2435,18 +2395,18 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.serializeBinary = function(
|
|
|
2435
2395
|
/**
|
|
2436
2396
|
* Serializes the given message to binary data (in protobuf wire
|
|
2437
2397
|
* format), writing to the given BinaryWriter.
|
|
2438
|
-
* @param {!proto.
|
|
2398
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} message
|
|
2439
2399
|
* @param {!jspb.BinaryWriter} writer
|
|
2440
2400
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2441
2401
|
*/
|
|
2442
|
-
proto.
|
|
2402
|
+
proto.Drumtracker.DrumProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2443
2403
|
var f = undefined;
|
|
2444
2404
|
f = message.getFilters();
|
|
2445
2405
|
if (f != null) {
|
|
2446
2406
|
writer.writeMessage(
|
|
2447
2407
|
1,
|
|
2448
2408
|
f,
|
|
2449
|
-
proto.
|
|
2409
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter
|
|
2450
2410
|
);
|
|
2451
2411
|
}
|
|
2452
2412
|
f = message.getPage();
|
|
@@ -2468,28 +2428,28 @@ proto.Drumtracking.DrumProto.SearchRequest.serializeBinaryToWriter = function(me
|
|
|
2468
2428
|
|
|
2469
2429
|
/**
|
|
2470
2430
|
* optional DrumFilters filters = 1;
|
|
2471
|
-
* @return {?proto.
|
|
2431
|
+
* @return {?proto.Drumtracker.DrumProto.DrumFilters}
|
|
2472
2432
|
*/
|
|
2473
|
-
proto.
|
|
2474
|
-
return /** @type{?proto.
|
|
2475
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2433
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getFilters = function() {
|
|
2434
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumFilters} */ (
|
|
2435
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumFilters, 1));
|
|
2476
2436
|
};
|
|
2477
2437
|
|
|
2478
2438
|
|
|
2479
2439
|
/**
|
|
2480
|
-
* @param {?proto.
|
|
2481
|
-
* @return {!proto.
|
|
2440
|
+
* @param {?proto.Drumtracker.DrumProto.DrumFilters|undefined} value
|
|
2441
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2482
2442
|
*/
|
|
2483
|
-
proto.
|
|
2443
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setFilters = function(value) {
|
|
2484
2444
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2485
2445
|
};
|
|
2486
2446
|
|
|
2487
2447
|
|
|
2488
2448
|
/**
|
|
2489
2449
|
* Clears the message field making it undefined.
|
|
2490
|
-
* @return {!proto.
|
|
2450
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2491
2451
|
*/
|
|
2492
|
-
proto.
|
|
2452
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.clearFilters = function() {
|
|
2493
2453
|
return this.setFilters(undefined);
|
|
2494
2454
|
};
|
|
2495
2455
|
|
|
@@ -2498,7 +2458,7 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.clearFilters = function() {
|
|
|
2498
2458
|
* Returns whether this field is set.
|
|
2499
2459
|
* @return {boolean}
|
|
2500
2460
|
*/
|
|
2501
|
-
proto.
|
|
2461
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.hasFilters = function() {
|
|
2502
2462
|
return jspb.Message.getField(this, 1) != null;
|
|
2503
2463
|
};
|
|
2504
2464
|
|
|
@@ -2507,16 +2467,16 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.hasFilters = function() {
|
|
|
2507
2467
|
* optional int32 page = 2;
|
|
2508
2468
|
* @return {number}
|
|
2509
2469
|
*/
|
|
2510
|
-
proto.
|
|
2470
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getPage = function() {
|
|
2511
2471
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2512
2472
|
};
|
|
2513
2473
|
|
|
2514
2474
|
|
|
2515
2475
|
/**
|
|
2516
2476
|
* @param {number} value
|
|
2517
|
-
* @return {!proto.
|
|
2477
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2518
2478
|
*/
|
|
2519
|
-
proto.
|
|
2479
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setPage = function(value) {
|
|
2520
2480
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2521
2481
|
};
|
|
2522
2482
|
|
|
@@ -2525,16 +2485,16 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.setPage = function(value) {
|
|
|
2525
2485
|
* optional int32 count = 3;
|
|
2526
2486
|
* @return {number}
|
|
2527
2487
|
*/
|
|
2528
|
-
proto.
|
|
2488
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getCount = function() {
|
|
2529
2489
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2530
2490
|
};
|
|
2531
2491
|
|
|
2532
2492
|
|
|
2533
2493
|
/**
|
|
2534
2494
|
* @param {number} value
|
|
2535
|
-
* @return {!proto.
|
|
2495
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2536
2496
|
*/
|
|
2537
|
-
proto.
|
|
2497
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setCount = function(value) {
|
|
2538
2498
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
2539
2499
|
};
|
|
2540
2500
|
|
|
@@ -2545,7 +2505,7 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.setCount = function(value)
|
|
|
2545
2505
|
* @private {!Array<number>}
|
|
2546
2506
|
* @const
|
|
2547
2507
|
*/
|
|
2548
|
-
proto.
|
|
2508
|
+
proto.Drumtracker.DrumProto.SearchReply.repeatedFields_ = [1];
|
|
2549
2509
|
|
|
2550
2510
|
|
|
2551
2511
|
|
|
@@ -2562,8 +2522,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2562
2522
|
* http://goto/soy-param-migration
|
|
2563
2523
|
* @return {!Object}
|
|
2564
2524
|
*/
|
|
2565
|
-
proto.
|
|
2566
|
-
return proto.
|
|
2525
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
|
|
2526
|
+
return proto.Drumtracker.DrumProto.SearchReply.toObject(opt_includeInstance, this);
|
|
2567
2527
|
};
|
|
2568
2528
|
|
|
2569
2529
|
|
|
@@ -2572,14 +2532,14 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.toObject = function(opt_inclu
|
|
|
2572
2532
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2573
2533
|
* the JSPB instance for transitional soy proto support:
|
|
2574
2534
|
* http://goto/soy-param-migration
|
|
2575
|
-
* @param {!proto.
|
|
2535
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} msg The msg instance to transform.
|
|
2576
2536
|
* @return {!Object}
|
|
2577
2537
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2578
2538
|
*/
|
|
2579
|
-
proto.
|
|
2539
|
+
proto.Drumtracker.DrumProto.SearchReply.toObject = function(includeInstance, msg) {
|
|
2580
2540
|
var f, obj = {
|
|
2581
2541
|
drumsList: jspb.Message.toObjectList(msg.getDrumsList(),
|
|
2582
|
-
proto.
|
|
2542
|
+
proto.Drumtracker.DrumProto.toObject, includeInstance),
|
|
2583
2543
|
pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
|
|
2584
2544
|
};
|
|
2585
2545
|
|
|
@@ -2594,23 +2554,23 @@ proto.Drumtracking.DrumProto.SearchReply.toObject = function(includeInstance, ms
|
|
|
2594
2554
|
/**
|
|
2595
2555
|
* Deserializes binary data (in protobuf wire format).
|
|
2596
2556
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2597
|
-
* @return {!proto.
|
|
2557
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply}
|
|
2598
2558
|
*/
|
|
2599
|
-
proto.
|
|
2559
|
+
proto.Drumtracker.DrumProto.SearchReply.deserializeBinary = function(bytes) {
|
|
2600
2560
|
var reader = new jspb.BinaryReader(bytes);
|
|
2601
|
-
var msg = new proto.
|
|
2602
|
-
return proto.
|
|
2561
|
+
var msg = new proto.Drumtracker.DrumProto.SearchReply;
|
|
2562
|
+
return proto.Drumtracker.DrumProto.SearchReply.deserializeBinaryFromReader(msg, reader);
|
|
2603
2563
|
};
|
|
2604
2564
|
|
|
2605
2565
|
|
|
2606
2566
|
/**
|
|
2607
2567
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2608
2568
|
* given reader into the given message object.
|
|
2609
|
-
* @param {!proto.
|
|
2569
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} msg The message object to deserialize into.
|
|
2610
2570
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2611
|
-
* @return {!proto.
|
|
2571
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply}
|
|
2612
2572
|
*/
|
|
2613
|
-
proto.
|
|
2573
|
+
proto.Drumtracker.DrumProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
2614
2574
|
while (reader.nextField()) {
|
|
2615
2575
|
if (reader.isEndGroup()) {
|
|
2616
2576
|
break;
|
|
@@ -2618,8 +2578,8 @@ proto.Drumtracking.DrumProto.SearchReply.deserializeBinaryFromReader = function(
|
|
|
2618
2578
|
var field = reader.getFieldNumber();
|
|
2619
2579
|
switch (field) {
|
|
2620
2580
|
case 1:
|
|
2621
|
-
var value = new proto.
|
|
2622
|
-
reader.readMessage(value,proto.
|
|
2581
|
+
var value = new proto.Drumtracker.DrumProto;
|
|
2582
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.deserializeBinaryFromReader);
|
|
2623
2583
|
msg.addDrums(value);
|
|
2624
2584
|
break;
|
|
2625
2585
|
case 2:
|
|
@@ -2640,9 +2600,9 @@ proto.Drumtracking.DrumProto.SearchReply.deserializeBinaryFromReader = function(
|
|
|
2640
2600
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2641
2601
|
* @return {!Uint8Array}
|
|
2642
2602
|
*/
|
|
2643
|
-
proto.
|
|
2603
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.serializeBinary = function() {
|
|
2644
2604
|
var writer = new jspb.BinaryWriter();
|
|
2645
|
-
proto.
|
|
2605
|
+
proto.Drumtracker.DrumProto.SearchReply.serializeBinaryToWriter(this, writer);
|
|
2646
2606
|
return writer.getResultBuffer();
|
|
2647
2607
|
};
|
|
2648
2608
|
|
|
@@ -2650,18 +2610,18 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.serializeBinary = function()
|
|
|
2650
2610
|
/**
|
|
2651
2611
|
* Serializes the given message to binary data (in protobuf wire
|
|
2652
2612
|
* format), writing to the given BinaryWriter.
|
|
2653
|
-
* @param {!proto.
|
|
2613
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} message
|
|
2654
2614
|
* @param {!jspb.BinaryWriter} writer
|
|
2655
2615
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2656
2616
|
*/
|
|
2657
|
-
proto.
|
|
2617
|
+
proto.Drumtracker.DrumProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
|
|
2658
2618
|
var f = undefined;
|
|
2659
2619
|
f = message.getDrumsList();
|
|
2660
2620
|
if (f.length > 0) {
|
|
2661
2621
|
writer.writeRepeatedMessage(
|
|
2662
2622
|
1,
|
|
2663
2623
|
f,
|
|
2664
|
-
proto.
|
|
2624
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter
|
|
2665
2625
|
);
|
|
2666
2626
|
}
|
|
2667
2627
|
f = message.getPagination();
|
|
@@ -2677,38 +2637,38 @@ proto.Drumtracking.DrumProto.SearchReply.serializeBinaryToWriter = function(mess
|
|
|
2677
2637
|
|
|
2678
2638
|
/**
|
|
2679
2639
|
* repeated DrumProto drums = 1;
|
|
2680
|
-
* @return {!Array<!proto.
|
|
2640
|
+
* @return {!Array<!proto.Drumtracker.DrumProto>}
|
|
2681
2641
|
*/
|
|
2682
|
-
proto.
|
|
2683
|
-
return /** @type{!Array<!proto.
|
|
2684
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
2642
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.getDrumsList = function() {
|
|
2643
|
+
return /** @type{!Array<!proto.Drumtracker.DrumProto>} */ (
|
|
2644
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Drumtracker.DrumProto, 1));
|
|
2685
2645
|
};
|
|
2686
2646
|
|
|
2687
2647
|
|
|
2688
2648
|
/**
|
|
2689
|
-
* @param {!Array<!proto.
|
|
2690
|
-
* @return {!proto.
|
|
2649
|
+
* @param {!Array<!proto.Drumtracker.DrumProto>} value
|
|
2650
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2691
2651
|
*/
|
|
2692
|
-
proto.
|
|
2652
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.setDrumsList = function(value) {
|
|
2693
2653
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2694
2654
|
};
|
|
2695
2655
|
|
|
2696
2656
|
|
|
2697
2657
|
/**
|
|
2698
|
-
* @param {!proto.
|
|
2658
|
+
* @param {!proto.Drumtracker.DrumProto=} opt_value
|
|
2699
2659
|
* @param {number=} opt_index
|
|
2700
|
-
* @return {!proto.
|
|
2660
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
2701
2661
|
*/
|
|
2702
|
-
proto.
|
|
2703
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
2662
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.addDrums = function(opt_value, opt_index) {
|
|
2663
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Drumtracker.DrumProto, opt_index);
|
|
2704
2664
|
};
|
|
2705
2665
|
|
|
2706
2666
|
|
|
2707
2667
|
/**
|
|
2708
2668
|
* Clears the list making it empty but non-null.
|
|
2709
|
-
* @return {!proto.
|
|
2669
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2710
2670
|
*/
|
|
2711
|
-
proto.
|
|
2671
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.clearDrumsList = function() {
|
|
2712
2672
|
return this.setDrumsList([]);
|
|
2713
2673
|
};
|
|
2714
2674
|
|
|
@@ -2717,7 +2677,7 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.clearDrumsList = function() {
|
|
|
2717
2677
|
* optional Platform.PaginationProto pagination = 2;
|
|
2718
2678
|
* @return {?proto.Platform.PaginationProto}
|
|
2719
2679
|
*/
|
|
2720
|
-
proto.
|
|
2680
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.getPagination = function() {
|
|
2721
2681
|
return /** @type{?proto.Platform.PaginationProto} */ (
|
|
2722
2682
|
jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
|
|
2723
2683
|
};
|
|
@@ -2725,18 +2685,18 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.getPagination = function() {
|
|
|
2725
2685
|
|
|
2726
2686
|
/**
|
|
2727
2687
|
* @param {?proto.Platform.PaginationProto|undefined} value
|
|
2728
|
-
* @return {!proto.
|
|
2688
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2729
2689
|
*/
|
|
2730
|
-
proto.
|
|
2690
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.setPagination = function(value) {
|
|
2731
2691
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2732
2692
|
};
|
|
2733
2693
|
|
|
2734
2694
|
|
|
2735
2695
|
/**
|
|
2736
2696
|
* Clears the message field making it undefined.
|
|
2737
|
-
* @return {!proto.
|
|
2697
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2738
2698
|
*/
|
|
2739
|
-
proto.
|
|
2699
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.clearPagination = function() {
|
|
2740
2700
|
return this.setPagination(undefined);
|
|
2741
2701
|
};
|
|
2742
2702
|
|
|
@@ -2745,7 +2705,7 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.clearPagination = function()
|
|
|
2745
2705
|
* Returns whether this field is set.
|
|
2746
2706
|
* @return {boolean}
|
|
2747
2707
|
*/
|
|
2748
|
-
proto.
|
|
2708
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.hasPagination = function() {
|
|
2749
2709
|
return jspb.Message.getField(this, 2) != null;
|
|
2750
2710
|
};
|
|
2751
2711
|
|
|
@@ -2766,8 +2726,289 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2766
2726
|
* http://goto/soy-param-migration
|
|
2767
2727
|
* @return {!Object}
|
|
2768
2728
|
*/
|
|
2769
|
-
proto.
|
|
2770
|
-
return proto.
|
|
2729
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2730
|
+
return proto.Drumtracker.DrumProto.CountRequest.toObject(opt_includeInstance, this);
|
|
2731
|
+
};
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Static version of the {@see toObject} method.
|
|
2736
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2737
|
+
* the JSPB instance for transitional soy proto support:
|
|
2738
|
+
* http://goto/soy-param-migration
|
|
2739
|
+
* @param {!proto.Drumtracker.DrumProto.CountRequest} msg The msg instance to transform.
|
|
2740
|
+
* @return {!Object}
|
|
2741
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2742
|
+
*/
|
|
2743
|
+
proto.Drumtracker.DrumProto.CountRequest.toObject = function(includeInstance, msg) {
|
|
2744
|
+
var f, obj = {
|
|
2745
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.DrumProto.DrumFilters.toObject(includeInstance, f)
|
|
2746
|
+
};
|
|
2747
|
+
|
|
2748
|
+
if (includeInstance) {
|
|
2749
|
+
obj.$jspbMessageInstance = msg;
|
|
2750
|
+
}
|
|
2751
|
+
return obj;
|
|
2752
|
+
};
|
|
2753
|
+
}
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2758
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2759
|
+
* @return {!proto.Drumtracker.DrumProto.CountRequest}
|
|
2760
|
+
*/
|
|
2761
|
+
proto.Drumtracker.DrumProto.CountRequest.deserializeBinary = function(bytes) {
|
|
2762
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2763
|
+
var msg = new proto.Drumtracker.DrumProto.CountRequest;
|
|
2764
|
+
return proto.Drumtracker.DrumProto.CountRequest.deserializeBinaryFromReader(msg, reader);
|
|
2765
|
+
};
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
/**
|
|
2769
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2770
|
+
* given reader into the given message object.
|
|
2771
|
+
* @param {!proto.Drumtracker.DrumProto.CountRequest} msg The message object to deserialize into.
|
|
2772
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2773
|
+
* @return {!proto.Drumtracker.DrumProto.CountRequest}
|
|
2774
|
+
*/
|
|
2775
|
+
proto.Drumtracker.DrumProto.CountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2776
|
+
while (reader.nextField()) {
|
|
2777
|
+
if (reader.isEndGroup()) {
|
|
2778
|
+
break;
|
|
2779
|
+
}
|
|
2780
|
+
var field = reader.getFieldNumber();
|
|
2781
|
+
switch (field) {
|
|
2782
|
+
case 1:
|
|
2783
|
+
var value = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
2784
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader);
|
|
2785
|
+
msg.setFilters(value);
|
|
2786
|
+
break;
|
|
2787
|
+
default:
|
|
2788
|
+
reader.skipField();
|
|
2789
|
+
break;
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
return msg;
|
|
2793
|
+
};
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
/**
|
|
2797
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2798
|
+
* @return {!Uint8Array}
|
|
2799
|
+
*/
|
|
2800
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.serializeBinary = function() {
|
|
2801
|
+
var writer = new jspb.BinaryWriter();
|
|
2802
|
+
proto.Drumtracker.DrumProto.CountRequest.serializeBinaryToWriter(this, writer);
|
|
2803
|
+
return writer.getResultBuffer();
|
|
2804
|
+
};
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
/**
|
|
2808
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2809
|
+
* format), writing to the given BinaryWriter.
|
|
2810
|
+
* @param {!proto.Drumtracker.DrumProto.CountRequest} message
|
|
2811
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2812
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2813
|
+
*/
|
|
2814
|
+
proto.Drumtracker.DrumProto.CountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2815
|
+
var f = undefined;
|
|
2816
|
+
f = message.getFilters();
|
|
2817
|
+
if (f != null) {
|
|
2818
|
+
writer.writeMessage(
|
|
2819
|
+
1,
|
|
2820
|
+
f,
|
|
2821
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter
|
|
2822
|
+
);
|
|
2823
|
+
}
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* optional DrumFilters filters = 1;
|
|
2829
|
+
* @return {?proto.Drumtracker.DrumProto.DrumFilters}
|
|
2830
|
+
*/
|
|
2831
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.getFilters = function() {
|
|
2832
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumFilters} */ (
|
|
2833
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumFilters, 1));
|
|
2834
|
+
};
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* @param {?proto.Drumtracker.DrumProto.DrumFilters|undefined} value
|
|
2839
|
+
* @return {!proto.Drumtracker.DrumProto.CountRequest} returns this
|
|
2840
|
+
*/
|
|
2841
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.setFilters = function(value) {
|
|
2842
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2843
|
+
};
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Clears the message field making it undefined.
|
|
2848
|
+
* @return {!proto.Drumtracker.DrumProto.CountRequest} returns this
|
|
2849
|
+
*/
|
|
2850
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.clearFilters = function() {
|
|
2851
|
+
return this.setFilters(undefined);
|
|
2852
|
+
};
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* Returns whether this field is set.
|
|
2857
|
+
* @return {boolean}
|
|
2858
|
+
*/
|
|
2859
|
+
proto.Drumtracker.DrumProto.CountRequest.prototype.hasFilters = function() {
|
|
2860
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2861
|
+
};
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2868
|
+
/**
|
|
2869
|
+
* Creates an object representation of this proto.
|
|
2870
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2871
|
+
* Optional fields that are not set will be set to undefined.
|
|
2872
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2873
|
+
* For the list of reserved names please see:
|
|
2874
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2875
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2876
|
+
* JSPB instance for transitional soy proto support:
|
|
2877
|
+
* http://goto/soy-param-migration
|
|
2878
|
+
* @return {!Object}
|
|
2879
|
+
*/
|
|
2880
|
+
proto.Drumtracker.DrumProto.CountReply.prototype.toObject = function(opt_includeInstance) {
|
|
2881
|
+
return proto.Drumtracker.DrumProto.CountReply.toObject(opt_includeInstance, this);
|
|
2882
|
+
};
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
/**
|
|
2886
|
+
* Static version of the {@see toObject} method.
|
|
2887
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2888
|
+
* the JSPB instance for transitional soy proto support:
|
|
2889
|
+
* http://goto/soy-param-migration
|
|
2890
|
+
* @param {!proto.Drumtracker.DrumProto.CountReply} msg The msg instance to transform.
|
|
2891
|
+
* @return {!Object}
|
|
2892
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2893
|
+
*/
|
|
2894
|
+
proto.Drumtracker.DrumProto.CountReply.toObject = function(includeInstance, msg) {
|
|
2895
|
+
var f, obj = {
|
|
2896
|
+
total: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
2897
|
+
};
|
|
2898
|
+
|
|
2899
|
+
if (includeInstance) {
|
|
2900
|
+
obj.$jspbMessageInstance = msg;
|
|
2901
|
+
}
|
|
2902
|
+
return obj;
|
|
2903
|
+
};
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
/**
|
|
2908
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2909
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2910
|
+
* @return {!proto.Drumtracker.DrumProto.CountReply}
|
|
2911
|
+
*/
|
|
2912
|
+
proto.Drumtracker.DrumProto.CountReply.deserializeBinary = function(bytes) {
|
|
2913
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2914
|
+
var msg = new proto.Drumtracker.DrumProto.CountReply;
|
|
2915
|
+
return proto.Drumtracker.DrumProto.CountReply.deserializeBinaryFromReader(msg, reader);
|
|
2916
|
+
};
|
|
2917
|
+
|
|
2918
|
+
|
|
2919
|
+
/**
|
|
2920
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2921
|
+
* given reader into the given message object.
|
|
2922
|
+
* @param {!proto.Drumtracker.DrumProto.CountReply} msg The message object to deserialize into.
|
|
2923
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2924
|
+
* @return {!proto.Drumtracker.DrumProto.CountReply}
|
|
2925
|
+
*/
|
|
2926
|
+
proto.Drumtracker.DrumProto.CountReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
2927
|
+
while (reader.nextField()) {
|
|
2928
|
+
if (reader.isEndGroup()) {
|
|
2929
|
+
break;
|
|
2930
|
+
}
|
|
2931
|
+
var field = reader.getFieldNumber();
|
|
2932
|
+
switch (field) {
|
|
2933
|
+
case 1:
|
|
2934
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2935
|
+
msg.setTotal(value);
|
|
2936
|
+
break;
|
|
2937
|
+
default:
|
|
2938
|
+
reader.skipField();
|
|
2939
|
+
break;
|
|
2940
|
+
}
|
|
2941
|
+
}
|
|
2942
|
+
return msg;
|
|
2943
|
+
};
|
|
2944
|
+
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2948
|
+
* @return {!Uint8Array}
|
|
2949
|
+
*/
|
|
2950
|
+
proto.Drumtracker.DrumProto.CountReply.prototype.serializeBinary = function() {
|
|
2951
|
+
var writer = new jspb.BinaryWriter();
|
|
2952
|
+
proto.Drumtracker.DrumProto.CountReply.serializeBinaryToWriter(this, writer);
|
|
2953
|
+
return writer.getResultBuffer();
|
|
2954
|
+
};
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
/**
|
|
2958
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2959
|
+
* format), writing to the given BinaryWriter.
|
|
2960
|
+
* @param {!proto.Drumtracker.DrumProto.CountReply} message
|
|
2961
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2962
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2963
|
+
*/
|
|
2964
|
+
proto.Drumtracker.DrumProto.CountReply.serializeBinaryToWriter = function(message, writer) {
|
|
2965
|
+
var f = undefined;
|
|
2966
|
+
f = message.getTotal();
|
|
2967
|
+
if (f !== 0) {
|
|
2968
|
+
writer.writeInt32(
|
|
2969
|
+
1,
|
|
2970
|
+
f
|
|
2971
|
+
);
|
|
2972
|
+
}
|
|
2973
|
+
};
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
/**
|
|
2977
|
+
* optional int32 total = 1;
|
|
2978
|
+
* @return {number}
|
|
2979
|
+
*/
|
|
2980
|
+
proto.Drumtracker.DrumProto.CountReply.prototype.getTotal = function() {
|
|
2981
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2982
|
+
};
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
/**
|
|
2986
|
+
* @param {number} value
|
|
2987
|
+
* @return {!proto.Drumtracker.DrumProto.CountReply} returns this
|
|
2988
|
+
*/
|
|
2989
|
+
proto.Drumtracker.DrumProto.CountReply.prototype.setTotal = function(value) {
|
|
2990
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2991
|
+
};
|
|
2992
|
+
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2998
|
+
/**
|
|
2999
|
+
* Creates an object representation of this proto.
|
|
3000
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3001
|
+
* Optional fields that are not set will be set to undefined.
|
|
3002
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3003
|
+
* For the list of reserved names please see:
|
|
3004
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3005
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3006
|
+
* JSPB instance for transitional soy proto support:
|
|
3007
|
+
* http://goto/soy-param-migration
|
|
3008
|
+
* @return {!Object}
|
|
3009
|
+
*/
|
|
3010
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3011
|
+
return proto.Drumtracker.DrumProto.LocationSearchRequest.toObject(opt_includeInstance, this);
|
|
2771
3012
|
};
|
|
2772
3013
|
|
|
2773
3014
|
|
|
@@ -2776,13 +3017,13 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.toObject = function
|
|
|
2776
3017
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2777
3018
|
* the JSPB instance for transitional soy proto support:
|
|
2778
3019
|
* http://goto/soy-param-migration
|
|
2779
|
-
* @param {!proto.
|
|
3020
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} msg The msg instance to transform.
|
|
2780
3021
|
* @return {!Object}
|
|
2781
3022
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2782
3023
|
*/
|
|
2783
|
-
proto.
|
|
3024
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.toObject = function(includeInstance, msg) {
|
|
2784
3025
|
var f, obj = {
|
|
2785
|
-
filters: (f = msg.getFilters()) && proto.
|
|
3026
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.DrumProto.DrumFilters.toObject(includeInstance, f),
|
|
2786
3027
|
latmax: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
2787
3028
|
latmin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
2788
3029
|
lngmax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
@@ -2800,23 +3041,23 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.toObject = function(includeIn
|
|
|
2800
3041
|
/**
|
|
2801
3042
|
* Deserializes binary data (in protobuf wire format).
|
|
2802
3043
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2803
|
-
* @return {!proto.
|
|
3044
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest}
|
|
2804
3045
|
*/
|
|
2805
|
-
proto.
|
|
3046
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinary = function(bytes) {
|
|
2806
3047
|
var reader = new jspb.BinaryReader(bytes);
|
|
2807
|
-
var msg = new proto.
|
|
2808
|
-
return proto.
|
|
3048
|
+
var msg = new proto.Drumtracker.DrumProto.LocationSearchRequest;
|
|
3049
|
+
return proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
2809
3050
|
};
|
|
2810
3051
|
|
|
2811
3052
|
|
|
2812
3053
|
/**
|
|
2813
3054
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2814
3055
|
* given reader into the given message object.
|
|
2815
|
-
* @param {!proto.
|
|
3056
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} msg The message object to deserialize into.
|
|
2816
3057
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2817
|
-
* @return {!proto.
|
|
3058
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest}
|
|
2818
3059
|
*/
|
|
2819
|
-
proto.
|
|
3060
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2820
3061
|
while (reader.nextField()) {
|
|
2821
3062
|
if (reader.isEndGroup()) {
|
|
2822
3063
|
break;
|
|
@@ -2824,8 +3065,8 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.deserializeBinaryFromReader =
|
|
|
2824
3065
|
var field = reader.getFieldNumber();
|
|
2825
3066
|
switch (field) {
|
|
2826
3067
|
case 1:
|
|
2827
|
-
var value = new proto.
|
|
2828
|
-
reader.readMessage(value,proto.
|
|
3068
|
+
var value = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
3069
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader);
|
|
2829
3070
|
msg.setFilters(value);
|
|
2830
3071
|
break;
|
|
2831
3072
|
case 2:
|
|
@@ -2857,9 +3098,9 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.deserializeBinaryFromReader =
|
|
|
2857
3098
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2858
3099
|
* @return {!Uint8Array}
|
|
2859
3100
|
*/
|
|
2860
|
-
proto.
|
|
3101
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.serializeBinary = function() {
|
|
2861
3102
|
var writer = new jspb.BinaryWriter();
|
|
2862
|
-
proto.
|
|
3103
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.serializeBinaryToWriter(this, writer);
|
|
2863
3104
|
return writer.getResultBuffer();
|
|
2864
3105
|
};
|
|
2865
3106
|
|
|
@@ -2867,18 +3108,18 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.serializeBinary = f
|
|
|
2867
3108
|
/**
|
|
2868
3109
|
* Serializes the given message to binary data (in protobuf wire
|
|
2869
3110
|
* format), writing to the given BinaryWriter.
|
|
2870
|
-
* @param {!proto.
|
|
3111
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} message
|
|
2871
3112
|
* @param {!jspb.BinaryWriter} writer
|
|
2872
3113
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2873
3114
|
*/
|
|
2874
|
-
proto.
|
|
3115
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2875
3116
|
var f = undefined;
|
|
2876
3117
|
f = message.getFilters();
|
|
2877
3118
|
if (f != null) {
|
|
2878
3119
|
writer.writeMessage(
|
|
2879
3120
|
1,
|
|
2880
3121
|
f,
|
|
2881
|
-
proto.
|
|
3122
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter
|
|
2882
3123
|
);
|
|
2883
3124
|
}
|
|
2884
3125
|
f = message.getLatmax();
|
|
@@ -2914,28 +3155,28 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.serializeBinaryToWriter = fun
|
|
|
2914
3155
|
|
|
2915
3156
|
/**
|
|
2916
3157
|
* optional DrumFilters filters = 1;
|
|
2917
|
-
* @return {?proto.
|
|
3158
|
+
* @return {?proto.Drumtracker.DrumProto.DrumFilters}
|
|
2918
3159
|
*/
|
|
2919
|
-
proto.
|
|
2920
|
-
return /** @type{?proto.
|
|
2921
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3160
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getFilters = function() {
|
|
3161
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumFilters} */ (
|
|
3162
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumFilters, 1));
|
|
2922
3163
|
};
|
|
2923
3164
|
|
|
2924
3165
|
|
|
2925
3166
|
/**
|
|
2926
|
-
* @param {?proto.
|
|
2927
|
-
* @return {!proto.
|
|
3167
|
+
* @param {?proto.Drumtracker.DrumProto.DrumFilters|undefined} value
|
|
3168
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2928
3169
|
*/
|
|
2929
|
-
proto.
|
|
3170
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setFilters = function(value) {
|
|
2930
3171
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2931
3172
|
};
|
|
2932
3173
|
|
|
2933
3174
|
|
|
2934
3175
|
/**
|
|
2935
3176
|
* Clears the message field making it undefined.
|
|
2936
|
-
* @return {!proto.
|
|
3177
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2937
3178
|
*/
|
|
2938
|
-
proto.
|
|
3179
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.clearFilters = function() {
|
|
2939
3180
|
return this.setFilters(undefined);
|
|
2940
3181
|
};
|
|
2941
3182
|
|
|
@@ -2944,7 +3185,7 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.clearFilters = func
|
|
|
2944
3185
|
* Returns whether this field is set.
|
|
2945
3186
|
* @return {boolean}
|
|
2946
3187
|
*/
|
|
2947
|
-
proto.
|
|
3188
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.hasFilters = function() {
|
|
2948
3189
|
return jspb.Message.getField(this, 1) != null;
|
|
2949
3190
|
};
|
|
2950
3191
|
|
|
@@ -2953,16 +3194,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.hasFilters = functi
|
|
|
2953
3194
|
* optional double latMax = 2;
|
|
2954
3195
|
* @return {number}
|
|
2955
3196
|
*/
|
|
2956
|
-
proto.
|
|
3197
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLatmax = function() {
|
|
2957
3198
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
2958
3199
|
};
|
|
2959
3200
|
|
|
2960
3201
|
|
|
2961
3202
|
/**
|
|
2962
3203
|
* @param {number} value
|
|
2963
|
-
* @return {!proto.
|
|
3204
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2964
3205
|
*/
|
|
2965
|
-
proto.
|
|
3206
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLatmax = function(value) {
|
|
2966
3207
|
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
2967
3208
|
};
|
|
2968
3209
|
|
|
@@ -2971,16 +3212,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLatmax = functio
|
|
|
2971
3212
|
* optional double latMin = 3;
|
|
2972
3213
|
* @return {number}
|
|
2973
3214
|
*/
|
|
2974
|
-
proto.
|
|
3215
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLatmin = function() {
|
|
2975
3216
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
2976
3217
|
};
|
|
2977
3218
|
|
|
2978
3219
|
|
|
2979
3220
|
/**
|
|
2980
3221
|
* @param {number} value
|
|
2981
|
-
* @return {!proto.
|
|
3222
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2982
3223
|
*/
|
|
2983
|
-
proto.
|
|
3224
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLatmin = function(value) {
|
|
2984
3225
|
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
2985
3226
|
};
|
|
2986
3227
|
|
|
@@ -2989,16 +3230,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLatmin = functio
|
|
|
2989
3230
|
* optional double lngMax = 4;
|
|
2990
3231
|
* @return {number}
|
|
2991
3232
|
*/
|
|
2992
|
-
proto.
|
|
3233
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLngmax = function() {
|
|
2993
3234
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
2994
3235
|
};
|
|
2995
3236
|
|
|
2996
3237
|
|
|
2997
3238
|
/**
|
|
2998
3239
|
* @param {number} value
|
|
2999
|
-
* @return {!proto.
|
|
3240
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
3000
3241
|
*/
|
|
3001
|
-
proto.
|
|
3242
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLngmax = function(value) {
|
|
3002
3243
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
3003
3244
|
};
|
|
3004
3245
|
|
|
@@ -3007,16 +3248,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLngmax = functio
|
|
|
3007
3248
|
* optional double lngMin = 5;
|
|
3008
3249
|
* @return {number}
|
|
3009
3250
|
*/
|
|
3010
|
-
proto.
|
|
3251
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLngmin = function() {
|
|
3011
3252
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
3012
3253
|
};
|
|
3013
3254
|
|
|
3014
3255
|
|
|
3015
3256
|
/**
|
|
3016
3257
|
* @param {number} value
|
|
3017
|
-
* @return {!proto.
|
|
3258
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
3018
3259
|
*/
|
|
3019
|
-
proto.
|
|
3260
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLngmin = function(value) {
|
|
3020
3261
|
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
3021
3262
|
};
|
|
3022
3263
|
|
|
@@ -3027,7 +3268,7 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLngmin = functio
|
|
|
3027
3268
|
* @private {!Array<number>}
|
|
3028
3269
|
* @const
|
|
3029
3270
|
*/
|
|
3030
|
-
proto.
|
|
3271
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.repeatedFields_ = [1];
|
|
3031
3272
|
|
|
3032
3273
|
|
|
3033
3274
|
|
|
@@ -3044,8 +3285,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3044
3285
|
* http://goto/soy-param-migration
|
|
3045
3286
|
* @return {!Object}
|
|
3046
3287
|
*/
|
|
3047
|
-
proto.
|
|
3048
|
-
return proto.
|
|
3288
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.toObject = function(opt_includeInstance) {
|
|
3289
|
+
return proto.Drumtracker.DrumProto.LocationSearchReply.toObject(opt_includeInstance, this);
|
|
3049
3290
|
};
|
|
3050
3291
|
|
|
3051
3292
|
|
|
@@ -3054,14 +3295,14 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.toObject = function(o
|
|
|
3054
3295
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3055
3296
|
* the JSPB instance for transitional soy proto support:
|
|
3056
3297
|
* http://goto/soy-param-migration
|
|
3057
|
-
* @param {!proto.
|
|
3298
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} msg The msg instance to transform.
|
|
3058
3299
|
* @return {!Object}
|
|
3059
3300
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3060
3301
|
*/
|
|
3061
|
-
proto.
|
|
3302
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.toObject = function(includeInstance, msg) {
|
|
3062
3303
|
var f, obj = {
|
|
3063
3304
|
drumsList: jspb.Message.toObjectList(msg.getDrumsList(),
|
|
3064
|
-
proto.
|
|
3305
|
+
proto.Drumtracker.DrumProto.toObject, includeInstance),
|
|
3065
3306
|
total: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3066
3307
|
};
|
|
3067
3308
|
|
|
@@ -3076,23 +3317,23 @@ proto.Drumtracking.DrumProto.LocationSearchReply.toObject = function(includeInst
|
|
|
3076
3317
|
/**
|
|
3077
3318
|
* Deserializes binary data (in protobuf wire format).
|
|
3078
3319
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3079
|
-
* @return {!proto.
|
|
3320
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply}
|
|
3080
3321
|
*/
|
|
3081
|
-
proto.
|
|
3322
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinary = function(bytes) {
|
|
3082
3323
|
var reader = new jspb.BinaryReader(bytes);
|
|
3083
|
-
var msg = new proto.
|
|
3084
|
-
return proto.
|
|
3324
|
+
var msg = new proto.Drumtracker.DrumProto.LocationSearchReply;
|
|
3325
|
+
return proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinaryFromReader(msg, reader);
|
|
3085
3326
|
};
|
|
3086
3327
|
|
|
3087
3328
|
|
|
3088
3329
|
/**
|
|
3089
3330
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3090
3331
|
* given reader into the given message object.
|
|
3091
|
-
* @param {!proto.
|
|
3332
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} msg The message object to deserialize into.
|
|
3092
3333
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3093
|
-
* @return {!proto.
|
|
3334
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply}
|
|
3094
3335
|
*/
|
|
3095
|
-
proto.
|
|
3336
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
3096
3337
|
while (reader.nextField()) {
|
|
3097
3338
|
if (reader.isEndGroup()) {
|
|
3098
3339
|
break;
|
|
@@ -3100,8 +3341,8 @@ proto.Drumtracking.DrumProto.LocationSearchReply.deserializeBinaryFromReader = f
|
|
|
3100
3341
|
var field = reader.getFieldNumber();
|
|
3101
3342
|
switch (field) {
|
|
3102
3343
|
case 1:
|
|
3103
|
-
var value = new proto.
|
|
3104
|
-
reader.readMessage(value,proto.
|
|
3344
|
+
var value = new proto.Drumtracker.DrumProto;
|
|
3345
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.deserializeBinaryFromReader);
|
|
3105
3346
|
msg.addDrums(value);
|
|
3106
3347
|
break;
|
|
3107
3348
|
case 2:
|
|
@@ -3121,9 +3362,9 @@ proto.Drumtracking.DrumProto.LocationSearchReply.deserializeBinaryFromReader = f
|
|
|
3121
3362
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3122
3363
|
* @return {!Uint8Array}
|
|
3123
3364
|
*/
|
|
3124
|
-
proto.
|
|
3365
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.serializeBinary = function() {
|
|
3125
3366
|
var writer = new jspb.BinaryWriter();
|
|
3126
|
-
proto.
|
|
3367
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.serializeBinaryToWriter(this, writer);
|
|
3127
3368
|
return writer.getResultBuffer();
|
|
3128
3369
|
};
|
|
3129
3370
|
|
|
@@ -3131,18 +3372,18 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.serializeBinary = fun
|
|
|
3131
3372
|
/**
|
|
3132
3373
|
* Serializes the given message to binary data (in protobuf wire
|
|
3133
3374
|
* format), writing to the given BinaryWriter.
|
|
3134
|
-
* @param {!proto.
|
|
3375
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} message
|
|
3135
3376
|
* @param {!jspb.BinaryWriter} writer
|
|
3136
3377
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3137
3378
|
*/
|
|
3138
|
-
proto.
|
|
3379
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.serializeBinaryToWriter = function(message, writer) {
|
|
3139
3380
|
var f = undefined;
|
|
3140
3381
|
f = message.getDrumsList();
|
|
3141
3382
|
if (f.length > 0) {
|
|
3142
3383
|
writer.writeRepeatedMessage(
|
|
3143
3384
|
1,
|
|
3144
3385
|
f,
|
|
3145
|
-
proto.
|
|
3386
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter
|
|
3146
3387
|
);
|
|
3147
3388
|
}
|
|
3148
3389
|
f = message.getTotal();
|
|
@@ -3157,38 +3398,38 @@ proto.Drumtracking.DrumProto.LocationSearchReply.serializeBinaryToWriter = funct
|
|
|
3157
3398
|
|
|
3158
3399
|
/**
|
|
3159
3400
|
* repeated DrumProto drums = 1;
|
|
3160
|
-
* @return {!Array<!proto.
|
|
3401
|
+
* @return {!Array<!proto.Drumtracker.DrumProto>}
|
|
3161
3402
|
*/
|
|
3162
|
-
proto.
|
|
3163
|
-
return /** @type{!Array<!proto.
|
|
3164
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
3403
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.getDrumsList = function() {
|
|
3404
|
+
return /** @type{!Array<!proto.Drumtracker.DrumProto>} */ (
|
|
3405
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Drumtracker.DrumProto, 1));
|
|
3165
3406
|
};
|
|
3166
3407
|
|
|
3167
3408
|
|
|
3168
3409
|
/**
|
|
3169
|
-
* @param {!Array<!proto.
|
|
3170
|
-
* @return {!proto.
|
|
3410
|
+
* @param {!Array<!proto.Drumtracker.DrumProto>} value
|
|
3411
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3171
3412
|
*/
|
|
3172
|
-
proto.
|
|
3413
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.setDrumsList = function(value) {
|
|
3173
3414
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3174
3415
|
};
|
|
3175
3416
|
|
|
3176
3417
|
|
|
3177
3418
|
/**
|
|
3178
|
-
* @param {!proto.
|
|
3419
|
+
* @param {!proto.Drumtracker.DrumProto=} opt_value
|
|
3179
3420
|
* @param {number=} opt_index
|
|
3180
|
-
* @return {!proto.
|
|
3421
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
3181
3422
|
*/
|
|
3182
|
-
proto.
|
|
3183
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
3423
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.addDrums = function(opt_value, opt_index) {
|
|
3424
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Drumtracker.DrumProto, opt_index);
|
|
3184
3425
|
};
|
|
3185
3426
|
|
|
3186
3427
|
|
|
3187
3428
|
/**
|
|
3188
3429
|
* Clears the list making it empty but non-null.
|
|
3189
|
-
* @return {!proto.
|
|
3430
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3190
3431
|
*/
|
|
3191
|
-
proto.
|
|
3432
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.clearDrumsList = function() {
|
|
3192
3433
|
return this.setDrumsList([]);
|
|
3193
3434
|
};
|
|
3194
3435
|
|
|
@@ -3197,16 +3438,16 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.clearDrumsList = func
|
|
|
3197
3438
|
* optional int32 total = 2;
|
|
3198
3439
|
* @return {number}
|
|
3199
3440
|
*/
|
|
3200
|
-
proto.
|
|
3441
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.getTotal = function() {
|
|
3201
3442
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3202
3443
|
};
|
|
3203
3444
|
|
|
3204
3445
|
|
|
3205
3446
|
/**
|
|
3206
3447
|
* @param {number} value
|
|
3207
|
-
* @return {!proto.
|
|
3448
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3208
3449
|
*/
|
|
3209
|
-
proto.
|
|
3450
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.setTotal = function(value) {
|
|
3210
3451
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3211
3452
|
};
|
|
3212
3453
|
|
|
@@ -3227,8 +3468,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3227
3468
|
* http://goto/soy-param-migration
|
|
3228
3469
|
* @return {!Object}
|
|
3229
3470
|
*/
|
|
3230
|
-
proto.
|
|
3231
|
-
return proto.
|
|
3471
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.toObject = function(opt_includeInstance) {
|
|
3472
|
+
return proto.Drumtracker.DrumProto.DrumFilters.toObject(opt_includeInstance, this);
|
|
3232
3473
|
};
|
|
3233
3474
|
|
|
3234
3475
|
|
|
@@ -3237,11 +3478,11 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.toObject = function(opt_inclu
|
|
|
3237
3478
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3238
3479
|
* the JSPB instance for transitional soy proto support:
|
|
3239
3480
|
* http://goto/soy-param-migration
|
|
3240
|
-
* @param {!proto.
|
|
3481
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} msg The msg instance to transform.
|
|
3241
3482
|
* @return {!Object}
|
|
3242
3483
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3243
3484
|
*/
|
|
3244
|
-
proto.
|
|
3485
|
+
proto.Drumtracker.DrumProto.DrumFilters.toObject = function(includeInstance, msg) {
|
|
3245
3486
|
var f, obj = {
|
|
3246
3487
|
search: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3247
3488
|
minRemainingLength: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -3262,23 +3503,23 @@ proto.Drumtracking.DrumProto.DrumFilters.toObject = function(includeInstance, ms
|
|
|
3262
3503
|
/**
|
|
3263
3504
|
* Deserializes binary data (in protobuf wire format).
|
|
3264
3505
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3265
|
-
* @return {!proto.
|
|
3506
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters}
|
|
3266
3507
|
*/
|
|
3267
|
-
proto.
|
|
3508
|
+
proto.Drumtracker.DrumProto.DrumFilters.deserializeBinary = function(bytes) {
|
|
3268
3509
|
var reader = new jspb.BinaryReader(bytes);
|
|
3269
|
-
var msg = new proto.
|
|
3270
|
-
return proto.
|
|
3510
|
+
var msg = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
3511
|
+
return proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader(msg, reader);
|
|
3271
3512
|
};
|
|
3272
3513
|
|
|
3273
3514
|
|
|
3274
3515
|
/**
|
|
3275
3516
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3276
3517
|
* given reader into the given message object.
|
|
3277
|
-
* @param {!proto.
|
|
3518
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} msg The message object to deserialize into.
|
|
3278
3519
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3279
|
-
* @return {!proto.
|
|
3520
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters}
|
|
3280
3521
|
*/
|
|
3281
|
-
proto.
|
|
3522
|
+
proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader = function(msg, reader) {
|
|
3282
3523
|
while (reader.nextField()) {
|
|
3283
3524
|
if (reader.isEndGroup()) {
|
|
3284
3525
|
break;
|
|
@@ -3322,9 +3563,9 @@ proto.Drumtracking.DrumProto.DrumFilters.deserializeBinaryFromReader = function(
|
|
|
3322
3563
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3323
3564
|
* @return {!Uint8Array}
|
|
3324
3565
|
*/
|
|
3325
|
-
proto.
|
|
3566
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.serializeBinary = function() {
|
|
3326
3567
|
var writer = new jspb.BinaryWriter();
|
|
3327
|
-
proto.
|
|
3568
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter(this, writer);
|
|
3328
3569
|
return writer.getResultBuffer();
|
|
3329
3570
|
};
|
|
3330
3571
|
|
|
@@ -3332,11 +3573,11 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.serializeBinary = function()
|
|
|
3332
3573
|
/**
|
|
3333
3574
|
* Serializes the given message to binary data (in protobuf wire
|
|
3334
3575
|
* format), writing to the given BinaryWriter.
|
|
3335
|
-
* @param {!proto.
|
|
3576
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} message
|
|
3336
3577
|
* @param {!jspb.BinaryWriter} writer
|
|
3337
3578
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3338
3579
|
*/
|
|
3339
|
-
proto.
|
|
3580
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter = function(message, writer) {
|
|
3340
3581
|
var f = undefined;
|
|
3341
3582
|
f = message.getSearch();
|
|
3342
3583
|
if (f.length > 0) {
|
|
@@ -3387,16 +3628,16 @@ proto.Drumtracking.DrumProto.DrumFilters.serializeBinaryToWriter = function(mess
|
|
|
3387
3628
|
* optional string search = 1;
|
|
3388
3629
|
* @return {string}
|
|
3389
3630
|
*/
|
|
3390
|
-
proto.
|
|
3631
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getSearch = function() {
|
|
3391
3632
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3392
3633
|
};
|
|
3393
3634
|
|
|
3394
3635
|
|
|
3395
3636
|
/**
|
|
3396
3637
|
* @param {string} value
|
|
3397
|
-
* @return {!proto.
|
|
3638
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3398
3639
|
*/
|
|
3399
|
-
proto.
|
|
3640
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setSearch = function(value) {
|
|
3400
3641
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3401
3642
|
};
|
|
3402
3643
|
|
|
@@ -3405,16 +3646,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setSearch = function(value) {
|
|
|
3405
3646
|
* optional int32 min_remaining_length = 2;
|
|
3406
3647
|
* @return {number}
|
|
3407
3648
|
*/
|
|
3408
|
-
proto.
|
|
3649
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMinRemainingLength = function() {
|
|
3409
3650
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3410
3651
|
};
|
|
3411
3652
|
|
|
3412
3653
|
|
|
3413
3654
|
/**
|
|
3414
3655
|
* @param {number} value
|
|
3415
|
-
* @return {!proto.
|
|
3656
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3416
3657
|
*/
|
|
3417
|
-
proto.
|
|
3658
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMinRemainingLength = function(value) {
|
|
3418
3659
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3419
3660
|
};
|
|
3420
3661
|
|
|
@@ -3423,16 +3664,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMinRemainingLength = funct
|
|
|
3423
3664
|
* optional int32 max_remaining_length = 3;
|
|
3424
3665
|
* @return {number}
|
|
3425
3666
|
*/
|
|
3426
|
-
proto.
|
|
3667
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMaxRemainingLength = function() {
|
|
3427
3668
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3428
3669
|
};
|
|
3429
3670
|
|
|
3430
3671
|
|
|
3431
3672
|
/**
|
|
3432
3673
|
* @param {number} value
|
|
3433
|
-
* @return {!proto.
|
|
3674
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3434
3675
|
*/
|
|
3435
|
-
proto.
|
|
3676
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMaxRemainingLength = function(value) {
|
|
3436
3677
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
3437
3678
|
};
|
|
3438
3679
|
|
|
@@ -3441,16 +3682,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMaxRemainingLength = funct
|
|
|
3441
3682
|
* optional int32 customer_id = 4;
|
|
3442
3683
|
* @return {number}
|
|
3443
3684
|
*/
|
|
3444
|
-
proto.
|
|
3685
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getCustomerId = function() {
|
|
3445
3686
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3446
3687
|
};
|
|
3447
3688
|
|
|
3448
3689
|
|
|
3449
3690
|
/**
|
|
3450
3691
|
* @param {number} value
|
|
3451
|
-
* @return {!proto.
|
|
3692
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3452
3693
|
*/
|
|
3453
|
-
proto.
|
|
3694
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setCustomerId = function(value) {
|
|
3454
3695
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
3455
3696
|
};
|
|
3456
3697
|
|
|
@@ -3459,16 +3700,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setCustomerId = function(valu
|
|
|
3459
3700
|
* optional int32 min_battery = 5;
|
|
3460
3701
|
* @return {number}
|
|
3461
3702
|
*/
|
|
3462
|
-
proto.
|
|
3703
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMinBattery = function() {
|
|
3463
3704
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
3464
3705
|
};
|
|
3465
3706
|
|
|
3466
3707
|
|
|
3467
3708
|
/**
|
|
3468
3709
|
* @param {number} value
|
|
3469
|
-
* @return {!proto.
|
|
3710
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3470
3711
|
*/
|
|
3471
|
-
proto.
|
|
3712
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMinBattery = function(value) {
|
|
3472
3713
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
3473
3714
|
};
|
|
3474
3715
|
|
|
@@ -3477,16 +3718,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMinBattery = function(valu
|
|
|
3477
3718
|
* optional int32 max_battery = 6;
|
|
3478
3719
|
* @return {number}
|
|
3479
3720
|
*/
|
|
3480
|
-
proto.
|
|
3721
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMaxBattery = function() {
|
|
3481
3722
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
3482
3723
|
};
|
|
3483
3724
|
|
|
3484
3725
|
|
|
3485
3726
|
/**
|
|
3486
3727
|
* @param {number} value
|
|
3487
|
-
* @return {!proto.
|
|
3728
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3488
3729
|
*/
|
|
3489
|
-
proto.
|
|
3730
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMaxBattery = function(value) {
|
|
3490
3731
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
3491
3732
|
};
|
|
3492
3733
|
|
|
@@ -3495,62 +3736,62 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMaxBattery = function(valu
|
|
|
3495
3736
|
* optional int64 id = 1;
|
|
3496
3737
|
* @return {number}
|
|
3497
3738
|
*/
|
|
3498
|
-
proto.
|
|
3739
|
+
proto.Drumtracker.DrumProto.prototype.getId = function() {
|
|
3499
3740
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3500
3741
|
};
|
|
3501
3742
|
|
|
3502
3743
|
|
|
3503
3744
|
/**
|
|
3504
3745
|
* @param {number} value
|
|
3505
|
-
* @return {!proto.
|
|
3746
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3506
3747
|
*/
|
|
3507
|
-
proto.
|
|
3748
|
+
proto.Drumtracker.DrumProto.prototype.setId = function(value) {
|
|
3508
3749
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3509
3750
|
};
|
|
3510
3751
|
|
|
3511
3752
|
|
|
3512
3753
|
/**
|
|
3513
|
-
* optional
|
|
3514
|
-
* @return {
|
|
3754
|
+
* optional string name = 2;
|
|
3755
|
+
* @return {string}
|
|
3515
3756
|
*/
|
|
3516
|
-
proto.
|
|
3517
|
-
return /** @type {
|
|
3757
|
+
proto.Drumtracker.DrumProto.prototype.getName = function() {
|
|
3758
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3518
3759
|
};
|
|
3519
3760
|
|
|
3520
3761
|
|
|
3521
3762
|
/**
|
|
3522
|
-
* @param {
|
|
3523
|
-
* @return {!proto.
|
|
3763
|
+
* @param {string} value
|
|
3764
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3524
3765
|
*/
|
|
3525
|
-
proto.
|
|
3526
|
-
return jspb.Message.
|
|
3766
|
+
proto.Drumtracker.DrumProto.prototype.setName = function(value) {
|
|
3767
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3527
3768
|
};
|
|
3528
3769
|
|
|
3529
3770
|
|
|
3530
3771
|
/**
|
|
3531
3772
|
* optional DrumType drum_type = 3;
|
|
3532
|
-
* @return {?proto.
|
|
3773
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
3533
3774
|
*/
|
|
3534
|
-
proto.
|
|
3535
|
-
return /** @type{?proto.
|
|
3536
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3775
|
+
proto.Drumtracker.DrumProto.prototype.getDrumType = function() {
|
|
3776
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
3777
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 3));
|
|
3537
3778
|
};
|
|
3538
3779
|
|
|
3539
3780
|
|
|
3540
3781
|
/**
|
|
3541
|
-
* @param {?proto.
|
|
3542
|
-
* @return {!proto.
|
|
3782
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
3783
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3543
3784
|
*/
|
|
3544
|
-
proto.
|
|
3785
|
+
proto.Drumtracker.DrumProto.prototype.setDrumType = function(value) {
|
|
3545
3786
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
3546
3787
|
};
|
|
3547
3788
|
|
|
3548
3789
|
|
|
3549
3790
|
/**
|
|
3550
3791
|
* Clears the message field making it undefined.
|
|
3551
|
-
* @return {!proto.
|
|
3792
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3552
3793
|
*/
|
|
3553
|
-
proto.
|
|
3794
|
+
proto.Drumtracker.DrumProto.prototype.clearDrumType = function() {
|
|
3554
3795
|
return this.setDrumType(undefined);
|
|
3555
3796
|
};
|
|
3556
3797
|
|
|
@@ -3559,35 +3800,35 @@ proto.Drumtracking.DrumProto.prototype.clearDrumType = function() {
|
|
|
3559
3800
|
* Returns whether this field is set.
|
|
3560
3801
|
* @return {boolean}
|
|
3561
3802
|
*/
|
|
3562
|
-
proto.
|
|
3803
|
+
proto.Drumtracker.DrumProto.prototype.hasDrumType = function() {
|
|
3563
3804
|
return jspb.Message.getField(this, 3) != null;
|
|
3564
3805
|
};
|
|
3565
3806
|
|
|
3566
3807
|
|
|
3567
3808
|
/**
|
|
3568
|
-
* optional
|
|
3569
|
-
* @return {?proto.
|
|
3809
|
+
* optional CableType cable_type = 4;
|
|
3810
|
+
* @return {?proto.Drumtracker.DrumProto.CableType}
|
|
3570
3811
|
*/
|
|
3571
|
-
proto.
|
|
3572
|
-
return /** @type{?proto.
|
|
3573
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3812
|
+
proto.Drumtracker.DrumProto.prototype.getCableType = function() {
|
|
3813
|
+
return /** @type{?proto.Drumtracker.DrumProto.CableType} */ (
|
|
3814
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.CableType, 4));
|
|
3574
3815
|
};
|
|
3575
3816
|
|
|
3576
3817
|
|
|
3577
3818
|
/**
|
|
3578
|
-
* @param {?proto.
|
|
3579
|
-
* @return {!proto.
|
|
3819
|
+
* @param {?proto.Drumtracker.DrumProto.CableType|undefined} value
|
|
3820
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3580
3821
|
*/
|
|
3581
|
-
proto.
|
|
3822
|
+
proto.Drumtracker.DrumProto.prototype.setCableType = function(value) {
|
|
3582
3823
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
3583
3824
|
};
|
|
3584
3825
|
|
|
3585
3826
|
|
|
3586
3827
|
/**
|
|
3587
3828
|
* Clears the message field making it undefined.
|
|
3588
|
-
* @return {!proto.
|
|
3829
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3589
3830
|
*/
|
|
3590
|
-
proto.
|
|
3831
|
+
proto.Drumtracker.DrumProto.prototype.clearCableType = function() {
|
|
3591
3832
|
return this.setCableType(undefined);
|
|
3592
3833
|
};
|
|
3593
3834
|
|
|
@@ -3596,7 +3837,7 @@ proto.Drumtracking.DrumProto.prototype.clearCableType = function() {
|
|
|
3596
3837
|
* Returns whether this field is set.
|
|
3597
3838
|
* @return {boolean}
|
|
3598
3839
|
*/
|
|
3599
|
-
proto.
|
|
3840
|
+
proto.Drumtracker.DrumProto.prototype.hasCableType = function() {
|
|
3600
3841
|
return jspb.Message.getField(this, 4) != null;
|
|
3601
3842
|
};
|
|
3602
3843
|
|
|
@@ -3605,16 +3846,16 @@ proto.Drumtracking.DrumProto.prototype.hasCableType = function() {
|
|
|
3605
3846
|
* optional string group_id = 5;
|
|
3606
3847
|
* @return {string}
|
|
3607
3848
|
*/
|
|
3608
|
-
proto.
|
|
3849
|
+
proto.Drumtracker.DrumProto.prototype.getGroupId = function() {
|
|
3609
3850
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3610
3851
|
};
|
|
3611
3852
|
|
|
3612
3853
|
|
|
3613
3854
|
/**
|
|
3614
3855
|
* @param {string} value
|
|
3615
|
-
* @return {!proto.
|
|
3856
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3616
3857
|
*/
|
|
3617
|
-
proto.
|
|
3858
|
+
proto.Drumtracker.DrumProto.prototype.setGroupId = function(value) {
|
|
3618
3859
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3619
3860
|
};
|
|
3620
3861
|
|
|
@@ -3623,16 +3864,16 @@ proto.Drumtracking.DrumProto.prototype.setGroupId = function(value) {
|
|
|
3623
3864
|
* optional int32 cable_length = 6;
|
|
3624
3865
|
* @return {number}
|
|
3625
3866
|
*/
|
|
3626
|
-
proto.
|
|
3867
|
+
proto.Drumtracker.DrumProto.prototype.getCableLength = function() {
|
|
3627
3868
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
3628
3869
|
};
|
|
3629
3870
|
|
|
3630
3871
|
|
|
3631
3872
|
/**
|
|
3632
3873
|
* @param {number} value
|
|
3633
|
-
* @return {!proto.
|
|
3874
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3634
3875
|
*/
|
|
3635
|
-
proto.
|
|
3876
|
+
proto.Drumtracker.DrumProto.prototype.setCableLength = function(value) {
|
|
3636
3877
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
3637
3878
|
};
|
|
3638
3879
|
|
|
@@ -3641,16 +3882,16 @@ proto.Drumtracking.DrumProto.prototype.setCableLength = function(value) {
|
|
|
3641
3882
|
* optional int32 residual_length = 7;
|
|
3642
3883
|
* @return {number}
|
|
3643
3884
|
*/
|
|
3644
|
-
proto.
|
|
3885
|
+
proto.Drumtracker.DrumProto.prototype.getResidualLength = function() {
|
|
3645
3886
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
3646
3887
|
};
|
|
3647
3888
|
|
|
3648
3889
|
|
|
3649
3890
|
/**
|
|
3650
3891
|
* @param {number} value
|
|
3651
|
-
* @return {!proto.
|
|
3892
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3652
3893
|
*/
|
|
3653
|
-
proto.
|
|
3894
|
+
proto.Drumtracker.DrumProto.prototype.setResidualLength = function(value) {
|
|
3654
3895
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
3655
3896
|
};
|
|
3656
3897
|
|
|
@@ -3659,16 +3900,16 @@ proto.Drumtracking.DrumProto.prototype.setResidualLength = function(value) {
|
|
|
3659
3900
|
* optional double latitude = 8;
|
|
3660
3901
|
* @return {number}
|
|
3661
3902
|
*/
|
|
3662
|
-
proto.
|
|
3903
|
+
proto.Drumtracker.DrumProto.prototype.getLatitude = function() {
|
|
3663
3904
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
3664
3905
|
};
|
|
3665
3906
|
|
|
3666
3907
|
|
|
3667
3908
|
/**
|
|
3668
3909
|
* @param {number} value
|
|
3669
|
-
* @return {!proto.
|
|
3910
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3670
3911
|
*/
|
|
3671
|
-
proto.
|
|
3912
|
+
proto.Drumtracker.DrumProto.prototype.setLatitude = function(value) {
|
|
3672
3913
|
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
3673
3914
|
};
|
|
3674
3915
|
|
|
@@ -3677,16 +3918,16 @@ proto.Drumtracking.DrumProto.prototype.setLatitude = function(value) {
|
|
|
3677
3918
|
* optional double longitude = 9;
|
|
3678
3919
|
* @return {number}
|
|
3679
3920
|
*/
|
|
3680
|
-
proto.
|
|
3921
|
+
proto.Drumtracker.DrumProto.prototype.getLongitude = function() {
|
|
3681
3922
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
3682
3923
|
};
|
|
3683
3924
|
|
|
3684
3925
|
|
|
3685
3926
|
/**
|
|
3686
3927
|
* @param {number} value
|
|
3687
|
-
* @return {!proto.
|
|
3928
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3688
3929
|
*/
|
|
3689
|
-
proto.
|
|
3930
|
+
proto.Drumtracker.DrumProto.prototype.setLongitude = function(value) {
|
|
3690
3931
|
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
3691
3932
|
};
|
|
3692
3933
|
|
|
@@ -3695,16 +3936,16 @@ proto.Drumtracking.DrumProto.prototype.setLongitude = function(value) {
|
|
|
3695
3936
|
* optional int32 temperature = 10;
|
|
3696
3937
|
* @return {number}
|
|
3697
3938
|
*/
|
|
3698
|
-
proto.
|
|
3939
|
+
proto.Drumtracker.DrumProto.prototype.getTemperature = function() {
|
|
3699
3940
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
3700
3941
|
};
|
|
3701
3942
|
|
|
3702
3943
|
|
|
3703
3944
|
/**
|
|
3704
3945
|
* @param {number} value
|
|
3705
|
-
* @return {!proto.
|
|
3946
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3706
3947
|
*/
|
|
3707
|
-
proto.
|
|
3948
|
+
proto.Drumtracker.DrumProto.prototype.setTemperature = function(value) {
|
|
3708
3949
|
return jspb.Message.setProto3IntField(this, 10, value);
|
|
3709
3950
|
};
|
|
3710
3951
|
|
|
@@ -3713,7 +3954,7 @@ proto.Drumtracking.DrumProto.prototype.setTemperature = function(value) {
|
|
|
3713
3954
|
* optional google.protobuf.Timestamp last_update = 11;
|
|
3714
3955
|
* @return {?proto.google.protobuf.Timestamp}
|
|
3715
3956
|
*/
|
|
3716
|
-
proto.
|
|
3957
|
+
proto.Drumtracker.DrumProto.prototype.getLastUpdate = function() {
|
|
3717
3958
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3718
3959
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
3719
3960
|
};
|
|
@@ -3721,18 +3962,18 @@ proto.Drumtracking.DrumProto.prototype.getLastUpdate = function() {
|
|
|
3721
3962
|
|
|
3722
3963
|
/**
|
|
3723
3964
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
3724
|
-
* @return {!proto.
|
|
3965
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3725
3966
|
*/
|
|
3726
|
-
proto.
|
|
3967
|
+
proto.Drumtracker.DrumProto.prototype.setLastUpdate = function(value) {
|
|
3727
3968
|
return jspb.Message.setWrapperField(this, 11, value);
|
|
3728
3969
|
};
|
|
3729
3970
|
|
|
3730
3971
|
|
|
3731
3972
|
/**
|
|
3732
3973
|
* Clears the message field making it undefined.
|
|
3733
|
-
* @return {!proto.
|
|
3974
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3734
3975
|
*/
|
|
3735
|
-
proto.
|
|
3976
|
+
proto.Drumtracker.DrumProto.prototype.clearLastUpdate = function() {
|
|
3736
3977
|
return this.setLastUpdate(undefined);
|
|
3737
3978
|
};
|
|
3738
3979
|
|
|
@@ -3741,7 +3982,7 @@ proto.Drumtracking.DrumProto.prototype.clearLastUpdate = function() {
|
|
|
3741
3982
|
* Returns whether this field is set.
|
|
3742
3983
|
* @return {boolean}
|
|
3743
3984
|
*/
|
|
3744
|
-
proto.
|
|
3985
|
+
proto.Drumtracker.DrumProto.prototype.hasLastUpdate = function() {
|
|
3745
3986
|
return jspb.Message.getField(this, 11) != null;
|
|
3746
3987
|
};
|
|
3747
3988
|
|
|
@@ -3750,16 +3991,16 @@ proto.Drumtracking.DrumProto.prototype.hasLastUpdate = function() {
|
|
|
3750
3991
|
* optional string sales_reference = 12;
|
|
3751
3992
|
* @return {string}
|
|
3752
3993
|
*/
|
|
3753
|
-
proto.
|
|
3994
|
+
proto.Drumtracker.DrumProto.prototype.getSalesReference = function() {
|
|
3754
3995
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3755
3996
|
};
|
|
3756
3997
|
|
|
3757
3998
|
|
|
3758
3999
|
/**
|
|
3759
4000
|
* @param {string} value
|
|
3760
|
-
* @return {!proto.
|
|
4001
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3761
4002
|
*/
|
|
3762
|
-
proto.
|
|
4003
|
+
proto.Drumtracker.DrumProto.prototype.setSalesReference = function(value) {
|
|
3763
4004
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
3764
4005
|
};
|
|
3765
4006
|
|
|
@@ -3768,18 +4009,18 @@ proto.Drumtracking.DrumProto.prototype.setSalesReference = function(value) {
|
|
|
3768
4009
|
* optional string customer_reference = 13;
|
|
3769
4010
|
* @return {string}
|
|
3770
4011
|
*/
|
|
3771
|
-
proto.
|
|
4012
|
+
proto.Drumtracker.DrumProto.prototype.getCustomerReference = function() {
|
|
3772
4013
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
3773
4014
|
};
|
|
3774
4015
|
|
|
3775
4016
|
|
|
3776
4017
|
/**
|
|
3777
4018
|
* @param {string} value
|
|
3778
|
-
* @return {!proto.
|
|
4019
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3779
4020
|
*/
|
|
3780
|
-
proto.
|
|
4021
|
+
proto.Drumtracker.DrumProto.prototype.setCustomerReference = function(value) {
|
|
3781
4022
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
3782
4023
|
};
|
|
3783
4024
|
|
|
3784
4025
|
|
|
3785
|
-
goog.object.extend(exports, proto.
|
|
4026
|
+
goog.object.extend(exports, proto.Drumtracker);
|