@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,3141 @@
1
+ // source: auth.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 auth_push_notification_pb = require('./auth.push_notification_pb.js');
25
+ goog.object.extend(proto, auth_push_notification_pb);
26
+ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
+ goog.object.extend(proto, google_api_annotations_pb);
28
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
29
+ goog.object.extend(proto, google_protobuf_empty_pb);
30
+ goog.exportSymbol('proto.Auth.AccountProto', null, global);
31
+ goog.exportSymbol('proto.Auth.AccountProto.AccountsActivationStatuses', null, global);
32
+ goog.exportSymbol('proto.Auth.AccountProto.ActivateAccountRequest', null, global);
33
+ goog.exportSymbol('proto.Auth.AccountProto.ActivationStatuses', null, global);
34
+ goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordReply', null, global);
35
+ goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordRequest', null, global);
36
+ goog.exportSymbol('proto.Auth.AccountProto.CreateAdminRequest', null, global);
37
+ goog.exportSymbol('proto.Auth.AccountProto.CreateAppRequest', null, global);
38
+ goog.exportSymbol('proto.Auth.AccountProto.ForgotPasswordRequest', null, global);
39
+ goog.exportSymbol('proto.Auth.AccountProto.ResendInvitationRequest', null, global);
40
+ goog.exportSymbol('proto.Auth.AccountProto.ResetPasswordRequest', null, global);
41
+ goog.exportSymbol('proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply', null, global);
42
+ goog.exportSymbol('proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest', null, global);
43
+ goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoReply', null, global);
44
+ goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoRequest', null, global);
45
+ goog.exportSymbol('proto.Auth.AccountProto.Roles', null, global);
46
+ /**
47
+ * Generated by JsPbCodeGenerator.
48
+ * @param {Array=} opt_data Optional initial data array, typically from a
49
+ * server response, or constructed directly in Javascript. The array is used
50
+ * in place and becomes part of the constructed object. It is not cloned.
51
+ * If no data is provided, the constructed object will be empty, but still
52
+ * valid.
53
+ * @extends {jspb.Message}
54
+ * @constructor
55
+ */
56
+ proto.Auth.AccountProto = function(opt_data) {
57
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
58
+ };
59
+ goog.inherits(proto.Auth.AccountProto, jspb.Message);
60
+ if (goog.DEBUG && !COMPILED) {
61
+ /**
62
+ * @public
63
+ * @override
64
+ */
65
+ proto.Auth.AccountProto.displayName = 'proto.Auth.AccountProto';
66
+ }
67
+ /**
68
+ * Generated by JsPbCodeGenerator.
69
+ * @param {Array=} opt_data Optional initial data array, typically from a
70
+ * server response, or constructed directly in Javascript. The array is used
71
+ * in place and becomes part of the constructed object. It is not cloned.
72
+ * If no data is provided, the constructed object will be empty, but still
73
+ * valid.
74
+ * @extends {jspb.Message}
75
+ * @constructor
76
+ */
77
+ proto.Auth.AccountProto.CreateAdminRequest = function(opt_data) {
78
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
79
+ };
80
+ goog.inherits(proto.Auth.AccountProto.CreateAdminRequest, jspb.Message);
81
+ if (goog.DEBUG && !COMPILED) {
82
+ /**
83
+ * @public
84
+ * @override
85
+ */
86
+ proto.Auth.AccountProto.CreateAdminRequest.displayName = 'proto.Auth.AccountProto.CreateAdminRequest';
87
+ }
88
+ /**
89
+ * Generated by JsPbCodeGenerator.
90
+ * @param {Array=} opt_data Optional initial data array, typically from a
91
+ * server response, or constructed directly in Javascript. The array is used
92
+ * in place and becomes part of the constructed object. It is not cloned.
93
+ * If no data is provided, the constructed object will be empty, but still
94
+ * valid.
95
+ * @extends {jspb.Message}
96
+ * @constructor
97
+ */
98
+ proto.Auth.AccountProto.CreateAppRequest = function(opt_data) {
99
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
100
+ };
101
+ goog.inherits(proto.Auth.AccountProto.CreateAppRequest, jspb.Message);
102
+ if (goog.DEBUG && !COMPILED) {
103
+ /**
104
+ * @public
105
+ * @override
106
+ */
107
+ proto.Auth.AccountProto.CreateAppRequest.displayName = 'proto.Auth.AccountProto.CreateAppRequest';
108
+ }
109
+ /**
110
+ * Generated by JsPbCodeGenerator.
111
+ * @param {Array=} opt_data Optional initial data array, typically from a
112
+ * server response, or constructed directly in Javascript. The array is used
113
+ * in place and becomes part of the constructed object. It is not cloned.
114
+ * If no data is provided, the constructed object will be empty, but still
115
+ * valid.
116
+ * @extends {jspb.Message}
117
+ * @constructor
118
+ */
119
+ proto.Auth.AccountProto.ActivateAccountRequest = function(opt_data) {
120
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
121
+ };
122
+ goog.inherits(proto.Auth.AccountProto.ActivateAccountRequest, jspb.Message);
123
+ if (goog.DEBUG && !COMPILED) {
124
+ /**
125
+ * @public
126
+ * @override
127
+ */
128
+ proto.Auth.AccountProto.ActivateAccountRequest.displayName = 'proto.Auth.AccountProto.ActivateAccountRequest';
129
+ }
130
+ /**
131
+ * Generated by JsPbCodeGenerator.
132
+ * @param {Array=} opt_data Optional initial data array, typically from a
133
+ * server response, or constructed directly in Javascript. The array is used
134
+ * in place and becomes part of the constructed object. It is not cloned.
135
+ * If no data is provided, the constructed object will be empty, but still
136
+ * valid.
137
+ * @extends {jspb.Message}
138
+ * @constructor
139
+ */
140
+ proto.Auth.AccountProto.ForgotPasswordRequest = function(opt_data) {
141
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
142
+ };
143
+ goog.inherits(proto.Auth.AccountProto.ForgotPasswordRequest, jspb.Message);
144
+ if (goog.DEBUG && !COMPILED) {
145
+ /**
146
+ * @public
147
+ * @override
148
+ */
149
+ proto.Auth.AccountProto.ForgotPasswordRequest.displayName = 'proto.Auth.AccountProto.ForgotPasswordRequest';
150
+ }
151
+ /**
152
+ * Generated by JsPbCodeGenerator.
153
+ * @param {Array=} opt_data Optional initial data array, typically from a
154
+ * server response, or constructed directly in Javascript. The array is used
155
+ * in place and becomes part of the constructed object. It is not cloned.
156
+ * If no data is provided, the constructed object will be empty, but still
157
+ * valid.
158
+ * @extends {jspb.Message}
159
+ * @constructor
160
+ */
161
+ proto.Auth.AccountProto.ResetPasswordRequest = function(opt_data) {
162
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
163
+ };
164
+ goog.inherits(proto.Auth.AccountProto.ResetPasswordRequest, jspb.Message);
165
+ if (goog.DEBUG && !COMPILED) {
166
+ /**
167
+ * @public
168
+ * @override
169
+ */
170
+ proto.Auth.AccountProto.ResetPasswordRequest.displayName = 'proto.Auth.AccountProto.ResetPasswordRequest';
171
+ }
172
+ /**
173
+ * Generated by JsPbCodeGenerator.
174
+ * @param {Array=} opt_data Optional initial data array, typically from a
175
+ * server response, or constructed directly in Javascript. The array is used
176
+ * in place and becomes part of the constructed object. It is not cloned.
177
+ * If no data is provided, the constructed object will be empty, but still
178
+ * valid.
179
+ * @extends {jspb.Message}
180
+ * @constructor
181
+ */
182
+ proto.Auth.AccountProto.ChangePasswordRequest = function(opt_data) {
183
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
184
+ };
185
+ goog.inherits(proto.Auth.AccountProto.ChangePasswordRequest, jspb.Message);
186
+ if (goog.DEBUG && !COMPILED) {
187
+ /**
188
+ * @public
189
+ * @override
190
+ */
191
+ proto.Auth.AccountProto.ChangePasswordRequest.displayName = 'proto.Auth.AccountProto.ChangePasswordRequest';
192
+ }
193
+ /**
194
+ * Generated by JsPbCodeGenerator.
195
+ * @param {Array=} opt_data Optional initial data array, typically from a
196
+ * server response, or constructed directly in Javascript. The array is used
197
+ * in place and becomes part of the constructed object. It is not cloned.
198
+ * If no data is provided, the constructed object will be empty, but still
199
+ * valid.
200
+ * @extends {jspb.Message}
201
+ * @constructor
202
+ */
203
+ proto.Auth.AccountProto.ChangePasswordReply = function(opt_data) {
204
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
205
+ };
206
+ goog.inherits(proto.Auth.AccountProto.ChangePasswordReply, jspb.Message);
207
+ if (goog.DEBUG && !COMPILED) {
208
+ /**
209
+ * @public
210
+ * @override
211
+ */
212
+ proto.Auth.AccountProto.ChangePasswordReply.displayName = 'proto.Auth.AccountProto.ChangePasswordReply';
213
+ }
214
+ /**
215
+ * Generated by JsPbCodeGenerator.
216
+ * @param {Array=} opt_data Optional initial data array, typically from a
217
+ * server response, or constructed directly in Javascript. The array is used
218
+ * in place and becomes part of the constructed object. It is not cloned.
219
+ * If no data is provided, the constructed object will be empty, but still
220
+ * valid.
221
+ * @extends {jspb.Message}
222
+ * @constructor
223
+ */
224
+ proto.Auth.AccountProto.RetrievePushInfoRequest = function(opt_data) {
225
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
226
+ };
227
+ goog.inherits(proto.Auth.AccountProto.RetrievePushInfoRequest, jspb.Message);
228
+ if (goog.DEBUG && !COMPILED) {
229
+ /**
230
+ * @public
231
+ * @override
232
+ */
233
+ proto.Auth.AccountProto.RetrievePushInfoRequest.displayName = 'proto.Auth.AccountProto.RetrievePushInfoRequest';
234
+ }
235
+ /**
236
+ * Generated by JsPbCodeGenerator.
237
+ * @param {Array=} opt_data Optional initial data array, typically from a
238
+ * server response, or constructed directly in Javascript. The array is used
239
+ * in place and becomes part of the constructed object. It is not cloned.
240
+ * If no data is provided, the constructed object will be empty, but still
241
+ * valid.
242
+ * @extends {jspb.Message}
243
+ * @constructor
244
+ */
245
+ proto.Auth.AccountProto.RetrievePushInfoReply = function(opt_data) {
246
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
247
+ };
248
+ goog.inherits(proto.Auth.AccountProto.RetrievePushInfoReply, jspb.Message);
249
+ if (goog.DEBUG && !COMPILED) {
250
+ /**
251
+ * @public
252
+ * @override
253
+ */
254
+ proto.Auth.AccountProto.RetrievePushInfoReply.displayName = 'proto.Auth.AccountProto.RetrievePushInfoReply';
255
+ }
256
+ /**
257
+ * Generated by JsPbCodeGenerator.
258
+ * @param {Array=} opt_data Optional initial data array, typically from a
259
+ * server response, or constructed directly in Javascript. The array is used
260
+ * in place and becomes part of the constructed object. It is not cloned.
261
+ * If no data is provided, the constructed object will be empty, but still
262
+ * valid.
263
+ * @extends {jspb.Message}
264
+ * @constructor
265
+ */
266
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest = function(opt_data) {
267
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.repeatedFields_, null);
268
+ };
269
+ goog.inherits(proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest, jspb.Message);
270
+ if (goog.DEBUG && !COMPILED) {
271
+ /**
272
+ * @public
273
+ * @override
274
+ */
275
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.displayName = 'proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest';
276
+ }
277
+ /**
278
+ * Generated by JsPbCodeGenerator.
279
+ * @param {Array=} opt_data Optional initial data array, typically from a
280
+ * server response, or constructed directly in Javascript. The array is used
281
+ * in place and becomes part of the constructed object. It is not cloned.
282
+ * If no data is provided, the constructed object will be empty, but still
283
+ * valid.
284
+ * @extends {jspb.Message}
285
+ * @constructor
286
+ */
287
+ proto.Auth.AccountProto.AccountsActivationStatuses = function(opt_data) {
288
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
289
+ };
290
+ goog.inherits(proto.Auth.AccountProto.AccountsActivationStatuses, jspb.Message);
291
+ if (goog.DEBUG && !COMPILED) {
292
+ /**
293
+ * @public
294
+ * @override
295
+ */
296
+ proto.Auth.AccountProto.AccountsActivationStatuses.displayName = 'proto.Auth.AccountProto.AccountsActivationStatuses';
297
+ }
298
+ /**
299
+ * Generated by JsPbCodeGenerator.
300
+ * @param {Array=} opt_data Optional initial data array, typically from a
301
+ * server response, or constructed directly in Javascript. The array is used
302
+ * in place and becomes part of the constructed object. It is not cloned.
303
+ * If no data is provided, the constructed object will be empty, but still
304
+ * valid.
305
+ * @extends {jspb.Message}
306
+ * @constructor
307
+ */
308
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply = function(opt_data) {
309
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.repeatedFields_, null);
310
+ };
311
+ goog.inherits(proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply, jspb.Message);
312
+ if (goog.DEBUG && !COMPILED) {
313
+ /**
314
+ * @public
315
+ * @override
316
+ */
317
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.displayName = 'proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply';
318
+ }
319
+ /**
320
+ * Generated by JsPbCodeGenerator.
321
+ * @param {Array=} opt_data Optional initial data array, typically from a
322
+ * server response, or constructed directly in Javascript. The array is used
323
+ * in place and becomes part of the constructed object. It is not cloned.
324
+ * If no data is provided, the constructed object will be empty, but still
325
+ * valid.
326
+ * @extends {jspb.Message}
327
+ * @constructor
328
+ */
329
+ proto.Auth.AccountProto.ResendInvitationRequest = function(opt_data) {
330
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
331
+ };
332
+ goog.inherits(proto.Auth.AccountProto.ResendInvitationRequest, jspb.Message);
333
+ if (goog.DEBUG && !COMPILED) {
334
+ /**
335
+ * @public
336
+ * @override
337
+ */
338
+ proto.Auth.AccountProto.ResendInvitationRequest.displayName = 'proto.Auth.AccountProto.ResendInvitationRequest';
339
+ }
340
+
341
+
342
+
343
+ if (jspb.Message.GENERATE_TO_OBJECT) {
344
+ /**
345
+ * Creates an object representation of this proto.
346
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
347
+ * Optional fields that are not set will be set to undefined.
348
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
349
+ * For the list of reserved names please see:
350
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
351
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
352
+ * JSPB instance for transitional soy proto support:
353
+ * http://goto/soy-param-migration
354
+ * @return {!Object}
355
+ */
356
+ proto.Auth.AccountProto.prototype.toObject = function(opt_includeInstance) {
357
+ return proto.Auth.AccountProto.toObject(opt_includeInstance, this);
358
+ };
359
+
360
+
361
+ /**
362
+ * Static version of the {@see toObject} method.
363
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
364
+ * the JSPB instance for transitional soy proto support:
365
+ * http://goto/soy-param-migration
366
+ * @param {!proto.Auth.AccountProto} msg The msg instance to transform.
367
+ * @return {!Object}
368
+ * @suppress {unusedLocalVariables} f is only used for nested messages
369
+ */
370
+ proto.Auth.AccountProto.toObject = function(includeInstance, msg) {
371
+ var f, obj = {
372
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
373
+ email: jspb.Message.getFieldWithDefault(msg, 2, ""),
374
+ phone: jspb.Message.getFieldWithDefault(msg, 3, ""),
375
+ firstName: jspb.Message.getFieldWithDefault(msg, 4, ""),
376
+ lastName: jspb.Message.getFieldWithDefault(msg, 5, ""),
377
+ locale: jspb.Message.getFieldWithDefault(msg, 6, ""),
378
+ company: jspb.Message.getFieldWithDefault(msg, 7, ""),
379
+ active: jspb.Message.getFieldWithDefault(msg, 8, "")
380
+ };
381
+
382
+ if (includeInstance) {
383
+ obj.$jspbMessageInstance = msg;
384
+ }
385
+ return obj;
386
+ };
387
+ }
388
+
389
+
390
+ /**
391
+ * Deserializes binary data (in protobuf wire format).
392
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
393
+ * @return {!proto.Auth.AccountProto}
394
+ */
395
+ proto.Auth.AccountProto.deserializeBinary = function(bytes) {
396
+ var reader = new jspb.BinaryReader(bytes);
397
+ var msg = new proto.Auth.AccountProto;
398
+ return proto.Auth.AccountProto.deserializeBinaryFromReader(msg, reader);
399
+ };
400
+
401
+
402
+ /**
403
+ * Deserializes binary data (in protobuf wire format) from the
404
+ * given reader into the given message object.
405
+ * @param {!proto.Auth.AccountProto} msg The message object to deserialize into.
406
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
407
+ * @return {!proto.Auth.AccountProto}
408
+ */
409
+ proto.Auth.AccountProto.deserializeBinaryFromReader = function(msg, reader) {
410
+ while (reader.nextField()) {
411
+ if (reader.isEndGroup()) {
412
+ break;
413
+ }
414
+ var field = reader.getFieldNumber();
415
+ switch (field) {
416
+ case 1:
417
+ var value = /** @type {number} */ (reader.readInt64());
418
+ msg.setId(value);
419
+ break;
420
+ case 2:
421
+ var value = /** @type {string} */ (reader.readString());
422
+ msg.setEmail(value);
423
+ break;
424
+ case 3:
425
+ var value = /** @type {string} */ (reader.readString());
426
+ msg.setPhone(value);
427
+ break;
428
+ case 4:
429
+ var value = /** @type {string} */ (reader.readString());
430
+ msg.setFirstName(value);
431
+ break;
432
+ case 5:
433
+ var value = /** @type {string} */ (reader.readString());
434
+ msg.setLastName(value);
435
+ break;
436
+ case 6:
437
+ var value = /** @type {string} */ (reader.readString());
438
+ msg.setLocale(value);
439
+ break;
440
+ case 7:
441
+ var value = /** @type {string} */ (reader.readString());
442
+ msg.setCompany(value);
443
+ break;
444
+ case 8:
445
+ var value = /** @type {string} */ (reader.readString());
446
+ msg.setActive(value);
447
+ break;
448
+ default:
449
+ reader.skipField();
450
+ break;
451
+ }
452
+ }
453
+ return msg;
454
+ };
455
+
456
+
457
+ /**
458
+ * Serializes the message to binary data (in protobuf wire format).
459
+ * @return {!Uint8Array}
460
+ */
461
+ proto.Auth.AccountProto.prototype.serializeBinary = function() {
462
+ var writer = new jspb.BinaryWriter();
463
+ proto.Auth.AccountProto.serializeBinaryToWriter(this, writer);
464
+ return writer.getResultBuffer();
465
+ };
466
+
467
+
468
+ /**
469
+ * Serializes the given message to binary data (in protobuf wire
470
+ * format), writing to the given BinaryWriter.
471
+ * @param {!proto.Auth.AccountProto} message
472
+ * @param {!jspb.BinaryWriter} writer
473
+ * @suppress {unusedLocalVariables} f is only used for nested messages
474
+ */
475
+ proto.Auth.AccountProto.serializeBinaryToWriter = function(message, writer) {
476
+ var f = undefined;
477
+ f = message.getId();
478
+ if (f !== 0) {
479
+ writer.writeInt64(
480
+ 1,
481
+ f
482
+ );
483
+ }
484
+ f = message.getEmail();
485
+ if (f.length > 0) {
486
+ writer.writeString(
487
+ 2,
488
+ f
489
+ );
490
+ }
491
+ f = message.getPhone();
492
+ if (f.length > 0) {
493
+ writer.writeString(
494
+ 3,
495
+ f
496
+ );
497
+ }
498
+ f = message.getFirstName();
499
+ if (f.length > 0) {
500
+ writer.writeString(
501
+ 4,
502
+ f
503
+ );
504
+ }
505
+ f = message.getLastName();
506
+ if (f.length > 0) {
507
+ writer.writeString(
508
+ 5,
509
+ f
510
+ );
511
+ }
512
+ f = message.getLocale();
513
+ if (f.length > 0) {
514
+ writer.writeString(
515
+ 6,
516
+ f
517
+ );
518
+ }
519
+ f = message.getCompany();
520
+ if (f.length > 0) {
521
+ writer.writeString(
522
+ 7,
523
+ f
524
+ );
525
+ }
526
+ f = message.getActive();
527
+ if (f.length > 0) {
528
+ writer.writeString(
529
+ 8,
530
+ f
531
+ );
532
+ }
533
+ };
534
+
535
+
536
+ /**
537
+ * @enum {number}
538
+ */
539
+ proto.Auth.AccountProto.Roles = {
540
+ SYSTEM_ADMIN: 0,
541
+ ADMIN: 1,
542
+ APP_GLOBAL: 2,
543
+ APP_CLUSTER: 3,
544
+ SERVICE_USER: 4,
545
+ DRUM_API_ERP: 5,
546
+ DRUM_TRACKER_VIEW_ALL: 6,
547
+ DRUM_TRACKER_DEMO: 7
548
+ };
549
+
550
+ /**
551
+ * @enum {number}
552
+ */
553
+ proto.Auth.AccountProto.ActivationStatuses = {
554
+ ACTIVATED: 0,
555
+ PENDING: 1,
556
+ EXPIRED: 2
557
+ };
558
+
559
+
560
+
561
+
562
+ if (jspb.Message.GENERATE_TO_OBJECT) {
563
+ /**
564
+ * Creates an object representation of this proto.
565
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
566
+ * Optional fields that are not set will be set to undefined.
567
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
568
+ * For the list of reserved names please see:
569
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
570
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
571
+ * JSPB instance for transitional soy proto support:
572
+ * http://goto/soy-param-migration
573
+ * @return {!Object}
574
+ */
575
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.toObject = function(opt_includeInstance) {
576
+ return proto.Auth.AccountProto.CreateAdminRequest.toObject(opt_includeInstance, this);
577
+ };
578
+
579
+
580
+ /**
581
+ * Static version of the {@see toObject} method.
582
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
583
+ * the JSPB instance for transitional soy proto support:
584
+ * http://goto/soy-param-migration
585
+ * @param {!proto.Auth.AccountProto.CreateAdminRequest} msg The msg instance to transform.
586
+ * @return {!Object}
587
+ * @suppress {unusedLocalVariables} f is only used for nested messages
588
+ */
589
+ proto.Auth.AccountProto.CreateAdminRequest.toObject = function(includeInstance, msg) {
590
+ var f, obj = {
591
+ email: jspb.Message.getFieldWithDefault(msg, 1, ""),
592
+ firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
593
+ lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
594
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
595
+ company: jspb.Message.getFieldWithDefault(msg, 5, "")
596
+ };
597
+
598
+ if (includeInstance) {
599
+ obj.$jspbMessageInstance = msg;
600
+ }
601
+ return obj;
602
+ };
603
+ }
604
+
605
+
606
+ /**
607
+ * Deserializes binary data (in protobuf wire format).
608
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
609
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest}
610
+ */
611
+ proto.Auth.AccountProto.CreateAdminRequest.deserializeBinary = function(bytes) {
612
+ var reader = new jspb.BinaryReader(bytes);
613
+ var msg = new proto.Auth.AccountProto.CreateAdminRequest;
614
+ return proto.Auth.AccountProto.CreateAdminRequest.deserializeBinaryFromReader(msg, reader);
615
+ };
616
+
617
+
618
+ /**
619
+ * Deserializes binary data (in protobuf wire format) from the
620
+ * given reader into the given message object.
621
+ * @param {!proto.Auth.AccountProto.CreateAdminRequest} msg The message object to deserialize into.
622
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
623
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest}
624
+ */
625
+ proto.Auth.AccountProto.CreateAdminRequest.deserializeBinaryFromReader = function(msg, reader) {
626
+ while (reader.nextField()) {
627
+ if (reader.isEndGroup()) {
628
+ break;
629
+ }
630
+ var field = reader.getFieldNumber();
631
+ switch (field) {
632
+ case 1:
633
+ var value = /** @type {string} */ (reader.readString());
634
+ msg.setEmail(value);
635
+ break;
636
+ case 2:
637
+ var value = /** @type {string} */ (reader.readString());
638
+ msg.setFirstName(value);
639
+ break;
640
+ case 3:
641
+ var value = /** @type {string} */ (reader.readString());
642
+ msg.setLastName(value);
643
+ break;
644
+ case 4:
645
+ var value = /** @type {string} */ (reader.readString());
646
+ msg.setLocale(value);
647
+ break;
648
+ case 5:
649
+ var value = /** @type {string} */ (reader.readString());
650
+ msg.setCompany(value);
651
+ break;
652
+ default:
653
+ reader.skipField();
654
+ break;
655
+ }
656
+ }
657
+ return msg;
658
+ };
659
+
660
+
661
+ /**
662
+ * Serializes the message to binary data (in protobuf wire format).
663
+ * @return {!Uint8Array}
664
+ */
665
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.serializeBinary = function() {
666
+ var writer = new jspb.BinaryWriter();
667
+ proto.Auth.AccountProto.CreateAdminRequest.serializeBinaryToWriter(this, writer);
668
+ return writer.getResultBuffer();
669
+ };
670
+
671
+
672
+ /**
673
+ * Serializes the given message to binary data (in protobuf wire
674
+ * format), writing to the given BinaryWriter.
675
+ * @param {!proto.Auth.AccountProto.CreateAdminRequest} message
676
+ * @param {!jspb.BinaryWriter} writer
677
+ * @suppress {unusedLocalVariables} f is only used for nested messages
678
+ */
679
+ proto.Auth.AccountProto.CreateAdminRequest.serializeBinaryToWriter = function(message, writer) {
680
+ var f = undefined;
681
+ f = message.getEmail();
682
+ if (f.length > 0) {
683
+ writer.writeString(
684
+ 1,
685
+ f
686
+ );
687
+ }
688
+ f = message.getFirstName();
689
+ if (f.length > 0) {
690
+ writer.writeString(
691
+ 2,
692
+ f
693
+ );
694
+ }
695
+ f = message.getLastName();
696
+ if (f.length > 0) {
697
+ writer.writeString(
698
+ 3,
699
+ f
700
+ );
701
+ }
702
+ f = message.getLocale();
703
+ if (f.length > 0) {
704
+ writer.writeString(
705
+ 4,
706
+ f
707
+ );
708
+ }
709
+ f = message.getCompany();
710
+ if (f.length > 0) {
711
+ writer.writeString(
712
+ 5,
713
+ f
714
+ );
715
+ }
716
+ };
717
+
718
+
719
+ /**
720
+ * optional string email = 1;
721
+ * @return {string}
722
+ */
723
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getEmail = function() {
724
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
725
+ };
726
+
727
+
728
+ /**
729
+ * @param {string} value
730
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
731
+ */
732
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setEmail = function(value) {
733
+ return jspb.Message.setProto3StringField(this, 1, value);
734
+ };
735
+
736
+
737
+ /**
738
+ * optional string first_name = 2;
739
+ * @return {string}
740
+ */
741
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getFirstName = function() {
742
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
743
+ };
744
+
745
+
746
+ /**
747
+ * @param {string} value
748
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
749
+ */
750
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setFirstName = function(value) {
751
+ return jspb.Message.setProto3StringField(this, 2, value);
752
+ };
753
+
754
+
755
+ /**
756
+ * optional string last_name = 3;
757
+ * @return {string}
758
+ */
759
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getLastName = function() {
760
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
761
+ };
762
+
763
+
764
+ /**
765
+ * @param {string} value
766
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
767
+ */
768
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setLastName = function(value) {
769
+ return jspb.Message.setProto3StringField(this, 3, value);
770
+ };
771
+
772
+
773
+ /**
774
+ * optional string locale = 4;
775
+ * @return {string}
776
+ */
777
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getLocale = function() {
778
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
779
+ };
780
+
781
+
782
+ /**
783
+ * @param {string} value
784
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
785
+ */
786
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setLocale = function(value) {
787
+ return jspb.Message.setProto3StringField(this, 4, value);
788
+ };
789
+
790
+
791
+ /**
792
+ * optional string company = 5;
793
+ * @return {string}
794
+ */
795
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getCompany = function() {
796
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
797
+ };
798
+
799
+
800
+ /**
801
+ * @param {string} value
802
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
803
+ */
804
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setCompany = function(value) {
805
+ return jspb.Message.setProto3StringField(this, 5, value);
806
+ };
807
+
808
+
809
+
810
+
811
+
812
+ if (jspb.Message.GENERATE_TO_OBJECT) {
813
+ /**
814
+ * Creates an object representation of this proto.
815
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
816
+ * Optional fields that are not set will be set to undefined.
817
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
818
+ * For the list of reserved names please see:
819
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
820
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
821
+ * JSPB instance for transitional soy proto support:
822
+ * http://goto/soy-param-migration
823
+ * @return {!Object}
824
+ */
825
+ proto.Auth.AccountProto.CreateAppRequest.prototype.toObject = function(opt_includeInstance) {
826
+ return proto.Auth.AccountProto.CreateAppRequest.toObject(opt_includeInstance, this);
827
+ };
828
+
829
+
830
+ /**
831
+ * Static version of the {@see toObject} method.
832
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
833
+ * the JSPB instance for transitional soy proto support:
834
+ * http://goto/soy-param-migration
835
+ * @param {!proto.Auth.AccountProto.CreateAppRequest} msg The msg instance to transform.
836
+ * @return {!Object}
837
+ * @suppress {unusedLocalVariables} f is only used for nested messages
838
+ */
839
+ proto.Auth.AccountProto.CreateAppRequest.toObject = function(includeInstance, msg) {
840
+ var f, obj = {
841
+ phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
842
+ firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
843
+ lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
844
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
845
+ company: jspb.Message.getFieldWithDefault(msg, 5, ""),
846
+ clientName: jspb.Message.getFieldWithDefault(msg, 6, "")
847
+ };
848
+
849
+ if (includeInstance) {
850
+ obj.$jspbMessageInstance = msg;
851
+ }
852
+ return obj;
853
+ };
854
+ }
855
+
856
+
857
+ /**
858
+ * Deserializes binary data (in protobuf wire format).
859
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
860
+ * @return {!proto.Auth.AccountProto.CreateAppRequest}
861
+ */
862
+ proto.Auth.AccountProto.CreateAppRequest.deserializeBinary = function(bytes) {
863
+ var reader = new jspb.BinaryReader(bytes);
864
+ var msg = new proto.Auth.AccountProto.CreateAppRequest;
865
+ return proto.Auth.AccountProto.CreateAppRequest.deserializeBinaryFromReader(msg, reader);
866
+ };
867
+
868
+
869
+ /**
870
+ * Deserializes binary data (in protobuf wire format) from the
871
+ * given reader into the given message object.
872
+ * @param {!proto.Auth.AccountProto.CreateAppRequest} msg The message object to deserialize into.
873
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
874
+ * @return {!proto.Auth.AccountProto.CreateAppRequest}
875
+ */
876
+ proto.Auth.AccountProto.CreateAppRequest.deserializeBinaryFromReader = function(msg, reader) {
877
+ while (reader.nextField()) {
878
+ if (reader.isEndGroup()) {
879
+ break;
880
+ }
881
+ var field = reader.getFieldNumber();
882
+ switch (field) {
883
+ case 1:
884
+ var value = /** @type {string} */ (reader.readString());
885
+ msg.setPhone(value);
886
+ break;
887
+ case 2:
888
+ var value = /** @type {string} */ (reader.readString());
889
+ msg.setFirstName(value);
890
+ break;
891
+ case 3:
892
+ var value = /** @type {string} */ (reader.readString());
893
+ msg.setLastName(value);
894
+ break;
895
+ case 4:
896
+ var value = /** @type {string} */ (reader.readString());
897
+ msg.setLocale(value);
898
+ break;
899
+ case 5:
900
+ var value = /** @type {string} */ (reader.readString());
901
+ msg.setCompany(value);
902
+ break;
903
+ case 6:
904
+ var value = /** @type {string} */ (reader.readString());
905
+ msg.setClientName(value);
906
+ break;
907
+ default:
908
+ reader.skipField();
909
+ break;
910
+ }
911
+ }
912
+ return msg;
913
+ };
914
+
915
+
916
+ /**
917
+ * Serializes the message to binary data (in protobuf wire format).
918
+ * @return {!Uint8Array}
919
+ */
920
+ proto.Auth.AccountProto.CreateAppRequest.prototype.serializeBinary = function() {
921
+ var writer = new jspb.BinaryWriter();
922
+ proto.Auth.AccountProto.CreateAppRequest.serializeBinaryToWriter(this, writer);
923
+ return writer.getResultBuffer();
924
+ };
925
+
926
+
927
+ /**
928
+ * Serializes the given message to binary data (in protobuf wire
929
+ * format), writing to the given BinaryWriter.
930
+ * @param {!proto.Auth.AccountProto.CreateAppRequest} message
931
+ * @param {!jspb.BinaryWriter} writer
932
+ * @suppress {unusedLocalVariables} f is only used for nested messages
933
+ */
934
+ proto.Auth.AccountProto.CreateAppRequest.serializeBinaryToWriter = function(message, writer) {
935
+ var f = undefined;
936
+ f = message.getPhone();
937
+ if (f.length > 0) {
938
+ writer.writeString(
939
+ 1,
940
+ f
941
+ );
942
+ }
943
+ f = message.getFirstName();
944
+ if (f.length > 0) {
945
+ writer.writeString(
946
+ 2,
947
+ f
948
+ );
949
+ }
950
+ f = message.getLastName();
951
+ if (f.length > 0) {
952
+ writer.writeString(
953
+ 3,
954
+ f
955
+ );
956
+ }
957
+ f = message.getLocale();
958
+ if (f.length > 0) {
959
+ writer.writeString(
960
+ 4,
961
+ f
962
+ );
963
+ }
964
+ f = message.getCompany();
965
+ if (f.length > 0) {
966
+ writer.writeString(
967
+ 5,
968
+ f
969
+ );
970
+ }
971
+ f = message.getClientName();
972
+ if (f.length > 0) {
973
+ writer.writeString(
974
+ 6,
975
+ f
976
+ );
977
+ }
978
+ };
979
+
980
+
981
+ /**
982
+ * optional string phone = 1;
983
+ * @return {string}
984
+ */
985
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getPhone = function() {
986
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
987
+ };
988
+
989
+
990
+ /**
991
+ * @param {string} value
992
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
993
+ */
994
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setPhone = function(value) {
995
+ return jspb.Message.setProto3StringField(this, 1, value);
996
+ };
997
+
998
+
999
+ /**
1000
+ * optional string first_name = 2;
1001
+ * @return {string}
1002
+ */
1003
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getFirstName = function() {
1004
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1005
+ };
1006
+
1007
+
1008
+ /**
1009
+ * @param {string} value
1010
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1011
+ */
1012
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setFirstName = function(value) {
1013
+ return jspb.Message.setProto3StringField(this, 2, value);
1014
+ };
1015
+
1016
+
1017
+ /**
1018
+ * optional string last_name = 3;
1019
+ * @return {string}
1020
+ */
1021
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getLastName = function() {
1022
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1023
+ };
1024
+
1025
+
1026
+ /**
1027
+ * @param {string} value
1028
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1029
+ */
1030
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setLastName = function(value) {
1031
+ return jspb.Message.setProto3StringField(this, 3, value);
1032
+ };
1033
+
1034
+
1035
+ /**
1036
+ * optional string locale = 4;
1037
+ * @return {string}
1038
+ */
1039
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getLocale = function() {
1040
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1041
+ };
1042
+
1043
+
1044
+ /**
1045
+ * @param {string} value
1046
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1047
+ */
1048
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setLocale = function(value) {
1049
+ return jspb.Message.setProto3StringField(this, 4, value);
1050
+ };
1051
+
1052
+
1053
+ /**
1054
+ * optional string company = 5;
1055
+ * @return {string}
1056
+ */
1057
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getCompany = function() {
1058
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1059
+ };
1060
+
1061
+
1062
+ /**
1063
+ * @param {string} value
1064
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1065
+ */
1066
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setCompany = function(value) {
1067
+ return jspb.Message.setProto3StringField(this, 5, value);
1068
+ };
1069
+
1070
+
1071
+ /**
1072
+ * optional string client_name = 6;
1073
+ * @return {string}
1074
+ */
1075
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getClientName = function() {
1076
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1077
+ };
1078
+
1079
+
1080
+ /**
1081
+ * @param {string} value
1082
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1083
+ */
1084
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setClientName = function(value) {
1085
+ return jspb.Message.setProto3StringField(this, 6, value);
1086
+ };
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1093
+ /**
1094
+ * Creates an object representation of this proto.
1095
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1096
+ * Optional fields that are not set will be set to undefined.
1097
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1098
+ * For the list of reserved names please see:
1099
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1100
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1101
+ * JSPB instance for transitional soy proto support:
1102
+ * http://goto/soy-param-migration
1103
+ * @return {!Object}
1104
+ */
1105
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.toObject = function(opt_includeInstance) {
1106
+ return proto.Auth.AccountProto.ActivateAccountRequest.toObject(opt_includeInstance, this);
1107
+ };
1108
+
1109
+
1110
+ /**
1111
+ * Static version of the {@see toObject} method.
1112
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1113
+ * the JSPB instance for transitional soy proto support:
1114
+ * http://goto/soy-param-migration
1115
+ * @param {!proto.Auth.AccountProto.ActivateAccountRequest} msg The msg instance to transform.
1116
+ * @return {!Object}
1117
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1118
+ */
1119
+ proto.Auth.AccountProto.ActivateAccountRequest.toObject = function(includeInstance, msg) {
1120
+ var f, obj = {
1121
+ accountconfirmationtoken: jspb.Message.getFieldWithDefault(msg, 1, 0),
1122
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
1123
+ confirmpassword: jspb.Message.getFieldWithDefault(msg, 3, ""),
1124
+ email: jspb.Message.getFieldWithDefault(msg, 4, "")
1125
+ };
1126
+
1127
+ if (includeInstance) {
1128
+ obj.$jspbMessageInstance = msg;
1129
+ }
1130
+ return obj;
1131
+ };
1132
+ }
1133
+
1134
+
1135
+ /**
1136
+ * Deserializes binary data (in protobuf wire format).
1137
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1138
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest}
1139
+ */
1140
+ proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinary = function(bytes) {
1141
+ var reader = new jspb.BinaryReader(bytes);
1142
+ var msg = new proto.Auth.AccountProto.ActivateAccountRequest;
1143
+ return proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinaryFromReader(msg, reader);
1144
+ };
1145
+
1146
+
1147
+ /**
1148
+ * Deserializes binary data (in protobuf wire format) from the
1149
+ * given reader into the given message object.
1150
+ * @param {!proto.Auth.AccountProto.ActivateAccountRequest} msg The message object to deserialize into.
1151
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1152
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest}
1153
+ */
1154
+ proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
1155
+ while (reader.nextField()) {
1156
+ if (reader.isEndGroup()) {
1157
+ break;
1158
+ }
1159
+ var field = reader.getFieldNumber();
1160
+ switch (field) {
1161
+ case 1:
1162
+ var value = /** @type {number} */ (reader.readInt32());
1163
+ msg.setAccountconfirmationtoken(value);
1164
+ break;
1165
+ case 2:
1166
+ var value = /** @type {string} */ (reader.readString());
1167
+ msg.setPassword(value);
1168
+ break;
1169
+ case 3:
1170
+ var value = /** @type {string} */ (reader.readString());
1171
+ msg.setConfirmpassword(value);
1172
+ break;
1173
+ case 4:
1174
+ var value = /** @type {string} */ (reader.readString());
1175
+ msg.setEmail(value);
1176
+ break;
1177
+ default:
1178
+ reader.skipField();
1179
+ break;
1180
+ }
1181
+ }
1182
+ return msg;
1183
+ };
1184
+
1185
+
1186
+ /**
1187
+ * Serializes the message to binary data (in protobuf wire format).
1188
+ * @return {!Uint8Array}
1189
+ */
1190
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.serializeBinary = function() {
1191
+ var writer = new jspb.BinaryWriter();
1192
+ proto.Auth.AccountProto.ActivateAccountRequest.serializeBinaryToWriter(this, writer);
1193
+ return writer.getResultBuffer();
1194
+ };
1195
+
1196
+
1197
+ /**
1198
+ * Serializes the given message to binary data (in protobuf wire
1199
+ * format), writing to the given BinaryWriter.
1200
+ * @param {!proto.Auth.AccountProto.ActivateAccountRequest} message
1201
+ * @param {!jspb.BinaryWriter} writer
1202
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1203
+ */
1204
+ proto.Auth.AccountProto.ActivateAccountRequest.serializeBinaryToWriter = function(message, writer) {
1205
+ var f = undefined;
1206
+ f = message.getAccountconfirmationtoken();
1207
+ if (f !== 0) {
1208
+ writer.writeInt32(
1209
+ 1,
1210
+ f
1211
+ );
1212
+ }
1213
+ f = message.getPassword();
1214
+ if (f.length > 0) {
1215
+ writer.writeString(
1216
+ 2,
1217
+ f
1218
+ );
1219
+ }
1220
+ f = message.getConfirmpassword();
1221
+ if (f.length > 0) {
1222
+ writer.writeString(
1223
+ 3,
1224
+ f
1225
+ );
1226
+ }
1227
+ f = message.getEmail();
1228
+ if (f.length > 0) {
1229
+ writer.writeString(
1230
+ 4,
1231
+ f
1232
+ );
1233
+ }
1234
+ };
1235
+
1236
+
1237
+ /**
1238
+ * optional int32 accountConfirmationToken = 1;
1239
+ * @return {number}
1240
+ */
1241
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.getAccountconfirmationtoken = function() {
1242
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1243
+ };
1244
+
1245
+
1246
+ /**
1247
+ * @param {number} value
1248
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
1249
+ */
1250
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.setAccountconfirmationtoken = function(value) {
1251
+ return jspb.Message.setProto3IntField(this, 1, value);
1252
+ };
1253
+
1254
+
1255
+ /**
1256
+ * optional string password = 2;
1257
+ * @return {string}
1258
+ */
1259
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.getPassword = function() {
1260
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1261
+ };
1262
+
1263
+
1264
+ /**
1265
+ * @param {string} value
1266
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
1267
+ */
1268
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.setPassword = function(value) {
1269
+ return jspb.Message.setProto3StringField(this, 2, value);
1270
+ };
1271
+
1272
+
1273
+ /**
1274
+ * optional string confirmPassword = 3;
1275
+ * @return {string}
1276
+ */
1277
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.getConfirmpassword = function() {
1278
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1279
+ };
1280
+
1281
+
1282
+ /**
1283
+ * @param {string} value
1284
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
1285
+ */
1286
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.setConfirmpassword = function(value) {
1287
+ return jspb.Message.setProto3StringField(this, 3, value);
1288
+ };
1289
+
1290
+
1291
+ /**
1292
+ * optional string email = 4;
1293
+ * @return {string}
1294
+ */
1295
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.getEmail = function() {
1296
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1297
+ };
1298
+
1299
+
1300
+ /**
1301
+ * @param {string} value
1302
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
1303
+ */
1304
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.setEmail = function(value) {
1305
+ return jspb.Message.setProto3StringField(this, 4, value);
1306
+ };
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1313
+ /**
1314
+ * Creates an object representation of this proto.
1315
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1316
+ * Optional fields that are not set will be set to undefined.
1317
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1318
+ * For the list of reserved names please see:
1319
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1320
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1321
+ * JSPB instance for transitional soy proto support:
1322
+ * http://goto/soy-param-migration
1323
+ * @return {!Object}
1324
+ */
1325
+ proto.Auth.AccountProto.ForgotPasswordRequest.prototype.toObject = function(opt_includeInstance) {
1326
+ return proto.Auth.AccountProto.ForgotPasswordRequest.toObject(opt_includeInstance, this);
1327
+ };
1328
+
1329
+
1330
+ /**
1331
+ * Static version of the {@see toObject} method.
1332
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1333
+ * the JSPB instance for transitional soy proto support:
1334
+ * http://goto/soy-param-migration
1335
+ * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} msg The msg instance to transform.
1336
+ * @return {!Object}
1337
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1338
+ */
1339
+ proto.Auth.AccountProto.ForgotPasswordRequest.toObject = function(includeInstance, msg) {
1340
+ var f, obj = {
1341
+ email: jspb.Message.getFieldWithDefault(msg, 1, "")
1342
+ };
1343
+
1344
+ if (includeInstance) {
1345
+ obj.$jspbMessageInstance = msg;
1346
+ }
1347
+ return obj;
1348
+ };
1349
+ }
1350
+
1351
+
1352
+ /**
1353
+ * Deserializes binary data (in protobuf wire format).
1354
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1355
+ * @return {!proto.Auth.AccountProto.ForgotPasswordRequest}
1356
+ */
1357
+ proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinary = function(bytes) {
1358
+ var reader = new jspb.BinaryReader(bytes);
1359
+ var msg = new proto.Auth.AccountProto.ForgotPasswordRequest;
1360
+ return proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinaryFromReader(msg, reader);
1361
+ };
1362
+
1363
+
1364
+ /**
1365
+ * Deserializes binary data (in protobuf wire format) from the
1366
+ * given reader into the given message object.
1367
+ * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} msg The message object to deserialize into.
1368
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1369
+ * @return {!proto.Auth.AccountProto.ForgotPasswordRequest}
1370
+ */
1371
+ proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
1372
+ while (reader.nextField()) {
1373
+ if (reader.isEndGroup()) {
1374
+ break;
1375
+ }
1376
+ var field = reader.getFieldNumber();
1377
+ switch (field) {
1378
+ case 1:
1379
+ var value = /** @type {string} */ (reader.readString());
1380
+ msg.setEmail(value);
1381
+ break;
1382
+ default:
1383
+ reader.skipField();
1384
+ break;
1385
+ }
1386
+ }
1387
+ return msg;
1388
+ };
1389
+
1390
+
1391
+ /**
1392
+ * Serializes the message to binary data (in protobuf wire format).
1393
+ * @return {!Uint8Array}
1394
+ */
1395
+ proto.Auth.AccountProto.ForgotPasswordRequest.prototype.serializeBinary = function() {
1396
+ var writer = new jspb.BinaryWriter();
1397
+ proto.Auth.AccountProto.ForgotPasswordRequest.serializeBinaryToWriter(this, writer);
1398
+ return writer.getResultBuffer();
1399
+ };
1400
+
1401
+
1402
+ /**
1403
+ * Serializes the given message to binary data (in protobuf wire
1404
+ * format), writing to the given BinaryWriter.
1405
+ * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} message
1406
+ * @param {!jspb.BinaryWriter} writer
1407
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1408
+ */
1409
+ proto.Auth.AccountProto.ForgotPasswordRequest.serializeBinaryToWriter = function(message, writer) {
1410
+ var f = undefined;
1411
+ f = message.getEmail();
1412
+ if (f.length > 0) {
1413
+ writer.writeString(
1414
+ 1,
1415
+ f
1416
+ );
1417
+ }
1418
+ };
1419
+
1420
+
1421
+ /**
1422
+ * optional string email = 1;
1423
+ * @return {string}
1424
+ */
1425
+ proto.Auth.AccountProto.ForgotPasswordRequest.prototype.getEmail = function() {
1426
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1427
+ };
1428
+
1429
+
1430
+ /**
1431
+ * @param {string} value
1432
+ * @return {!proto.Auth.AccountProto.ForgotPasswordRequest} returns this
1433
+ */
1434
+ proto.Auth.AccountProto.ForgotPasswordRequest.prototype.setEmail = function(value) {
1435
+ return jspb.Message.setProto3StringField(this, 1, value);
1436
+ };
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1443
+ /**
1444
+ * Creates an object representation of this proto.
1445
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1446
+ * Optional fields that are not set will be set to undefined.
1447
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1448
+ * For the list of reserved names please see:
1449
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1450
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1451
+ * JSPB instance for transitional soy proto support:
1452
+ * http://goto/soy-param-migration
1453
+ * @return {!Object}
1454
+ */
1455
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.toObject = function(opt_includeInstance) {
1456
+ return proto.Auth.AccountProto.ResetPasswordRequest.toObject(opt_includeInstance, this);
1457
+ };
1458
+
1459
+
1460
+ /**
1461
+ * Static version of the {@see toObject} method.
1462
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1463
+ * the JSPB instance for transitional soy proto support:
1464
+ * http://goto/soy-param-migration
1465
+ * @param {!proto.Auth.AccountProto.ResetPasswordRequest} msg The msg instance to transform.
1466
+ * @return {!Object}
1467
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1468
+ */
1469
+ proto.Auth.AccountProto.ResetPasswordRequest.toObject = function(includeInstance, msg) {
1470
+ var f, obj = {
1471
+ accountconfirmationtoken: jspb.Message.getFieldWithDefault(msg, 1, 0),
1472
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
1473
+ confirmpassword: jspb.Message.getFieldWithDefault(msg, 3, ""),
1474
+ email: jspb.Message.getFieldWithDefault(msg, 4, "")
1475
+ };
1476
+
1477
+ if (includeInstance) {
1478
+ obj.$jspbMessageInstance = msg;
1479
+ }
1480
+ return obj;
1481
+ };
1482
+ }
1483
+
1484
+
1485
+ /**
1486
+ * Deserializes binary data (in protobuf wire format).
1487
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1488
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest}
1489
+ */
1490
+ proto.Auth.AccountProto.ResetPasswordRequest.deserializeBinary = function(bytes) {
1491
+ var reader = new jspb.BinaryReader(bytes);
1492
+ var msg = new proto.Auth.AccountProto.ResetPasswordRequest;
1493
+ return proto.Auth.AccountProto.ResetPasswordRequest.deserializeBinaryFromReader(msg, reader);
1494
+ };
1495
+
1496
+
1497
+ /**
1498
+ * Deserializes binary data (in protobuf wire format) from the
1499
+ * given reader into the given message object.
1500
+ * @param {!proto.Auth.AccountProto.ResetPasswordRequest} msg The message object to deserialize into.
1501
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1502
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest}
1503
+ */
1504
+ proto.Auth.AccountProto.ResetPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
1505
+ while (reader.nextField()) {
1506
+ if (reader.isEndGroup()) {
1507
+ break;
1508
+ }
1509
+ var field = reader.getFieldNumber();
1510
+ switch (field) {
1511
+ case 1:
1512
+ var value = /** @type {number} */ (reader.readInt32());
1513
+ msg.setAccountconfirmationtoken(value);
1514
+ break;
1515
+ case 2:
1516
+ var value = /** @type {string} */ (reader.readString());
1517
+ msg.setPassword(value);
1518
+ break;
1519
+ case 3:
1520
+ var value = /** @type {string} */ (reader.readString());
1521
+ msg.setConfirmpassword(value);
1522
+ break;
1523
+ case 4:
1524
+ var value = /** @type {string} */ (reader.readString());
1525
+ msg.setEmail(value);
1526
+ break;
1527
+ default:
1528
+ reader.skipField();
1529
+ break;
1530
+ }
1531
+ }
1532
+ return msg;
1533
+ };
1534
+
1535
+
1536
+ /**
1537
+ * Serializes the message to binary data (in protobuf wire format).
1538
+ * @return {!Uint8Array}
1539
+ */
1540
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.serializeBinary = function() {
1541
+ var writer = new jspb.BinaryWriter();
1542
+ proto.Auth.AccountProto.ResetPasswordRequest.serializeBinaryToWriter(this, writer);
1543
+ return writer.getResultBuffer();
1544
+ };
1545
+
1546
+
1547
+ /**
1548
+ * Serializes the given message to binary data (in protobuf wire
1549
+ * format), writing to the given BinaryWriter.
1550
+ * @param {!proto.Auth.AccountProto.ResetPasswordRequest} message
1551
+ * @param {!jspb.BinaryWriter} writer
1552
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1553
+ */
1554
+ proto.Auth.AccountProto.ResetPasswordRequest.serializeBinaryToWriter = function(message, writer) {
1555
+ var f = undefined;
1556
+ f = message.getAccountconfirmationtoken();
1557
+ if (f !== 0) {
1558
+ writer.writeInt32(
1559
+ 1,
1560
+ f
1561
+ );
1562
+ }
1563
+ f = message.getPassword();
1564
+ if (f.length > 0) {
1565
+ writer.writeString(
1566
+ 2,
1567
+ f
1568
+ );
1569
+ }
1570
+ f = message.getConfirmpassword();
1571
+ if (f.length > 0) {
1572
+ writer.writeString(
1573
+ 3,
1574
+ f
1575
+ );
1576
+ }
1577
+ f = message.getEmail();
1578
+ if (f.length > 0) {
1579
+ writer.writeString(
1580
+ 4,
1581
+ f
1582
+ );
1583
+ }
1584
+ };
1585
+
1586
+
1587
+ /**
1588
+ * optional int32 accountConfirmationToken = 1;
1589
+ * @return {number}
1590
+ */
1591
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.getAccountconfirmationtoken = function() {
1592
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1593
+ };
1594
+
1595
+
1596
+ /**
1597
+ * @param {number} value
1598
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest} returns this
1599
+ */
1600
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.setAccountconfirmationtoken = function(value) {
1601
+ return jspb.Message.setProto3IntField(this, 1, value);
1602
+ };
1603
+
1604
+
1605
+ /**
1606
+ * optional string password = 2;
1607
+ * @return {string}
1608
+ */
1609
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.getPassword = function() {
1610
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1611
+ };
1612
+
1613
+
1614
+ /**
1615
+ * @param {string} value
1616
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest} returns this
1617
+ */
1618
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.setPassword = function(value) {
1619
+ return jspb.Message.setProto3StringField(this, 2, value);
1620
+ };
1621
+
1622
+
1623
+ /**
1624
+ * optional string confirmPassword = 3;
1625
+ * @return {string}
1626
+ */
1627
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.getConfirmpassword = function() {
1628
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1629
+ };
1630
+
1631
+
1632
+ /**
1633
+ * @param {string} value
1634
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest} returns this
1635
+ */
1636
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.setConfirmpassword = function(value) {
1637
+ return jspb.Message.setProto3StringField(this, 3, value);
1638
+ };
1639
+
1640
+
1641
+ /**
1642
+ * optional string email = 4;
1643
+ * @return {string}
1644
+ */
1645
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.getEmail = function() {
1646
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1647
+ };
1648
+
1649
+
1650
+ /**
1651
+ * @param {string} value
1652
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest} returns this
1653
+ */
1654
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.setEmail = function(value) {
1655
+ return jspb.Message.setProto3StringField(this, 4, value);
1656
+ };
1657
+
1658
+
1659
+
1660
+
1661
+
1662
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1663
+ /**
1664
+ * Creates an object representation of this proto.
1665
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1666
+ * Optional fields that are not set will be set to undefined.
1667
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1668
+ * For the list of reserved names please see:
1669
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1670
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1671
+ * JSPB instance for transitional soy proto support:
1672
+ * http://goto/soy-param-migration
1673
+ * @return {!Object}
1674
+ */
1675
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
1676
+ return proto.Auth.AccountProto.ChangePasswordRequest.toObject(opt_includeInstance, this);
1677
+ };
1678
+
1679
+
1680
+ /**
1681
+ * Static version of the {@see toObject} method.
1682
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1683
+ * the JSPB instance for transitional soy proto support:
1684
+ * http://goto/soy-param-migration
1685
+ * @param {!proto.Auth.AccountProto.ChangePasswordRequest} msg The msg instance to transform.
1686
+ * @return {!Object}
1687
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1688
+ */
1689
+ proto.Auth.AccountProto.ChangePasswordRequest.toObject = function(includeInstance, msg) {
1690
+ var f, obj = {
1691
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1692
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
1693
+ confirmpassword: jspb.Message.getFieldWithDefault(msg, 3, ""),
1694
+ oldpassword: jspb.Message.getFieldWithDefault(msg, 4, "")
1695
+ };
1696
+
1697
+ if (includeInstance) {
1698
+ obj.$jspbMessageInstance = msg;
1699
+ }
1700
+ return obj;
1701
+ };
1702
+ }
1703
+
1704
+
1705
+ /**
1706
+ * Deserializes binary data (in protobuf wire format).
1707
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1708
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest}
1709
+ */
1710
+ proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinary = function(bytes) {
1711
+ var reader = new jspb.BinaryReader(bytes);
1712
+ var msg = new proto.Auth.AccountProto.ChangePasswordRequest;
1713
+ return proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinaryFromReader(msg, reader);
1714
+ };
1715
+
1716
+
1717
+ /**
1718
+ * Deserializes binary data (in protobuf wire format) from the
1719
+ * given reader into the given message object.
1720
+ * @param {!proto.Auth.AccountProto.ChangePasswordRequest} msg The message object to deserialize into.
1721
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1722
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest}
1723
+ */
1724
+ proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
1725
+ while (reader.nextField()) {
1726
+ if (reader.isEndGroup()) {
1727
+ break;
1728
+ }
1729
+ var field = reader.getFieldNumber();
1730
+ switch (field) {
1731
+ case 1:
1732
+ var value = /** @type {number} */ (reader.readInt64());
1733
+ msg.setId(value);
1734
+ break;
1735
+ case 2:
1736
+ var value = /** @type {string} */ (reader.readString());
1737
+ msg.setPassword(value);
1738
+ break;
1739
+ case 3:
1740
+ var value = /** @type {string} */ (reader.readString());
1741
+ msg.setConfirmpassword(value);
1742
+ break;
1743
+ case 4:
1744
+ var value = /** @type {string} */ (reader.readString());
1745
+ msg.setOldpassword(value);
1746
+ break;
1747
+ default:
1748
+ reader.skipField();
1749
+ break;
1750
+ }
1751
+ }
1752
+ return msg;
1753
+ };
1754
+
1755
+
1756
+ /**
1757
+ * Serializes the message to binary data (in protobuf wire format).
1758
+ * @return {!Uint8Array}
1759
+ */
1760
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.serializeBinary = function() {
1761
+ var writer = new jspb.BinaryWriter();
1762
+ proto.Auth.AccountProto.ChangePasswordRequest.serializeBinaryToWriter(this, writer);
1763
+ return writer.getResultBuffer();
1764
+ };
1765
+
1766
+
1767
+ /**
1768
+ * Serializes the given message to binary data (in protobuf wire
1769
+ * format), writing to the given BinaryWriter.
1770
+ * @param {!proto.Auth.AccountProto.ChangePasswordRequest} message
1771
+ * @param {!jspb.BinaryWriter} writer
1772
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1773
+ */
1774
+ proto.Auth.AccountProto.ChangePasswordRequest.serializeBinaryToWriter = function(message, writer) {
1775
+ var f = undefined;
1776
+ f = message.getId();
1777
+ if (f !== 0) {
1778
+ writer.writeInt64(
1779
+ 1,
1780
+ f
1781
+ );
1782
+ }
1783
+ f = message.getPassword();
1784
+ if (f.length > 0) {
1785
+ writer.writeString(
1786
+ 2,
1787
+ f
1788
+ );
1789
+ }
1790
+ f = message.getConfirmpassword();
1791
+ if (f.length > 0) {
1792
+ writer.writeString(
1793
+ 3,
1794
+ f
1795
+ );
1796
+ }
1797
+ f = message.getOldpassword();
1798
+ if (f.length > 0) {
1799
+ writer.writeString(
1800
+ 4,
1801
+ f
1802
+ );
1803
+ }
1804
+ };
1805
+
1806
+
1807
+ /**
1808
+ * optional int64 id = 1;
1809
+ * @return {number}
1810
+ */
1811
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.getId = function() {
1812
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1813
+ };
1814
+
1815
+
1816
+ /**
1817
+ * @param {number} value
1818
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
1819
+ */
1820
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.setId = function(value) {
1821
+ return jspb.Message.setProto3IntField(this, 1, value);
1822
+ };
1823
+
1824
+
1825
+ /**
1826
+ * optional string password = 2;
1827
+ * @return {string}
1828
+ */
1829
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.getPassword = function() {
1830
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1831
+ };
1832
+
1833
+
1834
+ /**
1835
+ * @param {string} value
1836
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
1837
+ */
1838
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.setPassword = function(value) {
1839
+ return jspb.Message.setProto3StringField(this, 2, value);
1840
+ };
1841
+
1842
+
1843
+ /**
1844
+ * optional string confirmPassword = 3;
1845
+ * @return {string}
1846
+ */
1847
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.getConfirmpassword = function() {
1848
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1849
+ };
1850
+
1851
+
1852
+ /**
1853
+ * @param {string} value
1854
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
1855
+ */
1856
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.setConfirmpassword = function(value) {
1857
+ return jspb.Message.setProto3StringField(this, 3, value);
1858
+ };
1859
+
1860
+
1861
+ /**
1862
+ * optional string oldPassword = 4;
1863
+ * @return {string}
1864
+ */
1865
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.getOldpassword = function() {
1866
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1867
+ };
1868
+
1869
+
1870
+ /**
1871
+ * @param {string} value
1872
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
1873
+ */
1874
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.setOldpassword = function(value) {
1875
+ return jspb.Message.setProto3StringField(this, 4, value);
1876
+ };
1877
+
1878
+
1879
+
1880
+
1881
+
1882
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1883
+ /**
1884
+ * Creates an object representation of this proto.
1885
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1886
+ * Optional fields that are not set will be set to undefined.
1887
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1888
+ * For the list of reserved names please see:
1889
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1890
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1891
+ * JSPB instance for transitional soy proto support:
1892
+ * http://goto/soy-param-migration
1893
+ * @return {!Object}
1894
+ */
1895
+ proto.Auth.AccountProto.ChangePasswordReply.prototype.toObject = function(opt_includeInstance) {
1896
+ return proto.Auth.AccountProto.ChangePasswordReply.toObject(opt_includeInstance, this);
1897
+ };
1898
+
1899
+
1900
+ /**
1901
+ * Static version of the {@see toObject} method.
1902
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1903
+ * the JSPB instance for transitional soy proto support:
1904
+ * http://goto/soy-param-migration
1905
+ * @param {!proto.Auth.AccountProto.ChangePasswordReply} msg The msg instance to transform.
1906
+ * @return {!Object}
1907
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1908
+ */
1909
+ proto.Auth.AccountProto.ChangePasswordReply.toObject = function(includeInstance, msg) {
1910
+ var f, obj = {
1911
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1912
+ };
1913
+
1914
+ if (includeInstance) {
1915
+ obj.$jspbMessageInstance = msg;
1916
+ }
1917
+ return obj;
1918
+ };
1919
+ }
1920
+
1921
+
1922
+ /**
1923
+ * Deserializes binary data (in protobuf wire format).
1924
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1925
+ * @return {!proto.Auth.AccountProto.ChangePasswordReply}
1926
+ */
1927
+ proto.Auth.AccountProto.ChangePasswordReply.deserializeBinary = function(bytes) {
1928
+ var reader = new jspb.BinaryReader(bytes);
1929
+ var msg = new proto.Auth.AccountProto.ChangePasswordReply;
1930
+ return proto.Auth.AccountProto.ChangePasswordReply.deserializeBinaryFromReader(msg, reader);
1931
+ };
1932
+
1933
+
1934
+ /**
1935
+ * Deserializes binary data (in protobuf wire format) from the
1936
+ * given reader into the given message object.
1937
+ * @param {!proto.Auth.AccountProto.ChangePasswordReply} msg The message object to deserialize into.
1938
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1939
+ * @return {!proto.Auth.AccountProto.ChangePasswordReply}
1940
+ */
1941
+ proto.Auth.AccountProto.ChangePasswordReply.deserializeBinaryFromReader = function(msg, reader) {
1942
+ while (reader.nextField()) {
1943
+ if (reader.isEndGroup()) {
1944
+ break;
1945
+ }
1946
+ var field = reader.getFieldNumber();
1947
+ switch (field) {
1948
+ case 1:
1949
+ var value = /** @type {number} */ (reader.readInt64());
1950
+ msg.setId(value);
1951
+ break;
1952
+ default:
1953
+ reader.skipField();
1954
+ break;
1955
+ }
1956
+ }
1957
+ return msg;
1958
+ };
1959
+
1960
+
1961
+ /**
1962
+ * Serializes the message to binary data (in protobuf wire format).
1963
+ * @return {!Uint8Array}
1964
+ */
1965
+ proto.Auth.AccountProto.ChangePasswordReply.prototype.serializeBinary = function() {
1966
+ var writer = new jspb.BinaryWriter();
1967
+ proto.Auth.AccountProto.ChangePasswordReply.serializeBinaryToWriter(this, writer);
1968
+ return writer.getResultBuffer();
1969
+ };
1970
+
1971
+
1972
+ /**
1973
+ * Serializes the given message to binary data (in protobuf wire
1974
+ * format), writing to the given BinaryWriter.
1975
+ * @param {!proto.Auth.AccountProto.ChangePasswordReply} message
1976
+ * @param {!jspb.BinaryWriter} writer
1977
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1978
+ */
1979
+ proto.Auth.AccountProto.ChangePasswordReply.serializeBinaryToWriter = function(message, writer) {
1980
+ var f = undefined;
1981
+ f = message.getId();
1982
+ if (f !== 0) {
1983
+ writer.writeInt64(
1984
+ 1,
1985
+ f
1986
+ );
1987
+ }
1988
+ };
1989
+
1990
+
1991
+ /**
1992
+ * optional int64 id = 1;
1993
+ * @return {number}
1994
+ */
1995
+ proto.Auth.AccountProto.ChangePasswordReply.prototype.getId = function() {
1996
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1997
+ };
1998
+
1999
+
2000
+ /**
2001
+ * @param {number} value
2002
+ * @return {!proto.Auth.AccountProto.ChangePasswordReply} returns this
2003
+ */
2004
+ proto.Auth.AccountProto.ChangePasswordReply.prototype.setId = function(value) {
2005
+ return jspb.Message.setProto3IntField(this, 1, value);
2006
+ };
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2013
+ /**
2014
+ * Creates an object representation of this proto.
2015
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2016
+ * Optional fields that are not set will be set to undefined.
2017
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2018
+ * For the list of reserved names please see:
2019
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2020
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2021
+ * JSPB instance for transitional soy proto support:
2022
+ * http://goto/soy-param-migration
2023
+ * @return {!Object}
2024
+ */
2025
+ proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.toObject = function(opt_includeInstance) {
2026
+ return proto.Auth.AccountProto.RetrievePushInfoRequest.toObject(opt_includeInstance, this);
2027
+ };
2028
+
2029
+
2030
+ /**
2031
+ * Static version of the {@see toObject} method.
2032
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2033
+ * the JSPB instance for transitional soy proto support:
2034
+ * http://goto/soy-param-migration
2035
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The msg instance to transform.
2036
+ * @return {!Object}
2037
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2038
+ */
2039
+ proto.Auth.AccountProto.RetrievePushInfoRequest.toObject = function(includeInstance, msg) {
2040
+ var f, obj = {
2041
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2042
+ };
2043
+
2044
+ if (includeInstance) {
2045
+ obj.$jspbMessageInstance = msg;
2046
+ }
2047
+ return obj;
2048
+ };
2049
+ }
2050
+
2051
+
2052
+ /**
2053
+ * Deserializes binary data (in protobuf wire format).
2054
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2055
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
2056
+ */
2057
+ proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinary = function(bytes) {
2058
+ var reader = new jspb.BinaryReader(bytes);
2059
+ var msg = new proto.Auth.AccountProto.RetrievePushInfoRequest;
2060
+ return proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader(msg, reader);
2061
+ };
2062
+
2063
+
2064
+ /**
2065
+ * Deserializes binary data (in protobuf wire format) from the
2066
+ * given reader into the given message object.
2067
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The message object to deserialize into.
2068
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2069
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
2070
+ */
2071
+ proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
2072
+ while (reader.nextField()) {
2073
+ if (reader.isEndGroup()) {
2074
+ break;
2075
+ }
2076
+ var field = reader.getFieldNumber();
2077
+ switch (field) {
2078
+ case 1:
2079
+ var value = /** @type {number} */ (reader.readInt64());
2080
+ msg.setId(value);
2081
+ break;
2082
+ default:
2083
+ reader.skipField();
2084
+ break;
2085
+ }
2086
+ }
2087
+ return msg;
2088
+ };
2089
+
2090
+
2091
+ /**
2092
+ * Serializes the message to binary data (in protobuf wire format).
2093
+ * @return {!Uint8Array}
2094
+ */
2095
+ proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.serializeBinary = function() {
2096
+ var writer = new jspb.BinaryWriter();
2097
+ proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter(this, writer);
2098
+ return writer.getResultBuffer();
2099
+ };
2100
+
2101
+
2102
+ /**
2103
+ * Serializes the given message to binary data (in protobuf wire
2104
+ * format), writing to the given BinaryWriter.
2105
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} message
2106
+ * @param {!jspb.BinaryWriter} writer
2107
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2108
+ */
2109
+ proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter = function(message, writer) {
2110
+ var f = undefined;
2111
+ f = message.getId();
2112
+ if (f !== 0) {
2113
+ writer.writeInt64(
2114
+ 1,
2115
+ f
2116
+ );
2117
+ }
2118
+ };
2119
+
2120
+
2121
+ /**
2122
+ * optional int64 id = 1;
2123
+ * @return {number}
2124
+ */
2125
+ proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.getId = function() {
2126
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2127
+ };
2128
+
2129
+
2130
+ /**
2131
+ * @param {number} value
2132
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest} returns this
2133
+ */
2134
+ proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.setId = function(value) {
2135
+ return jspb.Message.setProto3IntField(this, 1, value);
2136
+ };
2137
+
2138
+
2139
+
2140
+
2141
+
2142
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2143
+ /**
2144
+ * Creates an object representation of this proto.
2145
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2146
+ * Optional fields that are not set will be set to undefined.
2147
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2148
+ * For the list of reserved names please see:
2149
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2150
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2151
+ * JSPB instance for transitional soy proto support:
2152
+ * http://goto/soy-param-migration
2153
+ * @return {!Object}
2154
+ */
2155
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.toObject = function(opt_includeInstance) {
2156
+ return proto.Auth.AccountProto.RetrievePushInfoReply.toObject(opt_includeInstance, this);
2157
+ };
2158
+
2159
+
2160
+ /**
2161
+ * Static version of the {@see toObject} method.
2162
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2163
+ * the JSPB instance for transitional soy proto support:
2164
+ * http://goto/soy-param-migration
2165
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The msg instance to transform.
2166
+ * @return {!Object}
2167
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2168
+ */
2169
+ proto.Auth.AccountProto.RetrievePushInfoReply.toObject = function(includeInstance, msg) {
2170
+ var f, obj = {
2171
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2172
+ pushToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
2173
+ pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0),
2174
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
2175
+ firebaseInstallationId: jspb.Message.getFieldWithDefault(msg, 5, "")
2176
+ };
2177
+
2178
+ if (includeInstance) {
2179
+ obj.$jspbMessageInstance = msg;
2180
+ }
2181
+ return obj;
2182
+ };
2183
+ }
2184
+
2185
+
2186
+ /**
2187
+ * Deserializes binary data (in protobuf wire format).
2188
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2189
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
2190
+ */
2191
+ proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinary = function(bytes) {
2192
+ var reader = new jspb.BinaryReader(bytes);
2193
+ var msg = new proto.Auth.AccountProto.RetrievePushInfoReply;
2194
+ return proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader(msg, reader);
2195
+ };
2196
+
2197
+
2198
+ /**
2199
+ * Deserializes binary data (in protobuf wire format) from the
2200
+ * given reader into the given message object.
2201
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The message object to deserialize into.
2202
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2203
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
2204
+ */
2205
+ proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader = function(msg, reader) {
2206
+ while (reader.nextField()) {
2207
+ if (reader.isEndGroup()) {
2208
+ break;
2209
+ }
2210
+ var field = reader.getFieldNumber();
2211
+ switch (field) {
2212
+ case 1:
2213
+ var value = /** @type {number} */ (reader.readInt64());
2214
+ msg.setId(value);
2215
+ break;
2216
+ case 2:
2217
+ var value = /** @type {string} */ (reader.readString());
2218
+ msg.setPushToken(value);
2219
+ break;
2220
+ case 3:
2221
+ var value = /** @type {!proto.Auth.PushNotificationProto.PushType} */ (reader.readEnum());
2222
+ msg.setPushtype(value);
2223
+ break;
2224
+ case 4:
2225
+ var value = /** @type {string} */ (reader.readString());
2226
+ msg.setLocale(value);
2227
+ break;
2228
+ case 5:
2229
+ var value = /** @type {string} */ (reader.readString());
2230
+ msg.setFirebaseInstallationId(value);
2231
+ break;
2232
+ default:
2233
+ reader.skipField();
2234
+ break;
2235
+ }
2236
+ }
2237
+ return msg;
2238
+ };
2239
+
2240
+
2241
+ /**
2242
+ * Serializes the message to binary data (in protobuf wire format).
2243
+ * @return {!Uint8Array}
2244
+ */
2245
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.serializeBinary = function() {
2246
+ var writer = new jspb.BinaryWriter();
2247
+ proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter(this, writer);
2248
+ return writer.getResultBuffer();
2249
+ };
2250
+
2251
+
2252
+ /**
2253
+ * Serializes the given message to binary data (in protobuf wire
2254
+ * format), writing to the given BinaryWriter.
2255
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} message
2256
+ * @param {!jspb.BinaryWriter} writer
2257
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2258
+ */
2259
+ proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function(message, writer) {
2260
+ var f = undefined;
2261
+ f = message.getId();
2262
+ if (f !== 0) {
2263
+ writer.writeInt64(
2264
+ 1,
2265
+ f
2266
+ );
2267
+ }
2268
+ f = message.getPushToken();
2269
+ if (f.length > 0) {
2270
+ writer.writeString(
2271
+ 2,
2272
+ f
2273
+ );
2274
+ }
2275
+ f = message.getPushtype();
2276
+ if (f !== 0.0) {
2277
+ writer.writeEnum(
2278
+ 3,
2279
+ f
2280
+ );
2281
+ }
2282
+ f = message.getLocale();
2283
+ if (f.length > 0) {
2284
+ writer.writeString(
2285
+ 4,
2286
+ f
2287
+ );
2288
+ }
2289
+ f = message.getFirebaseInstallationId();
2290
+ if (f.length > 0) {
2291
+ writer.writeString(
2292
+ 5,
2293
+ f
2294
+ );
2295
+ }
2296
+ };
2297
+
2298
+
2299
+ /**
2300
+ * optional int64 id = 1;
2301
+ * @return {number}
2302
+ */
2303
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getId = function() {
2304
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2305
+ };
2306
+
2307
+
2308
+ /**
2309
+ * @param {number} value
2310
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
2311
+ */
2312
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setId = function(value) {
2313
+ return jspb.Message.setProto3IntField(this, 1, value);
2314
+ };
2315
+
2316
+
2317
+ /**
2318
+ * optional string push_token = 2;
2319
+ * @return {string}
2320
+ */
2321
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushToken = function() {
2322
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2323
+ };
2324
+
2325
+
2326
+ /**
2327
+ * @param {string} value
2328
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
2329
+ */
2330
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushToken = function(value) {
2331
+ return jspb.Message.setProto3StringField(this, 2, value);
2332
+ };
2333
+
2334
+
2335
+ /**
2336
+ * optional PushNotificationProto.PushType pushType = 3;
2337
+ * @return {!proto.Auth.PushNotificationProto.PushType}
2338
+ */
2339
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushtype = function() {
2340
+ return /** @type {!proto.Auth.PushNotificationProto.PushType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2341
+ };
2342
+
2343
+
2344
+ /**
2345
+ * @param {!proto.Auth.PushNotificationProto.PushType} value
2346
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
2347
+ */
2348
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushtype = function(value) {
2349
+ return jspb.Message.setProto3EnumField(this, 3, value);
2350
+ };
2351
+
2352
+
2353
+ /**
2354
+ * optional string locale = 4;
2355
+ * @return {string}
2356
+ */
2357
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getLocale = function() {
2358
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2359
+ };
2360
+
2361
+
2362
+ /**
2363
+ * @param {string} value
2364
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
2365
+ */
2366
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setLocale = function(value) {
2367
+ return jspb.Message.setProto3StringField(this, 4, value);
2368
+ };
2369
+
2370
+
2371
+ /**
2372
+ * optional string firebase_installation_id = 5;
2373
+ * @return {string}
2374
+ */
2375
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getFirebaseInstallationId = function() {
2376
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2377
+ };
2378
+
2379
+
2380
+ /**
2381
+ * @param {string} value
2382
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
2383
+ */
2384
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setFirebaseInstallationId = function(value) {
2385
+ return jspb.Message.setProto3StringField(this, 5, value);
2386
+ };
2387
+
2388
+
2389
+
2390
+ /**
2391
+ * List of repeated fields within this message type.
2392
+ * @private {!Array<number>}
2393
+ * @const
2394
+ */
2395
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.repeatedFields_ = [1];
2396
+
2397
+
2398
+
2399
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2400
+ /**
2401
+ * Creates an object representation of this proto.
2402
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2403
+ * Optional fields that are not set will be set to undefined.
2404
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2405
+ * For the list of reserved names please see:
2406
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2407
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2408
+ * JSPB instance for transitional soy proto support:
2409
+ * http://goto/soy-param-migration
2410
+ * @return {!Object}
2411
+ */
2412
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.toObject = function(opt_includeInstance) {
2413
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.toObject(opt_includeInstance, this);
2414
+ };
2415
+
2416
+
2417
+ /**
2418
+ * Static version of the {@see toObject} method.
2419
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2420
+ * the JSPB instance for transitional soy proto support:
2421
+ * http://goto/soy-param-migration
2422
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} msg The msg instance to transform.
2423
+ * @return {!Object}
2424
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2425
+ */
2426
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.toObject = function(includeInstance, msg) {
2427
+ var f, obj = {
2428
+ idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2429
+ };
2430
+
2431
+ if (includeInstance) {
2432
+ obj.$jspbMessageInstance = msg;
2433
+ }
2434
+ return obj;
2435
+ };
2436
+ }
2437
+
2438
+
2439
+ /**
2440
+ * Deserializes binary data (in protobuf wire format).
2441
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2442
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest}
2443
+ */
2444
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinary = function(bytes) {
2445
+ var reader = new jspb.BinaryReader(bytes);
2446
+ var msg = new proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest;
2447
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinaryFromReader(msg, reader);
2448
+ };
2449
+
2450
+
2451
+ /**
2452
+ * Deserializes binary data (in protobuf wire format) from the
2453
+ * given reader into the given message object.
2454
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} msg The message object to deserialize into.
2455
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2456
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest}
2457
+ */
2458
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinaryFromReader = function(msg, reader) {
2459
+ while (reader.nextField()) {
2460
+ if (reader.isEndGroup()) {
2461
+ break;
2462
+ }
2463
+ var field = reader.getFieldNumber();
2464
+ switch (field) {
2465
+ case 1:
2466
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
2467
+ for (var i = 0; i < values.length; i++) {
2468
+ msg.addIds(values[i]);
2469
+ }
2470
+ break;
2471
+ default:
2472
+ reader.skipField();
2473
+ break;
2474
+ }
2475
+ }
2476
+ return msg;
2477
+ };
2478
+
2479
+
2480
+ /**
2481
+ * Serializes the message to binary data (in protobuf wire format).
2482
+ * @return {!Uint8Array}
2483
+ */
2484
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.serializeBinary = function() {
2485
+ var writer = new jspb.BinaryWriter();
2486
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.serializeBinaryToWriter(this, writer);
2487
+ return writer.getResultBuffer();
2488
+ };
2489
+
2490
+
2491
+ /**
2492
+ * Serializes the given message to binary data (in protobuf wire
2493
+ * format), writing to the given BinaryWriter.
2494
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} message
2495
+ * @param {!jspb.BinaryWriter} writer
2496
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2497
+ */
2498
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.serializeBinaryToWriter = function(message, writer) {
2499
+ var f = undefined;
2500
+ f = message.getIdsList();
2501
+ if (f.length > 0) {
2502
+ writer.writePackedInt64(
2503
+ 1,
2504
+ f
2505
+ );
2506
+ }
2507
+ };
2508
+
2509
+
2510
+ /**
2511
+ * repeated int64 ids = 1;
2512
+ * @return {!Array<number>}
2513
+ */
2514
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.getIdsList = function() {
2515
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
2516
+ };
2517
+
2518
+
2519
+ /**
2520
+ * @param {!Array<number>} value
2521
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
2522
+ */
2523
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.setIdsList = function(value) {
2524
+ return jspb.Message.setField(this, 1, value || []);
2525
+ };
2526
+
2527
+
2528
+ /**
2529
+ * @param {number} value
2530
+ * @param {number=} opt_index
2531
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
2532
+ */
2533
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.addIds = function(value, opt_index) {
2534
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2535
+ };
2536
+
2537
+
2538
+ /**
2539
+ * Clears the list making it empty but non-null.
2540
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
2541
+ */
2542
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.clearIdsList = function() {
2543
+ return this.setIdsList([]);
2544
+ };
2545
+
2546
+
2547
+
2548
+
2549
+
2550
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2551
+ /**
2552
+ * Creates an object representation of this proto.
2553
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2554
+ * Optional fields that are not set will be set to undefined.
2555
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2556
+ * For the list of reserved names please see:
2557
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2558
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2559
+ * JSPB instance for transitional soy proto support:
2560
+ * http://goto/soy-param-migration
2561
+ * @return {!Object}
2562
+ */
2563
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.toObject = function(opt_includeInstance) {
2564
+ return proto.Auth.AccountProto.AccountsActivationStatuses.toObject(opt_includeInstance, this);
2565
+ };
2566
+
2567
+
2568
+ /**
2569
+ * Static version of the {@see toObject} method.
2570
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2571
+ * the JSPB instance for transitional soy proto support:
2572
+ * http://goto/soy-param-migration
2573
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} msg The msg instance to transform.
2574
+ * @return {!Object}
2575
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2576
+ */
2577
+ proto.Auth.AccountProto.AccountsActivationStatuses.toObject = function(includeInstance, msg) {
2578
+ var f, obj = {
2579
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2580
+ status: jspb.Message.getFieldWithDefault(msg, 2, 0)
2581
+ };
2582
+
2583
+ if (includeInstance) {
2584
+ obj.$jspbMessageInstance = msg;
2585
+ }
2586
+ return obj;
2587
+ };
2588
+ }
2589
+
2590
+
2591
+ /**
2592
+ * Deserializes binary data (in protobuf wire format).
2593
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2594
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
2595
+ */
2596
+ proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinary = function(bytes) {
2597
+ var reader = new jspb.BinaryReader(bytes);
2598
+ var msg = new proto.Auth.AccountProto.AccountsActivationStatuses;
2599
+ return proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader(msg, reader);
2600
+ };
2601
+
2602
+
2603
+ /**
2604
+ * Deserializes binary data (in protobuf wire format) from the
2605
+ * given reader into the given message object.
2606
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} msg The message object to deserialize into.
2607
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2608
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
2609
+ */
2610
+ proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader = function(msg, reader) {
2611
+ while (reader.nextField()) {
2612
+ if (reader.isEndGroup()) {
2613
+ break;
2614
+ }
2615
+ var field = reader.getFieldNumber();
2616
+ switch (field) {
2617
+ case 1:
2618
+ var value = /** @type {number} */ (reader.readInt64());
2619
+ msg.setId(value);
2620
+ break;
2621
+ case 2:
2622
+ var value = /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (reader.readEnum());
2623
+ msg.setStatus(value);
2624
+ break;
2625
+ default:
2626
+ reader.skipField();
2627
+ break;
2628
+ }
2629
+ }
2630
+ return msg;
2631
+ };
2632
+
2633
+
2634
+ /**
2635
+ * Serializes the message to binary data (in protobuf wire format).
2636
+ * @return {!Uint8Array}
2637
+ */
2638
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.serializeBinary = function() {
2639
+ var writer = new jspb.BinaryWriter();
2640
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter(this, writer);
2641
+ return writer.getResultBuffer();
2642
+ };
2643
+
2644
+
2645
+ /**
2646
+ * Serializes the given message to binary data (in protobuf wire
2647
+ * format), writing to the given BinaryWriter.
2648
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} message
2649
+ * @param {!jspb.BinaryWriter} writer
2650
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2651
+ */
2652
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter = function(message, writer) {
2653
+ var f = undefined;
2654
+ f = message.getId();
2655
+ if (f !== 0) {
2656
+ writer.writeInt64(
2657
+ 1,
2658
+ f
2659
+ );
2660
+ }
2661
+ f = message.getStatus();
2662
+ if (f !== 0.0) {
2663
+ writer.writeEnum(
2664
+ 2,
2665
+ f
2666
+ );
2667
+ }
2668
+ };
2669
+
2670
+
2671
+ /**
2672
+ * optional int64 id = 1;
2673
+ * @return {number}
2674
+ */
2675
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.getId = function() {
2676
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2677
+ };
2678
+
2679
+
2680
+ /**
2681
+ * @param {number} value
2682
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses} returns this
2683
+ */
2684
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.setId = function(value) {
2685
+ return jspb.Message.setProto3IntField(this, 1, value);
2686
+ };
2687
+
2688
+
2689
+ /**
2690
+ * optional ActivationStatuses status = 2;
2691
+ * @return {!proto.Auth.AccountProto.ActivationStatuses}
2692
+ */
2693
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.getStatus = function() {
2694
+ return /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2695
+ };
2696
+
2697
+
2698
+ /**
2699
+ * @param {!proto.Auth.AccountProto.ActivationStatuses} value
2700
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses} returns this
2701
+ */
2702
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.setStatus = function(value) {
2703
+ return jspb.Message.setProto3EnumField(this, 2, value);
2704
+ };
2705
+
2706
+
2707
+
2708
+ /**
2709
+ * List of repeated fields within this message type.
2710
+ * @private {!Array<number>}
2711
+ * @const
2712
+ */
2713
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.repeatedFields_ = [1];
2714
+
2715
+
2716
+
2717
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2718
+ /**
2719
+ * Creates an object representation of this proto.
2720
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2721
+ * Optional fields that are not set will be set to undefined.
2722
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2723
+ * For the list of reserved names please see:
2724
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2725
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2726
+ * JSPB instance for transitional soy proto support:
2727
+ * http://goto/soy-param-migration
2728
+ * @return {!Object}
2729
+ */
2730
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.toObject = function(opt_includeInstance) {
2731
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.toObject(opt_includeInstance, this);
2732
+ };
2733
+
2734
+
2735
+ /**
2736
+ * Static version of the {@see toObject} method.
2737
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2738
+ * the JSPB instance for transitional soy proto support:
2739
+ * http://goto/soy-param-migration
2740
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} msg The msg instance to transform.
2741
+ * @return {!Object}
2742
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2743
+ */
2744
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.toObject = function(includeInstance, msg) {
2745
+ var f, obj = {
2746
+ activationStatusesList: jspb.Message.toObjectList(msg.getActivationStatusesList(),
2747
+ proto.Auth.AccountProto.AccountsActivationStatuses.toObject, includeInstance)
2748
+ };
2749
+
2750
+ if (includeInstance) {
2751
+ obj.$jspbMessageInstance = msg;
2752
+ }
2753
+ return obj;
2754
+ };
2755
+ }
2756
+
2757
+
2758
+ /**
2759
+ * Deserializes binary data (in protobuf wire format).
2760
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2761
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply}
2762
+ */
2763
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinary = function(bytes) {
2764
+ var reader = new jspb.BinaryReader(bytes);
2765
+ var msg = new proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply;
2766
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinaryFromReader(msg, reader);
2767
+ };
2768
+
2769
+
2770
+ /**
2771
+ * Deserializes binary data (in protobuf wire format) from the
2772
+ * given reader into the given message object.
2773
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} msg The message object to deserialize into.
2774
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2775
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply}
2776
+ */
2777
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinaryFromReader = function(msg, reader) {
2778
+ while (reader.nextField()) {
2779
+ if (reader.isEndGroup()) {
2780
+ break;
2781
+ }
2782
+ var field = reader.getFieldNumber();
2783
+ switch (field) {
2784
+ case 1:
2785
+ var value = new proto.Auth.AccountProto.AccountsActivationStatuses;
2786
+ reader.readMessage(value,proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader);
2787
+ msg.addActivationStatuses(value);
2788
+ break;
2789
+ default:
2790
+ reader.skipField();
2791
+ break;
2792
+ }
2793
+ }
2794
+ return msg;
2795
+ };
2796
+
2797
+
2798
+ /**
2799
+ * Serializes the message to binary data (in protobuf wire format).
2800
+ * @return {!Uint8Array}
2801
+ */
2802
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.serializeBinary = function() {
2803
+ var writer = new jspb.BinaryWriter();
2804
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.serializeBinaryToWriter(this, writer);
2805
+ return writer.getResultBuffer();
2806
+ };
2807
+
2808
+
2809
+ /**
2810
+ * Serializes the given message to binary data (in protobuf wire
2811
+ * format), writing to the given BinaryWriter.
2812
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} message
2813
+ * @param {!jspb.BinaryWriter} writer
2814
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2815
+ */
2816
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.serializeBinaryToWriter = function(message, writer) {
2817
+ var f = undefined;
2818
+ f = message.getActivationStatusesList();
2819
+ if (f.length > 0) {
2820
+ writer.writeRepeatedMessage(
2821
+ 1,
2822
+ f,
2823
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter
2824
+ );
2825
+ }
2826
+ };
2827
+
2828
+
2829
+ /**
2830
+ * repeated AccountsActivationStatuses activation_statuses = 1;
2831
+ * @return {!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>}
2832
+ */
2833
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.getActivationStatusesList = function() {
2834
+ return /** @type{!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>} */ (
2835
+ jspb.Message.getRepeatedWrapperField(this, proto.Auth.AccountProto.AccountsActivationStatuses, 1));
2836
+ };
2837
+
2838
+
2839
+ /**
2840
+ * @param {!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>} value
2841
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} returns this
2842
+ */
2843
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.setActivationStatusesList = function(value) {
2844
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2845
+ };
2846
+
2847
+
2848
+ /**
2849
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses=} opt_value
2850
+ * @param {number=} opt_index
2851
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
2852
+ */
2853
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.addActivationStatuses = function(opt_value, opt_index) {
2854
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.AccountProto.AccountsActivationStatuses, opt_index);
2855
+ };
2856
+
2857
+
2858
+ /**
2859
+ * Clears the list making it empty but non-null.
2860
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} returns this
2861
+ */
2862
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.clearActivationStatusesList = function() {
2863
+ return this.setActivationStatusesList([]);
2864
+ };
2865
+
2866
+
2867
+
2868
+
2869
+
2870
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2871
+ /**
2872
+ * Creates an object representation of this proto.
2873
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2874
+ * Optional fields that are not set will be set to undefined.
2875
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2876
+ * For the list of reserved names please see:
2877
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2878
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2879
+ * JSPB instance for transitional soy proto support:
2880
+ * http://goto/soy-param-migration
2881
+ * @return {!Object}
2882
+ */
2883
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.toObject = function(opt_includeInstance) {
2884
+ return proto.Auth.AccountProto.ResendInvitationRequest.toObject(opt_includeInstance, this);
2885
+ };
2886
+
2887
+
2888
+ /**
2889
+ * Static version of the {@see toObject} method.
2890
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2891
+ * the JSPB instance for transitional soy proto support:
2892
+ * http://goto/soy-param-migration
2893
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} msg The msg instance to transform.
2894
+ * @return {!Object}
2895
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2896
+ */
2897
+ proto.Auth.AccountProto.ResendInvitationRequest.toObject = function(includeInstance, msg) {
2898
+ var f, obj = {
2899
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2900
+ };
2901
+
2902
+ if (includeInstance) {
2903
+ obj.$jspbMessageInstance = msg;
2904
+ }
2905
+ return obj;
2906
+ };
2907
+ }
2908
+
2909
+
2910
+ /**
2911
+ * Deserializes binary data (in protobuf wire format).
2912
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2913
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest}
2914
+ */
2915
+ proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinary = function(bytes) {
2916
+ var reader = new jspb.BinaryReader(bytes);
2917
+ var msg = new proto.Auth.AccountProto.ResendInvitationRequest;
2918
+ return proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinaryFromReader(msg, reader);
2919
+ };
2920
+
2921
+
2922
+ /**
2923
+ * Deserializes binary data (in protobuf wire format) from the
2924
+ * given reader into the given message object.
2925
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} msg The message object to deserialize into.
2926
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2927
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest}
2928
+ */
2929
+ proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinaryFromReader = function(msg, reader) {
2930
+ while (reader.nextField()) {
2931
+ if (reader.isEndGroup()) {
2932
+ break;
2933
+ }
2934
+ var field = reader.getFieldNumber();
2935
+ switch (field) {
2936
+ case 1:
2937
+ var value = /** @type {number} */ (reader.readInt64());
2938
+ msg.setId(value);
2939
+ break;
2940
+ default:
2941
+ reader.skipField();
2942
+ break;
2943
+ }
2944
+ }
2945
+ return msg;
2946
+ };
2947
+
2948
+
2949
+ /**
2950
+ * Serializes the message to binary data (in protobuf wire format).
2951
+ * @return {!Uint8Array}
2952
+ */
2953
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.serializeBinary = function() {
2954
+ var writer = new jspb.BinaryWriter();
2955
+ proto.Auth.AccountProto.ResendInvitationRequest.serializeBinaryToWriter(this, writer);
2956
+ return writer.getResultBuffer();
2957
+ };
2958
+
2959
+
2960
+ /**
2961
+ * Serializes the given message to binary data (in protobuf wire
2962
+ * format), writing to the given BinaryWriter.
2963
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} message
2964
+ * @param {!jspb.BinaryWriter} writer
2965
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2966
+ */
2967
+ proto.Auth.AccountProto.ResendInvitationRequest.serializeBinaryToWriter = function(message, writer) {
2968
+ var f = undefined;
2969
+ f = message.getId();
2970
+ if (f !== 0) {
2971
+ writer.writeInt64(
2972
+ 1,
2973
+ f
2974
+ );
2975
+ }
2976
+ };
2977
+
2978
+
2979
+ /**
2980
+ * optional int64 id = 1;
2981
+ * @return {number}
2982
+ */
2983
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.getId = function() {
2984
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2985
+ };
2986
+
2987
+
2988
+ /**
2989
+ * @param {number} value
2990
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest} returns this
2991
+ */
2992
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.setId = function(value) {
2993
+ return jspb.Message.setProto3IntField(this, 1, value);
2994
+ };
2995
+
2996
+
2997
+ /**
2998
+ * optional int64 id = 1;
2999
+ * @return {number}
3000
+ */
3001
+ proto.Auth.AccountProto.prototype.getId = function() {
3002
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3003
+ };
3004
+
3005
+
3006
+ /**
3007
+ * @param {number} value
3008
+ * @return {!proto.Auth.AccountProto} returns this
3009
+ */
3010
+ proto.Auth.AccountProto.prototype.setId = function(value) {
3011
+ return jspb.Message.setProto3IntField(this, 1, value);
3012
+ };
3013
+
3014
+
3015
+ /**
3016
+ * optional string email = 2;
3017
+ * @return {string}
3018
+ */
3019
+ proto.Auth.AccountProto.prototype.getEmail = function() {
3020
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3021
+ };
3022
+
3023
+
3024
+ /**
3025
+ * @param {string} value
3026
+ * @return {!proto.Auth.AccountProto} returns this
3027
+ */
3028
+ proto.Auth.AccountProto.prototype.setEmail = function(value) {
3029
+ return jspb.Message.setProto3StringField(this, 2, value);
3030
+ };
3031
+
3032
+
3033
+ /**
3034
+ * optional string phone = 3;
3035
+ * @return {string}
3036
+ */
3037
+ proto.Auth.AccountProto.prototype.getPhone = function() {
3038
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3039
+ };
3040
+
3041
+
3042
+ /**
3043
+ * @param {string} value
3044
+ * @return {!proto.Auth.AccountProto} returns this
3045
+ */
3046
+ proto.Auth.AccountProto.prototype.setPhone = function(value) {
3047
+ return jspb.Message.setProto3StringField(this, 3, value);
3048
+ };
3049
+
3050
+
3051
+ /**
3052
+ * optional string first_name = 4;
3053
+ * @return {string}
3054
+ */
3055
+ proto.Auth.AccountProto.prototype.getFirstName = function() {
3056
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3057
+ };
3058
+
3059
+
3060
+ /**
3061
+ * @param {string} value
3062
+ * @return {!proto.Auth.AccountProto} returns this
3063
+ */
3064
+ proto.Auth.AccountProto.prototype.setFirstName = function(value) {
3065
+ return jspb.Message.setProto3StringField(this, 4, value);
3066
+ };
3067
+
3068
+
3069
+ /**
3070
+ * optional string last_name = 5;
3071
+ * @return {string}
3072
+ */
3073
+ proto.Auth.AccountProto.prototype.getLastName = function() {
3074
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3075
+ };
3076
+
3077
+
3078
+ /**
3079
+ * @param {string} value
3080
+ * @return {!proto.Auth.AccountProto} returns this
3081
+ */
3082
+ proto.Auth.AccountProto.prototype.setLastName = function(value) {
3083
+ return jspb.Message.setProto3StringField(this, 5, value);
3084
+ };
3085
+
3086
+
3087
+ /**
3088
+ * optional string locale = 6;
3089
+ * @return {string}
3090
+ */
3091
+ proto.Auth.AccountProto.prototype.getLocale = function() {
3092
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3093
+ };
3094
+
3095
+
3096
+ /**
3097
+ * @param {string} value
3098
+ * @return {!proto.Auth.AccountProto} returns this
3099
+ */
3100
+ proto.Auth.AccountProto.prototype.setLocale = function(value) {
3101
+ return jspb.Message.setProto3StringField(this, 6, value);
3102
+ };
3103
+
3104
+
3105
+ /**
3106
+ * optional string company = 7;
3107
+ * @return {string}
3108
+ */
3109
+ proto.Auth.AccountProto.prototype.getCompany = function() {
3110
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3111
+ };
3112
+
3113
+
3114
+ /**
3115
+ * @param {string} value
3116
+ * @return {!proto.Auth.AccountProto} returns this
3117
+ */
3118
+ proto.Auth.AccountProto.prototype.setCompany = function(value) {
3119
+ return jspb.Message.setProto3StringField(this, 7, value);
3120
+ };
3121
+
3122
+
3123
+ /**
3124
+ * optional string active = 8;
3125
+ * @return {string}
3126
+ */
3127
+ proto.Auth.AccountProto.prototype.getActive = function() {
3128
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3129
+ };
3130
+
3131
+
3132
+ /**
3133
+ * @param {string} value
3134
+ * @return {!proto.Auth.AccountProto} returns this
3135
+ */
3136
+ proto.Auth.AccountProto.prototype.setActive = function(value) {
3137
+ return jspb.Message.setProto3StringField(this, 8, value);
3138
+ };
3139
+
3140
+
3141
+ goog.object.extend(exports, proto.Auth);