@aceplus/smartace-api 1.3.0-alpha.124 → 1.3.0-alpha.125

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 (209) hide show
  1. package/package.json +1 -1
  2. package/auth.account_events_pb.d.ts +0 -5
  3. package/auth.account_events_pb.js +0 -23
  4. package/auth.account_events_pb_service.d.ts +0 -3
  5. package/auth.account_events_pb_service.js +0 -3
  6. package/auth.account_pb.d.ts +0 -521
  7. package/auth.account_pb.js +0 -3953
  8. package/auth.account_pb_service.d.ts +0 -454
  9. package/auth.account_pb_service.js +0 -877
  10. package/auth.app_account_pb.d.ts +0 -157
  11. package/auth.app_account_pb.js +0 -1155
  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 -165
  15. package/auth.app_authn_pb.js +0 -1180
  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 -85
  23. package/auth.authn_pb.js +0 -625
  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 -235
  35. package/auth.email_pb.js +0 -1632
  36. package/auth.email_pb_service.d.ts +0 -102
  37. package/auth.email_pb_service.js +0 -142
  38. package/auth.push_notification_pb.d.ts +0 -187
  39. package/auth.push_notification_pb.js +0 -1289
  40. package/auth.push_notification_pb_service.d.ts +0 -121
  41. package/auth.push_notification_pb_service.js +0 -182
  42. package/auth.sms_pb.d.ts +0 -80
  43. package/auth.sms_pb.js +0 -577
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/google/api/annotations_pb.d.ts +0 -9
  47. package/google/api/annotations_pb.js +0 -54
  48. package/google/api/annotations_pb_service.d.ts +0 -3
  49. package/google/api/annotations_pb_service.js +0 -3
  50. package/google/api/auth_pb.d.ts +0 -150
  51. package/google/api/auth_pb.js +0 -1160
  52. package/google/api/auth_pb_service.d.ts +0 -3
  53. package/google/api/auth_pb_service.js +0 -3
  54. package/google/api/backend_pb.d.ts +0 -59
  55. package/google/api/backend_pb.js +0 -448
  56. package/google/api/backend_pb_service.d.ts +0 -3
  57. package/google/api/backend_pb_service.js +0 -3
  58. package/google/api/billing_pb.d.ts +0 -54
  59. package/google/api/billing_pb.js +0 -416
  60. package/google/api/billing_pb_service.d.ts +0 -3
  61. package/google/api/billing_pb_service.js +0 -3
  62. package/google/api/client_pb.d.ts +0 -12
  63. package/google/api/client_pb.js +0 -104
  64. package/google/api/client_pb_service.d.ts +0 -3
  65. package/google/api/client_pb_service.js +0 -3
  66. package/google/api/config_change_pb.d.ts +0 -72
  67. package/google/api/config_change_pb.js +0 -489
  68. package/google/api/config_change_pb_service.d.ts +0 -3
  69. package/google/api/config_change_pb_service.js +0 -3
  70. package/google/api/consumer_pb.d.ts +0 -65
  71. package/google/api/consumer_pb.js +0 -430
  72. package/google/api/consumer_pb_service.d.ts +0 -3
  73. package/google/api/consumer_pb_service.js +0 -3
  74. package/google/api/context_pb.d.ts +0 -59
  75. package/google/api/context_pb.js +0 -463
  76. package/google/api/context_pb_service.d.ts +0 -3
  77. package/google/api/context_pb_service.js +0 -3
  78. package/google/api/control_pb.d.ts +0 -25
  79. package/google/api/control_pb.js +0 -176
  80. package/google/api/control_pb_service.d.ts +0 -3
  81. package/google/api/control_pb_service.js +0 -3
  82. package/google/api/distribution_pb.d.ts +0 -235
  83. package/google/api/distribution_pb.js +0 -1805
  84. package/google/api/distribution_pb_service.d.ts +0 -3
  85. package/google/api/distribution_pb_service.js +0 -3
  86. package/google/api/documentation_pb.d.ts +0 -103
  87. package/google/api/documentation_pb.js +0 -803
  88. package/google/api/documentation_pb_service.d.ts +0 -3
  89. package/google/api/documentation_pb_service.js +0 -3
  90. package/google/api/endpoint_pb.d.ts +0 -46
  91. package/google/api/endpoint_pb.js +0 -343
  92. package/google/api/endpoint_pb_service.d.ts +0 -3
  93. package/google/api/endpoint_pb_service.js +0 -3
  94. package/google/api/error_reason_pb.d.ts +0 -40
  95. package/google/api/error_reason_pb.js +0 -61
  96. package/google/api/error_reason_pb_service.d.ts +0 -3
  97. package/google/api/error_reason_pb_service.js +0 -3
  98. package/google/api/field_behavior_pb.d.ts +0 -20
  99. package/google/api/field_behavior_pb.js +0 -66
  100. package/google/api/field_behavior_pb_service.d.ts +0 -3
  101. package/google/api/field_behavior_pb_service.js +0 -3
  102. package/google/api/http_pb.d.ts +0 -136
  103. package/google/api/http_pb.js +0 -1012
  104. package/google/api/http_pb_service.d.ts +0 -3
  105. package/google/api/http_pb_service.js +0 -3
  106. package/google/api/httpbody_pb.d.ts +0 -38
  107. package/google/api/httpbody_pb.js +0 -292
  108. package/google/api/httpbody_pb_service.d.ts +0 -3
  109. package/google/api/httpbody_pb_service.js +0 -3
  110. package/google/api/label_pb.d.ts +0 -41
  111. package/google/api/label_pb.js +0 -246
  112. package/google/api/label_pb_service.d.ts +0 -3
  113. package/google/api/label_pb_service.js +0 -3
  114. package/google/api/launch_stage_pb.d.ts +0 -16
  115. package/google/api/launch_stage_pb.js +0 -37
  116. package/google/api/launch_stage_pb_service.d.ts +0 -3
  117. package/google/api/launch_stage_pb_service.js +0 -3
  118. package/google/api/log_pb.d.ts +0 -40
  119. package/google/api/log_pb.js +0 -298
  120. package/google/api/log_pb_service.d.ts +0 -3
  121. package/google/api/log_pb_service.js +0 -3
  122. package/google/api/logging_pb.d.ts +0 -60
  123. package/google/api/logging_pb.js +0 -469
  124. package/google/api/logging_pb_service.d.ts +0 -3
  125. package/google/api/logging_pb_service.js +0 -3
  126. package/google/api/metric_pb.d.ts +0 -100
  127. package/google/api/metric_pb.js +0 -629
  128. package/google/api/metric_pb_service.d.ts +0 -3
  129. package/google/api/metric_pb_service.js +0 -3
  130. package/google/api/monitored_resource_pb.d.ts +0 -93
  131. package/google/api/monitored_resource_pb.js +0 -723
  132. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  133. package/google/api/monitored_resource_pb_service.js +0 -3
  134. package/google/api/monitoring_pb.d.ts +0 -60
  135. package/google/api/monitoring_pb.js +0 -469
  136. package/google/api/monitoring_pb_service.d.ts +0 -3
  137. package/google/api/monitoring_pb_service.js +0 -3
  138. package/google/api/policy_pb.d.ts +0 -64
  139. package/google/api/policy_pb.js +0 -502
  140. package/google/api/policy_pb_service.d.ts +0 -3
  141. package/google/api/policy_pb_service.js +0 -3
  142. package/google/api/quota_pb.d.ts +0 -112
  143. package/google/api/quota_pb.js +0 -873
  144. package/google/api/quota_pb_service.d.ts +0 -3
  145. package/google/api/quota_pb_service.js +0 -3
  146. package/google/api/resource_pb.d.ts +0 -99
  147. package/google/api/resource_pb.js +0 -684
  148. package/google/api/resource_pb_service.d.ts +0 -3
  149. package/google/api/resource_pb_service.js +0 -3
  150. package/google/api/routing_pb.d.ts +0 -54
  151. package/google/api/routing_pb.js +0 -416
  152. package/google/api/routing_pb_service.d.ts +0 -3
  153. package/google/api/routing_pb_service.js +0 -3
  154. package/google/api/service_pb.d.ts +0 -184
  155. package/google/api/service_pb.js +0 -1400
  156. package/google/api/service_pb_service.d.ts +0 -3
  157. package/google/api/service_pb_service.js +0 -3
  158. package/google/api/source_info_pb.d.ts +0 -28
  159. package/google/api/source_info_pb.js +0 -208
  160. package/google/api/source_info_pb_service.d.ts +0 -3
  161. package/google/api/source_info_pb_service.js +0 -3
  162. package/google/api/system_parameter_pb.d.ts +0 -81
  163. package/google/api/system_parameter_pb.js +0 -630
  164. package/google/api/system_parameter_pb_service.d.ts +0 -3
  165. package/google/api/system_parameter_pb_service.js +0 -3
  166. package/google/api/usage_pb.d.ts +0 -66
  167. package/google/api/usage_pb.js +0 -499
  168. package/google/api/usage_pb_service.d.ts +0 -3
  169. package/google/api/usage_pb_service.js +0 -3
  170. package/google/api/visibility_pb.d.ts +0 -64
  171. package/google/api/visibility_pb.js +0 -546
  172. package/google/api/visibility_pb_service.d.ts +0 -3
  173. package/google/api/visibility_pb_service.js +0 -3
  174. package/platform.activity_log_pb.d.ts +0 -177
  175. package/platform.activity_log_pb.js +0 -1294
  176. package/platform.activity_log_pb_service.d.ts +0 -82
  177. package/platform.activity_log_pb_service.js +0 -101
  178. package/platform.client_pb.d.ts +0 -308
  179. package/platform.client_pb.js +0 -2339
  180. package/platform.client_pb_service.d.ts +0 -158
  181. package/platform.client_pb_service.js +0 -261
  182. package/platform.group_pb.d.ts +0 -195
  183. package/platform.group_pb.js +0 -1476
  184. package/platform.group_pb_service.d.ts +0 -139
  185. package/platform.group_pb_service.js +0 -221
  186. package/platform.local_account_pb.d.ts +0 -315
  187. package/platform.local_account_pb.js +0 -2372
  188. package/platform.local_account_pb_service.d.ts +0 -293
  189. package/platform.local_account_pb_service.js +0 -543
  190. package/platform.local_distribution_pb.d.ts +0 -69
  191. package/platform.local_distribution_pb.js +0 -506
  192. package/platform.local_distribution_pb_service.d.ts +0 -63
  193. package/platform.local_distribution_pb_service.js +0 -61
  194. package/platform.location_pb.d.ts +0 -271
  195. package/platform.location_pb.js +0 -2046
  196. package/platform.location_pb_service.d.ts +0 -139
  197. package/platform.location_pb_service.js +0 -221
  198. package/platform.pagination_pb.d.ts +0 -37
  199. package/platform.pagination_pb.js +0 -266
  200. package/platform.pagination_pb_service.d.ts +0 -3
  201. package/platform.pagination_pb_service.js +0 -3
  202. package/spic.cabinet_pb.d.ts +0 -1296
  203. package/spic.cabinet_pb.js +0 -9667
  204. package/spic.cabinet_pb_service.d.ts +0 -359
  205. package/spic.cabinet_pb_service.js +0 -677
  206. package/spic.contractor_pb.d.ts +0 -195
  207. package/spic.contractor_pb.js +0 -1476
  208. package/spic.contractor_pb_service.d.ts +0 -139
  209. package/spic.contractor_pb_service.js +0 -221
@@ -1,2372 +0,0 @@
1
- // source: platform.local_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_account_pb = require('./auth.account_pb.js');
25
- goog.object.extend(proto, auth_account_pb);
26
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
- goog.object.extend(proto, google_api_annotations_pb);
28
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
29
- goog.object.extend(proto, google_protobuf_empty_pb);
30
- var platform_pagination_pb = require('./platform.pagination_pb.js');
31
- goog.object.extend(proto, platform_pagination_pb);
32
- goog.exportSymbol('proto.Platform.LocalAccountProto', null, global);
33
- goog.exportSymbol('proto.Platform.LocalAccountProto.AddClientRequest', null, global);
34
- goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAdminRequest', null, global);
35
- goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAppRequest', null, global);
36
- goog.exportSymbol('proto.Platform.LocalAccountProto.RemoveClientRequest', null, global);
37
- goog.exportSymbol('proto.Platform.LocalAccountProto.SearchReply', null, global);
38
- goog.exportSymbol('proto.Platform.LocalAccountProto.SearchRequest', null, global);
39
- goog.exportSymbol('proto.Platform.LocalAccountProto.SetClientRequest', null, global);
40
- goog.exportSymbol('proto.Platform.LocalAccountProto.UpdateRequest', null, global);
41
- /**
42
- * Generated by JsPbCodeGenerator.
43
- * @param {Array=} opt_data Optional initial data array, typically from a
44
- * server response, or constructed directly in Javascript. The array is used
45
- * in place and becomes part of the constructed object. It is not cloned.
46
- * If no data is provided, the constructed object will be empty, but still
47
- * valid.
48
- * @extends {jspb.Message}
49
- * @constructor
50
- */
51
- proto.Platform.LocalAccountProto = function(opt_data) {
52
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
53
- };
54
- goog.inherits(proto.Platform.LocalAccountProto, jspb.Message);
55
- if (goog.DEBUG && !COMPILED) {
56
- /**
57
- * @public
58
- * @override
59
- */
60
- proto.Platform.LocalAccountProto.displayName = 'proto.Platform.LocalAccountProto';
61
- }
62
- /**
63
- * Generated by JsPbCodeGenerator.
64
- * @param {Array=} opt_data Optional initial data array, typically from a
65
- * server response, or constructed directly in Javascript. The array is used
66
- * in place and becomes part of the constructed object. It is not cloned.
67
- * If no data is provided, the constructed object will be empty, but still
68
- * valid.
69
- * @extends {jspb.Message}
70
- * @constructor
71
- */
72
- proto.Platform.LocalAccountProto.CreateAdminRequest = function(opt_data) {
73
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
74
- };
75
- goog.inherits(proto.Platform.LocalAccountProto.CreateAdminRequest, jspb.Message);
76
- if (goog.DEBUG && !COMPILED) {
77
- /**
78
- * @public
79
- * @override
80
- */
81
- proto.Platform.LocalAccountProto.CreateAdminRequest.displayName = 'proto.Platform.LocalAccountProto.CreateAdminRequest';
82
- }
83
- /**
84
- * Generated by JsPbCodeGenerator.
85
- * @param {Array=} opt_data Optional initial data array, typically from a
86
- * server response, or constructed directly in Javascript. The array is used
87
- * in place and becomes part of the constructed object. It is not cloned.
88
- * If no data is provided, the constructed object will be empty, but still
89
- * valid.
90
- * @extends {jspb.Message}
91
- * @constructor
92
- */
93
- proto.Platform.LocalAccountProto.CreateAppRequest = function(opt_data) {
94
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
95
- };
96
- goog.inherits(proto.Platform.LocalAccountProto.CreateAppRequest, jspb.Message);
97
- if (goog.DEBUG && !COMPILED) {
98
- /**
99
- * @public
100
- * @override
101
- */
102
- proto.Platform.LocalAccountProto.CreateAppRequest.displayName = 'proto.Platform.LocalAccountProto.CreateAppRequest';
103
- }
104
- /**
105
- * Generated by JsPbCodeGenerator.
106
- * @param {Array=} opt_data Optional initial data array, typically from a
107
- * server response, or constructed directly in Javascript. The array is used
108
- * in place and becomes part of the constructed object. It is not cloned.
109
- * If no data is provided, the constructed object will be empty, but still
110
- * valid.
111
- * @extends {jspb.Message}
112
- * @constructor
113
- */
114
- proto.Platform.LocalAccountProto.UpdateRequest = function(opt_data) {
115
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
116
- };
117
- goog.inherits(proto.Platform.LocalAccountProto.UpdateRequest, jspb.Message);
118
- if (goog.DEBUG && !COMPILED) {
119
- /**
120
- * @public
121
- * @override
122
- */
123
- proto.Platform.LocalAccountProto.UpdateRequest.displayName = 'proto.Platform.LocalAccountProto.UpdateRequest';
124
- }
125
- /**
126
- * Generated by JsPbCodeGenerator.
127
- * @param {Array=} opt_data Optional initial data array, typically from a
128
- * server response, or constructed directly in Javascript. The array is used
129
- * in place and becomes part of the constructed object. It is not cloned.
130
- * If no data is provided, the constructed object will be empty, but still
131
- * valid.
132
- * @extends {jspb.Message}
133
- * @constructor
134
- */
135
- proto.Platform.LocalAccountProto.SearchRequest = function(opt_data) {
136
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
137
- };
138
- goog.inherits(proto.Platform.LocalAccountProto.SearchRequest, jspb.Message);
139
- if (goog.DEBUG && !COMPILED) {
140
- /**
141
- * @public
142
- * @override
143
- */
144
- proto.Platform.LocalAccountProto.SearchRequest.displayName = 'proto.Platform.LocalAccountProto.SearchRequest';
145
- }
146
- /**
147
- * Generated by JsPbCodeGenerator.
148
- * @param {Array=} opt_data Optional initial data array, typically from a
149
- * server response, or constructed directly in Javascript. The array is used
150
- * in place and becomes part of the constructed object. It is not cloned.
151
- * If no data is provided, the constructed object will be empty, but still
152
- * valid.
153
- * @extends {jspb.Message}
154
- * @constructor
155
- */
156
- proto.Platform.LocalAccountProto.SearchReply = function(opt_data) {
157
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.LocalAccountProto.SearchReply.repeatedFields_, null);
158
- };
159
- goog.inherits(proto.Platform.LocalAccountProto.SearchReply, jspb.Message);
160
- if (goog.DEBUG && !COMPILED) {
161
- /**
162
- * @public
163
- * @override
164
- */
165
- proto.Platform.LocalAccountProto.SearchReply.displayName = 'proto.Platform.LocalAccountProto.SearchReply';
166
- }
167
- /**
168
- * Generated by JsPbCodeGenerator.
169
- * @param {Array=} opt_data Optional initial data array, typically from a
170
- * server response, or constructed directly in Javascript. The array is used
171
- * in place and becomes part of the constructed object. It is not cloned.
172
- * If no data is provided, the constructed object will be empty, but still
173
- * valid.
174
- * @extends {jspb.Message}
175
- * @constructor
176
- */
177
- proto.Platform.LocalAccountProto.SetClientRequest = function(opt_data) {
178
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
179
- };
180
- goog.inherits(proto.Platform.LocalAccountProto.SetClientRequest, jspb.Message);
181
- if (goog.DEBUG && !COMPILED) {
182
- /**
183
- * @public
184
- * @override
185
- */
186
- proto.Platform.LocalAccountProto.SetClientRequest.displayName = 'proto.Platform.LocalAccountProto.SetClientRequest';
187
- }
188
- /**
189
- * Generated by JsPbCodeGenerator.
190
- * @param {Array=} opt_data Optional initial data array, typically from a
191
- * server response, or constructed directly in Javascript. The array is used
192
- * in place and becomes part of the constructed object. It is not cloned.
193
- * If no data is provided, the constructed object will be empty, but still
194
- * valid.
195
- * @extends {jspb.Message}
196
- * @constructor
197
- */
198
- proto.Platform.LocalAccountProto.AddClientRequest = function(opt_data) {
199
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
200
- };
201
- goog.inherits(proto.Platform.LocalAccountProto.AddClientRequest, jspb.Message);
202
- if (goog.DEBUG && !COMPILED) {
203
- /**
204
- * @public
205
- * @override
206
- */
207
- proto.Platform.LocalAccountProto.AddClientRequest.displayName = 'proto.Platform.LocalAccountProto.AddClientRequest';
208
- }
209
- /**
210
- * Generated by JsPbCodeGenerator.
211
- * @param {Array=} opt_data Optional initial data array, typically from a
212
- * server response, or constructed directly in Javascript. The array is used
213
- * in place and becomes part of the constructed object. It is not cloned.
214
- * If no data is provided, the constructed object will be empty, but still
215
- * valid.
216
- * @extends {jspb.Message}
217
- * @constructor
218
- */
219
- proto.Platform.LocalAccountProto.RemoveClientRequest = function(opt_data) {
220
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
221
- };
222
- goog.inherits(proto.Platform.LocalAccountProto.RemoveClientRequest, jspb.Message);
223
- if (goog.DEBUG && !COMPILED) {
224
- /**
225
- * @public
226
- * @override
227
- */
228
- proto.Platform.LocalAccountProto.RemoveClientRequest.displayName = 'proto.Platform.LocalAccountProto.RemoveClientRequest';
229
- }
230
-
231
-
232
-
233
- if (jspb.Message.GENERATE_TO_OBJECT) {
234
- /**
235
- * Creates an object representation of this proto.
236
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
237
- * Optional fields that are not set will be set to undefined.
238
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
239
- * For the list of reserved names please see:
240
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
241
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
242
- * JSPB instance for transitional soy proto support:
243
- * http://goto/soy-param-migration
244
- * @return {!Object}
245
- */
246
- proto.Platform.LocalAccountProto.prototype.toObject = function(opt_includeInstance) {
247
- return proto.Platform.LocalAccountProto.toObject(opt_includeInstance, this);
248
- };
249
-
250
-
251
- /**
252
- * Static version of the {@see toObject} method.
253
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
254
- * the JSPB instance for transitional soy proto support:
255
- * http://goto/soy-param-migration
256
- * @param {!proto.Platform.LocalAccountProto} msg The msg instance to transform.
257
- * @return {!Object}
258
- * @suppress {unusedLocalVariables} f is only used for nested messages
259
- */
260
- proto.Platform.LocalAccountProto.toObject = function(includeInstance, msg) {
261
- var f, obj = {
262
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
263
- email: jspb.Message.getFieldWithDefault(msg, 2, ""),
264
- phone: jspb.Message.getFieldWithDefault(msg, 3, ""),
265
- lastName: jspb.Message.getFieldWithDefault(msg, 4, ""),
266
- firstName: jspb.Message.getFieldWithDefault(msg, 5, ""),
267
- locale: jspb.Message.getFieldWithDefault(msg, 6, ""),
268
- company: jspb.Message.getFieldWithDefault(msg, 7, ""),
269
- groupId: jspb.Message.getFieldWithDefault(msg, 8, "")
270
- };
271
-
272
- if (includeInstance) {
273
- obj.$jspbMessageInstance = msg;
274
- }
275
- return obj;
276
- };
277
- }
278
-
279
-
280
- /**
281
- * Deserializes binary data (in protobuf wire format).
282
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
283
- * @return {!proto.Platform.LocalAccountProto}
284
- */
285
- proto.Platform.LocalAccountProto.deserializeBinary = function(bytes) {
286
- var reader = new jspb.BinaryReader(bytes);
287
- var msg = new proto.Platform.LocalAccountProto;
288
- return proto.Platform.LocalAccountProto.deserializeBinaryFromReader(msg, reader);
289
- };
290
-
291
-
292
- /**
293
- * Deserializes binary data (in protobuf wire format) from the
294
- * given reader into the given message object.
295
- * @param {!proto.Platform.LocalAccountProto} msg The message object to deserialize into.
296
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
297
- * @return {!proto.Platform.LocalAccountProto}
298
- */
299
- proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, reader) {
300
- while (reader.nextField()) {
301
- if (reader.isEndGroup()) {
302
- break;
303
- }
304
- var field = reader.getFieldNumber();
305
- switch (field) {
306
- case 1:
307
- var value = /** @type {number} */ (reader.readInt64());
308
- msg.setId(value);
309
- break;
310
- case 2:
311
- var value = /** @type {string} */ (reader.readString());
312
- msg.setEmail(value);
313
- break;
314
- case 3:
315
- var value = /** @type {string} */ (reader.readString());
316
- msg.setPhone(value);
317
- break;
318
- case 4:
319
- var value = /** @type {string} */ (reader.readString());
320
- msg.setLastName(value);
321
- break;
322
- case 5:
323
- var value = /** @type {string} */ (reader.readString());
324
- msg.setFirstName(value);
325
- break;
326
- case 6:
327
- var value = /** @type {string} */ (reader.readString());
328
- msg.setLocale(value);
329
- break;
330
- case 7:
331
- var value = /** @type {string} */ (reader.readString());
332
- msg.setCompany(value);
333
- break;
334
- case 8:
335
- var value = /** @type {string} */ (reader.readString());
336
- msg.setGroupId(value);
337
- break;
338
- default:
339
- reader.skipField();
340
- break;
341
- }
342
- }
343
- return msg;
344
- };
345
-
346
-
347
- /**
348
- * Serializes the message to binary data (in protobuf wire format).
349
- * @return {!Uint8Array}
350
- */
351
- proto.Platform.LocalAccountProto.prototype.serializeBinary = function() {
352
- var writer = new jspb.BinaryWriter();
353
- proto.Platform.LocalAccountProto.serializeBinaryToWriter(this, writer);
354
- return writer.getResultBuffer();
355
- };
356
-
357
-
358
- /**
359
- * Serializes the given message to binary data (in protobuf wire
360
- * format), writing to the given BinaryWriter.
361
- * @param {!proto.Platform.LocalAccountProto} message
362
- * @param {!jspb.BinaryWriter} writer
363
- * @suppress {unusedLocalVariables} f is only used for nested messages
364
- */
365
- proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, writer) {
366
- var f = undefined;
367
- f = message.getId();
368
- if (f !== 0) {
369
- writer.writeInt64(
370
- 1,
371
- f
372
- );
373
- }
374
- f = message.getEmail();
375
- if (f.length > 0) {
376
- writer.writeString(
377
- 2,
378
- f
379
- );
380
- }
381
- f = message.getPhone();
382
- if (f.length > 0) {
383
- writer.writeString(
384
- 3,
385
- f
386
- );
387
- }
388
- f = message.getLastName();
389
- if (f.length > 0) {
390
- writer.writeString(
391
- 4,
392
- f
393
- );
394
- }
395
- f = message.getFirstName();
396
- if (f.length > 0) {
397
- writer.writeString(
398
- 5,
399
- f
400
- );
401
- }
402
- f = message.getLocale();
403
- if (f.length > 0) {
404
- writer.writeString(
405
- 6,
406
- f
407
- );
408
- }
409
- f = message.getCompany();
410
- if (f.length > 0) {
411
- writer.writeString(
412
- 7,
413
- f
414
- );
415
- }
416
- f = message.getGroupId();
417
- if (f.length > 0) {
418
- writer.writeString(
419
- 8,
420
- f
421
- );
422
- }
423
- };
424
-
425
-
426
-
427
-
428
-
429
- if (jspb.Message.GENERATE_TO_OBJECT) {
430
- /**
431
- * Creates an object representation of this proto.
432
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
433
- * Optional fields that are not set will be set to undefined.
434
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
435
- * For the list of reserved names please see:
436
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
437
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
438
- * JSPB instance for transitional soy proto support:
439
- * http://goto/soy-param-migration
440
- * @return {!Object}
441
- */
442
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.toObject = function(opt_includeInstance) {
443
- return proto.Platform.LocalAccountProto.CreateAdminRequest.toObject(opt_includeInstance, this);
444
- };
445
-
446
-
447
- /**
448
- * Static version of the {@see toObject} method.
449
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
450
- * the JSPB instance for transitional soy proto support:
451
- * http://goto/soy-param-migration
452
- * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} msg The msg instance to transform.
453
- * @return {!Object}
454
- * @suppress {unusedLocalVariables} f is only used for nested messages
455
- */
456
- proto.Platform.LocalAccountProto.CreateAdminRequest.toObject = function(includeInstance, msg) {
457
- var f, obj = {
458
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
459
- lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
460
- firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
461
- locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
462
- company: jspb.Message.getFieldWithDefault(msg, 5, ""),
463
- clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
464
- groupId: jspb.Message.getFieldWithDefault(msg, 7, "")
465
- };
466
-
467
- if (includeInstance) {
468
- obj.$jspbMessageInstance = msg;
469
- }
470
- return obj;
471
- };
472
- }
473
-
474
-
475
- /**
476
- * Deserializes binary data (in protobuf wire format).
477
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
478
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest}
479
- */
480
- proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinary = function(bytes) {
481
- var reader = new jspb.BinaryReader(bytes);
482
- var msg = new proto.Platform.LocalAccountProto.CreateAdminRequest;
483
- return proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader(msg, reader);
484
- };
485
-
486
-
487
- /**
488
- * Deserializes binary data (in protobuf wire format) from the
489
- * given reader into the given message object.
490
- * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} msg The message object to deserialize into.
491
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
492
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest}
493
- */
494
- proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader = function(msg, reader) {
495
- while (reader.nextField()) {
496
- if (reader.isEndGroup()) {
497
- break;
498
- }
499
- var field = reader.getFieldNumber();
500
- switch (field) {
501
- case 1:
502
- var value = /** @type {string} */ (reader.readString());
503
- msg.setEmail(value);
504
- break;
505
- case 2:
506
- var value = /** @type {string} */ (reader.readString());
507
- msg.setLastName(value);
508
- break;
509
- case 3:
510
- var value = /** @type {string} */ (reader.readString());
511
- msg.setFirstName(value);
512
- break;
513
- case 4:
514
- var value = /** @type {string} */ (reader.readString());
515
- msg.setLocale(value);
516
- break;
517
- case 5:
518
- var value = /** @type {string} */ (reader.readString());
519
- msg.setCompany(value);
520
- break;
521
- case 6:
522
- var value = /** @type {number} */ (reader.readInt32());
523
- msg.setClientId(value);
524
- break;
525
- case 7:
526
- var value = /** @type {string} */ (reader.readString());
527
- msg.setGroupId(value);
528
- break;
529
- default:
530
- reader.skipField();
531
- break;
532
- }
533
- }
534
- return msg;
535
- };
536
-
537
-
538
- /**
539
- * Serializes the message to binary data (in protobuf wire format).
540
- * @return {!Uint8Array}
541
- */
542
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.serializeBinary = function() {
543
- var writer = new jspb.BinaryWriter();
544
- proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter(this, writer);
545
- return writer.getResultBuffer();
546
- };
547
-
548
-
549
- /**
550
- * Serializes the given message to binary data (in protobuf wire
551
- * format), writing to the given BinaryWriter.
552
- * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} message
553
- * @param {!jspb.BinaryWriter} writer
554
- * @suppress {unusedLocalVariables} f is only used for nested messages
555
- */
556
- proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter = function(message, writer) {
557
- var f = undefined;
558
- f = message.getEmail();
559
- if (f.length > 0) {
560
- writer.writeString(
561
- 1,
562
- f
563
- );
564
- }
565
- f = message.getLastName();
566
- if (f.length > 0) {
567
- writer.writeString(
568
- 2,
569
- f
570
- );
571
- }
572
- f = message.getFirstName();
573
- if (f.length > 0) {
574
- writer.writeString(
575
- 3,
576
- f
577
- );
578
- }
579
- f = message.getLocale();
580
- if (f.length > 0) {
581
- writer.writeString(
582
- 4,
583
- f
584
- );
585
- }
586
- f = message.getCompany();
587
- if (f.length > 0) {
588
- writer.writeString(
589
- 5,
590
- f
591
- );
592
- }
593
- f = message.getClientId();
594
- if (f !== 0) {
595
- writer.writeInt32(
596
- 6,
597
- f
598
- );
599
- }
600
- f = message.getGroupId();
601
- if (f.length > 0) {
602
- writer.writeString(
603
- 7,
604
- f
605
- );
606
- }
607
- };
608
-
609
-
610
- /**
611
- * optional string email = 1;
612
- * @return {string}
613
- */
614
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getEmail = function() {
615
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
616
- };
617
-
618
-
619
- /**
620
- * @param {string} value
621
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
622
- */
623
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setEmail = function(value) {
624
- return jspb.Message.setProto3StringField(this, 1, value);
625
- };
626
-
627
-
628
- /**
629
- * optional string last_name = 2;
630
- * @return {string}
631
- */
632
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getLastName = function() {
633
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
634
- };
635
-
636
-
637
- /**
638
- * @param {string} value
639
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
640
- */
641
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setLastName = function(value) {
642
- return jspb.Message.setProto3StringField(this, 2, value);
643
- };
644
-
645
-
646
- /**
647
- * optional string first_name = 3;
648
- * @return {string}
649
- */
650
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getFirstName = function() {
651
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
652
- };
653
-
654
-
655
- /**
656
- * @param {string} value
657
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
658
- */
659
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setFirstName = function(value) {
660
- return jspb.Message.setProto3StringField(this, 3, value);
661
- };
662
-
663
-
664
- /**
665
- * optional string locale = 4;
666
- * @return {string}
667
- */
668
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getLocale = function() {
669
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
670
- };
671
-
672
-
673
- /**
674
- * @param {string} value
675
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
676
- */
677
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setLocale = function(value) {
678
- return jspb.Message.setProto3StringField(this, 4, value);
679
- };
680
-
681
-
682
- /**
683
- * optional string company = 5;
684
- * @return {string}
685
- */
686
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getCompany = function() {
687
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
688
- };
689
-
690
-
691
- /**
692
- * @param {string} value
693
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
694
- */
695
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setCompany = function(value) {
696
- return jspb.Message.setProto3StringField(this, 5, value);
697
- };
698
-
699
-
700
- /**
701
- * optional int32 client_id = 6;
702
- * @return {number}
703
- */
704
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getClientId = function() {
705
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
706
- };
707
-
708
-
709
- /**
710
- * @param {number} value
711
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
712
- */
713
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setClientId = function(value) {
714
- return jspb.Message.setProto3IntField(this, 6, value);
715
- };
716
-
717
-
718
- /**
719
- * optional string group_id = 7;
720
- * @return {string}
721
- */
722
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getGroupId = function() {
723
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
724
- };
725
-
726
-
727
- /**
728
- * @param {string} value
729
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
730
- */
731
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setGroupId = function(value) {
732
- return jspb.Message.setProto3StringField(this, 7, value);
733
- };
734
-
735
-
736
-
737
-
738
-
739
- if (jspb.Message.GENERATE_TO_OBJECT) {
740
- /**
741
- * Creates an object representation of this proto.
742
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
743
- * Optional fields that are not set will be set to undefined.
744
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
745
- * For the list of reserved names please see:
746
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
747
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
748
- * JSPB instance for transitional soy proto support:
749
- * http://goto/soy-param-migration
750
- * @return {!Object}
751
- */
752
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.toObject = function(opt_includeInstance) {
753
- return proto.Platform.LocalAccountProto.CreateAppRequest.toObject(opt_includeInstance, this);
754
- };
755
-
756
-
757
- /**
758
- * Static version of the {@see toObject} method.
759
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
760
- * the JSPB instance for transitional soy proto support:
761
- * http://goto/soy-param-migration
762
- * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} msg The msg instance to transform.
763
- * @return {!Object}
764
- * @suppress {unusedLocalVariables} f is only used for nested messages
765
- */
766
- proto.Platform.LocalAccountProto.CreateAppRequest.toObject = function(includeInstance, msg) {
767
- var f, obj = {
768
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
769
- lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
770
- firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
771
- locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
772
- company: jspb.Message.getFieldWithDefault(msg, 5, ""),
773
- clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
774
- groupId: jspb.Message.getFieldWithDefault(msg, 7, "")
775
- };
776
-
777
- if (includeInstance) {
778
- obj.$jspbMessageInstance = msg;
779
- }
780
- return obj;
781
- };
782
- }
783
-
784
-
785
- /**
786
- * Deserializes binary data (in protobuf wire format).
787
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
788
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest}
789
- */
790
- proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinary = function(bytes) {
791
- var reader = new jspb.BinaryReader(bytes);
792
- var msg = new proto.Platform.LocalAccountProto.CreateAppRequest;
793
- return proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader(msg, reader);
794
- };
795
-
796
-
797
- /**
798
- * Deserializes binary data (in protobuf wire format) from the
799
- * given reader into the given message object.
800
- * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} msg The message object to deserialize into.
801
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
802
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest}
803
- */
804
- proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader = function(msg, reader) {
805
- while (reader.nextField()) {
806
- if (reader.isEndGroup()) {
807
- break;
808
- }
809
- var field = reader.getFieldNumber();
810
- switch (field) {
811
- case 1:
812
- var value = /** @type {string} */ (reader.readString());
813
- msg.setPhone(value);
814
- break;
815
- case 2:
816
- var value = /** @type {string} */ (reader.readString());
817
- msg.setLastName(value);
818
- break;
819
- case 3:
820
- var value = /** @type {string} */ (reader.readString());
821
- msg.setFirstName(value);
822
- break;
823
- case 4:
824
- var value = /** @type {string} */ (reader.readString());
825
- msg.setLocale(value);
826
- break;
827
- case 5:
828
- var value = /** @type {string} */ (reader.readString());
829
- msg.setCompany(value);
830
- break;
831
- case 6:
832
- var value = /** @type {number} */ (reader.readInt32());
833
- msg.setClientId(value);
834
- break;
835
- case 7:
836
- var value = /** @type {string} */ (reader.readString());
837
- msg.setGroupId(value);
838
- break;
839
- default:
840
- reader.skipField();
841
- break;
842
- }
843
- }
844
- return msg;
845
- };
846
-
847
-
848
- /**
849
- * Serializes the message to binary data (in protobuf wire format).
850
- * @return {!Uint8Array}
851
- */
852
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.serializeBinary = function() {
853
- var writer = new jspb.BinaryWriter();
854
- proto.Platform.LocalAccountProto.CreateAppRequest.serializeBinaryToWriter(this, writer);
855
- return writer.getResultBuffer();
856
- };
857
-
858
-
859
- /**
860
- * Serializes the given message to binary data (in protobuf wire
861
- * format), writing to the given BinaryWriter.
862
- * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} message
863
- * @param {!jspb.BinaryWriter} writer
864
- * @suppress {unusedLocalVariables} f is only used for nested messages
865
- */
866
- proto.Platform.LocalAccountProto.CreateAppRequest.serializeBinaryToWriter = function(message, writer) {
867
- var f = undefined;
868
- f = message.getPhone();
869
- if (f.length > 0) {
870
- writer.writeString(
871
- 1,
872
- f
873
- );
874
- }
875
- f = message.getLastName();
876
- if (f.length > 0) {
877
- writer.writeString(
878
- 2,
879
- f
880
- );
881
- }
882
- f = message.getFirstName();
883
- if (f.length > 0) {
884
- writer.writeString(
885
- 3,
886
- f
887
- );
888
- }
889
- f = message.getLocale();
890
- if (f.length > 0) {
891
- writer.writeString(
892
- 4,
893
- f
894
- );
895
- }
896
- f = message.getCompany();
897
- if (f.length > 0) {
898
- writer.writeString(
899
- 5,
900
- f
901
- );
902
- }
903
- f = message.getClientId();
904
- if (f !== 0) {
905
- writer.writeInt32(
906
- 6,
907
- f
908
- );
909
- }
910
- f = message.getGroupId();
911
- if (f.length > 0) {
912
- writer.writeString(
913
- 7,
914
- f
915
- );
916
- }
917
- };
918
-
919
-
920
- /**
921
- * optional string phone = 1;
922
- * @return {string}
923
- */
924
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getPhone = function() {
925
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
926
- };
927
-
928
-
929
- /**
930
- * @param {string} value
931
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
932
- */
933
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setPhone = function(value) {
934
- return jspb.Message.setProto3StringField(this, 1, value);
935
- };
936
-
937
-
938
- /**
939
- * optional string last_name = 2;
940
- * @return {string}
941
- */
942
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getLastName = function() {
943
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
944
- };
945
-
946
-
947
- /**
948
- * @param {string} value
949
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
950
- */
951
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setLastName = function(value) {
952
- return jspb.Message.setProto3StringField(this, 2, value);
953
- };
954
-
955
-
956
- /**
957
- * optional string first_name = 3;
958
- * @return {string}
959
- */
960
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getFirstName = function() {
961
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
962
- };
963
-
964
-
965
- /**
966
- * @param {string} value
967
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
968
- */
969
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setFirstName = function(value) {
970
- return jspb.Message.setProto3StringField(this, 3, value);
971
- };
972
-
973
-
974
- /**
975
- * optional string locale = 4;
976
- * @return {string}
977
- */
978
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getLocale = function() {
979
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
980
- };
981
-
982
-
983
- /**
984
- * @param {string} value
985
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
986
- */
987
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setLocale = function(value) {
988
- return jspb.Message.setProto3StringField(this, 4, value);
989
- };
990
-
991
-
992
- /**
993
- * optional string company = 5;
994
- * @return {string}
995
- */
996
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getCompany = function() {
997
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
998
- };
999
-
1000
-
1001
- /**
1002
- * @param {string} value
1003
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1004
- */
1005
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setCompany = function(value) {
1006
- return jspb.Message.setProto3StringField(this, 5, value);
1007
- };
1008
-
1009
-
1010
- /**
1011
- * optional int32 client_id = 6;
1012
- * @return {number}
1013
- */
1014
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getClientId = function() {
1015
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1016
- };
1017
-
1018
-
1019
- /**
1020
- * @param {number} value
1021
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1022
- */
1023
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setClientId = function(value) {
1024
- return jspb.Message.setProto3IntField(this, 6, value);
1025
- };
1026
-
1027
-
1028
- /**
1029
- * optional string group_id = 7;
1030
- * @return {string}
1031
- */
1032
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getGroupId = function() {
1033
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1034
- };
1035
-
1036
-
1037
- /**
1038
- * @param {string} value
1039
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1040
- */
1041
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setGroupId = function(value) {
1042
- return jspb.Message.setProto3StringField(this, 7, value);
1043
- };
1044
-
1045
-
1046
-
1047
-
1048
-
1049
- if (jspb.Message.GENERATE_TO_OBJECT) {
1050
- /**
1051
- * Creates an object representation of this proto.
1052
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1053
- * Optional fields that are not set will be set to undefined.
1054
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1055
- * For the list of reserved names please see:
1056
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1057
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1058
- * JSPB instance for transitional soy proto support:
1059
- * http://goto/soy-param-migration
1060
- * @return {!Object}
1061
- */
1062
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
1063
- return proto.Platform.LocalAccountProto.UpdateRequest.toObject(opt_includeInstance, this);
1064
- };
1065
-
1066
-
1067
- /**
1068
- * Static version of the {@see toObject} method.
1069
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1070
- * the JSPB instance for transitional soy proto support:
1071
- * http://goto/soy-param-migration
1072
- * @param {!proto.Platform.LocalAccountProto.UpdateRequest} msg The msg instance to transform.
1073
- * @return {!Object}
1074
- * @suppress {unusedLocalVariables} f is only used for nested messages
1075
- */
1076
- proto.Platform.LocalAccountProto.UpdateRequest.toObject = function(includeInstance, msg) {
1077
- var f, obj = {
1078
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1079
- lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1080
- firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1081
- locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
1082
- company: jspb.Message.getFieldWithDefault(msg, 5, ""),
1083
- groupId: jspb.Message.getFieldWithDefault(msg, 6, "")
1084
- };
1085
-
1086
- if (includeInstance) {
1087
- obj.$jspbMessageInstance = msg;
1088
- }
1089
- return obj;
1090
- };
1091
- }
1092
-
1093
-
1094
- /**
1095
- * Deserializes binary data (in protobuf wire format).
1096
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1097
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest}
1098
- */
1099
- proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinary = function(bytes) {
1100
- var reader = new jspb.BinaryReader(bytes);
1101
- var msg = new proto.Platform.LocalAccountProto.UpdateRequest;
1102
- return proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
1103
- };
1104
-
1105
-
1106
- /**
1107
- * Deserializes binary data (in protobuf wire format) from the
1108
- * given reader into the given message object.
1109
- * @param {!proto.Platform.LocalAccountProto.UpdateRequest} msg The message object to deserialize into.
1110
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1111
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest}
1112
- */
1113
- proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
1114
- while (reader.nextField()) {
1115
- if (reader.isEndGroup()) {
1116
- break;
1117
- }
1118
- var field = reader.getFieldNumber();
1119
- switch (field) {
1120
- case 1:
1121
- var value = /** @type {number} */ (reader.readInt64());
1122
- msg.setId(value);
1123
- break;
1124
- case 2:
1125
- var value = /** @type {string} */ (reader.readString());
1126
- msg.setLastName(value);
1127
- break;
1128
- case 3:
1129
- var value = /** @type {string} */ (reader.readString());
1130
- msg.setFirstName(value);
1131
- break;
1132
- case 4:
1133
- var value = /** @type {string} */ (reader.readString());
1134
- msg.setLocale(value);
1135
- break;
1136
- case 5:
1137
- var value = /** @type {string} */ (reader.readString());
1138
- msg.setCompany(value);
1139
- break;
1140
- case 6:
1141
- var value = /** @type {string} */ (reader.readString());
1142
- msg.setGroupId(value);
1143
- break;
1144
- default:
1145
- reader.skipField();
1146
- break;
1147
- }
1148
- }
1149
- return msg;
1150
- };
1151
-
1152
-
1153
- /**
1154
- * Serializes the message to binary data (in protobuf wire format).
1155
- * @return {!Uint8Array}
1156
- */
1157
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.serializeBinary = function() {
1158
- var writer = new jspb.BinaryWriter();
1159
- proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter(this, writer);
1160
- return writer.getResultBuffer();
1161
- };
1162
-
1163
-
1164
- /**
1165
- * Serializes the given message to binary data (in protobuf wire
1166
- * format), writing to the given BinaryWriter.
1167
- * @param {!proto.Platform.LocalAccountProto.UpdateRequest} message
1168
- * @param {!jspb.BinaryWriter} writer
1169
- * @suppress {unusedLocalVariables} f is only used for nested messages
1170
- */
1171
- proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
1172
- var f = undefined;
1173
- f = message.getId();
1174
- if (f !== 0) {
1175
- writer.writeInt64(
1176
- 1,
1177
- f
1178
- );
1179
- }
1180
- f = message.getLastName();
1181
- if (f.length > 0) {
1182
- writer.writeString(
1183
- 2,
1184
- f
1185
- );
1186
- }
1187
- f = message.getFirstName();
1188
- if (f.length > 0) {
1189
- writer.writeString(
1190
- 3,
1191
- f
1192
- );
1193
- }
1194
- f = message.getLocale();
1195
- if (f.length > 0) {
1196
- writer.writeString(
1197
- 4,
1198
- f
1199
- );
1200
- }
1201
- f = message.getCompany();
1202
- if (f.length > 0) {
1203
- writer.writeString(
1204
- 5,
1205
- f
1206
- );
1207
- }
1208
- f = message.getGroupId();
1209
- if (f.length > 0) {
1210
- writer.writeString(
1211
- 6,
1212
- f
1213
- );
1214
- }
1215
- };
1216
-
1217
-
1218
- /**
1219
- * optional int64 id = 1;
1220
- * @return {number}
1221
- */
1222
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getId = function() {
1223
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1224
- };
1225
-
1226
-
1227
- /**
1228
- * @param {number} value
1229
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1230
- */
1231
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setId = function(value) {
1232
- return jspb.Message.setProto3IntField(this, 1, value);
1233
- };
1234
-
1235
-
1236
- /**
1237
- * optional string last_name = 2;
1238
- * @return {string}
1239
- */
1240
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getLastName = function() {
1241
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1242
- };
1243
-
1244
-
1245
- /**
1246
- * @param {string} value
1247
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1248
- */
1249
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setLastName = function(value) {
1250
- return jspb.Message.setProto3StringField(this, 2, value);
1251
- };
1252
-
1253
-
1254
- /**
1255
- * optional string first_name = 3;
1256
- * @return {string}
1257
- */
1258
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getFirstName = function() {
1259
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1260
- };
1261
-
1262
-
1263
- /**
1264
- * @param {string} value
1265
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1266
- */
1267
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setFirstName = function(value) {
1268
- return jspb.Message.setProto3StringField(this, 3, value);
1269
- };
1270
-
1271
-
1272
- /**
1273
- * optional string locale = 4;
1274
- * @return {string}
1275
- */
1276
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getLocale = function() {
1277
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1278
- };
1279
-
1280
-
1281
- /**
1282
- * @param {string} value
1283
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1284
- */
1285
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setLocale = function(value) {
1286
- return jspb.Message.setProto3StringField(this, 4, value);
1287
- };
1288
-
1289
-
1290
- /**
1291
- * optional string company = 5;
1292
- * @return {string}
1293
- */
1294
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getCompany = function() {
1295
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1296
- };
1297
-
1298
-
1299
- /**
1300
- * @param {string} value
1301
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1302
- */
1303
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setCompany = function(value) {
1304
- return jspb.Message.setProto3StringField(this, 5, value);
1305
- };
1306
-
1307
-
1308
- /**
1309
- * optional string group_id = 6;
1310
- * @return {string}
1311
- */
1312
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getGroupId = function() {
1313
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1314
- };
1315
-
1316
-
1317
- /**
1318
- * @param {string} value
1319
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1320
- */
1321
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setGroupId = function(value) {
1322
- return jspb.Message.setProto3StringField(this, 6, value);
1323
- };
1324
-
1325
-
1326
-
1327
-
1328
-
1329
- if (jspb.Message.GENERATE_TO_OBJECT) {
1330
- /**
1331
- * Creates an object representation of this proto.
1332
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1333
- * Optional fields that are not set will be set to undefined.
1334
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1335
- * For the list of reserved names please see:
1336
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1337
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1338
- * JSPB instance for transitional soy proto support:
1339
- * http://goto/soy-param-migration
1340
- * @return {!Object}
1341
- */
1342
- proto.Platform.LocalAccountProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1343
- return proto.Platform.LocalAccountProto.SearchRequest.toObject(opt_includeInstance, this);
1344
- };
1345
-
1346
-
1347
- /**
1348
- * Static version of the {@see toObject} method.
1349
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1350
- * the JSPB instance for transitional soy proto support:
1351
- * http://goto/soy-param-migration
1352
- * @param {!proto.Platform.LocalAccountProto.SearchRequest} msg The msg instance to transform.
1353
- * @return {!Object}
1354
- * @suppress {unusedLocalVariables} f is only used for nested messages
1355
- */
1356
- proto.Platform.LocalAccountProto.SearchRequest.toObject = function(includeInstance, msg) {
1357
- var f, obj = {
1358
- search: jspb.Message.getFieldWithDefault(msg, 1, ""),
1359
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
1360
- count: jspb.Message.getFieldWithDefault(msg, 3, 0)
1361
- };
1362
-
1363
- if (includeInstance) {
1364
- obj.$jspbMessageInstance = msg;
1365
- }
1366
- return obj;
1367
- };
1368
- }
1369
-
1370
-
1371
- /**
1372
- * Deserializes binary data (in protobuf wire format).
1373
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1374
- * @return {!proto.Platform.LocalAccountProto.SearchRequest}
1375
- */
1376
- proto.Platform.LocalAccountProto.SearchRequest.deserializeBinary = function(bytes) {
1377
- var reader = new jspb.BinaryReader(bytes);
1378
- var msg = new proto.Platform.LocalAccountProto.SearchRequest;
1379
- return proto.Platform.LocalAccountProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1380
- };
1381
-
1382
-
1383
- /**
1384
- * Deserializes binary data (in protobuf wire format) from the
1385
- * given reader into the given message object.
1386
- * @param {!proto.Platform.LocalAccountProto.SearchRequest} msg The message object to deserialize into.
1387
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1388
- * @return {!proto.Platform.LocalAccountProto.SearchRequest}
1389
- */
1390
- proto.Platform.LocalAccountProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1391
- while (reader.nextField()) {
1392
- if (reader.isEndGroup()) {
1393
- break;
1394
- }
1395
- var field = reader.getFieldNumber();
1396
- switch (field) {
1397
- case 1:
1398
- var value = /** @type {string} */ (reader.readString());
1399
- msg.setSearch(value);
1400
- break;
1401
- case 2:
1402
- var value = /** @type {number} */ (reader.readInt32());
1403
- msg.setPage(value);
1404
- break;
1405
- case 3:
1406
- var value = /** @type {number} */ (reader.readInt32());
1407
- msg.setCount(value);
1408
- break;
1409
- default:
1410
- reader.skipField();
1411
- break;
1412
- }
1413
- }
1414
- return msg;
1415
- };
1416
-
1417
-
1418
- /**
1419
- * Serializes the message to binary data (in protobuf wire format).
1420
- * @return {!Uint8Array}
1421
- */
1422
- proto.Platform.LocalAccountProto.SearchRequest.prototype.serializeBinary = function() {
1423
- var writer = new jspb.BinaryWriter();
1424
- proto.Platform.LocalAccountProto.SearchRequest.serializeBinaryToWriter(this, writer);
1425
- return writer.getResultBuffer();
1426
- };
1427
-
1428
-
1429
- /**
1430
- * Serializes the given message to binary data (in protobuf wire
1431
- * format), writing to the given BinaryWriter.
1432
- * @param {!proto.Platform.LocalAccountProto.SearchRequest} message
1433
- * @param {!jspb.BinaryWriter} writer
1434
- * @suppress {unusedLocalVariables} f is only used for nested messages
1435
- */
1436
- proto.Platform.LocalAccountProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1437
- var f = undefined;
1438
- f = message.getSearch();
1439
- if (f.length > 0) {
1440
- writer.writeString(
1441
- 1,
1442
- f
1443
- );
1444
- }
1445
- f = message.getPage();
1446
- if (f !== 0) {
1447
- writer.writeInt32(
1448
- 2,
1449
- f
1450
- );
1451
- }
1452
- f = message.getCount();
1453
- if (f !== 0) {
1454
- writer.writeInt32(
1455
- 3,
1456
- f
1457
- );
1458
- }
1459
- };
1460
-
1461
-
1462
- /**
1463
- * optional string search = 1;
1464
- * @return {string}
1465
- */
1466
- proto.Platform.LocalAccountProto.SearchRequest.prototype.getSearch = function() {
1467
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1468
- };
1469
-
1470
-
1471
- /**
1472
- * @param {string} value
1473
- * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
1474
- */
1475
- proto.Platform.LocalAccountProto.SearchRequest.prototype.setSearch = function(value) {
1476
- return jspb.Message.setProto3StringField(this, 1, value);
1477
- };
1478
-
1479
-
1480
- /**
1481
- * optional int32 page = 2;
1482
- * @return {number}
1483
- */
1484
- proto.Platform.LocalAccountProto.SearchRequest.prototype.getPage = function() {
1485
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1486
- };
1487
-
1488
-
1489
- /**
1490
- * @param {number} value
1491
- * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
1492
- */
1493
- proto.Platform.LocalAccountProto.SearchRequest.prototype.setPage = function(value) {
1494
- return jspb.Message.setProto3IntField(this, 2, value);
1495
- };
1496
-
1497
-
1498
- /**
1499
- * optional int32 count = 3;
1500
- * @return {number}
1501
- */
1502
- proto.Platform.LocalAccountProto.SearchRequest.prototype.getCount = function() {
1503
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1504
- };
1505
-
1506
-
1507
- /**
1508
- * @param {number} value
1509
- * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
1510
- */
1511
- proto.Platform.LocalAccountProto.SearchRequest.prototype.setCount = function(value) {
1512
- return jspb.Message.setProto3IntField(this, 3, value);
1513
- };
1514
-
1515
-
1516
-
1517
- /**
1518
- * List of repeated fields within this message type.
1519
- * @private {!Array<number>}
1520
- * @const
1521
- */
1522
- proto.Platform.LocalAccountProto.SearchReply.repeatedFields_ = [1];
1523
-
1524
-
1525
-
1526
- if (jspb.Message.GENERATE_TO_OBJECT) {
1527
- /**
1528
- * Creates an object representation of this proto.
1529
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1530
- * Optional fields that are not set will be set to undefined.
1531
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1532
- * For the list of reserved names please see:
1533
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1534
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1535
- * JSPB instance for transitional soy proto support:
1536
- * http://goto/soy-param-migration
1537
- * @return {!Object}
1538
- */
1539
- proto.Platform.LocalAccountProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1540
- return proto.Platform.LocalAccountProto.SearchReply.toObject(opt_includeInstance, this);
1541
- };
1542
-
1543
-
1544
- /**
1545
- * Static version of the {@see toObject} method.
1546
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1547
- * the JSPB instance for transitional soy proto support:
1548
- * http://goto/soy-param-migration
1549
- * @param {!proto.Platform.LocalAccountProto.SearchReply} msg The msg instance to transform.
1550
- * @return {!Object}
1551
- * @suppress {unusedLocalVariables} f is only used for nested messages
1552
- */
1553
- proto.Platform.LocalAccountProto.SearchReply.toObject = function(includeInstance, msg) {
1554
- var f, obj = {
1555
- accountsList: jspb.Message.toObjectList(msg.getAccountsList(),
1556
- proto.Platform.LocalAccountProto.toObject, includeInstance),
1557
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1558
- };
1559
-
1560
- if (includeInstance) {
1561
- obj.$jspbMessageInstance = msg;
1562
- }
1563
- return obj;
1564
- };
1565
- }
1566
-
1567
-
1568
- /**
1569
- * Deserializes binary data (in protobuf wire format).
1570
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1571
- * @return {!proto.Platform.LocalAccountProto.SearchReply}
1572
- */
1573
- proto.Platform.LocalAccountProto.SearchReply.deserializeBinary = function(bytes) {
1574
- var reader = new jspb.BinaryReader(bytes);
1575
- var msg = new proto.Platform.LocalAccountProto.SearchReply;
1576
- return proto.Platform.LocalAccountProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1577
- };
1578
-
1579
-
1580
- /**
1581
- * Deserializes binary data (in protobuf wire format) from the
1582
- * given reader into the given message object.
1583
- * @param {!proto.Platform.LocalAccountProto.SearchReply} msg The message object to deserialize into.
1584
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1585
- * @return {!proto.Platform.LocalAccountProto.SearchReply}
1586
- */
1587
- proto.Platform.LocalAccountProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1588
- while (reader.nextField()) {
1589
- if (reader.isEndGroup()) {
1590
- break;
1591
- }
1592
- var field = reader.getFieldNumber();
1593
- switch (field) {
1594
- case 1:
1595
- var value = new proto.Platform.LocalAccountProto;
1596
- reader.readMessage(value,proto.Platform.LocalAccountProto.deserializeBinaryFromReader);
1597
- msg.addAccounts(value);
1598
- break;
1599
- case 2:
1600
- var value = new platform_pagination_pb.PaginationProto;
1601
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1602
- msg.setPagination(value);
1603
- break;
1604
- default:
1605
- reader.skipField();
1606
- break;
1607
- }
1608
- }
1609
- return msg;
1610
- };
1611
-
1612
-
1613
- /**
1614
- * Serializes the message to binary data (in protobuf wire format).
1615
- * @return {!Uint8Array}
1616
- */
1617
- proto.Platform.LocalAccountProto.SearchReply.prototype.serializeBinary = function() {
1618
- var writer = new jspb.BinaryWriter();
1619
- proto.Platform.LocalAccountProto.SearchReply.serializeBinaryToWriter(this, writer);
1620
- return writer.getResultBuffer();
1621
- };
1622
-
1623
-
1624
- /**
1625
- * Serializes the given message to binary data (in protobuf wire
1626
- * format), writing to the given BinaryWriter.
1627
- * @param {!proto.Platform.LocalAccountProto.SearchReply} message
1628
- * @param {!jspb.BinaryWriter} writer
1629
- * @suppress {unusedLocalVariables} f is only used for nested messages
1630
- */
1631
- proto.Platform.LocalAccountProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1632
- var f = undefined;
1633
- f = message.getAccountsList();
1634
- if (f.length > 0) {
1635
- writer.writeRepeatedMessage(
1636
- 1,
1637
- f,
1638
- proto.Platform.LocalAccountProto.serializeBinaryToWriter
1639
- );
1640
- }
1641
- f = message.getPagination();
1642
- if (f != null) {
1643
- writer.writeMessage(
1644
- 2,
1645
- f,
1646
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1647
- );
1648
- }
1649
- };
1650
-
1651
-
1652
- /**
1653
- * repeated LocalAccountProto accounts = 1;
1654
- * @return {!Array<!proto.Platform.LocalAccountProto>}
1655
- */
1656
- proto.Platform.LocalAccountProto.SearchReply.prototype.getAccountsList = function() {
1657
- return /** @type{!Array<!proto.Platform.LocalAccountProto>} */ (
1658
- jspb.Message.getRepeatedWrapperField(this, proto.Platform.LocalAccountProto, 1));
1659
- };
1660
-
1661
-
1662
- /**
1663
- * @param {!Array<!proto.Platform.LocalAccountProto>} value
1664
- * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
1665
- */
1666
- proto.Platform.LocalAccountProto.SearchReply.prototype.setAccountsList = function(value) {
1667
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1668
- };
1669
-
1670
-
1671
- /**
1672
- * @param {!proto.Platform.LocalAccountProto=} opt_value
1673
- * @param {number=} opt_index
1674
- * @return {!proto.Platform.LocalAccountProto}
1675
- */
1676
- proto.Platform.LocalAccountProto.SearchReply.prototype.addAccounts = function(opt_value, opt_index) {
1677
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Platform.LocalAccountProto, opt_index);
1678
- };
1679
-
1680
-
1681
- /**
1682
- * Clears the list making it empty but non-null.
1683
- * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
1684
- */
1685
- proto.Platform.LocalAccountProto.SearchReply.prototype.clearAccountsList = function() {
1686
- return this.setAccountsList([]);
1687
- };
1688
-
1689
-
1690
- /**
1691
- * optional PaginationProto pagination = 2;
1692
- * @return {?proto.Platform.PaginationProto}
1693
- */
1694
- proto.Platform.LocalAccountProto.SearchReply.prototype.getPagination = function() {
1695
- return /** @type{?proto.Platform.PaginationProto} */ (
1696
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1697
- };
1698
-
1699
-
1700
- /**
1701
- * @param {?proto.Platform.PaginationProto|undefined} value
1702
- * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
1703
- */
1704
- proto.Platform.LocalAccountProto.SearchReply.prototype.setPagination = function(value) {
1705
- return jspb.Message.setWrapperField(this, 2, value);
1706
- };
1707
-
1708
-
1709
- /**
1710
- * Clears the message field making it undefined.
1711
- * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
1712
- */
1713
- proto.Platform.LocalAccountProto.SearchReply.prototype.clearPagination = function() {
1714
- return this.setPagination(undefined);
1715
- };
1716
-
1717
-
1718
- /**
1719
- * Returns whether this field is set.
1720
- * @return {boolean}
1721
- */
1722
- proto.Platform.LocalAccountProto.SearchReply.prototype.hasPagination = function() {
1723
- return jspb.Message.getField(this, 2) != null;
1724
- };
1725
-
1726
-
1727
-
1728
-
1729
-
1730
- if (jspb.Message.GENERATE_TO_OBJECT) {
1731
- /**
1732
- * Creates an object representation of this proto.
1733
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1734
- * Optional fields that are not set will be set to undefined.
1735
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1736
- * For the list of reserved names please see:
1737
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1738
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1739
- * JSPB instance for transitional soy proto support:
1740
- * http://goto/soy-param-migration
1741
- * @return {!Object}
1742
- */
1743
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.toObject = function(opt_includeInstance) {
1744
- return proto.Platform.LocalAccountProto.SetClientRequest.toObject(opt_includeInstance, this);
1745
- };
1746
-
1747
-
1748
- /**
1749
- * Static version of the {@see toObject} method.
1750
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1751
- * the JSPB instance for transitional soy proto support:
1752
- * http://goto/soy-param-migration
1753
- * @param {!proto.Platform.LocalAccountProto.SetClientRequest} msg The msg instance to transform.
1754
- * @return {!Object}
1755
- * @suppress {unusedLocalVariables} f is only used for nested messages
1756
- */
1757
- proto.Platform.LocalAccountProto.SetClientRequest.toObject = function(includeInstance, msg) {
1758
- var f, obj = {
1759
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1760
- clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
1761
- };
1762
-
1763
- if (includeInstance) {
1764
- obj.$jspbMessageInstance = msg;
1765
- }
1766
- return obj;
1767
- };
1768
- }
1769
-
1770
-
1771
- /**
1772
- * Deserializes binary data (in protobuf wire format).
1773
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1774
- * @return {!proto.Platform.LocalAccountProto.SetClientRequest}
1775
- */
1776
- proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinary = function(bytes) {
1777
- var reader = new jspb.BinaryReader(bytes);
1778
- var msg = new proto.Platform.LocalAccountProto.SetClientRequest;
1779
- return proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinaryFromReader(msg, reader);
1780
- };
1781
-
1782
-
1783
- /**
1784
- * Deserializes binary data (in protobuf wire format) from the
1785
- * given reader into the given message object.
1786
- * @param {!proto.Platform.LocalAccountProto.SetClientRequest} msg The message object to deserialize into.
1787
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1788
- * @return {!proto.Platform.LocalAccountProto.SetClientRequest}
1789
- */
1790
- proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinaryFromReader = function(msg, reader) {
1791
- while (reader.nextField()) {
1792
- if (reader.isEndGroup()) {
1793
- break;
1794
- }
1795
- var field = reader.getFieldNumber();
1796
- switch (field) {
1797
- case 1:
1798
- var value = /** @type {number} */ (reader.readInt64());
1799
- msg.setId(value);
1800
- break;
1801
- case 2:
1802
- var value = /** @type {number} */ (reader.readInt32());
1803
- msg.setClientId(value);
1804
- break;
1805
- default:
1806
- reader.skipField();
1807
- break;
1808
- }
1809
- }
1810
- return msg;
1811
- };
1812
-
1813
-
1814
- /**
1815
- * Serializes the message to binary data (in protobuf wire format).
1816
- * @return {!Uint8Array}
1817
- */
1818
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.serializeBinary = function() {
1819
- var writer = new jspb.BinaryWriter();
1820
- proto.Platform.LocalAccountProto.SetClientRequest.serializeBinaryToWriter(this, writer);
1821
- return writer.getResultBuffer();
1822
- };
1823
-
1824
-
1825
- /**
1826
- * Serializes the given message to binary data (in protobuf wire
1827
- * format), writing to the given BinaryWriter.
1828
- * @param {!proto.Platform.LocalAccountProto.SetClientRequest} message
1829
- * @param {!jspb.BinaryWriter} writer
1830
- * @suppress {unusedLocalVariables} f is only used for nested messages
1831
- */
1832
- proto.Platform.LocalAccountProto.SetClientRequest.serializeBinaryToWriter = function(message, writer) {
1833
- var f = undefined;
1834
- f = message.getId();
1835
- if (f !== 0) {
1836
- writer.writeInt64(
1837
- 1,
1838
- f
1839
- );
1840
- }
1841
- f = message.getClientId();
1842
- if (f !== 0) {
1843
- writer.writeInt32(
1844
- 2,
1845
- f
1846
- );
1847
- }
1848
- };
1849
-
1850
-
1851
- /**
1852
- * optional int64 id = 1;
1853
- * @return {number}
1854
- */
1855
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.getId = function() {
1856
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1857
- };
1858
-
1859
-
1860
- /**
1861
- * @param {number} value
1862
- * @return {!proto.Platform.LocalAccountProto.SetClientRequest} returns this
1863
- */
1864
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.setId = function(value) {
1865
- return jspb.Message.setProto3IntField(this, 1, value);
1866
- };
1867
-
1868
-
1869
- /**
1870
- * optional int32 client_id = 2;
1871
- * @return {number}
1872
- */
1873
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.getClientId = function() {
1874
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1875
- };
1876
-
1877
-
1878
- /**
1879
- * @param {number} value
1880
- * @return {!proto.Platform.LocalAccountProto.SetClientRequest} returns this
1881
- */
1882
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.setClientId = function(value) {
1883
- return jspb.Message.setProto3IntField(this, 2, value);
1884
- };
1885
-
1886
-
1887
-
1888
-
1889
-
1890
- if (jspb.Message.GENERATE_TO_OBJECT) {
1891
- /**
1892
- * Creates an object representation of this proto.
1893
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1894
- * Optional fields that are not set will be set to undefined.
1895
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1896
- * For the list of reserved names please see:
1897
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1898
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1899
- * JSPB instance for transitional soy proto support:
1900
- * http://goto/soy-param-migration
1901
- * @return {!Object}
1902
- */
1903
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.toObject = function(opt_includeInstance) {
1904
- return proto.Platform.LocalAccountProto.AddClientRequest.toObject(opt_includeInstance, this);
1905
- };
1906
-
1907
-
1908
- /**
1909
- * Static version of the {@see toObject} method.
1910
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1911
- * the JSPB instance for transitional soy proto support:
1912
- * http://goto/soy-param-migration
1913
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} msg The msg instance to transform.
1914
- * @return {!Object}
1915
- * @suppress {unusedLocalVariables} f is only used for nested messages
1916
- */
1917
- proto.Platform.LocalAccountProto.AddClientRequest.toObject = function(includeInstance, msg) {
1918
- var f, obj = {
1919
- account: (f = msg.getAccount()) && auth_account_pb.AccountProto.toObject(includeInstance, f),
1920
- clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
1921
- };
1922
-
1923
- if (includeInstance) {
1924
- obj.$jspbMessageInstance = msg;
1925
- }
1926
- return obj;
1927
- };
1928
- }
1929
-
1930
-
1931
- /**
1932
- * Deserializes binary data (in protobuf wire format).
1933
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1934
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest}
1935
- */
1936
- proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinary = function(bytes) {
1937
- var reader = new jspb.BinaryReader(bytes);
1938
- var msg = new proto.Platform.LocalAccountProto.AddClientRequest;
1939
- return proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader(msg, reader);
1940
- };
1941
-
1942
-
1943
- /**
1944
- * Deserializes binary data (in protobuf wire format) from the
1945
- * given reader into the given message object.
1946
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} msg The message object to deserialize into.
1947
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1948
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest}
1949
- */
1950
- proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader = function(msg, reader) {
1951
- while (reader.nextField()) {
1952
- if (reader.isEndGroup()) {
1953
- break;
1954
- }
1955
- var field = reader.getFieldNumber();
1956
- switch (field) {
1957
- case 1:
1958
- var value = new auth_account_pb.AccountProto;
1959
- reader.readMessage(value,auth_account_pb.AccountProto.deserializeBinaryFromReader);
1960
- msg.setAccount(value);
1961
- break;
1962
- case 2:
1963
- var value = /** @type {number} */ (reader.readInt32());
1964
- msg.setClientId(value);
1965
- break;
1966
- default:
1967
- reader.skipField();
1968
- break;
1969
- }
1970
- }
1971
- return msg;
1972
- };
1973
-
1974
-
1975
- /**
1976
- * Serializes the message to binary data (in protobuf wire format).
1977
- * @return {!Uint8Array}
1978
- */
1979
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.serializeBinary = function() {
1980
- var writer = new jspb.BinaryWriter();
1981
- proto.Platform.LocalAccountProto.AddClientRequest.serializeBinaryToWriter(this, writer);
1982
- return writer.getResultBuffer();
1983
- };
1984
-
1985
-
1986
- /**
1987
- * Serializes the given message to binary data (in protobuf wire
1988
- * format), writing to the given BinaryWriter.
1989
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} message
1990
- * @param {!jspb.BinaryWriter} writer
1991
- * @suppress {unusedLocalVariables} f is only used for nested messages
1992
- */
1993
- proto.Platform.LocalAccountProto.AddClientRequest.serializeBinaryToWriter = function(message, writer) {
1994
- var f = undefined;
1995
- f = message.getAccount();
1996
- if (f != null) {
1997
- writer.writeMessage(
1998
- 1,
1999
- f,
2000
- auth_account_pb.AccountProto.serializeBinaryToWriter
2001
- );
2002
- }
2003
- f = message.getClientId();
2004
- if (f !== 0) {
2005
- writer.writeInt32(
2006
- 2,
2007
- f
2008
- );
2009
- }
2010
- };
2011
-
2012
-
2013
- /**
2014
- * optional Auth.AccountProto account = 1;
2015
- * @return {?proto.Auth.AccountProto}
2016
- */
2017
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.getAccount = function() {
2018
- return /** @type{?proto.Auth.AccountProto} */ (
2019
- jspb.Message.getWrapperField(this, auth_account_pb.AccountProto, 1));
2020
- };
2021
-
2022
-
2023
- /**
2024
- * @param {?proto.Auth.AccountProto|undefined} value
2025
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2026
- */
2027
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.setAccount = function(value) {
2028
- return jspb.Message.setWrapperField(this, 1, value);
2029
- };
2030
-
2031
-
2032
- /**
2033
- * Clears the message field making it undefined.
2034
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2035
- */
2036
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.clearAccount = function() {
2037
- return this.setAccount(undefined);
2038
- };
2039
-
2040
-
2041
- /**
2042
- * Returns whether this field is set.
2043
- * @return {boolean}
2044
- */
2045
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.hasAccount = function() {
2046
- return jspb.Message.getField(this, 1) != null;
2047
- };
2048
-
2049
-
2050
- /**
2051
- * optional int32 client_id = 2;
2052
- * @return {number}
2053
- */
2054
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.getClientId = function() {
2055
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2056
- };
2057
-
2058
-
2059
- /**
2060
- * @param {number} value
2061
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2062
- */
2063
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.setClientId = function(value) {
2064
- return jspb.Message.setProto3IntField(this, 2, value);
2065
- };
2066
-
2067
-
2068
-
2069
-
2070
-
2071
- if (jspb.Message.GENERATE_TO_OBJECT) {
2072
- /**
2073
- * Creates an object representation of this proto.
2074
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2075
- * Optional fields that are not set will be set to undefined.
2076
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2077
- * For the list of reserved names please see:
2078
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2079
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2080
- * JSPB instance for transitional soy proto support:
2081
- * http://goto/soy-param-migration
2082
- * @return {!Object}
2083
- */
2084
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.toObject = function(opt_includeInstance) {
2085
- return proto.Platform.LocalAccountProto.RemoveClientRequest.toObject(opt_includeInstance, this);
2086
- };
2087
-
2088
-
2089
- /**
2090
- * Static version of the {@see toObject} method.
2091
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2092
- * the JSPB instance for transitional soy proto support:
2093
- * http://goto/soy-param-migration
2094
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} msg The msg instance to transform.
2095
- * @return {!Object}
2096
- * @suppress {unusedLocalVariables} f is only used for nested messages
2097
- */
2098
- proto.Platform.LocalAccountProto.RemoveClientRequest.toObject = function(includeInstance, msg) {
2099
- var f, obj = {
2100
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2101
- clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
2102
- };
2103
-
2104
- if (includeInstance) {
2105
- obj.$jspbMessageInstance = msg;
2106
- }
2107
- return obj;
2108
- };
2109
- }
2110
-
2111
-
2112
- /**
2113
- * Deserializes binary data (in protobuf wire format).
2114
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2115
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest}
2116
- */
2117
- proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinary = function(bytes) {
2118
- var reader = new jspb.BinaryReader(bytes);
2119
- var msg = new proto.Platform.LocalAccountProto.RemoveClientRequest;
2120
- return proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader(msg, reader);
2121
- };
2122
-
2123
-
2124
- /**
2125
- * Deserializes binary data (in protobuf wire format) from the
2126
- * given reader into the given message object.
2127
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} msg The message object to deserialize into.
2128
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2129
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest}
2130
- */
2131
- proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader = function(msg, reader) {
2132
- while (reader.nextField()) {
2133
- if (reader.isEndGroup()) {
2134
- break;
2135
- }
2136
- var field = reader.getFieldNumber();
2137
- switch (field) {
2138
- case 1:
2139
- var value = /** @type {number} */ (reader.readInt64());
2140
- msg.setId(value);
2141
- break;
2142
- case 2:
2143
- var value = /** @type {number} */ (reader.readInt32());
2144
- msg.setClientId(value);
2145
- break;
2146
- default:
2147
- reader.skipField();
2148
- break;
2149
- }
2150
- }
2151
- return msg;
2152
- };
2153
-
2154
-
2155
- /**
2156
- * Serializes the message to binary data (in protobuf wire format).
2157
- * @return {!Uint8Array}
2158
- */
2159
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.serializeBinary = function() {
2160
- var writer = new jspb.BinaryWriter();
2161
- proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter(this, writer);
2162
- return writer.getResultBuffer();
2163
- };
2164
-
2165
-
2166
- /**
2167
- * Serializes the given message to binary data (in protobuf wire
2168
- * format), writing to the given BinaryWriter.
2169
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} message
2170
- * @param {!jspb.BinaryWriter} writer
2171
- * @suppress {unusedLocalVariables} f is only used for nested messages
2172
- */
2173
- proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter = function(message, writer) {
2174
- var f = undefined;
2175
- f = message.getId();
2176
- if (f !== 0) {
2177
- writer.writeInt64(
2178
- 1,
2179
- f
2180
- );
2181
- }
2182
- f = message.getClientId();
2183
- if (f !== 0) {
2184
- writer.writeInt32(
2185
- 2,
2186
- f
2187
- );
2188
- }
2189
- };
2190
-
2191
-
2192
- /**
2193
- * optional int64 id = 1;
2194
- * @return {number}
2195
- */
2196
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.getId = function() {
2197
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2198
- };
2199
-
2200
-
2201
- /**
2202
- * @param {number} value
2203
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest} returns this
2204
- */
2205
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setId = function(value) {
2206
- return jspb.Message.setProto3IntField(this, 1, value);
2207
- };
2208
-
2209
-
2210
- /**
2211
- * optional int32 client_id = 2;
2212
- * @return {number}
2213
- */
2214
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.getClientId = function() {
2215
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2216
- };
2217
-
2218
-
2219
- /**
2220
- * @param {number} value
2221
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest} returns this
2222
- */
2223
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setClientId = function(value) {
2224
- return jspb.Message.setProto3IntField(this, 2, value);
2225
- };
2226
-
2227
-
2228
- /**
2229
- * optional int64 id = 1;
2230
- * @return {number}
2231
- */
2232
- proto.Platform.LocalAccountProto.prototype.getId = function() {
2233
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2234
- };
2235
-
2236
-
2237
- /**
2238
- * @param {number} value
2239
- * @return {!proto.Platform.LocalAccountProto} returns this
2240
- */
2241
- proto.Platform.LocalAccountProto.prototype.setId = function(value) {
2242
- return jspb.Message.setProto3IntField(this, 1, value);
2243
- };
2244
-
2245
-
2246
- /**
2247
- * optional string email = 2;
2248
- * @return {string}
2249
- */
2250
- proto.Platform.LocalAccountProto.prototype.getEmail = function() {
2251
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2252
- };
2253
-
2254
-
2255
- /**
2256
- * @param {string} value
2257
- * @return {!proto.Platform.LocalAccountProto} returns this
2258
- */
2259
- proto.Platform.LocalAccountProto.prototype.setEmail = function(value) {
2260
- return jspb.Message.setProto3StringField(this, 2, value);
2261
- };
2262
-
2263
-
2264
- /**
2265
- * optional string phone = 3;
2266
- * @return {string}
2267
- */
2268
- proto.Platform.LocalAccountProto.prototype.getPhone = function() {
2269
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2270
- };
2271
-
2272
-
2273
- /**
2274
- * @param {string} value
2275
- * @return {!proto.Platform.LocalAccountProto} returns this
2276
- */
2277
- proto.Platform.LocalAccountProto.prototype.setPhone = function(value) {
2278
- return jspb.Message.setProto3StringField(this, 3, value);
2279
- };
2280
-
2281
-
2282
- /**
2283
- * optional string last_name = 4;
2284
- * @return {string}
2285
- */
2286
- proto.Platform.LocalAccountProto.prototype.getLastName = function() {
2287
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2288
- };
2289
-
2290
-
2291
- /**
2292
- * @param {string} value
2293
- * @return {!proto.Platform.LocalAccountProto} returns this
2294
- */
2295
- proto.Platform.LocalAccountProto.prototype.setLastName = function(value) {
2296
- return jspb.Message.setProto3StringField(this, 4, value);
2297
- };
2298
-
2299
-
2300
- /**
2301
- * optional string first_name = 5;
2302
- * @return {string}
2303
- */
2304
- proto.Platform.LocalAccountProto.prototype.getFirstName = function() {
2305
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2306
- };
2307
-
2308
-
2309
- /**
2310
- * @param {string} value
2311
- * @return {!proto.Platform.LocalAccountProto} returns this
2312
- */
2313
- proto.Platform.LocalAccountProto.prototype.setFirstName = function(value) {
2314
- return jspb.Message.setProto3StringField(this, 5, value);
2315
- };
2316
-
2317
-
2318
- /**
2319
- * optional string locale = 6;
2320
- * @return {string}
2321
- */
2322
- proto.Platform.LocalAccountProto.prototype.getLocale = function() {
2323
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2324
- };
2325
-
2326
-
2327
- /**
2328
- * @param {string} value
2329
- * @return {!proto.Platform.LocalAccountProto} returns this
2330
- */
2331
- proto.Platform.LocalAccountProto.prototype.setLocale = function(value) {
2332
- return jspb.Message.setProto3StringField(this, 6, value);
2333
- };
2334
-
2335
-
2336
- /**
2337
- * optional string company = 7;
2338
- * @return {string}
2339
- */
2340
- proto.Platform.LocalAccountProto.prototype.getCompany = function() {
2341
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2342
- };
2343
-
2344
-
2345
- /**
2346
- * @param {string} value
2347
- * @return {!proto.Platform.LocalAccountProto} returns this
2348
- */
2349
- proto.Platform.LocalAccountProto.prototype.setCompany = function(value) {
2350
- return jspb.Message.setProto3StringField(this, 7, value);
2351
- };
2352
-
2353
-
2354
- /**
2355
- * optional string group_id = 8;
2356
- * @return {string}
2357
- */
2358
- proto.Platform.LocalAccountProto.prototype.getGroupId = function() {
2359
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2360
- };
2361
-
2362
-
2363
- /**
2364
- * @param {string} value
2365
- * @return {!proto.Platform.LocalAccountProto} returns this
2366
- */
2367
- proto.Platform.LocalAccountProto.prototype.setGroupId = function(value) {
2368
- return jspb.Message.setProto3StringField(this, 8, value);
2369
- };
2370
-
2371
-
2372
- goog.object.extend(exports, proto.Platform);