@aceplus/smartace-api 2.13.0-alpha.11 → 2.13.0-alpha.12

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 (229) hide show
  1. package/auth.account_pb.d.ts +574 -0
  2. package/auth.account_pb.js +4227 -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 +94 -0
  22. package/auth.authn_pb.js +636 -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 +258 -0
  26. package/auth.cluster_pb.js +1929 -0
  27. package/auth.cluster_pb_service.d.ts +139 -0
  28. package/auth.cluster_pb_service.js +221 -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 +277 -0
  34. package/auth.email_pb.js +1960 -0
  35. package/auth.email_pb_service.d.ts +121 -0
  36. package/auth.email_pb_service.js +182 -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 +187 -0
  42. package/auth.push_notification_pb.js +1289 -0
  43. package/auth.push_notification_pb_service.d.ts +121 -0
  44. package/auth.push_notification_pb_service.js +182 -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 +157 -0
  199. package/platform.local_account_internal_pb.js +1187 -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 +388 -0
  203. package/platform.local_account_pb.js +2963 -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 +69 -0
  207. package/platform.local_distribution_pb.js +506 -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.cabinet_pb.d.ts +1344 -0
  219. package/spic.cabinet_pb.js +9963 -0
  220. package/spic.cabinet_pb_service.d.ts +359 -0
  221. package/spic.cabinet_pb_service.js +677 -0
  222. package/spic.config_pb.d.ts +249 -0
  223. package/spic.config_pb.js +1891 -0
  224. package/spic.config_pb_service.d.ts +120 -0
  225. package/spic.config_pb_service.js +181 -0
  226. package/spic.contractor_pb.d.ts +195 -0
  227. package/spic.contractor_pb.js +1476 -0
  228. package/spic.contractor_pb_service.d.ts +139 -0
  229. package/spic.contractor_pb_service.js +221 -0
@@ -0,0 +1,1187 @@
1
+ // source: platform.local_account_internal.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 auth_account_pb = require('./auth.account_pb.js');
25
+ goog.object.extend(proto, auth_account_pb);
26
+ var platform_local_account_pb = require('./platform.local_account_pb.js');
27
+ goog.object.extend(proto, platform_local_account_pb);
28
+ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
29
+ goog.object.extend(proto, google_api_annotations_pb);
30
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
31
+ goog.object.extend(proto, google_protobuf_empty_pb);
32
+ goog.exportSymbol('proto.Platform.LocalAccountExtendedProto', null, global);
33
+ goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.AddClientRequest', null, global);
34
+ goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.ClientGroupProto', null, global);
35
+ goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.DeleteRequest', null, global);
36
+ goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.RemoveClientRequest', null, global);
37
+ goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.RetrieveRequest', null, global);
38
+ /**
39
+ * Generated by JsPbCodeGenerator.
40
+ * @param {Array=} opt_data Optional initial data array, typically from a
41
+ * server response, or constructed directly in Javascript. The array is used
42
+ * in place and becomes part of the constructed object. It is not cloned.
43
+ * If no data is provided, the constructed object will be empty, but still
44
+ * valid.
45
+ * @extends {jspb.Message}
46
+ * @constructor
47
+ */
48
+ proto.Platform.LocalAccountExtendedProto = function(opt_data) {
49
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.LocalAccountExtendedProto.repeatedFields_, null);
50
+ };
51
+ goog.inherits(proto.Platform.LocalAccountExtendedProto, jspb.Message);
52
+ if (goog.DEBUG && !COMPILED) {
53
+ /**
54
+ * @public
55
+ * @override
56
+ */
57
+ proto.Platform.LocalAccountExtendedProto.displayName = 'proto.Platform.LocalAccountExtendedProto';
58
+ }
59
+ /**
60
+ * Generated by JsPbCodeGenerator.
61
+ * @param {Array=} opt_data Optional initial data array, typically from a
62
+ * server response, or constructed directly in Javascript. The array is used
63
+ * in place and becomes part of the constructed object. It is not cloned.
64
+ * If no data is provided, the constructed object will be empty, but still
65
+ * valid.
66
+ * @extends {jspb.Message}
67
+ * @constructor
68
+ */
69
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest = function(opt_data) {
70
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
71
+ };
72
+ goog.inherits(proto.Platform.LocalAccountExtendedProto.RetrieveRequest, jspb.Message);
73
+ if (goog.DEBUG && !COMPILED) {
74
+ /**
75
+ * @public
76
+ * @override
77
+ */
78
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.displayName = 'proto.Platform.LocalAccountExtendedProto.RetrieveRequest';
79
+ }
80
+ /**
81
+ * Generated by JsPbCodeGenerator.
82
+ * @param {Array=} opt_data Optional initial data array, typically from a
83
+ * server response, or constructed directly in Javascript. The array is used
84
+ * in place and becomes part of the constructed object. It is not cloned.
85
+ * If no data is provided, the constructed object will be empty, but still
86
+ * valid.
87
+ * @extends {jspb.Message}
88
+ * @constructor
89
+ */
90
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest = function(opt_data) {
91
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
92
+ };
93
+ goog.inherits(proto.Platform.LocalAccountExtendedProto.DeleteRequest, jspb.Message);
94
+ if (goog.DEBUG && !COMPILED) {
95
+ /**
96
+ * @public
97
+ * @override
98
+ */
99
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.displayName = 'proto.Platform.LocalAccountExtendedProto.DeleteRequest';
100
+ }
101
+ /**
102
+ * Generated by JsPbCodeGenerator.
103
+ * @param {Array=} opt_data Optional initial data array, typically from a
104
+ * server response, or constructed directly in Javascript. The array is used
105
+ * in place and becomes part of the constructed object. It is not cloned.
106
+ * If no data is provided, the constructed object will be empty, but still
107
+ * valid.
108
+ * @extends {jspb.Message}
109
+ * @constructor
110
+ */
111
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest = function(opt_data) {
112
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
113
+ };
114
+ goog.inherits(proto.Platform.LocalAccountExtendedProto.AddClientRequest, jspb.Message);
115
+ if (goog.DEBUG && !COMPILED) {
116
+ /**
117
+ * @public
118
+ * @override
119
+ */
120
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.displayName = 'proto.Platform.LocalAccountExtendedProto.AddClientRequest';
121
+ }
122
+ /**
123
+ * Generated by JsPbCodeGenerator.
124
+ * @param {Array=} opt_data Optional initial data array, typically from a
125
+ * server response, or constructed directly in Javascript. The array is used
126
+ * in place and becomes part of the constructed object. It is not cloned.
127
+ * If no data is provided, the constructed object will be empty, but still
128
+ * valid.
129
+ * @extends {jspb.Message}
130
+ * @constructor
131
+ */
132
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest = function(opt_data) {
133
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
134
+ };
135
+ goog.inherits(proto.Platform.LocalAccountExtendedProto.RemoveClientRequest, jspb.Message);
136
+ if (goog.DEBUG && !COMPILED) {
137
+ /**
138
+ * @public
139
+ * @override
140
+ */
141
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.displayName = 'proto.Platform.LocalAccountExtendedProto.RemoveClientRequest';
142
+ }
143
+ /**
144
+ * Generated by JsPbCodeGenerator.
145
+ * @param {Array=} opt_data Optional initial data array, typically from a
146
+ * server response, or constructed directly in Javascript. The array is used
147
+ * in place and becomes part of the constructed object. It is not cloned.
148
+ * If no data is provided, the constructed object will be empty, but still
149
+ * valid.
150
+ * @extends {jspb.Message}
151
+ * @constructor
152
+ */
153
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto = function(opt_data) {
154
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
155
+ };
156
+ goog.inherits(proto.Platform.LocalAccountExtendedProto.ClientGroupProto, jspb.Message);
157
+ if (goog.DEBUG && !COMPILED) {
158
+ /**
159
+ * @public
160
+ * @override
161
+ */
162
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.displayName = 'proto.Platform.LocalAccountExtendedProto.ClientGroupProto';
163
+ }
164
+
165
+ /**
166
+ * List of repeated fields within this message type.
167
+ * @private {!Array<number>}
168
+ * @const
169
+ */
170
+ proto.Platform.LocalAccountExtendedProto.repeatedFields_ = [2,3];
171
+
172
+
173
+
174
+ if (jspb.Message.GENERATE_TO_OBJECT) {
175
+ /**
176
+ * Creates an object representation of this proto.
177
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
178
+ * Optional fields that are not set will be set to undefined.
179
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
180
+ * For the list of reserved names please see:
181
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
182
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
183
+ * JSPB instance for transitional soy proto support:
184
+ * http://goto/soy-param-migration
185
+ * @return {!Object}
186
+ */
187
+ proto.Platform.LocalAccountExtendedProto.prototype.toObject = function(opt_includeInstance) {
188
+ return proto.Platform.LocalAccountExtendedProto.toObject(opt_includeInstance, this);
189
+ };
190
+
191
+
192
+ /**
193
+ * Static version of the {@see toObject} method.
194
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
195
+ * the JSPB instance for transitional soy proto support:
196
+ * http://goto/soy-param-migration
197
+ * @param {!proto.Platform.LocalAccountExtendedProto} msg The msg instance to transform.
198
+ * @return {!Object}
199
+ * @suppress {unusedLocalVariables} f is only used for nested messages
200
+ */
201
+ proto.Platform.LocalAccountExtendedProto.toObject = function(includeInstance, msg) {
202
+ var f, obj = {
203
+ account: (f = msg.getAccount()) && platform_local_account_pb.LocalAccountProto.toObject(includeInstance, f),
204
+ clientGroupsList: jspb.Message.toObjectList(msg.getClientGroupsList(),
205
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject, includeInstance),
206
+ rolesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
207
+ };
208
+
209
+ if (includeInstance) {
210
+ obj.$jspbMessageInstance = msg;
211
+ }
212
+ return obj;
213
+ };
214
+ }
215
+
216
+
217
+ /**
218
+ * Deserializes binary data (in protobuf wire format).
219
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
220
+ * @return {!proto.Platform.LocalAccountExtendedProto}
221
+ */
222
+ proto.Platform.LocalAccountExtendedProto.deserializeBinary = function(bytes) {
223
+ var reader = new jspb.BinaryReader(bytes);
224
+ var msg = new proto.Platform.LocalAccountExtendedProto;
225
+ return proto.Platform.LocalAccountExtendedProto.deserializeBinaryFromReader(msg, reader);
226
+ };
227
+
228
+
229
+ /**
230
+ * Deserializes binary data (in protobuf wire format) from the
231
+ * given reader into the given message object.
232
+ * @param {!proto.Platform.LocalAccountExtendedProto} msg The message object to deserialize into.
233
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
234
+ * @return {!proto.Platform.LocalAccountExtendedProto}
235
+ */
236
+ proto.Platform.LocalAccountExtendedProto.deserializeBinaryFromReader = function(msg, reader) {
237
+ while (reader.nextField()) {
238
+ if (reader.isEndGroup()) {
239
+ break;
240
+ }
241
+ var field = reader.getFieldNumber();
242
+ switch (field) {
243
+ case 1:
244
+ var value = new platform_local_account_pb.LocalAccountProto;
245
+ reader.readMessage(value,platform_local_account_pb.LocalAccountProto.deserializeBinaryFromReader);
246
+ msg.setAccount(value);
247
+ break;
248
+ case 2:
249
+ var value = new proto.Platform.LocalAccountExtendedProto.ClientGroupProto;
250
+ reader.readMessage(value,proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinaryFromReader);
251
+ msg.addClientGroups(value);
252
+ break;
253
+ case 3:
254
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
255
+ for (var i = 0; i < values.length; i++) {
256
+ msg.addRoles(values[i]);
257
+ }
258
+ break;
259
+ default:
260
+ reader.skipField();
261
+ break;
262
+ }
263
+ }
264
+ return msg;
265
+ };
266
+
267
+
268
+ /**
269
+ * Serializes the message to binary data (in protobuf wire format).
270
+ * @return {!Uint8Array}
271
+ */
272
+ proto.Platform.LocalAccountExtendedProto.prototype.serializeBinary = function() {
273
+ var writer = new jspb.BinaryWriter();
274
+ proto.Platform.LocalAccountExtendedProto.serializeBinaryToWriter(this, writer);
275
+ return writer.getResultBuffer();
276
+ };
277
+
278
+
279
+ /**
280
+ * Serializes the given message to binary data (in protobuf wire
281
+ * format), writing to the given BinaryWriter.
282
+ * @param {!proto.Platform.LocalAccountExtendedProto} message
283
+ * @param {!jspb.BinaryWriter} writer
284
+ * @suppress {unusedLocalVariables} f is only used for nested messages
285
+ */
286
+ proto.Platform.LocalAccountExtendedProto.serializeBinaryToWriter = function(message, writer) {
287
+ var f = undefined;
288
+ f = message.getAccount();
289
+ if (f != null) {
290
+ writer.writeMessage(
291
+ 1,
292
+ f,
293
+ platform_local_account_pb.LocalAccountProto.serializeBinaryToWriter
294
+ );
295
+ }
296
+ f = message.getClientGroupsList();
297
+ if (f.length > 0) {
298
+ writer.writeRepeatedMessage(
299
+ 2,
300
+ f,
301
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.serializeBinaryToWriter
302
+ );
303
+ }
304
+ f = message.getRolesList();
305
+ if (f.length > 0) {
306
+ writer.writePackedEnum(
307
+ 3,
308
+ f
309
+ );
310
+ }
311
+ };
312
+
313
+
314
+
315
+
316
+
317
+ if (jspb.Message.GENERATE_TO_OBJECT) {
318
+ /**
319
+ * Creates an object representation of this proto.
320
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
321
+ * Optional fields that are not set will be set to undefined.
322
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
323
+ * For the list of reserved names please see:
324
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
325
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
326
+ * JSPB instance for transitional soy proto support:
327
+ * http://goto/soy-param-migration
328
+ * @return {!Object}
329
+ */
330
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
331
+ return proto.Platform.LocalAccountExtendedProto.RetrieveRequest.toObject(opt_includeInstance, this);
332
+ };
333
+
334
+
335
+ /**
336
+ * Static version of the {@see toObject} method.
337
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
338
+ * the JSPB instance for transitional soy proto support:
339
+ * http://goto/soy-param-migration
340
+ * @param {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest} msg The msg instance to transform.
341
+ * @return {!Object}
342
+ * @suppress {unusedLocalVariables} f is only used for nested messages
343
+ */
344
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.toObject = function(includeInstance, msg) {
345
+ var f, obj = {
346
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
347
+ };
348
+
349
+ if (includeInstance) {
350
+ obj.$jspbMessageInstance = msg;
351
+ }
352
+ return obj;
353
+ };
354
+ }
355
+
356
+
357
+ /**
358
+ * Deserializes binary data (in protobuf wire format).
359
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
360
+ * @return {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest}
361
+ */
362
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.deserializeBinary = function(bytes) {
363
+ var reader = new jspb.BinaryReader(bytes);
364
+ var msg = new proto.Platform.LocalAccountExtendedProto.RetrieveRequest;
365
+ return proto.Platform.LocalAccountExtendedProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
366
+ };
367
+
368
+
369
+ /**
370
+ * Deserializes binary data (in protobuf wire format) from the
371
+ * given reader into the given message object.
372
+ * @param {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest} msg The message object to deserialize into.
373
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
374
+ * @return {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest}
375
+ */
376
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
377
+ while (reader.nextField()) {
378
+ if (reader.isEndGroup()) {
379
+ break;
380
+ }
381
+ var field = reader.getFieldNumber();
382
+ switch (field) {
383
+ case 1:
384
+ var value = /** @type {number} */ (reader.readInt64());
385
+ msg.setId(value);
386
+ break;
387
+ default:
388
+ reader.skipField();
389
+ break;
390
+ }
391
+ }
392
+ return msg;
393
+ };
394
+
395
+
396
+ /**
397
+ * Serializes the message to binary data (in protobuf wire format).
398
+ * @return {!Uint8Array}
399
+ */
400
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.serializeBinary = function() {
401
+ var writer = new jspb.BinaryWriter();
402
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
403
+ return writer.getResultBuffer();
404
+ };
405
+
406
+
407
+ /**
408
+ * Serializes the given message to binary data (in protobuf wire
409
+ * format), writing to the given BinaryWriter.
410
+ * @param {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest} message
411
+ * @param {!jspb.BinaryWriter} writer
412
+ * @suppress {unusedLocalVariables} f is only used for nested messages
413
+ */
414
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
415
+ var f = undefined;
416
+ f = message.getId();
417
+ if (f !== 0) {
418
+ writer.writeInt64(
419
+ 1,
420
+ f
421
+ );
422
+ }
423
+ };
424
+
425
+
426
+ /**
427
+ * optional int64 id = 1;
428
+ * @return {number}
429
+ */
430
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.getId = function() {
431
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
432
+ };
433
+
434
+
435
+ /**
436
+ * @param {number} value
437
+ * @return {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest} returns this
438
+ */
439
+ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.setId = function(value) {
440
+ return jspb.Message.setProto3IntField(this, 1, value);
441
+ };
442
+
443
+
444
+
445
+
446
+
447
+ if (jspb.Message.GENERATE_TO_OBJECT) {
448
+ /**
449
+ * Creates an object representation of this proto.
450
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
451
+ * Optional fields that are not set will be set to undefined.
452
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
453
+ * For the list of reserved names please see:
454
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
455
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
456
+ * JSPB instance for transitional soy proto support:
457
+ * http://goto/soy-param-migration
458
+ * @return {!Object}
459
+ */
460
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
461
+ return proto.Platform.LocalAccountExtendedProto.DeleteRequest.toObject(opt_includeInstance, this);
462
+ };
463
+
464
+
465
+ /**
466
+ * Static version of the {@see toObject} method.
467
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
468
+ * the JSPB instance for transitional soy proto support:
469
+ * http://goto/soy-param-migration
470
+ * @param {!proto.Platform.LocalAccountExtendedProto.DeleteRequest} msg The msg instance to transform.
471
+ * @return {!Object}
472
+ * @suppress {unusedLocalVariables} f is only used for nested messages
473
+ */
474
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.toObject = function(includeInstance, msg) {
475
+ var f, obj = {
476
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
477
+ };
478
+
479
+ if (includeInstance) {
480
+ obj.$jspbMessageInstance = msg;
481
+ }
482
+ return obj;
483
+ };
484
+ }
485
+
486
+
487
+ /**
488
+ * Deserializes binary data (in protobuf wire format).
489
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
490
+ * @return {!proto.Platform.LocalAccountExtendedProto.DeleteRequest}
491
+ */
492
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.deserializeBinary = function(bytes) {
493
+ var reader = new jspb.BinaryReader(bytes);
494
+ var msg = new proto.Platform.LocalAccountExtendedProto.DeleteRequest;
495
+ return proto.Platform.LocalAccountExtendedProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
496
+ };
497
+
498
+
499
+ /**
500
+ * Deserializes binary data (in protobuf wire format) from the
501
+ * given reader into the given message object.
502
+ * @param {!proto.Platform.LocalAccountExtendedProto.DeleteRequest} msg The message object to deserialize into.
503
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
504
+ * @return {!proto.Platform.LocalAccountExtendedProto.DeleteRequest}
505
+ */
506
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
507
+ while (reader.nextField()) {
508
+ if (reader.isEndGroup()) {
509
+ break;
510
+ }
511
+ var field = reader.getFieldNumber();
512
+ switch (field) {
513
+ case 1:
514
+ var value = /** @type {number} */ (reader.readInt64());
515
+ msg.setId(value);
516
+ break;
517
+ default:
518
+ reader.skipField();
519
+ break;
520
+ }
521
+ }
522
+ return msg;
523
+ };
524
+
525
+
526
+ /**
527
+ * Serializes the message to binary data (in protobuf wire format).
528
+ * @return {!Uint8Array}
529
+ */
530
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.serializeBinary = function() {
531
+ var writer = new jspb.BinaryWriter();
532
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.serializeBinaryToWriter(this, writer);
533
+ return writer.getResultBuffer();
534
+ };
535
+
536
+
537
+ /**
538
+ * Serializes the given message to binary data (in protobuf wire
539
+ * format), writing to the given BinaryWriter.
540
+ * @param {!proto.Platform.LocalAccountExtendedProto.DeleteRequest} message
541
+ * @param {!jspb.BinaryWriter} writer
542
+ * @suppress {unusedLocalVariables} f is only used for nested messages
543
+ */
544
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
545
+ var f = undefined;
546
+ f = message.getId();
547
+ if (f !== 0) {
548
+ writer.writeInt64(
549
+ 1,
550
+ f
551
+ );
552
+ }
553
+ };
554
+
555
+
556
+ /**
557
+ * optional int64 id = 1;
558
+ * @return {number}
559
+ */
560
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.getId = function() {
561
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
562
+ };
563
+
564
+
565
+ /**
566
+ * @param {number} value
567
+ * @return {!proto.Platform.LocalAccountExtendedProto.DeleteRequest} returns this
568
+ */
569
+ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.setId = function(value) {
570
+ return jspb.Message.setProto3IntField(this, 1, value);
571
+ };
572
+
573
+
574
+
575
+
576
+
577
+ if (jspb.Message.GENERATE_TO_OBJECT) {
578
+ /**
579
+ * Creates an object representation of this proto.
580
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
581
+ * Optional fields that are not set will be set to undefined.
582
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
583
+ * For the list of reserved names please see:
584
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
585
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
586
+ * JSPB instance for transitional soy proto support:
587
+ * http://goto/soy-param-migration
588
+ * @return {!Object}
589
+ */
590
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.prototype.toObject = function(opt_includeInstance) {
591
+ return proto.Platform.LocalAccountExtendedProto.AddClientRequest.toObject(opt_includeInstance, this);
592
+ };
593
+
594
+
595
+ /**
596
+ * Static version of the {@see toObject} method.
597
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
598
+ * the JSPB instance for transitional soy proto support:
599
+ * http://goto/soy-param-migration
600
+ * @param {!proto.Platform.LocalAccountExtendedProto.AddClientRequest} msg The msg instance to transform.
601
+ * @return {!Object}
602
+ * @suppress {unusedLocalVariables} f is only used for nested messages
603
+ */
604
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.toObject = function(includeInstance, msg) {
605
+ var f, obj = {
606
+ account: (f = msg.getAccount()) && auth_account_pb.AccountProto.toObject(includeInstance, f),
607
+ clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
608
+ };
609
+
610
+ if (includeInstance) {
611
+ obj.$jspbMessageInstance = msg;
612
+ }
613
+ return obj;
614
+ };
615
+ }
616
+
617
+
618
+ /**
619
+ * Deserializes binary data (in protobuf wire format).
620
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
621
+ * @return {!proto.Platform.LocalAccountExtendedProto.AddClientRequest}
622
+ */
623
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.deserializeBinary = function(bytes) {
624
+ var reader = new jspb.BinaryReader(bytes);
625
+ var msg = new proto.Platform.LocalAccountExtendedProto.AddClientRequest;
626
+ return proto.Platform.LocalAccountExtendedProto.AddClientRequest.deserializeBinaryFromReader(msg, reader);
627
+ };
628
+
629
+
630
+ /**
631
+ * Deserializes binary data (in protobuf wire format) from the
632
+ * given reader into the given message object.
633
+ * @param {!proto.Platform.LocalAccountExtendedProto.AddClientRequest} msg The message object to deserialize into.
634
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
635
+ * @return {!proto.Platform.LocalAccountExtendedProto.AddClientRequest}
636
+ */
637
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.deserializeBinaryFromReader = function(msg, reader) {
638
+ while (reader.nextField()) {
639
+ if (reader.isEndGroup()) {
640
+ break;
641
+ }
642
+ var field = reader.getFieldNumber();
643
+ switch (field) {
644
+ case 1:
645
+ var value = new auth_account_pb.AccountProto;
646
+ reader.readMessage(value,auth_account_pb.AccountProto.deserializeBinaryFromReader);
647
+ msg.setAccount(value);
648
+ break;
649
+ case 2:
650
+ var value = /** @type {number} */ (reader.readInt64());
651
+ msg.setClientId(value);
652
+ break;
653
+ default:
654
+ reader.skipField();
655
+ break;
656
+ }
657
+ }
658
+ return msg;
659
+ };
660
+
661
+
662
+ /**
663
+ * Serializes the message to binary data (in protobuf wire format).
664
+ * @return {!Uint8Array}
665
+ */
666
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.prototype.serializeBinary = function() {
667
+ var writer = new jspb.BinaryWriter();
668
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.serializeBinaryToWriter(this, writer);
669
+ return writer.getResultBuffer();
670
+ };
671
+
672
+
673
+ /**
674
+ * Serializes the given message to binary data (in protobuf wire
675
+ * format), writing to the given BinaryWriter.
676
+ * @param {!proto.Platform.LocalAccountExtendedProto.AddClientRequest} message
677
+ * @param {!jspb.BinaryWriter} writer
678
+ * @suppress {unusedLocalVariables} f is only used for nested messages
679
+ */
680
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.serializeBinaryToWriter = function(message, writer) {
681
+ var f = undefined;
682
+ f = message.getAccount();
683
+ if (f != null) {
684
+ writer.writeMessage(
685
+ 1,
686
+ f,
687
+ auth_account_pb.AccountProto.serializeBinaryToWriter
688
+ );
689
+ }
690
+ f = message.getClientId();
691
+ if (f !== 0) {
692
+ writer.writeInt64(
693
+ 2,
694
+ f
695
+ );
696
+ }
697
+ };
698
+
699
+
700
+ /**
701
+ * optional Auth.AccountProto account = 1;
702
+ * @return {?proto.Auth.AccountProto}
703
+ */
704
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.prototype.getAccount = function() {
705
+ return /** @type{?proto.Auth.AccountProto} */ (
706
+ jspb.Message.getWrapperField(this, auth_account_pb.AccountProto, 1));
707
+ };
708
+
709
+
710
+ /**
711
+ * @param {?proto.Auth.AccountProto|undefined} value
712
+ * @return {!proto.Platform.LocalAccountExtendedProto.AddClientRequest} returns this
713
+ */
714
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.prototype.setAccount = function(value) {
715
+ return jspb.Message.setWrapperField(this, 1, value);
716
+ };
717
+
718
+
719
+ /**
720
+ * Clears the message field making it undefined.
721
+ * @return {!proto.Platform.LocalAccountExtendedProto.AddClientRequest} returns this
722
+ */
723
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.prototype.clearAccount = function() {
724
+ return this.setAccount(undefined);
725
+ };
726
+
727
+
728
+ /**
729
+ * Returns whether this field is set.
730
+ * @return {boolean}
731
+ */
732
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.prototype.hasAccount = function() {
733
+ return jspb.Message.getField(this, 1) != null;
734
+ };
735
+
736
+
737
+ /**
738
+ * optional int64 client_id = 2;
739
+ * @return {number}
740
+ */
741
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.prototype.getClientId = function() {
742
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
743
+ };
744
+
745
+
746
+ /**
747
+ * @param {number} value
748
+ * @return {!proto.Platform.LocalAccountExtendedProto.AddClientRequest} returns this
749
+ */
750
+ proto.Platform.LocalAccountExtendedProto.AddClientRequest.prototype.setClientId = function(value) {
751
+ return jspb.Message.setProto3IntField(this, 2, value);
752
+ };
753
+
754
+
755
+
756
+
757
+
758
+ if (jspb.Message.GENERATE_TO_OBJECT) {
759
+ /**
760
+ * Creates an object representation of this proto.
761
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
762
+ * Optional fields that are not set will be set to undefined.
763
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
764
+ * For the list of reserved names please see:
765
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
766
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
767
+ * JSPB instance for transitional soy proto support:
768
+ * http://goto/soy-param-migration
769
+ * @return {!Object}
770
+ */
771
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.toObject = function(opt_includeInstance) {
772
+ return proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.toObject(opt_includeInstance, this);
773
+ };
774
+
775
+
776
+ /**
777
+ * Static version of the {@see toObject} method.
778
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
779
+ * the JSPB instance for transitional soy proto support:
780
+ * http://goto/soy-param-migration
781
+ * @param {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest} msg The msg instance to transform.
782
+ * @return {!Object}
783
+ * @suppress {unusedLocalVariables} f is only used for nested messages
784
+ */
785
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.toObject = function(includeInstance, msg) {
786
+ var f, obj = {
787
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
788
+ clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
789
+ };
790
+
791
+ if (includeInstance) {
792
+ obj.$jspbMessageInstance = msg;
793
+ }
794
+ return obj;
795
+ };
796
+ }
797
+
798
+
799
+ /**
800
+ * Deserializes binary data (in protobuf wire format).
801
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
802
+ * @return {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest}
803
+ */
804
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.deserializeBinary = function(bytes) {
805
+ var reader = new jspb.BinaryReader(bytes);
806
+ var msg = new proto.Platform.LocalAccountExtendedProto.RemoveClientRequest;
807
+ return proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.deserializeBinaryFromReader(msg, reader);
808
+ };
809
+
810
+
811
+ /**
812
+ * Deserializes binary data (in protobuf wire format) from the
813
+ * given reader into the given message object.
814
+ * @param {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest} msg The message object to deserialize into.
815
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
816
+ * @return {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest}
817
+ */
818
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.deserializeBinaryFromReader = function(msg, reader) {
819
+ while (reader.nextField()) {
820
+ if (reader.isEndGroup()) {
821
+ break;
822
+ }
823
+ var field = reader.getFieldNumber();
824
+ switch (field) {
825
+ case 1:
826
+ var value = /** @type {number} */ (reader.readInt64());
827
+ msg.setId(value);
828
+ break;
829
+ case 2:
830
+ var value = /** @type {number} */ (reader.readInt64());
831
+ msg.setClientId(value);
832
+ break;
833
+ default:
834
+ reader.skipField();
835
+ break;
836
+ }
837
+ }
838
+ return msg;
839
+ };
840
+
841
+
842
+ /**
843
+ * Serializes the message to binary data (in protobuf wire format).
844
+ * @return {!Uint8Array}
845
+ */
846
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.serializeBinary = function() {
847
+ var writer = new jspb.BinaryWriter();
848
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.serializeBinaryToWriter(this, writer);
849
+ return writer.getResultBuffer();
850
+ };
851
+
852
+
853
+ /**
854
+ * Serializes the given message to binary data (in protobuf wire
855
+ * format), writing to the given BinaryWriter.
856
+ * @param {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest} message
857
+ * @param {!jspb.BinaryWriter} writer
858
+ * @suppress {unusedLocalVariables} f is only used for nested messages
859
+ */
860
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.serializeBinaryToWriter = function(message, writer) {
861
+ var f = undefined;
862
+ f = message.getId();
863
+ if (f !== 0) {
864
+ writer.writeInt64(
865
+ 1,
866
+ f
867
+ );
868
+ }
869
+ f = message.getClientId();
870
+ if (f !== 0) {
871
+ writer.writeInt64(
872
+ 2,
873
+ f
874
+ );
875
+ }
876
+ };
877
+
878
+
879
+ /**
880
+ * optional int64 id = 1;
881
+ * @return {number}
882
+ */
883
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.getId = function() {
884
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
885
+ };
886
+
887
+
888
+ /**
889
+ * @param {number} value
890
+ * @return {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest} returns this
891
+ */
892
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.setId = function(value) {
893
+ return jspb.Message.setProto3IntField(this, 1, value);
894
+ };
895
+
896
+
897
+ /**
898
+ * optional int64 client_id = 2;
899
+ * @return {number}
900
+ */
901
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.getClientId = function() {
902
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
903
+ };
904
+
905
+
906
+ /**
907
+ * @param {number} value
908
+ * @return {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest} returns this
909
+ */
910
+ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.setClientId = function(value) {
911
+ return jspb.Message.setProto3IntField(this, 2, value);
912
+ };
913
+
914
+
915
+
916
+
917
+
918
+ if (jspb.Message.GENERATE_TO_OBJECT) {
919
+ /**
920
+ * Creates an object representation of this proto.
921
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
922
+ * Optional fields that are not set will be set to undefined.
923
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
924
+ * For the list of reserved names please see:
925
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
926
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
927
+ * JSPB instance for transitional soy proto support:
928
+ * http://goto/soy-param-migration
929
+ * @return {!Object}
930
+ */
931
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.toObject = function(opt_includeInstance) {
932
+ return proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject(opt_includeInstance, this);
933
+ };
934
+
935
+
936
+ /**
937
+ * Static version of the {@see toObject} method.
938
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
939
+ * the JSPB instance for transitional soy proto support:
940
+ * http://goto/soy-param-migration
941
+ * @param {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} msg The msg instance to transform.
942
+ * @return {!Object}
943
+ * @suppress {unusedLocalVariables} f is only used for nested messages
944
+ */
945
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject = function(includeInstance, msg) {
946
+ var f, obj = {
947
+ clientId: jspb.Message.getFieldWithDefault(msg, 1, 0),
948
+ groupId: jspb.Message.getFieldWithDefault(msg, 2, "")
949
+ };
950
+
951
+ if (includeInstance) {
952
+ obj.$jspbMessageInstance = msg;
953
+ }
954
+ return obj;
955
+ };
956
+ }
957
+
958
+
959
+ /**
960
+ * Deserializes binary data (in protobuf wire format).
961
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
962
+ * @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto}
963
+ */
964
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinary = function(bytes) {
965
+ var reader = new jspb.BinaryReader(bytes);
966
+ var msg = new proto.Platform.LocalAccountExtendedProto.ClientGroupProto;
967
+ return proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinaryFromReader(msg, reader);
968
+ };
969
+
970
+
971
+ /**
972
+ * Deserializes binary data (in protobuf wire format) from the
973
+ * given reader into the given message object.
974
+ * @param {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} msg The message object to deserialize into.
975
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
976
+ * @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto}
977
+ */
978
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinaryFromReader = function(msg, reader) {
979
+ while (reader.nextField()) {
980
+ if (reader.isEndGroup()) {
981
+ break;
982
+ }
983
+ var field = reader.getFieldNumber();
984
+ switch (field) {
985
+ case 1:
986
+ var value = /** @type {number} */ (reader.readInt64());
987
+ msg.setClientId(value);
988
+ break;
989
+ case 2:
990
+ var value = /** @type {string} */ (reader.readString());
991
+ msg.setGroupId(value);
992
+ break;
993
+ default:
994
+ reader.skipField();
995
+ break;
996
+ }
997
+ }
998
+ return msg;
999
+ };
1000
+
1001
+
1002
+ /**
1003
+ * Serializes the message to binary data (in protobuf wire format).
1004
+ * @return {!Uint8Array}
1005
+ */
1006
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.serializeBinary = function() {
1007
+ var writer = new jspb.BinaryWriter();
1008
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.serializeBinaryToWriter(this, writer);
1009
+ return writer.getResultBuffer();
1010
+ };
1011
+
1012
+
1013
+ /**
1014
+ * Serializes the given message to binary data (in protobuf wire
1015
+ * format), writing to the given BinaryWriter.
1016
+ * @param {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} message
1017
+ * @param {!jspb.BinaryWriter} writer
1018
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1019
+ */
1020
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.serializeBinaryToWriter = function(message, writer) {
1021
+ var f = undefined;
1022
+ f = message.getClientId();
1023
+ if (f !== 0) {
1024
+ writer.writeInt64(
1025
+ 1,
1026
+ f
1027
+ );
1028
+ }
1029
+ f = message.getGroupId();
1030
+ if (f.length > 0) {
1031
+ writer.writeString(
1032
+ 2,
1033
+ f
1034
+ );
1035
+ }
1036
+ };
1037
+
1038
+
1039
+ /**
1040
+ * optional int64 client_id = 1;
1041
+ * @return {number}
1042
+ */
1043
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.getClientId = function() {
1044
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1045
+ };
1046
+
1047
+
1048
+ /**
1049
+ * @param {number} value
1050
+ * @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} returns this
1051
+ */
1052
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.setClientId = function(value) {
1053
+ return jspb.Message.setProto3IntField(this, 1, value);
1054
+ };
1055
+
1056
+
1057
+ /**
1058
+ * optional string group_id = 2;
1059
+ * @return {string}
1060
+ */
1061
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.getGroupId = function() {
1062
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1063
+ };
1064
+
1065
+
1066
+ /**
1067
+ * @param {string} value
1068
+ * @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} returns this
1069
+ */
1070
+ proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.setGroupId = function(value) {
1071
+ return jspb.Message.setProto3StringField(this, 2, value);
1072
+ };
1073
+
1074
+
1075
+ /**
1076
+ * optional LocalAccountProto account = 1;
1077
+ * @return {?proto.Platform.LocalAccountProto}
1078
+ */
1079
+ proto.Platform.LocalAccountExtendedProto.prototype.getAccount = function() {
1080
+ return /** @type{?proto.Platform.LocalAccountProto} */ (
1081
+ jspb.Message.getWrapperField(this, platform_local_account_pb.LocalAccountProto, 1));
1082
+ };
1083
+
1084
+
1085
+ /**
1086
+ * @param {?proto.Platform.LocalAccountProto|undefined} value
1087
+ * @return {!proto.Platform.LocalAccountExtendedProto} returns this
1088
+ */
1089
+ proto.Platform.LocalAccountExtendedProto.prototype.setAccount = function(value) {
1090
+ return jspb.Message.setWrapperField(this, 1, value);
1091
+ };
1092
+
1093
+
1094
+ /**
1095
+ * Clears the message field making it undefined.
1096
+ * @return {!proto.Platform.LocalAccountExtendedProto} returns this
1097
+ */
1098
+ proto.Platform.LocalAccountExtendedProto.prototype.clearAccount = function() {
1099
+ return this.setAccount(undefined);
1100
+ };
1101
+
1102
+
1103
+ /**
1104
+ * Returns whether this field is set.
1105
+ * @return {boolean}
1106
+ */
1107
+ proto.Platform.LocalAccountExtendedProto.prototype.hasAccount = function() {
1108
+ return jspb.Message.getField(this, 1) != null;
1109
+ };
1110
+
1111
+
1112
+ /**
1113
+ * repeated ClientGroupProto client_groups = 2;
1114
+ * @return {!Array<!proto.Platform.LocalAccountExtendedProto.ClientGroupProto>}
1115
+ */
1116
+ proto.Platform.LocalAccountExtendedProto.prototype.getClientGroupsList = function() {
1117
+ return /** @type{!Array<!proto.Platform.LocalAccountExtendedProto.ClientGroupProto>} */ (
1118
+ jspb.Message.getRepeatedWrapperField(this, proto.Platform.LocalAccountExtendedProto.ClientGroupProto, 2));
1119
+ };
1120
+
1121
+
1122
+ /**
1123
+ * @param {!Array<!proto.Platform.LocalAccountExtendedProto.ClientGroupProto>} value
1124
+ * @return {!proto.Platform.LocalAccountExtendedProto} returns this
1125
+ */
1126
+ proto.Platform.LocalAccountExtendedProto.prototype.setClientGroupsList = function(value) {
1127
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
1128
+ };
1129
+
1130
+
1131
+ /**
1132
+ * @param {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto=} opt_value
1133
+ * @param {number=} opt_index
1134
+ * @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto}
1135
+ */
1136
+ proto.Platform.LocalAccountExtendedProto.prototype.addClientGroups = function(opt_value, opt_index) {
1137
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Platform.LocalAccountExtendedProto.ClientGroupProto, opt_index);
1138
+ };
1139
+
1140
+
1141
+ /**
1142
+ * Clears the list making it empty but non-null.
1143
+ * @return {!proto.Platform.LocalAccountExtendedProto} returns this
1144
+ */
1145
+ proto.Platform.LocalAccountExtendedProto.prototype.clearClientGroupsList = function() {
1146
+ return this.setClientGroupsList([]);
1147
+ };
1148
+
1149
+
1150
+ /**
1151
+ * repeated Auth.AccountProto.Roles roles = 3;
1152
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
1153
+ */
1154
+ proto.Platform.LocalAccountExtendedProto.prototype.getRolesList = function() {
1155
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 3));
1156
+ };
1157
+
1158
+
1159
+ /**
1160
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
1161
+ * @return {!proto.Platform.LocalAccountExtendedProto} returns this
1162
+ */
1163
+ proto.Platform.LocalAccountExtendedProto.prototype.setRolesList = function(value) {
1164
+ return jspb.Message.setField(this, 3, value || []);
1165
+ };
1166
+
1167
+
1168
+ /**
1169
+ * @param {!proto.Auth.AccountProto.Roles} value
1170
+ * @param {number=} opt_index
1171
+ * @return {!proto.Platform.LocalAccountExtendedProto} returns this
1172
+ */
1173
+ proto.Platform.LocalAccountExtendedProto.prototype.addRoles = function(value, opt_index) {
1174
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
1175
+ };
1176
+
1177
+
1178
+ /**
1179
+ * Clears the list making it empty but non-null.
1180
+ * @return {!proto.Platform.LocalAccountExtendedProto} returns this
1181
+ */
1182
+ proto.Platform.LocalAccountExtendedProto.prototype.clearRolesList = function() {
1183
+ return this.setRolesList([]);
1184
+ };
1185
+
1186
+
1187
+ goog.object.extend(exports, proto.Platform);