@aceplus/smartace-api 2.1.0-drumtracker.7 → 2.1.0-drumtracker.9

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.
Files changed (217) hide show
  1. package/package.json +1 -1
  2. package/auth.account_events_pb.d.ts +0 -5
  3. package/auth.account_events_pb.js +0 -23
  4. package/auth.account_events_pb_service.d.ts +0 -3
  5. package/auth.account_events_pb_service.js +0 -3
  6. package/auth.account_pb.d.ts +0 -525
  7. package/auth.account_pb.js +0 -3983
  8. package/auth.account_pb_service.d.ts +0 -454
  9. package/auth.account_pb_service.js +0 -877
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -85
  23. package/auth.authn_pb.js +0 -625
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -277
  35. package/auth.email_pb.js +0 -1960
  36. package/auth.email_pb_service.d.ts +0 -121
  37. package/auth.email_pb_service.js +0 -182
  38. package/auth.push_notification_pb.d.ts +0 -187
  39. package/auth.push_notification_pb.js +0 -1289
  40. package/auth.push_notification_pb_service.d.ts +0 -121
  41. package/auth.push_notification_pb_service.js +0 -182
  42. package/auth.sms_pb.d.ts +0 -79
  43. package/auth.sms_pb.js +0 -575
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/drumtracker.drum_pb.d.ts +0 -499
  47. package/drumtracker.drum_pb.js +0 -3785
  48. package/drumtracker.drum_pb_service.d.ts +0 -158
  49. package/drumtracker.drum_pb_service.js +0 -261
  50. package/drumtracker.tracker_pb.d.ts +0 -244
  51. package/drumtracker.tracker_pb.js +0 -1864
  52. package/drumtracker.tracker_pb_service.d.ts +0 -139
  53. package/drumtracker.tracker_pb_service.js +0 -221
  54. package/google/api/annotations_pb.d.ts +0 -9
  55. package/google/api/annotations_pb.js +0 -54
  56. package/google/api/annotations_pb_service.d.ts +0 -3
  57. package/google/api/annotations_pb_service.js +0 -3
  58. package/google/api/auth_pb.d.ts +0 -150
  59. package/google/api/auth_pb.js +0 -1160
  60. package/google/api/auth_pb_service.d.ts +0 -3
  61. package/google/api/auth_pb_service.js +0 -3
  62. package/google/api/backend_pb.d.ts +0 -59
  63. package/google/api/backend_pb.js +0 -448
  64. package/google/api/backend_pb_service.d.ts +0 -3
  65. package/google/api/backend_pb_service.js +0 -3
  66. package/google/api/billing_pb.d.ts +0 -54
  67. package/google/api/billing_pb.js +0 -416
  68. package/google/api/billing_pb_service.d.ts +0 -3
  69. package/google/api/billing_pb_service.js +0 -3
  70. package/google/api/client_pb.d.ts +0 -12
  71. package/google/api/client_pb.js +0 -104
  72. package/google/api/client_pb_service.d.ts +0 -3
  73. package/google/api/client_pb_service.js +0 -3
  74. package/google/api/config_change_pb.d.ts +0 -72
  75. package/google/api/config_change_pb.js +0 -489
  76. package/google/api/config_change_pb_service.d.ts +0 -3
  77. package/google/api/config_change_pb_service.js +0 -3
  78. package/google/api/consumer_pb.d.ts +0 -65
  79. package/google/api/consumer_pb.js +0 -430
  80. package/google/api/consumer_pb_service.d.ts +0 -3
  81. package/google/api/consumer_pb_service.js +0 -3
  82. package/google/api/context_pb.d.ts +0 -59
  83. package/google/api/context_pb.js +0 -463
  84. package/google/api/context_pb_service.d.ts +0 -3
  85. package/google/api/context_pb_service.js +0 -3
  86. package/google/api/control_pb.d.ts +0 -25
  87. package/google/api/control_pb.js +0 -176
  88. package/google/api/control_pb_service.d.ts +0 -3
  89. package/google/api/control_pb_service.js +0 -3
  90. package/google/api/distribution_pb.d.ts +0 -235
  91. package/google/api/distribution_pb.js +0 -1805
  92. package/google/api/distribution_pb_service.d.ts +0 -3
  93. package/google/api/distribution_pb_service.js +0 -3
  94. package/google/api/documentation_pb.d.ts +0 -103
  95. package/google/api/documentation_pb.js +0 -803
  96. package/google/api/documentation_pb_service.d.ts +0 -3
  97. package/google/api/documentation_pb_service.js +0 -3
  98. package/google/api/endpoint_pb.d.ts +0 -46
  99. package/google/api/endpoint_pb.js +0 -343
  100. package/google/api/endpoint_pb_service.d.ts +0 -3
  101. package/google/api/endpoint_pb_service.js +0 -3
  102. package/google/api/error_reason_pb.d.ts +0 -40
  103. package/google/api/error_reason_pb.js +0 -61
  104. package/google/api/error_reason_pb_service.d.ts +0 -3
  105. package/google/api/error_reason_pb_service.js +0 -3
  106. package/google/api/field_behavior_pb.d.ts +0 -20
  107. package/google/api/field_behavior_pb.js +0 -66
  108. package/google/api/field_behavior_pb_service.d.ts +0 -3
  109. package/google/api/field_behavior_pb_service.js +0 -3
  110. package/google/api/http_pb.d.ts +0 -136
  111. package/google/api/http_pb.js +0 -1012
  112. package/google/api/http_pb_service.d.ts +0 -3
  113. package/google/api/http_pb_service.js +0 -3
  114. package/google/api/httpbody_pb.d.ts +0 -38
  115. package/google/api/httpbody_pb.js +0 -292
  116. package/google/api/httpbody_pb_service.d.ts +0 -3
  117. package/google/api/httpbody_pb_service.js +0 -3
  118. package/google/api/label_pb.d.ts +0 -41
  119. package/google/api/label_pb.js +0 -246
  120. package/google/api/label_pb_service.d.ts +0 -3
  121. package/google/api/label_pb_service.js +0 -3
  122. package/google/api/launch_stage_pb.d.ts +0 -16
  123. package/google/api/launch_stage_pb.js +0 -37
  124. package/google/api/launch_stage_pb_service.d.ts +0 -3
  125. package/google/api/launch_stage_pb_service.js +0 -3
  126. package/google/api/log_pb.d.ts +0 -40
  127. package/google/api/log_pb.js +0 -298
  128. package/google/api/log_pb_service.d.ts +0 -3
  129. package/google/api/log_pb_service.js +0 -3
  130. package/google/api/logging_pb.d.ts +0 -60
  131. package/google/api/logging_pb.js +0 -469
  132. package/google/api/logging_pb_service.d.ts +0 -3
  133. package/google/api/logging_pb_service.js +0 -3
  134. package/google/api/metric_pb.d.ts +0 -100
  135. package/google/api/metric_pb.js +0 -629
  136. package/google/api/metric_pb_service.d.ts +0 -3
  137. package/google/api/metric_pb_service.js +0 -3
  138. package/google/api/monitored_resource_pb.d.ts +0 -93
  139. package/google/api/monitored_resource_pb.js +0 -723
  140. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  141. package/google/api/monitored_resource_pb_service.js +0 -3
  142. package/google/api/monitoring_pb.d.ts +0 -60
  143. package/google/api/monitoring_pb.js +0 -469
  144. package/google/api/monitoring_pb_service.d.ts +0 -3
  145. package/google/api/monitoring_pb_service.js +0 -3
  146. package/google/api/policy_pb.d.ts +0 -64
  147. package/google/api/policy_pb.js +0 -502
  148. package/google/api/policy_pb_service.d.ts +0 -3
  149. package/google/api/policy_pb_service.js +0 -3
  150. package/google/api/quota_pb.d.ts +0 -112
  151. package/google/api/quota_pb.js +0 -873
  152. package/google/api/quota_pb_service.d.ts +0 -3
  153. package/google/api/quota_pb_service.js +0 -3
  154. package/google/api/resource_pb.d.ts +0 -99
  155. package/google/api/resource_pb.js +0 -684
  156. package/google/api/resource_pb_service.d.ts +0 -3
  157. package/google/api/resource_pb_service.js +0 -3
  158. package/google/api/routing_pb.d.ts +0 -54
  159. package/google/api/routing_pb.js +0 -416
  160. package/google/api/routing_pb_service.d.ts +0 -3
  161. package/google/api/routing_pb_service.js +0 -3
  162. package/google/api/service_pb.d.ts +0 -184
  163. package/google/api/service_pb.js +0 -1400
  164. package/google/api/service_pb_service.d.ts +0 -3
  165. package/google/api/service_pb_service.js +0 -3
  166. package/google/api/source_info_pb.d.ts +0 -28
  167. package/google/api/source_info_pb.js +0 -208
  168. package/google/api/source_info_pb_service.d.ts +0 -3
  169. package/google/api/source_info_pb_service.js +0 -3
  170. package/google/api/system_parameter_pb.d.ts +0 -81
  171. package/google/api/system_parameter_pb.js +0 -630
  172. package/google/api/system_parameter_pb_service.d.ts +0 -3
  173. package/google/api/system_parameter_pb_service.js +0 -3
  174. package/google/api/usage_pb.d.ts +0 -66
  175. package/google/api/usage_pb.js +0 -499
  176. package/google/api/usage_pb_service.d.ts +0 -3
  177. package/google/api/usage_pb_service.js +0 -3
  178. package/google/api/visibility_pb.d.ts +0 -64
  179. package/google/api/visibility_pb.js +0 -546
  180. package/google/api/visibility_pb_service.d.ts +0 -3
  181. package/google/api/visibility_pb_service.js +0 -3
  182. package/platform.activity_log_pb.d.ts +0 -177
  183. package/platform.activity_log_pb.js +0 -1294
  184. package/platform.activity_log_pb_service.d.ts +0 -82
  185. package/platform.activity_log_pb_service.js +0 -101
  186. package/platform.client_pb.d.ts +0 -316
  187. package/platform.client_pb.js +0 -2399
  188. package/platform.client_pb_service.d.ts +0 -158
  189. package/platform.client_pb_service.js +0 -261
  190. package/platform.group_pb.d.ts +0 -195
  191. package/platform.group_pb.js +0 -1476
  192. package/platform.group_pb_service.d.ts +0 -139
  193. package/platform.group_pb_service.js +0 -221
  194. package/platform.local_account_pb.d.ts +0 -392
  195. package/platform.local_account_pb.js +0 -2962
  196. package/platform.local_account_pb_service.d.ts +0 -350
  197. package/platform.local_account_pb_service.js +0 -663
  198. package/platform.local_distribution_pb.d.ts +0 -69
  199. package/platform.local_distribution_pb.js +0 -506
  200. package/platform.local_distribution_pb_service.d.ts +0 -63
  201. package/platform.local_distribution_pb_service.js +0 -61
  202. package/platform.location_pb.d.ts +0 -271
  203. package/platform.location_pb.js +0 -2046
  204. package/platform.location_pb_service.d.ts +0 -139
  205. package/platform.location_pb_service.js +0 -221
  206. package/platform.pagination_pb.d.ts +0 -37
  207. package/platform.pagination_pb.js +0 -266
  208. package/platform.pagination_pb_service.d.ts +0 -3
  209. package/platform.pagination_pb_service.js +0 -3
  210. package/spic.cabinet_pb.d.ts +0 -1304
  211. package/spic.cabinet_pb.js +0 -9727
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.contractor_pb.d.ts +0 -195
  215. package/spic.contractor_pb.js +0 -1476
  216. package/spic.contractor_pb_service.d.ts +0 -139
  217. package/spic.contractor_pb_service.js +0 -221
@@ -1,1864 +0,0 @@
1
- // source: drumtracker.tracker.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
- goog.object.extend(proto, google_protobuf_timestamp_pb);
26
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
- goog.object.extend(proto, google_api_annotations_pb);
28
- var platform_pagination_pb = require('./platform.pagination_pb.js');
29
- goog.object.extend(proto, platform_pagination_pb);
30
- goog.exportSymbol('proto.Drumtracker.TrackerProto', null, global);
31
- goog.exportSymbol('proto.Drumtracker.TrackerProto.CreateRequest', null, global);
32
- goog.exportSymbol('proto.Drumtracker.TrackerProto.DeleteReply', null, global);
33
- goog.exportSymbol('proto.Drumtracker.TrackerProto.DeleteRequest', null, global);
34
- goog.exportSymbol('proto.Drumtracker.TrackerProto.RetrieveRequest', null, global);
35
- goog.exportSymbol('proto.Drumtracker.TrackerProto.SearchReply', null, global);
36
- goog.exportSymbol('proto.Drumtracker.TrackerProto.SearchRequest', null, global);
37
- goog.exportSymbol('proto.Drumtracker.TrackerProto.TrackerFilters', null, global);
38
- goog.exportSymbol('proto.Drumtracker.TrackerProto.UpdateRequest', null, global);
39
- /**
40
- * Generated by JsPbCodeGenerator.
41
- * @param {Array=} opt_data Optional initial data array, typically from a
42
- * server response, or constructed directly in Javascript. The array is used
43
- * in place and becomes part of the constructed object. It is not cloned.
44
- * If no data is provided, the constructed object will be empty, but still
45
- * valid.
46
- * @extends {jspb.Message}
47
- * @constructor
48
- */
49
- proto.Drumtracker.TrackerProto = function(opt_data) {
50
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
51
- };
52
- goog.inherits(proto.Drumtracker.TrackerProto, jspb.Message);
53
- if (goog.DEBUG && !COMPILED) {
54
- /**
55
- * @public
56
- * @override
57
- */
58
- proto.Drumtracker.TrackerProto.displayName = 'proto.Drumtracker.TrackerProto';
59
- }
60
- /**
61
- * Generated by JsPbCodeGenerator.
62
- * @param {Array=} opt_data Optional initial data array, typically from a
63
- * server response, or constructed directly in Javascript. The array is used
64
- * in place and becomes part of the constructed object. It is not cloned.
65
- * If no data is provided, the constructed object will be empty, but still
66
- * valid.
67
- * @extends {jspb.Message}
68
- * @constructor
69
- */
70
- proto.Drumtracker.TrackerProto.CreateRequest = function(opt_data) {
71
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
72
- };
73
- goog.inherits(proto.Drumtracker.TrackerProto.CreateRequest, jspb.Message);
74
- if (goog.DEBUG && !COMPILED) {
75
- /**
76
- * @public
77
- * @override
78
- */
79
- proto.Drumtracker.TrackerProto.CreateRequest.displayName = 'proto.Drumtracker.TrackerProto.CreateRequest';
80
- }
81
- /**
82
- * Generated by JsPbCodeGenerator.
83
- * @param {Array=} opt_data Optional initial data array, typically from a
84
- * server response, or constructed directly in Javascript. The array is used
85
- * in place and becomes part of the constructed object. It is not cloned.
86
- * If no data is provided, the constructed object will be empty, but still
87
- * valid.
88
- * @extends {jspb.Message}
89
- * @constructor
90
- */
91
- proto.Drumtracker.TrackerProto.RetrieveRequest = function(opt_data) {
92
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
93
- };
94
- goog.inherits(proto.Drumtracker.TrackerProto.RetrieveRequest, jspb.Message);
95
- if (goog.DEBUG && !COMPILED) {
96
- /**
97
- * @public
98
- * @override
99
- */
100
- proto.Drumtracker.TrackerProto.RetrieveRequest.displayName = 'proto.Drumtracker.TrackerProto.RetrieveRequest';
101
- }
102
- /**
103
- * Generated by JsPbCodeGenerator.
104
- * @param {Array=} opt_data Optional initial data array, typically from a
105
- * server response, or constructed directly in Javascript. The array is used
106
- * in place and becomes part of the constructed object. It is not cloned.
107
- * If no data is provided, the constructed object will be empty, but still
108
- * valid.
109
- * @extends {jspb.Message}
110
- * @constructor
111
- */
112
- proto.Drumtracker.TrackerProto.UpdateRequest = function(opt_data) {
113
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
114
- };
115
- goog.inherits(proto.Drumtracker.TrackerProto.UpdateRequest, jspb.Message);
116
- if (goog.DEBUG && !COMPILED) {
117
- /**
118
- * @public
119
- * @override
120
- */
121
- proto.Drumtracker.TrackerProto.UpdateRequest.displayName = 'proto.Drumtracker.TrackerProto.UpdateRequest';
122
- }
123
- /**
124
- * Generated by JsPbCodeGenerator.
125
- * @param {Array=} opt_data Optional initial data array, typically from a
126
- * server response, or constructed directly in Javascript. The array is used
127
- * in place and becomes part of the constructed object. It is not cloned.
128
- * If no data is provided, the constructed object will be empty, but still
129
- * valid.
130
- * @extends {jspb.Message}
131
- * @constructor
132
- */
133
- proto.Drumtracker.TrackerProto.DeleteRequest = function(opt_data) {
134
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
135
- };
136
- goog.inherits(proto.Drumtracker.TrackerProto.DeleteRequest, jspb.Message);
137
- if (goog.DEBUG && !COMPILED) {
138
- /**
139
- * @public
140
- * @override
141
- */
142
- proto.Drumtracker.TrackerProto.DeleteRequest.displayName = 'proto.Drumtracker.TrackerProto.DeleteRequest';
143
- }
144
- /**
145
- * Generated by JsPbCodeGenerator.
146
- * @param {Array=} opt_data Optional initial data array, typically from a
147
- * server response, or constructed directly in Javascript. The array is used
148
- * in place and becomes part of the constructed object. It is not cloned.
149
- * If no data is provided, the constructed object will be empty, but still
150
- * valid.
151
- * @extends {jspb.Message}
152
- * @constructor
153
- */
154
- proto.Drumtracker.TrackerProto.DeleteReply = function(opt_data) {
155
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
156
- };
157
- goog.inherits(proto.Drumtracker.TrackerProto.DeleteReply, jspb.Message);
158
- if (goog.DEBUG && !COMPILED) {
159
- /**
160
- * @public
161
- * @override
162
- */
163
- proto.Drumtracker.TrackerProto.DeleteReply.displayName = 'proto.Drumtracker.TrackerProto.DeleteReply';
164
- }
165
- /**
166
- * Generated by JsPbCodeGenerator.
167
- * @param {Array=} opt_data Optional initial data array, typically from a
168
- * server response, or constructed directly in Javascript. The array is used
169
- * in place and becomes part of the constructed object. It is not cloned.
170
- * If no data is provided, the constructed object will be empty, but still
171
- * valid.
172
- * @extends {jspb.Message}
173
- * @constructor
174
- */
175
- proto.Drumtracker.TrackerProto.SearchRequest = function(opt_data) {
176
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
177
- };
178
- goog.inherits(proto.Drumtracker.TrackerProto.SearchRequest, jspb.Message);
179
- if (goog.DEBUG && !COMPILED) {
180
- /**
181
- * @public
182
- * @override
183
- */
184
- proto.Drumtracker.TrackerProto.SearchRequest.displayName = 'proto.Drumtracker.TrackerProto.SearchRequest';
185
- }
186
- /**
187
- * Generated by JsPbCodeGenerator.
188
- * @param {Array=} opt_data Optional initial data array, typically from a
189
- * server response, or constructed directly in Javascript. The array is used
190
- * in place and becomes part of the constructed object. It is not cloned.
191
- * If no data is provided, the constructed object will be empty, but still
192
- * valid.
193
- * @extends {jspb.Message}
194
- * @constructor
195
- */
196
- proto.Drumtracker.TrackerProto.SearchReply = function(opt_data) {
197
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Drumtracker.TrackerProto.SearchReply.repeatedFields_, null);
198
- };
199
- goog.inherits(proto.Drumtracker.TrackerProto.SearchReply, jspb.Message);
200
- if (goog.DEBUG && !COMPILED) {
201
- /**
202
- * @public
203
- * @override
204
- */
205
- proto.Drumtracker.TrackerProto.SearchReply.displayName = 'proto.Drumtracker.TrackerProto.SearchReply';
206
- }
207
- /**
208
- * Generated by JsPbCodeGenerator.
209
- * @param {Array=} opt_data Optional initial data array, typically from a
210
- * server response, or constructed directly in Javascript. The array is used
211
- * in place and becomes part of the constructed object. It is not cloned.
212
- * If no data is provided, the constructed object will be empty, but still
213
- * valid.
214
- * @extends {jspb.Message}
215
- * @constructor
216
- */
217
- proto.Drumtracker.TrackerProto.TrackerFilters = function(opt_data) {
218
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
219
- };
220
- goog.inherits(proto.Drumtracker.TrackerProto.TrackerFilters, jspb.Message);
221
- if (goog.DEBUG && !COMPILED) {
222
- /**
223
- * @public
224
- * @override
225
- */
226
- proto.Drumtracker.TrackerProto.TrackerFilters.displayName = 'proto.Drumtracker.TrackerProto.TrackerFilters';
227
- }
228
-
229
-
230
-
231
- if (jspb.Message.GENERATE_TO_OBJECT) {
232
- /**
233
- * Creates an object representation of this proto.
234
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
235
- * Optional fields that are not set will be set to undefined.
236
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
237
- * For the list of reserved names please see:
238
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
239
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
240
- * JSPB instance for transitional soy proto support:
241
- * http://goto/soy-param-migration
242
- * @return {!Object}
243
- */
244
- proto.Drumtracker.TrackerProto.prototype.toObject = function(opt_includeInstance) {
245
- return proto.Drumtracker.TrackerProto.toObject(opt_includeInstance, this);
246
- };
247
-
248
-
249
- /**
250
- * Static version of the {@see toObject} method.
251
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
252
- * the JSPB instance for transitional soy proto support:
253
- * http://goto/soy-param-migration
254
- * @param {!proto.Drumtracker.TrackerProto} msg The msg instance to transform.
255
- * @return {!Object}
256
- * @suppress {unusedLocalVariables} f is only used for nested messages
257
- */
258
- proto.Drumtracker.TrackerProto.toObject = function(includeInstance, msg) {
259
- var f, obj = {
260
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
261
- batteryVoltage: jspb.Message.getFieldWithDefault(msg, 2, 0),
262
- lastUpdate: (f = msg.getLastUpdate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
263
- activationDate: (f = msg.getActivationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
264
- rotations: jspb.Message.getFieldWithDefault(msg, 5, 0),
265
- deactivated: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
266
- deactivationReason: jspb.Message.getFieldWithDefault(msg, 7, ""),
267
- deactivationDate: (f = msg.getDeactivationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
268
- drumNumber: jspb.Message.getFieldWithDefault(msg, 9, 0)
269
- };
270
-
271
- if (includeInstance) {
272
- obj.$jspbMessageInstance = msg;
273
- }
274
- return obj;
275
- };
276
- }
277
-
278
-
279
- /**
280
- * Deserializes binary data (in protobuf wire format).
281
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
282
- * @return {!proto.Drumtracker.TrackerProto}
283
- */
284
- proto.Drumtracker.TrackerProto.deserializeBinary = function(bytes) {
285
- var reader = new jspb.BinaryReader(bytes);
286
- var msg = new proto.Drumtracker.TrackerProto;
287
- return proto.Drumtracker.TrackerProto.deserializeBinaryFromReader(msg, reader);
288
- };
289
-
290
-
291
- /**
292
- * Deserializes binary data (in protobuf wire format) from the
293
- * given reader into the given message object.
294
- * @param {!proto.Drumtracker.TrackerProto} msg The message object to deserialize into.
295
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
296
- * @return {!proto.Drumtracker.TrackerProto}
297
- */
298
- proto.Drumtracker.TrackerProto.deserializeBinaryFromReader = function(msg, reader) {
299
- while (reader.nextField()) {
300
- if (reader.isEndGroup()) {
301
- break;
302
- }
303
- var field = reader.getFieldNumber();
304
- switch (field) {
305
- case 1:
306
- var value = /** @type {number} */ (reader.readInt64());
307
- msg.setId(value);
308
- break;
309
- case 2:
310
- var value = /** @type {number} */ (reader.readInt32());
311
- msg.setBatteryVoltage(value);
312
- break;
313
- case 3:
314
- var value = new google_protobuf_timestamp_pb.Timestamp;
315
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
316
- msg.setLastUpdate(value);
317
- break;
318
- case 4:
319
- var value = new google_protobuf_timestamp_pb.Timestamp;
320
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
321
- msg.setActivationDate(value);
322
- break;
323
- case 5:
324
- var value = /** @type {number} */ (reader.readInt32());
325
- msg.setRotations(value);
326
- break;
327
- case 6:
328
- var value = /** @type {boolean} */ (reader.readBool());
329
- msg.setDeactivated(value);
330
- break;
331
- case 7:
332
- var value = /** @type {string} */ (reader.readString());
333
- msg.setDeactivationReason(value);
334
- break;
335
- case 8:
336
- var value = new google_protobuf_timestamp_pb.Timestamp;
337
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
338
- msg.setDeactivationDate(value);
339
- break;
340
- case 9:
341
- var value = /** @type {number} */ (reader.readInt64());
342
- msg.setDrumNumber(value);
343
- break;
344
- default:
345
- reader.skipField();
346
- break;
347
- }
348
- }
349
- return msg;
350
- };
351
-
352
-
353
- /**
354
- * Serializes the message to binary data (in protobuf wire format).
355
- * @return {!Uint8Array}
356
- */
357
- proto.Drumtracker.TrackerProto.prototype.serializeBinary = function() {
358
- var writer = new jspb.BinaryWriter();
359
- proto.Drumtracker.TrackerProto.serializeBinaryToWriter(this, writer);
360
- return writer.getResultBuffer();
361
- };
362
-
363
-
364
- /**
365
- * Serializes the given message to binary data (in protobuf wire
366
- * format), writing to the given BinaryWriter.
367
- * @param {!proto.Drumtracker.TrackerProto} message
368
- * @param {!jspb.BinaryWriter} writer
369
- * @suppress {unusedLocalVariables} f is only used for nested messages
370
- */
371
- proto.Drumtracker.TrackerProto.serializeBinaryToWriter = function(message, writer) {
372
- var f = undefined;
373
- f = message.getId();
374
- if (f !== 0) {
375
- writer.writeInt64(
376
- 1,
377
- f
378
- );
379
- }
380
- f = message.getBatteryVoltage();
381
- if (f !== 0) {
382
- writer.writeInt32(
383
- 2,
384
- f
385
- );
386
- }
387
- f = message.getLastUpdate();
388
- if (f != null) {
389
- writer.writeMessage(
390
- 3,
391
- f,
392
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
393
- );
394
- }
395
- f = message.getActivationDate();
396
- if (f != null) {
397
- writer.writeMessage(
398
- 4,
399
- f,
400
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
401
- );
402
- }
403
- f = message.getRotations();
404
- if (f !== 0) {
405
- writer.writeInt32(
406
- 5,
407
- f
408
- );
409
- }
410
- f = message.getDeactivated();
411
- if (f) {
412
- writer.writeBool(
413
- 6,
414
- f
415
- );
416
- }
417
- f = message.getDeactivationReason();
418
- if (f.length > 0) {
419
- writer.writeString(
420
- 7,
421
- f
422
- );
423
- }
424
- f = message.getDeactivationDate();
425
- if (f != null) {
426
- writer.writeMessage(
427
- 8,
428
- f,
429
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
430
- );
431
- }
432
- f = message.getDrumNumber();
433
- if (f !== 0) {
434
- writer.writeInt64(
435
- 9,
436
- f
437
- );
438
- }
439
- };
440
-
441
-
442
-
443
-
444
-
445
- if (jspb.Message.GENERATE_TO_OBJECT) {
446
- /**
447
- * Creates an object representation of this proto.
448
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
449
- * Optional fields that are not set will be set to undefined.
450
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
451
- * For the list of reserved names please see:
452
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
453
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
454
- * JSPB instance for transitional soy proto support:
455
- * http://goto/soy-param-migration
456
- * @return {!Object}
457
- */
458
- proto.Drumtracker.TrackerProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
459
- return proto.Drumtracker.TrackerProto.CreateRequest.toObject(opt_includeInstance, this);
460
- };
461
-
462
-
463
- /**
464
- * Static version of the {@see toObject} method.
465
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
466
- * the JSPB instance for transitional soy proto support:
467
- * http://goto/soy-param-migration
468
- * @param {!proto.Drumtracker.TrackerProto.CreateRequest} msg The msg instance to transform.
469
- * @return {!Object}
470
- * @suppress {unusedLocalVariables} f is only used for nested messages
471
- */
472
- proto.Drumtracker.TrackerProto.CreateRequest.toObject = function(includeInstance, msg) {
473
- var f, obj = {
474
- drumNumber: jspb.Message.getFieldWithDefault(msg, 1, 0)
475
- };
476
-
477
- if (includeInstance) {
478
- obj.$jspbMessageInstance = msg;
479
- }
480
- return obj;
481
- };
482
- }
483
-
484
-
485
- /**
486
- * Deserializes binary data (in protobuf wire format).
487
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
488
- * @return {!proto.Drumtracker.TrackerProto.CreateRequest}
489
- */
490
- proto.Drumtracker.TrackerProto.CreateRequest.deserializeBinary = function(bytes) {
491
- var reader = new jspb.BinaryReader(bytes);
492
- var msg = new proto.Drumtracker.TrackerProto.CreateRequest;
493
- return proto.Drumtracker.TrackerProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
494
- };
495
-
496
-
497
- /**
498
- * Deserializes binary data (in protobuf wire format) from the
499
- * given reader into the given message object.
500
- * @param {!proto.Drumtracker.TrackerProto.CreateRequest} msg The message object to deserialize into.
501
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
502
- * @return {!proto.Drumtracker.TrackerProto.CreateRequest}
503
- */
504
- proto.Drumtracker.TrackerProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
505
- while (reader.nextField()) {
506
- if (reader.isEndGroup()) {
507
- break;
508
- }
509
- var field = reader.getFieldNumber();
510
- switch (field) {
511
- case 1:
512
- var value = /** @type {number} */ (reader.readInt64());
513
- msg.setDrumNumber(value);
514
- break;
515
- default:
516
- reader.skipField();
517
- break;
518
- }
519
- }
520
- return msg;
521
- };
522
-
523
-
524
- /**
525
- * Serializes the message to binary data (in protobuf wire format).
526
- * @return {!Uint8Array}
527
- */
528
- proto.Drumtracker.TrackerProto.CreateRequest.prototype.serializeBinary = function() {
529
- var writer = new jspb.BinaryWriter();
530
- proto.Drumtracker.TrackerProto.CreateRequest.serializeBinaryToWriter(this, writer);
531
- return writer.getResultBuffer();
532
- };
533
-
534
-
535
- /**
536
- * Serializes the given message to binary data (in protobuf wire
537
- * format), writing to the given BinaryWriter.
538
- * @param {!proto.Drumtracker.TrackerProto.CreateRequest} message
539
- * @param {!jspb.BinaryWriter} writer
540
- * @suppress {unusedLocalVariables} f is only used for nested messages
541
- */
542
- proto.Drumtracker.TrackerProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
543
- var f = undefined;
544
- f = message.getDrumNumber();
545
- if (f !== 0) {
546
- writer.writeInt64(
547
- 1,
548
- f
549
- );
550
- }
551
- };
552
-
553
-
554
- /**
555
- * optional int64 drum_number = 1;
556
- * @return {number}
557
- */
558
- proto.Drumtracker.TrackerProto.CreateRequest.prototype.getDrumNumber = function() {
559
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
560
- };
561
-
562
-
563
- /**
564
- * @param {number} value
565
- * @return {!proto.Drumtracker.TrackerProto.CreateRequest} returns this
566
- */
567
- proto.Drumtracker.TrackerProto.CreateRequest.prototype.setDrumNumber = function(value) {
568
- return jspb.Message.setProto3IntField(this, 1, value);
569
- };
570
-
571
-
572
-
573
-
574
-
575
- if (jspb.Message.GENERATE_TO_OBJECT) {
576
- /**
577
- * Creates an object representation of this proto.
578
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
579
- * Optional fields that are not set will be set to undefined.
580
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
581
- * For the list of reserved names please see:
582
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
583
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
584
- * JSPB instance for transitional soy proto support:
585
- * http://goto/soy-param-migration
586
- * @return {!Object}
587
- */
588
- proto.Drumtracker.TrackerProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
589
- return proto.Drumtracker.TrackerProto.RetrieveRequest.toObject(opt_includeInstance, this);
590
- };
591
-
592
-
593
- /**
594
- * Static version of the {@see toObject} method.
595
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
596
- * the JSPB instance for transitional soy proto support:
597
- * http://goto/soy-param-migration
598
- * @param {!proto.Drumtracker.TrackerProto.RetrieveRequest} msg The msg instance to transform.
599
- * @return {!Object}
600
- * @suppress {unusedLocalVariables} f is only used for nested messages
601
- */
602
- proto.Drumtracker.TrackerProto.RetrieveRequest.toObject = function(includeInstance, msg) {
603
- var f, obj = {
604
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
605
- };
606
-
607
- if (includeInstance) {
608
- obj.$jspbMessageInstance = msg;
609
- }
610
- return obj;
611
- };
612
- }
613
-
614
-
615
- /**
616
- * Deserializes binary data (in protobuf wire format).
617
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
618
- * @return {!proto.Drumtracker.TrackerProto.RetrieveRequest}
619
- */
620
- proto.Drumtracker.TrackerProto.RetrieveRequest.deserializeBinary = function(bytes) {
621
- var reader = new jspb.BinaryReader(bytes);
622
- var msg = new proto.Drumtracker.TrackerProto.RetrieveRequest;
623
- return proto.Drumtracker.TrackerProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
624
- };
625
-
626
-
627
- /**
628
- * Deserializes binary data (in protobuf wire format) from the
629
- * given reader into the given message object.
630
- * @param {!proto.Drumtracker.TrackerProto.RetrieveRequest} msg The message object to deserialize into.
631
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
632
- * @return {!proto.Drumtracker.TrackerProto.RetrieveRequest}
633
- */
634
- proto.Drumtracker.TrackerProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
635
- while (reader.nextField()) {
636
- if (reader.isEndGroup()) {
637
- break;
638
- }
639
- var field = reader.getFieldNumber();
640
- switch (field) {
641
- case 1:
642
- var value = /** @type {number} */ (reader.readInt64());
643
- msg.setId(value);
644
- break;
645
- default:
646
- reader.skipField();
647
- break;
648
- }
649
- }
650
- return msg;
651
- };
652
-
653
-
654
- /**
655
- * Serializes the message to binary data (in protobuf wire format).
656
- * @return {!Uint8Array}
657
- */
658
- proto.Drumtracker.TrackerProto.RetrieveRequest.prototype.serializeBinary = function() {
659
- var writer = new jspb.BinaryWriter();
660
- proto.Drumtracker.TrackerProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
661
- return writer.getResultBuffer();
662
- };
663
-
664
-
665
- /**
666
- * Serializes the given message to binary data (in protobuf wire
667
- * format), writing to the given BinaryWriter.
668
- * @param {!proto.Drumtracker.TrackerProto.RetrieveRequest} message
669
- * @param {!jspb.BinaryWriter} writer
670
- * @suppress {unusedLocalVariables} f is only used for nested messages
671
- */
672
- proto.Drumtracker.TrackerProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
673
- var f = undefined;
674
- f = message.getId();
675
- if (f !== 0) {
676
- writer.writeInt64(
677
- 1,
678
- f
679
- );
680
- }
681
- };
682
-
683
-
684
- /**
685
- * optional int64 id = 1;
686
- * @return {number}
687
- */
688
- proto.Drumtracker.TrackerProto.RetrieveRequest.prototype.getId = function() {
689
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
690
- };
691
-
692
-
693
- /**
694
- * @param {number} value
695
- * @return {!proto.Drumtracker.TrackerProto.RetrieveRequest} returns this
696
- */
697
- proto.Drumtracker.TrackerProto.RetrieveRequest.prototype.setId = function(value) {
698
- return jspb.Message.setProto3IntField(this, 1, value);
699
- };
700
-
701
-
702
-
703
-
704
-
705
- if (jspb.Message.GENERATE_TO_OBJECT) {
706
- /**
707
- * Creates an object representation of this proto.
708
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
709
- * Optional fields that are not set will be set to undefined.
710
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
711
- * For the list of reserved names please see:
712
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
713
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
714
- * JSPB instance for transitional soy proto support:
715
- * http://goto/soy-param-migration
716
- * @return {!Object}
717
- */
718
- proto.Drumtracker.TrackerProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
719
- return proto.Drumtracker.TrackerProto.UpdateRequest.toObject(opt_includeInstance, this);
720
- };
721
-
722
-
723
- /**
724
- * Static version of the {@see toObject} method.
725
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
726
- * the JSPB instance for transitional soy proto support:
727
- * http://goto/soy-param-migration
728
- * @param {!proto.Drumtracker.TrackerProto.UpdateRequest} msg The msg instance to transform.
729
- * @return {!Object}
730
- * @suppress {unusedLocalVariables} f is only used for nested messages
731
- */
732
- proto.Drumtracker.TrackerProto.UpdateRequest.toObject = function(includeInstance, msg) {
733
- var f, obj = {
734
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
735
- drumNumber: jspb.Message.getFieldWithDefault(msg, 2, 0)
736
- };
737
-
738
- if (includeInstance) {
739
- obj.$jspbMessageInstance = msg;
740
- }
741
- return obj;
742
- };
743
- }
744
-
745
-
746
- /**
747
- * Deserializes binary data (in protobuf wire format).
748
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
749
- * @return {!proto.Drumtracker.TrackerProto.UpdateRequest}
750
- */
751
- proto.Drumtracker.TrackerProto.UpdateRequest.deserializeBinary = function(bytes) {
752
- var reader = new jspb.BinaryReader(bytes);
753
- var msg = new proto.Drumtracker.TrackerProto.UpdateRequest;
754
- return proto.Drumtracker.TrackerProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
755
- };
756
-
757
-
758
- /**
759
- * Deserializes binary data (in protobuf wire format) from the
760
- * given reader into the given message object.
761
- * @param {!proto.Drumtracker.TrackerProto.UpdateRequest} msg The message object to deserialize into.
762
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
763
- * @return {!proto.Drumtracker.TrackerProto.UpdateRequest}
764
- */
765
- proto.Drumtracker.TrackerProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
766
- while (reader.nextField()) {
767
- if (reader.isEndGroup()) {
768
- break;
769
- }
770
- var field = reader.getFieldNumber();
771
- switch (field) {
772
- case 1:
773
- var value = /** @type {number} */ (reader.readInt64());
774
- msg.setId(value);
775
- break;
776
- case 2:
777
- var value = /** @type {number} */ (reader.readInt64());
778
- msg.setDrumNumber(value);
779
- break;
780
- default:
781
- reader.skipField();
782
- break;
783
- }
784
- }
785
- return msg;
786
- };
787
-
788
-
789
- /**
790
- * Serializes the message to binary data (in protobuf wire format).
791
- * @return {!Uint8Array}
792
- */
793
- proto.Drumtracker.TrackerProto.UpdateRequest.prototype.serializeBinary = function() {
794
- var writer = new jspb.BinaryWriter();
795
- proto.Drumtracker.TrackerProto.UpdateRequest.serializeBinaryToWriter(this, writer);
796
- return writer.getResultBuffer();
797
- };
798
-
799
-
800
- /**
801
- * Serializes the given message to binary data (in protobuf wire
802
- * format), writing to the given BinaryWriter.
803
- * @param {!proto.Drumtracker.TrackerProto.UpdateRequest} message
804
- * @param {!jspb.BinaryWriter} writer
805
- * @suppress {unusedLocalVariables} f is only used for nested messages
806
- */
807
- proto.Drumtracker.TrackerProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
808
- var f = undefined;
809
- f = message.getId();
810
- if (f !== 0) {
811
- writer.writeInt64(
812
- 1,
813
- f
814
- );
815
- }
816
- f = message.getDrumNumber();
817
- if (f !== 0) {
818
- writer.writeInt64(
819
- 2,
820
- f
821
- );
822
- }
823
- };
824
-
825
-
826
- /**
827
- * optional int64 id = 1;
828
- * @return {number}
829
- */
830
- proto.Drumtracker.TrackerProto.UpdateRequest.prototype.getId = function() {
831
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
832
- };
833
-
834
-
835
- /**
836
- * @param {number} value
837
- * @return {!proto.Drumtracker.TrackerProto.UpdateRequest} returns this
838
- */
839
- proto.Drumtracker.TrackerProto.UpdateRequest.prototype.setId = function(value) {
840
- return jspb.Message.setProto3IntField(this, 1, value);
841
- };
842
-
843
-
844
- /**
845
- * optional int64 drum_number = 2;
846
- * @return {number}
847
- */
848
- proto.Drumtracker.TrackerProto.UpdateRequest.prototype.getDrumNumber = function() {
849
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
850
- };
851
-
852
-
853
- /**
854
- * @param {number} value
855
- * @return {!proto.Drumtracker.TrackerProto.UpdateRequest} returns this
856
- */
857
- proto.Drumtracker.TrackerProto.UpdateRequest.prototype.setDrumNumber = function(value) {
858
- return jspb.Message.setProto3IntField(this, 2, value);
859
- };
860
-
861
-
862
-
863
-
864
-
865
- if (jspb.Message.GENERATE_TO_OBJECT) {
866
- /**
867
- * Creates an object representation of this proto.
868
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
869
- * Optional fields that are not set will be set to undefined.
870
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
871
- * For the list of reserved names please see:
872
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
873
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
874
- * JSPB instance for transitional soy proto support:
875
- * http://goto/soy-param-migration
876
- * @return {!Object}
877
- */
878
- proto.Drumtracker.TrackerProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
879
- return proto.Drumtracker.TrackerProto.DeleteRequest.toObject(opt_includeInstance, this);
880
- };
881
-
882
-
883
- /**
884
- * Static version of the {@see toObject} method.
885
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
886
- * the JSPB instance for transitional soy proto support:
887
- * http://goto/soy-param-migration
888
- * @param {!proto.Drumtracker.TrackerProto.DeleteRequest} msg The msg instance to transform.
889
- * @return {!Object}
890
- * @suppress {unusedLocalVariables} f is only used for nested messages
891
- */
892
- proto.Drumtracker.TrackerProto.DeleteRequest.toObject = function(includeInstance, msg) {
893
- var f, obj = {
894
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
895
- };
896
-
897
- if (includeInstance) {
898
- obj.$jspbMessageInstance = msg;
899
- }
900
- return obj;
901
- };
902
- }
903
-
904
-
905
- /**
906
- * Deserializes binary data (in protobuf wire format).
907
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
908
- * @return {!proto.Drumtracker.TrackerProto.DeleteRequest}
909
- */
910
- proto.Drumtracker.TrackerProto.DeleteRequest.deserializeBinary = function(bytes) {
911
- var reader = new jspb.BinaryReader(bytes);
912
- var msg = new proto.Drumtracker.TrackerProto.DeleteRequest;
913
- return proto.Drumtracker.TrackerProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
914
- };
915
-
916
-
917
- /**
918
- * Deserializes binary data (in protobuf wire format) from the
919
- * given reader into the given message object.
920
- * @param {!proto.Drumtracker.TrackerProto.DeleteRequest} msg The message object to deserialize into.
921
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
922
- * @return {!proto.Drumtracker.TrackerProto.DeleteRequest}
923
- */
924
- proto.Drumtracker.TrackerProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
925
- while (reader.nextField()) {
926
- if (reader.isEndGroup()) {
927
- break;
928
- }
929
- var field = reader.getFieldNumber();
930
- switch (field) {
931
- case 1:
932
- var value = /** @type {number} */ (reader.readInt64());
933
- msg.setId(value);
934
- break;
935
- default:
936
- reader.skipField();
937
- break;
938
- }
939
- }
940
- return msg;
941
- };
942
-
943
-
944
- /**
945
- * Serializes the message to binary data (in protobuf wire format).
946
- * @return {!Uint8Array}
947
- */
948
- proto.Drumtracker.TrackerProto.DeleteRequest.prototype.serializeBinary = function() {
949
- var writer = new jspb.BinaryWriter();
950
- proto.Drumtracker.TrackerProto.DeleteRequest.serializeBinaryToWriter(this, writer);
951
- return writer.getResultBuffer();
952
- };
953
-
954
-
955
- /**
956
- * Serializes the given message to binary data (in protobuf wire
957
- * format), writing to the given BinaryWriter.
958
- * @param {!proto.Drumtracker.TrackerProto.DeleteRequest} message
959
- * @param {!jspb.BinaryWriter} writer
960
- * @suppress {unusedLocalVariables} f is only used for nested messages
961
- */
962
- proto.Drumtracker.TrackerProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
963
- var f = undefined;
964
- f = message.getId();
965
- if (f !== 0) {
966
- writer.writeInt64(
967
- 1,
968
- f
969
- );
970
- }
971
- };
972
-
973
-
974
- /**
975
- * optional int64 id = 1;
976
- * @return {number}
977
- */
978
- proto.Drumtracker.TrackerProto.DeleteRequest.prototype.getId = function() {
979
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
980
- };
981
-
982
-
983
- /**
984
- * @param {number} value
985
- * @return {!proto.Drumtracker.TrackerProto.DeleteRequest} returns this
986
- */
987
- proto.Drumtracker.TrackerProto.DeleteRequest.prototype.setId = function(value) {
988
- return jspb.Message.setProto3IntField(this, 1, value);
989
- };
990
-
991
-
992
-
993
-
994
-
995
- if (jspb.Message.GENERATE_TO_OBJECT) {
996
- /**
997
- * Creates an object representation of this proto.
998
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
999
- * Optional fields that are not set will be set to undefined.
1000
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1001
- * For the list of reserved names please see:
1002
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1003
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1004
- * JSPB instance for transitional soy proto support:
1005
- * http://goto/soy-param-migration
1006
- * @return {!Object}
1007
- */
1008
- proto.Drumtracker.TrackerProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
1009
- return proto.Drumtracker.TrackerProto.DeleteReply.toObject(opt_includeInstance, this);
1010
- };
1011
-
1012
-
1013
- /**
1014
- * Static version of the {@see toObject} method.
1015
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1016
- * the JSPB instance for transitional soy proto support:
1017
- * http://goto/soy-param-migration
1018
- * @param {!proto.Drumtracker.TrackerProto.DeleteReply} msg The msg instance to transform.
1019
- * @return {!Object}
1020
- * @suppress {unusedLocalVariables} f is only used for nested messages
1021
- */
1022
- proto.Drumtracker.TrackerProto.DeleteReply.toObject = function(includeInstance, msg) {
1023
- var f, obj = {
1024
-
1025
- };
1026
-
1027
- if (includeInstance) {
1028
- obj.$jspbMessageInstance = msg;
1029
- }
1030
- return obj;
1031
- };
1032
- }
1033
-
1034
-
1035
- /**
1036
- * Deserializes binary data (in protobuf wire format).
1037
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1038
- * @return {!proto.Drumtracker.TrackerProto.DeleteReply}
1039
- */
1040
- proto.Drumtracker.TrackerProto.DeleteReply.deserializeBinary = function(bytes) {
1041
- var reader = new jspb.BinaryReader(bytes);
1042
- var msg = new proto.Drumtracker.TrackerProto.DeleteReply;
1043
- return proto.Drumtracker.TrackerProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
1044
- };
1045
-
1046
-
1047
- /**
1048
- * Deserializes binary data (in protobuf wire format) from the
1049
- * given reader into the given message object.
1050
- * @param {!proto.Drumtracker.TrackerProto.DeleteReply} msg The message object to deserialize into.
1051
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1052
- * @return {!proto.Drumtracker.TrackerProto.DeleteReply}
1053
- */
1054
- proto.Drumtracker.TrackerProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
1055
- while (reader.nextField()) {
1056
- if (reader.isEndGroup()) {
1057
- break;
1058
- }
1059
- var field = reader.getFieldNumber();
1060
- switch (field) {
1061
- default:
1062
- reader.skipField();
1063
- break;
1064
- }
1065
- }
1066
- return msg;
1067
- };
1068
-
1069
-
1070
- /**
1071
- * Serializes the message to binary data (in protobuf wire format).
1072
- * @return {!Uint8Array}
1073
- */
1074
- proto.Drumtracker.TrackerProto.DeleteReply.prototype.serializeBinary = function() {
1075
- var writer = new jspb.BinaryWriter();
1076
- proto.Drumtracker.TrackerProto.DeleteReply.serializeBinaryToWriter(this, writer);
1077
- return writer.getResultBuffer();
1078
- };
1079
-
1080
-
1081
- /**
1082
- * Serializes the given message to binary data (in protobuf wire
1083
- * format), writing to the given BinaryWriter.
1084
- * @param {!proto.Drumtracker.TrackerProto.DeleteReply} message
1085
- * @param {!jspb.BinaryWriter} writer
1086
- * @suppress {unusedLocalVariables} f is only used for nested messages
1087
- */
1088
- proto.Drumtracker.TrackerProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
1089
- var f = undefined;
1090
- };
1091
-
1092
-
1093
-
1094
-
1095
-
1096
- if (jspb.Message.GENERATE_TO_OBJECT) {
1097
- /**
1098
- * Creates an object representation of this proto.
1099
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1100
- * Optional fields that are not set will be set to undefined.
1101
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1102
- * For the list of reserved names please see:
1103
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1104
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1105
- * JSPB instance for transitional soy proto support:
1106
- * http://goto/soy-param-migration
1107
- * @return {!Object}
1108
- */
1109
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1110
- return proto.Drumtracker.TrackerProto.SearchRequest.toObject(opt_includeInstance, this);
1111
- };
1112
-
1113
-
1114
- /**
1115
- * Static version of the {@see toObject} method.
1116
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1117
- * the JSPB instance for transitional soy proto support:
1118
- * http://goto/soy-param-migration
1119
- * @param {!proto.Drumtracker.TrackerProto.SearchRequest} msg The msg instance to transform.
1120
- * @return {!Object}
1121
- * @suppress {unusedLocalVariables} f is only used for nested messages
1122
- */
1123
- proto.Drumtracker.TrackerProto.SearchRequest.toObject = function(includeInstance, msg) {
1124
- var f, obj = {
1125
- filters: (f = msg.getFilters()) && proto.Drumtracker.TrackerProto.TrackerFilters.toObject(includeInstance, f),
1126
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
1127
- count: jspb.Message.getFieldWithDefault(msg, 3, 0)
1128
- };
1129
-
1130
- if (includeInstance) {
1131
- obj.$jspbMessageInstance = msg;
1132
- }
1133
- return obj;
1134
- };
1135
- }
1136
-
1137
-
1138
- /**
1139
- * Deserializes binary data (in protobuf wire format).
1140
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1141
- * @return {!proto.Drumtracker.TrackerProto.SearchRequest}
1142
- */
1143
- proto.Drumtracker.TrackerProto.SearchRequest.deserializeBinary = function(bytes) {
1144
- var reader = new jspb.BinaryReader(bytes);
1145
- var msg = new proto.Drumtracker.TrackerProto.SearchRequest;
1146
- return proto.Drumtracker.TrackerProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1147
- };
1148
-
1149
-
1150
- /**
1151
- * Deserializes binary data (in protobuf wire format) from the
1152
- * given reader into the given message object.
1153
- * @param {!proto.Drumtracker.TrackerProto.SearchRequest} msg The message object to deserialize into.
1154
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1155
- * @return {!proto.Drumtracker.TrackerProto.SearchRequest}
1156
- */
1157
- proto.Drumtracker.TrackerProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1158
- while (reader.nextField()) {
1159
- if (reader.isEndGroup()) {
1160
- break;
1161
- }
1162
- var field = reader.getFieldNumber();
1163
- switch (field) {
1164
- case 1:
1165
- var value = new proto.Drumtracker.TrackerProto.TrackerFilters;
1166
- reader.readMessage(value,proto.Drumtracker.TrackerProto.TrackerFilters.deserializeBinaryFromReader);
1167
- msg.setFilters(value);
1168
- break;
1169
- case 2:
1170
- var value = /** @type {number} */ (reader.readInt32());
1171
- msg.setPage(value);
1172
- break;
1173
- case 3:
1174
- var value = /** @type {number} */ (reader.readInt32());
1175
- msg.setCount(value);
1176
- break;
1177
- default:
1178
- reader.skipField();
1179
- break;
1180
- }
1181
- }
1182
- return msg;
1183
- };
1184
-
1185
-
1186
- /**
1187
- * Serializes the message to binary data (in protobuf wire format).
1188
- * @return {!Uint8Array}
1189
- */
1190
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.serializeBinary = function() {
1191
- var writer = new jspb.BinaryWriter();
1192
- proto.Drumtracker.TrackerProto.SearchRequest.serializeBinaryToWriter(this, writer);
1193
- return writer.getResultBuffer();
1194
- };
1195
-
1196
-
1197
- /**
1198
- * Serializes the given message to binary data (in protobuf wire
1199
- * format), writing to the given BinaryWriter.
1200
- * @param {!proto.Drumtracker.TrackerProto.SearchRequest} message
1201
- * @param {!jspb.BinaryWriter} writer
1202
- * @suppress {unusedLocalVariables} f is only used for nested messages
1203
- */
1204
- proto.Drumtracker.TrackerProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1205
- var f = undefined;
1206
- f = message.getFilters();
1207
- if (f != null) {
1208
- writer.writeMessage(
1209
- 1,
1210
- f,
1211
- proto.Drumtracker.TrackerProto.TrackerFilters.serializeBinaryToWriter
1212
- );
1213
- }
1214
- f = message.getPage();
1215
- if (f !== 0) {
1216
- writer.writeInt32(
1217
- 2,
1218
- f
1219
- );
1220
- }
1221
- f = message.getCount();
1222
- if (f !== 0) {
1223
- writer.writeInt32(
1224
- 3,
1225
- f
1226
- );
1227
- }
1228
- };
1229
-
1230
-
1231
- /**
1232
- * optional TrackerFilters filters = 1;
1233
- * @return {?proto.Drumtracker.TrackerProto.TrackerFilters}
1234
- */
1235
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.getFilters = function() {
1236
- return /** @type{?proto.Drumtracker.TrackerProto.TrackerFilters} */ (
1237
- jspb.Message.getWrapperField(this, proto.Drumtracker.TrackerProto.TrackerFilters, 1));
1238
- };
1239
-
1240
-
1241
- /**
1242
- * @param {?proto.Drumtracker.TrackerProto.TrackerFilters|undefined} value
1243
- * @return {!proto.Drumtracker.TrackerProto.SearchRequest} returns this
1244
- */
1245
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.setFilters = function(value) {
1246
- return jspb.Message.setWrapperField(this, 1, value);
1247
- };
1248
-
1249
-
1250
- /**
1251
- * Clears the message field making it undefined.
1252
- * @return {!proto.Drumtracker.TrackerProto.SearchRequest} returns this
1253
- */
1254
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.clearFilters = function() {
1255
- return this.setFilters(undefined);
1256
- };
1257
-
1258
-
1259
- /**
1260
- * Returns whether this field is set.
1261
- * @return {boolean}
1262
- */
1263
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.hasFilters = function() {
1264
- return jspb.Message.getField(this, 1) != null;
1265
- };
1266
-
1267
-
1268
- /**
1269
- * optional int32 page = 2;
1270
- * @return {number}
1271
- */
1272
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.getPage = function() {
1273
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1274
- };
1275
-
1276
-
1277
- /**
1278
- * @param {number} value
1279
- * @return {!proto.Drumtracker.TrackerProto.SearchRequest} returns this
1280
- */
1281
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.setPage = function(value) {
1282
- return jspb.Message.setProto3IntField(this, 2, value);
1283
- };
1284
-
1285
-
1286
- /**
1287
- * optional int32 count = 3;
1288
- * @return {number}
1289
- */
1290
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.getCount = function() {
1291
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1292
- };
1293
-
1294
-
1295
- /**
1296
- * @param {number} value
1297
- * @return {!proto.Drumtracker.TrackerProto.SearchRequest} returns this
1298
- */
1299
- proto.Drumtracker.TrackerProto.SearchRequest.prototype.setCount = function(value) {
1300
- return jspb.Message.setProto3IntField(this, 3, value);
1301
- };
1302
-
1303
-
1304
-
1305
- /**
1306
- * List of repeated fields within this message type.
1307
- * @private {!Array<number>}
1308
- * @const
1309
- */
1310
- proto.Drumtracker.TrackerProto.SearchReply.repeatedFields_ = [1];
1311
-
1312
-
1313
-
1314
- if (jspb.Message.GENERATE_TO_OBJECT) {
1315
- /**
1316
- * Creates an object representation of this proto.
1317
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1318
- * Optional fields that are not set will be set to undefined.
1319
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1320
- * For the list of reserved names please see:
1321
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1322
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1323
- * JSPB instance for transitional soy proto support:
1324
- * http://goto/soy-param-migration
1325
- * @return {!Object}
1326
- */
1327
- proto.Drumtracker.TrackerProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1328
- return proto.Drumtracker.TrackerProto.SearchReply.toObject(opt_includeInstance, this);
1329
- };
1330
-
1331
-
1332
- /**
1333
- * Static version of the {@see toObject} method.
1334
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1335
- * the JSPB instance for transitional soy proto support:
1336
- * http://goto/soy-param-migration
1337
- * @param {!proto.Drumtracker.TrackerProto.SearchReply} msg The msg instance to transform.
1338
- * @return {!Object}
1339
- * @suppress {unusedLocalVariables} f is only used for nested messages
1340
- */
1341
- proto.Drumtracker.TrackerProto.SearchReply.toObject = function(includeInstance, msg) {
1342
- var f, obj = {
1343
- trackersList: jspb.Message.toObjectList(msg.getTrackersList(),
1344
- proto.Drumtracker.TrackerProto.toObject, includeInstance),
1345
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1346
- };
1347
-
1348
- if (includeInstance) {
1349
- obj.$jspbMessageInstance = msg;
1350
- }
1351
- return obj;
1352
- };
1353
- }
1354
-
1355
-
1356
- /**
1357
- * Deserializes binary data (in protobuf wire format).
1358
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1359
- * @return {!proto.Drumtracker.TrackerProto.SearchReply}
1360
- */
1361
- proto.Drumtracker.TrackerProto.SearchReply.deserializeBinary = function(bytes) {
1362
- var reader = new jspb.BinaryReader(bytes);
1363
- var msg = new proto.Drumtracker.TrackerProto.SearchReply;
1364
- return proto.Drumtracker.TrackerProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1365
- };
1366
-
1367
-
1368
- /**
1369
- * Deserializes binary data (in protobuf wire format) from the
1370
- * given reader into the given message object.
1371
- * @param {!proto.Drumtracker.TrackerProto.SearchReply} msg The message object to deserialize into.
1372
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1373
- * @return {!proto.Drumtracker.TrackerProto.SearchReply}
1374
- */
1375
- proto.Drumtracker.TrackerProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1376
- while (reader.nextField()) {
1377
- if (reader.isEndGroup()) {
1378
- break;
1379
- }
1380
- var field = reader.getFieldNumber();
1381
- switch (field) {
1382
- case 1:
1383
- var value = new proto.Drumtracker.TrackerProto;
1384
- reader.readMessage(value,proto.Drumtracker.TrackerProto.deserializeBinaryFromReader);
1385
- msg.addTrackers(value);
1386
- break;
1387
- case 2:
1388
- var value = new platform_pagination_pb.PaginationProto;
1389
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1390
- msg.setPagination(value);
1391
- break;
1392
- default:
1393
- reader.skipField();
1394
- break;
1395
- }
1396
- }
1397
- return msg;
1398
- };
1399
-
1400
-
1401
- /**
1402
- * Serializes the message to binary data (in protobuf wire format).
1403
- * @return {!Uint8Array}
1404
- */
1405
- proto.Drumtracker.TrackerProto.SearchReply.prototype.serializeBinary = function() {
1406
- var writer = new jspb.BinaryWriter();
1407
- proto.Drumtracker.TrackerProto.SearchReply.serializeBinaryToWriter(this, writer);
1408
- return writer.getResultBuffer();
1409
- };
1410
-
1411
-
1412
- /**
1413
- * Serializes the given message to binary data (in protobuf wire
1414
- * format), writing to the given BinaryWriter.
1415
- * @param {!proto.Drumtracker.TrackerProto.SearchReply} message
1416
- * @param {!jspb.BinaryWriter} writer
1417
- * @suppress {unusedLocalVariables} f is only used for nested messages
1418
- */
1419
- proto.Drumtracker.TrackerProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1420
- var f = undefined;
1421
- f = message.getTrackersList();
1422
- if (f.length > 0) {
1423
- writer.writeRepeatedMessage(
1424
- 1,
1425
- f,
1426
- proto.Drumtracker.TrackerProto.serializeBinaryToWriter
1427
- );
1428
- }
1429
- f = message.getPagination();
1430
- if (f != null) {
1431
- writer.writeMessage(
1432
- 2,
1433
- f,
1434
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1435
- );
1436
- }
1437
- };
1438
-
1439
-
1440
- /**
1441
- * repeated TrackerProto trackers = 1;
1442
- * @return {!Array<!proto.Drumtracker.TrackerProto>}
1443
- */
1444
- proto.Drumtracker.TrackerProto.SearchReply.prototype.getTrackersList = function() {
1445
- return /** @type{!Array<!proto.Drumtracker.TrackerProto>} */ (
1446
- jspb.Message.getRepeatedWrapperField(this, proto.Drumtracker.TrackerProto, 1));
1447
- };
1448
-
1449
-
1450
- /**
1451
- * @param {!Array<!proto.Drumtracker.TrackerProto>} value
1452
- * @return {!proto.Drumtracker.TrackerProto.SearchReply} returns this
1453
- */
1454
- proto.Drumtracker.TrackerProto.SearchReply.prototype.setTrackersList = function(value) {
1455
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1456
- };
1457
-
1458
-
1459
- /**
1460
- * @param {!proto.Drumtracker.TrackerProto=} opt_value
1461
- * @param {number=} opt_index
1462
- * @return {!proto.Drumtracker.TrackerProto}
1463
- */
1464
- proto.Drumtracker.TrackerProto.SearchReply.prototype.addTrackers = function(opt_value, opt_index) {
1465
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Drumtracker.TrackerProto, opt_index);
1466
- };
1467
-
1468
-
1469
- /**
1470
- * Clears the list making it empty but non-null.
1471
- * @return {!proto.Drumtracker.TrackerProto.SearchReply} returns this
1472
- */
1473
- proto.Drumtracker.TrackerProto.SearchReply.prototype.clearTrackersList = function() {
1474
- return this.setTrackersList([]);
1475
- };
1476
-
1477
-
1478
- /**
1479
- * optional Platform.PaginationProto pagination = 2;
1480
- * @return {?proto.Platform.PaginationProto}
1481
- */
1482
- proto.Drumtracker.TrackerProto.SearchReply.prototype.getPagination = function() {
1483
- return /** @type{?proto.Platform.PaginationProto} */ (
1484
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1485
- };
1486
-
1487
-
1488
- /**
1489
- * @param {?proto.Platform.PaginationProto|undefined} value
1490
- * @return {!proto.Drumtracker.TrackerProto.SearchReply} returns this
1491
- */
1492
- proto.Drumtracker.TrackerProto.SearchReply.prototype.setPagination = function(value) {
1493
- return jspb.Message.setWrapperField(this, 2, value);
1494
- };
1495
-
1496
-
1497
- /**
1498
- * Clears the message field making it undefined.
1499
- * @return {!proto.Drumtracker.TrackerProto.SearchReply} returns this
1500
- */
1501
- proto.Drumtracker.TrackerProto.SearchReply.prototype.clearPagination = function() {
1502
- return this.setPagination(undefined);
1503
- };
1504
-
1505
-
1506
- /**
1507
- * Returns whether this field is set.
1508
- * @return {boolean}
1509
- */
1510
- proto.Drumtracker.TrackerProto.SearchReply.prototype.hasPagination = function() {
1511
- return jspb.Message.getField(this, 2) != null;
1512
- };
1513
-
1514
-
1515
-
1516
-
1517
-
1518
- if (jspb.Message.GENERATE_TO_OBJECT) {
1519
- /**
1520
- * Creates an object representation of this proto.
1521
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1522
- * Optional fields that are not set will be set to undefined.
1523
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1524
- * For the list of reserved names please see:
1525
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1526
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1527
- * JSPB instance for transitional soy proto support:
1528
- * http://goto/soy-param-migration
1529
- * @return {!Object}
1530
- */
1531
- proto.Drumtracker.TrackerProto.TrackerFilters.prototype.toObject = function(opt_includeInstance) {
1532
- return proto.Drumtracker.TrackerProto.TrackerFilters.toObject(opt_includeInstance, this);
1533
- };
1534
-
1535
-
1536
- /**
1537
- * Static version of the {@see toObject} method.
1538
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1539
- * the JSPB instance for transitional soy proto support:
1540
- * http://goto/soy-param-migration
1541
- * @param {!proto.Drumtracker.TrackerProto.TrackerFilters} msg The msg instance to transform.
1542
- * @return {!Object}
1543
- * @suppress {unusedLocalVariables} f is only used for nested messages
1544
- */
1545
- proto.Drumtracker.TrackerProto.TrackerFilters.toObject = function(includeInstance, msg) {
1546
- var f, obj = {
1547
- search: jspb.Message.getFieldWithDefault(msg, 1, "")
1548
- };
1549
-
1550
- if (includeInstance) {
1551
- obj.$jspbMessageInstance = msg;
1552
- }
1553
- return obj;
1554
- };
1555
- }
1556
-
1557
-
1558
- /**
1559
- * Deserializes binary data (in protobuf wire format).
1560
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1561
- * @return {!proto.Drumtracker.TrackerProto.TrackerFilters}
1562
- */
1563
- proto.Drumtracker.TrackerProto.TrackerFilters.deserializeBinary = function(bytes) {
1564
- var reader = new jspb.BinaryReader(bytes);
1565
- var msg = new proto.Drumtracker.TrackerProto.TrackerFilters;
1566
- return proto.Drumtracker.TrackerProto.TrackerFilters.deserializeBinaryFromReader(msg, reader);
1567
- };
1568
-
1569
-
1570
- /**
1571
- * Deserializes binary data (in protobuf wire format) from the
1572
- * given reader into the given message object.
1573
- * @param {!proto.Drumtracker.TrackerProto.TrackerFilters} msg The message object to deserialize into.
1574
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1575
- * @return {!proto.Drumtracker.TrackerProto.TrackerFilters}
1576
- */
1577
- proto.Drumtracker.TrackerProto.TrackerFilters.deserializeBinaryFromReader = function(msg, reader) {
1578
- while (reader.nextField()) {
1579
- if (reader.isEndGroup()) {
1580
- break;
1581
- }
1582
- var field = reader.getFieldNumber();
1583
- switch (field) {
1584
- case 1:
1585
- var value = /** @type {string} */ (reader.readString());
1586
- msg.setSearch(value);
1587
- break;
1588
- default:
1589
- reader.skipField();
1590
- break;
1591
- }
1592
- }
1593
- return msg;
1594
- };
1595
-
1596
-
1597
- /**
1598
- * Serializes the message to binary data (in protobuf wire format).
1599
- * @return {!Uint8Array}
1600
- */
1601
- proto.Drumtracker.TrackerProto.TrackerFilters.prototype.serializeBinary = function() {
1602
- var writer = new jspb.BinaryWriter();
1603
- proto.Drumtracker.TrackerProto.TrackerFilters.serializeBinaryToWriter(this, writer);
1604
- return writer.getResultBuffer();
1605
- };
1606
-
1607
-
1608
- /**
1609
- * Serializes the given message to binary data (in protobuf wire
1610
- * format), writing to the given BinaryWriter.
1611
- * @param {!proto.Drumtracker.TrackerProto.TrackerFilters} message
1612
- * @param {!jspb.BinaryWriter} writer
1613
- * @suppress {unusedLocalVariables} f is only used for nested messages
1614
- */
1615
- proto.Drumtracker.TrackerProto.TrackerFilters.serializeBinaryToWriter = function(message, writer) {
1616
- var f = undefined;
1617
- f = message.getSearch();
1618
- if (f.length > 0) {
1619
- writer.writeString(
1620
- 1,
1621
- f
1622
- );
1623
- }
1624
- };
1625
-
1626
-
1627
- /**
1628
- * optional string search = 1;
1629
- * @return {string}
1630
- */
1631
- proto.Drumtracker.TrackerProto.TrackerFilters.prototype.getSearch = function() {
1632
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1633
- };
1634
-
1635
-
1636
- /**
1637
- * @param {string} value
1638
- * @return {!proto.Drumtracker.TrackerProto.TrackerFilters} returns this
1639
- */
1640
- proto.Drumtracker.TrackerProto.TrackerFilters.prototype.setSearch = function(value) {
1641
- return jspb.Message.setProto3StringField(this, 1, value);
1642
- };
1643
-
1644
-
1645
- /**
1646
- * optional int64 id = 1;
1647
- * @return {number}
1648
- */
1649
- proto.Drumtracker.TrackerProto.prototype.getId = function() {
1650
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1651
- };
1652
-
1653
-
1654
- /**
1655
- * @param {number} value
1656
- * @return {!proto.Drumtracker.TrackerProto} returns this
1657
- */
1658
- proto.Drumtracker.TrackerProto.prototype.setId = function(value) {
1659
- return jspb.Message.setProto3IntField(this, 1, value);
1660
- };
1661
-
1662
-
1663
- /**
1664
- * optional int32 battery_voltage = 2;
1665
- * @return {number}
1666
- */
1667
- proto.Drumtracker.TrackerProto.prototype.getBatteryVoltage = function() {
1668
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1669
- };
1670
-
1671
-
1672
- /**
1673
- * @param {number} value
1674
- * @return {!proto.Drumtracker.TrackerProto} returns this
1675
- */
1676
- proto.Drumtracker.TrackerProto.prototype.setBatteryVoltage = function(value) {
1677
- return jspb.Message.setProto3IntField(this, 2, value);
1678
- };
1679
-
1680
-
1681
- /**
1682
- * optional google.protobuf.Timestamp last_update = 3;
1683
- * @return {?proto.google.protobuf.Timestamp}
1684
- */
1685
- proto.Drumtracker.TrackerProto.prototype.getLastUpdate = function() {
1686
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1687
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
1688
- };
1689
-
1690
-
1691
- /**
1692
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1693
- * @return {!proto.Drumtracker.TrackerProto} returns this
1694
- */
1695
- proto.Drumtracker.TrackerProto.prototype.setLastUpdate = function(value) {
1696
- return jspb.Message.setWrapperField(this, 3, value);
1697
- };
1698
-
1699
-
1700
- /**
1701
- * Clears the message field making it undefined.
1702
- * @return {!proto.Drumtracker.TrackerProto} returns this
1703
- */
1704
- proto.Drumtracker.TrackerProto.prototype.clearLastUpdate = function() {
1705
- return this.setLastUpdate(undefined);
1706
- };
1707
-
1708
-
1709
- /**
1710
- * Returns whether this field is set.
1711
- * @return {boolean}
1712
- */
1713
- proto.Drumtracker.TrackerProto.prototype.hasLastUpdate = function() {
1714
- return jspb.Message.getField(this, 3) != null;
1715
- };
1716
-
1717
-
1718
- /**
1719
- * optional google.protobuf.Timestamp activation_date = 4;
1720
- * @return {?proto.google.protobuf.Timestamp}
1721
- */
1722
- proto.Drumtracker.TrackerProto.prototype.getActivationDate = function() {
1723
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1724
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
1725
- };
1726
-
1727
-
1728
- /**
1729
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1730
- * @return {!proto.Drumtracker.TrackerProto} returns this
1731
- */
1732
- proto.Drumtracker.TrackerProto.prototype.setActivationDate = function(value) {
1733
- return jspb.Message.setWrapperField(this, 4, value);
1734
- };
1735
-
1736
-
1737
- /**
1738
- * Clears the message field making it undefined.
1739
- * @return {!proto.Drumtracker.TrackerProto} returns this
1740
- */
1741
- proto.Drumtracker.TrackerProto.prototype.clearActivationDate = function() {
1742
- return this.setActivationDate(undefined);
1743
- };
1744
-
1745
-
1746
- /**
1747
- * Returns whether this field is set.
1748
- * @return {boolean}
1749
- */
1750
- proto.Drumtracker.TrackerProto.prototype.hasActivationDate = function() {
1751
- return jspb.Message.getField(this, 4) != null;
1752
- };
1753
-
1754
-
1755
- /**
1756
- * optional int32 rotations = 5;
1757
- * @return {number}
1758
- */
1759
- proto.Drumtracker.TrackerProto.prototype.getRotations = function() {
1760
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1761
- };
1762
-
1763
-
1764
- /**
1765
- * @param {number} value
1766
- * @return {!proto.Drumtracker.TrackerProto} returns this
1767
- */
1768
- proto.Drumtracker.TrackerProto.prototype.setRotations = function(value) {
1769
- return jspb.Message.setProto3IntField(this, 5, value);
1770
- };
1771
-
1772
-
1773
- /**
1774
- * optional bool deactivated = 6;
1775
- * @return {boolean}
1776
- */
1777
- proto.Drumtracker.TrackerProto.prototype.getDeactivated = function() {
1778
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
1779
- };
1780
-
1781
-
1782
- /**
1783
- * @param {boolean} value
1784
- * @return {!proto.Drumtracker.TrackerProto} returns this
1785
- */
1786
- proto.Drumtracker.TrackerProto.prototype.setDeactivated = function(value) {
1787
- return jspb.Message.setProto3BooleanField(this, 6, value);
1788
- };
1789
-
1790
-
1791
- /**
1792
- * optional string deactivation_reason = 7;
1793
- * @return {string}
1794
- */
1795
- proto.Drumtracker.TrackerProto.prototype.getDeactivationReason = function() {
1796
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1797
- };
1798
-
1799
-
1800
- /**
1801
- * @param {string} value
1802
- * @return {!proto.Drumtracker.TrackerProto} returns this
1803
- */
1804
- proto.Drumtracker.TrackerProto.prototype.setDeactivationReason = function(value) {
1805
- return jspb.Message.setProto3StringField(this, 7, value);
1806
- };
1807
-
1808
-
1809
- /**
1810
- * optional google.protobuf.Timestamp deactivation_date = 8;
1811
- * @return {?proto.google.protobuf.Timestamp}
1812
- */
1813
- proto.Drumtracker.TrackerProto.prototype.getDeactivationDate = function() {
1814
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1815
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
1816
- };
1817
-
1818
-
1819
- /**
1820
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1821
- * @return {!proto.Drumtracker.TrackerProto} returns this
1822
- */
1823
- proto.Drumtracker.TrackerProto.prototype.setDeactivationDate = function(value) {
1824
- return jspb.Message.setWrapperField(this, 8, value);
1825
- };
1826
-
1827
-
1828
- /**
1829
- * Clears the message field making it undefined.
1830
- * @return {!proto.Drumtracker.TrackerProto} returns this
1831
- */
1832
- proto.Drumtracker.TrackerProto.prototype.clearDeactivationDate = function() {
1833
- return this.setDeactivationDate(undefined);
1834
- };
1835
-
1836
-
1837
- /**
1838
- * Returns whether this field is set.
1839
- * @return {boolean}
1840
- */
1841
- proto.Drumtracker.TrackerProto.prototype.hasDeactivationDate = function() {
1842
- return jspb.Message.getField(this, 8) != null;
1843
- };
1844
-
1845
-
1846
- /**
1847
- * optional int64 drum_number = 9;
1848
- * @return {number}
1849
- */
1850
- proto.Drumtracker.TrackerProto.prototype.getDrumNumber = function() {
1851
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1852
- };
1853
-
1854
-
1855
- /**
1856
- * @param {number} value
1857
- * @return {!proto.Drumtracker.TrackerProto} returns this
1858
- */
1859
- proto.Drumtracker.TrackerProto.prototype.setDrumNumber = function(value) {
1860
- return jspb.Message.setProto3IntField(this, 9, value);
1861
- };
1862
-
1863
-
1864
- goog.object.extend(exports, proto.Drumtracker);