@aceplus/smartace-api 3.7.0-alpha.1 → 3.7.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/auth.account_pb.d.ts +433 -0
  2. package/auth.account_pb.js +3141 -0
  3. package/auth.account_pb_service.d.ts +216 -0
  4. package/auth.account_pb_service.js +382 -0
  5. package/auth.account_two_factor_pb.d.ts +135 -0
  6. package/auth.account_two_factor_pb.js +1002 -0
  7. package/auth.account_two_factor_pb_service.d.ts +102 -0
  8. package/auth.account_two_factor_pb_service.js +142 -0
  9. package/auth.app_account_pb.d.ts +186 -0
  10. package/auth.app_account_pb.js +1343 -0
  11. package/auth.app_account_pb_service.d.ts +179 -0
  12. package/auth.app_account_pb_service.js +303 -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 +242 -0
  18. package/auth.app_distribution_pb.js +1854 -0
  19. package/auth.app_distribution_pb_service.d.ts +158 -0
  20. package/auth.app_distribution_pb_service.js +261 -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.passkey_pb.d.ts +239 -0
  42. package/auth.passkey_pb.js +1842 -0
  43. package/auth.passkey_pb_service.d.ts +160 -0
  44. package/auth.passkey_pb_service.js +263 -0
  45. package/auth.push_notification_pb.d.ts +69 -0
  46. package/auth.push_notification_pb.js +411 -0
  47. package/auth.push_notification_pb_service.d.ts +64 -0
  48. package/auth.push_notification_pb_service.js +62 -0
  49. package/auth.sms_pb.d.ts +79 -0
  50. package/auth.sms_pb.js +575 -0
  51. package/auth.sms_pb_service.d.ts +83 -0
  52. package/auth.sms_pb_service.js +102 -0
  53. package/google/api/annotations_pb.d.ts +9 -0
  54. package/google/api/annotations_pb.js +54 -0
  55. package/google/api/annotations_pb_service.d.ts +3 -0
  56. package/google/api/annotations_pb_service.js +3 -0
  57. package/google/api/auth_pb.d.ts +150 -0
  58. package/google/api/auth_pb.js +1160 -0
  59. package/google/api/auth_pb_service.d.ts +3 -0
  60. package/google/api/auth_pb_service.js +3 -0
  61. package/google/api/backend_pb.d.ts +59 -0
  62. package/google/api/backend_pb.js +448 -0
  63. package/google/api/backend_pb_service.d.ts +3 -0
  64. package/google/api/backend_pb_service.js +3 -0
  65. package/google/api/billing_pb.d.ts +54 -0
  66. package/google/api/billing_pb.js +416 -0
  67. package/google/api/billing_pb_service.d.ts +3 -0
  68. package/google/api/billing_pb_service.js +3 -0
  69. package/google/api/client_pb.d.ts +12 -0
  70. package/google/api/client_pb.js +104 -0
  71. package/google/api/client_pb_service.d.ts +3 -0
  72. package/google/api/client_pb_service.js +3 -0
  73. package/google/api/config_change_pb.d.ts +72 -0
  74. package/google/api/config_change_pb.js +489 -0
  75. package/google/api/config_change_pb_service.d.ts +3 -0
  76. package/google/api/config_change_pb_service.js +3 -0
  77. package/google/api/consumer_pb.d.ts +65 -0
  78. package/google/api/consumer_pb.js +430 -0
  79. package/google/api/consumer_pb_service.d.ts +3 -0
  80. package/google/api/consumer_pb_service.js +3 -0
  81. package/google/api/context_pb.d.ts +59 -0
  82. package/google/api/context_pb.js +463 -0
  83. package/google/api/context_pb_service.d.ts +3 -0
  84. package/google/api/context_pb_service.js +3 -0
  85. package/google/api/control_pb.d.ts +25 -0
  86. package/google/api/control_pb.js +176 -0
  87. package/google/api/control_pb_service.d.ts +3 -0
  88. package/google/api/control_pb_service.js +3 -0
  89. package/google/api/distribution_pb.d.ts +235 -0
  90. package/google/api/distribution_pb.js +1805 -0
  91. package/google/api/distribution_pb_service.d.ts +3 -0
  92. package/google/api/distribution_pb_service.js +3 -0
  93. package/google/api/documentation_pb.d.ts +103 -0
  94. package/google/api/documentation_pb.js +803 -0
  95. package/google/api/documentation_pb_service.d.ts +3 -0
  96. package/google/api/documentation_pb_service.js +3 -0
  97. package/google/api/endpoint_pb.d.ts +46 -0
  98. package/google/api/endpoint_pb.js +343 -0
  99. package/google/api/endpoint_pb_service.d.ts +3 -0
  100. package/google/api/endpoint_pb_service.js +3 -0
  101. package/google/api/error_reason_pb.d.ts +40 -0
  102. package/google/api/error_reason_pb.js +61 -0
  103. package/google/api/error_reason_pb_service.d.ts +3 -0
  104. package/google/api/error_reason_pb_service.js +3 -0
  105. package/google/api/field_behavior_pb.d.ts +20 -0
  106. package/google/api/field_behavior_pb.js +66 -0
  107. package/google/api/field_behavior_pb_service.d.ts +3 -0
  108. package/google/api/field_behavior_pb_service.js +3 -0
  109. package/google/api/http_pb.d.ts +136 -0
  110. package/google/api/http_pb.js +1012 -0
  111. package/google/api/http_pb_service.d.ts +3 -0
  112. package/google/api/http_pb_service.js +3 -0
  113. package/google/api/httpbody_pb.d.ts +38 -0
  114. package/google/api/httpbody_pb.js +292 -0
  115. package/google/api/httpbody_pb_service.d.ts +3 -0
  116. package/google/api/httpbody_pb_service.js +3 -0
  117. package/google/api/label_pb.d.ts +41 -0
  118. package/google/api/label_pb.js +246 -0
  119. package/google/api/label_pb_service.d.ts +3 -0
  120. package/google/api/label_pb_service.js +3 -0
  121. package/google/api/launch_stage_pb.d.ts +16 -0
  122. package/google/api/launch_stage_pb.js +37 -0
  123. package/google/api/launch_stage_pb_service.d.ts +3 -0
  124. package/google/api/launch_stage_pb_service.js +3 -0
  125. package/google/api/log_pb.d.ts +40 -0
  126. package/google/api/log_pb.js +298 -0
  127. package/google/api/log_pb_service.d.ts +3 -0
  128. package/google/api/log_pb_service.js +3 -0
  129. package/google/api/logging_pb.d.ts +60 -0
  130. package/google/api/logging_pb.js +469 -0
  131. package/google/api/logging_pb_service.d.ts +3 -0
  132. package/google/api/logging_pb_service.js +3 -0
  133. package/google/api/metric_pb.d.ts +100 -0
  134. package/google/api/metric_pb.js +629 -0
  135. package/google/api/metric_pb_service.d.ts +3 -0
  136. package/google/api/metric_pb_service.js +3 -0
  137. package/google/api/monitored_resource_pb.d.ts +93 -0
  138. package/google/api/monitored_resource_pb.js +723 -0
  139. package/google/api/monitored_resource_pb_service.d.ts +3 -0
  140. package/google/api/monitored_resource_pb_service.js +3 -0
  141. package/google/api/monitoring_pb.d.ts +60 -0
  142. package/google/api/monitoring_pb.js +469 -0
  143. package/google/api/monitoring_pb_service.d.ts +3 -0
  144. package/google/api/monitoring_pb_service.js +3 -0
  145. package/google/api/policy_pb.d.ts +64 -0
  146. package/google/api/policy_pb.js +502 -0
  147. package/google/api/policy_pb_service.d.ts +3 -0
  148. package/google/api/policy_pb_service.js +3 -0
  149. package/google/api/quota_pb.d.ts +112 -0
  150. package/google/api/quota_pb.js +873 -0
  151. package/google/api/quota_pb_service.d.ts +3 -0
  152. package/google/api/quota_pb_service.js +3 -0
  153. package/google/api/resource_pb.d.ts +99 -0
  154. package/google/api/resource_pb.js +684 -0
  155. package/google/api/resource_pb_service.d.ts +3 -0
  156. package/google/api/resource_pb_service.js +3 -0
  157. package/google/api/routing_pb.d.ts +54 -0
  158. package/google/api/routing_pb.js +416 -0
  159. package/google/api/routing_pb_service.d.ts +3 -0
  160. package/google/api/routing_pb_service.js +3 -0
  161. package/google/api/service_pb.d.ts +184 -0
  162. package/google/api/service_pb.js +1400 -0
  163. package/google/api/service_pb_service.d.ts +3 -0
  164. package/google/api/service_pb_service.js +3 -0
  165. package/google/api/source_info_pb.d.ts +28 -0
  166. package/google/api/source_info_pb.js +208 -0
  167. package/google/api/source_info_pb_service.d.ts +3 -0
  168. package/google/api/source_info_pb_service.js +3 -0
  169. package/google/api/system_parameter_pb.d.ts +81 -0
  170. package/google/api/system_parameter_pb.js +630 -0
  171. package/google/api/system_parameter_pb_service.d.ts +3 -0
  172. package/google/api/system_parameter_pb_service.js +3 -0
  173. package/google/api/usage_pb.d.ts +66 -0
  174. package/google/api/usage_pb.js +499 -0
  175. package/google/api/usage_pb_service.d.ts +3 -0
  176. package/google/api/usage_pb_service.js +3 -0
  177. package/google/api/visibility_pb.d.ts +64 -0
  178. package/google/api/visibility_pb.js +546 -0
  179. package/google/api/visibility_pb_service.d.ts +3 -0
  180. package/google/api/visibility_pb_service.js +3 -0
  181. package/meta.client_pb.d.ts +167 -0
  182. package/meta.client_pb.js +1266 -0
  183. package/meta.client_pb_service.d.ts +122 -0
  184. package/meta.client_pb_service.js +183 -0
  185. package/meta.spic_config_pb.d.ts +184 -0
  186. package/meta.spic_config_pb.js +1382 -0
  187. package/meta.spic_config_pb_service.d.ts +122 -0
  188. package/meta.spic_config_pb_service.js +183 -0
  189. package/package.json +1 -1
  190. package/platform.activity_log_pb.d.ts +177 -0
  191. package/platform.activity_log_pb.js +1294 -0
  192. package/platform.activity_log_pb_service.d.ts +82 -0
  193. package/platform.activity_log_pb_service.js +101 -0
  194. package/platform.client_pb.d.ts +350 -0
  195. package/platform.client_pb.js +2663 -0
  196. package/platform.client_pb_service.d.ts +158 -0
  197. package/platform.client_pb_service.js +261 -0
  198. package/platform.group_pb.d.ts +195 -0
  199. package/platform.group_pb.js +1476 -0
  200. package/platform.group_pb_service.d.ts +139 -0
  201. package/platform.group_pb_service.js +221 -0
  202. package/platform.local_account_internal_pb.d.ts +125 -0
  203. package/platform.local_account_internal_pb.js +933 -0
  204. package/platform.local_account_internal_pb_service.d.ts +121 -0
  205. package/platform.local_account_internal_pb_service.js +182 -0
  206. package/platform.local_account_pb.d.ts +466 -0
  207. package/platform.local_account_pb.js +3489 -0
  208. package/platform.local_account_pb_service.d.ts +331 -0
  209. package/platform.local_account_pb_service.js +623 -0
  210. package/platform.local_distribution_pb.d.ts +73 -0
  211. package/platform.local_distribution_pb.js +536 -0
  212. package/platform.local_distribution_pb_service.d.ts +63 -0
  213. package/platform.local_distribution_pb_service.js +61 -0
  214. package/platform.location_pb.d.ts +271 -0
  215. package/platform.location_pb.js +2046 -0
  216. package/platform.location_pb_service.d.ts +139 -0
  217. package/platform.location_pb_service.js +221 -0
  218. package/platform.pagination_pb.d.ts +45 -0
  219. package/platform.pagination_pb.js +276 -0
  220. package/platform.pagination_pb_service.d.ts +3 -0
  221. package/platform.pagination_pb_service.js +3 -0
  222. package/spic.alarm_pb.d.ts +382 -0
  223. package/spic.alarm_pb.js +2915 -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 +697 -0
  227. package/spic.asset_pb.js +4995 -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 +1062 -0
  231. package/spic.cabinet_pb.js +7723 -0
  232. package/spic.cabinet_pb_service.d.ts +245 -0
  233. package/spic.cabinet_pb_service.js +437 -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,1343 @@
1
+ // source: auth.app_account.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_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
27
+ goog.object.extend(proto, google_protobuf_empty_pb);
28
+ var auth_account_pb = require('./auth.account_pb.js');
29
+ goog.object.extend(proto, auth_account_pb);
30
+ goog.exportSymbol('proto.Auth.AppAccountProto', null, global);
31
+ goog.exportSymbol('proto.Auth.AppAccountProto.AppType', null, global);
32
+ goog.exportSymbol('proto.Auth.AppAccountProto.ChangeNameRequest', null, global);
33
+ goog.exportSymbol('proto.Auth.AppAccountProto.ChangePskRequest', null, global);
34
+ goog.exportSymbol('proto.Auth.AppAccountProto.FinishRegisterMobileRequest', null, global);
35
+ goog.exportSymbol('proto.Auth.AppAccountProto.ModifyClientRequest', null, global);
36
+ goog.exportSymbol('proto.Auth.AppAccountProto.RegisterFirebaseRequest', null, global);
37
+ goog.exportSymbol('proto.Auth.AppAccountProto.RemoveMobileRequest', 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.Auth.AppAccountProto = function(opt_data) {
49
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
50
+ };
51
+ goog.inherits(proto.Auth.AppAccountProto, jspb.Message);
52
+ if (goog.DEBUG && !COMPILED) {
53
+ /**
54
+ * @public
55
+ * @override
56
+ */
57
+ proto.Auth.AppAccountProto.displayName = 'proto.Auth.AppAccountProto';
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.Auth.AppAccountProto.FinishRegisterMobileRequest = function(opt_data) {
70
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
71
+ };
72
+ goog.inherits(proto.Auth.AppAccountProto.FinishRegisterMobileRequest, jspb.Message);
73
+ if (goog.DEBUG && !COMPILED) {
74
+ /**
75
+ * @public
76
+ * @override
77
+ */
78
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.displayName = 'proto.Auth.AppAccountProto.FinishRegisterMobileRequest';
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.Auth.AppAccountProto.RemoveMobileRequest = function(opt_data) {
91
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
92
+ };
93
+ goog.inherits(proto.Auth.AppAccountProto.RemoveMobileRequest, jspb.Message);
94
+ if (goog.DEBUG && !COMPILED) {
95
+ /**
96
+ * @public
97
+ * @override
98
+ */
99
+ proto.Auth.AppAccountProto.RemoveMobileRequest.displayName = 'proto.Auth.AppAccountProto.RemoveMobileRequest';
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.Auth.AppAccountProto.ChangeNameRequest = function(opt_data) {
112
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
113
+ };
114
+ goog.inherits(proto.Auth.AppAccountProto.ChangeNameRequest, jspb.Message);
115
+ if (goog.DEBUG && !COMPILED) {
116
+ /**
117
+ * @public
118
+ * @override
119
+ */
120
+ proto.Auth.AppAccountProto.ChangeNameRequest.displayName = 'proto.Auth.AppAccountProto.ChangeNameRequest';
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.Auth.AppAccountProto.ChangePskRequest = function(opt_data) {
133
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
134
+ };
135
+ goog.inherits(proto.Auth.AppAccountProto.ChangePskRequest, jspb.Message);
136
+ if (goog.DEBUG && !COMPILED) {
137
+ /**
138
+ * @public
139
+ * @override
140
+ */
141
+ proto.Auth.AppAccountProto.ChangePskRequest.displayName = 'proto.Auth.AppAccountProto.ChangePskRequest';
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.Auth.AppAccountProto.ModifyClientRequest = function(opt_data) {
154
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
155
+ };
156
+ goog.inherits(proto.Auth.AppAccountProto.ModifyClientRequest, jspb.Message);
157
+ if (goog.DEBUG && !COMPILED) {
158
+ /**
159
+ * @public
160
+ * @override
161
+ */
162
+ proto.Auth.AppAccountProto.ModifyClientRequest.displayName = 'proto.Auth.AppAccountProto.ModifyClientRequest';
163
+ }
164
+ /**
165
+ * Generated by JsPbCodeGenerator.
166
+ * @param {Array=} opt_data Optional initial data array, typically from a
167
+ * server response, or constructed directly in Javascript. The array is used
168
+ * in place and becomes part of the constructed object. It is not cloned.
169
+ * If no data is provided, the constructed object will be empty, but still
170
+ * valid.
171
+ * @extends {jspb.Message}
172
+ * @constructor
173
+ */
174
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest = function(opt_data) {
175
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
176
+ };
177
+ goog.inherits(proto.Auth.AppAccountProto.RegisterFirebaseRequest, jspb.Message);
178
+ if (goog.DEBUG && !COMPILED) {
179
+ /**
180
+ * @public
181
+ * @override
182
+ */
183
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.displayName = 'proto.Auth.AppAccountProto.RegisterFirebaseRequest';
184
+ }
185
+
186
+
187
+
188
+ if (jspb.Message.GENERATE_TO_OBJECT) {
189
+ /**
190
+ * Creates an object representation of this proto.
191
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
192
+ * Optional fields that are not set will be set to undefined.
193
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
194
+ * For the list of reserved names please see:
195
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
196
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
197
+ * JSPB instance for transitional soy proto support:
198
+ * http://goto/soy-param-migration
199
+ * @return {!Object}
200
+ */
201
+ proto.Auth.AppAccountProto.prototype.toObject = function(opt_includeInstance) {
202
+ return proto.Auth.AppAccountProto.toObject(opt_includeInstance, this);
203
+ };
204
+
205
+
206
+ /**
207
+ * Static version of the {@see toObject} method.
208
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
209
+ * the JSPB instance for transitional soy proto support:
210
+ * http://goto/soy-param-migration
211
+ * @param {!proto.Auth.AppAccountProto} msg The msg instance to transform.
212
+ * @return {!Object}
213
+ * @suppress {unusedLocalVariables} f is only used for nested messages
214
+ */
215
+ proto.Auth.AppAccountProto.toObject = function(includeInstance, msg) {
216
+ var f, obj = {
217
+
218
+ };
219
+
220
+ if (includeInstance) {
221
+ obj.$jspbMessageInstance = msg;
222
+ }
223
+ return obj;
224
+ };
225
+ }
226
+
227
+
228
+ /**
229
+ * Deserializes binary data (in protobuf wire format).
230
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
231
+ * @return {!proto.Auth.AppAccountProto}
232
+ */
233
+ proto.Auth.AppAccountProto.deserializeBinary = function(bytes) {
234
+ var reader = new jspb.BinaryReader(bytes);
235
+ var msg = new proto.Auth.AppAccountProto;
236
+ return proto.Auth.AppAccountProto.deserializeBinaryFromReader(msg, reader);
237
+ };
238
+
239
+
240
+ /**
241
+ * Deserializes binary data (in protobuf wire format) from the
242
+ * given reader into the given message object.
243
+ * @param {!proto.Auth.AppAccountProto} msg The message object to deserialize into.
244
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
245
+ * @return {!proto.Auth.AppAccountProto}
246
+ */
247
+ proto.Auth.AppAccountProto.deserializeBinaryFromReader = function(msg, reader) {
248
+ while (reader.nextField()) {
249
+ if (reader.isEndGroup()) {
250
+ break;
251
+ }
252
+ var field = reader.getFieldNumber();
253
+ switch (field) {
254
+ default:
255
+ reader.skipField();
256
+ break;
257
+ }
258
+ }
259
+ return msg;
260
+ };
261
+
262
+
263
+ /**
264
+ * Serializes the message to binary data (in protobuf wire format).
265
+ * @return {!Uint8Array}
266
+ */
267
+ proto.Auth.AppAccountProto.prototype.serializeBinary = function() {
268
+ var writer = new jspb.BinaryWriter();
269
+ proto.Auth.AppAccountProto.serializeBinaryToWriter(this, writer);
270
+ return writer.getResultBuffer();
271
+ };
272
+
273
+
274
+ /**
275
+ * Serializes the given message to binary data (in protobuf wire
276
+ * format), writing to the given BinaryWriter.
277
+ * @param {!proto.Auth.AppAccountProto} message
278
+ * @param {!jspb.BinaryWriter} writer
279
+ * @suppress {unusedLocalVariables} f is only used for nested messages
280
+ */
281
+ proto.Auth.AppAccountProto.serializeBinaryToWriter = function(message, writer) {
282
+ var f = undefined;
283
+ };
284
+
285
+
286
+ /**
287
+ * @enum {number}
288
+ */
289
+ proto.Auth.AppAccountProto.AppType = {
290
+ APP_TYPE_MOBILE_WEB: 0
291
+ };
292
+
293
+
294
+
295
+
296
+ if (jspb.Message.GENERATE_TO_OBJECT) {
297
+ /**
298
+ * Creates an object representation of this proto.
299
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
300
+ * Optional fields that are not set will be set to undefined.
301
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
302
+ * For the list of reserved names please see:
303
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
304
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
305
+ * JSPB instance for transitional soy proto support:
306
+ * http://goto/soy-param-migration
307
+ * @return {!Object}
308
+ */
309
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.toObject = function(opt_includeInstance) {
310
+ return proto.Auth.AppAccountProto.FinishRegisterMobileRequest.toObject(opt_includeInstance, this);
311
+ };
312
+
313
+
314
+ /**
315
+ * Static version of the {@see toObject} method.
316
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
317
+ * the JSPB instance for transitional soy proto support:
318
+ * http://goto/soy-param-migration
319
+ * @param {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} msg The msg instance to transform.
320
+ * @return {!Object}
321
+ * @suppress {unusedLocalVariables} f is only used for nested messages
322
+ */
323
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.toObject = function(includeInstance, msg) {
324
+ var f, obj = {
325
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
326
+ lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
327
+ firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
328
+ company: jspb.Message.getFieldWithDefault(msg, 4, "")
329
+ };
330
+
331
+ if (includeInstance) {
332
+ obj.$jspbMessageInstance = msg;
333
+ }
334
+ return obj;
335
+ };
336
+ }
337
+
338
+
339
+ /**
340
+ * Deserializes binary data (in protobuf wire format).
341
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
342
+ * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest}
343
+ */
344
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.deserializeBinary = function(bytes) {
345
+ var reader = new jspb.BinaryReader(bytes);
346
+ var msg = new proto.Auth.AppAccountProto.FinishRegisterMobileRequest;
347
+ return proto.Auth.AppAccountProto.FinishRegisterMobileRequest.deserializeBinaryFromReader(msg, reader);
348
+ };
349
+
350
+
351
+ /**
352
+ * Deserializes binary data (in protobuf wire format) from the
353
+ * given reader into the given message object.
354
+ * @param {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} msg The message object to deserialize into.
355
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
356
+ * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest}
357
+ */
358
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.deserializeBinaryFromReader = function(msg, reader) {
359
+ while (reader.nextField()) {
360
+ if (reader.isEndGroup()) {
361
+ break;
362
+ }
363
+ var field = reader.getFieldNumber();
364
+ switch (field) {
365
+ case 1:
366
+ var value = /** @type {number} */ (reader.readInt64());
367
+ msg.setId(value);
368
+ break;
369
+ case 2:
370
+ var value = /** @type {string} */ (reader.readString());
371
+ msg.setLastName(value);
372
+ break;
373
+ case 3:
374
+ var value = /** @type {string} */ (reader.readString());
375
+ msg.setFirstName(value);
376
+ break;
377
+ case 4:
378
+ var value = /** @type {string} */ (reader.readString());
379
+ msg.setCompany(value);
380
+ break;
381
+ default:
382
+ reader.skipField();
383
+ break;
384
+ }
385
+ }
386
+ return msg;
387
+ };
388
+
389
+
390
+ /**
391
+ * Serializes the message to binary data (in protobuf wire format).
392
+ * @return {!Uint8Array}
393
+ */
394
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.serializeBinary = function() {
395
+ var writer = new jspb.BinaryWriter();
396
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.serializeBinaryToWriter(this, writer);
397
+ return writer.getResultBuffer();
398
+ };
399
+
400
+
401
+ /**
402
+ * Serializes the given message to binary data (in protobuf wire
403
+ * format), writing to the given BinaryWriter.
404
+ * @param {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} message
405
+ * @param {!jspb.BinaryWriter} writer
406
+ * @suppress {unusedLocalVariables} f is only used for nested messages
407
+ */
408
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.serializeBinaryToWriter = function(message, writer) {
409
+ var f = undefined;
410
+ f = message.getId();
411
+ if (f !== 0) {
412
+ writer.writeInt64(
413
+ 1,
414
+ f
415
+ );
416
+ }
417
+ f = message.getLastName();
418
+ if (f.length > 0) {
419
+ writer.writeString(
420
+ 2,
421
+ f
422
+ );
423
+ }
424
+ f = message.getFirstName();
425
+ if (f.length > 0) {
426
+ writer.writeString(
427
+ 3,
428
+ f
429
+ );
430
+ }
431
+ f = message.getCompany();
432
+ if (f.length > 0) {
433
+ writer.writeString(
434
+ 4,
435
+ f
436
+ );
437
+ }
438
+ };
439
+
440
+
441
+ /**
442
+ * optional int64 id = 1;
443
+ * @return {number}
444
+ */
445
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.getId = function() {
446
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
447
+ };
448
+
449
+
450
+ /**
451
+ * @param {number} value
452
+ * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} returns this
453
+ */
454
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.setId = function(value) {
455
+ return jspb.Message.setProto3IntField(this, 1, value);
456
+ };
457
+
458
+
459
+ /**
460
+ * optional string last_name = 2;
461
+ * @return {string}
462
+ */
463
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.getLastName = function() {
464
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
465
+ };
466
+
467
+
468
+ /**
469
+ * @param {string} value
470
+ * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} returns this
471
+ */
472
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.setLastName = function(value) {
473
+ return jspb.Message.setProto3StringField(this, 2, value);
474
+ };
475
+
476
+
477
+ /**
478
+ * optional string first_name = 3;
479
+ * @return {string}
480
+ */
481
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.getFirstName = function() {
482
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
483
+ };
484
+
485
+
486
+ /**
487
+ * @param {string} value
488
+ * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} returns this
489
+ */
490
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.setFirstName = function(value) {
491
+ return jspb.Message.setProto3StringField(this, 3, value);
492
+ };
493
+
494
+
495
+ /**
496
+ * optional string company = 4;
497
+ * @return {string}
498
+ */
499
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.getCompany = function() {
500
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
501
+ };
502
+
503
+
504
+ /**
505
+ * @param {string} value
506
+ * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} returns this
507
+ */
508
+ proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.setCompany = function(value) {
509
+ return jspb.Message.setProto3StringField(this, 4, value);
510
+ };
511
+
512
+
513
+
514
+
515
+
516
+ if (jspb.Message.GENERATE_TO_OBJECT) {
517
+ /**
518
+ * Creates an object representation of this proto.
519
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
520
+ * Optional fields that are not set will be set to undefined.
521
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
522
+ * For the list of reserved names please see:
523
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
524
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
525
+ * JSPB instance for transitional soy proto support:
526
+ * http://goto/soy-param-migration
527
+ * @return {!Object}
528
+ */
529
+ proto.Auth.AppAccountProto.RemoveMobileRequest.prototype.toObject = function(opt_includeInstance) {
530
+ return proto.Auth.AppAccountProto.RemoveMobileRequest.toObject(opt_includeInstance, this);
531
+ };
532
+
533
+
534
+ /**
535
+ * Static version of the {@see toObject} method.
536
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
537
+ * the JSPB instance for transitional soy proto support:
538
+ * http://goto/soy-param-migration
539
+ * @param {!proto.Auth.AppAccountProto.RemoveMobileRequest} msg The msg instance to transform.
540
+ * @return {!Object}
541
+ * @suppress {unusedLocalVariables} f is only used for nested messages
542
+ */
543
+ proto.Auth.AppAccountProto.RemoveMobileRequest.toObject = function(includeInstance, msg) {
544
+ var f, obj = {
545
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
546
+ };
547
+
548
+ if (includeInstance) {
549
+ obj.$jspbMessageInstance = msg;
550
+ }
551
+ return obj;
552
+ };
553
+ }
554
+
555
+
556
+ /**
557
+ * Deserializes binary data (in protobuf wire format).
558
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
559
+ * @return {!proto.Auth.AppAccountProto.RemoveMobileRequest}
560
+ */
561
+ proto.Auth.AppAccountProto.RemoveMobileRequest.deserializeBinary = function(bytes) {
562
+ var reader = new jspb.BinaryReader(bytes);
563
+ var msg = new proto.Auth.AppAccountProto.RemoveMobileRequest;
564
+ return proto.Auth.AppAccountProto.RemoveMobileRequest.deserializeBinaryFromReader(msg, reader);
565
+ };
566
+
567
+
568
+ /**
569
+ * Deserializes binary data (in protobuf wire format) from the
570
+ * given reader into the given message object.
571
+ * @param {!proto.Auth.AppAccountProto.RemoveMobileRequest} msg The message object to deserialize into.
572
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
573
+ * @return {!proto.Auth.AppAccountProto.RemoveMobileRequest}
574
+ */
575
+ proto.Auth.AppAccountProto.RemoveMobileRequest.deserializeBinaryFromReader = function(msg, reader) {
576
+ while (reader.nextField()) {
577
+ if (reader.isEndGroup()) {
578
+ break;
579
+ }
580
+ var field = reader.getFieldNumber();
581
+ switch (field) {
582
+ case 1:
583
+ var value = /** @type {number} */ (reader.readInt64());
584
+ msg.setId(value);
585
+ break;
586
+ default:
587
+ reader.skipField();
588
+ break;
589
+ }
590
+ }
591
+ return msg;
592
+ };
593
+
594
+
595
+ /**
596
+ * Serializes the message to binary data (in protobuf wire format).
597
+ * @return {!Uint8Array}
598
+ */
599
+ proto.Auth.AppAccountProto.RemoveMobileRequest.prototype.serializeBinary = function() {
600
+ var writer = new jspb.BinaryWriter();
601
+ proto.Auth.AppAccountProto.RemoveMobileRequest.serializeBinaryToWriter(this, writer);
602
+ return writer.getResultBuffer();
603
+ };
604
+
605
+
606
+ /**
607
+ * Serializes the given message to binary data (in protobuf wire
608
+ * format), writing to the given BinaryWriter.
609
+ * @param {!proto.Auth.AppAccountProto.RemoveMobileRequest} message
610
+ * @param {!jspb.BinaryWriter} writer
611
+ * @suppress {unusedLocalVariables} f is only used for nested messages
612
+ */
613
+ proto.Auth.AppAccountProto.RemoveMobileRequest.serializeBinaryToWriter = function(message, writer) {
614
+ var f = undefined;
615
+ f = message.getId();
616
+ if (f !== 0) {
617
+ writer.writeInt64(
618
+ 1,
619
+ f
620
+ );
621
+ }
622
+ };
623
+
624
+
625
+ /**
626
+ * optional int64 id = 1;
627
+ * @return {number}
628
+ */
629
+ proto.Auth.AppAccountProto.RemoveMobileRequest.prototype.getId = function() {
630
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
631
+ };
632
+
633
+
634
+ /**
635
+ * @param {number} value
636
+ * @return {!proto.Auth.AppAccountProto.RemoveMobileRequest} returns this
637
+ */
638
+ proto.Auth.AppAccountProto.RemoveMobileRequest.prototype.setId = function(value) {
639
+ return jspb.Message.setProto3IntField(this, 1, value);
640
+ };
641
+
642
+
643
+
644
+
645
+
646
+ if (jspb.Message.GENERATE_TO_OBJECT) {
647
+ /**
648
+ * Creates an object representation of this proto.
649
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
650
+ * Optional fields that are not set will be set to undefined.
651
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
652
+ * For the list of reserved names please see:
653
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
654
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
655
+ * JSPB instance for transitional soy proto support:
656
+ * http://goto/soy-param-migration
657
+ * @return {!Object}
658
+ */
659
+ proto.Auth.AppAccountProto.ChangeNameRequest.prototype.toObject = function(opt_includeInstance) {
660
+ return proto.Auth.AppAccountProto.ChangeNameRequest.toObject(opt_includeInstance, this);
661
+ };
662
+
663
+
664
+ /**
665
+ * Static version of the {@see toObject} method.
666
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
667
+ * the JSPB instance for transitional soy proto support:
668
+ * http://goto/soy-param-migration
669
+ * @param {!proto.Auth.AppAccountProto.ChangeNameRequest} msg The msg instance to transform.
670
+ * @return {!Object}
671
+ * @suppress {unusedLocalVariables} f is only used for nested messages
672
+ */
673
+ proto.Auth.AppAccountProto.ChangeNameRequest.toObject = function(includeInstance, msg) {
674
+ var f, obj = {
675
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
676
+ lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
677
+ firstName: jspb.Message.getFieldWithDefault(msg, 3, "")
678
+ };
679
+
680
+ if (includeInstance) {
681
+ obj.$jspbMessageInstance = msg;
682
+ }
683
+ return obj;
684
+ };
685
+ }
686
+
687
+
688
+ /**
689
+ * Deserializes binary data (in protobuf wire format).
690
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
691
+ * @return {!proto.Auth.AppAccountProto.ChangeNameRequest}
692
+ */
693
+ proto.Auth.AppAccountProto.ChangeNameRequest.deserializeBinary = function(bytes) {
694
+ var reader = new jspb.BinaryReader(bytes);
695
+ var msg = new proto.Auth.AppAccountProto.ChangeNameRequest;
696
+ return proto.Auth.AppAccountProto.ChangeNameRequest.deserializeBinaryFromReader(msg, reader);
697
+ };
698
+
699
+
700
+ /**
701
+ * Deserializes binary data (in protobuf wire format) from the
702
+ * given reader into the given message object.
703
+ * @param {!proto.Auth.AppAccountProto.ChangeNameRequest} msg The message object to deserialize into.
704
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
705
+ * @return {!proto.Auth.AppAccountProto.ChangeNameRequest}
706
+ */
707
+ proto.Auth.AppAccountProto.ChangeNameRequest.deserializeBinaryFromReader = function(msg, reader) {
708
+ while (reader.nextField()) {
709
+ if (reader.isEndGroup()) {
710
+ break;
711
+ }
712
+ var field = reader.getFieldNumber();
713
+ switch (field) {
714
+ case 1:
715
+ var value = /** @type {number} */ (reader.readInt64());
716
+ msg.setId(value);
717
+ break;
718
+ case 2:
719
+ var value = /** @type {string} */ (reader.readString());
720
+ msg.setLastName(value);
721
+ break;
722
+ case 3:
723
+ var value = /** @type {string} */ (reader.readString());
724
+ msg.setFirstName(value);
725
+ break;
726
+ default:
727
+ reader.skipField();
728
+ break;
729
+ }
730
+ }
731
+ return msg;
732
+ };
733
+
734
+
735
+ /**
736
+ * Serializes the message to binary data (in protobuf wire format).
737
+ * @return {!Uint8Array}
738
+ */
739
+ proto.Auth.AppAccountProto.ChangeNameRequest.prototype.serializeBinary = function() {
740
+ var writer = new jspb.BinaryWriter();
741
+ proto.Auth.AppAccountProto.ChangeNameRequest.serializeBinaryToWriter(this, writer);
742
+ return writer.getResultBuffer();
743
+ };
744
+
745
+
746
+ /**
747
+ * Serializes the given message to binary data (in protobuf wire
748
+ * format), writing to the given BinaryWriter.
749
+ * @param {!proto.Auth.AppAccountProto.ChangeNameRequest} message
750
+ * @param {!jspb.BinaryWriter} writer
751
+ * @suppress {unusedLocalVariables} f is only used for nested messages
752
+ */
753
+ proto.Auth.AppAccountProto.ChangeNameRequest.serializeBinaryToWriter = function(message, writer) {
754
+ var f = undefined;
755
+ f = message.getId();
756
+ if (f !== 0) {
757
+ writer.writeInt64(
758
+ 1,
759
+ f
760
+ );
761
+ }
762
+ f = message.getLastName();
763
+ if (f.length > 0) {
764
+ writer.writeString(
765
+ 2,
766
+ f
767
+ );
768
+ }
769
+ f = message.getFirstName();
770
+ if (f.length > 0) {
771
+ writer.writeString(
772
+ 3,
773
+ f
774
+ );
775
+ }
776
+ };
777
+
778
+
779
+ /**
780
+ * optional int64 id = 1;
781
+ * @return {number}
782
+ */
783
+ proto.Auth.AppAccountProto.ChangeNameRequest.prototype.getId = function() {
784
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
785
+ };
786
+
787
+
788
+ /**
789
+ * @param {number} value
790
+ * @return {!proto.Auth.AppAccountProto.ChangeNameRequest} returns this
791
+ */
792
+ proto.Auth.AppAccountProto.ChangeNameRequest.prototype.setId = function(value) {
793
+ return jspb.Message.setProto3IntField(this, 1, value);
794
+ };
795
+
796
+
797
+ /**
798
+ * optional string last_name = 2;
799
+ * @return {string}
800
+ */
801
+ proto.Auth.AppAccountProto.ChangeNameRequest.prototype.getLastName = function() {
802
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
803
+ };
804
+
805
+
806
+ /**
807
+ * @param {string} value
808
+ * @return {!proto.Auth.AppAccountProto.ChangeNameRequest} returns this
809
+ */
810
+ proto.Auth.AppAccountProto.ChangeNameRequest.prototype.setLastName = function(value) {
811
+ return jspb.Message.setProto3StringField(this, 2, value);
812
+ };
813
+
814
+
815
+ /**
816
+ * optional string first_name = 3;
817
+ * @return {string}
818
+ */
819
+ proto.Auth.AppAccountProto.ChangeNameRequest.prototype.getFirstName = function() {
820
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
821
+ };
822
+
823
+
824
+ /**
825
+ * @param {string} value
826
+ * @return {!proto.Auth.AppAccountProto.ChangeNameRequest} returns this
827
+ */
828
+ proto.Auth.AppAccountProto.ChangeNameRequest.prototype.setFirstName = function(value) {
829
+ return jspb.Message.setProto3StringField(this, 3, value);
830
+ };
831
+
832
+
833
+
834
+
835
+
836
+ if (jspb.Message.GENERATE_TO_OBJECT) {
837
+ /**
838
+ * Creates an object representation of this proto.
839
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
840
+ * Optional fields that are not set will be set to undefined.
841
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
842
+ * For the list of reserved names please see:
843
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
844
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
845
+ * JSPB instance for transitional soy proto support:
846
+ * http://goto/soy-param-migration
847
+ * @return {!Object}
848
+ */
849
+ proto.Auth.AppAccountProto.ChangePskRequest.prototype.toObject = function(opt_includeInstance) {
850
+ return proto.Auth.AppAccountProto.ChangePskRequest.toObject(opt_includeInstance, this);
851
+ };
852
+
853
+
854
+ /**
855
+ * Static version of the {@see toObject} method.
856
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
857
+ * the JSPB instance for transitional soy proto support:
858
+ * http://goto/soy-param-migration
859
+ * @param {!proto.Auth.AppAccountProto.ChangePskRequest} msg The msg instance to transform.
860
+ * @return {!Object}
861
+ * @suppress {unusedLocalVariables} f is only used for nested messages
862
+ */
863
+ proto.Auth.AppAccountProto.ChangePskRequest.toObject = function(includeInstance, msg) {
864
+ var f, obj = {
865
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
866
+ psk: jspb.Message.getFieldWithDefault(msg, 2, "")
867
+ };
868
+
869
+ if (includeInstance) {
870
+ obj.$jspbMessageInstance = msg;
871
+ }
872
+ return obj;
873
+ };
874
+ }
875
+
876
+
877
+ /**
878
+ * Deserializes binary data (in protobuf wire format).
879
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
880
+ * @return {!proto.Auth.AppAccountProto.ChangePskRequest}
881
+ */
882
+ proto.Auth.AppAccountProto.ChangePskRequest.deserializeBinary = function(bytes) {
883
+ var reader = new jspb.BinaryReader(bytes);
884
+ var msg = new proto.Auth.AppAccountProto.ChangePskRequest;
885
+ return proto.Auth.AppAccountProto.ChangePskRequest.deserializeBinaryFromReader(msg, reader);
886
+ };
887
+
888
+
889
+ /**
890
+ * Deserializes binary data (in protobuf wire format) from the
891
+ * given reader into the given message object.
892
+ * @param {!proto.Auth.AppAccountProto.ChangePskRequest} msg The message object to deserialize into.
893
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
894
+ * @return {!proto.Auth.AppAccountProto.ChangePskRequest}
895
+ */
896
+ proto.Auth.AppAccountProto.ChangePskRequest.deserializeBinaryFromReader = function(msg, reader) {
897
+ while (reader.nextField()) {
898
+ if (reader.isEndGroup()) {
899
+ break;
900
+ }
901
+ var field = reader.getFieldNumber();
902
+ switch (field) {
903
+ case 1:
904
+ var value = /** @type {number} */ (reader.readInt64());
905
+ msg.setId(value);
906
+ break;
907
+ case 2:
908
+ var value = /** @type {string} */ (reader.readString());
909
+ msg.setPsk(value);
910
+ break;
911
+ default:
912
+ reader.skipField();
913
+ break;
914
+ }
915
+ }
916
+ return msg;
917
+ };
918
+
919
+
920
+ /**
921
+ * Serializes the message to binary data (in protobuf wire format).
922
+ * @return {!Uint8Array}
923
+ */
924
+ proto.Auth.AppAccountProto.ChangePskRequest.prototype.serializeBinary = function() {
925
+ var writer = new jspb.BinaryWriter();
926
+ proto.Auth.AppAccountProto.ChangePskRequest.serializeBinaryToWriter(this, writer);
927
+ return writer.getResultBuffer();
928
+ };
929
+
930
+
931
+ /**
932
+ * Serializes the given message to binary data (in protobuf wire
933
+ * format), writing to the given BinaryWriter.
934
+ * @param {!proto.Auth.AppAccountProto.ChangePskRequest} message
935
+ * @param {!jspb.BinaryWriter} writer
936
+ * @suppress {unusedLocalVariables} f is only used for nested messages
937
+ */
938
+ proto.Auth.AppAccountProto.ChangePskRequest.serializeBinaryToWriter = function(message, writer) {
939
+ var f = undefined;
940
+ f = message.getId();
941
+ if (f !== 0) {
942
+ writer.writeInt64(
943
+ 1,
944
+ f
945
+ );
946
+ }
947
+ f = message.getPsk();
948
+ if (f.length > 0) {
949
+ writer.writeString(
950
+ 2,
951
+ f
952
+ );
953
+ }
954
+ };
955
+
956
+
957
+ /**
958
+ * optional int64 id = 1;
959
+ * @return {number}
960
+ */
961
+ proto.Auth.AppAccountProto.ChangePskRequest.prototype.getId = function() {
962
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
963
+ };
964
+
965
+
966
+ /**
967
+ * @param {number} value
968
+ * @return {!proto.Auth.AppAccountProto.ChangePskRequest} returns this
969
+ */
970
+ proto.Auth.AppAccountProto.ChangePskRequest.prototype.setId = function(value) {
971
+ return jspb.Message.setProto3IntField(this, 1, value);
972
+ };
973
+
974
+
975
+ /**
976
+ * optional string psk = 2;
977
+ * @return {string}
978
+ */
979
+ proto.Auth.AppAccountProto.ChangePskRequest.prototype.getPsk = function() {
980
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
981
+ };
982
+
983
+
984
+ /**
985
+ * @param {string} value
986
+ * @return {!proto.Auth.AppAccountProto.ChangePskRequest} returns this
987
+ */
988
+ proto.Auth.AppAccountProto.ChangePskRequest.prototype.setPsk = function(value) {
989
+ return jspb.Message.setProto3StringField(this, 2, value);
990
+ };
991
+
992
+
993
+
994
+
995
+
996
+ if (jspb.Message.GENERATE_TO_OBJECT) {
997
+ /**
998
+ * Creates an object representation of this proto.
999
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1000
+ * Optional fields that are not set will be set to undefined.
1001
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1002
+ * For the list of reserved names please see:
1003
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1004
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1005
+ * JSPB instance for transitional soy proto support:
1006
+ * http://goto/soy-param-migration
1007
+ * @return {!Object}
1008
+ */
1009
+ proto.Auth.AppAccountProto.ModifyClientRequest.prototype.toObject = function(opt_includeInstance) {
1010
+ return proto.Auth.AppAccountProto.ModifyClientRequest.toObject(opt_includeInstance, this);
1011
+ };
1012
+
1013
+
1014
+ /**
1015
+ * Static version of the {@see toObject} method.
1016
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1017
+ * the JSPB instance for transitional soy proto support:
1018
+ * http://goto/soy-param-migration
1019
+ * @param {!proto.Auth.AppAccountProto.ModifyClientRequest} msg The msg instance to transform.
1020
+ * @return {!Object}
1021
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1022
+ */
1023
+ proto.Auth.AppAccountProto.ModifyClientRequest.toObject = function(includeInstance, msg) {
1024
+ var f, obj = {
1025
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1026
+ clientId: jspb.Message.getFieldWithDefault(msg, 2, 0),
1027
+ clusterId: jspb.Message.getFieldWithDefault(msg, 3, 0)
1028
+ };
1029
+
1030
+ if (includeInstance) {
1031
+ obj.$jspbMessageInstance = msg;
1032
+ }
1033
+ return obj;
1034
+ };
1035
+ }
1036
+
1037
+
1038
+ /**
1039
+ * Deserializes binary data (in protobuf wire format).
1040
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1041
+ * @return {!proto.Auth.AppAccountProto.ModifyClientRequest}
1042
+ */
1043
+ proto.Auth.AppAccountProto.ModifyClientRequest.deserializeBinary = function(bytes) {
1044
+ var reader = new jspb.BinaryReader(bytes);
1045
+ var msg = new proto.Auth.AppAccountProto.ModifyClientRequest;
1046
+ return proto.Auth.AppAccountProto.ModifyClientRequest.deserializeBinaryFromReader(msg, reader);
1047
+ };
1048
+
1049
+
1050
+ /**
1051
+ * Deserializes binary data (in protobuf wire format) from the
1052
+ * given reader into the given message object.
1053
+ * @param {!proto.Auth.AppAccountProto.ModifyClientRequest} msg The message object to deserialize into.
1054
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1055
+ * @return {!proto.Auth.AppAccountProto.ModifyClientRequest}
1056
+ */
1057
+ proto.Auth.AppAccountProto.ModifyClientRequest.deserializeBinaryFromReader = function(msg, reader) {
1058
+ while (reader.nextField()) {
1059
+ if (reader.isEndGroup()) {
1060
+ break;
1061
+ }
1062
+ var field = reader.getFieldNumber();
1063
+ switch (field) {
1064
+ case 1:
1065
+ var value = /** @type {number} */ (reader.readInt64());
1066
+ msg.setId(value);
1067
+ break;
1068
+ case 2:
1069
+ var value = /** @type {number} */ (reader.readInt32());
1070
+ msg.setClientId(value);
1071
+ break;
1072
+ case 3:
1073
+ var value = /** @type {number} */ (reader.readInt64());
1074
+ msg.setClusterId(value);
1075
+ break;
1076
+ default:
1077
+ reader.skipField();
1078
+ break;
1079
+ }
1080
+ }
1081
+ return msg;
1082
+ };
1083
+
1084
+
1085
+ /**
1086
+ * Serializes the message to binary data (in protobuf wire format).
1087
+ * @return {!Uint8Array}
1088
+ */
1089
+ proto.Auth.AppAccountProto.ModifyClientRequest.prototype.serializeBinary = function() {
1090
+ var writer = new jspb.BinaryWriter();
1091
+ proto.Auth.AppAccountProto.ModifyClientRequest.serializeBinaryToWriter(this, writer);
1092
+ return writer.getResultBuffer();
1093
+ };
1094
+
1095
+
1096
+ /**
1097
+ * Serializes the given message to binary data (in protobuf wire
1098
+ * format), writing to the given BinaryWriter.
1099
+ * @param {!proto.Auth.AppAccountProto.ModifyClientRequest} message
1100
+ * @param {!jspb.BinaryWriter} writer
1101
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1102
+ */
1103
+ proto.Auth.AppAccountProto.ModifyClientRequest.serializeBinaryToWriter = function(message, writer) {
1104
+ var f = undefined;
1105
+ f = message.getId();
1106
+ if (f !== 0) {
1107
+ writer.writeInt64(
1108
+ 1,
1109
+ f
1110
+ );
1111
+ }
1112
+ f = message.getClientId();
1113
+ if (f !== 0) {
1114
+ writer.writeInt32(
1115
+ 2,
1116
+ f
1117
+ );
1118
+ }
1119
+ f = message.getClusterId();
1120
+ if (f !== 0) {
1121
+ writer.writeInt64(
1122
+ 3,
1123
+ f
1124
+ );
1125
+ }
1126
+ };
1127
+
1128
+
1129
+ /**
1130
+ * optional int64 id = 1;
1131
+ * @return {number}
1132
+ */
1133
+ proto.Auth.AppAccountProto.ModifyClientRequest.prototype.getId = function() {
1134
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1135
+ };
1136
+
1137
+
1138
+ /**
1139
+ * @param {number} value
1140
+ * @return {!proto.Auth.AppAccountProto.ModifyClientRequest} returns this
1141
+ */
1142
+ proto.Auth.AppAccountProto.ModifyClientRequest.prototype.setId = function(value) {
1143
+ return jspb.Message.setProto3IntField(this, 1, value);
1144
+ };
1145
+
1146
+
1147
+ /**
1148
+ * optional int32 client_id = 2;
1149
+ * @return {number}
1150
+ */
1151
+ proto.Auth.AppAccountProto.ModifyClientRequest.prototype.getClientId = function() {
1152
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1153
+ };
1154
+
1155
+
1156
+ /**
1157
+ * @param {number} value
1158
+ * @return {!proto.Auth.AppAccountProto.ModifyClientRequest} returns this
1159
+ */
1160
+ proto.Auth.AppAccountProto.ModifyClientRequest.prototype.setClientId = function(value) {
1161
+ return jspb.Message.setProto3IntField(this, 2, value);
1162
+ };
1163
+
1164
+
1165
+ /**
1166
+ * optional int64 cluster_id = 3;
1167
+ * @return {number}
1168
+ */
1169
+ proto.Auth.AppAccountProto.ModifyClientRequest.prototype.getClusterId = function() {
1170
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1171
+ };
1172
+
1173
+
1174
+ /**
1175
+ * @param {number} value
1176
+ * @return {!proto.Auth.AppAccountProto.ModifyClientRequest} returns this
1177
+ */
1178
+ proto.Auth.AppAccountProto.ModifyClientRequest.prototype.setClusterId = function(value) {
1179
+ return jspb.Message.setProto3IntField(this, 3, value);
1180
+ };
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1187
+ /**
1188
+ * Creates an object representation of this proto.
1189
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1190
+ * Optional fields that are not set will be set to undefined.
1191
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1192
+ * For the list of reserved names please see:
1193
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1194
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1195
+ * JSPB instance for transitional soy proto support:
1196
+ * http://goto/soy-param-migration
1197
+ * @return {!Object}
1198
+ */
1199
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.prototype.toObject = function(opt_includeInstance) {
1200
+ return proto.Auth.AppAccountProto.RegisterFirebaseRequest.toObject(opt_includeInstance, this);
1201
+ };
1202
+
1203
+
1204
+ /**
1205
+ * Static version of the {@see toObject} method.
1206
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1207
+ * the JSPB instance for transitional soy proto support:
1208
+ * http://goto/soy-param-migration
1209
+ * @param {!proto.Auth.AppAccountProto.RegisterFirebaseRequest} msg The msg instance to transform.
1210
+ * @return {!Object}
1211
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1212
+ */
1213
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.toObject = function(includeInstance, msg) {
1214
+ var f, obj = {
1215
+ appType: jspb.Message.getFieldWithDefault(msg, 1, 0),
1216
+ firebaseInstallationId: jspb.Message.getFieldWithDefault(msg, 2, "")
1217
+ };
1218
+
1219
+ if (includeInstance) {
1220
+ obj.$jspbMessageInstance = msg;
1221
+ }
1222
+ return obj;
1223
+ };
1224
+ }
1225
+
1226
+
1227
+ /**
1228
+ * Deserializes binary data (in protobuf wire format).
1229
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1230
+ * @return {!proto.Auth.AppAccountProto.RegisterFirebaseRequest}
1231
+ */
1232
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.deserializeBinary = function(bytes) {
1233
+ var reader = new jspb.BinaryReader(bytes);
1234
+ var msg = new proto.Auth.AppAccountProto.RegisterFirebaseRequest;
1235
+ return proto.Auth.AppAccountProto.RegisterFirebaseRequest.deserializeBinaryFromReader(msg, reader);
1236
+ };
1237
+
1238
+
1239
+ /**
1240
+ * Deserializes binary data (in protobuf wire format) from the
1241
+ * given reader into the given message object.
1242
+ * @param {!proto.Auth.AppAccountProto.RegisterFirebaseRequest} msg The message object to deserialize into.
1243
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1244
+ * @return {!proto.Auth.AppAccountProto.RegisterFirebaseRequest}
1245
+ */
1246
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.deserializeBinaryFromReader = function(msg, reader) {
1247
+ while (reader.nextField()) {
1248
+ if (reader.isEndGroup()) {
1249
+ break;
1250
+ }
1251
+ var field = reader.getFieldNumber();
1252
+ switch (field) {
1253
+ case 1:
1254
+ var value = /** @type {!proto.Auth.AppAccountProto.AppType} */ (reader.readEnum());
1255
+ msg.setAppType(value);
1256
+ break;
1257
+ case 2:
1258
+ var value = /** @type {string} */ (reader.readString());
1259
+ msg.setFirebaseInstallationId(value);
1260
+ break;
1261
+ default:
1262
+ reader.skipField();
1263
+ break;
1264
+ }
1265
+ }
1266
+ return msg;
1267
+ };
1268
+
1269
+
1270
+ /**
1271
+ * Serializes the message to binary data (in protobuf wire format).
1272
+ * @return {!Uint8Array}
1273
+ */
1274
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.prototype.serializeBinary = function() {
1275
+ var writer = new jspb.BinaryWriter();
1276
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.serializeBinaryToWriter(this, writer);
1277
+ return writer.getResultBuffer();
1278
+ };
1279
+
1280
+
1281
+ /**
1282
+ * Serializes the given message to binary data (in protobuf wire
1283
+ * format), writing to the given BinaryWriter.
1284
+ * @param {!proto.Auth.AppAccountProto.RegisterFirebaseRequest} message
1285
+ * @param {!jspb.BinaryWriter} writer
1286
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1287
+ */
1288
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.serializeBinaryToWriter = function(message, writer) {
1289
+ var f = undefined;
1290
+ f = message.getAppType();
1291
+ if (f !== 0.0) {
1292
+ writer.writeEnum(
1293
+ 1,
1294
+ f
1295
+ );
1296
+ }
1297
+ f = message.getFirebaseInstallationId();
1298
+ if (f.length > 0) {
1299
+ writer.writeString(
1300
+ 2,
1301
+ f
1302
+ );
1303
+ }
1304
+ };
1305
+
1306
+
1307
+ /**
1308
+ * optional AppType app_type = 1;
1309
+ * @return {!proto.Auth.AppAccountProto.AppType}
1310
+ */
1311
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.prototype.getAppType = function() {
1312
+ return /** @type {!proto.Auth.AppAccountProto.AppType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1313
+ };
1314
+
1315
+
1316
+ /**
1317
+ * @param {!proto.Auth.AppAccountProto.AppType} value
1318
+ * @return {!proto.Auth.AppAccountProto.RegisterFirebaseRequest} returns this
1319
+ */
1320
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.prototype.setAppType = function(value) {
1321
+ return jspb.Message.setProto3EnumField(this, 1, value);
1322
+ };
1323
+
1324
+
1325
+ /**
1326
+ * optional string firebase_installation_id = 2;
1327
+ * @return {string}
1328
+ */
1329
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.prototype.getFirebaseInstallationId = function() {
1330
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1331
+ };
1332
+
1333
+
1334
+ /**
1335
+ * @param {string} value
1336
+ * @return {!proto.Auth.AppAccountProto.RegisterFirebaseRequest} returns this
1337
+ */
1338
+ proto.Auth.AppAccountProto.RegisterFirebaseRequest.prototype.setFirebaseInstallationId = function(value) {
1339
+ return jspb.Message.setProto3StringField(this, 2, value);
1340
+ };
1341
+
1342
+
1343
+ goog.object.extend(exports, proto.Auth);