@aceplus/smartace-api 2.1.0-drumtracker.5 → 2.1.0-drumtracker.7
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} +5 -5
- package/{drumtracking.drum_pb.js → drumtracker.drum_pb.js} +587 -587
- package/{drumtracking.drum_pb_service.d.ts → drumtracker.drum_pb_service.d.ts} +39 -39
- package/{drumtracking.drum_pb_service.js → drumtracker.drum_pb_service.js} +16 -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,21 @@ 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.CreateRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DeleteReply', null, global);
|
|
36
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DeleteRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DeleteRequest.SearchCase', null, global);
|
|
38
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DrumFilters', null, global);
|
|
39
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.DrumType', null, global);
|
|
40
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.LocationSearchReply', null, global);
|
|
41
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.LocationSearchRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.RetrieveRequest', null, global);
|
|
43
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase', null, global);
|
|
44
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.SearchReply', null, global);
|
|
45
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.SearchRequest', null, global);
|
|
46
|
+
goog.exportSymbol('proto.Drumtracker.DrumProto.UpdateRequest', null, global);
|
|
47
47
|
/**
|
|
48
48
|
* Generated by JsPbCodeGenerator.
|
|
49
49
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -54,16 +54,16 @@ goog.exportSymbol('proto.Drumtracking.DrumProto.UpdateRequest', null, global);
|
|
|
54
54
|
* @extends {jspb.Message}
|
|
55
55
|
* @constructor
|
|
56
56
|
*/
|
|
57
|
-
proto.
|
|
57
|
+
proto.Drumtracker.DrumProto = function(opt_data) {
|
|
58
58
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
59
59
|
};
|
|
60
|
-
goog.inherits(proto.
|
|
60
|
+
goog.inherits(proto.Drumtracker.DrumProto, jspb.Message);
|
|
61
61
|
if (goog.DEBUG && !COMPILED) {
|
|
62
62
|
/**
|
|
63
63
|
* @public
|
|
64
64
|
* @override
|
|
65
65
|
*/
|
|
66
|
-
proto.
|
|
66
|
+
proto.Drumtracker.DrumProto.displayName = 'proto.Drumtracker.DrumProto';
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Generated by JsPbCodeGenerator.
|
|
@@ -75,16 +75,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
75
75
|
* @extends {jspb.Message}
|
|
76
76
|
* @constructor
|
|
77
77
|
*/
|
|
78
|
-
proto.
|
|
78
|
+
proto.Drumtracker.DrumProto.CableType = function(opt_data) {
|
|
79
79
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
80
80
|
};
|
|
81
|
-
goog.inherits(proto.
|
|
81
|
+
goog.inherits(proto.Drumtracker.DrumProto.CableType, jspb.Message);
|
|
82
82
|
if (goog.DEBUG && !COMPILED) {
|
|
83
83
|
/**
|
|
84
84
|
* @public
|
|
85
85
|
* @override
|
|
86
86
|
*/
|
|
87
|
-
proto.
|
|
87
|
+
proto.Drumtracker.DrumProto.CableType.displayName = 'proto.Drumtracker.DrumProto.CableType';
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* Generated by JsPbCodeGenerator.
|
|
@@ -96,16 +96,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
96
96
|
* @extends {jspb.Message}
|
|
97
97
|
* @constructor
|
|
98
98
|
*/
|
|
99
|
-
proto.
|
|
99
|
+
proto.Drumtracker.DrumProto.DrumType = function(opt_data) {
|
|
100
100
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
101
101
|
};
|
|
102
|
-
goog.inherits(proto.
|
|
102
|
+
goog.inherits(proto.Drumtracker.DrumProto.DrumType, jspb.Message);
|
|
103
103
|
if (goog.DEBUG && !COMPILED) {
|
|
104
104
|
/**
|
|
105
105
|
* @public
|
|
106
106
|
* @override
|
|
107
107
|
*/
|
|
108
|
-
proto.
|
|
108
|
+
proto.Drumtracker.DrumProto.DrumType.displayName = 'proto.Drumtracker.DrumProto.DrumType';
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* Generated by JsPbCodeGenerator.
|
|
@@ -117,16 +117,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
117
117
|
* @extends {jspb.Message}
|
|
118
118
|
* @constructor
|
|
119
119
|
*/
|
|
120
|
-
proto.
|
|
120
|
+
proto.Drumtracker.DrumProto.CreateRequest = function(opt_data) {
|
|
121
121
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
122
122
|
};
|
|
123
|
-
goog.inherits(proto.
|
|
123
|
+
goog.inherits(proto.Drumtracker.DrumProto.CreateRequest, jspb.Message);
|
|
124
124
|
if (goog.DEBUG && !COMPILED) {
|
|
125
125
|
/**
|
|
126
126
|
* @public
|
|
127
127
|
* @override
|
|
128
128
|
*/
|
|
129
|
-
proto.
|
|
129
|
+
proto.Drumtracker.DrumProto.CreateRequest.displayName = 'proto.Drumtracker.DrumProto.CreateRequest';
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
132
|
* Generated by JsPbCodeGenerator.
|
|
@@ -138,16 +138,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
138
138
|
* @extends {jspb.Message}
|
|
139
139
|
* @constructor
|
|
140
140
|
*/
|
|
141
|
-
proto.
|
|
142
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.
|
|
141
|
+
proto.Drumtracker.DrumProto.RetrieveRequest = function(opt_data) {
|
|
142
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_);
|
|
143
143
|
};
|
|
144
|
-
goog.inherits(proto.
|
|
144
|
+
goog.inherits(proto.Drumtracker.DrumProto.RetrieveRequest, jspb.Message);
|
|
145
145
|
if (goog.DEBUG && !COMPILED) {
|
|
146
146
|
/**
|
|
147
147
|
* @public
|
|
148
148
|
* @override
|
|
149
149
|
*/
|
|
150
|
-
proto.
|
|
150
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.displayName = 'proto.Drumtracker.DrumProto.RetrieveRequest';
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* Generated by JsPbCodeGenerator.
|
|
@@ -159,16 +159,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
159
159
|
* @extends {jspb.Message}
|
|
160
160
|
* @constructor
|
|
161
161
|
*/
|
|
162
|
-
proto.
|
|
162
|
+
proto.Drumtracker.DrumProto.UpdateRequest = function(opt_data) {
|
|
163
163
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
164
164
|
};
|
|
165
|
-
goog.inherits(proto.
|
|
165
|
+
goog.inherits(proto.Drumtracker.DrumProto.UpdateRequest, jspb.Message);
|
|
166
166
|
if (goog.DEBUG && !COMPILED) {
|
|
167
167
|
/**
|
|
168
168
|
* @public
|
|
169
169
|
* @override
|
|
170
170
|
*/
|
|
171
|
-
proto.
|
|
171
|
+
proto.Drumtracker.DrumProto.UpdateRequest.displayName = 'proto.Drumtracker.DrumProto.UpdateRequest';
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
174
174
|
* Generated by JsPbCodeGenerator.
|
|
@@ -180,16 +180,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
180
180
|
* @extends {jspb.Message}
|
|
181
181
|
* @constructor
|
|
182
182
|
*/
|
|
183
|
-
proto.
|
|
184
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.
|
|
183
|
+
proto.Drumtracker.DrumProto.DeleteRequest = function(opt_data) {
|
|
184
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_);
|
|
185
185
|
};
|
|
186
|
-
goog.inherits(proto.
|
|
186
|
+
goog.inherits(proto.Drumtracker.DrumProto.DeleteRequest, jspb.Message);
|
|
187
187
|
if (goog.DEBUG && !COMPILED) {
|
|
188
188
|
/**
|
|
189
189
|
* @public
|
|
190
190
|
* @override
|
|
191
191
|
*/
|
|
192
|
-
proto.
|
|
192
|
+
proto.Drumtracker.DrumProto.DeleteRequest.displayName = 'proto.Drumtracker.DrumProto.DeleteRequest';
|
|
193
193
|
}
|
|
194
194
|
/**
|
|
195
195
|
* Generated by JsPbCodeGenerator.
|
|
@@ -201,16 +201,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
201
201
|
* @extends {jspb.Message}
|
|
202
202
|
* @constructor
|
|
203
203
|
*/
|
|
204
|
-
proto.
|
|
204
|
+
proto.Drumtracker.DrumProto.DeleteReply = function(opt_data) {
|
|
205
205
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
206
206
|
};
|
|
207
|
-
goog.inherits(proto.
|
|
207
|
+
goog.inherits(proto.Drumtracker.DrumProto.DeleteReply, jspb.Message);
|
|
208
208
|
if (goog.DEBUG && !COMPILED) {
|
|
209
209
|
/**
|
|
210
210
|
* @public
|
|
211
211
|
* @override
|
|
212
212
|
*/
|
|
213
|
-
proto.
|
|
213
|
+
proto.Drumtracker.DrumProto.DeleteReply.displayName = 'proto.Drumtracker.DrumProto.DeleteReply';
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* Generated by JsPbCodeGenerator.
|
|
@@ -222,16 +222,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
222
222
|
* @extends {jspb.Message}
|
|
223
223
|
* @constructor
|
|
224
224
|
*/
|
|
225
|
-
proto.
|
|
225
|
+
proto.Drumtracker.DrumProto.SearchRequest = function(opt_data) {
|
|
226
226
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
227
227
|
};
|
|
228
|
-
goog.inherits(proto.
|
|
228
|
+
goog.inherits(proto.Drumtracker.DrumProto.SearchRequest, jspb.Message);
|
|
229
229
|
if (goog.DEBUG && !COMPILED) {
|
|
230
230
|
/**
|
|
231
231
|
* @public
|
|
232
232
|
* @override
|
|
233
233
|
*/
|
|
234
|
-
proto.
|
|
234
|
+
proto.Drumtracker.DrumProto.SearchRequest.displayName = 'proto.Drumtracker.DrumProto.SearchRequest';
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
237
|
* Generated by JsPbCodeGenerator.
|
|
@@ -243,16 +243,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
243
243
|
* @extends {jspb.Message}
|
|
244
244
|
* @constructor
|
|
245
245
|
*/
|
|
246
|
-
proto.
|
|
247
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.
|
|
246
|
+
proto.Drumtracker.DrumProto.SearchReply = function(opt_data) {
|
|
247
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Drumtracker.DrumProto.SearchReply.repeatedFields_, null);
|
|
248
248
|
};
|
|
249
|
-
goog.inherits(proto.
|
|
249
|
+
goog.inherits(proto.Drumtracker.DrumProto.SearchReply, jspb.Message);
|
|
250
250
|
if (goog.DEBUG && !COMPILED) {
|
|
251
251
|
/**
|
|
252
252
|
* @public
|
|
253
253
|
* @override
|
|
254
254
|
*/
|
|
255
|
-
proto.
|
|
255
|
+
proto.Drumtracker.DrumProto.SearchReply.displayName = 'proto.Drumtracker.DrumProto.SearchReply';
|
|
256
256
|
}
|
|
257
257
|
/**
|
|
258
258
|
* Generated by JsPbCodeGenerator.
|
|
@@ -264,16 +264,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
264
264
|
* @extends {jspb.Message}
|
|
265
265
|
* @constructor
|
|
266
266
|
*/
|
|
267
|
-
proto.
|
|
267
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest = function(opt_data) {
|
|
268
268
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
269
269
|
};
|
|
270
|
-
goog.inherits(proto.
|
|
270
|
+
goog.inherits(proto.Drumtracker.DrumProto.LocationSearchRequest, jspb.Message);
|
|
271
271
|
if (goog.DEBUG && !COMPILED) {
|
|
272
272
|
/**
|
|
273
273
|
* @public
|
|
274
274
|
* @override
|
|
275
275
|
*/
|
|
276
|
-
proto.
|
|
276
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.displayName = 'proto.Drumtracker.DrumProto.LocationSearchRequest';
|
|
277
277
|
}
|
|
278
278
|
/**
|
|
279
279
|
* Generated by JsPbCodeGenerator.
|
|
@@ -285,16 +285,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
285
285
|
* @extends {jspb.Message}
|
|
286
286
|
* @constructor
|
|
287
287
|
*/
|
|
288
|
-
proto.
|
|
289
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.
|
|
288
|
+
proto.Drumtracker.DrumProto.LocationSearchReply = function(opt_data) {
|
|
289
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Drumtracker.DrumProto.LocationSearchReply.repeatedFields_, null);
|
|
290
290
|
};
|
|
291
|
-
goog.inherits(proto.
|
|
291
|
+
goog.inherits(proto.Drumtracker.DrumProto.LocationSearchReply, jspb.Message);
|
|
292
292
|
if (goog.DEBUG && !COMPILED) {
|
|
293
293
|
/**
|
|
294
294
|
* @public
|
|
295
295
|
* @override
|
|
296
296
|
*/
|
|
297
|
-
proto.
|
|
297
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.displayName = 'proto.Drumtracker.DrumProto.LocationSearchReply';
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
300
300
|
* Generated by JsPbCodeGenerator.
|
|
@@ -306,16 +306,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
306
306
|
* @extends {jspb.Message}
|
|
307
307
|
* @constructor
|
|
308
308
|
*/
|
|
309
|
-
proto.
|
|
309
|
+
proto.Drumtracker.DrumProto.DrumFilters = function(opt_data) {
|
|
310
310
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
311
311
|
};
|
|
312
|
-
goog.inherits(proto.
|
|
312
|
+
goog.inherits(proto.Drumtracker.DrumProto.DrumFilters, jspb.Message);
|
|
313
313
|
if (goog.DEBUG && !COMPILED) {
|
|
314
314
|
/**
|
|
315
315
|
* @public
|
|
316
316
|
* @override
|
|
317
317
|
*/
|
|
318
|
-
proto.
|
|
318
|
+
proto.Drumtracker.DrumProto.DrumFilters.displayName = 'proto.Drumtracker.DrumProto.DrumFilters';
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
|
|
@@ -333,8 +333,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
333
333
|
* http://goto/soy-param-migration
|
|
334
334
|
* @return {!Object}
|
|
335
335
|
*/
|
|
336
|
-
proto.
|
|
337
|
-
return proto.
|
|
336
|
+
proto.Drumtracker.DrumProto.prototype.toObject = function(opt_includeInstance) {
|
|
337
|
+
return proto.Drumtracker.DrumProto.toObject(opt_includeInstance, this);
|
|
338
338
|
};
|
|
339
339
|
|
|
340
340
|
|
|
@@ -343,16 +343,16 @@ proto.Drumtracking.DrumProto.prototype.toObject = function(opt_includeInstance)
|
|
|
343
343
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
344
344
|
* the JSPB instance for transitional soy proto support:
|
|
345
345
|
* http://goto/soy-param-migration
|
|
346
|
-
* @param {!proto.
|
|
346
|
+
* @param {!proto.Drumtracker.DrumProto} msg The msg instance to transform.
|
|
347
347
|
* @return {!Object}
|
|
348
348
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
349
349
|
*/
|
|
350
|
-
proto.
|
|
350
|
+
proto.Drumtracker.DrumProto.toObject = function(includeInstance, msg) {
|
|
351
351
|
var f, obj = {
|
|
352
352
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
353
353
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
354
|
-
drumType: (f = msg.getDrumType()) && proto.
|
|
355
|
-
cableType: (f = msg.getCableType()) && proto.
|
|
354
|
+
drumType: (f = msg.getDrumType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
355
|
+
cableType: (f = msg.getCableType()) && proto.Drumtracker.DrumProto.CableType.toObject(includeInstance, f),
|
|
356
356
|
groupId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
357
357
|
cableLength: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
358
358
|
residualLength: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
@@ -375,23 +375,23 @@ proto.Drumtracking.DrumProto.toObject = function(includeInstance, msg) {
|
|
|
375
375
|
/**
|
|
376
376
|
* Deserializes binary data (in protobuf wire format).
|
|
377
377
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
378
|
-
* @return {!proto.
|
|
378
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
379
379
|
*/
|
|
380
|
-
proto.
|
|
380
|
+
proto.Drumtracker.DrumProto.deserializeBinary = function(bytes) {
|
|
381
381
|
var reader = new jspb.BinaryReader(bytes);
|
|
382
|
-
var msg = new proto.
|
|
383
|
-
return proto.
|
|
382
|
+
var msg = new proto.Drumtracker.DrumProto;
|
|
383
|
+
return proto.Drumtracker.DrumProto.deserializeBinaryFromReader(msg, reader);
|
|
384
384
|
};
|
|
385
385
|
|
|
386
386
|
|
|
387
387
|
/**
|
|
388
388
|
* Deserializes binary data (in protobuf wire format) from the
|
|
389
389
|
* given reader into the given message object.
|
|
390
|
-
* @param {!proto.
|
|
390
|
+
* @param {!proto.Drumtracker.DrumProto} msg The message object to deserialize into.
|
|
391
391
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
392
|
-
* @return {!proto.
|
|
392
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
393
393
|
*/
|
|
394
|
-
proto.
|
|
394
|
+
proto.Drumtracker.DrumProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
395
395
|
while (reader.nextField()) {
|
|
396
396
|
if (reader.isEndGroup()) {
|
|
397
397
|
break;
|
|
@@ -407,13 +407,13 @@ proto.Drumtracking.DrumProto.deserializeBinaryFromReader = function(msg, reader)
|
|
|
407
407
|
msg.setDrumNumber(value);
|
|
408
408
|
break;
|
|
409
409
|
case 3:
|
|
410
|
-
var value = new proto.
|
|
411
|
-
reader.readMessage(value,proto.
|
|
410
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
411
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
412
412
|
msg.setDrumType(value);
|
|
413
413
|
break;
|
|
414
414
|
case 4:
|
|
415
|
-
var value = new proto.
|
|
416
|
-
reader.readMessage(value,proto.
|
|
415
|
+
var value = new proto.Drumtracker.DrumProto.CableType;
|
|
416
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.CableType.deserializeBinaryFromReader);
|
|
417
417
|
msg.setCableType(value);
|
|
418
418
|
break;
|
|
419
419
|
case 5:
|
|
@@ -466,9 +466,9 @@ proto.Drumtracking.DrumProto.deserializeBinaryFromReader = function(msg, reader)
|
|
|
466
466
|
* Serializes the message to binary data (in protobuf wire format).
|
|
467
467
|
* @return {!Uint8Array}
|
|
468
468
|
*/
|
|
469
|
-
proto.
|
|
469
|
+
proto.Drumtracker.DrumProto.prototype.serializeBinary = function() {
|
|
470
470
|
var writer = new jspb.BinaryWriter();
|
|
471
|
-
proto.
|
|
471
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter(this, writer);
|
|
472
472
|
return writer.getResultBuffer();
|
|
473
473
|
};
|
|
474
474
|
|
|
@@ -476,11 +476,11 @@ proto.Drumtracking.DrumProto.prototype.serializeBinary = function() {
|
|
|
476
476
|
/**
|
|
477
477
|
* Serializes the given message to binary data (in protobuf wire
|
|
478
478
|
* format), writing to the given BinaryWriter.
|
|
479
|
-
* @param {!proto.
|
|
479
|
+
* @param {!proto.Drumtracker.DrumProto} message
|
|
480
480
|
* @param {!jspb.BinaryWriter} writer
|
|
481
481
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
482
482
|
*/
|
|
483
|
-
proto.
|
|
483
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter = function(message, writer) {
|
|
484
484
|
var f = undefined;
|
|
485
485
|
f = message.getId();
|
|
486
486
|
if (f !== 0) {
|
|
@@ -501,7 +501,7 @@ proto.Drumtracking.DrumProto.serializeBinaryToWriter = function(message, writer)
|
|
|
501
501
|
writer.writeMessage(
|
|
502
502
|
3,
|
|
503
503
|
f,
|
|
504
|
-
proto.
|
|
504
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
505
505
|
);
|
|
506
506
|
}
|
|
507
507
|
f = message.getCableType();
|
|
@@ -509,7 +509,7 @@ proto.Drumtracking.DrumProto.serializeBinaryToWriter = function(message, writer)
|
|
|
509
509
|
writer.writeMessage(
|
|
510
510
|
4,
|
|
511
511
|
f,
|
|
512
|
-
proto.
|
|
512
|
+
proto.Drumtracker.DrumProto.CableType.serializeBinaryToWriter
|
|
513
513
|
);
|
|
514
514
|
}
|
|
515
515
|
f = message.getGroupId();
|
|
@@ -595,8 +595,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
595
595
|
* http://goto/soy-param-migration
|
|
596
596
|
* @return {!Object}
|
|
597
597
|
*/
|
|
598
|
-
proto.
|
|
599
|
-
return proto.
|
|
598
|
+
proto.Drumtracker.DrumProto.CableType.prototype.toObject = function(opt_includeInstance) {
|
|
599
|
+
return proto.Drumtracker.DrumProto.CableType.toObject(opt_includeInstance, this);
|
|
600
600
|
};
|
|
601
601
|
|
|
602
602
|
|
|
@@ -605,11 +605,11 @@ proto.Drumtracking.DrumProto.CableType.prototype.toObject = function(opt_include
|
|
|
605
605
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
606
606
|
* the JSPB instance for transitional soy proto support:
|
|
607
607
|
* http://goto/soy-param-migration
|
|
608
|
-
* @param {!proto.
|
|
608
|
+
* @param {!proto.Drumtracker.DrumProto.CableType} msg The msg instance to transform.
|
|
609
609
|
* @return {!Object}
|
|
610
610
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
611
611
|
*/
|
|
612
|
-
proto.
|
|
612
|
+
proto.Drumtracker.DrumProto.CableType.toObject = function(includeInstance, msg) {
|
|
613
613
|
var f, obj = {
|
|
614
614
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
615
615
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -627,23 +627,23 @@ proto.Drumtracking.DrumProto.CableType.toObject = function(includeInstance, msg)
|
|
|
627
627
|
/**
|
|
628
628
|
* Deserializes binary data (in protobuf wire format).
|
|
629
629
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
630
|
-
* @return {!proto.
|
|
630
|
+
* @return {!proto.Drumtracker.DrumProto.CableType}
|
|
631
631
|
*/
|
|
632
|
-
proto.
|
|
632
|
+
proto.Drumtracker.DrumProto.CableType.deserializeBinary = function(bytes) {
|
|
633
633
|
var reader = new jspb.BinaryReader(bytes);
|
|
634
|
-
var msg = new proto.
|
|
635
|
-
return proto.
|
|
634
|
+
var msg = new proto.Drumtracker.DrumProto.CableType;
|
|
635
|
+
return proto.Drumtracker.DrumProto.CableType.deserializeBinaryFromReader(msg, reader);
|
|
636
636
|
};
|
|
637
637
|
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
640
|
* Deserializes binary data (in protobuf wire format) from the
|
|
641
641
|
* given reader into the given message object.
|
|
642
|
-
* @param {!proto.
|
|
642
|
+
* @param {!proto.Drumtracker.DrumProto.CableType} msg The message object to deserialize into.
|
|
643
643
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
644
|
-
* @return {!proto.
|
|
644
|
+
* @return {!proto.Drumtracker.DrumProto.CableType}
|
|
645
645
|
*/
|
|
646
|
-
proto.
|
|
646
|
+
proto.Drumtracker.DrumProto.CableType.deserializeBinaryFromReader = function(msg, reader) {
|
|
647
647
|
while (reader.nextField()) {
|
|
648
648
|
if (reader.isEndGroup()) {
|
|
649
649
|
break;
|
|
@@ -675,9 +675,9 @@ proto.Drumtracking.DrumProto.CableType.deserializeBinaryFromReader = function(ms
|
|
|
675
675
|
* Serializes the message to binary data (in protobuf wire format).
|
|
676
676
|
* @return {!Uint8Array}
|
|
677
677
|
*/
|
|
678
|
-
proto.
|
|
678
|
+
proto.Drumtracker.DrumProto.CableType.prototype.serializeBinary = function() {
|
|
679
679
|
var writer = new jspb.BinaryWriter();
|
|
680
|
-
proto.
|
|
680
|
+
proto.Drumtracker.DrumProto.CableType.serializeBinaryToWriter(this, writer);
|
|
681
681
|
return writer.getResultBuffer();
|
|
682
682
|
};
|
|
683
683
|
|
|
@@ -685,11 +685,11 @@ proto.Drumtracking.DrumProto.CableType.prototype.serializeBinary = function() {
|
|
|
685
685
|
/**
|
|
686
686
|
* Serializes the given message to binary data (in protobuf wire
|
|
687
687
|
* format), writing to the given BinaryWriter.
|
|
688
|
-
* @param {!proto.
|
|
688
|
+
* @param {!proto.Drumtracker.DrumProto.CableType} message
|
|
689
689
|
* @param {!jspb.BinaryWriter} writer
|
|
690
690
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
691
691
|
*/
|
|
692
|
-
proto.
|
|
692
|
+
proto.Drumtracker.DrumProto.CableType.serializeBinaryToWriter = function(message, writer) {
|
|
693
693
|
var f = undefined;
|
|
694
694
|
f = message.getName();
|
|
695
695
|
if (f.length > 0) {
|
|
@@ -719,16 +719,16 @@ proto.Drumtracking.DrumProto.CableType.serializeBinaryToWriter = function(messag
|
|
|
719
719
|
* optional string name = 1;
|
|
720
720
|
* @return {string}
|
|
721
721
|
*/
|
|
722
|
-
proto.
|
|
722
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getName = function() {
|
|
723
723
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
724
724
|
};
|
|
725
725
|
|
|
726
726
|
|
|
727
727
|
/**
|
|
728
728
|
* @param {string} value
|
|
729
|
-
* @return {!proto.
|
|
729
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
730
730
|
*/
|
|
731
|
-
proto.
|
|
731
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setName = function(value) {
|
|
732
732
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
733
733
|
};
|
|
734
734
|
|
|
@@ -737,16 +737,16 @@ proto.Drumtracking.DrumProto.CableType.prototype.setName = function(value) {
|
|
|
737
737
|
* optional string description = 2;
|
|
738
738
|
* @return {string}
|
|
739
739
|
*/
|
|
740
|
-
proto.
|
|
740
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getDescription = function() {
|
|
741
741
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
742
742
|
};
|
|
743
743
|
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
746
|
* @param {string} value
|
|
747
|
-
* @return {!proto.
|
|
747
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
748
748
|
*/
|
|
749
|
-
proto.
|
|
749
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setDescription = function(value) {
|
|
750
750
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
751
751
|
};
|
|
752
752
|
|
|
@@ -755,16 +755,16 @@ proto.Drumtracking.DrumProto.CableType.prototype.setDescription = function(value
|
|
|
755
755
|
* optional int32 diameter = 3;
|
|
756
756
|
* @return {number}
|
|
757
757
|
*/
|
|
758
|
-
proto.
|
|
758
|
+
proto.Drumtracker.DrumProto.CableType.prototype.getDiameter = function() {
|
|
759
759
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
760
760
|
};
|
|
761
761
|
|
|
762
762
|
|
|
763
763
|
/**
|
|
764
764
|
* @param {number} value
|
|
765
|
-
* @return {!proto.
|
|
765
|
+
* @return {!proto.Drumtracker.DrumProto.CableType} returns this
|
|
766
766
|
*/
|
|
767
|
-
proto.
|
|
767
|
+
proto.Drumtracker.DrumProto.CableType.prototype.setDiameter = function(value) {
|
|
768
768
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
769
769
|
};
|
|
770
770
|
|
|
@@ -785,8 +785,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
785
785
|
* http://goto/soy-param-migration
|
|
786
786
|
* @return {!Object}
|
|
787
787
|
*/
|
|
788
|
-
proto.
|
|
789
|
-
return proto.
|
|
788
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.toObject = function(opt_includeInstance) {
|
|
789
|
+
return proto.Drumtracker.DrumProto.DrumType.toObject(opt_includeInstance, this);
|
|
790
790
|
};
|
|
791
791
|
|
|
792
792
|
|
|
@@ -795,11 +795,11 @@ proto.Drumtracking.DrumProto.DrumType.prototype.toObject = function(opt_includeI
|
|
|
795
795
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
796
796
|
* the JSPB instance for transitional soy proto support:
|
|
797
797
|
* http://goto/soy-param-migration
|
|
798
|
-
* @param {!proto.
|
|
798
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} msg The msg instance to transform.
|
|
799
799
|
* @return {!Object}
|
|
800
800
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
801
801
|
*/
|
|
802
|
-
proto.
|
|
802
|
+
proto.Drumtracker.DrumProto.DrumType.toObject = function(includeInstance, msg) {
|
|
803
803
|
var f, obj = {
|
|
804
804
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
805
805
|
diameterMin: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -818,23 +818,23 @@ proto.Drumtracking.DrumProto.DrumType.toObject = function(includeInstance, msg)
|
|
|
818
818
|
/**
|
|
819
819
|
* Deserializes binary data (in protobuf wire format).
|
|
820
820
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
821
|
-
* @return {!proto.
|
|
821
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType}
|
|
822
822
|
*/
|
|
823
|
-
proto.
|
|
823
|
+
proto.Drumtracker.DrumProto.DrumType.deserializeBinary = function(bytes) {
|
|
824
824
|
var reader = new jspb.BinaryReader(bytes);
|
|
825
|
-
var msg = new proto.
|
|
826
|
-
return proto.
|
|
825
|
+
var msg = new proto.Drumtracker.DrumProto.DrumType;
|
|
826
|
+
return proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader(msg, reader);
|
|
827
827
|
};
|
|
828
828
|
|
|
829
829
|
|
|
830
830
|
/**
|
|
831
831
|
* Deserializes binary data (in protobuf wire format) from the
|
|
832
832
|
* given reader into the given message object.
|
|
833
|
-
* @param {!proto.
|
|
833
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} msg The message object to deserialize into.
|
|
834
834
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
835
|
-
* @return {!proto.
|
|
835
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType}
|
|
836
836
|
*/
|
|
837
|
-
proto.
|
|
837
|
+
proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader = function(msg, reader) {
|
|
838
838
|
while (reader.nextField()) {
|
|
839
839
|
if (reader.isEndGroup()) {
|
|
840
840
|
break;
|
|
@@ -870,9 +870,9 @@ proto.Drumtracking.DrumProto.DrumType.deserializeBinaryFromReader = function(msg
|
|
|
870
870
|
* Serializes the message to binary data (in protobuf wire format).
|
|
871
871
|
* @return {!Uint8Array}
|
|
872
872
|
*/
|
|
873
|
-
proto.
|
|
873
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.serializeBinary = function() {
|
|
874
874
|
var writer = new jspb.BinaryWriter();
|
|
875
|
-
proto.
|
|
875
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter(this, writer);
|
|
876
876
|
return writer.getResultBuffer();
|
|
877
877
|
};
|
|
878
878
|
|
|
@@ -880,11 +880,11 @@ proto.Drumtracking.DrumProto.DrumType.prototype.serializeBinary = function() {
|
|
|
880
880
|
/**
|
|
881
881
|
* Serializes the given message to binary data (in protobuf wire
|
|
882
882
|
* format), writing to the given BinaryWriter.
|
|
883
|
-
* @param {!proto.
|
|
883
|
+
* @param {!proto.Drumtracker.DrumProto.DrumType} message
|
|
884
884
|
* @param {!jspb.BinaryWriter} writer
|
|
885
885
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
886
886
|
*/
|
|
887
|
-
proto.
|
|
887
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter = function(message, writer) {
|
|
888
888
|
var f = undefined;
|
|
889
889
|
f = message.getName();
|
|
890
890
|
if (f.length > 0) {
|
|
@@ -921,16 +921,16 @@ proto.Drumtracking.DrumProto.DrumType.serializeBinaryToWriter = function(message
|
|
|
921
921
|
* optional string name = 1;
|
|
922
922
|
* @return {string}
|
|
923
923
|
*/
|
|
924
|
-
proto.
|
|
924
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getName = function() {
|
|
925
925
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
926
926
|
};
|
|
927
927
|
|
|
928
928
|
|
|
929
929
|
/**
|
|
930
930
|
* @param {string} value
|
|
931
|
-
* @return {!proto.
|
|
931
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
932
932
|
*/
|
|
933
|
-
proto.
|
|
933
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setName = function(value) {
|
|
934
934
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
935
935
|
};
|
|
936
936
|
|
|
@@ -939,16 +939,16 @@ proto.Drumtracking.DrumProto.DrumType.prototype.setName = function(value) {
|
|
|
939
939
|
* optional int32 diameter_min = 2;
|
|
940
940
|
* @return {number}
|
|
941
941
|
*/
|
|
942
|
-
proto.
|
|
942
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getDiameterMin = function() {
|
|
943
943
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
944
944
|
};
|
|
945
945
|
|
|
946
946
|
|
|
947
947
|
/**
|
|
948
948
|
* @param {number} value
|
|
949
|
-
* @return {!proto.
|
|
949
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
950
950
|
*/
|
|
951
|
-
proto.
|
|
951
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setDiameterMin = function(value) {
|
|
952
952
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
953
953
|
};
|
|
954
954
|
|
|
@@ -957,16 +957,16 @@ proto.Drumtracking.DrumProto.DrumType.prototype.setDiameterMin = function(value)
|
|
|
957
957
|
* optional int32 diameter_max = 3;
|
|
958
958
|
* @return {number}
|
|
959
959
|
*/
|
|
960
|
-
proto.
|
|
960
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getDiameterMax = function() {
|
|
961
961
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
962
962
|
};
|
|
963
963
|
|
|
964
964
|
|
|
965
965
|
/**
|
|
966
966
|
* @param {number} value
|
|
967
|
-
* @return {!proto.
|
|
967
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
968
968
|
*/
|
|
969
|
-
proto.
|
|
969
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setDiameterMax = function(value) {
|
|
970
970
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
971
971
|
};
|
|
972
972
|
|
|
@@ -975,16 +975,16 @@ proto.Drumtracking.DrumProto.DrumType.prototype.setDiameterMax = function(value)
|
|
|
975
975
|
* optional int32 width = 4;
|
|
976
976
|
* @return {number}
|
|
977
977
|
*/
|
|
978
|
-
proto.
|
|
978
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.getWidth = function() {
|
|
979
979
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
980
980
|
};
|
|
981
981
|
|
|
982
982
|
|
|
983
983
|
/**
|
|
984
984
|
* @param {number} value
|
|
985
|
-
* @return {!proto.
|
|
985
|
+
* @return {!proto.Drumtracker.DrumProto.DrumType} returns this
|
|
986
986
|
*/
|
|
987
|
-
proto.
|
|
987
|
+
proto.Drumtracker.DrumProto.DrumType.prototype.setWidth = function(value) {
|
|
988
988
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
989
989
|
};
|
|
990
990
|
|
|
@@ -1005,8 +1005,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1005
1005
|
* http://goto/soy-param-migration
|
|
1006
1006
|
* @return {!Object}
|
|
1007
1007
|
*/
|
|
1008
|
-
proto.
|
|
1009
|
-
return proto.
|
|
1008
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1009
|
+
return proto.Drumtracker.DrumProto.CreateRequest.toObject(opt_includeInstance, this);
|
|
1010
1010
|
};
|
|
1011
1011
|
|
|
1012
1012
|
|
|
@@ -1015,15 +1015,15 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.toObject = function(opt_inc
|
|
|
1015
1015
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1016
1016
|
* the JSPB instance for transitional soy proto support:
|
|
1017
1017
|
* http://goto/soy-param-migration
|
|
1018
|
-
* @param {!proto.
|
|
1018
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} msg The msg instance to transform.
|
|
1019
1019
|
* @return {!Object}
|
|
1020
1020
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1021
1021
|
*/
|
|
1022
|
-
proto.
|
|
1022
|
+
proto.Drumtracker.DrumProto.CreateRequest.toObject = function(includeInstance, msg) {
|
|
1023
1023
|
var f, obj = {
|
|
1024
1024
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1025
|
-
drumType: (f = msg.getDrumType()) && proto.
|
|
1026
|
-
cableType: (f = msg.getCableType()) && proto.
|
|
1025
|
+
drumType: (f = msg.getDrumType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
1026
|
+
cableType: (f = msg.getCableType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
1027
1027
|
groupId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1028
1028
|
cableLength: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1029
1029
|
residualLength: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
@@ -1042,23 +1042,23 @@ proto.Drumtracking.DrumProto.CreateRequest.toObject = function(includeInstance,
|
|
|
1042
1042
|
/**
|
|
1043
1043
|
* Deserializes binary data (in protobuf wire format).
|
|
1044
1044
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1045
|
-
* @return {!proto.
|
|
1045
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest}
|
|
1046
1046
|
*/
|
|
1047
|
-
proto.
|
|
1047
|
+
proto.Drumtracker.DrumProto.CreateRequest.deserializeBinary = function(bytes) {
|
|
1048
1048
|
var reader = new jspb.BinaryReader(bytes);
|
|
1049
|
-
var msg = new proto.
|
|
1050
|
-
return proto.
|
|
1049
|
+
var msg = new proto.Drumtracker.DrumProto.CreateRequest;
|
|
1050
|
+
return proto.Drumtracker.DrumProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
|
|
1051
1051
|
};
|
|
1052
1052
|
|
|
1053
1053
|
|
|
1054
1054
|
/**
|
|
1055
1055
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1056
1056
|
* given reader into the given message object.
|
|
1057
|
-
* @param {!proto.
|
|
1057
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} msg The message object to deserialize into.
|
|
1058
1058
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1059
|
-
* @return {!proto.
|
|
1059
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest}
|
|
1060
1060
|
*/
|
|
1061
|
-
proto.
|
|
1061
|
+
proto.Drumtracker.DrumProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1062
1062
|
while (reader.nextField()) {
|
|
1063
1063
|
if (reader.isEndGroup()) {
|
|
1064
1064
|
break;
|
|
@@ -1070,13 +1070,13 @@ proto.Drumtracking.DrumProto.CreateRequest.deserializeBinaryFromReader = functio
|
|
|
1070
1070
|
msg.setDrumNumber(value);
|
|
1071
1071
|
break;
|
|
1072
1072
|
case 2:
|
|
1073
|
-
var value = new proto.
|
|
1074
|
-
reader.readMessage(value,proto.
|
|
1073
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
1074
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
1075
1075
|
msg.setDrumType(value);
|
|
1076
1076
|
break;
|
|
1077
1077
|
case 3:
|
|
1078
|
-
var value = new proto.
|
|
1079
|
-
reader.readMessage(value,proto.
|
|
1078
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
1079
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
1080
1080
|
msg.setCableType(value);
|
|
1081
1081
|
break;
|
|
1082
1082
|
case 4:
|
|
@@ -1112,9 +1112,9 @@ proto.Drumtracking.DrumProto.CreateRequest.deserializeBinaryFromReader = functio
|
|
|
1112
1112
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1113
1113
|
* @return {!Uint8Array}
|
|
1114
1114
|
*/
|
|
1115
|
-
proto.
|
|
1115
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.serializeBinary = function() {
|
|
1116
1116
|
var writer = new jspb.BinaryWriter();
|
|
1117
|
-
proto.
|
|
1117
|
+
proto.Drumtracker.DrumProto.CreateRequest.serializeBinaryToWriter(this, writer);
|
|
1118
1118
|
return writer.getResultBuffer();
|
|
1119
1119
|
};
|
|
1120
1120
|
|
|
@@ -1122,11 +1122,11 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.serializeBinary = function(
|
|
|
1122
1122
|
/**
|
|
1123
1123
|
* Serializes the given message to binary data (in protobuf wire
|
|
1124
1124
|
* format), writing to the given BinaryWriter.
|
|
1125
|
-
* @param {!proto.
|
|
1125
|
+
* @param {!proto.Drumtracker.DrumProto.CreateRequest} message
|
|
1126
1126
|
* @param {!jspb.BinaryWriter} writer
|
|
1127
1127
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1128
1128
|
*/
|
|
1129
|
-
proto.
|
|
1129
|
+
proto.Drumtracker.DrumProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1130
1130
|
var f = undefined;
|
|
1131
1131
|
f = message.getDrumNumber();
|
|
1132
1132
|
if (f !== 0) {
|
|
@@ -1140,7 +1140,7 @@ proto.Drumtracking.DrumProto.CreateRequest.serializeBinaryToWriter = function(me
|
|
|
1140
1140
|
writer.writeMessage(
|
|
1141
1141
|
2,
|
|
1142
1142
|
f,
|
|
1143
|
-
proto.
|
|
1143
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
1144
1144
|
);
|
|
1145
1145
|
}
|
|
1146
1146
|
f = message.getCableType();
|
|
@@ -1148,7 +1148,7 @@ proto.Drumtracking.DrumProto.CreateRequest.serializeBinaryToWriter = function(me
|
|
|
1148
1148
|
writer.writeMessage(
|
|
1149
1149
|
3,
|
|
1150
1150
|
f,
|
|
1151
|
-
proto.
|
|
1151
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
1152
1152
|
);
|
|
1153
1153
|
}
|
|
1154
1154
|
f = message.getGroupId();
|
|
@@ -1193,44 +1193,44 @@ proto.Drumtracking.DrumProto.CreateRequest.serializeBinaryToWriter = function(me
|
|
|
1193
1193
|
* optional int64 drum_number = 1;
|
|
1194
1194
|
* @return {number}
|
|
1195
1195
|
*/
|
|
1196
|
-
proto.
|
|
1196
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getDrumNumber = function() {
|
|
1197
1197
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1198
1198
|
};
|
|
1199
1199
|
|
|
1200
1200
|
|
|
1201
1201
|
/**
|
|
1202
1202
|
* @param {number} value
|
|
1203
|
-
* @return {!proto.
|
|
1203
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1204
1204
|
*/
|
|
1205
|
-
proto.
|
|
1205
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setDrumNumber = function(value) {
|
|
1206
1206
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1207
1207
|
};
|
|
1208
1208
|
|
|
1209
1209
|
|
|
1210
1210
|
/**
|
|
1211
1211
|
* optional DrumType drum_type = 2;
|
|
1212
|
-
* @return {?proto.
|
|
1212
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
1213
1213
|
*/
|
|
1214
|
-
proto.
|
|
1215
|
-
return /** @type{?proto.
|
|
1216
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1214
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getDrumType = function() {
|
|
1215
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
1216
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 2));
|
|
1217
1217
|
};
|
|
1218
1218
|
|
|
1219
1219
|
|
|
1220
1220
|
/**
|
|
1221
|
-
* @param {?proto.
|
|
1222
|
-
* @return {!proto.
|
|
1221
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
1222
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1223
1223
|
*/
|
|
1224
|
-
proto.
|
|
1224
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setDrumType = function(value) {
|
|
1225
1225
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1226
1226
|
};
|
|
1227
1227
|
|
|
1228
1228
|
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Clears the message field making it undefined.
|
|
1231
|
-
* @return {!proto.
|
|
1231
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1232
1232
|
*/
|
|
1233
|
-
proto.
|
|
1233
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.clearDrumType = function() {
|
|
1234
1234
|
return this.setDrumType(undefined);
|
|
1235
1235
|
};
|
|
1236
1236
|
|
|
@@ -1239,35 +1239,35 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.clearDrumType = function()
|
|
|
1239
1239
|
* Returns whether this field is set.
|
|
1240
1240
|
* @return {boolean}
|
|
1241
1241
|
*/
|
|
1242
|
-
proto.
|
|
1242
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.hasDrumType = function() {
|
|
1243
1243
|
return jspb.Message.getField(this, 2) != null;
|
|
1244
1244
|
};
|
|
1245
1245
|
|
|
1246
1246
|
|
|
1247
1247
|
/**
|
|
1248
1248
|
* optional DrumType cable_type = 3;
|
|
1249
|
-
* @return {?proto.
|
|
1249
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
1250
1250
|
*/
|
|
1251
|
-
proto.
|
|
1252
|
-
return /** @type{?proto.
|
|
1253
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1251
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCableType = function() {
|
|
1252
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
1253
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 3));
|
|
1254
1254
|
};
|
|
1255
1255
|
|
|
1256
1256
|
|
|
1257
1257
|
/**
|
|
1258
|
-
* @param {?proto.
|
|
1259
|
-
* @return {!proto.
|
|
1258
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
1259
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1260
1260
|
*/
|
|
1261
|
-
proto.
|
|
1261
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCableType = function(value) {
|
|
1262
1262
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
1263
1263
|
};
|
|
1264
1264
|
|
|
1265
1265
|
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Clears the message field making it undefined.
|
|
1268
|
-
* @return {!proto.
|
|
1268
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1269
1269
|
*/
|
|
1270
|
-
proto.
|
|
1270
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.clearCableType = function() {
|
|
1271
1271
|
return this.setCableType(undefined);
|
|
1272
1272
|
};
|
|
1273
1273
|
|
|
@@ -1276,7 +1276,7 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.clearCableType = function()
|
|
|
1276
1276
|
* Returns whether this field is set.
|
|
1277
1277
|
* @return {boolean}
|
|
1278
1278
|
*/
|
|
1279
|
-
proto.
|
|
1279
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.hasCableType = function() {
|
|
1280
1280
|
return jspb.Message.getField(this, 3) != null;
|
|
1281
1281
|
};
|
|
1282
1282
|
|
|
@@ -1285,16 +1285,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.hasCableType = function() {
|
|
|
1285
1285
|
* optional string group_id = 4;
|
|
1286
1286
|
* @return {string}
|
|
1287
1287
|
*/
|
|
1288
|
-
proto.
|
|
1288
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getGroupId = function() {
|
|
1289
1289
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1290
1290
|
};
|
|
1291
1291
|
|
|
1292
1292
|
|
|
1293
1293
|
/**
|
|
1294
1294
|
* @param {string} value
|
|
1295
|
-
* @return {!proto.
|
|
1295
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1296
1296
|
*/
|
|
1297
|
-
proto.
|
|
1297
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setGroupId = function(value) {
|
|
1298
1298
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1299
1299
|
};
|
|
1300
1300
|
|
|
@@ -1303,16 +1303,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setGroupId = function(value
|
|
|
1303
1303
|
* optional int32 cable_length = 5;
|
|
1304
1304
|
* @return {number}
|
|
1305
1305
|
*/
|
|
1306
|
-
proto.
|
|
1306
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCableLength = function() {
|
|
1307
1307
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1308
1308
|
};
|
|
1309
1309
|
|
|
1310
1310
|
|
|
1311
1311
|
/**
|
|
1312
1312
|
* @param {number} value
|
|
1313
|
-
* @return {!proto.
|
|
1313
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1314
1314
|
*/
|
|
1315
|
-
proto.
|
|
1315
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCableLength = function(value) {
|
|
1316
1316
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
1317
1317
|
};
|
|
1318
1318
|
|
|
@@ -1321,16 +1321,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setCableLength = function(v
|
|
|
1321
1321
|
* optional int32 residual_length = 6;
|
|
1322
1322
|
* @return {number}
|
|
1323
1323
|
*/
|
|
1324
|
-
proto.
|
|
1324
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getResidualLength = function() {
|
|
1325
1325
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1326
1326
|
};
|
|
1327
1327
|
|
|
1328
1328
|
|
|
1329
1329
|
/**
|
|
1330
1330
|
* @param {number} value
|
|
1331
|
-
* @return {!proto.
|
|
1331
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1332
1332
|
*/
|
|
1333
|
-
proto.
|
|
1333
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setResidualLength = function(value) {
|
|
1334
1334
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1335
1335
|
};
|
|
1336
1336
|
|
|
@@ -1339,16 +1339,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setResidualLength = functio
|
|
|
1339
1339
|
* optional string sales_reference = 7;
|
|
1340
1340
|
* @return {string}
|
|
1341
1341
|
*/
|
|
1342
|
-
proto.
|
|
1342
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getSalesReference = function() {
|
|
1343
1343
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1344
1344
|
};
|
|
1345
1345
|
|
|
1346
1346
|
|
|
1347
1347
|
/**
|
|
1348
1348
|
* @param {string} value
|
|
1349
|
-
* @return {!proto.
|
|
1349
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1350
1350
|
*/
|
|
1351
|
-
proto.
|
|
1351
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setSalesReference = function(value) {
|
|
1352
1352
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1353
1353
|
};
|
|
1354
1354
|
|
|
@@ -1357,16 +1357,16 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setSalesReference = functio
|
|
|
1357
1357
|
* optional string customer_reference = 8;
|
|
1358
1358
|
* @return {string}
|
|
1359
1359
|
*/
|
|
1360
|
-
proto.
|
|
1360
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.getCustomerReference = function() {
|
|
1361
1361
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1362
1362
|
};
|
|
1363
1363
|
|
|
1364
1364
|
|
|
1365
1365
|
/**
|
|
1366
1366
|
* @param {string} value
|
|
1367
|
-
* @return {!proto.
|
|
1367
|
+
* @return {!proto.Drumtracker.DrumProto.CreateRequest} returns this
|
|
1368
1368
|
*/
|
|
1369
|
-
proto.
|
|
1369
|
+
proto.Drumtracker.DrumProto.CreateRequest.prototype.setCustomerReference = function(value) {
|
|
1370
1370
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1371
1371
|
};
|
|
1372
1372
|
|
|
@@ -1380,22 +1380,22 @@ proto.Drumtracking.DrumProto.CreateRequest.prototype.setCustomerReference = func
|
|
|
1380
1380
|
* @private {!Array<!Array<number>>}
|
|
1381
1381
|
* @const
|
|
1382
1382
|
*/
|
|
1383
|
-
proto.
|
|
1383
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_ = [[1,2]];
|
|
1384
1384
|
|
|
1385
1385
|
/**
|
|
1386
1386
|
* @enum {number}
|
|
1387
1387
|
*/
|
|
1388
|
-
proto.
|
|
1388
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase = {
|
|
1389
1389
|
SEARCH_NOT_SET: 0,
|
|
1390
1390
|
ID: 1,
|
|
1391
1391
|
DRUM_NUMBER: 2
|
|
1392
1392
|
};
|
|
1393
1393
|
|
|
1394
1394
|
/**
|
|
1395
|
-
* @return {proto.
|
|
1395
|
+
* @return {proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase}
|
|
1396
1396
|
*/
|
|
1397
|
-
proto.
|
|
1398
|
-
return /** @type {proto.
|
|
1397
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getSearchCase = function() {
|
|
1398
|
+
return /** @type {proto.Drumtracker.DrumProto.RetrieveRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0]));
|
|
1399
1399
|
};
|
|
1400
1400
|
|
|
1401
1401
|
|
|
@@ -1413,8 +1413,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1413
1413
|
* http://goto/soy-param-migration
|
|
1414
1414
|
* @return {!Object}
|
|
1415
1415
|
*/
|
|
1416
|
-
proto.
|
|
1417
|
-
return proto.
|
|
1416
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1417
|
+
return proto.Drumtracker.DrumProto.RetrieveRequest.toObject(opt_includeInstance, this);
|
|
1418
1418
|
};
|
|
1419
1419
|
|
|
1420
1420
|
|
|
@@ -1423,11 +1423,11 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.toObject = function(opt_i
|
|
|
1423
1423
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1424
1424
|
* the JSPB instance for transitional soy proto support:
|
|
1425
1425
|
* http://goto/soy-param-migration
|
|
1426
|
-
* @param {!proto.
|
|
1426
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} msg The msg instance to transform.
|
|
1427
1427
|
* @return {!Object}
|
|
1428
1428
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1429
1429
|
*/
|
|
1430
|
-
proto.
|
|
1430
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
1431
1431
|
var f, obj = {
|
|
1432
1432
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1433
1433
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -1444,23 +1444,23 @@ proto.Drumtracking.DrumProto.RetrieveRequest.toObject = function(includeInstance
|
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Deserializes binary data (in protobuf wire format).
|
|
1446
1446
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1447
|
-
* @return {!proto.
|
|
1447
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest}
|
|
1448
1448
|
*/
|
|
1449
|
-
proto.
|
|
1449
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinary = function(bytes) {
|
|
1450
1450
|
var reader = new jspb.BinaryReader(bytes);
|
|
1451
|
-
var msg = new proto.
|
|
1452
|
-
return proto.
|
|
1451
|
+
var msg = new proto.Drumtracker.DrumProto.RetrieveRequest;
|
|
1452
|
+
return proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
|
|
1453
1453
|
};
|
|
1454
1454
|
|
|
1455
1455
|
|
|
1456
1456
|
/**
|
|
1457
1457
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1458
1458
|
* given reader into the given message object.
|
|
1459
|
-
* @param {!proto.
|
|
1459
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} msg The message object to deserialize into.
|
|
1460
1460
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1461
|
-
* @return {!proto.
|
|
1461
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest}
|
|
1462
1462
|
*/
|
|
1463
|
-
proto.
|
|
1463
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1464
1464
|
while (reader.nextField()) {
|
|
1465
1465
|
if (reader.isEndGroup()) {
|
|
1466
1466
|
break;
|
|
@@ -1488,9 +1488,9 @@ proto.Drumtracking.DrumProto.RetrieveRequest.deserializeBinaryFromReader = funct
|
|
|
1488
1488
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1489
1489
|
* @return {!Uint8Array}
|
|
1490
1490
|
*/
|
|
1491
|
-
proto.
|
|
1491
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.serializeBinary = function() {
|
|
1492
1492
|
var writer = new jspb.BinaryWriter();
|
|
1493
|
-
proto.
|
|
1493
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
|
|
1494
1494
|
return writer.getResultBuffer();
|
|
1495
1495
|
};
|
|
1496
1496
|
|
|
@@ -1498,11 +1498,11 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.serializeBinary = functio
|
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Serializes the given message to binary data (in protobuf wire
|
|
1500
1500
|
* format), writing to the given BinaryWriter.
|
|
1501
|
-
* @param {!proto.
|
|
1501
|
+
* @param {!proto.Drumtracker.DrumProto.RetrieveRequest} message
|
|
1502
1502
|
* @param {!jspb.BinaryWriter} writer
|
|
1503
1503
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1504
1504
|
*/
|
|
1505
|
-
proto.
|
|
1505
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1506
1506
|
var f = undefined;
|
|
1507
1507
|
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
1508
1508
|
if (f != null) {
|
|
@@ -1525,26 +1525,26 @@ proto.Drumtracking.DrumProto.RetrieveRequest.serializeBinaryToWriter = function(
|
|
|
1525
1525
|
* optional int64 id = 1;
|
|
1526
1526
|
* @return {number}
|
|
1527
1527
|
*/
|
|
1528
|
-
proto.
|
|
1528
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getId = function() {
|
|
1529
1529
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1530
1530
|
};
|
|
1531
1531
|
|
|
1532
1532
|
|
|
1533
1533
|
/**
|
|
1534
1534
|
* @param {number} value
|
|
1535
|
-
* @return {!proto.
|
|
1535
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1536
1536
|
*/
|
|
1537
|
-
proto.
|
|
1538
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
1537
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.setId = function(value) {
|
|
1538
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], value);
|
|
1539
1539
|
};
|
|
1540
1540
|
|
|
1541
1541
|
|
|
1542
1542
|
/**
|
|
1543
1543
|
* Clears the field making it undefined.
|
|
1544
|
-
* @return {!proto.
|
|
1544
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1545
1545
|
*/
|
|
1546
|
-
proto.
|
|
1547
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
1546
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.clearId = function() {
|
|
1547
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
1548
1548
|
};
|
|
1549
1549
|
|
|
1550
1550
|
|
|
@@ -1552,7 +1552,7 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.clearId = function() {
|
|
|
1552
1552
|
* Returns whether this field is set.
|
|
1553
1553
|
* @return {boolean}
|
|
1554
1554
|
*/
|
|
1555
|
-
proto.
|
|
1555
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.hasId = function() {
|
|
1556
1556
|
return jspb.Message.getField(this, 1) != null;
|
|
1557
1557
|
};
|
|
1558
1558
|
|
|
@@ -1561,26 +1561,26 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.hasId = function() {
|
|
|
1561
1561
|
* optional int64 drum_number = 2;
|
|
1562
1562
|
* @return {number}
|
|
1563
1563
|
*/
|
|
1564
|
-
proto.
|
|
1564
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.getDrumNumber = function() {
|
|
1565
1565
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1566
1566
|
};
|
|
1567
1567
|
|
|
1568
1568
|
|
|
1569
1569
|
/**
|
|
1570
1570
|
* @param {number} value
|
|
1571
|
-
* @return {!proto.
|
|
1571
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1572
1572
|
*/
|
|
1573
|
-
proto.
|
|
1574
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
1573
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.setDrumNumber = function(value) {
|
|
1574
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], value);
|
|
1575
1575
|
};
|
|
1576
1576
|
|
|
1577
1577
|
|
|
1578
1578
|
/**
|
|
1579
1579
|
* Clears the field making it undefined.
|
|
1580
|
-
* @return {!proto.
|
|
1580
|
+
* @return {!proto.Drumtracker.DrumProto.RetrieveRequest} returns this
|
|
1581
1581
|
*/
|
|
1582
|
-
proto.
|
|
1583
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
1582
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.clearDrumNumber = function() {
|
|
1583
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
1584
1584
|
};
|
|
1585
1585
|
|
|
1586
1586
|
|
|
@@ -1588,7 +1588,7 @@ proto.Drumtracking.DrumProto.RetrieveRequest.prototype.clearDrumNumber = functio
|
|
|
1588
1588
|
* Returns whether this field is set.
|
|
1589
1589
|
* @return {boolean}
|
|
1590
1590
|
*/
|
|
1591
|
-
proto.
|
|
1591
|
+
proto.Drumtracker.DrumProto.RetrieveRequest.prototype.hasDrumNumber = function() {
|
|
1592
1592
|
return jspb.Message.getField(this, 2) != null;
|
|
1593
1593
|
};
|
|
1594
1594
|
|
|
@@ -1609,8 +1609,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1609
1609
|
* http://goto/soy-param-migration
|
|
1610
1610
|
* @return {!Object}
|
|
1611
1611
|
*/
|
|
1612
|
-
proto.
|
|
1613
|
-
return proto.
|
|
1612
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1613
|
+
return proto.Drumtracker.DrumProto.UpdateRequest.toObject(opt_includeInstance, this);
|
|
1614
1614
|
};
|
|
1615
1615
|
|
|
1616
1616
|
|
|
@@ -1619,16 +1619,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.toObject = function(opt_inc
|
|
|
1619
1619
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1620
1620
|
* the JSPB instance for transitional soy proto support:
|
|
1621
1621
|
* http://goto/soy-param-migration
|
|
1622
|
-
* @param {!proto.
|
|
1622
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} msg The msg instance to transform.
|
|
1623
1623
|
* @return {!Object}
|
|
1624
1624
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1625
1625
|
*/
|
|
1626
|
-
proto.
|
|
1626
|
+
proto.Drumtracker.DrumProto.UpdateRequest.toObject = function(includeInstance, msg) {
|
|
1627
1627
|
var f, obj = {
|
|
1628
1628
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1629
1629
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1630
|
-
drumType: (f = msg.getDrumType()) && proto.
|
|
1631
|
-
cableType: (f = msg.getCableType()) && proto.
|
|
1630
|
+
drumType: (f = msg.getDrumType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
1631
|
+
cableType: (f = msg.getCableType()) && proto.Drumtracker.DrumProto.DrumType.toObject(includeInstance, f),
|
|
1632
1632
|
groupId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1633
1633
|
cableLength: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
1634
1634
|
residualLength: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
@@ -1647,23 +1647,23 @@ proto.Drumtracking.DrumProto.UpdateRequest.toObject = function(includeInstance,
|
|
|
1647
1647
|
/**
|
|
1648
1648
|
* Deserializes binary data (in protobuf wire format).
|
|
1649
1649
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1650
|
-
* @return {!proto.
|
|
1650
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest}
|
|
1651
1651
|
*/
|
|
1652
|
-
proto.
|
|
1652
|
+
proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinary = function(bytes) {
|
|
1653
1653
|
var reader = new jspb.BinaryReader(bytes);
|
|
1654
|
-
var msg = new proto.
|
|
1655
|
-
return proto.
|
|
1654
|
+
var msg = new proto.Drumtracker.DrumProto.UpdateRequest;
|
|
1655
|
+
return proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
1656
1656
|
};
|
|
1657
1657
|
|
|
1658
1658
|
|
|
1659
1659
|
/**
|
|
1660
1660
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1661
1661
|
* given reader into the given message object.
|
|
1662
|
-
* @param {!proto.
|
|
1662
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} msg The message object to deserialize into.
|
|
1663
1663
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1664
|
-
* @return {!proto.
|
|
1664
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest}
|
|
1665
1665
|
*/
|
|
1666
|
-
proto.
|
|
1666
|
+
proto.Drumtracker.DrumProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1667
1667
|
while (reader.nextField()) {
|
|
1668
1668
|
if (reader.isEndGroup()) {
|
|
1669
1669
|
break;
|
|
@@ -1679,13 +1679,13 @@ proto.Drumtracking.DrumProto.UpdateRequest.deserializeBinaryFromReader = functio
|
|
|
1679
1679
|
msg.setDrumNumber(value);
|
|
1680
1680
|
break;
|
|
1681
1681
|
case 3:
|
|
1682
|
-
var value = new proto.
|
|
1683
|
-
reader.readMessage(value,proto.
|
|
1682
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
1683
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
1684
1684
|
msg.setDrumType(value);
|
|
1685
1685
|
break;
|
|
1686
1686
|
case 4:
|
|
1687
|
-
var value = new proto.
|
|
1688
|
-
reader.readMessage(value,proto.
|
|
1687
|
+
var value = new proto.Drumtracker.DrumProto.DrumType;
|
|
1688
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumType.deserializeBinaryFromReader);
|
|
1689
1689
|
msg.setCableType(value);
|
|
1690
1690
|
break;
|
|
1691
1691
|
case 5:
|
|
@@ -1721,9 +1721,9 @@ proto.Drumtracking.DrumProto.UpdateRequest.deserializeBinaryFromReader = functio
|
|
|
1721
1721
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1722
1722
|
* @return {!Uint8Array}
|
|
1723
1723
|
*/
|
|
1724
|
-
proto.
|
|
1724
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.serializeBinary = function() {
|
|
1725
1725
|
var writer = new jspb.BinaryWriter();
|
|
1726
|
-
proto.
|
|
1726
|
+
proto.Drumtracker.DrumProto.UpdateRequest.serializeBinaryToWriter(this, writer);
|
|
1727
1727
|
return writer.getResultBuffer();
|
|
1728
1728
|
};
|
|
1729
1729
|
|
|
@@ -1731,11 +1731,11 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.serializeBinary = function(
|
|
|
1731
1731
|
/**
|
|
1732
1732
|
* Serializes the given message to binary data (in protobuf wire
|
|
1733
1733
|
* format), writing to the given BinaryWriter.
|
|
1734
|
-
* @param {!proto.
|
|
1734
|
+
* @param {!proto.Drumtracker.DrumProto.UpdateRequest} message
|
|
1735
1735
|
* @param {!jspb.BinaryWriter} writer
|
|
1736
1736
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1737
1737
|
*/
|
|
1738
|
-
proto.
|
|
1738
|
+
proto.Drumtracker.DrumProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1739
1739
|
var f = undefined;
|
|
1740
1740
|
f = message.getId();
|
|
1741
1741
|
if (f !== 0) {
|
|
@@ -1756,7 +1756,7 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1756
1756
|
writer.writeMessage(
|
|
1757
1757
|
3,
|
|
1758
1758
|
f,
|
|
1759
|
-
proto.
|
|
1759
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
1760
1760
|
);
|
|
1761
1761
|
}
|
|
1762
1762
|
f = message.getCableType();
|
|
@@ -1764,7 +1764,7 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1764
1764
|
writer.writeMessage(
|
|
1765
1765
|
4,
|
|
1766
1766
|
f,
|
|
1767
|
-
proto.
|
|
1767
|
+
proto.Drumtracker.DrumProto.DrumType.serializeBinaryToWriter
|
|
1768
1768
|
);
|
|
1769
1769
|
}
|
|
1770
1770
|
f = message.getGroupId();
|
|
@@ -1809,16 +1809,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.serializeBinaryToWriter = function(me
|
|
|
1809
1809
|
* optional int64 id = 1;
|
|
1810
1810
|
* @return {number}
|
|
1811
1811
|
*/
|
|
1812
|
-
proto.
|
|
1812
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getId = function() {
|
|
1813
1813
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1814
1814
|
};
|
|
1815
1815
|
|
|
1816
1816
|
|
|
1817
1817
|
/**
|
|
1818
1818
|
* @param {number} value
|
|
1819
|
-
* @return {!proto.
|
|
1819
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1820
1820
|
*/
|
|
1821
|
-
proto.
|
|
1821
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setId = function(value) {
|
|
1822
1822
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1823
1823
|
};
|
|
1824
1824
|
|
|
@@ -1827,44 +1827,44 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setId = function(value) {
|
|
|
1827
1827
|
* optional int64 drum_number = 2;
|
|
1828
1828
|
* @return {number}
|
|
1829
1829
|
*/
|
|
1830
|
-
proto.
|
|
1830
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getDrumNumber = function() {
|
|
1831
1831
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1832
1832
|
};
|
|
1833
1833
|
|
|
1834
1834
|
|
|
1835
1835
|
/**
|
|
1836
1836
|
* @param {number} value
|
|
1837
|
-
* @return {!proto.
|
|
1837
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1838
1838
|
*/
|
|
1839
|
-
proto.
|
|
1839
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setDrumNumber = function(value) {
|
|
1840
1840
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1841
1841
|
};
|
|
1842
1842
|
|
|
1843
1843
|
|
|
1844
1844
|
/**
|
|
1845
1845
|
* optional DrumType drum_type = 3;
|
|
1846
|
-
* @return {?proto.
|
|
1846
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
1847
1847
|
*/
|
|
1848
|
-
proto.
|
|
1849
|
-
return /** @type{?proto.
|
|
1850
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1848
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getDrumType = function() {
|
|
1849
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
1850
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 3));
|
|
1851
1851
|
};
|
|
1852
1852
|
|
|
1853
1853
|
|
|
1854
1854
|
/**
|
|
1855
|
-
* @param {?proto.
|
|
1856
|
-
* @return {!proto.
|
|
1855
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
1856
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1857
1857
|
*/
|
|
1858
|
-
proto.
|
|
1858
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setDrumType = function(value) {
|
|
1859
1859
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
1860
1860
|
};
|
|
1861
1861
|
|
|
1862
1862
|
|
|
1863
1863
|
/**
|
|
1864
1864
|
* Clears the message field making it undefined.
|
|
1865
|
-
* @return {!proto.
|
|
1865
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1866
1866
|
*/
|
|
1867
|
-
proto.
|
|
1867
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.clearDrumType = function() {
|
|
1868
1868
|
return this.setDrumType(undefined);
|
|
1869
1869
|
};
|
|
1870
1870
|
|
|
@@ -1873,35 +1873,35 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.clearDrumType = function()
|
|
|
1873
1873
|
* Returns whether this field is set.
|
|
1874
1874
|
* @return {boolean}
|
|
1875
1875
|
*/
|
|
1876
|
-
proto.
|
|
1876
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.hasDrumType = function() {
|
|
1877
1877
|
return jspb.Message.getField(this, 3) != null;
|
|
1878
1878
|
};
|
|
1879
1879
|
|
|
1880
1880
|
|
|
1881
1881
|
/**
|
|
1882
1882
|
* optional DrumType cable_type = 4;
|
|
1883
|
-
* @return {?proto.
|
|
1883
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
1884
1884
|
*/
|
|
1885
|
-
proto.
|
|
1886
|
-
return /** @type{?proto.
|
|
1887
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1885
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCableType = function() {
|
|
1886
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
1887
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 4));
|
|
1888
1888
|
};
|
|
1889
1889
|
|
|
1890
1890
|
|
|
1891
1891
|
/**
|
|
1892
|
-
* @param {?proto.
|
|
1893
|
-
* @return {!proto.
|
|
1892
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
1893
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1894
1894
|
*/
|
|
1895
|
-
proto.
|
|
1895
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCableType = function(value) {
|
|
1896
1896
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
1897
1897
|
};
|
|
1898
1898
|
|
|
1899
1899
|
|
|
1900
1900
|
/**
|
|
1901
1901
|
* Clears the message field making it undefined.
|
|
1902
|
-
* @return {!proto.
|
|
1902
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1903
1903
|
*/
|
|
1904
|
-
proto.
|
|
1904
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.clearCableType = function() {
|
|
1905
1905
|
return this.setCableType(undefined);
|
|
1906
1906
|
};
|
|
1907
1907
|
|
|
@@ -1910,7 +1910,7 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.clearCableType = function()
|
|
|
1910
1910
|
* Returns whether this field is set.
|
|
1911
1911
|
* @return {boolean}
|
|
1912
1912
|
*/
|
|
1913
|
-
proto.
|
|
1913
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.hasCableType = function() {
|
|
1914
1914
|
return jspb.Message.getField(this, 4) != null;
|
|
1915
1915
|
};
|
|
1916
1916
|
|
|
@@ -1919,16 +1919,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.hasCableType = function() {
|
|
|
1919
1919
|
* optional string group_id = 5;
|
|
1920
1920
|
* @return {string}
|
|
1921
1921
|
*/
|
|
1922
|
-
proto.
|
|
1922
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getGroupId = function() {
|
|
1923
1923
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1924
1924
|
};
|
|
1925
1925
|
|
|
1926
1926
|
|
|
1927
1927
|
/**
|
|
1928
1928
|
* @param {string} value
|
|
1929
|
-
* @return {!proto.
|
|
1929
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1930
1930
|
*/
|
|
1931
|
-
proto.
|
|
1931
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setGroupId = function(value) {
|
|
1932
1932
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1933
1933
|
};
|
|
1934
1934
|
|
|
@@ -1937,16 +1937,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setGroupId = function(value
|
|
|
1937
1937
|
* optional int32 cable_length = 6;
|
|
1938
1938
|
* @return {number}
|
|
1939
1939
|
*/
|
|
1940
|
-
proto.
|
|
1940
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCableLength = function() {
|
|
1941
1941
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1942
1942
|
};
|
|
1943
1943
|
|
|
1944
1944
|
|
|
1945
1945
|
/**
|
|
1946
1946
|
* @param {number} value
|
|
1947
|
-
* @return {!proto.
|
|
1947
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1948
1948
|
*/
|
|
1949
|
-
proto.
|
|
1949
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCableLength = function(value) {
|
|
1950
1950
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1951
1951
|
};
|
|
1952
1952
|
|
|
@@ -1955,16 +1955,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setCableLength = function(v
|
|
|
1955
1955
|
* optional int32 residual_length = 7;
|
|
1956
1956
|
* @return {number}
|
|
1957
1957
|
*/
|
|
1958
|
-
proto.
|
|
1958
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getResidualLength = function() {
|
|
1959
1959
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1960
1960
|
};
|
|
1961
1961
|
|
|
1962
1962
|
|
|
1963
1963
|
/**
|
|
1964
1964
|
* @param {number} value
|
|
1965
|
-
* @return {!proto.
|
|
1965
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1966
1966
|
*/
|
|
1967
|
-
proto.
|
|
1967
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setResidualLength = function(value) {
|
|
1968
1968
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
1969
1969
|
};
|
|
1970
1970
|
|
|
@@ -1973,16 +1973,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setResidualLength = functio
|
|
|
1973
1973
|
* optional string sales_reference = 8;
|
|
1974
1974
|
* @return {string}
|
|
1975
1975
|
*/
|
|
1976
|
-
proto.
|
|
1976
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getSalesReference = function() {
|
|
1977
1977
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1978
1978
|
};
|
|
1979
1979
|
|
|
1980
1980
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* @param {string} value
|
|
1983
|
-
* @return {!proto.
|
|
1983
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
1984
1984
|
*/
|
|
1985
|
-
proto.
|
|
1985
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setSalesReference = function(value) {
|
|
1986
1986
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1987
1987
|
};
|
|
1988
1988
|
|
|
@@ -1991,16 +1991,16 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setSalesReference = functio
|
|
|
1991
1991
|
* optional string customer_reference = 9;
|
|
1992
1992
|
* @return {string}
|
|
1993
1993
|
*/
|
|
1994
|
-
proto.
|
|
1994
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.getCustomerReference = function() {
|
|
1995
1995
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1996
1996
|
};
|
|
1997
1997
|
|
|
1998
1998
|
|
|
1999
1999
|
/**
|
|
2000
2000
|
* @param {string} value
|
|
2001
|
-
* @return {!proto.
|
|
2001
|
+
* @return {!proto.Drumtracker.DrumProto.UpdateRequest} returns this
|
|
2002
2002
|
*/
|
|
2003
|
-
proto.
|
|
2003
|
+
proto.Drumtracker.DrumProto.UpdateRequest.prototype.setCustomerReference = function(value) {
|
|
2004
2004
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2005
2005
|
};
|
|
2006
2006
|
|
|
@@ -2014,22 +2014,22 @@ proto.Drumtracking.DrumProto.UpdateRequest.prototype.setCustomerReference = func
|
|
|
2014
2014
|
* @private {!Array<!Array<number>>}
|
|
2015
2015
|
* @const
|
|
2016
2016
|
*/
|
|
2017
|
-
proto.
|
|
2017
|
+
proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_ = [[1,2]];
|
|
2018
2018
|
|
|
2019
2019
|
/**
|
|
2020
2020
|
* @enum {number}
|
|
2021
2021
|
*/
|
|
2022
|
-
proto.
|
|
2022
|
+
proto.Drumtracker.DrumProto.DeleteRequest.SearchCase = {
|
|
2023
2023
|
SEARCH_NOT_SET: 0,
|
|
2024
2024
|
ID: 1,
|
|
2025
2025
|
DRUM_NUMBER: 2
|
|
2026
2026
|
};
|
|
2027
2027
|
|
|
2028
2028
|
/**
|
|
2029
|
-
* @return {proto.
|
|
2029
|
+
* @return {proto.Drumtracker.DrumProto.DeleteRequest.SearchCase}
|
|
2030
2030
|
*/
|
|
2031
|
-
proto.
|
|
2032
|
-
return /** @type {proto.
|
|
2031
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getSearchCase = function() {
|
|
2032
|
+
return /** @type {proto.Drumtracker.DrumProto.DeleteRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0]));
|
|
2033
2033
|
};
|
|
2034
2034
|
|
|
2035
2035
|
|
|
@@ -2047,8 +2047,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2047
2047
|
* http://goto/soy-param-migration
|
|
2048
2048
|
* @return {!Object}
|
|
2049
2049
|
*/
|
|
2050
|
-
proto.
|
|
2051
|
-
return proto.
|
|
2050
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2051
|
+
return proto.Drumtracker.DrumProto.DeleteRequest.toObject(opt_includeInstance, this);
|
|
2052
2052
|
};
|
|
2053
2053
|
|
|
2054
2054
|
|
|
@@ -2057,11 +2057,11 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.toObject = function(opt_inc
|
|
|
2057
2057
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2058
2058
|
* the JSPB instance for transitional soy proto support:
|
|
2059
2059
|
* http://goto/soy-param-migration
|
|
2060
|
-
* @param {!proto.
|
|
2060
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} msg The msg instance to transform.
|
|
2061
2061
|
* @return {!Object}
|
|
2062
2062
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2063
2063
|
*/
|
|
2064
|
-
proto.
|
|
2064
|
+
proto.Drumtracker.DrumProto.DeleteRequest.toObject = function(includeInstance, msg) {
|
|
2065
2065
|
var f, obj = {
|
|
2066
2066
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2067
2067
|
drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -2078,23 +2078,23 @@ proto.Drumtracking.DrumProto.DeleteRequest.toObject = function(includeInstance,
|
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Deserializes binary data (in protobuf wire format).
|
|
2080
2080
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2081
|
-
* @return {!proto.
|
|
2081
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest}
|
|
2082
2082
|
*/
|
|
2083
|
-
proto.
|
|
2083
|
+
proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinary = function(bytes) {
|
|
2084
2084
|
var reader = new jspb.BinaryReader(bytes);
|
|
2085
|
-
var msg = new proto.
|
|
2086
|
-
return proto.
|
|
2085
|
+
var msg = new proto.Drumtracker.DrumProto.DeleteRequest;
|
|
2086
|
+
return proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
|
|
2087
2087
|
};
|
|
2088
2088
|
|
|
2089
2089
|
|
|
2090
2090
|
/**
|
|
2091
2091
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2092
2092
|
* given reader into the given message object.
|
|
2093
|
-
* @param {!proto.
|
|
2093
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} msg The message object to deserialize into.
|
|
2094
2094
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2095
|
-
* @return {!proto.
|
|
2095
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest}
|
|
2096
2096
|
*/
|
|
2097
|
-
proto.
|
|
2097
|
+
proto.Drumtracker.DrumProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2098
2098
|
while (reader.nextField()) {
|
|
2099
2099
|
if (reader.isEndGroup()) {
|
|
2100
2100
|
break;
|
|
@@ -2122,9 +2122,9 @@ proto.Drumtracking.DrumProto.DeleteRequest.deserializeBinaryFromReader = functio
|
|
|
2122
2122
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2123
2123
|
* @return {!Uint8Array}
|
|
2124
2124
|
*/
|
|
2125
|
-
proto.
|
|
2125
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.serializeBinary = function() {
|
|
2126
2126
|
var writer = new jspb.BinaryWriter();
|
|
2127
|
-
proto.
|
|
2127
|
+
proto.Drumtracker.DrumProto.DeleteRequest.serializeBinaryToWriter(this, writer);
|
|
2128
2128
|
return writer.getResultBuffer();
|
|
2129
2129
|
};
|
|
2130
2130
|
|
|
@@ -2132,11 +2132,11 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.serializeBinary = function(
|
|
|
2132
2132
|
/**
|
|
2133
2133
|
* Serializes the given message to binary data (in protobuf wire
|
|
2134
2134
|
* format), writing to the given BinaryWriter.
|
|
2135
|
-
* @param {!proto.
|
|
2135
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteRequest} message
|
|
2136
2136
|
* @param {!jspb.BinaryWriter} writer
|
|
2137
2137
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2138
2138
|
*/
|
|
2139
|
-
proto.
|
|
2139
|
+
proto.Drumtracker.DrumProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2140
2140
|
var f = undefined;
|
|
2141
2141
|
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
2142
2142
|
if (f != null) {
|
|
@@ -2159,26 +2159,26 @@ proto.Drumtracking.DrumProto.DeleteRequest.serializeBinaryToWriter = function(me
|
|
|
2159
2159
|
* optional int64 id = 1;
|
|
2160
2160
|
* @return {number}
|
|
2161
2161
|
*/
|
|
2162
|
-
proto.
|
|
2162
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getId = function() {
|
|
2163
2163
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2164
2164
|
};
|
|
2165
2165
|
|
|
2166
2166
|
|
|
2167
2167
|
/**
|
|
2168
2168
|
* @param {number} value
|
|
2169
|
-
* @return {!proto.
|
|
2169
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2170
2170
|
*/
|
|
2171
|
-
proto.
|
|
2172
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
2171
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.setId = function(value) {
|
|
2172
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], value);
|
|
2173
2173
|
};
|
|
2174
2174
|
|
|
2175
2175
|
|
|
2176
2176
|
/**
|
|
2177
2177
|
* Clears the field making it undefined.
|
|
2178
|
-
* @return {!proto.
|
|
2178
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2179
2179
|
*/
|
|
2180
|
-
proto.
|
|
2181
|
-
return jspb.Message.setOneofField(this, 1, proto.
|
|
2180
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.clearId = function() {
|
|
2181
|
+
return jspb.Message.setOneofField(this, 1, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], undefined);
|
|
2182
2182
|
};
|
|
2183
2183
|
|
|
2184
2184
|
|
|
@@ -2186,7 +2186,7 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.clearId = function() {
|
|
|
2186
2186
|
* Returns whether this field is set.
|
|
2187
2187
|
* @return {boolean}
|
|
2188
2188
|
*/
|
|
2189
|
-
proto.
|
|
2189
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.hasId = function() {
|
|
2190
2190
|
return jspb.Message.getField(this, 1) != null;
|
|
2191
2191
|
};
|
|
2192
2192
|
|
|
@@ -2195,26 +2195,26 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.hasId = function() {
|
|
|
2195
2195
|
* optional int64 drum_number = 2;
|
|
2196
2196
|
* @return {number}
|
|
2197
2197
|
*/
|
|
2198
|
-
proto.
|
|
2198
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.getDrumNumber = function() {
|
|
2199
2199
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2200
2200
|
};
|
|
2201
2201
|
|
|
2202
2202
|
|
|
2203
2203
|
/**
|
|
2204
2204
|
* @param {number} value
|
|
2205
|
-
* @return {!proto.
|
|
2205
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2206
2206
|
*/
|
|
2207
|
-
proto.
|
|
2208
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
2207
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.setDrumNumber = function(value) {
|
|
2208
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], value);
|
|
2209
2209
|
};
|
|
2210
2210
|
|
|
2211
2211
|
|
|
2212
2212
|
/**
|
|
2213
2213
|
* Clears the field making it undefined.
|
|
2214
|
-
* @return {!proto.
|
|
2214
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteRequest} returns this
|
|
2215
2215
|
*/
|
|
2216
|
-
proto.
|
|
2217
|
-
return jspb.Message.setOneofField(this, 2, proto.
|
|
2216
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.clearDrumNumber = function() {
|
|
2217
|
+
return jspb.Message.setOneofField(this, 2, proto.Drumtracker.DrumProto.DeleteRequest.oneofGroups_[0], undefined);
|
|
2218
2218
|
};
|
|
2219
2219
|
|
|
2220
2220
|
|
|
@@ -2222,7 +2222,7 @@ proto.Drumtracking.DrumProto.DeleteRequest.prototype.clearDrumNumber = function(
|
|
|
2222
2222
|
* Returns whether this field is set.
|
|
2223
2223
|
* @return {boolean}
|
|
2224
2224
|
*/
|
|
2225
|
-
proto.
|
|
2225
|
+
proto.Drumtracker.DrumProto.DeleteRequest.prototype.hasDrumNumber = function() {
|
|
2226
2226
|
return jspb.Message.getField(this, 2) != null;
|
|
2227
2227
|
};
|
|
2228
2228
|
|
|
@@ -2243,8 +2243,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2243
2243
|
* http://goto/soy-param-migration
|
|
2244
2244
|
* @return {!Object}
|
|
2245
2245
|
*/
|
|
2246
|
-
proto.
|
|
2247
|
-
return proto.
|
|
2246
|
+
proto.Drumtracker.DrumProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
|
|
2247
|
+
return proto.Drumtracker.DrumProto.DeleteReply.toObject(opt_includeInstance, this);
|
|
2248
2248
|
};
|
|
2249
2249
|
|
|
2250
2250
|
|
|
@@ -2253,11 +2253,11 @@ proto.Drumtracking.DrumProto.DeleteReply.prototype.toObject = function(opt_inclu
|
|
|
2253
2253
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2254
2254
|
* the JSPB instance for transitional soy proto support:
|
|
2255
2255
|
* http://goto/soy-param-migration
|
|
2256
|
-
* @param {!proto.
|
|
2256
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} msg The msg instance to transform.
|
|
2257
2257
|
* @return {!Object}
|
|
2258
2258
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2259
2259
|
*/
|
|
2260
|
-
proto.
|
|
2260
|
+
proto.Drumtracker.DrumProto.DeleteReply.toObject = function(includeInstance, msg) {
|
|
2261
2261
|
var f, obj = {
|
|
2262
2262
|
|
|
2263
2263
|
};
|
|
@@ -2273,23 +2273,23 @@ proto.Drumtracking.DrumProto.DeleteReply.toObject = function(includeInstance, ms
|
|
|
2273
2273
|
/**
|
|
2274
2274
|
* Deserializes binary data (in protobuf wire format).
|
|
2275
2275
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2276
|
-
* @return {!proto.
|
|
2276
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteReply}
|
|
2277
2277
|
*/
|
|
2278
|
-
proto.
|
|
2278
|
+
proto.Drumtracker.DrumProto.DeleteReply.deserializeBinary = function(bytes) {
|
|
2279
2279
|
var reader = new jspb.BinaryReader(bytes);
|
|
2280
|
-
var msg = new proto.
|
|
2281
|
-
return proto.
|
|
2280
|
+
var msg = new proto.Drumtracker.DrumProto.DeleteReply;
|
|
2281
|
+
return proto.Drumtracker.DrumProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
|
|
2282
2282
|
};
|
|
2283
2283
|
|
|
2284
2284
|
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2287
2287
|
* given reader into the given message object.
|
|
2288
|
-
* @param {!proto.
|
|
2288
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} msg The message object to deserialize into.
|
|
2289
2289
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2290
|
-
* @return {!proto.
|
|
2290
|
+
* @return {!proto.Drumtracker.DrumProto.DeleteReply}
|
|
2291
2291
|
*/
|
|
2292
|
-
proto.
|
|
2292
|
+
proto.Drumtracker.DrumProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
2293
2293
|
while (reader.nextField()) {
|
|
2294
2294
|
if (reader.isEndGroup()) {
|
|
2295
2295
|
break;
|
|
@@ -2309,9 +2309,9 @@ proto.Drumtracking.DrumProto.DeleteReply.deserializeBinaryFromReader = function(
|
|
|
2309
2309
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2310
2310
|
* @return {!Uint8Array}
|
|
2311
2311
|
*/
|
|
2312
|
-
proto.
|
|
2312
|
+
proto.Drumtracker.DrumProto.DeleteReply.prototype.serializeBinary = function() {
|
|
2313
2313
|
var writer = new jspb.BinaryWriter();
|
|
2314
|
-
proto.
|
|
2314
|
+
proto.Drumtracker.DrumProto.DeleteReply.serializeBinaryToWriter(this, writer);
|
|
2315
2315
|
return writer.getResultBuffer();
|
|
2316
2316
|
};
|
|
2317
2317
|
|
|
@@ -2319,11 +2319,11 @@ proto.Drumtracking.DrumProto.DeleteReply.prototype.serializeBinary = function()
|
|
|
2319
2319
|
/**
|
|
2320
2320
|
* Serializes the given message to binary data (in protobuf wire
|
|
2321
2321
|
* format), writing to the given BinaryWriter.
|
|
2322
|
-
* @param {!proto.
|
|
2322
|
+
* @param {!proto.Drumtracker.DrumProto.DeleteReply} message
|
|
2323
2323
|
* @param {!jspb.BinaryWriter} writer
|
|
2324
2324
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2325
2325
|
*/
|
|
2326
|
-
proto.
|
|
2326
|
+
proto.Drumtracker.DrumProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
|
|
2327
2327
|
var f = undefined;
|
|
2328
2328
|
};
|
|
2329
2329
|
|
|
@@ -2344,8 +2344,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2344
2344
|
* http://goto/soy-param-migration
|
|
2345
2345
|
* @return {!Object}
|
|
2346
2346
|
*/
|
|
2347
|
-
proto.
|
|
2348
|
-
return proto.
|
|
2347
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2348
|
+
return proto.Drumtracker.DrumProto.SearchRequest.toObject(opt_includeInstance, this);
|
|
2349
2349
|
};
|
|
2350
2350
|
|
|
2351
2351
|
|
|
@@ -2354,13 +2354,13 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.toObject = function(opt_inc
|
|
|
2354
2354
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2355
2355
|
* the JSPB instance for transitional soy proto support:
|
|
2356
2356
|
* http://goto/soy-param-migration
|
|
2357
|
-
* @param {!proto.
|
|
2357
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} msg The msg instance to transform.
|
|
2358
2358
|
* @return {!Object}
|
|
2359
2359
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2360
2360
|
*/
|
|
2361
|
-
proto.
|
|
2361
|
+
proto.Drumtracker.DrumProto.SearchRequest.toObject = function(includeInstance, msg) {
|
|
2362
2362
|
var f, obj = {
|
|
2363
|
-
filters: (f = msg.getFilters()) && proto.
|
|
2363
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.DrumProto.DrumFilters.toObject(includeInstance, f),
|
|
2364
2364
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2365
2365
|
count: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2366
2366
|
};
|
|
@@ -2376,23 +2376,23 @@ proto.Drumtracking.DrumProto.SearchRequest.toObject = function(includeInstance,
|
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Deserializes binary data (in protobuf wire format).
|
|
2378
2378
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2379
|
-
* @return {!proto.
|
|
2379
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest}
|
|
2380
2380
|
*/
|
|
2381
|
-
proto.
|
|
2381
|
+
proto.Drumtracker.DrumProto.SearchRequest.deserializeBinary = function(bytes) {
|
|
2382
2382
|
var reader = new jspb.BinaryReader(bytes);
|
|
2383
|
-
var msg = new proto.
|
|
2384
|
-
return proto.
|
|
2383
|
+
var msg = new proto.Drumtracker.DrumProto.SearchRequest;
|
|
2384
|
+
return proto.Drumtracker.DrumProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
2385
2385
|
};
|
|
2386
2386
|
|
|
2387
2387
|
|
|
2388
2388
|
/**
|
|
2389
2389
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2390
2390
|
* given reader into the given message object.
|
|
2391
|
-
* @param {!proto.
|
|
2391
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} msg The message object to deserialize into.
|
|
2392
2392
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2393
|
-
* @return {!proto.
|
|
2393
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest}
|
|
2394
2394
|
*/
|
|
2395
|
-
proto.
|
|
2395
|
+
proto.Drumtracker.DrumProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2396
2396
|
while (reader.nextField()) {
|
|
2397
2397
|
if (reader.isEndGroup()) {
|
|
2398
2398
|
break;
|
|
@@ -2400,8 +2400,8 @@ proto.Drumtracking.DrumProto.SearchRequest.deserializeBinaryFromReader = functio
|
|
|
2400
2400
|
var field = reader.getFieldNumber();
|
|
2401
2401
|
switch (field) {
|
|
2402
2402
|
case 1:
|
|
2403
|
-
var value = new proto.
|
|
2404
|
-
reader.readMessage(value,proto.
|
|
2403
|
+
var value = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
2404
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader);
|
|
2405
2405
|
msg.setFilters(value);
|
|
2406
2406
|
break;
|
|
2407
2407
|
case 2:
|
|
@@ -2425,9 +2425,9 @@ proto.Drumtracking.DrumProto.SearchRequest.deserializeBinaryFromReader = functio
|
|
|
2425
2425
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2426
2426
|
* @return {!Uint8Array}
|
|
2427
2427
|
*/
|
|
2428
|
-
proto.
|
|
2428
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.serializeBinary = function() {
|
|
2429
2429
|
var writer = new jspb.BinaryWriter();
|
|
2430
|
-
proto.
|
|
2430
|
+
proto.Drumtracker.DrumProto.SearchRequest.serializeBinaryToWriter(this, writer);
|
|
2431
2431
|
return writer.getResultBuffer();
|
|
2432
2432
|
};
|
|
2433
2433
|
|
|
@@ -2435,18 +2435,18 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.serializeBinary = function(
|
|
|
2435
2435
|
/**
|
|
2436
2436
|
* Serializes the given message to binary data (in protobuf wire
|
|
2437
2437
|
* format), writing to the given BinaryWriter.
|
|
2438
|
-
* @param {!proto.
|
|
2438
|
+
* @param {!proto.Drumtracker.DrumProto.SearchRequest} message
|
|
2439
2439
|
* @param {!jspb.BinaryWriter} writer
|
|
2440
2440
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2441
2441
|
*/
|
|
2442
|
-
proto.
|
|
2442
|
+
proto.Drumtracker.DrumProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2443
2443
|
var f = undefined;
|
|
2444
2444
|
f = message.getFilters();
|
|
2445
2445
|
if (f != null) {
|
|
2446
2446
|
writer.writeMessage(
|
|
2447
2447
|
1,
|
|
2448
2448
|
f,
|
|
2449
|
-
proto.
|
|
2449
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter
|
|
2450
2450
|
);
|
|
2451
2451
|
}
|
|
2452
2452
|
f = message.getPage();
|
|
@@ -2468,28 +2468,28 @@ proto.Drumtracking.DrumProto.SearchRequest.serializeBinaryToWriter = function(me
|
|
|
2468
2468
|
|
|
2469
2469
|
/**
|
|
2470
2470
|
* optional DrumFilters filters = 1;
|
|
2471
|
-
* @return {?proto.
|
|
2471
|
+
* @return {?proto.Drumtracker.DrumProto.DrumFilters}
|
|
2472
2472
|
*/
|
|
2473
|
-
proto.
|
|
2474
|
-
return /** @type{?proto.
|
|
2475
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2473
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getFilters = function() {
|
|
2474
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumFilters} */ (
|
|
2475
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumFilters, 1));
|
|
2476
2476
|
};
|
|
2477
2477
|
|
|
2478
2478
|
|
|
2479
2479
|
/**
|
|
2480
|
-
* @param {?proto.
|
|
2481
|
-
* @return {!proto.
|
|
2480
|
+
* @param {?proto.Drumtracker.DrumProto.DrumFilters|undefined} value
|
|
2481
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2482
2482
|
*/
|
|
2483
|
-
proto.
|
|
2483
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setFilters = function(value) {
|
|
2484
2484
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2485
2485
|
};
|
|
2486
2486
|
|
|
2487
2487
|
|
|
2488
2488
|
/**
|
|
2489
2489
|
* Clears the message field making it undefined.
|
|
2490
|
-
* @return {!proto.
|
|
2490
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2491
2491
|
*/
|
|
2492
|
-
proto.
|
|
2492
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.clearFilters = function() {
|
|
2493
2493
|
return this.setFilters(undefined);
|
|
2494
2494
|
};
|
|
2495
2495
|
|
|
@@ -2498,7 +2498,7 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.clearFilters = function() {
|
|
|
2498
2498
|
* Returns whether this field is set.
|
|
2499
2499
|
* @return {boolean}
|
|
2500
2500
|
*/
|
|
2501
|
-
proto.
|
|
2501
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.hasFilters = function() {
|
|
2502
2502
|
return jspb.Message.getField(this, 1) != null;
|
|
2503
2503
|
};
|
|
2504
2504
|
|
|
@@ -2507,16 +2507,16 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.hasFilters = function() {
|
|
|
2507
2507
|
* optional int32 page = 2;
|
|
2508
2508
|
* @return {number}
|
|
2509
2509
|
*/
|
|
2510
|
-
proto.
|
|
2510
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getPage = function() {
|
|
2511
2511
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2512
2512
|
};
|
|
2513
2513
|
|
|
2514
2514
|
|
|
2515
2515
|
/**
|
|
2516
2516
|
* @param {number} value
|
|
2517
|
-
* @return {!proto.
|
|
2517
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2518
2518
|
*/
|
|
2519
|
-
proto.
|
|
2519
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setPage = function(value) {
|
|
2520
2520
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2521
2521
|
};
|
|
2522
2522
|
|
|
@@ -2525,16 +2525,16 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.setPage = function(value) {
|
|
|
2525
2525
|
* optional int32 count = 3;
|
|
2526
2526
|
* @return {number}
|
|
2527
2527
|
*/
|
|
2528
|
-
proto.
|
|
2528
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.getCount = function() {
|
|
2529
2529
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2530
2530
|
};
|
|
2531
2531
|
|
|
2532
2532
|
|
|
2533
2533
|
/**
|
|
2534
2534
|
* @param {number} value
|
|
2535
|
-
* @return {!proto.
|
|
2535
|
+
* @return {!proto.Drumtracker.DrumProto.SearchRequest} returns this
|
|
2536
2536
|
*/
|
|
2537
|
-
proto.
|
|
2537
|
+
proto.Drumtracker.DrumProto.SearchRequest.prototype.setCount = function(value) {
|
|
2538
2538
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
2539
2539
|
};
|
|
2540
2540
|
|
|
@@ -2545,7 +2545,7 @@ proto.Drumtracking.DrumProto.SearchRequest.prototype.setCount = function(value)
|
|
|
2545
2545
|
* @private {!Array<number>}
|
|
2546
2546
|
* @const
|
|
2547
2547
|
*/
|
|
2548
|
-
proto.
|
|
2548
|
+
proto.Drumtracker.DrumProto.SearchReply.repeatedFields_ = [1];
|
|
2549
2549
|
|
|
2550
2550
|
|
|
2551
2551
|
|
|
@@ -2562,8 +2562,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2562
2562
|
* http://goto/soy-param-migration
|
|
2563
2563
|
* @return {!Object}
|
|
2564
2564
|
*/
|
|
2565
|
-
proto.
|
|
2566
|
-
return proto.
|
|
2565
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
|
|
2566
|
+
return proto.Drumtracker.DrumProto.SearchReply.toObject(opt_includeInstance, this);
|
|
2567
2567
|
};
|
|
2568
2568
|
|
|
2569
2569
|
|
|
@@ -2572,14 +2572,14 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.toObject = function(opt_inclu
|
|
|
2572
2572
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2573
2573
|
* the JSPB instance for transitional soy proto support:
|
|
2574
2574
|
* http://goto/soy-param-migration
|
|
2575
|
-
* @param {!proto.
|
|
2575
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} msg The msg instance to transform.
|
|
2576
2576
|
* @return {!Object}
|
|
2577
2577
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2578
2578
|
*/
|
|
2579
|
-
proto.
|
|
2579
|
+
proto.Drumtracker.DrumProto.SearchReply.toObject = function(includeInstance, msg) {
|
|
2580
2580
|
var f, obj = {
|
|
2581
2581
|
drumsList: jspb.Message.toObjectList(msg.getDrumsList(),
|
|
2582
|
-
proto.
|
|
2582
|
+
proto.Drumtracker.DrumProto.toObject, includeInstance),
|
|
2583
2583
|
pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
|
|
2584
2584
|
};
|
|
2585
2585
|
|
|
@@ -2594,23 +2594,23 @@ proto.Drumtracking.DrumProto.SearchReply.toObject = function(includeInstance, ms
|
|
|
2594
2594
|
/**
|
|
2595
2595
|
* Deserializes binary data (in protobuf wire format).
|
|
2596
2596
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2597
|
-
* @return {!proto.
|
|
2597
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply}
|
|
2598
2598
|
*/
|
|
2599
|
-
proto.
|
|
2599
|
+
proto.Drumtracker.DrumProto.SearchReply.deserializeBinary = function(bytes) {
|
|
2600
2600
|
var reader = new jspb.BinaryReader(bytes);
|
|
2601
|
-
var msg = new proto.
|
|
2602
|
-
return proto.
|
|
2601
|
+
var msg = new proto.Drumtracker.DrumProto.SearchReply;
|
|
2602
|
+
return proto.Drumtracker.DrumProto.SearchReply.deserializeBinaryFromReader(msg, reader);
|
|
2603
2603
|
};
|
|
2604
2604
|
|
|
2605
2605
|
|
|
2606
2606
|
/**
|
|
2607
2607
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2608
2608
|
* given reader into the given message object.
|
|
2609
|
-
* @param {!proto.
|
|
2609
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} msg The message object to deserialize into.
|
|
2610
2610
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2611
|
-
* @return {!proto.
|
|
2611
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply}
|
|
2612
2612
|
*/
|
|
2613
|
-
proto.
|
|
2613
|
+
proto.Drumtracker.DrumProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
2614
2614
|
while (reader.nextField()) {
|
|
2615
2615
|
if (reader.isEndGroup()) {
|
|
2616
2616
|
break;
|
|
@@ -2618,8 +2618,8 @@ proto.Drumtracking.DrumProto.SearchReply.deserializeBinaryFromReader = function(
|
|
|
2618
2618
|
var field = reader.getFieldNumber();
|
|
2619
2619
|
switch (field) {
|
|
2620
2620
|
case 1:
|
|
2621
|
-
var value = new proto.
|
|
2622
|
-
reader.readMessage(value,proto.
|
|
2621
|
+
var value = new proto.Drumtracker.DrumProto;
|
|
2622
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.deserializeBinaryFromReader);
|
|
2623
2623
|
msg.addDrums(value);
|
|
2624
2624
|
break;
|
|
2625
2625
|
case 2:
|
|
@@ -2640,9 +2640,9 @@ proto.Drumtracking.DrumProto.SearchReply.deserializeBinaryFromReader = function(
|
|
|
2640
2640
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2641
2641
|
* @return {!Uint8Array}
|
|
2642
2642
|
*/
|
|
2643
|
-
proto.
|
|
2643
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.serializeBinary = function() {
|
|
2644
2644
|
var writer = new jspb.BinaryWriter();
|
|
2645
|
-
proto.
|
|
2645
|
+
proto.Drumtracker.DrumProto.SearchReply.serializeBinaryToWriter(this, writer);
|
|
2646
2646
|
return writer.getResultBuffer();
|
|
2647
2647
|
};
|
|
2648
2648
|
|
|
@@ -2650,18 +2650,18 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.serializeBinary = function()
|
|
|
2650
2650
|
/**
|
|
2651
2651
|
* Serializes the given message to binary data (in protobuf wire
|
|
2652
2652
|
* format), writing to the given BinaryWriter.
|
|
2653
|
-
* @param {!proto.
|
|
2653
|
+
* @param {!proto.Drumtracker.DrumProto.SearchReply} message
|
|
2654
2654
|
* @param {!jspb.BinaryWriter} writer
|
|
2655
2655
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2656
2656
|
*/
|
|
2657
|
-
proto.
|
|
2657
|
+
proto.Drumtracker.DrumProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
|
|
2658
2658
|
var f = undefined;
|
|
2659
2659
|
f = message.getDrumsList();
|
|
2660
2660
|
if (f.length > 0) {
|
|
2661
2661
|
writer.writeRepeatedMessage(
|
|
2662
2662
|
1,
|
|
2663
2663
|
f,
|
|
2664
|
-
proto.
|
|
2664
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter
|
|
2665
2665
|
);
|
|
2666
2666
|
}
|
|
2667
2667
|
f = message.getPagination();
|
|
@@ -2677,38 +2677,38 @@ proto.Drumtracking.DrumProto.SearchReply.serializeBinaryToWriter = function(mess
|
|
|
2677
2677
|
|
|
2678
2678
|
/**
|
|
2679
2679
|
* repeated DrumProto drums = 1;
|
|
2680
|
-
* @return {!Array<!proto.
|
|
2680
|
+
* @return {!Array<!proto.Drumtracker.DrumProto>}
|
|
2681
2681
|
*/
|
|
2682
|
-
proto.
|
|
2683
|
-
return /** @type{!Array<!proto.
|
|
2684
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
2682
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.getDrumsList = function() {
|
|
2683
|
+
return /** @type{!Array<!proto.Drumtracker.DrumProto>} */ (
|
|
2684
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Drumtracker.DrumProto, 1));
|
|
2685
2685
|
};
|
|
2686
2686
|
|
|
2687
2687
|
|
|
2688
2688
|
/**
|
|
2689
|
-
* @param {!Array<!proto.
|
|
2690
|
-
* @return {!proto.
|
|
2689
|
+
* @param {!Array<!proto.Drumtracker.DrumProto>} value
|
|
2690
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2691
2691
|
*/
|
|
2692
|
-
proto.
|
|
2692
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.setDrumsList = function(value) {
|
|
2693
2693
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2694
2694
|
};
|
|
2695
2695
|
|
|
2696
2696
|
|
|
2697
2697
|
/**
|
|
2698
|
-
* @param {!proto.
|
|
2698
|
+
* @param {!proto.Drumtracker.DrumProto=} opt_value
|
|
2699
2699
|
* @param {number=} opt_index
|
|
2700
|
-
* @return {!proto.
|
|
2700
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
2701
2701
|
*/
|
|
2702
|
-
proto.
|
|
2703
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
2702
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.addDrums = function(opt_value, opt_index) {
|
|
2703
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Drumtracker.DrumProto, opt_index);
|
|
2704
2704
|
};
|
|
2705
2705
|
|
|
2706
2706
|
|
|
2707
2707
|
/**
|
|
2708
2708
|
* Clears the list making it empty but non-null.
|
|
2709
|
-
* @return {!proto.
|
|
2709
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2710
2710
|
*/
|
|
2711
|
-
proto.
|
|
2711
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.clearDrumsList = function() {
|
|
2712
2712
|
return this.setDrumsList([]);
|
|
2713
2713
|
};
|
|
2714
2714
|
|
|
@@ -2717,7 +2717,7 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.clearDrumsList = function() {
|
|
|
2717
2717
|
* optional Platform.PaginationProto pagination = 2;
|
|
2718
2718
|
* @return {?proto.Platform.PaginationProto}
|
|
2719
2719
|
*/
|
|
2720
|
-
proto.
|
|
2720
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.getPagination = function() {
|
|
2721
2721
|
return /** @type{?proto.Platform.PaginationProto} */ (
|
|
2722
2722
|
jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
|
|
2723
2723
|
};
|
|
@@ -2725,18 +2725,18 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.getPagination = function() {
|
|
|
2725
2725
|
|
|
2726
2726
|
/**
|
|
2727
2727
|
* @param {?proto.Platform.PaginationProto|undefined} value
|
|
2728
|
-
* @return {!proto.
|
|
2728
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2729
2729
|
*/
|
|
2730
|
-
proto.
|
|
2730
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.setPagination = function(value) {
|
|
2731
2731
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2732
2732
|
};
|
|
2733
2733
|
|
|
2734
2734
|
|
|
2735
2735
|
/**
|
|
2736
2736
|
* Clears the message field making it undefined.
|
|
2737
|
-
* @return {!proto.
|
|
2737
|
+
* @return {!proto.Drumtracker.DrumProto.SearchReply} returns this
|
|
2738
2738
|
*/
|
|
2739
|
-
proto.
|
|
2739
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.clearPagination = function() {
|
|
2740
2740
|
return this.setPagination(undefined);
|
|
2741
2741
|
};
|
|
2742
2742
|
|
|
@@ -2745,7 +2745,7 @@ proto.Drumtracking.DrumProto.SearchReply.prototype.clearPagination = function()
|
|
|
2745
2745
|
* Returns whether this field is set.
|
|
2746
2746
|
* @return {boolean}
|
|
2747
2747
|
*/
|
|
2748
|
-
proto.
|
|
2748
|
+
proto.Drumtracker.DrumProto.SearchReply.prototype.hasPagination = function() {
|
|
2749
2749
|
return jspb.Message.getField(this, 2) != null;
|
|
2750
2750
|
};
|
|
2751
2751
|
|
|
@@ -2766,8 +2766,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2766
2766
|
* http://goto/soy-param-migration
|
|
2767
2767
|
* @return {!Object}
|
|
2768
2768
|
*/
|
|
2769
|
-
proto.
|
|
2770
|
-
return proto.
|
|
2769
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2770
|
+
return proto.Drumtracker.DrumProto.LocationSearchRequest.toObject(opt_includeInstance, this);
|
|
2771
2771
|
};
|
|
2772
2772
|
|
|
2773
2773
|
|
|
@@ -2776,13 +2776,13 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.toObject = function
|
|
|
2776
2776
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2777
2777
|
* the JSPB instance for transitional soy proto support:
|
|
2778
2778
|
* http://goto/soy-param-migration
|
|
2779
|
-
* @param {!proto.
|
|
2779
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} msg The msg instance to transform.
|
|
2780
2780
|
* @return {!Object}
|
|
2781
2781
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2782
2782
|
*/
|
|
2783
|
-
proto.
|
|
2783
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.toObject = function(includeInstance, msg) {
|
|
2784
2784
|
var f, obj = {
|
|
2785
|
-
filters: (f = msg.getFilters()) && proto.
|
|
2785
|
+
filters: (f = msg.getFilters()) && proto.Drumtracker.DrumProto.DrumFilters.toObject(includeInstance, f),
|
|
2786
2786
|
latmax: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
2787
2787
|
latmin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
2788
2788
|
lngmax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
@@ -2800,23 +2800,23 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.toObject = function(includeIn
|
|
|
2800
2800
|
/**
|
|
2801
2801
|
* Deserializes binary data (in protobuf wire format).
|
|
2802
2802
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2803
|
-
* @return {!proto.
|
|
2803
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest}
|
|
2804
2804
|
*/
|
|
2805
|
-
proto.
|
|
2805
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinary = function(bytes) {
|
|
2806
2806
|
var reader = new jspb.BinaryReader(bytes);
|
|
2807
|
-
var msg = new proto.
|
|
2808
|
-
return proto.
|
|
2807
|
+
var msg = new proto.Drumtracker.DrumProto.LocationSearchRequest;
|
|
2808
|
+
return proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
2809
2809
|
};
|
|
2810
2810
|
|
|
2811
2811
|
|
|
2812
2812
|
/**
|
|
2813
2813
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2814
2814
|
* given reader into the given message object.
|
|
2815
|
-
* @param {!proto.
|
|
2815
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} msg The message object to deserialize into.
|
|
2816
2816
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2817
|
-
* @return {!proto.
|
|
2817
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest}
|
|
2818
2818
|
*/
|
|
2819
|
-
proto.
|
|
2819
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2820
2820
|
while (reader.nextField()) {
|
|
2821
2821
|
if (reader.isEndGroup()) {
|
|
2822
2822
|
break;
|
|
@@ -2824,8 +2824,8 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.deserializeBinaryFromReader =
|
|
|
2824
2824
|
var field = reader.getFieldNumber();
|
|
2825
2825
|
switch (field) {
|
|
2826
2826
|
case 1:
|
|
2827
|
-
var value = new proto.
|
|
2828
|
-
reader.readMessage(value,proto.
|
|
2827
|
+
var value = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
2828
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader);
|
|
2829
2829
|
msg.setFilters(value);
|
|
2830
2830
|
break;
|
|
2831
2831
|
case 2:
|
|
@@ -2857,9 +2857,9 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.deserializeBinaryFromReader =
|
|
|
2857
2857
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2858
2858
|
* @return {!Uint8Array}
|
|
2859
2859
|
*/
|
|
2860
|
-
proto.
|
|
2860
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.serializeBinary = function() {
|
|
2861
2861
|
var writer = new jspb.BinaryWriter();
|
|
2862
|
-
proto.
|
|
2862
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.serializeBinaryToWriter(this, writer);
|
|
2863
2863
|
return writer.getResultBuffer();
|
|
2864
2864
|
};
|
|
2865
2865
|
|
|
@@ -2867,18 +2867,18 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.serializeBinary = f
|
|
|
2867
2867
|
/**
|
|
2868
2868
|
* Serializes the given message to binary data (in protobuf wire
|
|
2869
2869
|
* format), writing to the given BinaryWriter.
|
|
2870
|
-
* @param {!proto.
|
|
2870
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchRequest} message
|
|
2871
2871
|
* @param {!jspb.BinaryWriter} writer
|
|
2872
2872
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2873
2873
|
*/
|
|
2874
|
-
proto.
|
|
2874
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2875
2875
|
var f = undefined;
|
|
2876
2876
|
f = message.getFilters();
|
|
2877
2877
|
if (f != null) {
|
|
2878
2878
|
writer.writeMessage(
|
|
2879
2879
|
1,
|
|
2880
2880
|
f,
|
|
2881
|
-
proto.
|
|
2881
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter
|
|
2882
2882
|
);
|
|
2883
2883
|
}
|
|
2884
2884
|
f = message.getLatmax();
|
|
@@ -2914,28 +2914,28 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.serializeBinaryToWriter = fun
|
|
|
2914
2914
|
|
|
2915
2915
|
/**
|
|
2916
2916
|
* optional DrumFilters filters = 1;
|
|
2917
|
-
* @return {?proto.
|
|
2917
|
+
* @return {?proto.Drumtracker.DrumProto.DrumFilters}
|
|
2918
2918
|
*/
|
|
2919
|
-
proto.
|
|
2920
|
-
return /** @type{?proto.
|
|
2921
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2919
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getFilters = function() {
|
|
2920
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumFilters} */ (
|
|
2921
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumFilters, 1));
|
|
2922
2922
|
};
|
|
2923
2923
|
|
|
2924
2924
|
|
|
2925
2925
|
/**
|
|
2926
|
-
* @param {?proto.
|
|
2927
|
-
* @return {!proto.
|
|
2926
|
+
* @param {?proto.Drumtracker.DrumProto.DrumFilters|undefined} value
|
|
2927
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2928
2928
|
*/
|
|
2929
|
-
proto.
|
|
2929
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setFilters = function(value) {
|
|
2930
2930
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2931
2931
|
};
|
|
2932
2932
|
|
|
2933
2933
|
|
|
2934
2934
|
/**
|
|
2935
2935
|
* Clears the message field making it undefined.
|
|
2936
|
-
* @return {!proto.
|
|
2936
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2937
2937
|
*/
|
|
2938
|
-
proto.
|
|
2938
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.clearFilters = function() {
|
|
2939
2939
|
return this.setFilters(undefined);
|
|
2940
2940
|
};
|
|
2941
2941
|
|
|
@@ -2944,7 +2944,7 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.clearFilters = func
|
|
|
2944
2944
|
* Returns whether this field is set.
|
|
2945
2945
|
* @return {boolean}
|
|
2946
2946
|
*/
|
|
2947
|
-
proto.
|
|
2947
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.hasFilters = function() {
|
|
2948
2948
|
return jspb.Message.getField(this, 1) != null;
|
|
2949
2949
|
};
|
|
2950
2950
|
|
|
@@ -2953,16 +2953,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.hasFilters = functi
|
|
|
2953
2953
|
* optional double latMax = 2;
|
|
2954
2954
|
* @return {number}
|
|
2955
2955
|
*/
|
|
2956
|
-
proto.
|
|
2956
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLatmax = function() {
|
|
2957
2957
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
2958
2958
|
};
|
|
2959
2959
|
|
|
2960
2960
|
|
|
2961
2961
|
/**
|
|
2962
2962
|
* @param {number} value
|
|
2963
|
-
* @return {!proto.
|
|
2963
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2964
2964
|
*/
|
|
2965
|
-
proto.
|
|
2965
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLatmax = function(value) {
|
|
2966
2966
|
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
2967
2967
|
};
|
|
2968
2968
|
|
|
@@ -2971,16 +2971,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLatmax = functio
|
|
|
2971
2971
|
* optional double latMin = 3;
|
|
2972
2972
|
* @return {number}
|
|
2973
2973
|
*/
|
|
2974
|
-
proto.
|
|
2974
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLatmin = function() {
|
|
2975
2975
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
2976
2976
|
};
|
|
2977
2977
|
|
|
2978
2978
|
|
|
2979
2979
|
/**
|
|
2980
2980
|
* @param {number} value
|
|
2981
|
-
* @return {!proto.
|
|
2981
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
2982
2982
|
*/
|
|
2983
|
-
proto.
|
|
2983
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLatmin = function(value) {
|
|
2984
2984
|
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
2985
2985
|
};
|
|
2986
2986
|
|
|
@@ -2989,16 +2989,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLatmin = functio
|
|
|
2989
2989
|
* optional double lngMax = 4;
|
|
2990
2990
|
* @return {number}
|
|
2991
2991
|
*/
|
|
2992
|
-
proto.
|
|
2992
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLngmax = function() {
|
|
2993
2993
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
2994
2994
|
};
|
|
2995
2995
|
|
|
2996
2996
|
|
|
2997
2997
|
/**
|
|
2998
2998
|
* @param {number} value
|
|
2999
|
-
* @return {!proto.
|
|
2999
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
3000
3000
|
*/
|
|
3001
|
-
proto.
|
|
3001
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLngmax = function(value) {
|
|
3002
3002
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
3003
3003
|
};
|
|
3004
3004
|
|
|
@@ -3007,16 +3007,16 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLngmax = functio
|
|
|
3007
3007
|
* optional double lngMin = 5;
|
|
3008
3008
|
* @return {number}
|
|
3009
3009
|
*/
|
|
3010
|
-
proto.
|
|
3010
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.getLngmin = function() {
|
|
3011
3011
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
3012
3012
|
};
|
|
3013
3013
|
|
|
3014
3014
|
|
|
3015
3015
|
/**
|
|
3016
3016
|
* @param {number} value
|
|
3017
|
-
* @return {!proto.
|
|
3017
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchRequest} returns this
|
|
3018
3018
|
*/
|
|
3019
|
-
proto.
|
|
3019
|
+
proto.Drumtracker.DrumProto.LocationSearchRequest.prototype.setLngmin = function(value) {
|
|
3020
3020
|
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
3021
3021
|
};
|
|
3022
3022
|
|
|
@@ -3027,7 +3027,7 @@ proto.Drumtracking.DrumProto.LocationSearchRequest.prototype.setLngmin = functio
|
|
|
3027
3027
|
* @private {!Array<number>}
|
|
3028
3028
|
* @const
|
|
3029
3029
|
*/
|
|
3030
|
-
proto.
|
|
3030
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.repeatedFields_ = [1];
|
|
3031
3031
|
|
|
3032
3032
|
|
|
3033
3033
|
|
|
@@ -3044,8 +3044,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3044
3044
|
* http://goto/soy-param-migration
|
|
3045
3045
|
* @return {!Object}
|
|
3046
3046
|
*/
|
|
3047
|
-
proto.
|
|
3048
|
-
return proto.
|
|
3047
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.toObject = function(opt_includeInstance) {
|
|
3048
|
+
return proto.Drumtracker.DrumProto.LocationSearchReply.toObject(opt_includeInstance, this);
|
|
3049
3049
|
};
|
|
3050
3050
|
|
|
3051
3051
|
|
|
@@ -3054,14 +3054,14 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.toObject = function(o
|
|
|
3054
3054
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3055
3055
|
* the JSPB instance for transitional soy proto support:
|
|
3056
3056
|
* http://goto/soy-param-migration
|
|
3057
|
-
* @param {!proto.
|
|
3057
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} msg The msg instance to transform.
|
|
3058
3058
|
* @return {!Object}
|
|
3059
3059
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3060
3060
|
*/
|
|
3061
|
-
proto.
|
|
3061
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.toObject = function(includeInstance, msg) {
|
|
3062
3062
|
var f, obj = {
|
|
3063
3063
|
drumsList: jspb.Message.toObjectList(msg.getDrumsList(),
|
|
3064
|
-
proto.
|
|
3064
|
+
proto.Drumtracker.DrumProto.toObject, includeInstance),
|
|
3065
3065
|
total: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3066
3066
|
};
|
|
3067
3067
|
|
|
@@ -3076,23 +3076,23 @@ proto.Drumtracking.DrumProto.LocationSearchReply.toObject = function(includeInst
|
|
|
3076
3076
|
/**
|
|
3077
3077
|
* Deserializes binary data (in protobuf wire format).
|
|
3078
3078
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3079
|
-
* @return {!proto.
|
|
3079
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply}
|
|
3080
3080
|
*/
|
|
3081
|
-
proto.
|
|
3081
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinary = function(bytes) {
|
|
3082
3082
|
var reader = new jspb.BinaryReader(bytes);
|
|
3083
|
-
var msg = new proto.
|
|
3084
|
-
return proto.
|
|
3083
|
+
var msg = new proto.Drumtracker.DrumProto.LocationSearchReply;
|
|
3084
|
+
return proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinaryFromReader(msg, reader);
|
|
3085
3085
|
};
|
|
3086
3086
|
|
|
3087
3087
|
|
|
3088
3088
|
/**
|
|
3089
3089
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3090
3090
|
* given reader into the given message object.
|
|
3091
|
-
* @param {!proto.
|
|
3091
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} msg The message object to deserialize into.
|
|
3092
3092
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3093
|
-
* @return {!proto.
|
|
3093
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply}
|
|
3094
3094
|
*/
|
|
3095
|
-
proto.
|
|
3095
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
3096
3096
|
while (reader.nextField()) {
|
|
3097
3097
|
if (reader.isEndGroup()) {
|
|
3098
3098
|
break;
|
|
@@ -3100,8 +3100,8 @@ proto.Drumtracking.DrumProto.LocationSearchReply.deserializeBinaryFromReader = f
|
|
|
3100
3100
|
var field = reader.getFieldNumber();
|
|
3101
3101
|
switch (field) {
|
|
3102
3102
|
case 1:
|
|
3103
|
-
var value = new proto.
|
|
3104
|
-
reader.readMessage(value,proto.
|
|
3103
|
+
var value = new proto.Drumtracker.DrumProto;
|
|
3104
|
+
reader.readMessage(value,proto.Drumtracker.DrumProto.deserializeBinaryFromReader);
|
|
3105
3105
|
msg.addDrums(value);
|
|
3106
3106
|
break;
|
|
3107
3107
|
case 2:
|
|
@@ -3121,9 +3121,9 @@ proto.Drumtracking.DrumProto.LocationSearchReply.deserializeBinaryFromReader = f
|
|
|
3121
3121
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3122
3122
|
* @return {!Uint8Array}
|
|
3123
3123
|
*/
|
|
3124
|
-
proto.
|
|
3124
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.serializeBinary = function() {
|
|
3125
3125
|
var writer = new jspb.BinaryWriter();
|
|
3126
|
-
proto.
|
|
3126
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.serializeBinaryToWriter(this, writer);
|
|
3127
3127
|
return writer.getResultBuffer();
|
|
3128
3128
|
};
|
|
3129
3129
|
|
|
@@ -3131,18 +3131,18 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.serializeBinary = fun
|
|
|
3131
3131
|
/**
|
|
3132
3132
|
* Serializes the given message to binary data (in protobuf wire
|
|
3133
3133
|
* format), writing to the given BinaryWriter.
|
|
3134
|
-
* @param {!proto.
|
|
3134
|
+
* @param {!proto.Drumtracker.DrumProto.LocationSearchReply} message
|
|
3135
3135
|
* @param {!jspb.BinaryWriter} writer
|
|
3136
3136
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3137
3137
|
*/
|
|
3138
|
-
proto.
|
|
3138
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.serializeBinaryToWriter = function(message, writer) {
|
|
3139
3139
|
var f = undefined;
|
|
3140
3140
|
f = message.getDrumsList();
|
|
3141
3141
|
if (f.length > 0) {
|
|
3142
3142
|
writer.writeRepeatedMessage(
|
|
3143
3143
|
1,
|
|
3144
3144
|
f,
|
|
3145
|
-
proto.
|
|
3145
|
+
proto.Drumtracker.DrumProto.serializeBinaryToWriter
|
|
3146
3146
|
);
|
|
3147
3147
|
}
|
|
3148
3148
|
f = message.getTotal();
|
|
@@ -3157,38 +3157,38 @@ proto.Drumtracking.DrumProto.LocationSearchReply.serializeBinaryToWriter = funct
|
|
|
3157
3157
|
|
|
3158
3158
|
/**
|
|
3159
3159
|
* repeated DrumProto drums = 1;
|
|
3160
|
-
* @return {!Array<!proto.
|
|
3160
|
+
* @return {!Array<!proto.Drumtracker.DrumProto>}
|
|
3161
3161
|
*/
|
|
3162
|
-
proto.
|
|
3163
|
-
return /** @type{!Array<!proto.
|
|
3164
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
3162
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.getDrumsList = function() {
|
|
3163
|
+
return /** @type{!Array<!proto.Drumtracker.DrumProto>} */ (
|
|
3164
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Drumtracker.DrumProto, 1));
|
|
3165
3165
|
};
|
|
3166
3166
|
|
|
3167
3167
|
|
|
3168
3168
|
/**
|
|
3169
|
-
* @param {!Array<!proto.
|
|
3170
|
-
* @return {!proto.
|
|
3169
|
+
* @param {!Array<!proto.Drumtracker.DrumProto>} value
|
|
3170
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3171
3171
|
*/
|
|
3172
|
-
proto.
|
|
3172
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.setDrumsList = function(value) {
|
|
3173
3173
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3174
3174
|
};
|
|
3175
3175
|
|
|
3176
3176
|
|
|
3177
3177
|
/**
|
|
3178
|
-
* @param {!proto.
|
|
3178
|
+
* @param {!proto.Drumtracker.DrumProto=} opt_value
|
|
3179
3179
|
* @param {number=} opt_index
|
|
3180
|
-
* @return {!proto.
|
|
3180
|
+
* @return {!proto.Drumtracker.DrumProto}
|
|
3181
3181
|
*/
|
|
3182
|
-
proto.
|
|
3183
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
3182
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.addDrums = function(opt_value, opt_index) {
|
|
3183
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Drumtracker.DrumProto, opt_index);
|
|
3184
3184
|
};
|
|
3185
3185
|
|
|
3186
3186
|
|
|
3187
3187
|
/**
|
|
3188
3188
|
* Clears the list making it empty but non-null.
|
|
3189
|
-
* @return {!proto.
|
|
3189
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3190
3190
|
*/
|
|
3191
|
-
proto.
|
|
3191
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.clearDrumsList = function() {
|
|
3192
3192
|
return this.setDrumsList([]);
|
|
3193
3193
|
};
|
|
3194
3194
|
|
|
@@ -3197,16 +3197,16 @@ proto.Drumtracking.DrumProto.LocationSearchReply.prototype.clearDrumsList = func
|
|
|
3197
3197
|
* optional int32 total = 2;
|
|
3198
3198
|
* @return {number}
|
|
3199
3199
|
*/
|
|
3200
|
-
proto.
|
|
3200
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.getTotal = function() {
|
|
3201
3201
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3202
3202
|
};
|
|
3203
3203
|
|
|
3204
3204
|
|
|
3205
3205
|
/**
|
|
3206
3206
|
* @param {number} value
|
|
3207
|
-
* @return {!proto.
|
|
3207
|
+
* @return {!proto.Drumtracker.DrumProto.LocationSearchReply} returns this
|
|
3208
3208
|
*/
|
|
3209
|
-
proto.
|
|
3209
|
+
proto.Drumtracker.DrumProto.LocationSearchReply.prototype.setTotal = function(value) {
|
|
3210
3210
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3211
3211
|
};
|
|
3212
3212
|
|
|
@@ -3227,8 +3227,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3227
3227
|
* http://goto/soy-param-migration
|
|
3228
3228
|
* @return {!Object}
|
|
3229
3229
|
*/
|
|
3230
|
-
proto.
|
|
3231
|
-
return proto.
|
|
3230
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.toObject = function(opt_includeInstance) {
|
|
3231
|
+
return proto.Drumtracker.DrumProto.DrumFilters.toObject(opt_includeInstance, this);
|
|
3232
3232
|
};
|
|
3233
3233
|
|
|
3234
3234
|
|
|
@@ -3237,11 +3237,11 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.toObject = function(opt_inclu
|
|
|
3237
3237
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3238
3238
|
* the JSPB instance for transitional soy proto support:
|
|
3239
3239
|
* http://goto/soy-param-migration
|
|
3240
|
-
* @param {!proto.
|
|
3240
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} msg The msg instance to transform.
|
|
3241
3241
|
* @return {!Object}
|
|
3242
3242
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3243
3243
|
*/
|
|
3244
|
-
proto.
|
|
3244
|
+
proto.Drumtracker.DrumProto.DrumFilters.toObject = function(includeInstance, msg) {
|
|
3245
3245
|
var f, obj = {
|
|
3246
3246
|
search: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3247
3247
|
minRemainingLength: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -3262,23 +3262,23 @@ proto.Drumtracking.DrumProto.DrumFilters.toObject = function(includeInstance, ms
|
|
|
3262
3262
|
/**
|
|
3263
3263
|
* Deserializes binary data (in protobuf wire format).
|
|
3264
3264
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3265
|
-
* @return {!proto.
|
|
3265
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters}
|
|
3266
3266
|
*/
|
|
3267
|
-
proto.
|
|
3267
|
+
proto.Drumtracker.DrumProto.DrumFilters.deserializeBinary = function(bytes) {
|
|
3268
3268
|
var reader = new jspb.BinaryReader(bytes);
|
|
3269
|
-
var msg = new proto.
|
|
3270
|
-
return proto.
|
|
3269
|
+
var msg = new proto.Drumtracker.DrumProto.DrumFilters;
|
|
3270
|
+
return proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader(msg, reader);
|
|
3271
3271
|
};
|
|
3272
3272
|
|
|
3273
3273
|
|
|
3274
3274
|
/**
|
|
3275
3275
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3276
3276
|
* given reader into the given message object.
|
|
3277
|
-
* @param {!proto.
|
|
3277
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} msg The message object to deserialize into.
|
|
3278
3278
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3279
|
-
* @return {!proto.
|
|
3279
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters}
|
|
3280
3280
|
*/
|
|
3281
|
-
proto.
|
|
3281
|
+
proto.Drumtracker.DrumProto.DrumFilters.deserializeBinaryFromReader = function(msg, reader) {
|
|
3282
3282
|
while (reader.nextField()) {
|
|
3283
3283
|
if (reader.isEndGroup()) {
|
|
3284
3284
|
break;
|
|
@@ -3322,9 +3322,9 @@ proto.Drumtracking.DrumProto.DrumFilters.deserializeBinaryFromReader = function(
|
|
|
3322
3322
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3323
3323
|
* @return {!Uint8Array}
|
|
3324
3324
|
*/
|
|
3325
|
-
proto.
|
|
3325
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.serializeBinary = function() {
|
|
3326
3326
|
var writer = new jspb.BinaryWriter();
|
|
3327
|
-
proto.
|
|
3327
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter(this, writer);
|
|
3328
3328
|
return writer.getResultBuffer();
|
|
3329
3329
|
};
|
|
3330
3330
|
|
|
@@ -3332,11 +3332,11 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.serializeBinary = function()
|
|
|
3332
3332
|
/**
|
|
3333
3333
|
* Serializes the given message to binary data (in protobuf wire
|
|
3334
3334
|
* format), writing to the given BinaryWriter.
|
|
3335
|
-
* @param {!proto.
|
|
3335
|
+
* @param {!proto.Drumtracker.DrumProto.DrumFilters} message
|
|
3336
3336
|
* @param {!jspb.BinaryWriter} writer
|
|
3337
3337
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3338
3338
|
*/
|
|
3339
|
-
proto.
|
|
3339
|
+
proto.Drumtracker.DrumProto.DrumFilters.serializeBinaryToWriter = function(message, writer) {
|
|
3340
3340
|
var f = undefined;
|
|
3341
3341
|
f = message.getSearch();
|
|
3342
3342
|
if (f.length > 0) {
|
|
@@ -3387,16 +3387,16 @@ proto.Drumtracking.DrumProto.DrumFilters.serializeBinaryToWriter = function(mess
|
|
|
3387
3387
|
* optional string search = 1;
|
|
3388
3388
|
* @return {string}
|
|
3389
3389
|
*/
|
|
3390
|
-
proto.
|
|
3390
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getSearch = function() {
|
|
3391
3391
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3392
3392
|
};
|
|
3393
3393
|
|
|
3394
3394
|
|
|
3395
3395
|
/**
|
|
3396
3396
|
* @param {string} value
|
|
3397
|
-
* @return {!proto.
|
|
3397
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3398
3398
|
*/
|
|
3399
|
-
proto.
|
|
3399
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setSearch = function(value) {
|
|
3400
3400
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3401
3401
|
};
|
|
3402
3402
|
|
|
@@ -3405,16 +3405,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setSearch = function(value) {
|
|
|
3405
3405
|
* optional int32 min_remaining_length = 2;
|
|
3406
3406
|
* @return {number}
|
|
3407
3407
|
*/
|
|
3408
|
-
proto.
|
|
3408
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMinRemainingLength = function() {
|
|
3409
3409
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3410
3410
|
};
|
|
3411
3411
|
|
|
3412
3412
|
|
|
3413
3413
|
/**
|
|
3414
3414
|
* @param {number} value
|
|
3415
|
-
* @return {!proto.
|
|
3415
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3416
3416
|
*/
|
|
3417
|
-
proto.
|
|
3417
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMinRemainingLength = function(value) {
|
|
3418
3418
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3419
3419
|
};
|
|
3420
3420
|
|
|
@@ -3423,16 +3423,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMinRemainingLength = funct
|
|
|
3423
3423
|
* optional int32 max_remaining_length = 3;
|
|
3424
3424
|
* @return {number}
|
|
3425
3425
|
*/
|
|
3426
|
-
proto.
|
|
3426
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMaxRemainingLength = function() {
|
|
3427
3427
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3428
3428
|
};
|
|
3429
3429
|
|
|
3430
3430
|
|
|
3431
3431
|
/**
|
|
3432
3432
|
* @param {number} value
|
|
3433
|
-
* @return {!proto.
|
|
3433
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3434
3434
|
*/
|
|
3435
|
-
proto.
|
|
3435
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMaxRemainingLength = function(value) {
|
|
3436
3436
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
3437
3437
|
};
|
|
3438
3438
|
|
|
@@ -3441,16 +3441,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMaxRemainingLength = funct
|
|
|
3441
3441
|
* optional int32 customer_id = 4;
|
|
3442
3442
|
* @return {number}
|
|
3443
3443
|
*/
|
|
3444
|
-
proto.
|
|
3444
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getCustomerId = function() {
|
|
3445
3445
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3446
3446
|
};
|
|
3447
3447
|
|
|
3448
3448
|
|
|
3449
3449
|
/**
|
|
3450
3450
|
* @param {number} value
|
|
3451
|
-
* @return {!proto.
|
|
3451
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3452
3452
|
*/
|
|
3453
|
-
proto.
|
|
3453
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setCustomerId = function(value) {
|
|
3454
3454
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
3455
3455
|
};
|
|
3456
3456
|
|
|
@@ -3459,16 +3459,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setCustomerId = function(valu
|
|
|
3459
3459
|
* optional int32 min_battery = 5;
|
|
3460
3460
|
* @return {number}
|
|
3461
3461
|
*/
|
|
3462
|
-
proto.
|
|
3462
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMinBattery = function() {
|
|
3463
3463
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
3464
3464
|
};
|
|
3465
3465
|
|
|
3466
3466
|
|
|
3467
3467
|
/**
|
|
3468
3468
|
* @param {number} value
|
|
3469
|
-
* @return {!proto.
|
|
3469
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3470
3470
|
*/
|
|
3471
|
-
proto.
|
|
3471
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMinBattery = function(value) {
|
|
3472
3472
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
3473
3473
|
};
|
|
3474
3474
|
|
|
@@ -3477,16 +3477,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMinBattery = function(valu
|
|
|
3477
3477
|
* optional int32 max_battery = 6;
|
|
3478
3478
|
* @return {number}
|
|
3479
3479
|
*/
|
|
3480
|
-
proto.
|
|
3480
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.getMaxBattery = function() {
|
|
3481
3481
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
3482
3482
|
};
|
|
3483
3483
|
|
|
3484
3484
|
|
|
3485
3485
|
/**
|
|
3486
3486
|
* @param {number} value
|
|
3487
|
-
* @return {!proto.
|
|
3487
|
+
* @return {!proto.Drumtracker.DrumProto.DrumFilters} returns this
|
|
3488
3488
|
*/
|
|
3489
|
-
proto.
|
|
3489
|
+
proto.Drumtracker.DrumProto.DrumFilters.prototype.setMaxBattery = function(value) {
|
|
3490
3490
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
3491
3491
|
};
|
|
3492
3492
|
|
|
@@ -3495,16 +3495,16 @@ proto.Drumtracking.DrumProto.DrumFilters.prototype.setMaxBattery = function(valu
|
|
|
3495
3495
|
* optional int64 id = 1;
|
|
3496
3496
|
* @return {number}
|
|
3497
3497
|
*/
|
|
3498
|
-
proto.
|
|
3498
|
+
proto.Drumtracker.DrumProto.prototype.getId = function() {
|
|
3499
3499
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3500
3500
|
};
|
|
3501
3501
|
|
|
3502
3502
|
|
|
3503
3503
|
/**
|
|
3504
3504
|
* @param {number} value
|
|
3505
|
-
* @return {!proto.
|
|
3505
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3506
3506
|
*/
|
|
3507
|
-
proto.
|
|
3507
|
+
proto.Drumtracker.DrumProto.prototype.setId = function(value) {
|
|
3508
3508
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3509
3509
|
};
|
|
3510
3510
|
|
|
@@ -3513,44 +3513,44 @@ proto.Drumtracking.DrumProto.prototype.setId = function(value) {
|
|
|
3513
3513
|
* optional int64 drum_number = 2;
|
|
3514
3514
|
* @return {number}
|
|
3515
3515
|
*/
|
|
3516
|
-
proto.
|
|
3516
|
+
proto.Drumtracker.DrumProto.prototype.getDrumNumber = function() {
|
|
3517
3517
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3518
3518
|
};
|
|
3519
3519
|
|
|
3520
3520
|
|
|
3521
3521
|
/**
|
|
3522
3522
|
* @param {number} value
|
|
3523
|
-
* @return {!proto.
|
|
3523
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3524
3524
|
*/
|
|
3525
|
-
proto.
|
|
3525
|
+
proto.Drumtracker.DrumProto.prototype.setDrumNumber = function(value) {
|
|
3526
3526
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3527
3527
|
};
|
|
3528
3528
|
|
|
3529
3529
|
|
|
3530
3530
|
/**
|
|
3531
3531
|
* optional DrumType drum_type = 3;
|
|
3532
|
-
* @return {?proto.
|
|
3532
|
+
* @return {?proto.Drumtracker.DrumProto.DrumType}
|
|
3533
3533
|
*/
|
|
3534
|
-
proto.
|
|
3535
|
-
return /** @type{?proto.
|
|
3536
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3534
|
+
proto.Drumtracker.DrumProto.prototype.getDrumType = function() {
|
|
3535
|
+
return /** @type{?proto.Drumtracker.DrumProto.DrumType} */ (
|
|
3536
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.DrumType, 3));
|
|
3537
3537
|
};
|
|
3538
3538
|
|
|
3539
3539
|
|
|
3540
3540
|
/**
|
|
3541
|
-
* @param {?proto.
|
|
3542
|
-
* @return {!proto.
|
|
3541
|
+
* @param {?proto.Drumtracker.DrumProto.DrumType|undefined} value
|
|
3542
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3543
3543
|
*/
|
|
3544
|
-
proto.
|
|
3544
|
+
proto.Drumtracker.DrumProto.prototype.setDrumType = function(value) {
|
|
3545
3545
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
3546
3546
|
};
|
|
3547
3547
|
|
|
3548
3548
|
|
|
3549
3549
|
/**
|
|
3550
3550
|
* Clears the message field making it undefined.
|
|
3551
|
-
* @return {!proto.
|
|
3551
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3552
3552
|
*/
|
|
3553
|
-
proto.
|
|
3553
|
+
proto.Drumtracker.DrumProto.prototype.clearDrumType = function() {
|
|
3554
3554
|
return this.setDrumType(undefined);
|
|
3555
3555
|
};
|
|
3556
3556
|
|
|
@@ -3559,35 +3559,35 @@ proto.Drumtracking.DrumProto.prototype.clearDrumType = function() {
|
|
|
3559
3559
|
* Returns whether this field is set.
|
|
3560
3560
|
* @return {boolean}
|
|
3561
3561
|
*/
|
|
3562
|
-
proto.
|
|
3562
|
+
proto.Drumtracker.DrumProto.prototype.hasDrumType = function() {
|
|
3563
3563
|
return jspb.Message.getField(this, 3) != null;
|
|
3564
3564
|
};
|
|
3565
3565
|
|
|
3566
3566
|
|
|
3567
3567
|
/**
|
|
3568
|
-
* optional
|
|
3569
|
-
* @return {?proto.
|
|
3568
|
+
* optional CableType cable_type = 4;
|
|
3569
|
+
* @return {?proto.Drumtracker.DrumProto.CableType}
|
|
3570
3570
|
*/
|
|
3571
|
-
proto.
|
|
3572
|
-
return /** @type{?proto.
|
|
3573
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3571
|
+
proto.Drumtracker.DrumProto.prototype.getCableType = function() {
|
|
3572
|
+
return /** @type{?proto.Drumtracker.DrumProto.CableType} */ (
|
|
3573
|
+
jspb.Message.getWrapperField(this, proto.Drumtracker.DrumProto.CableType, 4));
|
|
3574
3574
|
};
|
|
3575
3575
|
|
|
3576
3576
|
|
|
3577
3577
|
/**
|
|
3578
|
-
* @param {?proto.
|
|
3579
|
-
* @return {!proto.
|
|
3578
|
+
* @param {?proto.Drumtracker.DrumProto.CableType|undefined} value
|
|
3579
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3580
3580
|
*/
|
|
3581
|
-
proto.
|
|
3581
|
+
proto.Drumtracker.DrumProto.prototype.setCableType = function(value) {
|
|
3582
3582
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
3583
3583
|
};
|
|
3584
3584
|
|
|
3585
3585
|
|
|
3586
3586
|
/**
|
|
3587
3587
|
* Clears the message field making it undefined.
|
|
3588
|
-
* @return {!proto.
|
|
3588
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3589
3589
|
*/
|
|
3590
|
-
proto.
|
|
3590
|
+
proto.Drumtracker.DrumProto.prototype.clearCableType = function() {
|
|
3591
3591
|
return this.setCableType(undefined);
|
|
3592
3592
|
};
|
|
3593
3593
|
|
|
@@ -3596,7 +3596,7 @@ proto.Drumtracking.DrumProto.prototype.clearCableType = function() {
|
|
|
3596
3596
|
* Returns whether this field is set.
|
|
3597
3597
|
* @return {boolean}
|
|
3598
3598
|
*/
|
|
3599
|
-
proto.
|
|
3599
|
+
proto.Drumtracker.DrumProto.prototype.hasCableType = function() {
|
|
3600
3600
|
return jspb.Message.getField(this, 4) != null;
|
|
3601
3601
|
};
|
|
3602
3602
|
|
|
@@ -3605,16 +3605,16 @@ proto.Drumtracking.DrumProto.prototype.hasCableType = function() {
|
|
|
3605
3605
|
* optional string group_id = 5;
|
|
3606
3606
|
* @return {string}
|
|
3607
3607
|
*/
|
|
3608
|
-
proto.
|
|
3608
|
+
proto.Drumtracker.DrumProto.prototype.getGroupId = function() {
|
|
3609
3609
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3610
3610
|
};
|
|
3611
3611
|
|
|
3612
3612
|
|
|
3613
3613
|
/**
|
|
3614
3614
|
* @param {string} value
|
|
3615
|
-
* @return {!proto.
|
|
3615
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3616
3616
|
*/
|
|
3617
|
-
proto.
|
|
3617
|
+
proto.Drumtracker.DrumProto.prototype.setGroupId = function(value) {
|
|
3618
3618
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3619
3619
|
};
|
|
3620
3620
|
|
|
@@ -3623,16 +3623,16 @@ proto.Drumtracking.DrumProto.prototype.setGroupId = function(value) {
|
|
|
3623
3623
|
* optional int32 cable_length = 6;
|
|
3624
3624
|
* @return {number}
|
|
3625
3625
|
*/
|
|
3626
|
-
proto.
|
|
3626
|
+
proto.Drumtracker.DrumProto.prototype.getCableLength = function() {
|
|
3627
3627
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
3628
3628
|
};
|
|
3629
3629
|
|
|
3630
3630
|
|
|
3631
3631
|
/**
|
|
3632
3632
|
* @param {number} value
|
|
3633
|
-
* @return {!proto.
|
|
3633
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3634
3634
|
*/
|
|
3635
|
-
proto.
|
|
3635
|
+
proto.Drumtracker.DrumProto.prototype.setCableLength = function(value) {
|
|
3636
3636
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
3637
3637
|
};
|
|
3638
3638
|
|
|
@@ -3641,16 +3641,16 @@ proto.Drumtracking.DrumProto.prototype.setCableLength = function(value) {
|
|
|
3641
3641
|
* optional int32 residual_length = 7;
|
|
3642
3642
|
* @return {number}
|
|
3643
3643
|
*/
|
|
3644
|
-
proto.
|
|
3644
|
+
proto.Drumtracker.DrumProto.prototype.getResidualLength = function() {
|
|
3645
3645
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
3646
3646
|
};
|
|
3647
3647
|
|
|
3648
3648
|
|
|
3649
3649
|
/**
|
|
3650
3650
|
* @param {number} value
|
|
3651
|
-
* @return {!proto.
|
|
3651
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3652
3652
|
*/
|
|
3653
|
-
proto.
|
|
3653
|
+
proto.Drumtracker.DrumProto.prototype.setResidualLength = function(value) {
|
|
3654
3654
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
3655
3655
|
};
|
|
3656
3656
|
|
|
@@ -3659,16 +3659,16 @@ proto.Drumtracking.DrumProto.prototype.setResidualLength = function(value) {
|
|
|
3659
3659
|
* optional double latitude = 8;
|
|
3660
3660
|
* @return {number}
|
|
3661
3661
|
*/
|
|
3662
|
-
proto.
|
|
3662
|
+
proto.Drumtracker.DrumProto.prototype.getLatitude = function() {
|
|
3663
3663
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
3664
3664
|
};
|
|
3665
3665
|
|
|
3666
3666
|
|
|
3667
3667
|
/**
|
|
3668
3668
|
* @param {number} value
|
|
3669
|
-
* @return {!proto.
|
|
3669
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3670
3670
|
*/
|
|
3671
|
-
proto.
|
|
3671
|
+
proto.Drumtracker.DrumProto.prototype.setLatitude = function(value) {
|
|
3672
3672
|
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
3673
3673
|
};
|
|
3674
3674
|
|
|
@@ -3677,16 +3677,16 @@ proto.Drumtracking.DrumProto.prototype.setLatitude = function(value) {
|
|
|
3677
3677
|
* optional double longitude = 9;
|
|
3678
3678
|
* @return {number}
|
|
3679
3679
|
*/
|
|
3680
|
-
proto.
|
|
3680
|
+
proto.Drumtracker.DrumProto.prototype.getLongitude = function() {
|
|
3681
3681
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
3682
3682
|
};
|
|
3683
3683
|
|
|
3684
3684
|
|
|
3685
3685
|
/**
|
|
3686
3686
|
* @param {number} value
|
|
3687
|
-
* @return {!proto.
|
|
3687
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3688
3688
|
*/
|
|
3689
|
-
proto.
|
|
3689
|
+
proto.Drumtracker.DrumProto.prototype.setLongitude = function(value) {
|
|
3690
3690
|
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
3691
3691
|
};
|
|
3692
3692
|
|
|
@@ -3695,16 +3695,16 @@ proto.Drumtracking.DrumProto.prototype.setLongitude = function(value) {
|
|
|
3695
3695
|
* optional int32 temperature = 10;
|
|
3696
3696
|
* @return {number}
|
|
3697
3697
|
*/
|
|
3698
|
-
proto.
|
|
3698
|
+
proto.Drumtracker.DrumProto.prototype.getTemperature = function() {
|
|
3699
3699
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
3700
3700
|
};
|
|
3701
3701
|
|
|
3702
3702
|
|
|
3703
3703
|
/**
|
|
3704
3704
|
* @param {number} value
|
|
3705
|
-
* @return {!proto.
|
|
3705
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3706
3706
|
*/
|
|
3707
|
-
proto.
|
|
3707
|
+
proto.Drumtracker.DrumProto.prototype.setTemperature = function(value) {
|
|
3708
3708
|
return jspb.Message.setProto3IntField(this, 10, value);
|
|
3709
3709
|
};
|
|
3710
3710
|
|
|
@@ -3713,7 +3713,7 @@ proto.Drumtracking.DrumProto.prototype.setTemperature = function(value) {
|
|
|
3713
3713
|
* optional google.protobuf.Timestamp last_update = 11;
|
|
3714
3714
|
* @return {?proto.google.protobuf.Timestamp}
|
|
3715
3715
|
*/
|
|
3716
|
-
proto.
|
|
3716
|
+
proto.Drumtracker.DrumProto.prototype.getLastUpdate = function() {
|
|
3717
3717
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3718
3718
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
3719
3719
|
};
|
|
@@ -3721,18 +3721,18 @@ proto.Drumtracking.DrumProto.prototype.getLastUpdate = function() {
|
|
|
3721
3721
|
|
|
3722
3722
|
/**
|
|
3723
3723
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
3724
|
-
* @return {!proto.
|
|
3724
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3725
3725
|
*/
|
|
3726
|
-
proto.
|
|
3726
|
+
proto.Drumtracker.DrumProto.prototype.setLastUpdate = function(value) {
|
|
3727
3727
|
return jspb.Message.setWrapperField(this, 11, value);
|
|
3728
3728
|
};
|
|
3729
3729
|
|
|
3730
3730
|
|
|
3731
3731
|
/**
|
|
3732
3732
|
* Clears the message field making it undefined.
|
|
3733
|
-
* @return {!proto.
|
|
3733
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3734
3734
|
*/
|
|
3735
|
-
proto.
|
|
3735
|
+
proto.Drumtracker.DrumProto.prototype.clearLastUpdate = function() {
|
|
3736
3736
|
return this.setLastUpdate(undefined);
|
|
3737
3737
|
};
|
|
3738
3738
|
|
|
@@ -3741,7 +3741,7 @@ proto.Drumtracking.DrumProto.prototype.clearLastUpdate = function() {
|
|
|
3741
3741
|
* Returns whether this field is set.
|
|
3742
3742
|
* @return {boolean}
|
|
3743
3743
|
*/
|
|
3744
|
-
proto.
|
|
3744
|
+
proto.Drumtracker.DrumProto.prototype.hasLastUpdate = function() {
|
|
3745
3745
|
return jspb.Message.getField(this, 11) != null;
|
|
3746
3746
|
};
|
|
3747
3747
|
|
|
@@ -3750,16 +3750,16 @@ proto.Drumtracking.DrumProto.prototype.hasLastUpdate = function() {
|
|
|
3750
3750
|
* optional string sales_reference = 12;
|
|
3751
3751
|
* @return {string}
|
|
3752
3752
|
*/
|
|
3753
|
-
proto.
|
|
3753
|
+
proto.Drumtracker.DrumProto.prototype.getSalesReference = function() {
|
|
3754
3754
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3755
3755
|
};
|
|
3756
3756
|
|
|
3757
3757
|
|
|
3758
3758
|
/**
|
|
3759
3759
|
* @param {string} value
|
|
3760
|
-
* @return {!proto.
|
|
3760
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3761
3761
|
*/
|
|
3762
|
-
proto.
|
|
3762
|
+
proto.Drumtracker.DrumProto.prototype.setSalesReference = function(value) {
|
|
3763
3763
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
3764
3764
|
};
|
|
3765
3765
|
|
|
@@ -3768,18 +3768,18 @@ proto.Drumtracking.DrumProto.prototype.setSalesReference = function(value) {
|
|
|
3768
3768
|
* optional string customer_reference = 13;
|
|
3769
3769
|
* @return {string}
|
|
3770
3770
|
*/
|
|
3771
|
-
proto.
|
|
3771
|
+
proto.Drumtracker.DrumProto.prototype.getCustomerReference = function() {
|
|
3772
3772
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
3773
3773
|
};
|
|
3774
3774
|
|
|
3775
3775
|
|
|
3776
3776
|
/**
|
|
3777
3777
|
* @param {string} value
|
|
3778
|
-
* @return {!proto.
|
|
3778
|
+
* @return {!proto.Drumtracker.DrumProto} returns this
|
|
3779
3779
|
*/
|
|
3780
|
-
proto.
|
|
3780
|
+
proto.Drumtracker.DrumProto.prototype.setCustomerReference = function(value) {
|
|
3781
3781
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
3782
3782
|
};
|
|
3783
3783
|
|
|
3784
3784
|
|
|
3785
|
-
goog.object.extend(exports, proto.
|
|
3785
|
+
goog.object.extend(exports, proto.Drumtracker);
|