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

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