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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/auth.account_pb.d.ts +582 -0
  2. package/auth.account_pb.js +4287 -0
  3. package/auth.account_pb_service.d.ts +340 -0
  4. package/auth.account_pb_service.js +637 -0
  5. package/auth.account_two_factor_pb.d.ts +159 -0
  6. package/auth.account_two_factor_pb.js +1184 -0
  7. package/auth.account_two_factor_pb_service.d.ts +121 -0
  8. package/auth.account_two_factor_pb_service.js +182 -0
  9. package/auth.app_account_pb.d.ts +156 -0
  10. package/auth.app_account_pb.js +1153 -0
  11. package/auth.app_account_pb_service.d.ts +160 -0
  12. package/auth.app_account_pb_service.js +263 -0
  13. package/auth.app_authn_pb.d.ts +172 -0
  14. package/auth.app_authn_pb.js +1233 -0
  15. package/auth.app_authn_pb_service.d.ts +140 -0
  16. package/auth.app_authn_pb_service.js +222 -0
  17. package/auth.app_distribution_pb.d.ts +174 -0
  18. package/auth.app_distribution_pb.js +1338 -0
  19. package/auth.app_distribution_pb_service.d.ts +120 -0
  20. package/auth.app_distribution_pb_service.js +181 -0
  21. package/auth.authn_pb.d.ts +95 -0
  22. package/auth.authn_pb.js +637 -0
  23. package/auth.authn_pb_service.d.ts +82 -0
  24. package/auth.authn_pb_service.js +101 -0
  25. package/auth.cluster_pb.d.ts +142 -0
  26. package/auth.cluster_pb.js +1050 -0
  27. package/auth.cluster_pb_service.d.ts +82 -0
  28. package/auth.cluster_pb_service.js +101 -0
  29. package/auth.distribution_pb.d.ts +233 -0
  30. package/auth.distribution_pb.js +1785 -0
  31. package/auth.distribution_pb_service.d.ts +82 -0
  32. package/auth.distribution_pb_service.js +101 -0
  33. package/auth.email_pb.d.ts +217 -0
  34. package/auth.email_pb.js +1508 -0
  35. package/auth.email_pb_service.d.ts +102 -0
  36. package/auth.email_pb_service.js +142 -0
  37. package/auth.firmware_pb.d.ts +256 -0
  38. package/auth.firmware_pb.js +1997 -0
  39. package/auth.firmware_pb_service.d.ts +120 -0
  40. package/auth.firmware_pb_service.js +181 -0
  41. package/auth.push_notification_pb.d.ts +69 -0
  42. package/auth.push_notification_pb.js +411 -0
  43. package/auth.push_notification_pb_service.d.ts +64 -0
  44. package/auth.push_notification_pb_service.js +62 -0
  45. package/auth.sms_pb.d.ts +79 -0
  46. package/auth.sms_pb.js +575 -0
  47. package/auth.sms_pb_service.d.ts +83 -0
  48. package/auth.sms_pb_service.js +102 -0
  49. package/google/api/annotations_pb.d.ts +9 -0
  50. package/google/api/annotations_pb.js +54 -0
  51. package/google/api/annotations_pb_service.d.ts +3 -0
  52. package/google/api/annotations_pb_service.js +3 -0
  53. package/google/api/auth_pb.d.ts +150 -0
  54. package/google/api/auth_pb.js +1160 -0
  55. package/google/api/auth_pb_service.d.ts +3 -0
  56. package/google/api/auth_pb_service.js +3 -0
  57. package/google/api/backend_pb.d.ts +59 -0
  58. package/google/api/backend_pb.js +448 -0
  59. package/google/api/backend_pb_service.d.ts +3 -0
  60. package/google/api/backend_pb_service.js +3 -0
  61. package/google/api/billing_pb.d.ts +54 -0
  62. package/google/api/billing_pb.js +416 -0
  63. package/google/api/billing_pb_service.d.ts +3 -0
  64. package/google/api/billing_pb_service.js +3 -0
  65. package/google/api/client_pb.d.ts +12 -0
  66. package/google/api/client_pb.js +104 -0
  67. package/google/api/client_pb_service.d.ts +3 -0
  68. package/google/api/client_pb_service.js +3 -0
  69. package/google/api/config_change_pb.d.ts +72 -0
  70. package/google/api/config_change_pb.js +489 -0
  71. package/google/api/config_change_pb_service.d.ts +3 -0
  72. package/google/api/config_change_pb_service.js +3 -0
  73. package/google/api/consumer_pb.d.ts +65 -0
  74. package/google/api/consumer_pb.js +430 -0
  75. package/google/api/consumer_pb_service.d.ts +3 -0
  76. package/google/api/consumer_pb_service.js +3 -0
  77. package/google/api/context_pb.d.ts +59 -0
  78. package/google/api/context_pb.js +463 -0
  79. package/google/api/context_pb_service.d.ts +3 -0
  80. package/google/api/context_pb_service.js +3 -0
  81. package/google/api/control_pb.d.ts +25 -0
  82. package/google/api/control_pb.js +176 -0
  83. package/google/api/control_pb_service.d.ts +3 -0
  84. package/google/api/control_pb_service.js +3 -0
  85. package/google/api/distribution_pb.d.ts +235 -0
  86. package/google/api/distribution_pb.js +1805 -0
  87. package/google/api/distribution_pb_service.d.ts +3 -0
  88. package/google/api/distribution_pb_service.js +3 -0
  89. package/google/api/documentation_pb.d.ts +103 -0
  90. package/google/api/documentation_pb.js +803 -0
  91. package/google/api/documentation_pb_service.d.ts +3 -0
  92. package/google/api/documentation_pb_service.js +3 -0
  93. package/google/api/endpoint_pb.d.ts +46 -0
  94. package/google/api/endpoint_pb.js +343 -0
  95. package/google/api/endpoint_pb_service.d.ts +3 -0
  96. package/google/api/endpoint_pb_service.js +3 -0
  97. package/google/api/error_reason_pb.d.ts +40 -0
  98. package/google/api/error_reason_pb.js +61 -0
  99. package/google/api/error_reason_pb_service.d.ts +3 -0
  100. package/google/api/error_reason_pb_service.js +3 -0
  101. package/google/api/field_behavior_pb.d.ts +20 -0
  102. package/google/api/field_behavior_pb.js +66 -0
  103. package/google/api/field_behavior_pb_service.d.ts +3 -0
  104. package/google/api/field_behavior_pb_service.js +3 -0
  105. package/google/api/http_pb.d.ts +136 -0
  106. package/google/api/http_pb.js +1012 -0
  107. package/google/api/http_pb_service.d.ts +3 -0
  108. package/google/api/http_pb_service.js +3 -0
  109. package/google/api/httpbody_pb.d.ts +38 -0
  110. package/google/api/httpbody_pb.js +292 -0
  111. package/google/api/httpbody_pb_service.d.ts +3 -0
  112. package/google/api/httpbody_pb_service.js +3 -0
  113. package/google/api/label_pb.d.ts +41 -0
  114. package/google/api/label_pb.js +246 -0
  115. package/google/api/label_pb_service.d.ts +3 -0
  116. package/google/api/label_pb_service.js +3 -0
  117. package/google/api/launch_stage_pb.d.ts +16 -0
  118. package/google/api/launch_stage_pb.js +37 -0
  119. package/google/api/launch_stage_pb_service.d.ts +3 -0
  120. package/google/api/launch_stage_pb_service.js +3 -0
  121. package/google/api/log_pb.d.ts +40 -0
  122. package/google/api/log_pb.js +298 -0
  123. package/google/api/log_pb_service.d.ts +3 -0
  124. package/google/api/log_pb_service.js +3 -0
  125. package/google/api/logging_pb.d.ts +60 -0
  126. package/google/api/logging_pb.js +469 -0
  127. package/google/api/logging_pb_service.d.ts +3 -0
  128. package/google/api/logging_pb_service.js +3 -0
  129. package/google/api/metric_pb.d.ts +100 -0
  130. package/google/api/metric_pb.js +629 -0
  131. package/google/api/metric_pb_service.d.ts +3 -0
  132. package/google/api/metric_pb_service.js +3 -0
  133. package/google/api/monitored_resource_pb.d.ts +93 -0
  134. package/google/api/monitored_resource_pb.js +723 -0
  135. package/google/api/monitored_resource_pb_service.d.ts +3 -0
  136. package/google/api/monitored_resource_pb_service.js +3 -0
  137. package/google/api/monitoring_pb.d.ts +60 -0
  138. package/google/api/monitoring_pb.js +469 -0
  139. package/google/api/monitoring_pb_service.d.ts +3 -0
  140. package/google/api/monitoring_pb_service.js +3 -0
  141. package/google/api/policy_pb.d.ts +64 -0
  142. package/google/api/policy_pb.js +502 -0
  143. package/google/api/policy_pb_service.d.ts +3 -0
  144. package/google/api/policy_pb_service.js +3 -0
  145. package/google/api/quota_pb.d.ts +112 -0
  146. package/google/api/quota_pb.js +873 -0
  147. package/google/api/quota_pb_service.d.ts +3 -0
  148. package/google/api/quota_pb_service.js +3 -0
  149. package/google/api/resource_pb.d.ts +99 -0
  150. package/google/api/resource_pb.js +684 -0
  151. package/google/api/resource_pb_service.d.ts +3 -0
  152. package/google/api/resource_pb_service.js +3 -0
  153. package/google/api/routing_pb.d.ts +54 -0
  154. package/google/api/routing_pb.js +416 -0
  155. package/google/api/routing_pb_service.d.ts +3 -0
  156. package/google/api/routing_pb_service.js +3 -0
  157. package/google/api/service_pb.d.ts +184 -0
  158. package/google/api/service_pb.js +1400 -0
  159. package/google/api/service_pb_service.d.ts +3 -0
  160. package/google/api/service_pb_service.js +3 -0
  161. package/google/api/source_info_pb.d.ts +28 -0
  162. package/google/api/source_info_pb.js +208 -0
  163. package/google/api/source_info_pb_service.d.ts +3 -0
  164. package/google/api/source_info_pb_service.js +3 -0
  165. package/google/api/system_parameter_pb.d.ts +81 -0
  166. package/google/api/system_parameter_pb.js +630 -0
  167. package/google/api/system_parameter_pb_service.d.ts +3 -0
  168. package/google/api/system_parameter_pb_service.js +3 -0
  169. package/google/api/usage_pb.d.ts +66 -0
  170. package/google/api/usage_pb.js +499 -0
  171. package/google/api/usage_pb_service.d.ts +3 -0
  172. package/google/api/usage_pb_service.js +3 -0
  173. package/google/api/visibility_pb.d.ts +64 -0
  174. package/google/api/visibility_pb.js +546 -0
  175. package/google/api/visibility_pb_service.d.ts +3 -0
  176. package/google/api/visibility_pb_service.js +3 -0
  177. package/meta.client_pb.d.ts +167 -0
  178. package/meta.client_pb.js +1266 -0
  179. package/meta.client_pb_service.d.ts +122 -0
  180. package/meta.client_pb_service.js +183 -0
  181. package/meta.spic_config_pb.d.ts +184 -0
  182. package/meta.spic_config_pb.js +1382 -0
  183. package/meta.spic_config_pb_service.d.ts +122 -0
  184. package/meta.spic_config_pb_service.js +183 -0
  185. package/package.json +1 -1
  186. package/platform.activity_log_pb.d.ts +177 -0
  187. package/platform.activity_log_pb.js +1294 -0
  188. package/platform.activity_log_pb_service.d.ts +82 -0
  189. package/platform.activity_log_pb_service.js +101 -0
  190. package/platform.client_pb.d.ts +350 -0
  191. package/platform.client_pb.js +2663 -0
  192. package/platform.client_pb_service.d.ts +158 -0
  193. package/platform.client_pb_service.js +261 -0
  194. package/platform.group_pb.d.ts +195 -0
  195. package/platform.group_pb.js +1476 -0
  196. package/platform.group_pb_service.d.ts +139 -0
  197. package/platform.group_pb_service.js +221 -0
  198. package/platform.local_account_internal_pb.d.ts +125 -0
  199. package/platform.local_account_internal_pb.js +933 -0
  200. package/platform.local_account_internal_pb_service.d.ts +121 -0
  201. package/platform.local_account_internal_pb_service.js +182 -0
  202. package/platform.local_account_pb.d.ts +446 -0
  203. package/platform.local_account_pb.js +3337 -0
  204. package/platform.local_account_pb_service.d.ts +331 -0
  205. package/platform.local_account_pb_service.js +623 -0
  206. package/platform.local_distribution_pb.d.ts +73 -0
  207. package/platform.local_distribution_pb.js +536 -0
  208. package/platform.local_distribution_pb_service.d.ts +63 -0
  209. package/platform.local_distribution_pb_service.js +61 -0
  210. package/platform.location_pb.d.ts +271 -0
  211. package/platform.location_pb.js +2046 -0
  212. package/platform.location_pb_service.d.ts +139 -0
  213. package/platform.location_pb_service.js +221 -0
  214. package/platform.pagination_pb.d.ts +45 -0
  215. package/platform.pagination_pb.js +276 -0
  216. package/platform.pagination_pb_service.d.ts +3 -0
  217. package/platform.pagination_pb_service.js +3 -0
  218. package/spic.admin_alert_pb.d.ts +91 -0
  219. package/spic.admin_alert_pb.js +666 -0
  220. package/spic.admin_alert_pb_service.d.ts +102 -0
  221. package/spic.admin_alert_pb_service.js +142 -0
  222. package/spic.alarm_pb.d.ts +344 -0
  223. package/spic.alarm_pb.js +2622 -0
  224. package/spic.alarm_pb_service.d.ts +101 -0
  225. package/spic.alarm_pb_service.js +141 -0
  226. package/spic.asset_pb.d.ts +652 -0
  227. package/spic.asset_pb.js +4669 -0
  228. package/spic.asset_pb_service.d.ts +197 -0
  229. package/spic.asset_pb_service.js +342 -0
  230. package/spic.cabinet_pb.d.ts +951 -0
  231. package/spic.cabinet_pb.js +6875 -0
  232. package/spic.cabinet_pb_service.d.ts +177 -0
  233. package/spic.cabinet_pb_service.js +301 -0
  234. package/spic.config_pb.d.ts +249 -0
  235. package/spic.config_pb.js +1891 -0
  236. package/spic.config_pb_service.d.ts +120 -0
  237. package/spic.config_pb_service.js +181 -0
  238. package/spic.contractor_pb.d.ts +195 -0
  239. package/spic.contractor_pb.js +1476 -0
  240. package/spic.contractor_pb_service.d.ts +139 -0
  241. package/spic.contractor_pb_service.js +221 -0
  242. package/spic.history_pb.d.ts +142 -0
  243. package/spic.history_pb.js +1130 -0
  244. package/spic.history_pb_service.d.ts +63 -0
  245. package/spic.history_pb_service.js +61 -0
  246. package/spic.open_request_pb.d.ts +237 -0
  247. package/spic.open_request_pb.js +1784 -0
  248. package/spic.open_request_pb_service.d.ts +101 -0
  249. package/spic.open_request_pb_service.js +141 -0
@@ -0,0 +1,4287 @@
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 platform_pagination_pb = require('./platform.pagination_pb.js');
29
+ goog.object.extend(proto, platform_pagination_pb);
30
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
31
+ goog.object.extend(proto, google_protobuf_empty_pb);
32
+ goog.exportSymbol('proto.Auth.AccountProto', null, global);
33
+ goog.exportSymbol('proto.Auth.AccountProto.AccountsActivationStatuses', null, global);
34
+ goog.exportSymbol('proto.Auth.AccountProto.ActivateAccountRequest', null, global);
35
+ goog.exportSymbol('proto.Auth.AccountProto.ActivationStatuses', null, global);
36
+ goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordReply', null, global);
37
+ goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordRequest', null, global);
38
+ goog.exportSymbol('proto.Auth.AccountProto.CreateAdminRequest', null, global);
39
+ goog.exportSymbol('proto.Auth.AccountProto.CreateAppRequest', null, global);
40
+ goog.exportSymbol('proto.Auth.AccountProto.DeleteReply', null, global);
41
+ goog.exportSymbol('proto.Auth.AccountProto.DeleteRequest', null, global);
42
+ goog.exportSymbol('proto.Auth.AccountProto.ForgotPasswordRequest', null, global);
43
+ goog.exportSymbol('proto.Auth.AccountProto.ResendInvitationRequest', null, global);
44
+ goog.exportSymbol('proto.Auth.AccountProto.ResetPasswordRequest', null, global);
45
+ goog.exportSymbol('proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply', null, global);
46
+ goog.exportSymbol('proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest', null, global);
47
+ goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoReply', null, global);
48
+ goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoRequest', null, global);
49
+ goog.exportSymbol('proto.Auth.AccountProto.RetrieveRequest', null, global);
50
+ goog.exportSymbol('proto.Auth.AccountProto.Roles', null, global);
51
+ goog.exportSymbol('proto.Auth.AccountProto.SearchReply', null, global);
52
+ goog.exportSymbol('proto.Auth.AccountProto.SearchRequest', null, global);
53
+ goog.exportSymbol('proto.Auth.AccountProto.UpdateRequest', null, global);
54
+ /**
55
+ * Generated by JsPbCodeGenerator.
56
+ * @param {Array=} opt_data Optional initial data array, typically from a
57
+ * server response, or constructed directly in Javascript. The array is used
58
+ * in place and becomes part of the constructed object. It is not cloned.
59
+ * If no data is provided, the constructed object will be empty, but still
60
+ * valid.
61
+ * @extends {jspb.Message}
62
+ * @constructor
63
+ */
64
+ proto.Auth.AccountProto = function(opt_data) {
65
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
66
+ };
67
+ goog.inherits(proto.Auth.AccountProto, jspb.Message);
68
+ if (goog.DEBUG && !COMPILED) {
69
+ /**
70
+ * @public
71
+ * @override
72
+ */
73
+ proto.Auth.AccountProto.displayName = 'proto.Auth.AccountProto';
74
+ }
75
+ /**
76
+ * Generated by JsPbCodeGenerator.
77
+ * @param {Array=} opt_data Optional initial data array, typically from a
78
+ * server response, or constructed directly in Javascript. The array is used
79
+ * in place and becomes part of the constructed object. It is not cloned.
80
+ * If no data is provided, the constructed object will be empty, but still
81
+ * valid.
82
+ * @extends {jspb.Message}
83
+ * @constructor
84
+ */
85
+ proto.Auth.AccountProto.CreateAdminRequest = function(opt_data) {
86
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
87
+ };
88
+ goog.inherits(proto.Auth.AccountProto.CreateAdminRequest, jspb.Message);
89
+ if (goog.DEBUG && !COMPILED) {
90
+ /**
91
+ * @public
92
+ * @override
93
+ */
94
+ proto.Auth.AccountProto.CreateAdminRequest.displayName = 'proto.Auth.AccountProto.CreateAdminRequest';
95
+ }
96
+ /**
97
+ * Generated by JsPbCodeGenerator.
98
+ * @param {Array=} opt_data Optional initial data array, typically from a
99
+ * server response, or constructed directly in Javascript. The array is used
100
+ * in place and becomes part of the constructed object. It is not cloned.
101
+ * If no data is provided, the constructed object will be empty, but still
102
+ * valid.
103
+ * @extends {jspb.Message}
104
+ * @constructor
105
+ */
106
+ proto.Auth.AccountProto.CreateAppRequest = function(opt_data) {
107
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
108
+ };
109
+ goog.inherits(proto.Auth.AccountProto.CreateAppRequest, jspb.Message);
110
+ if (goog.DEBUG && !COMPILED) {
111
+ /**
112
+ * @public
113
+ * @override
114
+ */
115
+ proto.Auth.AccountProto.CreateAppRequest.displayName = 'proto.Auth.AccountProto.CreateAppRequest';
116
+ }
117
+ /**
118
+ * Generated by JsPbCodeGenerator.
119
+ * @param {Array=} opt_data Optional initial data array, typically from a
120
+ * server response, or constructed directly in Javascript. The array is used
121
+ * in place and becomes part of the constructed object. It is not cloned.
122
+ * If no data is provided, the constructed object will be empty, but still
123
+ * valid.
124
+ * @extends {jspb.Message}
125
+ * @constructor
126
+ */
127
+ proto.Auth.AccountProto.RetrieveRequest = function(opt_data) {
128
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
129
+ };
130
+ goog.inherits(proto.Auth.AccountProto.RetrieveRequest, jspb.Message);
131
+ if (goog.DEBUG && !COMPILED) {
132
+ /**
133
+ * @public
134
+ * @override
135
+ */
136
+ proto.Auth.AccountProto.RetrieveRequest.displayName = 'proto.Auth.AccountProto.RetrieveRequest';
137
+ }
138
+ /**
139
+ * Generated by JsPbCodeGenerator.
140
+ * @param {Array=} opt_data Optional initial data array, typically from a
141
+ * server response, or constructed directly in Javascript. The array is used
142
+ * in place and becomes part of the constructed object. It is not cloned.
143
+ * If no data is provided, the constructed object will be empty, but still
144
+ * valid.
145
+ * @extends {jspb.Message}
146
+ * @constructor
147
+ */
148
+ proto.Auth.AccountProto.SearchReply = function(opt_data) {
149
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.SearchReply.repeatedFields_, null);
150
+ };
151
+ goog.inherits(proto.Auth.AccountProto.SearchReply, jspb.Message);
152
+ if (goog.DEBUG && !COMPILED) {
153
+ /**
154
+ * @public
155
+ * @override
156
+ */
157
+ proto.Auth.AccountProto.SearchReply.displayName = 'proto.Auth.AccountProto.SearchReply';
158
+ }
159
+ /**
160
+ * Generated by JsPbCodeGenerator.
161
+ * @param {Array=} opt_data Optional initial data array, typically from a
162
+ * server response, or constructed directly in Javascript. The array is used
163
+ * in place and becomes part of the constructed object. It is not cloned.
164
+ * If no data is provided, the constructed object will be empty, but still
165
+ * valid.
166
+ * @extends {jspb.Message}
167
+ * @constructor
168
+ */
169
+ proto.Auth.AccountProto.SearchRequest = function(opt_data) {
170
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
171
+ };
172
+ goog.inherits(proto.Auth.AccountProto.SearchRequest, jspb.Message);
173
+ if (goog.DEBUG && !COMPILED) {
174
+ /**
175
+ * @public
176
+ * @override
177
+ */
178
+ proto.Auth.AccountProto.SearchRequest.displayName = 'proto.Auth.AccountProto.SearchRequest';
179
+ }
180
+ /**
181
+ * Generated by JsPbCodeGenerator.
182
+ * @param {Array=} opt_data Optional initial data array, typically from a
183
+ * server response, or constructed directly in Javascript. The array is used
184
+ * in place and becomes part of the constructed object. It is not cloned.
185
+ * If no data is provided, the constructed object will be empty, but still
186
+ * valid.
187
+ * @extends {jspb.Message}
188
+ * @constructor
189
+ */
190
+ proto.Auth.AccountProto.UpdateRequest = function(opt_data) {
191
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
192
+ };
193
+ goog.inherits(proto.Auth.AccountProto.UpdateRequest, jspb.Message);
194
+ if (goog.DEBUG && !COMPILED) {
195
+ /**
196
+ * @public
197
+ * @override
198
+ */
199
+ proto.Auth.AccountProto.UpdateRequest.displayName = 'proto.Auth.AccountProto.UpdateRequest';
200
+ }
201
+ /**
202
+ * Generated by JsPbCodeGenerator.
203
+ * @param {Array=} opt_data Optional initial data array, typically from a
204
+ * server response, or constructed directly in Javascript. The array is used
205
+ * in place and becomes part of the constructed object. It is not cloned.
206
+ * If no data is provided, the constructed object will be empty, but still
207
+ * valid.
208
+ * @extends {jspb.Message}
209
+ * @constructor
210
+ */
211
+ proto.Auth.AccountProto.ActivateAccountRequest = function(opt_data) {
212
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
213
+ };
214
+ goog.inherits(proto.Auth.AccountProto.ActivateAccountRequest, jspb.Message);
215
+ if (goog.DEBUG && !COMPILED) {
216
+ /**
217
+ * @public
218
+ * @override
219
+ */
220
+ proto.Auth.AccountProto.ActivateAccountRequest.displayName = 'proto.Auth.AccountProto.ActivateAccountRequest';
221
+ }
222
+ /**
223
+ * Generated by JsPbCodeGenerator.
224
+ * @param {Array=} opt_data Optional initial data array, typically from a
225
+ * server response, or constructed directly in Javascript. The array is used
226
+ * in place and becomes part of the constructed object. It is not cloned.
227
+ * If no data is provided, the constructed object will be empty, but still
228
+ * valid.
229
+ * @extends {jspb.Message}
230
+ * @constructor
231
+ */
232
+ proto.Auth.AccountProto.ForgotPasswordRequest = function(opt_data) {
233
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
234
+ };
235
+ goog.inherits(proto.Auth.AccountProto.ForgotPasswordRequest, jspb.Message);
236
+ if (goog.DEBUG && !COMPILED) {
237
+ /**
238
+ * @public
239
+ * @override
240
+ */
241
+ proto.Auth.AccountProto.ForgotPasswordRequest.displayName = 'proto.Auth.AccountProto.ForgotPasswordRequest';
242
+ }
243
+ /**
244
+ * Generated by JsPbCodeGenerator.
245
+ * @param {Array=} opt_data Optional initial data array, typically from a
246
+ * server response, or constructed directly in Javascript. The array is used
247
+ * in place and becomes part of the constructed object. It is not cloned.
248
+ * If no data is provided, the constructed object will be empty, but still
249
+ * valid.
250
+ * @extends {jspb.Message}
251
+ * @constructor
252
+ */
253
+ proto.Auth.AccountProto.ResetPasswordRequest = function(opt_data) {
254
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
255
+ };
256
+ goog.inherits(proto.Auth.AccountProto.ResetPasswordRequest, jspb.Message);
257
+ if (goog.DEBUG && !COMPILED) {
258
+ /**
259
+ * @public
260
+ * @override
261
+ */
262
+ proto.Auth.AccountProto.ResetPasswordRequest.displayName = 'proto.Auth.AccountProto.ResetPasswordRequest';
263
+ }
264
+ /**
265
+ * Generated by JsPbCodeGenerator.
266
+ * @param {Array=} opt_data Optional initial data array, typically from a
267
+ * server response, or constructed directly in Javascript. The array is used
268
+ * in place and becomes part of the constructed object. It is not cloned.
269
+ * If no data is provided, the constructed object will be empty, but still
270
+ * valid.
271
+ * @extends {jspb.Message}
272
+ * @constructor
273
+ */
274
+ proto.Auth.AccountProto.ChangePasswordRequest = function(opt_data) {
275
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
276
+ };
277
+ goog.inherits(proto.Auth.AccountProto.ChangePasswordRequest, jspb.Message);
278
+ if (goog.DEBUG && !COMPILED) {
279
+ /**
280
+ * @public
281
+ * @override
282
+ */
283
+ proto.Auth.AccountProto.ChangePasswordRequest.displayName = 'proto.Auth.AccountProto.ChangePasswordRequest';
284
+ }
285
+ /**
286
+ * Generated by JsPbCodeGenerator.
287
+ * @param {Array=} opt_data Optional initial data array, typically from a
288
+ * server response, or constructed directly in Javascript. The array is used
289
+ * in place and becomes part of the constructed object. It is not cloned.
290
+ * If no data is provided, the constructed object will be empty, but still
291
+ * valid.
292
+ * @extends {jspb.Message}
293
+ * @constructor
294
+ */
295
+ proto.Auth.AccountProto.ChangePasswordReply = function(opt_data) {
296
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
297
+ };
298
+ goog.inherits(proto.Auth.AccountProto.ChangePasswordReply, jspb.Message);
299
+ if (goog.DEBUG && !COMPILED) {
300
+ /**
301
+ * @public
302
+ * @override
303
+ */
304
+ proto.Auth.AccountProto.ChangePasswordReply.displayName = 'proto.Auth.AccountProto.ChangePasswordReply';
305
+ }
306
+ /**
307
+ * Generated by JsPbCodeGenerator.
308
+ * @param {Array=} opt_data Optional initial data array, typically from a
309
+ * server response, or constructed directly in Javascript. The array is used
310
+ * in place and becomes part of the constructed object. It is not cloned.
311
+ * If no data is provided, the constructed object will be empty, but still
312
+ * valid.
313
+ * @extends {jspb.Message}
314
+ * @constructor
315
+ */
316
+ proto.Auth.AccountProto.DeleteRequest = function(opt_data) {
317
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
318
+ };
319
+ goog.inherits(proto.Auth.AccountProto.DeleteRequest, jspb.Message);
320
+ if (goog.DEBUG && !COMPILED) {
321
+ /**
322
+ * @public
323
+ * @override
324
+ */
325
+ proto.Auth.AccountProto.DeleteRequest.displayName = 'proto.Auth.AccountProto.DeleteRequest';
326
+ }
327
+ /**
328
+ * Generated by JsPbCodeGenerator.
329
+ * @param {Array=} opt_data Optional initial data array, typically from a
330
+ * server response, or constructed directly in Javascript. The array is used
331
+ * in place and becomes part of the constructed object. It is not cloned.
332
+ * If no data is provided, the constructed object will be empty, but still
333
+ * valid.
334
+ * @extends {jspb.Message}
335
+ * @constructor
336
+ */
337
+ proto.Auth.AccountProto.DeleteReply = function(opt_data) {
338
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
339
+ };
340
+ goog.inherits(proto.Auth.AccountProto.DeleteReply, jspb.Message);
341
+ if (goog.DEBUG && !COMPILED) {
342
+ /**
343
+ * @public
344
+ * @override
345
+ */
346
+ proto.Auth.AccountProto.DeleteReply.displayName = 'proto.Auth.AccountProto.DeleteReply';
347
+ }
348
+ /**
349
+ * Generated by JsPbCodeGenerator.
350
+ * @param {Array=} opt_data Optional initial data array, typically from a
351
+ * server response, or constructed directly in Javascript. The array is used
352
+ * in place and becomes part of the constructed object. It is not cloned.
353
+ * If no data is provided, the constructed object will be empty, but still
354
+ * valid.
355
+ * @extends {jspb.Message}
356
+ * @constructor
357
+ */
358
+ proto.Auth.AccountProto.RetrievePushInfoRequest = function(opt_data) {
359
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
360
+ };
361
+ goog.inherits(proto.Auth.AccountProto.RetrievePushInfoRequest, jspb.Message);
362
+ if (goog.DEBUG && !COMPILED) {
363
+ /**
364
+ * @public
365
+ * @override
366
+ */
367
+ proto.Auth.AccountProto.RetrievePushInfoRequest.displayName = 'proto.Auth.AccountProto.RetrievePushInfoRequest';
368
+ }
369
+ /**
370
+ * Generated by JsPbCodeGenerator.
371
+ * @param {Array=} opt_data Optional initial data array, typically from a
372
+ * server response, or constructed directly in Javascript. The array is used
373
+ * in place and becomes part of the constructed object. It is not cloned.
374
+ * If no data is provided, the constructed object will be empty, but still
375
+ * valid.
376
+ * @extends {jspb.Message}
377
+ * @constructor
378
+ */
379
+ proto.Auth.AccountProto.RetrievePushInfoReply = function(opt_data) {
380
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
381
+ };
382
+ goog.inherits(proto.Auth.AccountProto.RetrievePushInfoReply, jspb.Message);
383
+ if (goog.DEBUG && !COMPILED) {
384
+ /**
385
+ * @public
386
+ * @override
387
+ */
388
+ proto.Auth.AccountProto.RetrievePushInfoReply.displayName = 'proto.Auth.AccountProto.RetrievePushInfoReply';
389
+ }
390
+ /**
391
+ * Generated by JsPbCodeGenerator.
392
+ * @param {Array=} opt_data Optional initial data array, typically from a
393
+ * server response, or constructed directly in Javascript. The array is used
394
+ * in place and becomes part of the constructed object. It is not cloned.
395
+ * If no data is provided, the constructed object will be empty, but still
396
+ * valid.
397
+ * @extends {jspb.Message}
398
+ * @constructor
399
+ */
400
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest = function(opt_data) {
401
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.repeatedFields_, null);
402
+ };
403
+ goog.inherits(proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest, jspb.Message);
404
+ if (goog.DEBUG && !COMPILED) {
405
+ /**
406
+ * @public
407
+ * @override
408
+ */
409
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.displayName = 'proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest';
410
+ }
411
+ /**
412
+ * Generated by JsPbCodeGenerator.
413
+ * @param {Array=} opt_data Optional initial data array, typically from a
414
+ * server response, or constructed directly in Javascript. The array is used
415
+ * in place and becomes part of the constructed object. It is not cloned.
416
+ * If no data is provided, the constructed object will be empty, but still
417
+ * valid.
418
+ * @extends {jspb.Message}
419
+ * @constructor
420
+ */
421
+ proto.Auth.AccountProto.AccountsActivationStatuses = function(opt_data) {
422
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
423
+ };
424
+ goog.inherits(proto.Auth.AccountProto.AccountsActivationStatuses, jspb.Message);
425
+ if (goog.DEBUG && !COMPILED) {
426
+ /**
427
+ * @public
428
+ * @override
429
+ */
430
+ proto.Auth.AccountProto.AccountsActivationStatuses.displayName = 'proto.Auth.AccountProto.AccountsActivationStatuses';
431
+ }
432
+ /**
433
+ * Generated by JsPbCodeGenerator.
434
+ * @param {Array=} opt_data Optional initial data array, typically from a
435
+ * server response, or constructed directly in Javascript. The array is used
436
+ * in place and becomes part of the constructed object. It is not cloned.
437
+ * If no data is provided, the constructed object will be empty, but still
438
+ * valid.
439
+ * @extends {jspb.Message}
440
+ * @constructor
441
+ */
442
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply = function(opt_data) {
443
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.repeatedFields_, null);
444
+ };
445
+ goog.inherits(proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply, jspb.Message);
446
+ if (goog.DEBUG && !COMPILED) {
447
+ /**
448
+ * @public
449
+ * @override
450
+ */
451
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.displayName = 'proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply';
452
+ }
453
+ /**
454
+ * Generated by JsPbCodeGenerator.
455
+ * @param {Array=} opt_data Optional initial data array, typically from a
456
+ * server response, or constructed directly in Javascript. The array is used
457
+ * in place and becomes part of the constructed object. It is not cloned.
458
+ * If no data is provided, the constructed object will be empty, but still
459
+ * valid.
460
+ * @extends {jspb.Message}
461
+ * @constructor
462
+ */
463
+ proto.Auth.AccountProto.ResendInvitationRequest = function(opt_data) {
464
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
465
+ };
466
+ goog.inherits(proto.Auth.AccountProto.ResendInvitationRequest, jspb.Message);
467
+ if (goog.DEBUG && !COMPILED) {
468
+ /**
469
+ * @public
470
+ * @override
471
+ */
472
+ proto.Auth.AccountProto.ResendInvitationRequest.displayName = 'proto.Auth.AccountProto.ResendInvitationRequest';
473
+ }
474
+
475
+
476
+
477
+ if (jspb.Message.GENERATE_TO_OBJECT) {
478
+ /**
479
+ * Creates an object representation of this proto.
480
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
481
+ * Optional fields that are not set will be set to undefined.
482
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
483
+ * For the list of reserved names please see:
484
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
485
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
486
+ * JSPB instance for transitional soy proto support:
487
+ * http://goto/soy-param-migration
488
+ * @return {!Object}
489
+ */
490
+ proto.Auth.AccountProto.prototype.toObject = function(opt_includeInstance) {
491
+ return proto.Auth.AccountProto.toObject(opt_includeInstance, this);
492
+ };
493
+
494
+
495
+ /**
496
+ * Static version of the {@see toObject} method.
497
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
498
+ * the JSPB instance for transitional soy proto support:
499
+ * http://goto/soy-param-migration
500
+ * @param {!proto.Auth.AccountProto} msg The msg instance to transform.
501
+ * @return {!Object}
502
+ * @suppress {unusedLocalVariables} f is only used for nested messages
503
+ */
504
+ proto.Auth.AccountProto.toObject = function(includeInstance, msg) {
505
+ var f, obj = {
506
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
507
+ email: jspb.Message.getFieldWithDefault(msg, 2, ""),
508
+ phone: jspb.Message.getFieldWithDefault(msg, 3, ""),
509
+ firstName: jspb.Message.getFieldWithDefault(msg, 4, ""),
510
+ lastName: jspb.Message.getFieldWithDefault(msg, 5, ""),
511
+ locale: jspb.Message.getFieldWithDefault(msg, 6, ""),
512
+ company: jspb.Message.getFieldWithDefault(msg, 7, ""),
513
+ active: jspb.Message.getFieldWithDefault(msg, 8, "")
514
+ };
515
+
516
+ if (includeInstance) {
517
+ obj.$jspbMessageInstance = msg;
518
+ }
519
+ return obj;
520
+ };
521
+ }
522
+
523
+
524
+ /**
525
+ * Deserializes binary data (in protobuf wire format).
526
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
527
+ * @return {!proto.Auth.AccountProto}
528
+ */
529
+ proto.Auth.AccountProto.deserializeBinary = function(bytes) {
530
+ var reader = new jspb.BinaryReader(bytes);
531
+ var msg = new proto.Auth.AccountProto;
532
+ return proto.Auth.AccountProto.deserializeBinaryFromReader(msg, reader);
533
+ };
534
+
535
+
536
+ /**
537
+ * Deserializes binary data (in protobuf wire format) from the
538
+ * given reader into the given message object.
539
+ * @param {!proto.Auth.AccountProto} msg The message object to deserialize into.
540
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
541
+ * @return {!proto.Auth.AccountProto}
542
+ */
543
+ proto.Auth.AccountProto.deserializeBinaryFromReader = function(msg, reader) {
544
+ while (reader.nextField()) {
545
+ if (reader.isEndGroup()) {
546
+ break;
547
+ }
548
+ var field = reader.getFieldNumber();
549
+ switch (field) {
550
+ case 1:
551
+ var value = /** @type {number} */ (reader.readInt64());
552
+ msg.setId(value);
553
+ break;
554
+ case 2:
555
+ var value = /** @type {string} */ (reader.readString());
556
+ msg.setEmail(value);
557
+ break;
558
+ case 3:
559
+ var value = /** @type {string} */ (reader.readString());
560
+ msg.setPhone(value);
561
+ break;
562
+ case 4:
563
+ var value = /** @type {string} */ (reader.readString());
564
+ msg.setFirstName(value);
565
+ break;
566
+ case 5:
567
+ var value = /** @type {string} */ (reader.readString());
568
+ msg.setLastName(value);
569
+ break;
570
+ case 6:
571
+ var value = /** @type {string} */ (reader.readString());
572
+ msg.setLocale(value);
573
+ break;
574
+ case 7:
575
+ var value = /** @type {string} */ (reader.readString());
576
+ msg.setCompany(value);
577
+ break;
578
+ case 8:
579
+ var value = /** @type {string} */ (reader.readString());
580
+ msg.setActive(value);
581
+ break;
582
+ default:
583
+ reader.skipField();
584
+ break;
585
+ }
586
+ }
587
+ return msg;
588
+ };
589
+
590
+
591
+ /**
592
+ * Serializes the message to binary data (in protobuf wire format).
593
+ * @return {!Uint8Array}
594
+ */
595
+ proto.Auth.AccountProto.prototype.serializeBinary = function() {
596
+ var writer = new jspb.BinaryWriter();
597
+ proto.Auth.AccountProto.serializeBinaryToWriter(this, writer);
598
+ return writer.getResultBuffer();
599
+ };
600
+
601
+
602
+ /**
603
+ * Serializes the given message to binary data (in protobuf wire
604
+ * format), writing to the given BinaryWriter.
605
+ * @param {!proto.Auth.AccountProto} message
606
+ * @param {!jspb.BinaryWriter} writer
607
+ * @suppress {unusedLocalVariables} f is only used for nested messages
608
+ */
609
+ proto.Auth.AccountProto.serializeBinaryToWriter = function(message, writer) {
610
+ var f = undefined;
611
+ f = message.getId();
612
+ if (f !== 0) {
613
+ writer.writeInt64(
614
+ 1,
615
+ f
616
+ );
617
+ }
618
+ f = message.getEmail();
619
+ if (f.length > 0) {
620
+ writer.writeString(
621
+ 2,
622
+ f
623
+ );
624
+ }
625
+ f = message.getPhone();
626
+ if (f.length > 0) {
627
+ writer.writeString(
628
+ 3,
629
+ f
630
+ );
631
+ }
632
+ f = message.getFirstName();
633
+ if (f.length > 0) {
634
+ writer.writeString(
635
+ 4,
636
+ f
637
+ );
638
+ }
639
+ f = message.getLastName();
640
+ if (f.length > 0) {
641
+ writer.writeString(
642
+ 5,
643
+ f
644
+ );
645
+ }
646
+ f = message.getLocale();
647
+ if (f.length > 0) {
648
+ writer.writeString(
649
+ 6,
650
+ f
651
+ );
652
+ }
653
+ f = message.getCompany();
654
+ if (f.length > 0) {
655
+ writer.writeString(
656
+ 7,
657
+ f
658
+ );
659
+ }
660
+ f = message.getActive();
661
+ if (f.length > 0) {
662
+ writer.writeString(
663
+ 8,
664
+ f
665
+ );
666
+ }
667
+ };
668
+
669
+
670
+ /**
671
+ * @enum {number}
672
+ */
673
+ proto.Auth.AccountProto.Roles = {
674
+ SYSTEM_ADMIN: 0,
675
+ ADMIN: 1,
676
+ APP_GLOBAL: 2,
677
+ APP_CLUSTER: 3,
678
+ SERVICE_USER: 4,
679
+ DRUM_API_ERP: 5,
680
+ DRUM_TRACKER_VIEW_ALL: 6,
681
+ DRUM_TRACKER_DEMO: 7
682
+ };
683
+
684
+ /**
685
+ * @enum {number}
686
+ */
687
+ proto.Auth.AccountProto.ActivationStatuses = {
688
+ ACTIVATED: 0,
689
+ PENDING: 1,
690
+ EXPIRED: 2
691
+ };
692
+
693
+
694
+
695
+
696
+ if (jspb.Message.GENERATE_TO_OBJECT) {
697
+ /**
698
+ * Creates an object representation of this proto.
699
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
700
+ * Optional fields that are not set will be set to undefined.
701
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
702
+ * For the list of reserved names please see:
703
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
704
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
705
+ * JSPB instance for transitional soy proto support:
706
+ * http://goto/soy-param-migration
707
+ * @return {!Object}
708
+ */
709
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.toObject = function(opt_includeInstance) {
710
+ return proto.Auth.AccountProto.CreateAdminRequest.toObject(opt_includeInstance, this);
711
+ };
712
+
713
+
714
+ /**
715
+ * Static version of the {@see toObject} method.
716
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
717
+ * the JSPB instance for transitional soy proto support:
718
+ * http://goto/soy-param-migration
719
+ * @param {!proto.Auth.AccountProto.CreateAdminRequest} msg The msg instance to transform.
720
+ * @return {!Object}
721
+ * @suppress {unusedLocalVariables} f is only used for nested messages
722
+ */
723
+ proto.Auth.AccountProto.CreateAdminRequest.toObject = function(includeInstance, msg) {
724
+ var f, obj = {
725
+ email: jspb.Message.getFieldWithDefault(msg, 1, ""),
726
+ firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
727
+ lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
728
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
729
+ company: jspb.Message.getFieldWithDefault(msg, 5, "")
730
+ };
731
+
732
+ if (includeInstance) {
733
+ obj.$jspbMessageInstance = msg;
734
+ }
735
+ return obj;
736
+ };
737
+ }
738
+
739
+
740
+ /**
741
+ * Deserializes binary data (in protobuf wire format).
742
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
743
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest}
744
+ */
745
+ proto.Auth.AccountProto.CreateAdminRequest.deserializeBinary = function(bytes) {
746
+ var reader = new jspb.BinaryReader(bytes);
747
+ var msg = new proto.Auth.AccountProto.CreateAdminRequest;
748
+ return proto.Auth.AccountProto.CreateAdminRequest.deserializeBinaryFromReader(msg, reader);
749
+ };
750
+
751
+
752
+ /**
753
+ * Deserializes binary data (in protobuf wire format) from the
754
+ * given reader into the given message object.
755
+ * @param {!proto.Auth.AccountProto.CreateAdminRequest} msg The message object to deserialize into.
756
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
757
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest}
758
+ */
759
+ proto.Auth.AccountProto.CreateAdminRequest.deserializeBinaryFromReader = function(msg, reader) {
760
+ while (reader.nextField()) {
761
+ if (reader.isEndGroup()) {
762
+ break;
763
+ }
764
+ var field = reader.getFieldNumber();
765
+ switch (field) {
766
+ case 1:
767
+ var value = /** @type {string} */ (reader.readString());
768
+ msg.setEmail(value);
769
+ break;
770
+ case 2:
771
+ var value = /** @type {string} */ (reader.readString());
772
+ msg.setFirstName(value);
773
+ break;
774
+ case 3:
775
+ var value = /** @type {string} */ (reader.readString());
776
+ msg.setLastName(value);
777
+ break;
778
+ case 4:
779
+ var value = /** @type {string} */ (reader.readString());
780
+ msg.setLocale(value);
781
+ break;
782
+ case 5:
783
+ var value = /** @type {string} */ (reader.readString());
784
+ msg.setCompany(value);
785
+ break;
786
+ default:
787
+ reader.skipField();
788
+ break;
789
+ }
790
+ }
791
+ return msg;
792
+ };
793
+
794
+
795
+ /**
796
+ * Serializes the message to binary data (in protobuf wire format).
797
+ * @return {!Uint8Array}
798
+ */
799
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.serializeBinary = function() {
800
+ var writer = new jspb.BinaryWriter();
801
+ proto.Auth.AccountProto.CreateAdminRequest.serializeBinaryToWriter(this, writer);
802
+ return writer.getResultBuffer();
803
+ };
804
+
805
+
806
+ /**
807
+ * Serializes the given message to binary data (in protobuf wire
808
+ * format), writing to the given BinaryWriter.
809
+ * @param {!proto.Auth.AccountProto.CreateAdminRequest} message
810
+ * @param {!jspb.BinaryWriter} writer
811
+ * @suppress {unusedLocalVariables} f is only used for nested messages
812
+ */
813
+ proto.Auth.AccountProto.CreateAdminRequest.serializeBinaryToWriter = function(message, writer) {
814
+ var f = undefined;
815
+ f = message.getEmail();
816
+ if (f.length > 0) {
817
+ writer.writeString(
818
+ 1,
819
+ f
820
+ );
821
+ }
822
+ f = message.getFirstName();
823
+ if (f.length > 0) {
824
+ writer.writeString(
825
+ 2,
826
+ f
827
+ );
828
+ }
829
+ f = message.getLastName();
830
+ if (f.length > 0) {
831
+ writer.writeString(
832
+ 3,
833
+ f
834
+ );
835
+ }
836
+ f = message.getLocale();
837
+ if (f.length > 0) {
838
+ writer.writeString(
839
+ 4,
840
+ f
841
+ );
842
+ }
843
+ f = message.getCompany();
844
+ if (f.length > 0) {
845
+ writer.writeString(
846
+ 5,
847
+ f
848
+ );
849
+ }
850
+ };
851
+
852
+
853
+ /**
854
+ * optional string email = 1;
855
+ * @return {string}
856
+ */
857
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getEmail = function() {
858
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
859
+ };
860
+
861
+
862
+ /**
863
+ * @param {string} value
864
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
865
+ */
866
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setEmail = function(value) {
867
+ return jspb.Message.setProto3StringField(this, 1, value);
868
+ };
869
+
870
+
871
+ /**
872
+ * optional string first_name = 2;
873
+ * @return {string}
874
+ */
875
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getFirstName = function() {
876
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
877
+ };
878
+
879
+
880
+ /**
881
+ * @param {string} value
882
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
883
+ */
884
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setFirstName = function(value) {
885
+ return jspb.Message.setProto3StringField(this, 2, value);
886
+ };
887
+
888
+
889
+ /**
890
+ * optional string last_name = 3;
891
+ * @return {string}
892
+ */
893
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getLastName = function() {
894
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
895
+ };
896
+
897
+
898
+ /**
899
+ * @param {string} value
900
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
901
+ */
902
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setLastName = function(value) {
903
+ return jspb.Message.setProto3StringField(this, 3, value);
904
+ };
905
+
906
+
907
+ /**
908
+ * optional string locale = 4;
909
+ * @return {string}
910
+ */
911
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getLocale = function() {
912
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
913
+ };
914
+
915
+
916
+ /**
917
+ * @param {string} value
918
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
919
+ */
920
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setLocale = function(value) {
921
+ return jspb.Message.setProto3StringField(this, 4, value);
922
+ };
923
+
924
+
925
+ /**
926
+ * optional string company = 5;
927
+ * @return {string}
928
+ */
929
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.getCompany = function() {
930
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
931
+ };
932
+
933
+
934
+ /**
935
+ * @param {string} value
936
+ * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
937
+ */
938
+ proto.Auth.AccountProto.CreateAdminRequest.prototype.setCompany = function(value) {
939
+ return jspb.Message.setProto3StringField(this, 5, value);
940
+ };
941
+
942
+
943
+
944
+
945
+
946
+ if (jspb.Message.GENERATE_TO_OBJECT) {
947
+ /**
948
+ * Creates an object representation of this proto.
949
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
950
+ * Optional fields that are not set will be set to undefined.
951
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
952
+ * For the list of reserved names please see:
953
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
954
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
955
+ * JSPB instance for transitional soy proto support:
956
+ * http://goto/soy-param-migration
957
+ * @return {!Object}
958
+ */
959
+ proto.Auth.AccountProto.CreateAppRequest.prototype.toObject = function(opt_includeInstance) {
960
+ return proto.Auth.AccountProto.CreateAppRequest.toObject(opt_includeInstance, this);
961
+ };
962
+
963
+
964
+ /**
965
+ * Static version of the {@see toObject} method.
966
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
967
+ * the JSPB instance for transitional soy proto support:
968
+ * http://goto/soy-param-migration
969
+ * @param {!proto.Auth.AccountProto.CreateAppRequest} msg The msg instance to transform.
970
+ * @return {!Object}
971
+ * @suppress {unusedLocalVariables} f is only used for nested messages
972
+ */
973
+ proto.Auth.AccountProto.CreateAppRequest.toObject = function(includeInstance, msg) {
974
+ var f, obj = {
975
+ phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
976
+ firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
977
+ lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
978
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
979
+ company: jspb.Message.getFieldWithDefault(msg, 5, ""),
980
+ clientName: jspb.Message.getFieldWithDefault(msg, 6, "")
981
+ };
982
+
983
+ if (includeInstance) {
984
+ obj.$jspbMessageInstance = msg;
985
+ }
986
+ return obj;
987
+ };
988
+ }
989
+
990
+
991
+ /**
992
+ * Deserializes binary data (in protobuf wire format).
993
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
994
+ * @return {!proto.Auth.AccountProto.CreateAppRequest}
995
+ */
996
+ proto.Auth.AccountProto.CreateAppRequest.deserializeBinary = function(bytes) {
997
+ var reader = new jspb.BinaryReader(bytes);
998
+ var msg = new proto.Auth.AccountProto.CreateAppRequest;
999
+ return proto.Auth.AccountProto.CreateAppRequest.deserializeBinaryFromReader(msg, reader);
1000
+ };
1001
+
1002
+
1003
+ /**
1004
+ * Deserializes binary data (in protobuf wire format) from the
1005
+ * given reader into the given message object.
1006
+ * @param {!proto.Auth.AccountProto.CreateAppRequest} msg The message object to deserialize into.
1007
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1008
+ * @return {!proto.Auth.AccountProto.CreateAppRequest}
1009
+ */
1010
+ proto.Auth.AccountProto.CreateAppRequest.deserializeBinaryFromReader = function(msg, reader) {
1011
+ while (reader.nextField()) {
1012
+ if (reader.isEndGroup()) {
1013
+ break;
1014
+ }
1015
+ var field = reader.getFieldNumber();
1016
+ switch (field) {
1017
+ case 1:
1018
+ var value = /** @type {string} */ (reader.readString());
1019
+ msg.setPhone(value);
1020
+ break;
1021
+ case 2:
1022
+ var value = /** @type {string} */ (reader.readString());
1023
+ msg.setFirstName(value);
1024
+ break;
1025
+ case 3:
1026
+ var value = /** @type {string} */ (reader.readString());
1027
+ msg.setLastName(value);
1028
+ break;
1029
+ case 4:
1030
+ var value = /** @type {string} */ (reader.readString());
1031
+ msg.setLocale(value);
1032
+ break;
1033
+ case 5:
1034
+ var value = /** @type {string} */ (reader.readString());
1035
+ msg.setCompany(value);
1036
+ break;
1037
+ case 6:
1038
+ var value = /** @type {string} */ (reader.readString());
1039
+ msg.setClientName(value);
1040
+ break;
1041
+ default:
1042
+ reader.skipField();
1043
+ break;
1044
+ }
1045
+ }
1046
+ return msg;
1047
+ };
1048
+
1049
+
1050
+ /**
1051
+ * Serializes the message to binary data (in protobuf wire format).
1052
+ * @return {!Uint8Array}
1053
+ */
1054
+ proto.Auth.AccountProto.CreateAppRequest.prototype.serializeBinary = function() {
1055
+ var writer = new jspb.BinaryWriter();
1056
+ proto.Auth.AccountProto.CreateAppRequest.serializeBinaryToWriter(this, writer);
1057
+ return writer.getResultBuffer();
1058
+ };
1059
+
1060
+
1061
+ /**
1062
+ * Serializes the given message to binary data (in protobuf wire
1063
+ * format), writing to the given BinaryWriter.
1064
+ * @param {!proto.Auth.AccountProto.CreateAppRequest} message
1065
+ * @param {!jspb.BinaryWriter} writer
1066
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1067
+ */
1068
+ proto.Auth.AccountProto.CreateAppRequest.serializeBinaryToWriter = function(message, writer) {
1069
+ var f = undefined;
1070
+ f = message.getPhone();
1071
+ if (f.length > 0) {
1072
+ writer.writeString(
1073
+ 1,
1074
+ f
1075
+ );
1076
+ }
1077
+ f = message.getFirstName();
1078
+ if (f.length > 0) {
1079
+ writer.writeString(
1080
+ 2,
1081
+ f
1082
+ );
1083
+ }
1084
+ f = message.getLastName();
1085
+ if (f.length > 0) {
1086
+ writer.writeString(
1087
+ 3,
1088
+ f
1089
+ );
1090
+ }
1091
+ f = message.getLocale();
1092
+ if (f.length > 0) {
1093
+ writer.writeString(
1094
+ 4,
1095
+ f
1096
+ );
1097
+ }
1098
+ f = message.getCompany();
1099
+ if (f.length > 0) {
1100
+ writer.writeString(
1101
+ 5,
1102
+ f
1103
+ );
1104
+ }
1105
+ f = message.getClientName();
1106
+ if (f.length > 0) {
1107
+ writer.writeString(
1108
+ 6,
1109
+ f
1110
+ );
1111
+ }
1112
+ };
1113
+
1114
+
1115
+ /**
1116
+ * optional string phone = 1;
1117
+ * @return {string}
1118
+ */
1119
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getPhone = function() {
1120
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1121
+ };
1122
+
1123
+
1124
+ /**
1125
+ * @param {string} value
1126
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1127
+ */
1128
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setPhone = function(value) {
1129
+ return jspb.Message.setProto3StringField(this, 1, value);
1130
+ };
1131
+
1132
+
1133
+ /**
1134
+ * optional string first_name = 2;
1135
+ * @return {string}
1136
+ */
1137
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getFirstName = function() {
1138
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1139
+ };
1140
+
1141
+
1142
+ /**
1143
+ * @param {string} value
1144
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1145
+ */
1146
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setFirstName = function(value) {
1147
+ return jspb.Message.setProto3StringField(this, 2, value);
1148
+ };
1149
+
1150
+
1151
+ /**
1152
+ * optional string last_name = 3;
1153
+ * @return {string}
1154
+ */
1155
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getLastName = function() {
1156
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1157
+ };
1158
+
1159
+
1160
+ /**
1161
+ * @param {string} value
1162
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1163
+ */
1164
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setLastName = function(value) {
1165
+ return jspb.Message.setProto3StringField(this, 3, value);
1166
+ };
1167
+
1168
+
1169
+ /**
1170
+ * optional string locale = 4;
1171
+ * @return {string}
1172
+ */
1173
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getLocale = function() {
1174
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1175
+ };
1176
+
1177
+
1178
+ /**
1179
+ * @param {string} value
1180
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1181
+ */
1182
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setLocale = function(value) {
1183
+ return jspb.Message.setProto3StringField(this, 4, value);
1184
+ };
1185
+
1186
+
1187
+ /**
1188
+ * optional string company = 5;
1189
+ * @return {string}
1190
+ */
1191
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getCompany = function() {
1192
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1193
+ };
1194
+
1195
+
1196
+ /**
1197
+ * @param {string} value
1198
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1199
+ */
1200
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setCompany = function(value) {
1201
+ return jspb.Message.setProto3StringField(this, 5, value);
1202
+ };
1203
+
1204
+
1205
+ /**
1206
+ * optional string client_name = 6;
1207
+ * @return {string}
1208
+ */
1209
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getClientName = function() {
1210
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1211
+ };
1212
+
1213
+
1214
+ /**
1215
+ * @param {string} value
1216
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1217
+ */
1218
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setClientName = function(value) {
1219
+ return jspb.Message.setProto3StringField(this, 6, value);
1220
+ };
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1227
+ /**
1228
+ * Creates an object representation of this proto.
1229
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1230
+ * Optional fields that are not set will be set to undefined.
1231
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1232
+ * For the list of reserved names please see:
1233
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1234
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1235
+ * JSPB instance for transitional soy proto support:
1236
+ * http://goto/soy-param-migration
1237
+ * @return {!Object}
1238
+ */
1239
+ proto.Auth.AccountProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
1240
+ return proto.Auth.AccountProto.RetrieveRequest.toObject(opt_includeInstance, this);
1241
+ };
1242
+
1243
+
1244
+ /**
1245
+ * Static version of the {@see toObject} method.
1246
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1247
+ * the JSPB instance for transitional soy proto support:
1248
+ * http://goto/soy-param-migration
1249
+ * @param {!proto.Auth.AccountProto.RetrieveRequest} msg The msg instance to transform.
1250
+ * @return {!Object}
1251
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1252
+ */
1253
+ proto.Auth.AccountProto.RetrieveRequest.toObject = function(includeInstance, msg) {
1254
+ var f, obj = {
1255
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1256
+ clientid: jspb.Message.getFieldWithDefault(msg, 2, 0)
1257
+ };
1258
+
1259
+ if (includeInstance) {
1260
+ obj.$jspbMessageInstance = msg;
1261
+ }
1262
+ return obj;
1263
+ };
1264
+ }
1265
+
1266
+
1267
+ /**
1268
+ * Deserializes binary data (in protobuf wire format).
1269
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1270
+ * @return {!proto.Auth.AccountProto.RetrieveRequest}
1271
+ */
1272
+ proto.Auth.AccountProto.RetrieveRequest.deserializeBinary = function(bytes) {
1273
+ var reader = new jspb.BinaryReader(bytes);
1274
+ var msg = new proto.Auth.AccountProto.RetrieveRequest;
1275
+ return proto.Auth.AccountProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
1276
+ };
1277
+
1278
+
1279
+ /**
1280
+ * Deserializes binary data (in protobuf wire format) from the
1281
+ * given reader into the given message object.
1282
+ * @param {!proto.Auth.AccountProto.RetrieveRequest} msg The message object to deserialize into.
1283
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1284
+ * @return {!proto.Auth.AccountProto.RetrieveRequest}
1285
+ */
1286
+ proto.Auth.AccountProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
1287
+ while (reader.nextField()) {
1288
+ if (reader.isEndGroup()) {
1289
+ break;
1290
+ }
1291
+ var field = reader.getFieldNumber();
1292
+ switch (field) {
1293
+ case 1:
1294
+ var value = /** @type {number} */ (reader.readInt64());
1295
+ msg.setId(value);
1296
+ break;
1297
+ case 2:
1298
+ var value = /** @type {number} */ (reader.readInt64());
1299
+ msg.setClientid(value);
1300
+ break;
1301
+ default:
1302
+ reader.skipField();
1303
+ break;
1304
+ }
1305
+ }
1306
+ return msg;
1307
+ };
1308
+
1309
+
1310
+ /**
1311
+ * Serializes the message to binary data (in protobuf wire format).
1312
+ * @return {!Uint8Array}
1313
+ */
1314
+ proto.Auth.AccountProto.RetrieveRequest.prototype.serializeBinary = function() {
1315
+ var writer = new jspb.BinaryWriter();
1316
+ proto.Auth.AccountProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
1317
+ return writer.getResultBuffer();
1318
+ };
1319
+
1320
+
1321
+ /**
1322
+ * Serializes the given message to binary data (in protobuf wire
1323
+ * format), writing to the given BinaryWriter.
1324
+ * @param {!proto.Auth.AccountProto.RetrieveRequest} message
1325
+ * @param {!jspb.BinaryWriter} writer
1326
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1327
+ */
1328
+ proto.Auth.AccountProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
1329
+ var f = undefined;
1330
+ f = message.getId();
1331
+ if (f !== 0) {
1332
+ writer.writeInt64(
1333
+ 1,
1334
+ f
1335
+ );
1336
+ }
1337
+ f = message.getClientid();
1338
+ if (f !== 0) {
1339
+ writer.writeInt64(
1340
+ 2,
1341
+ f
1342
+ );
1343
+ }
1344
+ };
1345
+
1346
+
1347
+ /**
1348
+ * optional int64 id = 1;
1349
+ * @return {number}
1350
+ */
1351
+ proto.Auth.AccountProto.RetrieveRequest.prototype.getId = function() {
1352
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1353
+ };
1354
+
1355
+
1356
+ /**
1357
+ * @param {number} value
1358
+ * @return {!proto.Auth.AccountProto.RetrieveRequest} returns this
1359
+ */
1360
+ proto.Auth.AccountProto.RetrieveRequest.prototype.setId = function(value) {
1361
+ return jspb.Message.setProto3IntField(this, 1, value);
1362
+ };
1363
+
1364
+
1365
+ /**
1366
+ * optional int64 clientId = 2;
1367
+ * @return {number}
1368
+ */
1369
+ proto.Auth.AccountProto.RetrieveRequest.prototype.getClientid = function() {
1370
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1371
+ };
1372
+
1373
+
1374
+ /**
1375
+ * @param {number} value
1376
+ * @return {!proto.Auth.AccountProto.RetrieveRequest} returns this
1377
+ */
1378
+ proto.Auth.AccountProto.RetrieveRequest.prototype.setClientid = function(value) {
1379
+ return jspb.Message.setProto3IntField(this, 2, value);
1380
+ };
1381
+
1382
+
1383
+
1384
+ /**
1385
+ * List of repeated fields within this message type.
1386
+ * @private {!Array<number>}
1387
+ * @const
1388
+ */
1389
+ proto.Auth.AccountProto.SearchReply.repeatedFields_ = [1];
1390
+
1391
+
1392
+
1393
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1394
+ /**
1395
+ * Creates an object representation of this proto.
1396
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1397
+ * Optional fields that are not set will be set to undefined.
1398
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1399
+ * For the list of reserved names please see:
1400
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1401
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1402
+ * JSPB instance for transitional soy proto support:
1403
+ * http://goto/soy-param-migration
1404
+ * @return {!Object}
1405
+ */
1406
+ proto.Auth.AccountProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1407
+ return proto.Auth.AccountProto.SearchReply.toObject(opt_includeInstance, this);
1408
+ };
1409
+
1410
+
1411
+ /**
1412
+ * Static version of the {@see toObject} method.
1413
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1414
+ * the JSPB instance for transitional soy proto support:
1415
+ * http://goto/soy-param-migration
1416
+ * @param {!proto.Auth.AccountProto.SearchReply} msg The msg instance to transform.
1417
+ * @return {!Object}
1418
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1419
+ */
1420
+ proto.Auth.AccountProto.SearchReply.toObject = function(includeInstance, msg) {
1421
+ var f, obj = {
1422
+ accountsList: jspb.Message.toObjectList(msg.getAccountsList(),
1423
+ proto.Auth.AccountProto.toObject, includeInstance),
1424
+ pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1425
+ };
1426
+
1427
+ if (includeInstance) {
1428
+ obj.$jspbMessageInstance = msg;
1429
+ }
1430
+ return obj;
1431
+ };
1432
+ }
1433
+
1434
+
1435
+ /**
1436
+ * Deserializes binary data (in protobuf wire format).
1437
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1438
+ * @return {!proto.Auth.AccountProto.SearchReply}
1439
+ */
1440
+ proto.Auth.AccountProto.SearchReply.deserializeBinary = function(bytes) {
1441
+ var reader = new jspb.BinaryReader(bytes);
1442
+ var msg = new proto.Auth.AccountProto.SearchReply;
1443
+ return proto.Auth.AccountProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1444
+ };
1445
+
1446
+
1447
+ /**
1448
+ * Deserializes binary data (in protobuf wire format) from the
1449
+ * given reader into the given message object.
1450
+ * @param {!proto.Auth.AccountProto.SearchReply} msg The message object to deserialize into.
1451
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1452
+ * @return {!proto.Auth.AccountProto.SearchReply}
1453
+ */
1454
+ proto.Auth.AccountProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1455
+ while (reader.nextField()) {
1456
+ if (reader.isEndGroup()) {
1457
+ break;
1458
+ }
1459
+ var field = reader.getFieldNumber();
1460
+ switch (field) {
1461
+ case 1:
1462
+ var value = new proto.Auth.AccountProto;
1463
+ reader.readMessage(value,proto.Auth.AccountProto.deserializeBinaryFromReader);
1464
+ msg.addAccounts(value);
1465
+ break;
1466
+ case 2:
1467
+ var value = new platform_pagination_pb.PaginationProto;
1468
+ reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1469
+ msg.setPagination(value);
1470
+ break;
1471
+ default:
1472
+ reader.skipField();
1473
+ break;
1474
+ }
1475
+ }
1476
+ return msg;
1477
+ };
1478
+
1479
+
1480
+ /**
1481
+ * Serializes the message to binary data (in protobuf wire format).
1482
+ * @return {!Uint8Array}
1483
+ */
1484
+ proto.Auth.AccountProto.SearchReply.prototype.serializeBinary = function() {
1485
+ var writer = new jspb.BinaryWriter();
1486
+ proto.Auth.AccountProto.SearchReply.serializeBinaryToWriter(this, writer);
1487
+ return writer.getResultBuffer();
1488
+ };
1489
+
1490
+
1491
+ /**
1492
+ * Serializes the given message to binary data (in protobuf wire
1493
+ * format), writing to the given BinaryWriter.
1494
+ * @param {!proto.Auth.AccountProto.SearchReply} message
1495
+ * @param {!jspb.BinaryWriter} writer
1496
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1497
+ */
1498
+ proto.Auth.AccountProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1499
+ var f = undefined;
1500
+ f = message.getAccountsList();
1501
+ if (f.length > 0) {
1502
+ writer.writeRepeatedMessage(
1503
+ 1,
1504
+ f,
1505
+ proto.Auth.AccountProto.serializeBinaryToWriter
1506
+ );
1507
+ }
1508
+ f = message.getPagination();
1509
+ if (f != null) {
1510
+ writer.writeMessage(
1511
+ 2,
1512
+ f,
1513
+ platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1514
+ );
1515
+ }
1516
+ };
1517
+
1518
+
1519
+ /**
1520
+ * repeated AccountProto accounts = 1;
1521
+ * @return {!Array<!proto.Auth.AccountProto>}
1522
+ */
1523
+ proto.Auth.AccountProto.SearchReply.prototype.getAccountsList = function() {
1524
+ return /** @type{!Array<!proto.Auth.AccountProto>} */ (
1525
+ jspb.Message.getRepeatedWrapperField(this, proto.Auth.AccountProto, 1));
1526
+ };
1527
+
1528
+
1529
+ /**
1530
+ * @param {!Array<!proto.Auth.AccountProto>} value
1531
+ * @return {!proto.Auth.AccountProto.SearchReply} returns this
1532
+ */
1533
+ proto.Auth.AccountProto.SearchReply.prototype.setAccountsList = function(value) {
1534
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1535
+ };
1536
+
1537
+
1538
+ /**
1539
+ * @param {!proto.Auth.AccountProto=} opt_value
1540
+ * @param {number=} opt_index
1541
+ * @return {!proto.Auth.AccountProto}
1542
+ */
1543
+ proto.Auth.AccountProto.SearchReply.prototype.addAccounts = function(opt_value, opt_index) {
1544
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.AccountProto, opt_index);
1545
+ };
1546
+
1547
+
1548
+ /**
1549
+ * Clears the list making it empty but non-null.
1550
+ * @return {!proto.Auth.AccountProto.SearchReply} returns this
1551
+ */
1552
+ proto.Auth.AccountProto.SearchReply.prototype.clearAccountsList = function() {
1553
+ return this.setAccountsList([]);
1554
+ };
1555
+
1556
+
1557
+ /**
1558
+ * optional Platform.PaginationProto pagination = 2;
1559
+ * @return {?proto.Platform.PaginationProto}
1560
+ */
1561
+ proto.Auth.AccountProto.SearchReply.prototype.getPagination = function() {
1562
+ return /** @type{?proto.Platform.PaginationProto} */ (
1563
+ jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1564
+ };
1565
+
1566
+
1567
+ /**
1568
+ * @param {?proto.Platform.PaginationProto|undefined} value
1569
+ * @return {!proto.Auth.AccountProto.SearchReply} returns this
1570
+ */
1571
+ proto.Auth.AccountProto.SearchReply.prototype.setPagination = function(value) {
1572
+ return jspb.Message.setWrapperField(this, 2, value);
1573
+ };
1574
+
1575
+
1576
+ /**
1577
+ * Clears the message field making it undefined.
1578
+ * @return {!proto.Auth.AccountProto.SearchReply} returns this
1579
+ */
1580
+ proto.Auth.AccountProto.SearchReply.prototype.clearPagination = function() {
1581
+ return this.setPagination(undefined);
1582
+ };
1583
+
1584
+
1585
+ /**
1586
+ * Returns whether this field is set.
1587
+ * @return {boolean}
1588
+ */
1589
+ proto.Auth.AccountProto.SearchReply.prototype.hasPagination = function() {
1590
+ return jspb.Message.getField(this, 2) != null;
1591
+ };
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1598
+ /**
1599
+ * Creates an object representation of this proto.
1600
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1601
+ * Optional fields that are not set will be set to undefined.
1602
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1603
+ * For the list of reserved names please see:
1604
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1605
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1606
+ * JSPB instance for transitional soy proto support:
1607
+ * http://goto/soy-param-migration
1608
+ * @return {!Object}
1609
+ */
1610
+ proto.Auth.AccountProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1611
+ return proto.Auth.AccountProto.SearchRequest.toObject(opt_includeInstance, this);
1612
+ };
1613
+
1614
+
1615
+ /**
1616
+ * Static version of the {@see toObject} method.
1617
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1618
+ * the JSPB instance for transitional soy proto support:
1619
+ * http://goto/soy-param-migration
1620
+ * @param {!proto.Auth.AccountProto.SearchRequest} msg The msg instance to transform.
1621
+ * @return {!Object}
1622
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1623
+ */
1624
+ proto.Auth.AccountProto.SearchRequest.toObject = function(includeInstance, msg) {
1625
+ var f, obj = {
1626
+ search: jspb.Message.getFieldWithDefault(msg, 1, ""),
1627
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
1628
+ count: jspb.Message.getFieldWithDefault(msg, 3, 0)
1629
+ };
1630
+
1631
+ if (includeInstance) {
1632
+ obj.$jspbMessageInstance = msg;
1633
+ }
1634
+ return obj;
1635
+ };
1636
+ }
1637
+
1638
+
1639
+ /**
1640
+ * Deserializes binary data (in protobuf wire format).
1641
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1642
+ * @return {!proto.Auth.AccountProto.SearchRequest}
1643
+ */
1644
+ proto.Auth.AccountProto.SearchRequest.deserializeBinary = function(bytes) {
1645
+ var reader = new jspb.BinaryReader(bytes);
1646
+ var msg = new proto.Auth.AccountProto.SearchRequest;
1647
+ return proto.Auth.AccountProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1648
+ };
1649
+
1650
+
1651
+ /**
1652
+ * Deserializes binary data (in protobuf wire format) from the
1653
+ * given reader into the given message object.
1654
+ * @param {!proto.Auth.AccountProto.SearchRequest} msg The message object to deserialize into.
1655
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1656
+ * @return {!proto.Auth.AccountProto.SearchRequest}
1657
+ */
1658
+ proto.Auth.AccountProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1659
+ while (reader.nextField()) {
1660
+ if (reader.isEndGroup()) {
1661
+ break;
1662
+ }
1663
+ var field = reader.getFieldNumber();
1664
+ switch (field) {
1665
+ case 1:
1666
+ var value = /** @type {string} */ (reader.readString());
1667
+ msg.setSearch(value);
1668
+ break;
1669
+ case 2:
1670
+ var value = /** @type {number} */ (reader.readInt32());
1671
+ msg.setPage(value);
1672
+ break;
1673
+ case 3:
1674
+ var value = /** @type {number} */ (reader.readInt32());
1675
+ msg.setCount(value);
1676
+ break;
1677
+ default:
1678
+ reader.skipField();
1679
+ break;
1680
+ }
1681
+ }
1682
+ return msg;
1683
+ };
1684
+
1685
+
1686
+ /**
1687
+ * Serializes the message to binary data (in protobuf wire format).
1688
+ * @return {!Uint8Array}
1689
+ */
1690
+ proto.Auth.AccountProto.SearchRequest.prototype.serializeBinary = function() {
1691
+ var writer = new jspb.BinaryWriter();
1692
+ proto.Auth.AccountProto.SearchRequest.serializeBinaryToWriter(this, writer);
1693
+ return writer.getResultBuffer();
1694
+ };
1695
+
1696
+
1697
+ /**
1698
+ * Serializes the given message to binary data (in protobuf wire
1699
+ * format), writing to the given BinaryWriter.
1700
+ * @param {!proto.Auth.AccountProto.SearchRequest} message
1701
+ * @param {!jspb.BinaryWriter} writer
1702
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1703
+ */
1704
+ proto.Auth.AccountProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1705
+ var f = undefined;
1706
+ f = message.getSearch();
1707
+ if (f.length > 0) {
1708
+ writer.writeString(
1709
+ 1,
1710
+ f
1711
+ );
1712
+ }
1713
+ f = message.getPage();
1714
+ if (f !== 0) {
1715
+ writer.writeInt32(
1716
+ 2,
1717
+ f
1718
+ );
1719
+ }
1720
+ f = message.getCount();
1721
+ if (f !== 0) {
1722
+ writer.writeInt32(
1723
+ 3,
1724
+ f
1725
+ );
1726
+ }
1727
+ };
1728
+
1729
+
1730
+ /**
1731
+ * optional string search = 1;
1732
+ * @return {string}
1733
+ */
1734
+ proto.Auth.AccountProto.SearchRequest.prototype.getSearch = function() {
1735
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1736
+ };
1737
+
1738
+
1739
+ /**
1740
+ * @param {string} value
1741
+ * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1742
+ */
1743
+ proto.Auth.AccountProto.SearchRequest.prototype.setSearch = function(value) {
1744
+ return jspb.Message.setProto3StringField(this, 1, value);
1745
+ };
1746
+
1747
+
1748
+ /**
1749
+ * optional int32 page = 2;
1750
+ * @return {number}
1751
+ */
1752
+ proto.Auth.AccountProto.SearchRequest.prototype.getPage = function() {
1753
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1754
+ };
1755
+
1756
+
1757
+ /**
1758
+ * @param {number} value
1759
+ * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1760
+ */
1761
+ proto.Auth.AccountProto.SearchRequest.prototype.setPage = function(value) {
1762
+ return jspb.Message.setProto3IntField(this, 2, value);
1763
+ };
1764
+
1765
+
1766
+ /**
1767
+ * optional int32 count = 3;
1768
+ * @return {number}
1769
+ */
1770
+ proto.Auth.AccountProto.SearchRequest.prototype.getCount = function() {
1771
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1772
+ };
1773
+
1774
+
1775
+ /**
1776
+ * @param {number} value
1777
+ * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1778
+ */
1779
+ proto.Auth.AccountProto.SearchRequest.prototype.setCount = function(value) {
1780
+ return jspb.Message.setProto3IntField(this, 3, value);
1781
+ };
1782
+
1783
+
1784
+
1785
+
1786
+
1787
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1788
+ /**
1789
+ * Creates an object representation of this proto.
1790
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1791
+ * Optional fields that are not set will be set to undefined.
1792
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1793
+ * For the list of reserved names please see:
1794
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1795
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1796
+ * JSPB instance for transitional soy proto support:
1797
+ * http://goto/soy-param-migration
1798
+ * @return {!Object}
1799
+ */
1800
+ proto.Auth.AccountProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
1801
+ return proto.Auth.AccountProto.UpdateRequest.toObject(opt_includeInstance, this);
1802
+ };
1803
+
1804
+
1805
+ /**
1806
+ * Static version of the {@see toObject} method.
1807
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1808
+ * the JSPB instance for transitional soy proto support:
1809
+ * http://goto/soy-param-migration
1810
+ * @param {!proto.Auth.AccountProto.UpdateRequest} msg The msg instance to transform.
1811
+ * @return {!Object}
1812
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1813
+ */
1814
+ proto.Auth.AccountProto.UpdateRequest.toObject = function(includeInstance, msg) {
1815
+ var f, obj = {
1816
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1817
+ firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1818
+ lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1819
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
1820
+ company: jspb.Message.getFieldWithDefault(msg, 5, "")
1821
+ };
1822
+
1823
+ if (includeInstance) {
1824
+ obj.$jspbMessageInstance = msg;
1825
+ }
1826
+ return obj;
1827
+ };
1828
+ }
1829
+
1830
+
1831
+ /**
1832
+ * Deserializes binary data (in protobuf wire format).
1833
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1834
+ * @return {!proto.Auth.AccountProto.UpdateRequest}
1835
+ */
1836
+ proto.Auth.AccountProto.UpdateRequest.deserializeBinary = function(bytes) {
1837
+ var reader = new jspb.BinaryReader(bytes);
1838
+ var msg = new proto.Auth.AccountProto.UpdateRequest;
1839
+ return proto.Auth.AccountProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
1840
+ };
1841
+
1842
+
1843
+ /**
1844
+ * Deserializes binary data (in protobuf wire format) from the
1845
+ * given reader into the given message object.
1846
+ * @param {!proto.Auth.AccountProto.UpdateRequest} msg The message object to deserialize into.
1847
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1848
+ * @return {!proto.Auth.AccountProto.UpdateRequest}
1849
+ */
1850
+ proto.Auth.AccountProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
1851
+ while (reader.nextField()) {
1852
+ if (reader.isEndGroup()) {
1853
+ break;
1854
+ }
1855
+ var field = reader.getFieldNumber();
1856
+ switch (field) {
1857
+ case 1:
1858
+ var value = /** @type {number} */ (reader.readInt64());
1859
+ msg.setId(value);
1860
+ break;
1861
+ case 2:
1862
+ var value = /** @type {string} */ (reader.readString());
1863
+ msg.setFirstName(value);
1864
+ break;
1865
+ case 3:
1866
+ var value = /** @type {string} */ (reader.readString());
1867
+ msg.setLastName(value);
1868
+ break;
1869
+ case 4:
1870
+ var value = /** @type {string} */ (reader.readString());
1871
+ msg.setLocale(value);
1872
+ break;
1873
+ case 5:
1874
+ var value = /** @type {string} */ (reader.readString());
1875
+ msg.setCompany(value);
1876
+ break;
1877
+ default:
1878
+ reader.skipField();
1879
+ break;
1880
+ }
1881
+ }
1882
+ return msg;
1883
+ };
1884
+
1885
+
1886
+ /**
1887
+ * Serializes the message to binary data (in protobuf wire format).
1888
+ * @return {!Uint8Array}
1889
+ */
1890
+ proto.Auth.AccountProto.UpdateRequest.prototype.serializeBinary = function() {
1891
+ var writer = new jspb.BinaryWriter();
1892
+ proto.Auth.AccountProto.UpdateRequest.serializeBinaryToWriter(this, writer);
1893
+ return writer.getResultBuffer();
1894
+ };
1895
+
1896
+
1897
+ /**
1898
+ * Serializes the given message to binary data (in protobuf wire
1899
+ * format), writing to the given BinaryWriter.
1900
+ * @param {!proto.Auth.AccountProto.UpdateRequest} message
1901
+ * @param {!jspb.BinaryWriter} writer
1902
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1903
+ */
1904
+ proto.Auth.AccountProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
1905
+ var f = undefined;
1906
+ f = message.getId();
1907
+ if (f !== 0) {
1908
+ writer.writeInt64(
1909
+ 1,
1910
+ f
1911
+ );
1912
+ }
1913
+ f = message.getFirstName();
1914
+ if (f.length > 0) {
1915
+ writer.writeString(
1916
+ 2,
1917
+ f
1918
+ );
1919
+ }
1920
+ f = message.getLastName();
1921
+ if (f.length > 0) {
1922
+ writer.writeString(
1923
+ 3,
1924
+ f
1925
+ );
1926
+ }
1927
+ f = message.getLocale();
1928
+ if (f.length > 0) {
1929
+ writer.writeString(
1930
+ 4,
1931
+ f
1932
+ );
1933
+ }
1934
+ f = message.getCompany();
1935
+ if (f.length > 0) {
1936
+ writer.writeString(
1937
+ 5,
1938
+ f
1939
+ );
1940
+ }
1941
+ };
1942
+
1943
+
1944
+ /**
1945
+ * optional int64 id = 1;
1946
+ * @return {number}
1947
+ */
1948
+ proto.Auth.AccountProto.UpdateRequest.prototype.getId = function() {
1949
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1950
+ };
1951
+
1952
+
1953
+ /**
1954
+ * @param {number} value
1955
+ * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1956
+ */
1957
+ proto.Auth.AccountProto.UpdateRequest.prototype.setId = function(value) {
1958
+ return jspb.Message.setProto3IntField(this, 1, value);
1959
+ };
1960
+
1961
+
1962
+ /**
1963
+ * optional string first_name = 2;
1964
+ * @return {string}
1965
+ */
1966
+ proto.Auth.AccountProto.UpdateRequest.prototype.getFirstName = function() {
1967
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1968
+ };
1969
+
1970
+
1971
+ /**
1972
+ * @param {string} value
1973
+ * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1974
+ */
1975
+ proto.Auth.AccountProto.UpdateRequest.prototype.setFirstName = function(value) {
1976
+ return jspb.Message.setProto3StringField(this, 2, value);
1977
+ };
1978
+
1979
+
1980
+ /**
1981
+ * optional string last_name = 3;
1982
+ * @return {string}
1983
+ */
1984
+ proto.Auth.AccountProto.UpdateRequest.prototype.getLastName = function() {
1985
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1986
+ };
1987
+
1988
+
1989
+ /**
1990
+ * @param {string} value
1991
+ * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1992
+ */
1993
+ proto.Auth.AccountProto.UpdateRequest.prototype.setLastName = function(value) {
1994
+ return jspb.Message.setProto3StringField(this, 3, value);
1995
+ };
1996
+
1997
+
1998
+ /**
1999
+ * optional string locale = 4;
2000
+ * @return {string}
2001
+ */
2002
+ proto.Auth.AccountProto.UpdateRequest.prototype.getLocale = function() {
2003
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2004
+ };
2005
+
2006
+
2007
+ /**
2008
+ * @param {string} value
2009
+ * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
2010
+ */
2011
+ proto.Auth.AccountProto.UpdateRequest.prototype.setLocale = function(value) {
2012
+ return jspb.Message.setProto3StringField(this, 4, value);
2013
+ };
2014
+
2015
+
2016
+ /**
2017
+ * optional string company = 5;
2018
+ * @return {string}
2019
+ */
2020
+ proto.Auth.AccountProto.UpdateRequest.prototype.getCompany = function() {
2021
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2022
+ };
2023
+
2024
+
2025
+ /**
2026
+ * @param {string} value
2027
+ * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
2028
+ */
2029
+ proto.Auth.AccountProto.UpdateRequest.prototype.setCompany = function(value) {
2030
+ return jspb.Message.setProto3StringField(this, 5, value);
2031
+ };
2032
+
2033
+
2034
+
2035
+
2036
+
2037
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2038
+ /**
2039
+ * Creates an object representation of this proto.
2040
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2041
+ * Optional fields that are not set will be set to undefined.
2042
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2043
+ * For the list of reserved names please see:
2044
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2045
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2046
+ * JSPB instance for transitional soy proto support:
2047
+ * http://goto/soy-param-migration
2048
+ * @return {!Object}
2049
+ */
2050
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.toObject = function(opt_includeInstance) {
2051
+ return proto.Auth.AccountProto.ActivateAccountRequest.toObject(opt_includeInstance, this);
2052
+ };
2053
+
2054
+
2055
+ /**
2056
+ * Static version of the {@see toObject} method.
2057
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2058
+ * the JSPB instance for transitional soy proto support:
2059
+ * http://goto/soy-param-migration
2060
+ * @param {!proto.Auth.AccountProto.ActivateAccountRequest} msg The msg instance to transform.
2061
+ * @return {!Object}
2062
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2063
+ */
2064
+ proto.Auth.AccountProto.ActivateAccountRequest.toObject = function(includeInstance, msg) {
2065
+ var f, obj = {
2066
+ accountconfirmationtoken: jspb.Message.getFieldWithDefault(msg, 1, 0),
2067
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
2068
+ confirmpassword: jspb.Message.getFieldWithDefault(msg, 3, ""),
2069
+ email: jspb.Message.getFieldWithDefault(msg, 4, "")
2070
+ };
2071
+
2072
+ if (includeInstance) {
2073
+ obj.$jspbMessageInstance = msg;
2074
+ }
2075
+ return obj;
2076
+ };
2077
+ }
2078
+
2079
+
2080
+ /**
2081
+ * Deserializes binary data (in protobuf wire format).
2082
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2083
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest}
2084
+ */
2085
+ proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinary = function(bytes) {
2086
+ var reader = new jspb.BinaryReader(bytes);
2087
+ var msg = new proto.Auth.AccountProto.ActivateAccountRequest;
2088
+ return proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinaryFromReader(msg, reader);
2089
+ };
2090
+
2091
+
2092
+ /**
2093
+ * Deserializes binary data (in protobuf wire format) from the
2094
+ * given reader into the given message object.
2095
+ * @param {!proto.Auth.AccountProto.ActivateAccountRequest} msg The message object to deserialize into.
2096
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2097
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest}
2098
+ */
2099
+ proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
2100
+ while (reader.nextField()) {
2101
+ if (reader.isEndGroup()) {
2102
+ break;
2103
+ }
2104
+ var field = reader.getFieldNumber();
2105
+ switch (field) {
2106
+ case 1:
2107
+ var value = /** @type {number} */ (reader.readInt32());
2108
+ msg.setAccountconfirmationtoken(value);
2109
+ break;
2110
+ case 2:
2111
+ var value = /** @type {string} */ (reader.readString());
2112
+ msg.setPassword(value);
2113
+ break;
2114
+ case 3:
2115
+ var value = /** @type {string} */ (reader.readString());
2116
+ msg.setConfirmpassword(value);
2117
+ break;
2118
+ case 4:
2119
+ var value = /** @type {string} */ (reader.readString());
2120
+ msg.setEmail(value);
2121
+ break;
2122
+ default:
2123
+ reader.skipField();
2124
+ break;
2125
+ }
2126
+ }
2127
+ return msg;
2128
+ };
2129
+
2130
+
2131
+ /**
2132
+ * Serializes the message to binary data (in protobuf wire format).
2133
+ * @return {!Uint8Array}
2134
+ */
2135
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.serializeBinary = function() {
2136
+ var writer = new jspb.BinaryWriter();
2137
+ proto.Auth.AccountProto.ActivateAccountRequest.serializeBinaryToWriter(this, writer);
2138
+ return writer.getResultBuffer();
2139
+ };
2140
+
2141
+
2142
+ /**
2143
+ * Serializes the given message to binary data (in protobuf wire
2144
+ * format), writing to the given BinaryWriter.
2145
+ * @param {!proto.Auth.AccountProto.ActivateAccountRequest} message
2146
+ * @param {!jspb.BinaryWriter} writer
2147
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2148
+ */
2149
+ proto.Auth.AccountProto.ActivateAccountRequest.serializeBinaryToWriter = function(message, writer) {
2150
+ var f = undefined;
2151
+ f = message.getAccountconfirmationtoken();
2152
+ if (f !== 0) {
2153
+ writer.writeInt32(
2154
+ 1,
2155
+ f
2156
+ );
2157
+ }
2158
+ f = message.getPassword();
2159
+ if (f.length > 0) {
2160
+ writer.writeString(
2161
+ 2,
2162
+ f
2163
+ );
2164
+ }
2165
+ f = message.getConfirmpassword();
2166
+ if (f.length > 0) {
2167
+ writer.writeString(
2168
+ 3,
2169
+ f
2170
+ );
2171
+ }
2172
+ f = message.getEmail();
2173
+ if (f.length > 0) {
2174
+ writer.writeString(
2175
+ 4,
2176
+ f
2177
+ );
2178
+ }
2179
+ };
2180
+
2181
+
2182
+ /**
2183
+ * optional int32 accountConfirmationToken = 1;
2184
+ * @return {number}
2185
+ */
2186
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.getAccountconfirmationtoken = function() {
2187
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2188
+ };
2189
+
2190
+
2191
+ /**
2192
+ * @param {number} value
2193
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
2194
+ */
2195
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.setAccountconfirmationtoken = function(value) {
2196
+ return jspb.Message.setProto3IntField(this, 1, value);
2197
+ };
2198
+
2199
+
2200
+ /**
2201
+ * optional string password = 2;
2202
+ * @return {string}
2203
+ */
2204
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.getPassword = function() {
2205
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2206
+ };
2207
+
2208
+
2209
+ /**
2210
+ * @param {string} value
2211
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
2212
+ */
2213
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.setPassword = function(value) {
2214
+ return jspb.Message.setProto3StringField(this, 2, value);
2215
+ };
2216
+
2217
+
2218
+ /**
2219
+ * optional string confirmPassword = 3;
2220
+ * @return {string}
2221
+ */
2222
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.getConfirmpassword = function() {
2223
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2224
+ };
2225
+
2226
+
2227
+ /**
2228
+ * @param {string} value
2229
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
2230
+ */
2231
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.setConfirmpassword = function(value) {
2232
+ return jspb.Message.setProto3StringField(this, 3, value);
2233
+ };
2234
+
2235
+
2236
+ /**
2237
+ * optional string email = 4;
2238
+ * @return {string}
2239
+ */
2240
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.getEmail = function() {
2241
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2242
+ };
2243
+
2244
+
2245
+ /**
2246
+ * @param {string} value
2247
+ * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
2248
+ */
2249
+ proto.Auth.AccountProto.ActivateAccountRequest.prototype.setEmail = function(value) {
2250
+ return jspb.Message.setProto3StringField(this, 4, value);
2251
+ };
2252
+
2253
+
2254
+
2255
+
2256
+
2257
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2258
+ /**
2259
+ * Creates an object representation of this proto.
2260
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2261
+ * Optional fields that are not set will be set to undefined.
2262
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2263
+ * For the list of reserved names please see:
2264
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2265
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2266
+ * JSPB instance for transitional soy proto support:
2267
+ * http://goto/soy-param-migration
2268
+ * @return {!Object}
2269
+ */
2270
+ proto.Auth.AccountProto.ForgotPasswordRequest.prototype.toObject = function(opt_includeInstance) {
2271
+ return proto.Auth.AccountProto.ForgotPasswordRequest.toObject(opt_includeInstance, this);
2272
+ };
2273
+
2274
+
2275
+ /**
2276
+ * Static version of the {@see toObject} method.
2277
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2278
+ * the JSPB instance for transitional soy proto support:
2279
+ * http://goto/soy-param-migration
2280
+ * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} msg The msg instance to transform.
2281
+ * @return {!Object}
2282
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2283
+ */
2284
+ proto.Auth.AccountProto.ForgotPasswordRequest.toObject = function(includeInstance, msg) {
2285
+ var f, obj = {
2286
+ email: jspb.Message.getFieldWithDefault(msg, 1, "")
2287
+ };
2288
+
2289
+ if (includeInstance) {
2290
+ obj.$jspbMessageInstance = msg;
2291
+ }
2292
+ return obj;
2293
+ };
2294
+ }
2295
+
2296
+
2297
+ /**
2298
+ * Deserializes binary data (in protobuf wire format).
2299
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2300
+ * @return {!proto.Auth.AccountProto.ForgotPasswordRequest}
2301
+ */
2302
+ proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinary = function(bytes) {
2303
+ var reader = new jspb.BinaryReader(bytes);
2304
+ var msg = new proto.Auth.AccountProto.ForgotPasswordRequest;
2305
+ return proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinaryFromReader(msg, reader);
2306
+ };
2307
+
2308
+
2309
+ /**
2310
+ * Deserializes binary data (in protobuf wire format) from the
2311
+ * given reader into the given message object.
2312
+ * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} msg The message object to deserialize into.
2313
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2314
+ * @return {!proto.Auth.AccountProto.ForgotPasswordRequest}
2315
+ */
2316
+ proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
2317
+ while (reader.nextField()) {
2318
+ if (reader.isEndGroup()) {
2319
+ break;
2320
+ }
2321
+ var field = reader.getFieldNumber();
2322
+ switch (field) {
2323
+ case 1:
2324
+ var value = /** @type {string} */ (reader.readString());
2325
+ msg.setEmail(value);
2326
+ break;
2327
+ default:
2328
+ reader.skipField();
2329
+ break;
2330
+ }
2331
+ }
2332
+ return msg;
2333
+ };
2334
+
2335
+
2336
+ /**
2337
+ * Serializes the message to binary data (in protobuf wire format).
2338
+ * @return {!Uint8Array}
2339
+ */
2340
+ proto.Auth.AccountProto.ForgotPasswordRequest.prototype.serializeBinary = function() {
2341
+ var writer = new jspb.BinaryWriter();
2342
+ proto.Auth.AccountProto.ForgotPasswordRequest.serializeBinaryToWriter(this, writer);
2343
+ return writer.getResultBuffer();
2344
+ };
2345
+
2346
+
2347
+ /**
2348
+ * Serializes the given message to binary data (in protobuf wire
2349
+ * format), writing to the given BinaryWriter.
2350
+ * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} message
2351
+ * @param {!jspb.BinaryWriter} writer
2352
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2353
+ */
2354
+ proto.Auth.AccountProto.ForgotPasswordRequest.serializeBinaryToWriter = function(message, writer) {
2355
+ var f = undefined;
2356
+ f = message.getEmail();
2357
+ if (f.length > 0) {
2358
+ writer.writeString(
2359
+ 1,
2360
+ f
2361
+ );
2362
+ }
2363
+ };
2364
+
2365
+
2366
+ /**
2367
+ * optional string email = 1;
2368
+ * @return {string}
2369
+ */
2370
+ proto.Auth.AccountProto.ForgotPasswordRequest.prototype.getEmail = function() {
2371
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2372
+ };
2373
+
2374
+
2375
+ /**
2376
+ * @param {string} value
2377
+ * @return {!proto.Auth.AccountProto.ForgotPasswordRequest} returns this
2378
+ */
2379
+ proto.Auth.AccountProto.ForgotPasswordRequest.prototype.setEmail = function(value) {
2380
+ return jspb.Message.setProto3StringField(this, 1, value);
2381
+ };
2382
+
2383
+
2384
+
2385
+
2386
+
2387
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2388
+ /**
2389
+ * Creates an object representation of this proto.
2390
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2391
+ * Optional fields that are not set will be set to undefined.
2392
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2393
+ * For the list of reserved names please see:
2394
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2395
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2396
+ * JSPB instance for transitional soy proto support:
2397
+ * http://goto/soy-param-migration
2398
+ * @return {!Object}
2399
+ */
2400
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.toObject = function(opt_includeInstance) {
2401
+ return proto.Auth.AccountProto.ResetPasswordRequest.toObject(opt_includeInstance, this);
2402
+ };
2403
+
2404
+
2405
+ /**
2406
+ * Static version of the {@see toObject} method.
2407
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2408
+ * the JSPB instance for transitional soy proto support:
2409
+ * http://goto/soy-param-migration
2410
+ * @param {!proto.Auth.AccountProto.ResetPasswordRequest} msg The msg instance to transform.
2411
+ * @return {!Object}
2412
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2413
+ */
2414
+ proto.Auth.AccountProto.ResetPasswordRequest.toObject = function(includeInstance, msg) {
2415
+ var f, obj = {
2416
+ accountconfirmationtoken: jspb.Message.getFieldWithDefault(msg, 1, 0),
2417
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
2418
+ confirmpassword: jspb.Message.getFieldWithDefault(msg, 3, ""),
2419
+ email: jspb.Message.getFieldWithDefault(msg, 4, "")
2420
+ };
2421
+
2422
+ if (includeInstance) {
2423
+ obj.$jspbMessageInstance = msg;
2424
+ }
2425
+ return obj;
2426
+ };
2427
+ }
2428
+
2429
+
2430
+ /**
2431
+ * Deserializes binary data (in protobuf wire format).
2432
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2433
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest}
2434
+ */
2435
+ proto.Auth.AccountProto.ResetPasswordRequest.deserializeBinary = function(bytes) {
2436
+ var reader = new jspb.BinaryReader(bytes);
2437
+ var msg = new proto.Auth.AccountProto.ResetPasswordRequest;
2438
+ return proto.Auth.AccountProto.ResetPasswordRequest.deserializeBinaryFromReader(msg, reader);
2439
+ };
2440
+
2441
+
2442
+ /**
2443
+ * Deserializes binary data (in protobuf wire format) from the
2444
+ * given reader into the given message object.
2445
+ * @param {!proto.Auth.AccountProto.ResetPasswordRequest} msg The message object to deserialize into.
2446
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2447
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest}
2448
+ */
2449
+ proto.Auth.AccountProto.ResetPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
2450
+ while (reader.nextField()) {
2451
+ if (reader.isEndGroup()) {
2452
+ break;
2453
+ }
2454
+ var field = reader.getFieldNumber();
2455
+ switch (field) {
2456
+ case 1:
2457
+ var value = /** @type {number} */ (reader.readInt32());
2458
+ msg.setAccountconfirmationtoken(value);
2459
+ break;
2460
+ case 2:
2461
+ var value = /** @type {string} */ (reader.readString());
2462
+ msg.setPassword(value);
2463
+ break;
2464
+ case 3:
2465
+ var value = /** @type {string} */ (reader.readString());
2466
+ msg.setConfirmpassword(value);
2467
+ break;
2468
+ case 4:
2469
+ var value = /** @type {string} */ (reader.readString());
2470
+ msg.setEmail(value);
2471
+ break;
2472
+ default:
2473
+ reader.skipField();
2474
+ break;
2475
+ }
2476
+ }
2477
+ return msg;
2478
+ };
2479
+
2480
+
2481
+ /**
2482
+ * Serializes the message to binary data (in protobuf wire format).
2483
+ * @return {!Uint8Array}
2484
+ */
2485
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.serializeBinary = function() {
2486
+ var writer = new jspb.BinaryWriter();
2487
+ proto.Auth.AccountProto.ResetPasswordRequest.serializeBinaryToWriter(this, writer);
2488
+ return writer.getResultBuffer();
2489
+ };
2490
+
2491
+
2492
+ /**
2493
+ * Serializes the given message to binary data (in protobuf wire
2494
+ * format), writing to the given BinaryWriter.
2495
+ * @param {!proto.Auth.AccountProto.ResetPasswordRequest} message
2496
+ * @param {!jspb.BinaryWriter} writer
2497
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2498
+ */
2499
+ proto.Auth.AccountProto.ResetPasswordRequest.serializeBinaryToWriter = function(message, writer) {
2500
+ var f = undefined;
2501
+ f = message.getAccountconfirmationtoken();
2502
+ if (f !== 0) {
2503
+ writer.writeInt32(
2504
+ 1,
2505
+ f
2506
+ );
2507
+ }
2508
+ f = message.getPassword();
2509
+ if (f.length > 0) {
2510
+ writer.writeString(
2511
+ 2,
2512
+ f
2513
+ );
2514
+ }
2515
+ f = message.getConfirmpassword();
2516
+ if (f.length > 0) {
2517
+ writer.writeString(
2518
+ 3,
2519
+ f
2520
+ );
2521
+ }
2522
+ f = message.getEmail();
2523
+ if (f.length > 0) {
2524
+ writer.writeString(
2525
+ 4,
2526
+ f
2527
+ );
2528
+ }
2529
+ };
2530
+
2531
+
2532
+ /**
2533
+ * optional int32 accountConfirmationToken = 1;
2534
+ * @return {number}
2535
+ */
2536
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.getAccountconfirmationtoken = function() {
2537
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2538
+ };
2539
+
2540
+
2541
+ /**
2542
+ * @param {number} value
2543
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest} returns this
2544
+ */
2545
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.setAccountconfirmationtoken = function(value) {
2546
+ return jspb.Message.setProto3IntField(this, 1, value);
2547
+ };
2548
+
2549
+
2550
+ /**
2551
+ * optional string password = 2;
2552
+ * @return {string}
2553
+ */
2554
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.getPassword = function() {
2555
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2556
+ };
2557
+
2558
+
2559
+ /**
2560
+ * @param {string} value
2561
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest} returns this
2562
+ */
2563
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.setPassword = function(value) {
2564
+ return jspb.Message.setProto3StringField(this, 2, value);
2565
+ };
2566
+
2567
+
2568
+ /**
2569
+ * optional string confirmPassword = 3;
2570
+ * @return {string}
2571
+ */
2572
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.getConfirmpassword = function() {
2573
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2574
+ };
2575
+
2576
+
2577
+ /**
2578
+ * @param {string} value
2579
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest} returns this
2580
+ */
2581
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.setConfirmpassword = function(value) {
2582
+ return jspb.Message.setProto3StringField(this, 3, value);
2583
+ };
2584
+
2585
+
2586
+ /**
2587
+ * optional string email = 4;
2588
+ * @return {string}
2589
+ */
2590
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.getEmail = function() {
2591
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2592
+ };
2593
+
2594
+
2595
+ /**
2596
+ * @param {string} value
2597
+ * @return {!proto.Auth.AccountProto.ResetPasswordRequest} returns this
2598
+ */
2599
+ proto.Auth.AccountProto.ResetPasswordRequest.prototype.setEmail = function(value) {
2600
+ return jspb.Message.setProto3StringField(this, 4, value);
2601
+ };
2602
+
2603
+
2604
+
2605
+
2606
+
2607
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2608
+ /**
2609
+ * Creates an object representation of this proto.
2610
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2611
+ * Optional fields that are not set will be set to undefined.
2612
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2613
+ * For the list of reserved names please see:
2614
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2615
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2616
+ * JSPB instance for transitional soy proto support:
2617
+ * http://goto/soy-param-migration
2618
+ * @return {!Object}
2619
+ */
2620
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
2621
+ return proto.Auth.AccountProto.ChangePasswordRequest.toObject(opt_includeInstance, this);
2622
+ };
2623
+
2624
+
2625
+ /**
2626
+ * Static version of the {@see toObject} method.
2627
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2628
+ * the JSPB instance for transitional soy proto support:
2629
+ * http://goto/soy-param-migration
2630
+ * @param {!proto.Auth.AccountProto.ChangePasswordRequest} msg The msg instance to transform.
2631
+ * @return {!Object}
2632
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2633
+ */
2634
+ proto.Auth.AccountProto.ChangePasswordRequest.toObject = function(includeInstance, msg) {
2635
+ var f, obj = {
2636
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2637
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
2638
+ confirmpassword: jspb.Message.getFieldWithDefault(msg, 3, ""),
2639
+ oldpassword: jspb.Message.getFieldWithDefault(msg, 4, "")
2640
+ };
2641
+
2642
+ if (includeInstance) {
2643
+ obj.$jspbMessageInstance = msg;
2644
+ }
2645
+ return obj;
2646
+ };
2647
+ }
2648
+
2649
+
2650
+ /**
2651
+ * Deserializes binary data (in protobuf wire format).
2652
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2653
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest}
2654
+ */
2655
+ proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinary = function(bytes) {
2656
+ var reader = new jspb.BinaryReader(bytes);
2657
+ var msg = new proto.Auth.AccountProto.ChangePasswordRequest;
2658
+ return proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinaryFromReader(msg, reader);
2659
+ };
2660
+
2661
+
2662
+ /**
2663
+ * Deserializes binary data (in protobuf wire format) from the
2664
+ * given reader into the given message object.
2665
+ * @param {!proto.Auth.AccountProto.ChangePasswordRequest} msg The message object to deserialize into.
2666
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2667
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest}
2668
+ */
2669
+ proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
2670
+ while (reader.nextField()) {
2671
+ if (reader.isEndGroup()) {
2672
+ break;
2673
+ }
2674
+ var field = reader.getFieldNumber();
2675
+ switch (field) {
2676
+ case 1:
2677
+ var value = /** @type {number} */ (reader.readInt64());
2678
+ msg.setId(value);
2679
+ break;
2680
+ case 2:
2681
+ var value = /** @type {string} */ (reader.readString());
2682
+ msg.setPassword(value);
2683
+ break;
2684
+ case 3:
2685
+ var value = /** @type {string} */ (reader.readString());
2686
+ msg.setConfirmpassword(value);
2687
+ break;
2688
+ case 4:
2689
+ var value = /** @type {string} */ (reader.readString());
2690
+ msg.setOldpassword(value);
2691
+ break;
2692
+ default:
2693
+ reader.skipField();
2694
+ break;
2695
+ }
2696
+ }
2697
+ return msg;
2698
+ };
2699
+
2700
+
2701
+ /**
2702
+ * Serializes the message to binary data (in protobuf wire format).
2703
+ * @return {!Uint8Array}
2704
+ */
2705
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.serializeBinary = function() {
2706
+ var writer = new jspb.BinaryWriter();
2707
+ proto.Auth.AccountProto.ChangePasswordRequest.serializeBinaryToWriter(this, writer);
2708
+ return writer.getResultBuffer();
2709
+ };
2710
+
2711
+
2712
+ /**
2713
+ * Serializes the given message to binary data (in protobuf wire
2714
+ * format), writing to the given BinaryWriter.
2715
+ * @param {!proto.Auth.AccountProto.ChangePasswordRequest} message
2716
+ * @param {!jspb.BinaryWriter} writer
2717
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2718
+ */
2719
+ proto.Auth.AccountProto.ChangePasswordRequest.serializeBinaryToWriter = function(message, writer) {
2720
+ var f = undefined;
2721
+ f = message.getId();
2722
+ if (f !== 0) {
2723
+ writer.writeInt64(
2724
+ 1,
2725
+ f
2726
+ );
2727
+ }
2728
+ f = message.getPassword();
2729
+ if (f.length > 0) {
2730
+ writer.writeString(
2731
+ 2,
2732
+ f
2733
+ );
2734
+ }
2735
+ f = message.getConfirmpassword();
2736
+ if (f.length > 0) {
2737
+ writer.writeString(
2738
+ 3,
2739
+ f
2740
+ );
2741
+ }
2742
+ f = message.getOldpassword();
2743
+ if (f.length > 0) {
2744
+ writer.writeString(
2745
+ 4,
2746
+ f
2747
+ );
2748
+ }
2749
+ };
2750
+
2751
+
2752
+ /**
2753
+ * optional int64 id = 1;
2754
+ * @return {number}
2755
+ */
2756
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.getId = function() {
2757
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2758
+ };
2759
+
2760
+
2761
+ /**
2762
+ * @param {number} value
2763
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
2764
+ */
2765
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.setId = function(value) {
2766
+ return jspb.Message.setProto3IntField(this, 1, value);
2767
+ };
2768
+
2769
+
2770
+ /**
2771
+ * optional string password = 2;
2772
+ * @return {string}
2773
+ */
2774
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.getPassword = function() {
2775
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2776
+ };
2777
+
2778
+
2779
+ /**
2780
+ * @param {string} value
2781
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
2782
+ */
2783
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.setPassword = function(value) {
2784
+ return jspb.Message.setProto3StringField(this, 2, value);
2785
+ };
2786
+
2787
+
2788
+ /**
2789
+ * optional string confirmPassword = 3;
2790
+ * @return {string}
2791
+ */
2792
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.getConfirmpassword = function() {
2793
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2794
+ };
2795
+
2796
+
2797
+ /**
2798
+ * @param {string} value
2799
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
2800
+ */
2801
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.setConfirmpassword = function(value) {
2802
+ return jspb.Message.setProto3StringField(this, 3, value);
2803
+ };
2804
+
2805
+
2806
+ /**
2807
+ * optional string oldPassword = 4;
2808
+ * @return {string}
2809
+ */
2810
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.getOldpassword = function() {
2811
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2812
+ };
2813
+
2814
+
2815
+ /**
2816
+ * @param {string} value
2817
+ * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
2818
+ */
2819
+ proto.Auth.AccountProto.ChangePasswordRequest.prototype.setOldpassword = function(value) {
2820
+ return jspb.Message.setProto3StringField(this, 4, value);
2821
+ };
2822
+
2823
+
2824
+
2825
+
2826
+
2827
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2828
+ /**
2829
+ * Creates an object representation of this proto.
2830
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2831
+ * Optional fields that are not set will be set to undefined.
2832
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2833
+ * For the list of reserved names please see:
2834
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2835
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2836
+ * JSPB instance for transitional soy proto support:
2837
+ * http://goto/soy-param-migration
2838
+ * @return {!Object}
2839
+ */
2840
+ proto.Auth.AccountProto.ChangePasswordReply.prototype.toObject = function(opt_includeInstance) {
2841
+ return proto.Auth.AccountProto.ChangePasswordReply.toObject(opt_includeInstance, this);
2842
+ };
2843
+
2844
+
2845
+ /**
2846
+ * Static version of the {@see toObject} method.
2847
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2848
+ * the JSPB instance for transitional soy proto support:
2849
+ * http://goto/soy-param-migration
2850
+ * @param {!proto.Auth.AccountProto.ChangePasswordReply} msg The msg instance to transform.
2851
+ * @return {!Object}
2852
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2853
+ */
2854
+ proto.Auth.AccountProto.ChangePasswordReply.toObject = function(includeInstance, msg) {
2855
+ var f, obj = {
2856
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2857
+ };
2858
+
2859
+ if (includeInstance) {
2860
+ obj.$jspbMessageInstance = msg;
2861
+ }
2862
+ return obj;
2863
+ };
2864
+ }
2865
+
2866
+
2867
+ /**
2868
+ * Deserializes binary data (in protobuf wire format).
2869
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2870
+ * @return {!proto.Auth.AccountProto.ChangePasswordReply}
2871
+ */
2872
+ proto.Auth.AccountProto.ChangePasswordReply.deserializeBinary = function(bytes) {
2873
+ var reader = new jspb.BinaryReader(bytes);
2874
+ var msg = new proto.Auth.AccountProto.ChangePasswordReply;
2875
+ return proto.Auth.AccountProto.ChangePasswordReply.deserializeBinaryFromReader(msg, reader);
2876
+ };
2877
+
2878
+
2879
+ /**
2880
+ * Deserializes binary data (in protobuf wire format) from the
2881
+ * given reader into the given message object.
2882
+ * @param {!proto.Auth.AccountProto.ChangePasswordReply} msg The message object to deserialize into.
2883
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2884
+ * @return {!proto.Auth.AccountProto.ChangePasswordReply}
2885
+ */
2886
+ proto.Auth.AccountProto.ChangePasswordReply.deserializeBinaryFromReader = function(msg, reader) {
2887
+ while (reader.nextField()) {
2888
+ if (reader.isEndGroup()) {
2889
+ break;
2890
+ }
2891
+ var field = reader.getFieldNumber();
2892
+ switch (field) {
2893
+ case 1:
2894
+ var value = /** @type {number} */ (reader.readInt64());
2895
+ msg.setId(value);
2896
+ break;
2897
+ default:
2898
+ reader.skipField();
2899
+ break;
2900
+ }
2901
+ }
2902
+ return msg;
2903
+ };
2904
+
2905
+
2906
+ /**
2907
+ * Serializes the message to binary data (in protobuf wire format).
2908
+ * @return {!Uint8Array}
2909
+ */
2910
+ proto.Auth.AccountProto.ChangePasswordReply.prototype.serializeBinary = function() {
2911
+ var writer = new jspb.BinaryWriter();
2912
+ proto.Auth.AccountProto.ChangePasswordReply.serializeBinaryToWriter(this, writer);
2913
+ return writer.getResultBuffer();
2914
+ };
2915
+
2916
+
2917
+ /**
2918
+ * Serializes the given message to binary data (in protobuf wire
2919
+ * format), writing to the given BinaryWriter.
2920
+ * @param {!proto.Auth.AccountProto.ChangePasswordReply} message
2921
+ * @param {!jspb.BinaryWriter} writer
2922
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2923
+ */
2924
+ proto.Auth.AccountProto.ChangePasswordReply.serializeBinaryToWriter = function(message, writer) {
2925
+ var f = undefined;
2926
+ f = message.getId();
2927
+ if (f !== 0) {
2928
+ writer.writeInt64(
2929
+ 1,
2930
+ f
2931
+ );
2932
+ }
2933
+ };
2934
+
2935
+
2936
+ /**
2937
+ * optional int64 id = 1;
2938
+ * @return {number}
2939
+ */
2940
+ proto.Auth.AccountProto.ChangePasswordReply.prototype.getId = function() {
2941
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2942
+ };
2943
+
2944
+
2945
+ /**
2946
+ * @param {number} value
2947
+ * @return {!proto.Auth.AccountProto.ChangePasswordReply} returns this
2948
+ */
2949
+ proto.Auth.AccountProto.ChangePasswordReply.prototype.setId = function(value) {
2950
+ return jspb.Message.setProto3IntField(this, 1, value);
2951
+ };
2952
+
2953
+
2954
+
2955
+
2956
+
2957
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2958
+ /**
2959
+ * Creates an object representation of this proto.
2960
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2961
+ * Optional fields that are not set will be set to undefined.
2962
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2963
+ * For the list of reserved names please see:
2964
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2965
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2966
+ * JSPB instance for transitional soy proto support:
2967
+ * http://goto/soy-param-migration
2968
+ * @return {!Object}
2969
+ */
2970
+ proto.Auth.AccountProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
2971
+ return proto.Auth.AccountProto.DeleteRequest.toObject(opt_includeInstance, this);
2972
+ };
2973
+
2974
+
2975
+ /**
2976
+ * Static version of the {@see toObject} method.
2977
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2978
+ * the JSPB instance for transitional soy proto support:
2979
+ * http://goto/soy-param-migration
2980
+ * @param {!proto.Auth.AccountProto.DeleteRequest} msg The msg instance to transform.
2981
+ * @return {!Object}
2982
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2983
+ */
2984
+ proto.Auth.AccountProto.DeleteRequest.toObject = function(includeInstance, msg) {
2985
+ var f, obj = {
2986
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2987
+ };
2988
+
2989
+ if (includeInstance) {
2990
+ obj.$jspbMessageInstance = msg;
2991
+ }
2992
+ return obj;
2993
+ };
2994
+ }
2995
+
2996
+
2997
+ /**
2998
+ * Deserializes binary data (in protobuf wire format).
2999
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3000
+ * @return {!proto.Auth.AccountProto.DeleteRequest}
3001
+ */
3002
+ proto.Auth.AccountProto.DeleteRequest.deserializeBinary = function(bytes) {
3003
+ var reader = new jspb.BinaryReader(bytes);
3004
+ var msg = new proto.Auth.AccountProto.DeleteRequest;
3005
+ return proto.Auth.AccountProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
3006
+ };
3007
+
3008
+
3009
+ /**
3010
+ * Deserializes binary data (in protobuf wire format) from the
3011
+ * given reader into the given message object.
3012
+ * @param {!proto.Auth.AccountProto.DeleteRequest} msg The message object to deserialize into.
3013
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3014
+ * @return {!proto.Auth.AccountProto.DeleteRequest}
3015
+ */
3016
+ proto.Auth.AccountProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
3017
+ while (reader.nextField()) {
3018
+ if (reader.isEndGroup()) {
3019
+ break;
3020
+ }
3021
+ var field = reader.getFieldNumber();
3022
+ switch (field) {
3023
+ case 1:
3024
+ var value = /** @type {number} */ (reader.readInt64());
3025
+ msg.setId(value);
3026
+ break;
3027
+ default:
3028
+ reader.skipField();
3029
+ break;
3030
+ }
3031
+ }
3032
+ return msg;
3033
+ };
3034
+
3035
+
3036
+ /**
3037
+ * Serializes the message to binary data (in protobuf wire format).
3038
+ * @return {!Uint8Array}
3039
+ */
3040
+ proto.Auth.AccountProto.DeleteRequest.prototype.serializeBinary = function() {
3041
+ var writer = new jspb.BinaryWriter();
3042
+ proto.Auth.AccountProto.DeleteRequest.serializeBinaryToWriter(this, writer);
3043
+ return writer.getResultBuffer();
3044
+ };
3045
+
3046
+
3047
+ /**
3048
+ * Serializes the given message to binary data (in protobuf wire
3049
+ * format), writing to the given BinaryWriter.
3050
+ * @param {!proto.Auth.AccountProto.DeleteRequest} message
3051
+ * @param {!jspb.BinaryWriter} writer
3052
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3053
+ */
3054
+ proto.Auth.AccountProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
3055
+ var f = undefined;
3056
+ f = message.getId();
3057
+ if (f !== 0) {
3058
+ writer.writeInt64(
3059
+ 1,
3060
+ f
3061
+ );
3062
+ }
3063
+ };
3064
+
3065
+
3066
+ /**
3067
+ * optional int64 id = 1;
3068
+ * @return {number}
3069
+ */
3070
+ proto.Auth.AccountProto.DeleteRequest.prototype.getId = function() {
3071
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3072
+ };
3073
+
3074
+
3075
+ /**
3076
+ * @param {number} value
3077
+ * @return {!proto.Auth.AccountProto.DeleteRequest} returns this
3078
+ */
3079
+ proto.Auth.AccountProto.DeleteRequest.prototype.setId = function(value) {
3080
+ return jspb.Message.setProto3IntField(this, 1, value);
3081
+ };
3082
+
3083
+
3084
+
3085
+
3086
+
3087
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3088
+ /**
3089
+ * Creates an object representation of this proto.
3090
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3091
+ * Optional fields that are not set will be set to undefined.
3092
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3093
+ * For the list of reserved names please see:
3094
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3095
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3096
+ * JSPB instance for transitional soy proto support:
3097
+ * http://goto/soy-param-migration
3098
+ * @return {!Object}
3099
+ */
3100
+ proto.Auth.AccountProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
3101
+ return proto.Auth.AccountProto.DeleteReply.toObject(opt_includeInstance, this);
3102
+ };
3103
+
3104
+
3105
+ /**
3106
+ * Static version of the {@see toObject} method.
3107
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3108
+ * the JSPB instance for transitional soy proto support:
3109
+ * http://goto/soy-param-migration
3110
+ * @param {!proto.Auth.AccountProto.DeleteReply} msg The msg instance to transform.
3111
+ * @return {!Object}
3112
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3113
+ */
3114
+ proto.Auth.AccountProto.DeleteReply.toObject = function(includeInstance, msg) {
3115
+ var f, obj = {
3116
+
3117
+ };
3118
+
3119
+ if (includeInstance) {
3120
+ obj.$jspbMessageInstance = msg;
3121
+ }
3122
+ return obj;
3123
+ };
3124
+ }
3125
+
3126
+
3127
+ /**
3128
+ * Deserializes binary data (in protobuf wire format).
3129
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3130
+ * @return {!proto.Auth.AccountProto.DeleteReply}
3131
+ */
3132
+ proto.Auth.AccountProto.DeleteReply.deserializeBinary = function(bytes) {
3133
+ var reader = new jspb.BinaryReader(bytes);
3134
+ var msg = new proto.Auth.AccountProto.DeleteReply;
3135
+ return proto.Auth.AccountProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
3136
+ };
3137
+
3138
+
3139
+ /**
3140
+ * Deserializes binary data (in protobuf wire format) from the
3141
+ * given reader into the given message object.
3142
+ * @param {!proto.Auth.AccountProto.DeleteReply} msg The message object to deserialize into.
3143
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3144
+ * @return {!proto.Auth.AccountProto.DeleteReply}
3145
+ */
3146
+ proto.Auth.AccountProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
3147
+ while (reader.nextField()) {
3148
+ if (reader.isEndGroup()) {
3149
+ break;
3150
+ }
3151
+ var field = reader.getFieldNumber();
3152
+ switch (field) {
3153
+ default:
3154
+ reader.skipField();
3155
+ break;
3156
+ }
3157
+ }
3158
+ return msg;
3159
+ };
3160
+
3161
+
3162
+ /**
3163
+ * Serializes the message to binary data (in protobuf wire format).
3164
+ * @return {!Uint8Array}
3165
+ */
3166
+ proto.Auth.AccountProto.DeleteReply.prototype.serializeBinary = function() {
3167
+ var writer = new jspb.BinaryWriter();
3168
+ proto.Auth.AccountProto.DeleteReply.serializeBinaryToWriter(this, writer);
3169
+ return writer.getResultBuffer();
3170
+ };
3171
+
3172
+
3173
+ /**
3174
+ * Serializes the given message to binary data (in protobuf wire
3175
+ * format), writing to the given BinaryWriter.
3176
+ * @param {!proto.Auth.AccountProto.DeleteReply} message
3177
+ * @param {!jspb.BinaryWriter} writer
3178
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3179
+ */
3180
+ proto.Auth.AccountProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
3181
+ var f = undefined;
3182
+ };
3183
+
3184
+
3185
+
3186
+
3187
+
3188
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3189
+ /**
3190
+ * Creates an object representation of this proto.
3191
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3192
+ * Optional fields that are not set will be set to undefined.
3193
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3194
+ * For the list of reserved names please see:
3195
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3196
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3197
+ * JSPB instance for transitional soy proto support:
3198
+ * http://goto/soy-param-migration
3199
+ * @return {!Object}
3200
+ */
3201
+ proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.toObject = function(opt_includeInstance) {
3202
+ return proto.Auth.AccountProto.RetrievePushInfoRequest.toObject(opt_includeInstance, this);
3203
+ };
3204
+
3205
+
3206
+ /**
3207
+ * Static version of the {@see toObject} method.
3208
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3209
+ * the JSPB instance for transitional soy proto support:
3210
+ * http://goto/soy-param-migration
3211
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The msg instance to transform.
3212
+ * @return {!Object}
3213
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3214
+ */
3215
+ proto.Auth.AccountProto.RetrievePushInfoRequest.toObject = function(includeInstance, msg) {
3216
+ var f, obj = {
3217
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
3218
+ };
3219
+
3220
+ if (includeInstance) {
3221
+ obj.$jspbMessageInstance = msg;
3222
+ }
3223
+ return obj;
3224
+ };
3225
+ }
3226
+
3227
+
3228
+ /**
3229
+ * Deserializes binary data (in protobuf wire format).
3230
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3231
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
3232
+ */
3233
+ proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinary = function(bytes) {
3234
+ var reader = new jspb.BinaryReader(bytes);
3235
+ var msg = new proto.Auth.AccountProto.RetrievePushInfoRequest;
3236
+ return proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader(msg, reader);
3237
+ };
3238
+
3239
+
3240
+ /**
3241
+ * Deserializes binary data (in protobuf wire format) from the
3242
+ * given reader into the given message object.
3243
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The message object to deserialize into.
3244
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3245
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
3246
+ */
3247
+ proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
3248
+ while (reader.nextField()) {
3249
+ if (reader.isEndGroup()) {
3250
+ break;
3251
+ }
3252
+ var field = reader.getFieldNumber();
3253
+ switch (field) {
3254
+ case 1:
3255
+ var value = /** @type {number} */ (reader.readInt64());
3256
+ msg.setId(value);
3257
+ break;
3258
+ default:
3259
+ reader.skipField();
3260
+ break;
3261
+ }
3262
+ }
3263
+ return msg;
3264
+ };
3265
+
3266
+
3267
+ /**
3268
+ * Serializes the message to binary data (in protobuf wire format).
3269
+ * @return {!Uint8Array}
3270
+ */
3271
+ proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.serializeBinary = function() {
3272
+ var writer = new jspb.BinaryWriter();
3273
+ proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter(this, writer);
3274
+ return writer.getResultBuffer();
3275
+ };
3276
+
3277
+
3278
+ /**
3279
+ * Serializes the given message to binary data (in protobuf wire
3280
+ * format), writing to the given BinaryWriter.
3281
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} message
3282
+ * @param {!jspb.BinaryWriter} writer
3283
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3284
+ */
3285
+ proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter = function(message, writer) {
3286
+ var f = undefined;
3287
+ f = message.getId();
3288
+ if (f !== 0) {
3289
+ writer.writeInt64(
3290
+ 1,
3291
+ f
3292
+ );
3293
+ }
3294
+ };
3295
+
3296
+
3297
+ /**
3298
+ * optional int64 id = 1;
3299
+ * @return {number}
3300
+ */
3301
+ proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.getId = function() {
3302
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3303
+ };
3304
+
3305
+
3306
+ /**
3307
+ * @param {number} value
3308
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest} returns this
3309
+ */
3310
+ proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.setId = function(value) {
3311
+ return jspb.Message.setProto3IntField(this, 1, value);
3312
+ };
3313
+
3314
+
3315
+
3316
+
3317
+
3318
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3319
+ /**
3320
+ * Creates an object representation of this proto.
3321
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3322
+ * Optional fields that are not set will be set to undefined.
3323
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3324
+ * For the list of reserved names please see:
3325
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3326
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3327
+ * JSPB instance for transitional soy proto support:
3328
+ * http://goto/soy-param-migration
3329
+ * @return {!Object}
3330
+ */
3331
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.toObject = function(opt_includeInstance) {
3332
+ return proto.Auth.AccountProto.RetrievePushInfoReply.toObject(opt_includeInstance, this);
3333
+ };
3334
+
3335
+
3336
+ /**
3337
+ * Static version of the {@see toObject} method.
3338
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3339
+ * the JSPB instance for transitional soy proto support:
3340
+ * http://goto/soy-param-migration
3341
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The msg instance to transform.
3342
+ * @return {!Object}
3343
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3344
+ */
3345
+ proto.Auth.AccountProto.RetrievePushInfoReply.toObject = function(includeInstance, msg) {
3346
+ var f, obj = {
3347
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3348
+ pushToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
3349
+ pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0),
3350
+ locale: jspb.Message.getFieldWithDefault(msg, 4, "")
3351
+ };
3352
+
3353
+ if (includeInstance) {
3354
+ obj.$jspbMessageInstance = msg;
3355
+ }
3356
+ return obj;
3357
+ };
3358
+ }
3359
+
3360
+
3361
+ /**
3362
+ * Deserializes binary data (in protobuf wire format).
3363
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3364
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
3365
+ */
3366
+ proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinary = function(bytes) {
3367
+ var reader = new jspb.BinaryReader(bytes);
3368
+ var msg = new proto.Auth.AccountProto.RetrievePushInfoReply;
3369
+ return proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader(msg, reader);
3370
+ };
3371
+
3372
+
3373
+ /**
3374
+ * Deserializes binary data (in protobuf wire format) from the
3375
+ * given reader into the given message object.
3376
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The message object to deserialize into.
3377
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3378
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
3379
+ */
3380
+ proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader = function(msg, reader) {
3381
+ while (reader.nextField()) {
3382
+ if (reader.isEndGroup()) {
3383
+ break;
3384
+ }
3385
+ var field = reader.getFieldNumber();
3386
+ switch (field) {
3387
+ case 1:
3388
+ var value = /** @type {number} */ (reader.readInt64());
3389
+ msg.setId(value);
3390
+ break;
3391
+ case 2:
3392
+ var value = /** @type {string} */ (reader.readString());
3393
+ msg.setPushToken(value);
3394
+ break;
3395
+ case 3:
3396
+ var value = /** @type {!proto.Auth.PushNotificationProto.PushType} */ (reader.readEnum());
3397
+ msg.setPushtype(value);
3398
+ break;
3399
+ case 4:
3400
+ var value = /** @type {string} */ (reader.readString());
3401
+ msg.setLocale(value);
3402
+ break;
3403
+ default:
3404
+ reader.skipField();
3405
+ break;
3406
+ }
3407
+ }
3408
+ return msg;
3409
+ };
3410
+
3411
+
3412
+ /**
3413
+ * Serializes the message to binary data (in protobuf wire format).
3414
+ * @return {!Uint8Array}
3415
+ */
3416
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.serializeBinary = function() {
3417
+ var writer = new jspb.BinaryWriter();
3418
+ proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter(this, writer);
3419
+ return writer.getResultBuffer();
3420
+ };
3421
+
3422
+
3423
+ /**
3424
+ * Serializes the given message to binary data (in protobuf wire
3425
+ * format), writing to the given BinaryWriter.
3426
+ * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} message
3427
+ * @param {!jspb.BinaryWriter} writer
3428
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3429
+ */
3430
+ proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function(message, writer) {
3431
+ var f = undefined;
3432
+ f = message.getId();
3433
+ if (f !== 0) {
3434
+ writer.writeInt64(
3435
+ 1,
3436
+ f
3437
+ );
3438
+ }
3439
+ f = message.getPushToken();
3440
+ if (f.length > 0) {
3441
+ writer.writeString(
3442
+ 2,
3443
+ f
3444
+ );
3445
+ }
3446
+ f = message.getPushtype();
3447
+ if (f !== 0.0) {
3448
+ writer.writeEnum(
3449
+ 3,
3450
+ f
3451
+ );
3452
+ }
3453
+ f = message.getLocale();
3454
+ if (f.length > 0) {
3455
+ writer.writeString(
3456
+ 4,
3457
+ f
3458
+ );
3459
+ }
3460
+ };
3461
+
3462
+
3463
+ /**
3464
+ * optional int64 id = 1;
3465
+ * @return {number}
3466
+ */
3467
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getId = function() {
3468
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3469
+ };
3470
+
3471
+
3472
+ /**
3473
+ * @param {number} value
3474
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
3475
+ */
3476
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setId = function(value) {
3477
+ return jspb.Message.setProto3IntField(this, 1, value);
3478
+ };
3479
+
3480
+
3481
+ /**
3482
+ * optional string push_token = 2;
3483
+ * @return {string}
3484
+ */
3485
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushToken = function() {
3486
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3487
+ };
3488
+
3489
+
3490
+ /**
3491
+ * @param {string} value
3492
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
3493
+ */
3494
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushToken = function(value) {
3495
+ return jspb.Message.setProto3StringField(this, 2, value);
3496
+ };
3497
+
3498
+
3499
+ /**
3500
+ * optional PushNotificationProto.PushType pushType = 3;
3501
+ * @return {!proto.Auth.PushNotificationProto.PushType}
3502
+ */
3503
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushtype = function() {
3504
+ return /** @type {!proto.Auth.PushNotificationProto.PushType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3505
+ };
3506
+
3507
+
3508
+ /**
3509
+ * @param {!proto.Auth.PushNotificationProto.PushType} value
3510
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
3511
+ */
3512
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushtype = function(value) {
3513
+ return jspb.Message.setProto3EnumField(this, 3, value);
3514
+ };
3515
+
3516
+
3517
+ /**
3518
+ * optional string locale = 4;
3519
+ * @return {string}
3520
+ */
3521
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getLocale = function() {
3522
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3523
+ };
3524
+
3525
+
3526
+ /**
3527
+ * @param {string} value
3528
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
3529
+ */
3530
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setLocale = function(value) {
3531
+ return jspb.Message.setProto3StringField(this, 4, value);
3532
+ };
3533
+
3534
+
3535
+
3536
+ /**
3537
+ * List of repeated fields within this message type.
3538
+ * @private {!Array<number>}
3539
+ * @const
3540
+ */
3541
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.repeatedFields_ = [1];
3542
+
3543
+
3544
+
3545
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3546
+ /**
3547
+ * Creates an object representation of this proto.
3548
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3549
+ * Optional fields that are not set will be set to undefined.
3550
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3551
+ * For the list of reserved names please see:
3552
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3553
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3554
+ * JSPB instance for transitional soy proto support:
3555
+ * http://goto/soy-param-migration
3556
+ * @return {!Object}
3557
+ */
3558
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.toObject = function(opt_includeInstance) {
3559
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.toObject(opt_includeInstance, this);
3560
+ };
3561
+
3562
+
3563
+ /**
3564
+ * Static version of the {@see toObject} method.
3565
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3566
+ * the JSPB instance for transitional soy proto support:
3567
+ * http://goto/soy-param-migration
3568
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} msg The msg instance to transform.
3569
+ * @return {!Object}
3570
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3571
+ */
3572
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.toObject = function(includeInstance, msg) {
3573
+ var f, obj = {
3574
+ idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
3575
+ };
3576
+
3577
+ if (includeInstance) {
3578
+ obj.$jspbMessageInstance = msg;
3579
+ }
3580
+ return obj;
3581
+ };
3582
+ }
3583
+
3584
+
3585
+ /**
3586
+ * Deserializes binary data (in protobuf wire format).
3587
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3588
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest}
3589
+ */
3590
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinary = function(bytes) {
3591
+ var reader = new jspb.BinaryReader(bytes);
3592
+ var msg = new proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest;
3593
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinaryFromReader(msg, reader);
3594
+ };
3595
+
3596
+
3597
+ /**
3598
+ * Deserializes binary data (in protobuf wire format) from the
3599
+ * given reader into the given message object.
3600
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} msg The message object to deserialize into.
3601
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3602
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest}
3603
+ */
3604
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinaryFromReader = function(msg, reader) {
3605
+ while (reader.nextField()) {
3606
+ if (reader.isEndGroup()) {
3607
+ break;
3608
+ }
3609
+ var field = reader.getFieldNumber();
3610
+ switch (field) {
3611
+ case 1:
3612
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
3613
+ for (var i = 0; i < values.length; i++) {
3614
+ msg.addIds(values[i]);
3615
+ }
3616
+ break;
3617
+ default:
3618
+ reader.skipField();
3619
+ break;
3620
+ }
3621
+ }
3622
+ return msg;
3623
+ };
3624
+
3625
+
3626
+ /**
3627
+ * Serializes the message to binary data (in protobuf wire format).
3628
+ * @return {!Uint8Array}
3629
+ */
3630
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.serializeBinary = function() {
3631
+ var writer = new jspb.BinaryWriter();
3632
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.serializeBinaryToWriter(this, writer);
3633
+ return writer.getResultBuffer();
3634
+ };
3635
+
3636
+
3637
+ /**
3638
+ * Serializes the given message to binary data (in protobuf wire
3639
+ * format), writing to the given BinaryWriter.
3640
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} message
3641
+ * @param {!jspb.BinaryWriter} writer
3642
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3643
+ */
3644
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.serializeBinaryToWriter = function(message, writer) {
3645
+ var f = undefined;
3646
+ f = message.getIdsList();
3647
+ if (f.length > 0) {
3648
+ writer.writePackedInt64(
3649
+ 1,
3650
+ f
3651
+ );
3652
+ }
3653
+ };
3654
+
3655
+
3656
+ /**
3657
+ * repeated int64 ids = 1;
3658
+ * @return {!Array<number>}
3659
+ */
3660
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.getIdsList = function() {
3661
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
3662
+ };
3663
+
3664
+
3665
+ /**
3666
+ * @param {!Array<number>} value
3667
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
3668
+ */
3669
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.setIdsList = function(value) {
3670
+ return jspb.Message.setField(this, 1, value || []);
3671
+ };
3672
+
3673
+
3674
+ /**
3675
+ * @param {number} value
3676
+ * @param {number=} opt_index
3677
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
3678
+ */
3679
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.addIds = function(value, opt_index) {
3680
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3681
+ };
3682
+
3683
+
3684
+ /**
3685
+ * Clears the list making it empty but non-null.
3686
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
3687
+ */
3688
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.clearIdsList = function() {
3689
+ return this.setIdsList([]);
3690
+ };
3691
+
3692
+
3693
+
3694
+
3695
+
3696
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3697
+ /**
3698
+ * Creates an object representation of this proto.
3699
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3700
+ * Optional fields that are not set will be set to undefined.
3701
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3702
+ * For the list of reserved names please see:
3703
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3704
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3705
+ * JSPB instance for transitional soy proto support:
3706
+ * http://goto/soy-param-migration
3707
+ * @return {!Object}
3708
+ */
3709
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.toObject = function(opt_includeInstance) {
3710
+ return proto.Auth.AccountProto.AccountsActivationStatuses.toObject(opt_includeInstance, this);
3711
+ };
3712
+
3713
+
3714
+ /**
3715
+ * Static version of the {@see toObject} method.
3716
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3717
+ * the JSPB instance for transitional soy proto support:
3718
+ * http://goto/soy-param-migration
3719
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} msg The msg instance to transform.
3720
+ * @return {!Object}
3721
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3722
+ */
3723
+ proto.Auth.AccountProto.AccountsActivationStatuses.toObject = function(includeInstance, msg) {
3724
+ var f, obj = {
3725
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3726
+ status: jspb.Message.getFieldWithDefault(msg, 2, 0)
3727
+ };
3728
+
3729
+ if (includeInstance) {
3730
+ obj.$jspbMessageInstance = msg;
3731
+ }
3732
+ return obj;
3733
+ };
3734
+ }
3735
+
3736
+
3737
+ /**
3738
+ * Deserializes binary data (in protobuf wire format).
3739
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3740
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
3741
+ */
3742
+ proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinary = function(bytes) {
3743
+ var reader = new jspb.BinaryReader(bytes);
3744
+ var msg = new proto.Auth.AccountProto.AccountsActivationStatuses;
3745
+ return proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader(msg, reader);
3746
+ };
3747
+
3748
+
3749
+ /**
3750
+ * Deserializes binary data (in protobuf wire format) from the
3751
+ * given reader into the given message object.
3752
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} msg The message object to deserialize into.
3753
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3754
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
3755
+ */
3756
+ proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader = function(msg, reader) {
3757
+ while (reader.nextField()) {
3758
+ if (reader.isEndGroup()) {
3759
+ break;
3760
+ }
3761
+ var field = reader.getFieldNumber();
3762
+ switch (field) {
3763
+ case 1:
3764
+ var value = /** @type {number} */ (reader.readInt64());
3765
+ msg.setId(value);
3766
+ break;
3767
+ case 2:
3768
+ var value = /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (reader.readEnum());
3769
+ msg.setStatus(value);
3770
+ break;
3771
+ default:
3772
+ reader.skipField();
3773
+ break;
3774
+ }
3775
+ }
3776
+ return msg;
3777
+ };
3778
+
3779
+
3780
+ /**
3781
+ * Serializes the message to binary data (in protobuf wire format).
3782
+ * @return {!Uint8Array}
3783
+ */
3784
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.serializeBinary = function() {
3785
+ var writer = new jspb.BinaryWriter();
3786
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter(this, writer);
3787
+ return writer.getResultBuffer();
3788
+ };
3789
+
3790
+
3791
+ /**
3792
+ * Serializes the given message to binary data (in protobuf wire
3793
+ * format), writing to the given BinaryWriter.
3794
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} message
3795
+ * @param {!jspb.BinaryWriter} writer
3796
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3797
+ */
3798
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter = function(message, writer) {
3799
+ var f = undefined;
3800
+ f = message.getId();
3801
+ if (f !== 0) {
3802
+ writer.writeInt64(
3803
+ 1,
3804
+ f
3805
+ );
3806
+ }
3807
+ f = message.getStatus();
3808
+ if (f !== 0.0) {
3809
+ writer.writeEnum(
3810
+ 2,
3811
+ f
3812
+ );
3813
+ }
3814
+ };
3815
+
3816
+
3817
+ /**
3818
+ * optional int64 id = 1;
3819
+ * @return {number}
3820
+ */
3821
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.getId = function() {
3822
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3823
+ };
3824
+
3825
+
3826
+ /**
3827
+ * @param {number} value
3828
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses} returns this
3829
+ */
3830
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.setId = function(value) {
3831
+ return jspb.Message.setProto3IntField(this, 1, value);
3832
+ };
3833
+
3834
+
3835
+ /**
3836
+ * optional ActivationStatuses status = 2;
3837
+ * @return {!proto.Auth.AccountProto.ActivationStatuses}
3838
+ */
3839
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.getStatus = function() {
3840
+ return /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3841
+ };
3842
+
3843
+
3844
+ /**
3845
+ * @param {!proto.Auth.AccountProto.ActivationStatuses} value
3846
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses} returns this
3847
+ */
3848
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.setStatus = function(value) {
3849
+ return jspb.Message.setProto3EnumField(this, 2, value);
3850
+ };
3851
+
3852
+
3853
+
3854
+ /**
3855
+ * List of repeated fields within this message type.
3856
+ * @private {!Array<number>}
3857
+ * @const
3858
+ */
3859
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.repeatedFields_ = [1];
3860
+
3861
+
3862
+
3863
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3864
+ /**
3865
+ * Creates an object representation of this proto.
3866
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3867
+ * Optional fields that are not set will be set to undefined.
3868
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3869
+ * For the list of reserved names please see:
3870
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3871
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3872
+ * JSPB instance for transitional soy proto support:
3873
+ * http://goto/soy-param-migration
3874
+ * @return {!Object}
3875
+ */
3876
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.toObject = function(opt_includeInstance) {
3877
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.toObject(opt_includeInstance, this);
3878
+ };
3879
+
3880
+
3881
+ /**
3882
+ * Static version of the {@see toObject} method.
3883
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3884
+ * the JSPB instance for transitional soy proto support:
3885
+ * http://goto/soy-param-migration
3886
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} msg The msg instance to transform.
3887
+ * @return {!Object}
3888
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3889
+ */
3890
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.toObject = function(includeInstance, msg) {
3891
+ var f, obj = {
3892
+ activationStatusesList: jspb.Message.toObjectList(msg.getActivationStatusesList(),
3893
+ proto.Auth.AccountProto.AccountsActivationStatuses.toObject, includeInstance)
3894
+ };
3895
+
3896
+ if (includeInstance) {
3897
+ obj.$jspbMessageInstance = msg;
3898
+ }
3899
+ return obj;
3900
+ };
3901
+ }
3902
+
3903
+
3904
+ /**
3905
+ * Deserializes binary data (in protobuf wire format).
3906
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3907
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply}
3908
+ */
3909
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinary = function(bytes) {
3910
+ var reader = new jspb.BinaryReader(bytes);
3911
+ var msg = new proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply;
3912
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinaryFromReader(msg, reader);
3913
+ };
3914
+
3915
+
3916
+ /**
3917
+ * Deserializes binary data (in protobuf wire format) from the
3918
+ * given reader into the given message object.
3919
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} msg The message object to deserialize into.
3920
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3921
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply}
3922
+ */
3923
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinaryFromReader = function(msg, reader) {
3924
+ while (reader.nextField()) {
3925
+ if (reader.isEndGroup()) {
3926
+ break;
3927
+ }
3928
+ var field = reader.getFieldNumber();
3929
+ switch (field) {
3930
+ case 1:
3931
+ var value = new proto.Auth.AccountProto.AccountsActivationStatuses;
3932
+ reader.readMessage(value,proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader);
3933
+ msg.addActivationStatuses(value);
3934
+ break;
3935
+ default:
3936
+ reader.skipField();
3937
+ break;
3938
+ }
3939
+ }
3940
+ return msg;
3941
+ };
3942
+
3943
+
3944
+ /**
3945
+ * Serializes the message to binary data (in protobuf wire format).
3946
+ * @return {!Uint8Array}
3947
+ */
3948
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.serializeBinary = function() {
3949
+ var writer = new jspb.BinaryWriter();
3950
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.serializeBinaryToWriter(this, writer);
3951
+ return writer.getResultBuffer();
3952
+ };
3953
+
3954
+
3955
+ /**
3956
+ * Serializes the given message to binary data (in protobuf wire
3957
+ * format), writing to the given BinaryWriter.
3958
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} message
3959
+ * @param {!jspb.BinaryWriter} writer
3960
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3961
+ */
3962
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.serializeBinaryToWriter = function(message, writer) {
3963
+ var f = undefined;
3964
+ f = message.getActivationStatusesList();
3965
+ if (f.length > 0) {
3966
+ writer.writeRepeatedMessage(
3967
+ 1,
3968
+ f,
3969
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter
3970
+ );
3971
+ }
3972
+ };
3973
+
3974
+
3975
+ /**
3976
+ * repeated AccountsActivationStatuses activation_statuses = 1;
3977
+ * @return {!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>}
3978
+ */
3979
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.getActivationStatusesList = function() {
3980
+ return /** @type{!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>} */ (
3981
+ jspb.Message.getRepeatedWrapperField(this, proto.Auth.AccountProto.AccountsActivationStatuses, 1));
3982
+ };
3983
+
3984
+
3985
+ /**
3986
+ * @param {!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>} value
3987
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} returns this
3988
+ */
3989
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.setActivationStatusesList = function(value) {
3990
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
3991
+ };
3992
+
3993
+
3994
+ /**
3995
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses=} opt_value
3996
+ * @param {number=} opt_index
3997
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
3998
+ */
3999
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.addActivationStatuses = function(opt_value, opt_index) {
4000
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.AccountProto.AccountsActivationStatuses, opt_index);
4001
+ };
4002
+
4003
+
4004
+ /**
4005
+ * Clears the list making it empty but non-null.
4006
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} returns this
4007
+ */
4008
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.clearActivationStatusesList = function() {
4009
+ return this.setActivationStatusesList([]);
4010
+ };
4011
+
4012
+
4013
+
4014
+
4015
+
4016
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4017
+ /**
4018
+ * Creates an object representation of this proto.
4019
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4020
+ * Optional fields that are not set will be set to undefined.
4021
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4022
+ * For the list of reserved names please see:
4023
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4024
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4025
+ * JSPB instance for transitional soy proto support:
4026
+ * http://goto/soy-param-migration
4027
+ * @return {!Object}
4028
+ */
4029
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.toObject = function(opt_includeInstance) {
4030
+ return proto.Auth.AccountProto.ResendInvitationRequest.toObject(opt_includeInstance, this);
4031
+ };
4032
+
4033
+
4034
+ /**
4035
+ * Static version of the {@see toObject} method.
4036
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4037
+ * the JSPB instance for transitional soy proto support:
4038
+ * http://goto/soy-param-migration
4039
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} msg The msg instance to transform.
4040
+ * @return {!Object}
4041
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4042
+ */
4043
+ proto.Auth.AccountProto.ResendInvitationRequest.toObject = function(includeInstance, msg) {
4044
+ var f, obj = {
4045
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
4046
+ };
4047
+
4048
+ if (includeInstance) {
4049
+ obj.$jspbMessageInstance = msg;
4050
+ }
4051
+ return obj;
4052
+ };
4053
+ }
4054
+
4055
+
4056
+ /**
4057
+ * Deserializes binary data (in protobuf wire format).
4058
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4059
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest}
4060
+ */
4061
+ proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinary = function(bytes) {
4062
+ var reader = new jspb.BinaryReader(bytes);
4063
+ var msg = new proto.Auth.AccountProto.ResendInvitationRequest;
4064
+ return proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinaryFromReader(msg, reader);
4065
+ };
4066
+
4067
+
4068
+ /**
4069
+ * Deserializes binary data (in protobuf wire format) from the
4070
+ * given reader into the given message object.
4071
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} msg The message object to deserialize into.
4072
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4073
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest}
4074
+ */
4075
+ proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinaryFromReader = function(msg, reader) {
4076
+ while (reader.nextField()) {
4077
+ if (reader.isEndGroup()) {
4078
+ break;
4079
+ }
4080
+ var field = reader.getFieldNumber();
4081
+ switch (field) {
4082
+ case 1:
4083
+ var value = /** @type {number} */ (reader.readInt64());
4084
+ msg.setId(value);
4085
+ break;
4086
+ default:
4087
+ reader.skipField();
4088
+ break;
4089
+ }
4090
+ }
4091
+ return msg;
4092
+ };
4093
+
4094
+
4095
+ /**
4096
+ * Serializes the message to binary data (in protobuf wire format).
4097
+ * @return {!Uint8Array}
4098
+ */
4099
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.serializeBinary = function() {
4100
+ var writer = new jspb.BinaryWriter();
4101
+ proto.Auth.AccountProto.ResendInvitationRequest.serializeBinaryToWriter(this, writer);
4102
+ return writer.getResultBuffer();
4103
+ };
4104
+
4105
+
4106
+ /**
4107
+ * Serializes the given message to binary data (in protobuf wire
4108
+ * format), writing to the given BinaryWriter.
4109
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} message
4110
+ * @param {!jspb.BinaryWriter} writer
4111
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4112
+ */
4113
+ proto.Auth.AccountProto.ResendInvitationRequest.serializeBinaryToWriter = function(message, writer) {
4114
+ var f = undefined;
4115
+ f = message.getId();
4116
+ if (f !== 0) {
4117
+ writer.writeInt64(
4118
+ 1,
4119
+ f
4120
+ );
4121
+ }
4122
+ };
4123
+
4124
+
4125
+ /**
4126
+ * optional int64 id = 1;
4127
+ * @return {number}
4128
+ */
4129
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.getId = function() {
4130
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4131
+ };
4132
+
4133
+
4134
+ /**
4135
+ * @param {number} value
4136
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest} returns this
4137
+ */
4138
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.setId = function(value) {
4139
+ return jspb.Message.setProto3IntField(this, 1, value);
4140
+ };
4141
+
4142
+
4143
+ /**
4144
+ * optional int64 id = 1;
4145
+ * @return {number}
4146
+ */
4147
+ proto.Auth.AccountProto.prototype.getId = function() {
4148
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4149
+ };
4150
+
4151
+
4152
+ /**
4153
+ * @param {number} value
4154
+ * @return {!proto.Auth.AccountProto} returns this
4155
+ */
4156
+ proto.Auth.AccountProto.prototype.setId = function(value) {
4157
+ return jspb.Message.setProto3IntField(this, 1, value);
4158
+ };
4159
+
4160
+
4161
+ /**
4162
+ * optional string email = 2;
4163
+ * @return {string}
4164
+ */
4165
+ proto.Auth.AccountProto.prototype.getEmail = function() {
4166
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4167
+ };
4168
+
4169
+
4170
+ /**
4171
+ * @param {string} value
4172
+ * @return {!proto.Auth.AccountProto} returns this
4173
+ */
4174
+ proto.Auth.AccountProto.prototype.setEmail = function(value) {
4175
+ return jspb.Message.setProto3StringField(this, 2, value);
4176
+ };
4177
+
4178
+
4179
+ /**
4180
+ * optional string phone = 3;
4181
+ * @return {string}
4182
+ */
4183
+ proto.Auth.AccountProto.prototype.getPhone = function() {
4184
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4185
+ };
4186
+
4187
+
4188
+ /**
4189
+ * @param {string} value
4190
+ * @return {!proto.Auth.AccountProto} returns this
4191
+ */
4192
+ proto.Auth.AccountProto.prototype.setPhone = function(value) {
4193
+ return jspb.Message.setProto3StringField(this, 3, value);
4194
+ };
4195
+
4196
+
4197
+ /**
4198
+ * optional string first_name = 4;
4199
+ * @return {string}
4200
+ */
4201
+ proto.Auth.AccountProto.prototype.getFirstName = function() {
4202
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4203
+ };
4204
+
4205
+
4206
+ /**
4207
+ * @param {string} value
4208
+ * @return {!proto.Auth.AccountProto} returns this
4209
+ */
4210
+ proto.Auth.AccountProto.prototype.setFirstName = function(value) {
4211
+ return jspb.Message.setProto3StringField(this, 4, value);
4212
+ };
4213
+
4214
+
4215
+ /**
4216
+ * optional string last_name = 5;
4217
+ * @return {string}
4218
+ */
4219
+ proto.Auth.AccountProto.prototype.getLastName = function() {
4220
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4221
+ };
4222
+
4223
+
4224
+ /**
4225
+ * @param {string} value
4226
+ * @return {!proto.Auth.AccountProto} returns this
4227
+ */
4228
+ proto.Auth.AccountProto.prototype.setLastName = function(value) {
4229
+ return jspb.Message.setProto3StringField(this, 5, value);
4230
+ };
4231
+
4232
+
4233
+ /**
4234
+ * optional string locale = 6;
4235
+ * @return {string}
4236
+ */
4237
+ proto.Auth.AccountProto.prototype.getLocale = function() {
4238
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4239
+ };
4240
+
4241
+
4242
+ /**
4243
+ * @param {string} value
4244
+ * @return {!proto.Auth.AccountProto} returns this
4245
+ */
4246
+ proto.Auth.AccountProto.prototype.setLocale = function(value) {
4247
+ return jspb.Message.setProto3StringField(this, 6, value);
4248
+ };
4249
+
4250
+
4251
+ /**
4252
+ * optional string company = 7;
4253
+ * @return {string}
4254
+ */
4255
+ proto.Auth.AccountProto.prototype.getCompany = function() {
4256
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4257
+ };
4258
+
4259
+
4260
+ /**
4261
+ * @param {string} value
4262
+ * @return {!proto.Auth.AccountProto} returns this
4263
+ */
4264
+ proto.Auth.AccountProto.prototype.setCompany = function(value) {
4265
+ return jspb.Message.setProto3StringField(this, 7, value);
4266
+ };
4267
+
4268
+
4269
+ /**
4270
+ * optional string active = 8;
4271
+ * @return {string}
4272
+ */
4273
+ proto.Auth.AccountProto.prototype.getActive = function() {
4274
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4275
+ };
4276
+
4277
+
4278
+ /**
4279
+ * @param {string} value
4280
+ * @return {!proto.Auth.AccountProto} returns this
4281
+ */
4282
+ proto.Auth.AccountProto.prototype.setActive = function(value) {
4283
+ return jspb.Message.setProto3StringField(this, 8, value);
4284
+ };
4285
+
4286
+
4287
+ goog.object.extend(exports, proto.Auth);