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

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