@aceplus/smartace-api 2.1.0-drumtracker.7 → 2.1.0-drumtracker.9

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