@aceplus/smartace-api 3.6.0-alpha.17 → 3.6.0-alpha.19

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 (249) hide show
  1. package/auth.account_pb.d.ts +582 -0
  2. package/auth.account_pb.js +4287 -0
  3. package/auth.account_pb_service.d.ts +340 -0
  4. package/auth.account_pb_service.js +637 -0
  5. package/auth.account_two_factor_pb.d.ts +159 -0
  6. package/auth.account_two_factor_pb.js +1184 -0
  7. package/auth.account_two_factor_pb_service.d.ts +121 -0
  8. package/auth.account_two_factor_pb_service.js +182 -0
  9. package/auth.app_account_pb.d.ts +156 -0
  10. package/auth.app_account_pb.js +1153 -0
  11. package/auth.app_account_pb_service.d.ts +160 -0
  12. package/auth.app_account_pb_service.js +263 -0
  13. package/auth.app_authn_pb.d.ts +172 -0
  14. package/auth.app_authn_pb.js +1233 -0
  15. package/auth.app_authn_pb_service.d.ts +140 -0
  16. package/auth.app_authn_pb_service.js +222 -0
  17. package/auth.app_distribution_pb.d.ts +174 -0
  18. package/auth.app_distribution_pb.js +1338 -0
  19. package/auth.app_distribution_pb_service.d.ts +120 -0
  20. package/auth.app_distribution_pb_service.js +181 -0
  21. package/auth.authn_pb.d.ts +95 -0
  22. package/auth.authn_pb.js +637 -0
  23. package/auth.authn_pb_service.d.ts +82 -0
  24. package/auth.authn_pb_service.js +101 -0
  25. package/auth.cluster_pb.d.ts +142 -0
  26. package/auth.cluster_pb.js +1050 -0
  27. package/auth.cluster_pb_service.d.ts +82 -0
  28. package/auth.cluster_pb_service.js +101 -0
  29. package/auth.distribution_pb.d.ts +233 -0
  30. package/auth.distribution_pb.js +1785 -0
  31. package/auth.distribution_pb_service.d.ts +82 -0
  32. package/auth.distribution_pb_service.js +101 -0
  33. package/auth.email_pb.d.ts +217 -0
  34. package/auth.email_pb.js +1508 -0
  35. package/auth.email_pb_service.d.ts +102 -0
  36. package/auth.email_pb_service.js +142 -0
  37. package/auth.firmware_pb.d.ts +256 -0
  38. package/auth.firmware_pb.js +1997 -0
  39. package/auth.firmware_pb_service.d.ts +120 -0
  40. package/auth.firmware_pb_service.js +181 -0
  41. package/auth.push_notification_pb.d.ts +69 -0
  42. package/auth.push_notification_pb.js +411 -0
  43. package/auth.push_notification_pb_service.d.ts +64 -0
  44. package/auth.push_notification_pb_service.js +62 -0
  45. package/auth.sms_pb.d.ts +79 -0
  46. package/auth.sms_pb.js +575 -0
  47. package/auth.sms_pb_service.d.ts +83 -0
  48. package/auth.sms_pb_service.js +102 -0
  49. package/google/api/annotations_pb.d.ts +9 -0
  50. package/google/api/annotations_pb.js +54 -0
  51. package/google/api/annotations_pb_service.d.ts +3 -0
  52. package/google/api/annotations_pb_service.js +3 -0
  53. package/google/api/auth_pb.d.ts +150 -0
  54. package/google/api/auth_pb.js +1160 -0
  55. package/google/api/auth_pb_service.d.ts +3 -0
  56. package/google/api/auth_pb_service.js +3 -0
  57. package/google/api/backend_pb.d.ts +59 -0
  58. package/google/api/backend_pb.js +448 -0
  59. package/google/api/backend_pb_service.d.ts +3 -0
  60. package/google/api/backend_pb_service.js +3 -0
  61. package/google/api/billing_pb.d.ts +54 -0
  62. package/google/api/billing_pb.js +416 -0
  63. package/google/api/billing_pb_service.d.ts +3 -0
  64. package/google/api/billing_pb_service.js +3 -0
  65. package/google/api/client_pb.d.ts +12 -0
  66. package/google/api/client_pb.js +104 -0
  67. package/google/api/client_pb_service.d.ts +3 -0
  68. package/google/api/client_pb_service.js +3 -0
  69. package/google/api/config_change_pb.d.ts +72 -0
  70. package/google/api/config_change_pb.js +489 -0
  71. package/google/api/config_change_pb_service.d.ts +3 -0
  72. package/google/api/config_change_pb_service.js +3 -0
  73. package/google/api/consumer_pb.d.ts +65 -0
  74. package/google/api/consumer_pb.js +430 -0
  75. package/google/api/consumer_pb_service.d.ts +3 -0
  76. package/google/api/consumer_pb_service.js +3 -0
  77. package/google/api/context_pb.d.ts +59 -0
  78. package/google/api/context_pb.js +463 -0
  79. package/google/api/context_pb_service.d.ts +3 -0
  80. package/google/api/context_pb_service.js +3 -0
  81. package/google/api/control_pb.d.ts +25 -0
  82. package/google/api/control_pb.js +176 -0
  83. package/google/api/control_pb_service.d.ts +3 -0
  84. package/google/api/control_pb_service.js +3 -0
  85. package/google/api/distribution_pb.d.ts +235 -0
  86. package/google/api/distribution_pb.js +1805 -0
  87. package/google/api/distribution_pb_service.d.ts +3 -0
  88. package/google/api/distribution_pb_service.js +3 -0
  89. package/google/api/documentation_pb.d.ts +103 -0
  90. package/google/api/documentation_pb.js +803 -0
  91. package/google/api/documentation_pb_service.d.ts +3 -0
  92. package/google/api/documentation_pb_service.js +3 -0
  93. package/google/api/endpoint_pb.d.ts +46 -0
  94. package/google/api/endpoint_pb.js +343 -0
  95. package/google/api/endpoint_pb_service.d.ts +3 -0
  96. package/google/api/endpoint_pb_service.js +3 -0
  97. package/google/api/error_reason_pb.d.ts +40 -0
  98. package/google/api/error_reason_pb.js +61 -0
  99. package/google/api/error_reason_pb_service.d.ts +3 -0
  100. package/google/api/error_reason_pb_service.js +3 -0
  101. package/google/api/field_behavior_pb.d.ts +20 -0
  102. package/google/api/field_behavior_pb.js +66 -0
  103. package/google/api/field_behavior_pb_service.d.ts +3 -0
  104. package/google/api/field_behavior_pb_service.js +3 -0
  105. package/google/api/http_pb.d.ts +136 -0
  106. package/google/api/http_pb.js +1012 -0
  107. package/google/api/http_pb_service.d.ts +3 -0
  108. package/google/api/http_pb_service.js +3 -0
  109. package/google/api/httpbody_pb.d.ts +38 -0
  110. package/google/api/httpbody_pb.js +292 -0
  111. package/google/api/httpbody_pb_service.d.ts +3 -0
  112. package/google/api/httpbody_pb_service.js +3 -0
  113. package/google/api/label_pb.d.ts +41 -0
  114. package/google/api/label_pb.js +246 -0
  115. package/google/api/label_pb_service.d.ts +3 -0
  116. package/google/api/label_pb_service.js +3 -0
  117. package/google/api/launch_stage_pb.d.ts +16 -0
  118. package/google/api/launch_stage_pb.js +37 -0
  119. package/google/api/launch_stage_pb_service.d.ts +3 -0
  120. package/google/api/launch_stage_pb_service.js +3 -0
  121. package/google/api/log_pb.d.ts +40 -0
  122. package/google/api/log_pb.js +298 -0
  123. package/google/api/log_pb_service.d.ts +3 -0
  124. package/google/api/log_pb_service.js +3 -0
  125. package/google/api/logging_pb.d.ts +60 -0
  126. package/google/api/logging_pb.js +469 -0
  127. package/google/api/logging_pb_service.d.ts +3 -0
  128. package/google/api/logging_pb_service.js +3 -0
  129. package/google/api/metric_pb.d.ts +100 -0
  130. package/google/api/metric_pb.js +629 -0
  131. package/google/api/metric_pb_service.d.ts +3 -0
  132. package/google/api/metric_pb_service.js +3 -0
  133. package/google/api/monitored_resource_pb.d.ts +93 -0
  134. package/google/api/monitored_resource_pb.js +723 -0
  135. package/google/api/monitored_resource_pb_service.d.ts +3 -0
  136. package/google/api/monitored_resource_pb_service.js +3 -0
  137. package/google/api/monitoring_pb.d.ts +60 -0
  138. package/google/api/monitoring_pb.js +469 -0
  139. package/google/api/monitoring_pb_service.d.ts +3 -0
  140. package/google/api/monitoring_pb_service.js +3 -0
  141. package/google/api/policy_pb.d.ts +64 -0
  142. package/google/api/policy_pb.js +502 -0
  143. package/google/api/policy_pb_service.d.ts +3 -0
  144. package/google/api/policy_pb_service.js +3 -0
  145. package/google/api/quota_pb.d.ts +112 -0
  146. package/google/api/quota_pb.js +873 -0
  147. package/google/api/quota_pb_service.d.ts +3 -0
  148. package/google/api/quota_pb_service.js +3 -0
  149. package/google/api/resource_pb.d.ts +99 -0
  150. package/google/api/resource_pb.js +684 -0
  151. package/google/api/resource_pb_service.d.ts +3 -0
  152. package/google/api/resource_pb_service.js +3 -0
  153. package/google/api/routing_pb.d.ts +54 -0
  154. package/google/api/routing_pb.js +416 -0
  155. package/google/api/routing_pb_service.d.ts +3 -0
  156. package/google/api/routing_pb_service.js +3 -0
  157. package/google/api/service_pb.d.ts +184 -0
  158. package/google/api/service_pb.js +1400 -0
  159. package/google/api/service_pb_service.d.ts +3 -0
  160. package/google/api/service_pb_service.js +3 -0
  161. package/google/api/source_info_pb.d.ts +28 -0
  162. package/google/api/source_info_pb.js +208 -0
  163. package/google/api/source_info_pb_service.d.ts +3 -0
  164. package/google/api/source_info_pb_service.js +3 -0
  165. package/google/api/system_parameter_pb.d.ts +81 -0
  166. package/google/api/system_parameter_pb.js +630 -0
  167. package/google/api/system_parameter_pb_service.d.ts +3 -0
  168. package/google/api/system_parameter_pb_service.js +3 -0
  169. package/google/api/usage_pb.d.ts +66 -0
  170. package/google/api/usage_pb.js +499 -0
  171. package/google/api/usage_pb_service.d.ts +3 -0
  172. package/google/api/usage_pb_service.js +3 -0
  173. package/google/api/visibility_pb.d.ts +64 -0
  174. package/google/api/visibility_pb.js +546 -0
  175. package/google/api/visibility_pb_service.d.ts +3 -0
  176. package/google/api/visibility_pb_service.js +3 -0
  177. package/meta.client_pb.d.ts +167 -0
  178. package/meta.client_pb.js +1266 -0
  179. package/meta.client_pb_service.d.ts +122 -0
  180. package/meta.client_pb_service.js +183 -0
  181. package/meta.spic_config_pb.d.ts +184 -0
  182. package/meta.spic_config_pb.js +1382 -0
  183. package/meta.spic_config_pb_service.d.ts +122 -0
  184. package/meta.spic_config_pb_service.js +183 -0
  185. package/package.json +1 -1
  186. package/platform.activity_log_pb.d.ts +177 -0
  187. package/platform.activity_log_pb.js +1294 -0
  188. package/platform.activity_log_pb_service.d.ts +82 -0
  189. package/platform.activity_log_pb_service.js +101 -0
  190. package/platform.client_pb.d.ts +350 -0
  191. package/platform.client_pb.js +2663 -0
  192. package/platform.client_pb_service.d.ts +158 -0
  193. package/platform.client_pb_service.js +261 -0
  194. package/platform.group_pb.d.ts +195 -0
  195. package/platform.group_pb.js +1476 -0
  196. package/platform.group_pb_service.d.ts +139 -0
  197. package/platform.group_pb_service.js +221 -0
  198. package/platform.local_account_internal_pb.d.ts +125 -0
  199. package/platform.local_account_internal_pb.js +933 -0
  200. package/platform.local_account_internal_pb_service.d.ts +121 -0
  201. package/platform.local_account_internal_pb_service.js +182 -0
  202. package/platform.local_account_pb.d.ts +446 -0
  203. package/platform.local_account_pb.js +3337 -0
  204. package/platform.local_account_pb_service.d.ts +331 -0
  205. package/platform.local_account_pb_service.js +623 -0
  206. package/platform.local_distribution_pb.d.ts +73 -0
  207. package/platform.local_distribution_pb.js +536 -0
  208. package/platform.local_distribution_pb_service.d.ts +63 -0
  209. package/platform.local_distribution_pb_service.js +61 -0
  210. package/platform.location_pb.d.ts +271 -0
  211. package/platform.location_pb.js +2046 -0
  212. package/platform.location_pb_service.d.ts +139 -0
  213. package/platform.location_pb_service.js +221 -0
  214. package/platform.pagination_pb.d.ts +45 -0
  215. package/platform.pagination_pb.js +276 -0
  216. package/platform.pagination_pb_service.d.ts +3 -0
  217. package/platform.pagination_pb_service.js +3 -0
  218. package/spic.admin_alert_pb.d.ts +91 -0
  219. package/spic.admin_alert_pb.js +666 -0
  220. package/spic.admin_alert_pb_service.d.ts +102 -0
  221. package/spic.admin_alert_pb_service.js +142 -0
  222. package/spic.alarm_pb.d.ts +344 -0
  223. package/spic.alarm_pb.js +2622 -0
  224. package/spic.alarm_pb_service.d.ts +101 -0
  225. package/spic.alarm_pb_service.js +141 -0
  226. package/spic.asset_pb.d.ts +652 -0
  227. package/spic.asset_pb.js +4669 -0
  228. package/spic.asset_pb_service.d.ts +197 -0
  229. package/spic.asset_pb_service.js +342 -0
  230. package/spic.cabinet_pb.d.ts +951 -0
  231. package/spic.cabinet_pb.js +6875 -0
  232. package/spic.cabinet_pb_service.d.ts +177 -0
  233. package/spic.cabinet_pb_service.js +301 -0
  234. package/spic.config_pb.d.ts +249 -0
  235. package/spic.config_pb.js +1891 -0
  236. package/spic.config_pb_service.d.ts +120 -0
  237. package/spic.config_pb_service.js +181 -0
  238. package/spic.contractor_pb.d.ts +195 -0
  239. package/spic.contractor_pb.js +1476 -0
  240. package/spic.contractor_pb_service.d.ts +139 -0
  241. package/spic.contractor_pb_service.js +221 -0
  242. package/spic.history_pb.d.ts +142 -0
  243. package/spic.history_pb.js +1130 -0
  244. package/spic.history_pb_service.d.ts +63 -0
  245. package/spic.history_pb_service.js +61 -0
  246. package/spic.open_request_pb.d.ts +237 -0
  247. package/spic.open_request_pb.js +1784 -0
  248. package/spic.open_request_pb_service.d.ts +101 -0
  249. package/spic.open_request_pb_service.js +141 -0
@@ -0,0 +1,2663 @@
1
+ // source: platform.client.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_api_annotations_pb = require('./google/api/annotations_pb.js');
25
+ goog.object.extend(proto, google_api_annotations_pb);
26
+ var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
27
+ goog.object.extend(proto, google_protobuf_wrappers_pb);
28
+ var platform_pagination_pb = require('./platform.pagination_pb.js');
29
+ goog.object.extend(proto, platform_pagination_pb);
30
+ var auth_account_pb = require('./auth.account_pb.js');
31
+ goog.object.extend(proto, auth_account_pb);
32
+ goog.exportSymbol('proto.Platform.ClientProto', null, global);
33
+ goog.exportSymbol('proto.Platform.ClientProto.ClientFilterType', null, global);
34
+ goog.exportSymbol('proto.Platform.ClientProto.CreateRequest', null, global);
35
+ goog.exportSymbol('proto.Platform.ClientProto.DeleteReply', null, global);
36
+ goog.exportSymbol('proto.Platform.ClientProto.DeleteRequest', null, global);
37
+ goog.exportSymbol('proto.Platform.ClientProto.RetrieveForAccountReply', null, global);
38
+ goog.exportSymbol('proto.Platform.ClientProto.RetrieveForAccountRequest', null, global);
39
+ goog.exportSymbol('proto.Platform.ClientProto.RetrieveRequest', null, global);
40
+ goog.exportSymbol('proto.Platform.ClientProto.SearchReply', null, global);
41
+ goog.exportSymbol('proto.Platform.ClientProto.SearchRequest', null, global);
42
+ goog.exportSymbol('proto.Platform.ClientProto.UpdateRequest', null, global);
43
+ /**
44
+ * Generated by JsPbCodeGenerator.
45
+ * @param {Array=} opt_data Optional initial data array, typically from a
46
+ * server response, or constructed directly in Javascript. The array is used
47
+ * in place and becomes part of the constructed object. It is not cloned.
48
+ * If no data is provided, the constructed object will be empty, but still
49
+ * valid.
50
+ * @extends {jspb.Message}
51
+ * @constructor
52
+ */
53
+ proto.Platform.ClientProto = function(opt_data) {
54
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.ClientProto.repeatedFields_, null);
55
+ };
56
+ goog.inherits(proto.Platform.ClientProto, jspb.Message);
57
+ if (goog.DEBUG && !COMPILED) {
58
+ /**
59
+ * @public
60
+ * @override
61
+ */
62
+ proto.Platform.ClientProto.displayName = 'proto.Platform.ClientProto';
63
+ }
64
+ /**
65
+ * Generated by JsPbCodeGenerator.
66
+ * @param {Array=} opt_data Optional initial data array, typically from a
67
+ * server response, or constructed directly in Javascript. The array is used
68
+ * in place and becomes part of the constructed object. It is not cloned.
69
+ * If no data is provided, the constructed object will be empty, but still
70
+ * valid.
71
+ * @extends {jspb.Message}
72
+ * @constructor
73
+ */
74
+ proto.Platform.ClientProto.CreateRequest = function(opt_data) {
75
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.ClientProto.CreateRequest.repeatedFields_, null);
76
+ };
77
+ goog.inherits(proto.Platform.ClientProto.CreateRequest, jspb.Message);
78
+ if (goog.DEBUG && !COMPILED) {
79
+ /**
80
+ * @public
81
+ * @override
82
+ */
83
+ proto.Platform.ClientProto.CreateRequest.displayName = 'proto.Platform.ClientProto.CreateRequest';
84
+ }
85
+ /**
86
+ * Generated by JsPbCodeGenerator.
87
+ * @param {Array=} opt_data Optional initial data array, typically from a
88
+ * server response, or constructed directly in Javascript. The array is used
89
+ * in place and becomes part of the constructed object. It is not cloned.
90
+ * If no data is provided, the constructed object will be empty, but still
91
+ * valid.
92
+ * @extends {jspb.Message}
93
+ * @constructor
94
+ */
95
+ proto.Platform.ClientProto.RetrieveRequest = function(opt_data) {
96
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
97
+ };
98
+ goog.inherits(proto.Platform.ClientProto.RetrieveRequest, jspb.Message);
99
+ if (goog.DEBUG && !COMPILED) {
100
+ /**
101
+ * @public
102
+ * @override
103
+ */
104
+ proto.Platform.ClientProto.RetrieveRequest.displayName = 'proto.Platform.ClientProto.RetrieveRequest';
105
+ }
106
+ /**
107
+ * Generated by JsPbCodeGenerator.
108
+ * @param {Array=} opt_data Optional initial data array, typically from a
109
+ * server response, or constructed directly in Javascript. The array is used
110
+ * in place and becomes part of the constructed object. It is not cloned.
111
+ * If no data is provided, the constructed object will be empty, but still
112
+ * valid.
113
+ * @extends {jspb.Message}
114
+ * @constructor
115
+ */
116
+ proto.Platform.ClientProto.SearchRequest = function(opt_data) {
117
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.ClientProto.SearchRequest.repeatedFields_, null);
118
+ };
119
+ goog.inherits(proto.Platform.ClientProto.SearchRequest, jspb.Message);
120
+ if (goog.DEBUG && !COMPILED) {
121
+ /**
122
+ * @public
123
+ * @override
124
+ */
125
+ proto.Platform.ClientProto.SearchRequest.displayName = 'proto.Platform.ClientProto.SearchRequest';
126
+ }
127
+ /**
128
+ * Generated by JsPbCodeGenerator.
129
+ * @param {Array=} opt_data Optional initial data array, typically from a
130
+ * server response, or constructed directly in Javascript. The array is used
131
+ * in place and becomes part of the constructed object. It is not cloned.
132
+ * If no data is provided, the constructed object will be empty, but still
133
+ * valid.
134
+ * @extends {jspb.Message}
135
+ * @constructor
136
+ */
137
+ proto.Platform.ClientProto.UpdateRequest = function(opt_data) {
138
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
139
+ };
140
+ goog.inherits(proto.Platform.ClientProto.UpdateRequest, jspb.Message);
141
+ if (goog.DEBUG && !COMPILED) {
142
+ /**
143
+ * @public
144
+ * @override
145
+ */
146
+ proto.Platform.ClientProto.UpdateRequest.displayName = 'proto.Platform.ClientProto.UpdateRequest';
147
+ }
148
+ /**
149
+ * Generated by JsPbCodeGenerator.
150
+ * @param {Array=} opt_data Optional initial data array, typically from a
151
+ * server response, or constructed directly in Javascript. The array is used
152
+ * in place and becomes part of the constructed object. It is not cloned.
153
+ * If no data is provided, the constructed object will be empty, but still
154
+ * valid.
155
+ * @extends {jspb.Message}
156
+ * @constructor
157
+ */
158
+ proto.Platform.ClientProto.DeleteRequest = function(opt_data) {
159
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
160
+ };
161
+ goog.inherits(proto.Platform.ClientProto.DeleteRequest, jspb.Message);
162
+ if (goog.DEBUG && !COMPILED) {
163
+ /**
164
+ * @public
165
+ * @override
166
+ */
167
+ proto.Platform.ClientProto.DeleteRequest.displayName = 'proto.Platform.ClientProto.DeleteRequest';
168
+ }
169
+ /**
170
+ * Generated by JsPbCodeGenerator.
171
+ * @param {Array=} opt_data Optional initial data array, typically from a
172
+ * server response, or constructed directly in Javascript. The array is used
173
+ * in place and becomes part of the constructed object. It is not cloned.
174
+ * If no data is provided, the constructed object will be empty, but still
175
+ * valid.
176
+ * @extends {jspb.Message}
177
+ * @constructor
178
+ */
179
+ proto.Platform.ClientProto.SearchReply = function(opt_data) {
180
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.ClientProto.SearchReply.repeatedFields_, null);
181
+ };
182
+ goog.inherits(proto.Platform.ClientProto.SearchReply, jspb.Message);
183
+ if (goog.DEBUG && !COMPILED) {
184
+ /**
185
+ * @public
186
+ * @override
187
+ */
188
+ proto.Platform.ClientProto.SearchReply.displayName = 'proto.Platform.ClientProto.SearchReply';
189
+ }
190
+ /**
191
+ * Generated by JsPbCodeGenerator.
192
+ * @param {Array=} opt_data Optional initial data array, typically from a
193
+ * server response, or constructed directly in Javascript. The array is used
194
+ * in place and becomes part of the constructed object. It is not cloned.
195
+ * If no data is provided, the constructed object will be empty, but still
196
+ * valid.
197
+ * @extends {jspb.Message}
198
+ * @constructor
199
+ */
200
+ proto.Platform.ClientProto.RetrieveForAccountRequest = function(opt_data) {
201
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
202
+ };
203
+ goog.inherits(proto.Platform.ClientProto.RetrieveForAccountRequest, jspb.Message);
204
+ if (goog.DEBUG && !COMPILED) {
205
+ /**
206
+ * @public
207
+ * @override
208
+ */
209
+ proto.Platform.ClientProto.RetrieveForAccountRequest.displayName = 'proto.Platform.ClientProto.RetrieveForAccountRequest';
210
+ }
211
+ /**
212
+ * Generated by JsPbCodeGenerator.
213
+ * @param {Array=} opt_data Optional initial data array, typically from a
214
+ * server response, or constructed directly in Javascript. The array is used
215
+ * in place and becomes part of the constructed object. It is not cloned.
216
+ * If no data is provided, the constructed object will be empty, but still
217
+ * valid.
218
+ * @extends {jspb.Message}
219
+ * @constructor
220
+ */
221
+ proto.Platform.ClientProto.RetrieveForAccountReply = function(opt_data) {
222
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.ClientProto.RetrieveForAccountReply.repeatedFields_, null);
223
+ };
224
+ goog.inherits(proto.Platform.ClientProto.RetrieveForAccountReply, jspb.Message);
225
+ if (goog.DEBUG && !COMPILED) {
226
+ /**
227
+ * @public
228
+ * @override
229
+ */
230
+ proto.Platform.ClientProto.RetrieveForAccountReply.displayName = 'proto.Platform.ClientProto.RetrieveForAccountReply';
231
+ }
232
+ /**
233
+ * Generated by JsPbCodeGenerator.
234
+ * @param {Array=} opt_data Optional initial data array, typically from a
235
+ * server response, or constructed directly in Javascript. The array is used
236
+ * in place and becomes part of the constructed object. It is not cloned.
237
+ * If no data is provided, the constructed object will be empty, but still
238
+ * valid.
239
+ * @extends {jspb.Message}
240
+ * @constructor
241
+ */
242
+ proto.Platform.ClientProto.DeleteReply = function(opt_data) {
243
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
244
+ };
245
+ goog.inherits(proto.Platform.ClientProto.DeleteReply, jspb.Message);
246
+ if (goog.DEBUG && !COMPILED) {
247
+ /**
248
+ * @public
249
+ * @override
250
+ */
251
+ proto.Platform.ClientProto.DeleteReply.displayName = 'proto.Platform.ClientProto.DeleteReply';
252
+ }
253
+
254
+ /**
255
+ * List of repeated fields within this message type.
256
+ * @private {!Array<number>}
257
+ * @const
258
+ */
259
+ proto.Platform.ClientProto.repeatedFields_ = [10];
260
+
261
+
262
+
263
+ if (jspb.Message.GENERATE_TO_OBJECT) {
264
+ /**
265
+ * Creates an object representation of this proto.
266
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
267
+ * Optional fields that are not set will be set to undefined.
268
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
269
+ * For the list of reserved names please see:
270
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
271
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
272
+ * JSPB instance for transitional soy proto support:
273
+ * http://goto/soy-param-migration
274
+ * @return {!Object}
275
+ */
276
+ proto.Platform.ClientProto.prototype.toObject = function(opt_includeInstance) {
277
+ return proto.Platform.ClientProto.toObject(opt_includeInstance, this);
278
+ };
279
+
280
+
281
+ /**
282
+ * Static version of the {@see toObject} method.
283
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
284
+ * the JSPB instance for transitional soy proto support:
285
+ * http://goto/soy-param-migration
286
+ * @param {!proto.Platform.ClientProto} msg The msg instance to transform.
287
+ * @return {!Object}
288
+ * @suppress {unusedLocalVariables} f is only used for nested messages
289
+ */
290
+ proto.Platform.ClientProto.toObject = function(includeInstance, msg) {
291
+ var f, obj = {
292
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
293
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
294
+ country: jspb.Message.getFieldWithDefault(msg, 3, ""),
295
+ image: msg.getImage_asB64(),
296
+ phone: jspb.Message.getFieldWithDefault(msg, 5, ""),
297
+ pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
298
+ spicModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
299
+ drumtrackerModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
300
+ kapusModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
301
+ assignableRolesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
302
+ };
303
+
304
+ if (includeInstance) {
305
+ obj.$jspbMessageInstance = msg;
306
+ }
307
+ return obj;
308
+ };
309
+ }
310
+
311
+
312
+ /**
313
+ * Deserializes binary data (in protobuf wire format).
314
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
315
+ * @return {!proto.Platform.ClientProto}
316
+ */
317
+ proto.Platform.ClientProto.deserializeBinary = function(bytes) {
318
+ var reader = new jspb.BinaryReader(bytes);
319
+ var msg = new proto.Platform.ClientProto;
320
+ return proto.Platform.ClientProto.deserializeBinaryFromReader(msg, reader);
321
+ };
322
+
323
+
324
+ /**
325
+ * Deserializes binary data (in protobuf wire format) from the
326
+ * given reader into the given message object.
327
+ * @param {!proto.Platform.ClientProto} msg The message object to deserialize into.
328
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
329
+ * @return {!proto.Platform.ClientProto}
330
+ */
331
+ proto.Platform.ClientProto.deserializeBinaryFromReader = function(msg, reader) {
332
+ while (reader.nextField()) {
333
+ if (reader.isEndGroup()) {
334
+ break;
335
+ }
336
+ var field = reader.getFieldNumber();
337
+ switch (field) {
338
+ case 1:
339
+ var value = /** @type {number} */ (reader.readInt32());
340
+ msg.setId(value);
341
+ break;
342
+ case 2:
343
+ var value = /** @type {string} */ (reader.readString());
344
+ msg.setName(value);
345
+ break;
346
+ case 3:
347
+ var value = /** @type {string} */ (reader.readString());
348
+ msg.setCountry(value);
349
+ break;
350
+ case 4:
351
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
352
+ msg.setImage(value);
353
+ break;
354
+ case 5:
355
+ var value = /** @type {string} */ (reader.readString());
356
+ msg.setPhone(value);
357
+ break;
358
+ case 6:
359
+ var value = /** @type {boolean} */ (reader.readBool());
360
+ msg.setPublic(value);
361
+ break;
362
+ case 7:
363
+ var value = /** @type {boolean} */ (reader.readBool());
364
+ msg.setSpicModuleEnabled(value);
365
+ break;
366
+ case 8:
367
+ var value = /** @type {boolean} */ (reader.readBool());
368
+ msg.setDrumtrackerModuleEnabled(value);
369
+ break;
370
+ case 9:
371
+ var value = /** @type {boolean} */ (reader.readBool());
372
+ msg.setKapusModuleEnabled(value);
373
+ break;
374
+ case 10:
375
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
376
+ for (var i = 0; i < values.length; i++) {
377
+ msg.addAssignableRoles(values[i]);
378
+ }
379
+ break;
380
+ default:
381
+ reader.skipField();
382
+ break;
383
+ }
384
+ }
385
+ return msg;
386
+ };
387
+
388
+
389
+ /**
390
+ * Serializes the message to binary data (in protobuf wire format).
391
+ * @return {!Uint8Array}
392
+ */
393
+ proto.Platform.ClientProto.prototype.serializeBinary = function() {
394
+ var writer = new jspb.BinaryWriter();
395
+ proto.Platform.ClientProto.serializeBinaryToWriter(this, writer);
396
+ return writer.getResultBuffer();
397
+ };
398
+
399
+
400
+ /**
401
+ * Serializes the given message to binary data (in protobuf wire
402
+ * format), writing to the given BinaryWriter.
403
+ * @param {!proto.Platform.ClientProto} message
404
+ * @param {!jspb.BinaryWriter} writer
405
+ * @suppress {unusedLocalVariables} f is only used for nested messages
406
+ */
407
+ proto.Platform.ClientProto.serializeBinaryToWriter = function(message, writer) {
408
+ var f = undefined;
409
+ f = message.getId();
410
+ if (f !== 0) {
411
+ writer.writeInt32(
412
+ 1,
413
+ f
414
+ );
415
+ }
416
+ f = message.getName();
417
+ if (f.length > 0) {
418
+ writer.writeString(
419
+ 2,
420
+ f
421
+ );
422
+ }
423
+ f = message.getCountry();
424
+ if (f.length > 0) {
425
+ writer.writeString(
426
+ 3,
427
+ f
428
+ );
429
+ }
430
+ f = message.getImage_asU8();
431
+ if (f.length > 0) {
432
+ writer.writeBytes(
433
+ 4,
434
+ f
435
+ );
436
+ }
437
+ f = message.getPhone();
438
+ if (f.length > 0) {
439
+ writer.writeString(
440
+ 5,
441
+ f
442
+ );
443
+ }
444
+ f = message.getPublic();
445
+ if (f) {
446
+ writer.writeBool(
447
+ 6,
448
+ f
449
+ );
450
+ }
451
+ f = message.getSpicModuleEnabled();
452
+ if (f) {
453
+ writer.writeBool(
454
+ 7,
455
+ f
456
+ );
457
+ }
458
+ f = message.getDrumtrackerModuleEnabled();
459
+ if (f) {
460
+ writer.writeBool(
461
+ 8,
462
+ f
463
+ );
464
+ }
465
+ f = message.getKapusModuleEnabled();
466
+ if (f) {
467
+ writer.writeBool(
468
+ 9,
469
+ f
470
+ );
471
+ }
472
+ f = message.getAssignableRolesList();
473
+ if (f.length > 0) {
474
+ writer.writePackedEnum(
475
+ 10,
476
+ f
477
+ );
478
+ }
479
+ };
480
+
481
+
482
+ /**
483
+ * @enum {number}
484
+ */
485
+ proto.Platform.ClientProto.ClientFilterType = {
486
+ REGISTERED: 0,
487
+ AVAILABLE: 1
488
+ };
489
+
490
+
491
+ /**
492
+ * List of repeated fields within this message type.
493
+ * @private {!Array<number>}
494
+ * @const
495
+ */
496
+ proto.Platform.ClientProto.CreateRequest.repeatedFields_ = [9];
497
+
498
+
499
+
500
+ if (jspb.Message.GENERATE_TO_OBJECT) {
501
+ /**
502
+ * Creates an object representation of this proto.
503
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
504
+ * Optional fields that are not set will be set to undefined.
505
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
506
+ * For the list of reserved names please see:
507
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
508
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
509
+ * JSPB instance for transitional soy proto support:
510
+ * http://goto/soy-param-migration
511
+ * @return {!Object}
512
+ */
513
+ proto.Platform.ClientProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
514
+ return proto.Platform.ClientProto.CreateRequest.toObject(opt_includeInstance, this);
515
+ };
516
+
517
+
518
+ /**
519
+ * Static version of the {@see toObject} method.
520
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
521
+ * the JSPB instance for transitional soy proto support:
522
+ * http://goto/soy-param-migration
523
+ * @param {!proto.Platform.ClientProto.CreateRequest} msg The msg instance to transform.
524
+ * @return {!Object}
525
+ * @suppress {unusedLocalVariables} f is only used for nested messages
526
+ */
527
+ proto.Platform.ClientProto.CreateRequest.toObject = function(includeInstance, msg) {
528
+ var f, obj = {
529
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
530
+ country: jspb.Message.getFieldWithDefault(msg, 2, ""),
531
+ image: (f = msg.getImage()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
532
+ phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
533
+ pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
534
+ spicModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
535
+ drumtrackerModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
536
+ kapusModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
537
+ assignableRolesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
538
+ };
539
+
540
+ if (includeInstance) {
541
+ obj.$jspbMessageInstance = msg;
542
+ }
543
+ return obj;
544
+ };
545
+ }
546
+
547
+
548
+ /**
549
+ * Deserializes binary data (in protobuf wire format).
550
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
551
+ * @return {!proto.Platform.ClientProto.CreateRequest}
552
+ */
553
+ proto.Platform.ClientProto.CreateRequest.deserializeBinary = function(bytes) {
554
+ var reader = new jspb.BinaryReader(bytes);
555
+ var msg = new proto.Platform.ClientProto.CreateRequest;
556
+ return proto.Platform.ClientProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
557
+ };
558
+
559
+
560
+ /**
561
+ * Deserializes binary data (in protobuf wire format) from the
562
+ * given reader into the given message object.
563
+ * @param {!proto.Platform.ClientProto.CreateRequest} msg The message object to deserialize into.
564
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
565
+ * @return {!proto.Platform.ClientProto.CreateRequest}
566
+ */
567
+ proto.Platform.ClientProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
568
+ while (reader.nextField()) {
569
+ if (reader.isEndGroup()) {
570
+ break;
571
+ }
572
+ var field = reader.getFieldNumber();
573
+ switch (field) {
574
+ case 1:
575
+ var value = /** @type {string} */ (reader.readString());
576
+ msg.setName(value);
577
+ break;
578
+ case 2:
579
+ var value = /** @type {string} */ (reader.readString());
580
+ msg.setCountry(value);
581
+ break;
582
+ case 3:
583
+ var value = new google_protobuf_wrappers_pb.BytesValue;
584
+ reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
585
+ msg.setImage(value);
586
+ break;
587
+ case 4:
588
+ var value = /** @type {string} */ (reader.readString());
589
+ msg.setPhone(value);
590
+ break;
591
+ case 5:
592
+ var value = /** @type {boolean} */ (reader.readBool());
593
+ msg.setPublic(value);
594
+ break;
595
+ case 6:
596
+ var value = /** @type {boolean} */ (reader.readBool());
597
+ msg.setSpicModuleEnabled(value);
598
+ break;
599
+ case 7:
600
+ var value = /** @type {boolean} */ (reader.readBool());
601
+ msg.setDrumtrackerModuleEnabled(value);
602
+ break;
603
+ case 8:
604
+ var value = /** @type {boolean} */ (reader.readBool());
605
+ msg.setKapusModuleEnabled(value);
606
+ break;
607
+ case 9:
608
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
609
+ for (var i = 0; i < values.length; i++) {
610
+ msg.addAssignableRoles(values[i]);
611
+ }
612
+ break;
613
+ default:
614
+ reader.skipField();
615
+ break;
616
+ }
617
+ }
618
+ return msg;
619
+ };
620
+
621
+
622
+ /**
623
+ * Serializes the message to binary data (in protobuf wire format).
624
+ * @return {!Uint8Array}
625
+ */
626
+ proto.Platform.ClientProto.CreateRequest.prototype.serializeBinary = function() {
627
+ var writer = new jspb.BinaryWriter();
628
+ proto.Platform.ClientProto.CreateRequest.serializeBinaryToWriter(this, writer);
629
+ return writer.getResultBuffer();
630
+ };
631
+
632
+
633
+ /**
634
+ * Serializes the given message to binary data (in protobuf wire
635
+ * format), writing to the given BinaryWriter.
636
+ * @param {!proto.Platform.ClientProto.CreateRequest} message
637
+ * @param {!jspb.BinaryWriter} writer
638
+ * @suppress {unusedLocalVariables} f is only used for nested messages
639
+ */
640
+ proto.Platform.ClientProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
641
+ var f = undefined;
642
+ f = message.getName();
643
+ if (f.length > 0) {
644
+ writer.writeString(
645
+ 1,
646
+ f
647
+ );
648
+ }
649
+ f = message.getCountry();
650
+ if (f.length > 0) {
651
+ writer.writeString(
652
+ 2,
653
+ f
654
+ );
655
+ }
656
+ f = message.getImage();
657
+ if (f != null) {
658
+ writer.writeMessage(
659
+ 3,
660
+ f,
661
+ google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
662
+ );
663
+ }
664
+ f = message.getPhone();
665
+ if (f.length > 0) {
666
+ writer.writeString(
667
+ 4,
668
+ f
669
+ );
670
+ }
671
+ f = message.getPublic();
672
+ if (f) {
673
+ writer.writeBool(
674
+ 5,
675
+ f
676
+ );
677
+ }
678
+ f = message.getSpicModuleEnabled();
679
+ if (f) {
680
+ writer.writeBool(
681
+ 6,
682
+ f
683
+ );
684
+ }
685
+ f = message.getDrumtrackerModuleEnabled();
686
+ if (f) {
687
+ writer.writeBool(
688
+ 7,
689
+ f
690
+ );
691
+ }
692
+ f = message.getKapusModuleEnabled();
693
+ if (f) {
694
+ writer.writeBool(
695
+ 8,
696
+ f
697
+ );
698
+ }
699
+ f = message.getAssignableRolesList();
700
+ if (f.length > 0) {
701
+ writer.writePackedEnum(
702
+ 9,
703
+ f
704
+ );
705
+ }
706
+ };
707
+
708
+
709
+ /**
710
+ * optional string name = 1;
711
+ * @return {string}
712
+ */
713
+ proto.Platform.ClientProto.CreateRequest.prototype.getName = function() {
714
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
715
+ };
716
+
717
+
718
+ /**
719
+ * @param {string} value
720
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
721
+ */
722
+ proto.Platform.ClientProto.CreateRequest.prototype.setName = function(value) {
723
+ return jspb.Message.setProto3StringField(this, 1, value);
724
+ };
725
+
726
+
727
+ /**
728
+ * optional string country = 2;
729
+ * @return {string}
730
+ */
731
+ proto.Platform.ClientProto.CreateRequest.prototype.getCountry = function() {
732
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
733
+ };
734
+
735
+
736
+ /**
737
+ * @param {string} value
738
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
739
+ */
740
+ proto.Platform.ClientProto.CreateRequest.prototype.setCountry = function(value) {
741
+ return jspb.Message.setProto3StringField(this, 2, value);
742
+ };
743
+
744
+
745
+ /**
746
+ * optional google.protobuf.BytesValue image = 3;
747
+ * @return {?proto.google.protobuf.BytesValue}
748
+ */
749
+ proto.Platform.ClientProto.CreateRequest.prototype.getImage = function() {
750
+ return /** @type{?proto.google.protobuf.BytesValue} */ (
751
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 3));
752
+ };
753
+
754
+
755
+ /**
756
+ * @param {?proto.google.protobuf.BytesValue|undefined} value
757
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
758
+ */
759
+ proto.Platform.ClientProto.CreateRequest.prototype.setImage = function(value) {
760
+ return jspb.Message.setWrapperField(this, 3, value);
761
+ };
762
+
763
+
764
+ /**
765
+ * Clears the message field making it undefined.
766
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
767
+ */
768
+ proto.Platform.ClientProto.CreateRequest.prototype.clearImage = function() {
769
+ return this.setImage(undefined);
770
+ };
771
+
772
+
773
+ /**
774
+ * Returns whether this field is set.
775
+ * @return {boolean}
776
+ */
777
+ proto.Platform.ClientProto.CreateRequest.prototype.hasImage = function() {
778
+ return jspb.Message.getField(this, 3) != null;
779
+ };
780
+
781
+
782
+ /**
783
+ * optional string phone = 4;
784
+ * @return {string}
785
+ */
786
+ proto.Platform.ClientProto.CreateRequest.prototype.getPhone = function() {
787
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
788
+ };
789
+
790
+
791
+ /**
792
+ * @param {string} value
793
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
794
+ */
795
+ proto.Platform.ClientProto.CreateRequest.prototype.setPhone = function(value) {
796
+ return jspb.Message.setProto3StringField(this, 4, value);
797
+ };
798
+
799
+
800
+ /**
801
+ * optional bool public = 5;
802
+ * @return {boolean}
803
+ */
804
+ proto.Platform.ClientProto.CreateRequest.prototype.getPublic = function() {
805
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
806
+ };
807
+
808
+
809
+ /**
810
+ * @param {boolean} value
811
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
812
+ */
813
+ proto.Platform.ClientProto.CreateRequest.prototype.setPublic = function(value) {
814
+ return jspb.Message.setProto3BooleanField(this, 5, value);
815
+ };
816
+
817
+
818
+ /**
819
+ * optional bool spic_module_enabled = 6;
820
+ * @return {boolean}
821
+ */
822
+ proto.Platform.ClientProto.CreateRequest.prototype.getSpicModuleEnabled = function() {
823
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
824
+ };
825
+
826
+
827
+ /**
828
+ * @param {boolean} value
829
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
830
+ */
831
+ proto.Platform.ClientProto.CreateRequest.prototype.setSpicModuleEnabled = function(value) {
832
+ return jspb.Message.setProto3BooleanField(this, 6, value);
833
+ };
834
+
835
+
836
+ /**
837
+ * optional bool drumtracker_module_enabled = 7;
838
+ * @return {boolean}
839
+ */
840
+ proto.Platform.ClientProto.CreateRequest.prototype.getDrumtrackerModuleEnabled = function() {
841
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
842
+ };
843
+
844
+
845
+ /**
846
+ * @param {boolean} value
847
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
848
+ */
849
+ proto.Platform.ClientProto.CreateRequest.prototype.setDrumtrackerModuleEnabled = function(value) {
850
+ return jspb.Message.setProto3BooleanField(this, 7, value);
851
+ };
852
+
853
+
854
+ /**
855
+ * optional bool kapus_module_enabled = 8;
856
+ * @return {boolean}
857
+ */
858
+ proto.Platform.ClientProto.CreateRequest.prototype.getKapusModuleEnabled = function() {
859
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
860
+ };
861
+
862
+
863
+ /**
864
+ * @param {boolean} value
865
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
866
+ */
867
+ proto.Platform.ClientProto.CreateRequest.prototype.setKapusModuleEnabled = function(value) {
868
+ return jspb.Message.setProto3BooleanField(this, 8, value);
869
+ };
870
+
871
+
872
+ /**
873
+ * repeated Auth.AccountProto.Roles assignable_roles = 9;
874
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
875
+ */
876
+ proto.Platform.ClientProto.CreateRequest.prototype.getAssignableRolesList = function() {
877
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 9));
878
+ };
879
+
880
+
881
+ /**
882
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
883
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
884
+ */
885
+ proto.Platform.ClientProto.CreateRequest.prototype.setAssignableRolesList = function(value) {
886
+ return jspb.Message.setField(this, 9, value || []);
887
+ };
888
+
889
+
890
+ /**
891
+ * @param {!proto.Auth.AccountProto.Roles} value
892
+ * @param {number=} opt_index
893
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
894
+ */
895
+ proto.Platform.ClientProto.CreateRequest.prototype.addAssignableRoles = function(value, opt_index) {
896
+ return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
897
+ };
898
+
899
+
900
+ /**
901
+ * Clears the list making it empty but non-null.
902
+ * @return {!proto.Platform.ClientProto.CreateRequest} returns this
903
+ */
904
+ proto.Platform.ClientProto.CreateRequest.prototype.clearAssignableRolesList = function() {
905
+ return this.setAssignableRolesList([]);
906
+ };
907
+
908
+
909
+
910
+
911
+
912
+ if (jspb.Message.GENERATE_TO_OBJECT) {
913
+ /**
914
+ * Creates an object representation of this proto.
915
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
916
+ * Optional fields that are not set will be set to undefined.
917
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
918
+ * For the list of reserved names please see:
919
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
920
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
921
+ * JSPB instance for transitional soy proto support:
922
+ * http://goto/soy-param-migration
923
+ * @return {!Object}
924
+ */
925
+ proto.Platform.ClientProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
926
+ return proto.Platform.ClientProto.RetrieveRequest.toObject(opt_includeInstance, this);
927
+ };
928
+
929
+
930
+ /**
931
+ * Static version of the {@see toObject} method.
932
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
933
+ * the JSPB instance for transitional soy proto support:
934
+ * http://goto/soy-param-migration
935
+ * @param {!proto.Platform.ClientProto.RetrieveRequest} msg The msg instance to transform.
936
+ * @return {!Object}
937
+ * @suppress {unusedLocalVariables} f is only used for nested messages
938
+ */
939
+ proto.Platform.ClientProto.RetrieveRequest.toObject = function(includeInstance, msg) {
940
+ var f, obj = {
941
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
942
+ };
943
+
944
+ if (includeInstance) {
945
+ obj.$jspbMessageInstance = msg;
946
+ }
947
+ return obj;
948
+ };
949
+ }
950
+
951
+
952
+ /**
953
+ * Deserializes binary data (in protobuf wire format).
954
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
955
+ * @return {!proto.Platform.ClientProto.RetrieveRequest}
956
+ */
957
+ proto.Platform.ClientProto.RetrieveRequest.deserializeBinary = function(bytes) {
958
+ var reader = new jspb.BinaryReader(bytes);
959
+ var msg = new proto.Platform.ClientProto.RetrieveRequest;
960
+ return proto.Platform.ClientProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
961
+ };
962
+
963
+
964
+ /**
965
+ * Deserializes binary data (in protobuf wire format) from the
966
+ * given reader into the given message object.
967
+ * @param {!proto.Platform.ClientProto.RetrieveRequest} msg The message object to deserialize into.
968
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
969
+ * @return {!proto.Platform.ClientProto.RetrieveRequest}
970
+ */
971
+ proto.Platform.ClientProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
972
+ while (reader.nextField()) {
973
+ if (reader.isEndGroup()) {
974
+ break;
975
+ }
976
+ var field = reader.getFieldNumber();
977
+ switch (field) {
978
+ case 1:
979
+ var value = /** @type {number} */ (reader.readInt32());
980
+ msg.setId(value);
981
+ break;
982
+ default:
983
+ reader.skipField();
984
+ break;
985
+ }
986
+ }
987
+ return msg;
988
+ };
989
+
990
+
991
+ /**
992
+ * Serializes the message to binary data (in protobuf wire format).
993
+ * @return {!Uint8Array}
994
+ */
995
+ proto.Platform.ClientProto.RetrieveRequest.prototype.serializeBinary = function() {
996
+ var writer = new jspb.BinaryWriter();
997
+ proto.Platform.ClientProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
998
+ return writer.getResultBuffer();
999
+ };
1000
+
1001
+
1002
+ /**
1003
+ * Serializes the given message to binary data (in protobuf wire
1004
+ * format), writing to the given BinaryWriter.
1005
+ * @param {!proto.Platform.ClientProto.RetrieveRequest} message
1006
+ * @param {!jspb.BinaryWriter} writer
1007
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1008
+ */
1009
+ proto.Platform.ClientProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
1010
+ var f = undefined;
1011
+ f = message.getId();
1012
+ if (f !== 0) {
1013
+ writer.writeInt32(
1014
+ 1,
1015
+ f
1016
+ );
1017
+ }
1018
+ };
1019
+
1020
+
1021
+ /**
1022
+ * optional int32 id = 1;
1023
+ * @return {number}
1024
+ */
1025
+ proto.Platform.ClientProto.RetrieveRequest.prototype.getId = function() {
1026
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1027
+ };
1028
+
1029
+
1030
+ /**
1031
+ * @param {number} value
1032
+ * @return {!proto.Platform.ClientProto.RetrieveRequest} returns this
1033
+ */
1034
+ proto.Platform.ClientProto.RetrieveRequest.prototype.setId = function(value) {
1035
+ return jspb.Message.setProto3IntField(this, 1, value);
1036
+ };
1037
+
1038
+
1039
+
1040
+ /**
1041
+ * List of repeated fields within this message type.
1042
+ * @private {!Array<number>}
1043
+ * @const
1044
+ */
1045
+ proto.Platform.ClientProto.SearchRequest.repeatedFields_ = [1];
1046
+
1047
+
1048
+
1049
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1050
+ /**
1051
+ * Creates an object representation of this proto.
1052
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1053
+ * Optional fields that are not set will be set to undefined.
1054
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1055
+ * For the list of reserved names please see:
1056
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1057
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1058
+ * JSPB instance for transitional soy proto support:
1059
+ * http://goto/soy-param-migration
1060
+ * @return {!Object}
1061
+ */
1062
+ proto.Platform.ClientProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1063
+ return proto.Platform.ClientProto.SearchRequest.toObject(opt_includeInstance, this);
1064
+ };
1065
+
1066
+
1067
+ /**
1068
+ * Static version of the {@see toObject} method.
1069
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1070
+ * the JSPB instance for transitional soy proto support:
1071
+ * http://goto/soy-param-migration
1072
+ * @param {!proto.Platform.ClientProto.SearchRequest} msg The msg instance to transform.
1073
+ * @return {!Object}
1074
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1075
+ */
1076
+ proto.Platform.ClientProto.SearchRequest.toObject = function(includeInstance, msg) {
1077
+ var f, obj = {
1078
+ idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
1079
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
1080
+ page: jspb.Message.getFieldWithDefault(msg, 3, 0),
1081
+ count: jspb.Message.getFieldWithDefault(msg, 4, 0),
1082
+ ispublic: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1083
+ showdrumtracking: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
1084
+ };
1085
+
1086
+ if (includeInstance) {
1087
+ obj.$jspbMessageInstance = msg;
1088
+ }
1089
+ return obj;
1090
+ };
1091
+ }
1092
+
1093
+
1094
+ /**
1095
+ * Deserializes binary data (in protobuf wire format).
1096
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1097
+ * @return {!proto.Platform.ClientProto.SearchRequest}
1098
+ */
1099
+ proto.Platform.ClientProto.SearchRequest.deserializeBinary = function(bytes) {
1100
+ var reader = new jspb.BinaryReader(bytes);
1101
+ var msg = new proto.Platform.ClientProto.SearchRequest;
1102
+ return proto.Platform.ClientProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1103
+ };
1104
+
1105
+
1106
+ /**
1107
+ * Deserializes binary data (in protobuf wire format) from the
1108
+ * given reader into the given message object.
1109
+ * @param {!proto.Platform.ClientProto.SearchRequest} msg The message object to deserialize into.
1110
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1111
+ * @return {!proto.Platform.ClientProto.SearchRequest}
1112
+ */
1113
+ proto.Platform.ClientProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1114
+ while (reader.nextField()) {
1115
+ if (reader.isEndGroup()) {
1116
+ break;
1117
+ }
1118
+ var field = reader.getFieldNumber();
1119
+ switch (field) {
1120
+ case 1:
1121
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
1122
+ for (var i = 0; i < values.length; i++) {
1123
+ msg.addIds(values[i]);
1124
+ }
1125
+ break;
1126
+ case 2:
1127
+ var value = /** @type {string} */ (reader.readString());
1128
+ msg.setName(value);
1129
+ break;
1130
+ case 3:
1131
+ var value = /** @type {number} */ (reader.readInt32());
1132
+ msg.setPage(value);
1133
+ break;
1134
+ case 4:
1135
+ var value = /** @type {number} */ (reader.readInt32());
1136
+ msg.setCount(value);
1137
+ break;
1138
+ case 5:
1139
+ var value = /** @type {boolean} */ (reader.readBool());
1140
+ msg.setIspublic(value);
1141
+ break;
1142
+ case 6:
1143
+ var value = /** @type {boolean} */ (reader.readBool());
1144
+ msg.setShowdrumtracking(value);
1145
+ break;
1146
+ default:
1147
+ reader.skipField();
1148
+ break;
1149
+ }
1150
+ }
1151
+ return msg;
1152
+ };
1153
+
1154
+
1155
+ /**
1156
+ * Serializes the message to binary data (in protobuf wire format).
1157
+ * @return {!Uint8Array}
1158
+ */
1159
+ proto.Platform.ClientProto.SearchRequest.prototype.serializeBinary = function() {
1160
+ var writer = new jspb.BinaryWriter();
1161
+ proto.Platform.ClientProto.SearchRequest.serializeBinaryToWriter(this, writer);
1162
+ return writer.getResultBuffer();
1163
+ };
1164
+
1165
+
1166
+ /**
1167
+ * Serializes the given message to binary data (in protobuf wire
1168
+ * format), writing to the given BinaryWriter.
1169
+ * @param {!proto.Platform.ClientProto.SearchRequest} message
1170
+ * @param {!jspb.BinaryWriter} writer
1171
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1172
+ */
1173
+ proto.Platform.ClientProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1174
+ var f = undefined;
1175
+ f = message.getIdsList();
1176
+ if (f.length > 0) {
1177
+ writer.writePackedInt32(
1178
+ 1,
1179
+ f
1180
+ );
1181
+ }
1182
+ f = message.getName();
1183
+ if (f.length > 0) {
1184
+ writer.writeString(
1185
+ 2,
1186
+ f
1187
+ );
1188
+ }
1189
+ f = message.getPage();
1190
+ if (f !== 0) {
1191
+ writer.writeInt32(
1192
+ 3,
1193
+ f
1194
+ );
1195
+ }
1196
+ f = message.getCount();
1197
+ if (f !== 0) {
1198
+ writer.writeInt32(
1199
+ 4,
1200
+ f
1201
+ );
1202
+ }
1203
+ f = message.getIspublic();
1204
+ if (f) {
1205
+ writer.writeBool(
1206
+ 5,
1207
+ f
1208
+ );
1209
+ }
1210
+ f = message.getShowdrumtracking();
1211
+ if (f) {
1212
+ writer.writeBool(
1213
+ 6,
1214
+ f
1215
+ );
1216
+ }
1217
+ };
1218
+
1219
+
1220
+ /**
1221
+ * repeated int32 ids = 1;
1222
+ * @return {!Array<number>}
1223
+ */
1224
+ proto.Platform.ClientProto.SearchRequest.prototype.getIdsList = function() {
1225
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
1226
+ };
1227
+
1228
+
1229
+ /**
1230
+ * @param {!Array<number>} value
1231
+ * @return {!proto.Platform.ClientProto.SearchRequest} returns this
1232
+ */
1233
+ proto.Platform.ClientProto.SearchRequest.prototype.setIdsList = function(value) {
1234
+ return jspb.Message.setField(this, 1, value || []);
1235
+ };
1236
+
1237
+
1238
+ /**
1239
+ * @param {number} value
1240
+ * @param {number=} opt_index
1241
+ * @return {!proto.Platform.ClientProto.SearchRequest} returns this
1242
+ */
1243
+ proto.Platform.ClientProto.SearchRequest.prototype.addIds = function(value, opt_index) {
1244
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1245
+ };
1246
+
1247
+
1248
+ /**
1249
+ * Clears the list making it empty but non-null.
1250
+ * @return {!proto.Platform.ClientProto.SearchRequest} returns this
1251
+ */
1252
+ proto.Platform.ClientProto.SearchRequest.prototype.clearIdsList = function() {
1253
+ return this.setIdsList([]);
1254
+ };
1255
+
1256
+
1257
+ /**
1258
+ * optional string name = 2;
1259
+ * @return {string}
1260
+ */
1261
+ proto.Platform.ClientProto.SearchRequest.prototype.getName = function() {
1262
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1263
+ };
1264
+
1265
+
1266
+ /**
1267
+ * @param {string} value
1268
+ * @return {!proto.Platform.ClientProto.SearchRequest} returns this
1269
+ */
1270
+ proto.Platform.ClientProto.SearchRequest.prototype.setName = function(value) {
1271
+ return jspb.Message.setProto3StringField(this, 2, value);
1272
+ };
1273
+
1274
+
1275
+ /**
1276
+ * optional int32 page = 3;
1277
+ * @return {number}
1278
+ */
1279
+ proto.Platform.ClientProto.SearchRequest.prototype.getPage = function() {
1280
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1281
+ };
1282
+
1283
+
1284
+ /**
1285
+ * @param {number} value
1286
+ * @return {!proto.Platform.ClientProto.SearchRequest} returns this
1287
+ */
1288
+ proto.Platform.ClientProto.SearchRequest.prototype.setPage = function(value) {
1289
+ return jspb.Message.setProto3IntField(this, 3, value);
1290
+ };
1291
+
1292
+
1293
+ /**
1294
+ * optional int32 count = 4;
1295
+ * @return {number}
1296
+ */
1297
+ proto.Platform.ClientProto.SearchRequest.prototype.getCount = function() {
1298
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1299
+ };
1300
+
1301
+
1302
+ /**
1303
+ * @param {number} value
1304
+ * @return {!proto.Platform.ClientProto.SearchRequest} returns this
1305
+ */
1306
+ proto.Platform.ClientProto.SearchRequest.prototype.setCount = function(value) {
1307
+ return jspb.Message.setProto3IntField(this, 4, value);
1308
+ };
1309
+
1310
+
1311
+ /**
1312
+ * optional bool isPublic = 5;
1313
+ * @return {boolean}
1314
+ */
1315
+ proto.Platform.ClientProto.SearchRequest.prototype.getIspublic = function() {
1316
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
1317
+ };
1318
+
1319
+
1320
+ /**
1321
+ * @param {boolean} value
1322
+ * @return {!proto.Platform.ClientProto.SearchRequest} returns this
1323
+ */
1324
+ proto.Platform.ClientProto.SearchRequest.prototype.setIspublic = function(value) {
1325
+ return jspb.Message.setProto3BooleanField(this, 5, value);
1326
+ };
1327
+
1328
+
1329
+ /**
1330
+ * optional bool showDrumTracking = 6;
1331
+ * @return {boolean}
1332
+ */
1333
+ proto.Platform.ClientProto.SearchRequest.prototype.getShowdrumtracking = function() {
1334
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
1335
+ };
1336
+
1337
+
1338
+ /**
1339
+ * @param {boolean} value
1340
+ * @return {!proto.Platform.ClientProto.SearchRequest} returns this
1341
+ */
1342
+ proto.Platform.ClientProto.SearchRequest.prototype.setShowdrumtracking = function(value) {
1343
+ return jspb.Message.setProto3BooleanField(this, 6, value);
1344
+ };
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1351
+ /**
1352
+ * Creates an object representation of this proto.
1353
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1354
+ * Optional fields that are not set will be set to undefined.
1355
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1356
+ * For the list of reserved names please see:
1357
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1358
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1359
+ * JSPB instance for transitional soy proto support:
1360
+ * http://goto/soy-param-migration
1361
+ * @return {!Object}
1362
+ */
1363
+ proto.Platform.ClientProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
1364
+ return proto.Platform.ClientProto.UpdateRequest.toObject(opt_includeInstance, this);
1365
+ };
1366
+
1367
+
1368
+ /**
1369
+ * Static version of the {@see toObject} method.
1370
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1371
+ * the JSPB instance for transitional soy proto support:
1372
+ * http://goto/soy-param-migration
1373
+ * @param {!proto.Platform.ClientProto.UpdateRequest} msg The msg instance to transform.
1374
+ * @return {!Object}
1375
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1376
+ */
1377
+ proto.Platform.ClientProto.UpdateRequest.toObject = function(includeInstance, msg) {
1378
+ var f, obj = {
1379
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1380
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
1381
+ country: jspb.Message.getFieldWithDefault(msg, 3, ""),
1382
+ image: (f = msg.getImage()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
1383
+ phone: jspb.Message.getFieldWithDefault(msg, 5, ""),
1384
+ pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
1385
+ };
1386
+
1387
+ if (includeInstance) {
1388
+ obj.$jspbMessageInstance = msg;
1389
+ }
1390
+ return obj;
1391
+ };
1392
+ }
1393
+
1394
+
1395
+ /**
1396
+ * Deserializes binary data (in protobuf wire format).
1397
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1398
+ * @return {!proto.Platform.ClientProto.UpdateRequest}
1399
+ */
1400
+ proto.Platform.ClientProto.UpdateRequest.deserializeBinary = function(bytes) {
1401
+ var reader = new jspb.BinaryReader(bytes);
1402
+ var msg = new proto.Platform.ClientProto.UpdateRequest;
1403
+ return proto.Platform.ClientProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
1404
+ };
1405
+
1406
+
1407
+ /**
1408
+ * Deserializes binary data (in protobuf wire format) from the
1409
+ * given reader into the given message object.
1410
+ * @param {!proto.Platform.ClientProto.UpdateRequest} msg The message object to deserialize into.
1411
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1412
+ * @return {!proto.Platform.ClientProto.UpdateRequest}
1413
+ */
1414
+ proto.Platform.ClientProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
1415
+ while (reader.nextField()) {
1416
+ if (reader.isEndGroup()) {
1417
+ break;
1418
+ }
1419
+ var field = reader.getFieldNumber();
1420
+ switch (field) {
1421
+ case 1:
1422
+ var value = /** @type {number} */ (reader.readInt32());
1423
+ msg.setId(value);
1424
+ break;
1425
+ case 2:
1426
+ var value = /** @type {string} */ (reader.readString());
1427
+ msg.setName(value);
1428
+ break;
1429
+ case 3:
1430
+ var value = /** @type {string} */ (reader.readString());
1431
+ msg.setCountry(value);
1432
+ break;
1433
+ case 4:
1434
+ var value = new google_protobuf_wrappers_pb.BytesValue;
1435
+ reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
1436
+ msg.setImage(value);
1437
+ break;
1438
+ case 5:
1439
+ var value = /** @type {string} */ (reader.readString());
1440
+ msg.setPhone(value);
1441
+ break;
1442
+ case 6:
1443
+ var value = /** @type {boolean} */ (reader.readBool());
1444
+ msg.setPublic(value);
1445
+ break;
1446
+ default:
1447
+ reader.skipField();
1448
+ break;
1449
+ }
1450
+ }
1451
+ return msg;
1452
+ };
1453
+
1454
+
1455
+ /**
1456
+ * Serializes the message to binary data (in protobuf wire format).
1457
+ * @return {!Uint8Array}
1458
+ */
1459
+ proto.Platform.ClientProto.UpdateRequest.prototype.serializeBinary = function() {
1460
+ var writer = new jspb.BinaryWriter();
1461
+ proto.Platform.ClientProto.UpdateRequest.serializeBinaryToWriter(this, writer);
1462
+ return writer.getResultBuffer();
1463
+ };
1464
+
1465
+
1466
+ /**
1467
+ * Serializes the given message to binary data (in protobuf wire
1468
+ * format), writing to the given BinaryWriter.
1469
+ * @param {!proto.Platform.ClientProto.UpdateRequest} message
1470
+ * @param {!jspb.BinaryWriter} writer
1471
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1472
+ */
1473
+ proto.Platform.ClientProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
1474
+ var f = undefined;
1475
+ f = message.getId();
1476
+ if (f !== 0) {
1477
+ writer.writeInt32(
1478
+ 1,
1479
+ f
1480
+ );
1481
+ }
1482
+ f = message.getName();
1483
+ if (f.length > 0) {
1484
+ writer.writeString(
1485
+ 2,
1486
+ f
1487
+ );
1488
+ }
1489
+ f = message.getCountry();
1490
+ if (f.length > 0) {
1491
+ writer.writeString(
1492
+ 3,
1493
+ f
1494
+ );
1495
+ }
1496
+ f = message.getImage();
1497
+ if (f != null) {
1498
+ writer.writeMessage(
1499
+ 4,
1500
+ f,
1501
+ google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
1502
+ );
1503
+ }
1504
+ f = message.getPhone();
1505
+ if (f.length > 0) {
1506
+ writer.writeString(
1507
+ 5,
1508
+ f
1509
+ );
1510
+ }
1511
+ f = message.getPublic();
1512
+ if (f) {
1513
+ writer.writeBool(
1514
+ 6,
1515
+ f
1516
+ );
1517
+ }
1518
+ };
1519
+
1520
+
1521
+ /**
1522
+ * optional int32 id = 1;
1523
+ * @return {number}
1524
+ */
1525
+ proto.Platform.ClientProto.UpdateRequest.prototype.getId = function() {
1526
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1527
+ };
1528
+
1529
+
1530
+ /**
1531
+ * @param {number} value
1532
+ * @return {!proto.Platform.ClientProto.UpdateRequest} returns this
1533
+ */
1534
+ proto.Platform.ClientProto.UpdateRequest.prototype.setId = function(value) {
1535
+ return jspb.Message.setProto3IntField(this, 1, value);
1536
+ };
1537
+
1538
+
1539
+ /**
1540
+ * optional string name = 2;
1541
+ * @return {string}
1542
+ */
1543
+ proto.Platform.ClientProto.UpdateRequest.prototype.getName = function() {
1544
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1545
+ };
1546
+
1547
+
1548
+ /**
1549
+ * @param {string} value
1550
+ * @return {!proto.Platform.ClientProto.UpdateRequest} returns this
1551
+ */
1552
+ proto.Platform.ClientProto.UpdateRequest.prototype.setName = function(value) {
1553
+ return jspb.Message.setProto3StringField(this, 2, value);
1554
+ };
1555
+
1556
+
1557
+ /**
1558
+ * optional string country = 3;
1559
+ * @return {string}
1560
+ */
1561
+ proto.Platform.ClientProto.UpdateRequest.prototype.getCountry = function() {
1562
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1563
+ };
1564
+
1565
+
1566
+ /**
1567
+ * @param {string} value
1568
+ * @return {!proto.Platform.ClientProto.UpdateRequest} returns this
1569
+ */
1570
+ proto.Platform.ClientProto.UpdateRequest.prototype.setCountry = function(value) {
1571
+ return jspb.Message.setProto3StringField(this, 3, value);
1572
+ };
1573
+
1574
+
1575
+ /**
1576
+ * optional google.protobuf.BytesValue image = 4;
1577
+ * @return {?proto.google.protobuf.BytesValue}
1578
+ */
1579
+ proto.Platform.ClientProto.UpdateRequest.prototype.getImage = function() {
1580
+ return /** @type{?proto.google.protobuf.BytesValue} */ (
1581
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 4));
1582
+ };
1583
+
1584
+
1585
+ /**
1586
+ * @param {?proto.google.protobuf.BytesValue|undefined} value
1587
+ * @return {!proto.Platform.ClientProto.UpdateRequest} returns this
1588
+ */
1589
+ proto.Platform.ClientProto.UpdateRequest.prototype.setImage = function(value) {
1590
+ return jspb.Message.setWrapperField(this, 4, value);
1591
+ };
1592
+
1593
+
1594
+ /**
1595
+ * Clears the message field making it undefined.
1596
+ * @return {!proto.Platform.ClientProto.UpdateRequest} returns this
1597
+ */
1598
+ proto.Platform.ClientProto.UpdateRequest.prototype.clearImage = function() {
1599
+ return this.setImage(undefined);
1600
+ };
1601
+
1602
+
1603
+ /**
1604
+ * Returns whether this field is set.
1605
+ * @return {boolean}
1606
+ */
1607
+ proto.Platform.ClientProto.UpdateRequest.prototype.hasImage = function() {
1608
+ return jspb.Message.getField(this, 4) != null;
1609
+ };
1610
+
1611
+
1612
+ /**
1613
+ * optional string phone = 5;
1614
+ * @return {string}
1615
+ */
1616
+ proto.Platform.ClientProto.UpdateRequest.prototype.getPhone = function() {
1617
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1618
+ };
1619
+
1620
+
1621
+ /**
1622
+ * @param {string} value
1623
+ * @return {!proto.Platform.ClientProto.UpdateRequest} returns this
1624
+ */
1625
+ proto.Platform.ClientProto.UpdateRequest.prototype.setPhone = function(value) {
1626
+ return jspb.Message.setProto3StringField(this, 5, value);
1627
+ };
1628
+
1629
+
1630
+ /**
1631
+ * optional bool public = 6;
1632
+ * @return {boolean}
1633
+ */
1634
+ proto.Platform.ClientProto.UpdateRequest.prototype.getPublic = function() {
1635
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
1636
+ };
1637
+
1638
+
1639
+ /**
1640
+ * @param {boolean} value
1641
+ * @return {!proto.Platform.ClientProto.UpdateRequest} returns this
1642
+ */
1643
+ proto.Platform.ClientProto.UpdateRequest.prototype.setPublic = function(value) {
1644
+ return jspb.Message.setProto3BooleanField(this, 6, value);
1645
+ };
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1652
+ /**
1653
+ * Creates an object representation of this proto.
1654
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1655
+ * Optional fields that are not set will be set to undefined.
1656
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1657
+ * For the list of reserved names please see:
1658
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1659
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1660
+ * JSPB instance for transitional soy proto support:
1661
+ * http://goto/soy-param-migration
1662
+ * @return {!Object}
1663
+ */
1664
+ proto.Platform.ClientProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
1665
+ return proto.Platform.ClientProto.DeleteRequest.toObject(opt_includeInstance, this);
1666
+ };
1667
+
1668
+
1669
+ /**
1670
+ * Static version of the {@see toObject} method.
1671
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1672
+ * the JSPB instance for transitional soy proto support:
1673
+ * http://goto/soy-param-migration
1674
+ * @param {!proto.Platform.ClientProto.DeleteRequest} msg The msg instance to transform.
1675
+ * @return {!Object}
1676
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1677
+ */
1678
+ proto.Platform.ClientProto.DeleteRequest.toObject = function(includeInstance, msg) {
1679
+ var f, obj = {
1680
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1681
+ };
1682
+
1683
+ if (includeInstance) {
1684
+ obj.$jspbMessageInstance = msg;
1685
+ }
1686
+ return obj;
1687
+ };
1688
+ }
1689
+
1690
+
1691
+ /**
1692
+ * Deserializes binary data (in protobuf wire format).
1693
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1694
+ * @return {!proto.Platform.ClientProto.DeleteRequest}
1695
+ */
1696
+ proto.Platform.ClientProto.DeleteRequest.deserializeBinary = function(bytes) {
1697
+ var reader = new jspb.BinaryReader(bytes);
1698
+ var msg = new proto.Platform.ClientProto.DeleteRequest;
1699
+ return proto.Platform.ClientProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
1700
+ };
1701
+
1702
+
1703
+ /**
1704
+ * Deserializes binary data (in protobuf wire format) from the
1705
+ * given reader into the given message object.
1706
+ * @param {!proto.Platform.ClientProto.DeleteRequest} msg The message object to deserialize into.
1707
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1708
+ * @return {!proto.Platform.ClientProto.DeleteRequest}
1709
+ */
1710
+ proto.Platform.ClientProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
1711
+ while (reader.nextField()) {
1712
+ if (reader.isEndGroup()) {
1713
+ break;
1714
+ }
1715
+ var field = reader.getFieldNumber();
1716
+ switch (field) {
1717
+ case 1:
1718
+ var value = /** @type {number} */ (reader.readInt32());
1719
+ msg.setId(value);
1720
+ break;
1721
+ default:
1722
+ reader.skipField();
1723
+ break;
1724
+ }
1725
+ }
1726
+ return msg;
1727
+ };
1728
+
1729
+
1730
+ /**
1731
+ * Serializes the message to binary data (in protobuf wire format).
1732
+ * @return {!Uint8Array}
1733
+ */
1734
+ proto.Platform.ClientProto.DeleteRequest.prototype.serializeBinary = function() {
1735
+ var writer = new jspb.BinaryWriter();
1736
+ proto.Platform.ClientProto.DeleteRequest.serializeBinaryToWriter(this, writer);
1737
+ return writer.getResultBuffer();
1738
+ };
1739
+
1740
+
1741
+ /**
1742
+ * Serializes the given message to binary data (in protobuf wire
1743
+ * format), writing to the given BinaryWriter.
1744
+ * @param {!proto.Platform.ClientProto.DeleteRequest} message
1745
+ * @param {!jspb.BinaryWriter} writer
1746
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1747
+ */
1748
+ proto.Platform.ClientProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
1749
+ var f = undefined;
1750
+ f = message.getId();
1751
+ if (f !== 0) {
1752
+ writer.writeInt32(
1753
+ 1,
1754
+ f
1755
+ );
1756
+ }
1757
+ };
1758
+
1759
+
1760
+ /**
1761
+ * optional int32 id = 1;
1762
+ * @return {number}
1763
+ */
1764
+ proto.Platform.ClientProto.DeleteRequest.prototype.getId = function() {
1765
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1766
+ };
1767
+
1768
+
1769
+ /**
1770
+ * @param {number} value
1771
+ * @return {!proto.Platform.ClientProto.DeleteRequest} returns this
1772
+ */
1773
+ proto.Platform.ClientProto.DeleteRequest.prototype.setId = function(value) {
1774
+ return jspb.Message.setProto3IntField(this, 1, value);
1775
+ };
1776
+
1777
+
1778
+
1779
+ /**
1780
+ * List of repeated fields within this message type.
1781
+ * @private {!Array<number>}
1782
+ * @const
1783
+ */
1784
+ proto.Platform.ClientProto.SearchReply.repeatedFields_ = [1];
1785
+
1786
+
1787
+
1788
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1789
+ /**
1790
+ * Creates an object representation of this proto.
1791
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1792
+ * Optional fields that are not set will be set to undefined.
1793
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1794
+ * For the list of reserved names please see:
1795
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1796
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1797
+ * JSPB instance for transitional soy proto support:
1798
+ * http://goto/soy-param-migration
1799
+ * @return {!Object}
1800
+ */
1801
+ proto.Platform.ClientProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1802
+ return proto.Platform.ClientProto.SearchReply.toObject(opt_includeInstance, this);
1803
+ };
1804
+
1805
+
1806
+ /**
1807
+ * Static version of the {@see toObject} method.
1808
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1809
+ * the JSPB instance for transitional soy proto support:
1810
+ * http://goto/soy-param-migration
1811
+ * @param {!proto.Platform.ClientProto.SearchReply} msg The msg instance to transform.
1812
+ * @return {!Object}
1813
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1814
+ */
1815
+ proto.Platform.ClientProto.SearchReply.toObject = function(includeInstance, msg) {
1816
+ var f, obj = {
1817
+ clientsList: jspb.Message.toObjectList(msg.getClientsList(),
1818
+ proto.Platform.ClientProto.toObject, includeInstance),
1819
+ pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1820
+ };
1821
+
1822
+ if (includeInstance) {
1823
+ obj.$jspbMessageInstance = msg;
1824
+ }
1825
+ return obj;
1826
+ };
1827
+ }
1828
+
1829
+
1830
+ /**
1831
+ * Deserializes binary data (in protobuf wire format).
1832
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1833
+ * @return {!proto.Platform.ClientProto.SearchReply}
1834
+ */
1835
+ proto.Platform.ClientProto.SearchReply.deserializeBinary = function(bytes) {
1836
+ var reader = new jspb.BinaryReader(bytes);
1837
+ var msg = new proto.Platform.ClientProto.SearchReply;
1838
+ return proto.Platform.ClientProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1839
+ };
1840
+
1841
+
1842
+ /**
1843
+ * Deserializes binary data (in protobuf wire format) from the
1844
+ * given reader into the given message object.
1845
+ * @param {!proto.Platform.ClientProto.SearchReply} msg The message object to deserialize into.
1846
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1847
+ * @return {!proto.Platform.ClientProto.SearchReply}
1848
+ */
1849
+ proto.Platform.ClientProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1850
+ while (reader.nextField()) {
1851
+ if (reader.isEndGroup()) {
1852
+ break;
1853
+ }
1854
+ var field = reader.getFieldNumber();
1855
+ switch (field) {
1856
+ case 1:
1857
+ var value = new proto.Platform.ClientProto;
1858
+ reader.readMessage(value,proto.Platform.ClientProto.deserializeBinaryFromReader);
1859
+ msg.addClients(value);
1860
+ break;
1861
+ case 2:
1862
+ var value = new platform_pagination_pb.PaginationProto;
1863
+ reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1864
+ msg.setPagination(value);
1865
+ break;
1866
+ default:
1867
+ reader.skipField();
1868
+ break;
1869
+ }
1870
+ }
1871
+ return msg;
1872
+ };
1873
+
1874
+
1875
+ /**
1876
+ * Serializes the message to binary data (in protobuf wire format).
1877
+ * @return {!Uint8Array}
1878
+ */
1879
+ proto.Platform.ClientProto.SearchReply.prototype.serializeBinary = function() {
1880
+ var writer = new jspb.BinaryWriter();
1881
+ proto.Platform.ClientProto.SearchReply.serializeBinaryToWriter(this, writer);
1882
+ return writer.getResultBuffer();
1883
+ };
1884
+
1885
+
1886
+ /**
1887
+ * Serializes the given message to binary data (in protobuf wire
1888
+ * format), writing to the given BinaryWriter.
1889
+ * @param {!proto.Platform.ClientProto.SearchReply} message
1890
+ * @param {!jspb.BinaryWriter} writer
1891
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1892
+ */
1893
+ proto.Platform.ClientProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1894
+ var f = undefined;
1895
+ f = message.getClientsList();
1896
+ if (f.length > 0) {
1897
+ writer.writeRepeatedMessage(
1898
+ 1,
1899
+ f,
1900
+ proto.Platform.ClientProto.serializeBinaryToWriter
1901
+ );
1902
+ }
1903
+ f = message.getPagination();
1904
+ if (f != null) {
1905
+ writer.writeMessage(
1906
+ 2,
1907
+ f,
1908
+ platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1909
+ );
1910
+ }
1911
+ };
1912
+
1913
+
1914
+ /**
1915
+ * repeated ClientProto clients = 1;
1916
+ * @return {!Array<!proto.Platform.ClientProto>}
1917
+ */
1918
+ proto.Platform.ClientProto.SearchReply.prototype.getClientsList = function() {
1919
+ return /** @type{!Array<!proto.Platform.ClientProto>} */ (
1920
+ jspb.Message.getRepeatedWrapperField(this, proto.Platform.ClientProto, 1));
1921
+ };
1922
+
1923
+
1924
+ /**
1925
+ * @param {!Array<!proto.Platform.ClientProto>} value
1926
+ * @return {!proto.Platform.ClientProto.SearchReply} returns this
1927
+ */
1928
+ proto.Platform.ClientProto.SearchReply.prototype.setClientsList = function(value) {
1929
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1930
+ };
1931
+
1932
+
1933
+ /**
1934
+ * @param {!proto.Platform.ClientProto=} opt_value
1935
+ * @param {number=} opt_index
1936
+ * @return {!proto.Platform.ClientProto}
1937
+ */
1938
+ proto.Platform.ClientProto.SearchReply.prototype.addClients = function(opt_value, opt_index) {
1939
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Platform.ClientProto, opt_index);
1940
+ };
1941
+
1942
+
1943
+ /**
1944
+ * Clears the list making it empty but non-null.
1945
+ * @return {!proto.Platform.ClientProto.SearchReply} returns this
1946
+ */
1947
+ proto.Platform.ClientProto.SearchReply.prototype.clearClientsList = function() {
1948
+ return this.setClientsList([]);
1949
+ };
1950
+
1951
+
1952
+ /**
1953
+ * optional PaginationProto pagination = 2;
1954
+ * @return {?proto.Platform.PaginationProto}
1955
+ */
1956
+ proto.Platform.ClientProto.SearchReply.prototype.getPagination = function() {
1957
+ return /** @type{?proto.Platform.PaginationProto} */ (
1958
+ jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1959
+ };
1960
+
1961
+
1962
+ /**
1963
+ * @param {?proto.Platform.PaginationProto|undefined} value
1964
+ * @return {!proto.Platform.ClientProto.SearchReply} returns this
1965
+ */
1966
+ proto.Platform.ClientProto.SearchReply.prototype.setPagination = function(value) {
1967
+ return jspb.Message.setWrapperField(this, 2, value);
1968
+ };
1969
+
1970
+
1971
+ /**
1972
+ * Clears the message field making it undefined.
1973
+ * @return {!proto.Platform.ClientProto.SearchReply} returns this
1974
+ */
1975
+ proto.Platform.ClientProto.SearchReply.prototype.clearPagination = function() {
1976
+ return this.setPagination(undefined);
1977
+ };
1978
+
1979
+
1980
+ /**
1981
+ * Returns whether this field is set.
1982
+ * @return {boolean}
1983
+ */
1984
+ proto.Platform.ClientProto.SearchReply.prototype.hasPagination = function() {
1985
+ return jspb.Message.getField(this, 2) != null;
1986
+ };
1987
+
1988
+
1989
+
1990
+
1991
+
1992
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1993
+ /**
1994
+ * Creates an object representation of this proto.
1995
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1996
+ * Optional fields that are not set will be set to undefined.
1997
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1998
+ * For the list of reserved names please see:
1999
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2000
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2001
+ * JSPB instance for transitional soy proto support:
2002
+ * http://goto/soy-param-migration
2003
+ * @return {!Object}
2004
+ */
2005
+ proto.Platform.ClientProto.RetrieveForAccountRequest.prototype.toObject = function(opt_includeInstance) {
2006
+ return proto.Platform.ClientProto.RetrieveForAccountRequest.toObject(opt_includeInstance, this);
2007
+ };
2008
+
2009
+
2010
+ /**
2011
+ * Static version of the {@see toObject} method.
2012
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2013
+ * the JSPB instance for transitional soy proto support:
2014
+ * http://goto/soy-param-migration
2015
+ * @param {!proto.Platform.ClientProto.RetrieveForAccountRequest} msg The msg instance to transform.
2016
+ * @return {!Object}
2017
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2018
+ */
2019
+ proto.Platform.ClientProto.RetrieveForAccountRequest.toObject = function(includeInstance, msg) {
2020
+ var f, obj = {
2021
+ accountId: jspb.Message.getFieldWithDefault(msg, 1, 0),
2022
+ clientFilterType: jspb.Message.getFieldWithDefault(msg, 2, 0)
2023
+ };
2024
+
2025
+ if (includeInstance) {
2026
+ obj.$jspbMessageInstance = msg;
2027
+ }
2028
+ return obj;
2029
+ };
2030
+ }
2031
+
2032
+
2033
+ /**
2034
+ * Deserializes binary data (in protobuf wire format).
2035
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2036
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountRequest}
2037
+ */
2038
+ proto.Platform.ClientProto.RetrieveForAccountRequest.deserializeBinary = function(bytes) {
2039
+ var reader = new jspb.BinaryReader(bytes);
2040
+ var msg = new proto.Platform.ClientProto.RetrieveForAccountRequest;
2041
+ return proto.Platform.ClientProto.RetrieveForAccountRequest.deserializeBinaryFromReader(msg, reader);
2042
+ };
2043
+
2044
+
2045
+ /**
2046
+ * Deserializes binary data (in protobuf wire format) from the
2047
+ * given reader into the given message object.
2048
+ * @param {!proto.Platform.ClientProto.RetrieveForAccountRequest} msg The message object to deserialize into.
2049
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2050
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountRequest}
2051
+ */
2052
+ proto.Platform.ClientProto.RetrieveForAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
2053
+ while (reader.nextField()) {
2054
+ if (reader.isEndGroup()) {
2055
+ break;
2056
+ }
2057
+ var field = reader.getFieldNumber();
2058
+ switch (field) {
2059
+ case 1:
2060
+ var value = /** @type {number} */ (reader.readInt32());
2061
+ msg.setAccountId(value);
2062
+ break;
2063
+ case 2:
2064
+ var value = /** @type {!proto.Platform.ClientProto.ClientFilterType} */ (reader.readEnum());
2065
+ msg.setClientFilterType(value);
2066
+ break;
2067
+ default:
2068
+ reader.skipField();
2069
+ break;
2070
+ }
2071
+ }
2072
+ return msg;
2073
+ };
2074
+
2075
+
2076
+ /**
2077
+ * Serializes the message to binary data (in protobuf wire format).
2078
+ * @return {!Uint8Array}
2079
+ */
2080
+ proto.Platform.ClientProto.RetrieveForAccountRequest.prototype.serializeBinary = function() {
2081
+ var writer = new jspb.BinaryWriter();
2082
+ proto.Platform.ClientProto.RetrieveForAccountRequest.serializeBinaryToWriter(this, writer);
2083
+ return writer.getResultBuffer();
2084
+ };
2085
+
2086
+
2087
+ /**
2088
+ * Serializes the given message to binary data (in protobuf wire
2089
+ * format), writing to the given BinaryWriter.
2090
+ * @param {!proto.Platform.ClientProto.RetrieveForAccountRequest} message
2091
+ * @param {!jspb.BinaryWriter} writer
2092
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2093
+ */
2094
+ proto.Platform.ClientProto.RetrieveForAccountRequest.serializeBinaryToWriter = function(message, writer) {
2095
+ var f = undefined;
2096
+ f = message.getAccountId();
2097
+ if (f !== 0) {
2098
+ writer.writeInt32(
2099
+ 1,
2100
+ f
2101
+ );
2102
+ }
2103
+ f = message.getClientFilterType();
2104
+ if (f !== 0.0) {
2105
+ writer.writeEnum(
2106
+ 2,
2107
+ f
2108
+ );
2109
+ }
2110
+ };
2111
+
2112
+
2113
+ /**
2114
+ * optional int32 account_id = 1;
2115
+ * @return {number}
2116
+ */
2117
+ proto.Platform.ClientProto.RetrieveForAccountRequest.prototype.getAccountId = function() {
2118
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2119
+ };
2120
+
2121
+
2122
+ /**
2123
+ * @param {number} value
2124
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountRequest} returns this
2125
+ */
2126
+ proto.Platform.ClientProto.RetrieveForAccountRequest.prototype.setAccountId = function(value) {
2127
+ return jspb.Message.setProto3IntField(this, 1, value);
2128
+ };
2129
+
2130
+
2131
+ /**
2132
+ * optional ClientFilterType client_filter_type = 2;
2133
+ * @return {!proto.Platform.ClientProto.ClientFilterType}
2134
+ */
2135
+ proto.Platform.ClientProto.RetrieveForAccountRequest.prototype.getClientFilterType = function() {
2136
+ return /** @type {!proto.Platform.ClientProto.ClientFilterType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2137
+ };
2138
+
2139
+
2140
+ /**
2141
+ * @param {!proto.Platform.ClientProto.ClientFilterType} value
2142
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountRequest} returns this
2143
+ */
2144
+ proto.Platform.ClientProto.RetrieveForAccountRequest.prototype.setClientFilterType = function(value) {
2145
+ return jspb.Message.setProto3EnumField(this, 2, value);
2146
+ };
2147
+
2148
+
2149
+
2150
+ /**
2151
+ * List of repeated fields within this message type.
2152
+ * @private {!Array<number>}
2153
+ * @const
2154
+ */
2155
+ proto.Platform.ClientProto.RetrieveForAccountReply.repeatedFields_ = [1];
2156
+
2157
+
2158
+
2159
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2160
+ /**
2161
+ * Creates an object representation of this proto.
2162
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2163
+ * Optional fields that are not set will be set to undefined.
2164
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2165
+ * For the list of reserved names please see:
2166
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2167
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2168
+ * JSPB instance for transitional soy proto support:
2169
+ * http://goto/soy-param-migration
2170
+ * @return {!Object}
2171
+ */
2172
+ proto.Platform.ClientProto.RetrieveForAccountReply.prototype.toObject = function(opt_includeInstance) {
2173
+ return proto.Platform.ClientProto.RetrieveForAccountReply.toObject(opt_includeInstance, this);
2174
+ };
2175
+
2176
+
2177
+ /**
2178
+ * Static version of the {@see toObject} method.
2179
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2180
+ * the JSPB instance for transitional soy proto support:
2181
+ * http://goto/soy-param-migration
2182
+ * @param {!proto.Platform.ClientProto.RetrieveForAccountReply} msg The msg instance to transform.
2183
+ * @return {!Object}
2184
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2185
+ */
2186
+ proto.Platform.ClientProto.RetrieveForAccountReply.toObject = function(includeInstance, msg) {
2187
+ var f, obj = {
2188
+ clientsList: jspb.Message.toObjectList(msg.getClientsList(),
2189
+ proto.Platform.ClientProto.toObject, includeInstance),
2190
+ clientFilterType: jspb.Message.getFieldWithDefault(msg, 2, 0)
2191
+ };
2192
+
2193
+ if (includeInstance) {
2194
+ obj.$jspbMessageInstance = msg;
2195
+ }
2196
+ return obj;
2197
+ };
2198
+ }
2199
+
2200
+
2201
+ /**
2202
+ * Deserializes binary data (in protobuf wire format).
2203
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2204
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountReply}
2205
+ */
2206
+ proto.Platform.ClientProto.RetrieveForAccountReply.deserializeBinary = function(bytes) {
2207
+ var reader = new jspb.BinaryReader(bytes);
2208
+ var msg = new proto.Platform.ClientProto.RetrieveForAccountReply;
2209
+ return proto.Platform.ClientProto.RetrieveForAccountReply.deserializeBinaryFromReader(msg, reader);
2210
+ };
2211
+
2212
+
2213
+ /**
2214
+ * Deserializes binary data (in protobuf wire format) from the
2215
+ * given reader into the given message object.
2216
+ * @param {!proto.Platform.ClientProto.RetrieveForAccountReply} msg The message object to deserialize into.
2217
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2218
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountReply}
2219
+ */
2220
+ proto.Platform.ClientProto.RetrieveForAccountReply.deserializeBinaryFromReader = function(msg, reader) {
2221
+ while (reader.nextField()) {
2222
+ if (reader.isEndGroup()) {
2223
+ break;
2224
+ }
2225
+ var field = reader.getFieldNumber();
2226
+ switch (field) {
2227
+ case 1:
2228
+ var value = new proto.Platform.ClientProto;
2229
+ reader.readMessage(value,proto.Platform.ClientProto.deserializeBinaryFromReader);
2230
+ msg.addClients(value);
2231
+ break;
2232
+ case 2:
2233
+ var value = /** @type {!proto.Platform.ClientProto.ClientFilterType} */ (reader.readEnum());
2234
+ msg.setClientFilterType(value);
2235
+ break;
2236
+ default:
2237
+ reader.skipField();
2238
+ break;
2239
+ }
2240
+ }
2241
+ return msg;
2242
+ };
2243
+
2244
+
2245
+ /**
2246
+ * Serializes the message to binary data (in protobuf wire format).
2247
+ * @return {!Uint8Array}
2248
+ */
2249
+ proto.Platform.ClientProto.RetrieveForAccountReply.prototype.serializeBinary = function() {
2250
+ var writer = new jspb.BinaryWriter();
2251
+ proto.Platform.ClientProto.RetrieveForAccountReply.serializeBinaryToWriter(this, writer);
2252
+ return writer.getResultBuffer();
2253
+ };
2254
+
2255
+
2256
+ /**
2257
+ * Serializes the given message to binary data (in protobuf wire
2258
+ * format), writing to the given BinaryWriter.
2259
+ * @param {!proto.Platform.ClientProto.RetrieveForAccountReply} message
2260
+ * @param {!jspb.BinaryWriter} writer
2261
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2262
+ */
2263
+ proto.Platform.ClientProto.RetrieveForAccountReply.serializeBinaryToWriter = function(message, writer) {
2264
+ var f = undefined;
2265
+ f = message.getClientsList();
2266
+ if (f.length > 0) {
2267
+ writer.writeRepeatedMessage(
2268
+ 1,
2269
+ f,
2270
+ proto.Platform.ClientProto.serializeBinaryToWriter
2271
+ );
2272
+ }
2273
+ f = message.getClientFilterType();
2274
+ if (f !== 0.0) {
2275
+ writer.writeEnum(
2276
+ 2,
2277
+ f
2278
+ );
2279
+ }
2280
+ };
2281
+
2282
+
2283
+ /**
2284
+ * repeated ClientProto clients = 1;
2285
+ * @return {!Array<!proto.Platform.ClientProto>}
2286
+ */
2287
+ proto.Platform.ClientProto.RetrieveForAccountReply.prototype.getClientsList = function() {
2288
+ return /** @type{!Array<!proto.Platform.ClientProto>} */ (
2289
+ jspb.Message.getRepeatedWrapperField(this, proto.Platform.ClientProto, 1));
2290
+ };
2291
+
2292
+
2293
+ /**
2294
+ * @param {!Array<!proto.Platform.ClientProto>} value
2295
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountReply} returns this
2296
+ */
2297
+ proto.Platform.ClientProto.RetrieveForAccountReply.prototype.setClientsList = function(value) {
2298
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2299
+ };
2300
+
2301
+
2302
+ /**
2303
+ * @param {!proto.Platform.ClientProto=} opt_value
2304
+ * @param {number=} opt_index
2305
+ * @return {!proto.Platform.ClientProto}
2306
+ */
2307
+ proto.Platform.ClientProto.RetrieveForAccountReply.prototype.addClients = function(opt_value, opt_index) {
2308
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Platform.ClientProto, opt_index);
2309
+ };
2310
+
2311
+
2312
+ /**
2313
+ * Clears the list making it empty but non-null.
2314
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountReply} returns this
2315
+ */
2316
+ proto.Platform.ClientProto.RetrieveForAccountReply.prototype.clearClientsList = function() {
2317
+ return this.setClientsList([]);
2318
+ };
2319
+
2320
+
2321
+ /**
2322
+ * optional ClientFilterType client_filter_type = 2;
2323
+ * @return {!proto.Platform.ClientProto.ClientFilterType}
2324
+ */
2325
+ proto.Platform.ClientProto.RetrieveForAccountReply.prototype.getClientFilterType = function() {
2326
+ return /** @type {!proto.Platform.ClientProto.ClientFilterType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2327
+ };
2328
+
2329
+
2330
+ /**
2331
+ * @param {!proto.Platform.ClientProto.ClientFilterType} value
2332
+ * @return {!proto.Platform.ClientProto.RetrieveForAccountReply} returns this
2333
+ */
2334
+ proto.Platform.ClientProto.RetrieveForAccountReply.prototype.setClientFilterType = function(value) {
2335
+ return jspb.Message.setProto3EnumField(this, 2, value);
2336
+ };
2337
+
2338
+
2339
+
2340
+
2341
+
2342
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2343
+ /**
2344
+ * Creates an object representation of this proto.
2345
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2346
+ * Optional fields that are not set will be set to undefined.
2347
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2348
+ * For the list of reserved names please see:
2349
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2350
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2351
+ * JSPB instance for transitional soy proto support:
2352
+ * http://goto/soy-param-migration
2353
+ * @return {!Object}
2354
+ */
2355
+ proto.Platform.ClientProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
2356
+ return proto.Platform.ClientProto.DeleteReply.toObject(opt_includeInstance, this);
2357
+ };
2358
+
2359
+
2360
+ /**
2361
+ * Static version of the {@see toObject} method.
2362
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2363
+ * the JSPB instance for transitional soy proto support:
2364
+ * http://goto/soy-param-migration
2365
+ * @param {!proto.Platform.ClientProto.DeleteReply} msg The msg instance to transform.
2366
+ * @return {!Object}
2367
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2368
+ */
2369
+ proto.Platform.ClientProto.DeleteReply.toObject = function(includeInstance, msg) {
2370
+ var f, obj = {
2371
+
2372
+ };
2373
+
2374
+ if (includeInstance) {
2375
+ obj.$jspbMessageInstance = msg;
2376
+ }
2377
+ return obj;
2378
+ };
2379
+ }
2380
+
2381
+
2382
+ /**
2383
+ * Deserializes binary data (in protobuf wire format).
2384
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2385
+ * @return {!proto.Platform.ClientProto.DeleteReply}
2386
+ */
2387
+ proto.Platform.ClientProto.DeleteReply.deserializeBinary = function(bytes) {
2388
+ var reader = new jspb.BinaryReader(bytes);
2389
+ var msg = new proto.Platform.ClientProto.DeleteReply;
2390
+ return proto.Platform.ClientProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
2391
+ };
2392
+
2393
+
2394
+ /**
2395
+ * Deserializes binary data (in protobuf wire format) from the
2396
+ * given reader into the given message object.
2397
+ * @param {!proto.Platform.ClientProto.DeleteReply} msg The message object to deserialize into.
2398
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2399
+ * @return {!proto.Platform.ClientProto.DeleteReply}
2400
+ */
2401
+ proto.Platform.ClientProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
2402
+ while (reader.nextField()) {
2403
+ if (reader.isEndGroup()) {
2404
+ break;
2405
+ }
2406
+ var field = reader.getFieldNumber();
2407
+ switch (field) {
2408
+ default:
2409
+ reader.skipField();
2410
+ break;
2411
+ }
2412
+ }
2413
+ return msg;
2414
+ };
2415
+
2416
+
2417
+ /**
2418
+ * Serializes the message to binary data (in protobuf wire format).
2419
+ * @return {!Uint8Array}
2420
+ */
2421
+ proto.Platform.ClientProto.DeleteReply.prototype.serializeBinary = function() {
2422
+ var writer = new jspb.BinaryWriter();
2423
+ proto.Platform.ClientProto.DeleteReply.serializeBinaryToWriter(this, writer);
2424
+ return writer.getResultBuffer();
2425
+ };
2426
+
2427
+
2428
+ /**
2429
+ * Serializes the given message to binary data (in protobuf wire
2430
+ * format), writing to the given BinaryWriter.
2431
+ * @param {!proto.Platform.ClientProto.DeleteReply} message
2432
+ * @param {!jspb.BinaryWriter} writer
2433
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2434
+ */
2435
+ proto.Platform.ClientProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
2436
+ var f = undefined;
2437
+ };
2438
+
2439
+
2440
+ /**
2441
+ * optional int32 id = 1;
2442
+ * @return {number}
2443
+ */
2444
+ proto.Platform.ClientProto.prototype.getId = function() {
2445
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2446
+ };
2447
+
2448
+
2449
+ /**
2450
+ * @param {number} value
2451
+ * @return {!proto.Platform.ClientProto} returns this
2452
+ */
2453
+ proto.Platform.ClientProto.prototype.setId = function(value) {
2454
+ return jspb.Message.setProto3IntField(this, 1, value);
2455
+ };
2456
+
2457
+
2458
+ /**
2459
+ * optional string name = 2;
2460
+ * @return {string}
2461
+ */
2462
+ proto.Platform.ClientProto.prototype.getName = function() {
2463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2464
+ };
2465
+
2466
+
2467
+ /**
2468
+ * @param {string} value
2469
+ * @return {!proto.Platform.ClientProto} returns this
2470
+ */
2471
+ proto.Platform.ClientProto.prototype.setName = function(value) {
2472
+ return jspb.Message.setProto3StringField(this, 2, value);
2473
+ };
2474
+
2475
+
2476
+ /**
2477
+ * optional string country = 3;
2478
+ * @return {string}
2479
+ */
2480
+ proto.Platform.ClientProto.prototype.getCountry = function() {
2481
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2482
+ };
2483
+
2484
+
2485
+ /**
2486
+ * @param {string} value
2487
+ * @return {!proto.Platform.ClientProto} returns this
2488
+ */
2489
+ proto.Platform.ClientProto.prototype.setCountry = function(value) {
2490
+ return jspb.Message.setProto3StringField(this, 3, value);
2491
+ };
2492
+
2493
+
2494
+ /**
2495
+ * optional bytes image = 4;
2496
+ * @return {!(string|Uint8Array)}
2497
+ */
2498
+ proto.Platform.ClientProto.prototype.getImage = function() {
2499
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2500
+ };
2501
+
2502
+
2503
+ /**
2504
+ * optional bytes image = 4;
2505
+ * This is a type-conversion wrapper around `getImage()`
2506
+ * @return {string}
2507
+ */
2508
+ proto.Platform.ClientProto.prototype.getImage_asB64 = function() {
2509
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
2510
+ this.getImage()));
2511
+ };
2512
+
2513
+
2514
+ /**
2515
+ * optional bytes image = 4;
2516
+ * Note that Uint8Array is not supported on all browsers.
2517
+ * @see http://caniuse.com/Uint8Array
2518
+ * This is a type-conversion wrapper around `getImage()`
2519
+ * @return {!Uint8Array}
2520
+ */
2521
+ proto.Platform.ClientProto.prototype.getImage_asU8 = function() {
2522
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
2523
+ this.getImage()));
2524
+ };
2525
+
2526
+
2527
+ /**
2528
+ * @param {!(string|Uint8Array)} value
2529
+ * @return {!proto.Platform.ClientProto} returns this
2530
+ */
2531
+ proto.Platform.ClientProto.prototype.setImage = function(value) {
2532
+ return jspb.Message.setProto3BytesField(this, 4, value);
2533
+ };
2534
+
2535
+
2536
+ /**
2537
+ * optional string phone = 5;
2538
+ * @return {string}
2539
+ */
2540
+ proto.Platform.ClientProto.prototype.getPhone = function() {
2541
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2542
+ };
2543
+
2544
+
2545
+ /**
2546
+ * @param {string} value
2547
+ * @return {!proto.Platform.ClientProto} returns this
2548
+ */
2549
+ proto.Platform.ClientProto.prototype.setPhone = function(value) {
2550
+ return jspb.Message.setProto3StringField(this, 5, value);
2551
+ };
2552
+
2553
+
2554
+ /**
2555
+ * optional bool public = 6;
2556
+ * @return {boolean}
2557
+ */
2558
+ proto.Platform.ClientProto.prototype.getPublic = function() {
2559
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
2560
+ };
2561
+
2562
+
2563
+ /**
2564
+ * @param {boolean} value
2565
+ * @return {!proto.Platform.ClientProto} returns this
2566
+ */
2567
+ proto.Platform.ClientProto.prototype.setPublic = function(value) {
2568
+ return jspb.Message.setProto3BooleanField(this, 6, value);
2569
+ };
2570
+
2571
+
2572
+ /**
2573
+ * optional bool spic_module_enabled = 7;
2574
+ * @return {boolean}
2575
+ */
2576
+ proto.Platform.ClientProto.prototype.getSpicModuleEnabled = function() {
2577
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
2578
+ };
2579
+
2580
+
2581
+ /**
2582
+ * @param {boolean} value
2583
+ * @return {!proto.Platform.ClientProto} returns this
2584
+ */
2585
+ proto.Platform.ClientProto.prototype.setSpicModuleEnabled = function(value) {
2586
+ return jspb.Message.setProto3BooleanField(this, 7, value);
2587
+ };
2588
+
2589
+
2590
+ /**
2591
+ * optional bool drumtracker_module_enabled = 8;
2592
+ * @return {boolean}
2593
+ */
2594
+ proto.Platform.ClientProto.prototype.getDrumtrackerModuleEnabled = function() {
2595
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
2596
+ };
2597
+
2598
+
2599
+ /**
2600
+ * @param {boolean} value
2601
+ * @return {!proto.Platform.ClientProto} returns this
2602
+ */
2603
+ proto.Platform.ClientProto.prototype.setDrumtrackerModuleEnabled = function(value) {
2604
+ return jspb.Message.setProto3BooleanField(this, 8, value);
2605
+ };
2606
+
2607
+
2608
+ /**
2609
+ * optional bool kapus_module_enabled = 9;
2610
+ * @return {boolean}
2611
+ */
2612
+ proto.Platform.ClientProto.prototype.getKapusModuleEnabled = function() {
2613
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
2614
+ };
2615
+
2616
+
2617
+ /**
2618
+ * @param {boolean} value
2619
+ * @return {!proto.Platform.ClientProto} returns this
2620
+ */
2621
+ proto.Platform.ClientProto.prototype.setKapusModuleEnabled = function(value) {
2622
+ return jspb.Message.setProto3BooleanField(this, 9, value);
2623
+ };
2624
+
2625
+
2626
+ /**
2627
+ * repeated Auth.AccountProto.Roles assignable_roles = 10;
2628
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
2629
+ */
2630
+ proto.Platform.ClientProto.prototype.getAssignableRolesList = function() {
2631
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 10));
2632
+ };
2633
+
2634
+
2635
+ /**
2636
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
2637
+ * @return {!proto.Platform.ClientProto} returns this
2638
+ */
2639
+ proto.Platform.ClientProto.prototype.setAssignableRolesList = function(value) {
2640
+ return jspb.Message.setField(this, 10, value || []);
2641
+ };
2642
+
2643
+
2644
+ /**
2645
+ * @param {!proto.Auth.AccountProto.Roles} value
2646
+ * @param {number=} opt_index
2647
+ * @return {!proto.Platform.ClientProto} returns this
2648
+ */
2649
+ proto.Platform.ClientProto.prototype.addAssignableRoles = function(value, opt_index) {
2650
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
2651
+ };
2652
+
2653
+
2654
+ /**
2655
+ * Clears the list making it empty but non-null.
2656
+ * @return {!proto.Platform.ClientProto} returns this
2657
+ */
2658
+ proto.Platform.ClientProto.prototype.clearAssignableRolesList = function() {
2659
+ return this.setAssignableRolesList([]);
2660
+ };
2661
+
2662
+
2663
+ goog.object.extend(exports, proto.Platform);