@aceplus/smartace-api 3.6.0-alpha.2 → 3.6.0-alpha.20

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 (237) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -582
  3. package/auth.account_pb.js +0 -4287
  4. package/auth.account_pb_service.d.ts +0 -340
  5. package/auth.account_pb_service.js +0 -637
  6. package/auth.account_two_factor_pb.d.ts +0 -159
  7. package/auth.account_two_factor_pb.js +0 -1184
  8. package/auth.account_two_factor_pb_service.d.ts +0 -121
  9. package/auth.account_two_factor_pb_service.js +0 -182
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -95
  23. package/auth.authn_pb.js +0 -637
  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 -142
  27. package/auth.cluster_pb.js +0 -1050
  28. package/auth.cluster_pb_service.d.ts +0 -82
  29. package/auth.cluster_pb_service.js +0 -101
  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 -217
  35. package/auth.email_pb.js +0 -1508
  36. package/auth.email_pb_service.d.ts +0 -102
  37. package/auth.email_pb_service.js +0 -142
  38. package/auth.firmware_pb.d.ts +0 -256
  39. package/auth.firmware_pb.js +0 -1997
  40. package/auth.firmware_pb_service.d.ts +0 -120
  41. package/auth.firmware_pb_service.js +0 -181
  42. package/auth.push_notification_pb.d.ts +0 -69
  43. package/auth.push_notification_pb.js +0 -411
  44. package/auth.push_notification_pb_service.d.ts +0 -64
  45. package/auth.push_notification_pb_service.js +0 -62
  46. package/auth.sms_pb.d.ts +0 -79
  47. package/auth.sms_pb.js +0 -575
  48. package/auth.sms_pb_service.d.ts +0 -83
  49. package/auth.sms_pb_service.js +0 -102
  50. package/google/api/annotations_pb.d.ts +0 -9
  51. package/google/api/annotations_pb.js +0 -54
  52. package/google/api/annotations_pb_service.d.ts +0 -3
  53. package/google/api/annotations_pb_service.js +0 -3
  54. package/google/api/auth_pb.d.ts +0 -150
  55. package/google/api/auth_pb.js +0 -1160
  56. package/google/api/auth_pb_service.d.ts +0 -3
  57. package/google/api/auth_pb_service.js +0 -3
  58. package/google/api/backend_pb.d.ts +0 -59
  59. package/google/api/backend_pb.js +0 -448
  60. package/google/api/backend_pb_service.d.ts +0 -3
  61. package/google/api/backend_pb_service.js +0 -3
  62. package/google/api/billing_pb.d.ts +0 -54
  63. package/google/api/billing_pb.js +0 -416
  64. package/google/api/billing_pb_service.d.ts +0 -3
  65. package/google/api/billing_pb_service.js +0 -3
  66. package/google/api/client_pb.d.ts +0 -12
  67. package/google/api/client_pb.js +0 -104
  68. package/google/api/client_pb_service.d.ts +0 -3
  69. package/google/api/client_pb_service.js +0 -3
  70. package/google/api/config_change_pb.d.ts +0 -72
  71. package/google/api/config_change_pb.js +0 -489
  72. package/google/api/config_change_pb_service.d.ts +0 -3
  73. package/google/api/config_change_pb_service.js +0 -3
  74. package/google/api/consumer_pb.d.ts +0 -65
  75. package/google/api/consumer_pb.js +0 -430
  76. package/google/api/consumer_pb_service.d.ts +0 -3
  77. package/google/api/consumer_pb_service.js +0 -3
  78. package/google/api/context_pb.d.ts +0 -59
  79. package/google/api/context_pb.js +0 -463
  80. package/google/api/context_pb_service.d.ts +0 -3
  81. package/google/api/context_pb_service.js +0 -3
  82. package/google/api/control_pb.d.ts +0 -25
  83. package/google/api/control_pb.js +0 -176
  84. package/google/api/control_pb_service.d.ts +0 -3
  85. package/google/api/control_pb_service.js +0 -3
  86. package/google/api/distribution_pb.d.ts +0 -235
  87. package/google/api/distribution_pb.js +0 -1805
  88. package/google/api/distribution_pb_service.d.ts +0 -3
  89. package/google/api/distribution_pb_service.js +0 -3
  90. package/google/api/documentation_pb.d.ts +0 -103
  91. package/google/api/documentation_pb.js +0 -803
  92. package/google/api/documentation_pb_service.d.ts +0 -3
  93. package/google/api/documentation_pb_service.js +0 -3
  94. package/google/api/endpoint_pb.d.ts +0 -46
  95. package/google/api/endpoint_pb.js +0 -343
  96. package/google/api/endpoint_pb_service.d.ts +0 -3
  97. package/google/api/endpoint_pb_service.js +0 -3
  98. package/google/api/error_reason_pb.d.ts +0 -40
  99. package/google/api/error_reason_pb.js +0 -61
  100. package/google/api/error_reason_pb_service.d.ts +0 -3
  101. package/google/api/error_reason_pb_service.js +0 -3
  102. package/google/api/field_behavior_pb.d.ts +0 -20
  103. package/google/api/field_behavior_pb.js +0 -66
  104. package/google/api/field_behavior_pb_service.d.ts +0 -3
  105. package/google/api/field_behavior_pb_service.js +0 -3
  106. package/google/api/http_pb.d.ts +0 -136
  107. package/google/api/http_pb.js +0 -1012
  108. package/google/api/http_pb_service.d.ts +0 -3
  109. package/google/api/http_pb_service.js +0 -3
  110. package/google/api/httpbody_pb.d.ts +0 -38
  111. package/google/api/httpbody_pb.js +0 -292
  112. package/google/api/httpbody_pb_service.d.ts +0 -3
  113. package/google/api/httpbody_pb_service.js +0 -3
  114. package/google/api/label_pb.d.ts +0 -41
  115. package/google/api/label_pb.js +0 -246
  116. package/google/api/label_pb_service.d.ts +0 -3
  117. package/google/api/label_pb_service.js +0 -3
  118. package/google/api/launch_stage_pb.d.ts +0 -16
  119. package/google/api/launch_stage_pb.js +0 -37
  120. package/google/api/launch_stage_pb_service.d.ts +0 -3
  121. package/google/api/launch_stage_pb_service.js +0 -3
  122. package/google/api/log_pb.d.ts +0 -40
  123. package/google/api/log_pb.js +0 -298
  124. package/google/api/log_pb_service.d.ts +0 -3
  125. package/google/api/log_pb_service.js +0 -3
  126. package/google/api/logging_pb.d.ts +0 -60
  127. package/google/api/logging_pb.js +0 -469
  128. package/google/api/logging_pb_service.d.ts +0 -3
  129. package/google/api/logging_pb_service.js +0 -3
  130. package/google/api/metric_pb.d.ts +0 -100
  131. package/google/api/metric_pb.js +0 -629
  132. package/google/api/metric_pb_service.d.ts +0 -3
  133. package/google/api/metric_pb_service.js +0 -3
  134. package/google/api/monitored_resource_pb.d.ts +0 -93
  135. package/google/api/monitored_resource_pb.js +0 -723
  136. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  137. package/google/api/monitored_resource_pb_service.js +0 -3
  138. package/google/api/monitoring_pb.d.ts +0 -60
  139. package/google/api/monitoring_pb.js +0 -469
  140. package/google/api/monitoring_pb_service.d.ts +0 -3
  141. package/google/api/monitoring_pb_service.js +0 -3
  142. package/google/api/policy_pb.d.ts +0 -64
  143. package/google/api/policy_pb.js +0 -502
  144. package/google/api/policy_pb_service.d.ts +0 -3
  145. package/google/api/policy_pb_service.js +0 -3
  146. package/google/api/quota_pb.d.ts +0 -112
  147. package/google/api/quota_pb.js +0 -873
  148. package/google/api/quota_pb_service.d.ts +0 -3
  149. package/google/api/quota_pb_service.js +0 -3
  150. package/google/api/resource_pb.d.ts +0 -99
  151. package/google/api/resource_pb.js +0 -684
  152. package/google/api/resource_pb_service.d.ts +0 -3
  153. package/google/api/resource_pb_service.js +0 -3
  154. package/google/api/routing_pb.d.ts +0 -54
  155. package/google/api/routing_pb.js +0 -416
  156. package/google/api/routing_pb_service.d.ts +0 -3
  157. package/google/api/routing_pb_service.js +0 -3
  158. package/google/api/service_pb.d.ts +0 -184
  159. package/google/api/service_pb.js +0 -1400
  160. package/google/api/service_pb_service.d.ts +0 -3
  161. package/google/api/service_pb_service.js +0 -3
  162. package/google/api/source_info_pb.d.ts +0 -28
  163. package/google/api/source_info_pb.js +0 -208
  164. package/google/api/source_info_pb_service.d.ts +0 -3
  165. package/google/api/source_info_pb_service.js +0 -3
  166. package/google/api/system_parameter_pb.d.ts +0 -81
  167. package/google/api/system_parameter_pb.js +0 -630
  168. package/google/api/system_parameter_pb_service.d.ts +0 -3
  169. package/google/api/system_parameter_pb_service.js +0 -3
  170. package/google/api/usage_pb.d.ts +0 -66
  171. package/google/api/usage_pb.js +0 -499
  172. package/google/api/usage_pb_service.d.ts +0 -3
  173. package/google/api/usage_pb_service.js +0 -3
  174. package/google/api/visibility_pb.d.ts +0 -64
  175. package/google/api/visibility_pb.js +0 -546
  176. package/google/api/visibility_pb_service.d.ts +0 -3
  177. package/google/api/visibility_pb_service.js +0 -3
  178. package/meta.client_pb.d.ts +0 -167
  179. package/meta.client_pb.js +0 -1266
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_config_pb.d.ts +0 -184
  183. package/meta.spic_config_pb.js +0 -1382
  184. package/meta.spic_config_pb_service.d.ts +0 -122
  185. package/meta.spic_config_pb_service.js +0 -183
  186. package/platform.activity_log_pb.d.ts +0 -177
  187. package/platform.activity_log_pb.js +0 -1294
  188. package/platform.activity_log_pb_service.d.ts +0 -82
  189. package/platform.activity_log_pb_service.js +0 -101
  190. package/platform.client_pb.d.ts +0 -350
  191. package/platform.client_pb.js +0 -2663
  192. package/platform.client_pb_service.d.ts +0 -158
  193. package/platform.client_pb_service.js +0 -261
  194. package/platform.group_pb.d.ts +0 -195
  195. package/platform.group_pb.js +0 -1476
  196. package/platform.group_pb_service.d.ts +0 -139
  197. package/platform.group_pb_service.js +0 -221
  198. package/platform.local_account_internal_pb.d.ts +0 -125
  199. package/platform.local_account_internal_pb.js +0 -933
  200. package/platform.local_account_internal_pb_service.d.ts +0 -121
  201. package/platform.local_account_internal_pb_service.js +0 -182
  202. package/platform.local_account_pb.d.ts +0 -446
  203. package/platform.local_account_pb.js +0 -3337
  204. package/platform.local_account_pb_service.d.ts +0 -331
  205. package/platform.local_account_pb_service.js +0 -623
  206. package/platform.local_distribution_pb.d.ts +0 -73
  207. package/platform.local_distribution_pb.js +0 -536
  208. package/platform.local_distribution_pb_service.d.ts +0 -63
  209. package/platform.local_distribution_pb_service.js +0 -61
  210. package/platform.location_pb.d.ts +0 -271
  211. package/platform.location_pb.js +0 -2046
  212. package/platform.location_pb_service.d.ts +0 -139
  213. package/platform.location_pb_service.js +0 -221
  214. package/platform.pagination_pb.d.ts +0 -45
  215. package/platform.pagination_pb.js +0 -276
  216. package/platform.pagination_pb_service.d.ts +0 -3
  217. package/platform.pagination_pb_service.js +0 -3
  218. package/spic.asset_pb.d.ts +0 -668
  219. package/spic.asset_pb.js +0 -4789
  220. package/spic.asset_pb_service.d.ts +0 -197
  221. package/spic.asset_pb_service.js +0 -342
  222. package/spic.cabinet_pb.d.ts +0 -1407
  223. package/spic.cabinet_pb.js +0 -10370
  224. package/spic.cabinet_pb_service.d.ts +0 -378
  225. package/spic.cabinet_pb_service.js +0 -717
  226. package/spic.config_pb.d.ts +0 -249
  227. package/spic.config_pb.js +0 -1891
  228. package/spic.config_pb_service.d.ts +0 -120
  229. package/spic.config_pb_service.js +0 -181
  230. package/spic.contractor_pb.d.ts +0 -195
  231. package/spic.contractor_pb.js +0 -1476
  232. package/spic.contractor_pb_service.d.ts +0 -139
  233. package/spic.contractor_pb_service.js +0 -221
  234. package/spic.history_pb.d.ts +0 -142
  235. package/spic.history_pb.js +0 -1130
  236. package/spic.history_pb_service.d.ts +0 -63
  237. package/spic.history_pb_service.js +0 -61
@@ -1,1153 +0,0 @@
1
- // source: auth.app_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 google_api_annotations_pb = require('./google/api/annotations_pb.js');
25
- goog.object.extend(proto, google_api_annotations_pb);
26
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
27
- goog.object.extend(proto, google_protobuf_empty_pb);
28
- var auth_account_pb = require('./auth.account_pb.js');
29
- goog.object.extend(proto, auth_account_pb);
30
- goog.exportSymbol('proto.Auth.AppAccountProto', null, global);
31
- goog.exportSymbol('proto.Auth.AppAccountProto.ChangeNameRequest', null, global);
32
- goog.exportSymbol('proto.Auth.AppAccountProto.ChangePskRequest', null, global);
33
- goog.exportSymbol('proto.Auth.AppAccountProto.FinishRegisterMobileRequest', null, global);
34
- goog.exportSymbol('proto.Auth.AppAccountProto.ModifyClientRequest', null, global);
35
- goog.exportSymbol('proto.Auth.AppAccountProto.RemoveMobileRequest', null, global);
36
- /**
37
- * Generated by JsPbCodeGenerator.
38
- * @param {Array=} opt_data Optional initial data array, typically from a
39
- * server response, or constructed directly in Javascript. The array is used
40
- * in place and becomes part of the constructed object. It is not cloned.
41
- * If no data is provided, the constructed object will be empty, but still
42
- * valid.
43
- * @extends {jspb.Message}
44
- * @constructor
45
- */
46
- proto.Auth.AppAccountProto = function(opt_data) {
47
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
48
- };
49
- goog.inherits(proto.Auth.AppAccountProto, jspb.Message);
50
- if (goog.DEBUG && !COMPILED) {
51
- /**
52
- * @public
53
- * @override
54
- */
55
- proto.Auth.AppAccountProto.displayName = 'proto.Auth.AppAccountProto';
56
- }
57
- /**
58
- * Generated by JsPbCodeGenerator.
59
- * @param {Array=} opt_data Optional initial data array, typically from a
60
- * server response, or constructed directly in Javascript. The array is used
61
- * in place and becomes part of the constructed object. It is not cloned.
62
- * If no data is provided, the constructed object will be empty, but still
63
- * valid.
64
- * @extends {jspb.Message}
65
- * @constructor
66
- */
67
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest = function(opt_data) {
68
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
69
- };
70
- goog.inherits(proto.Auth.AppAccountProto.FinishRegisterMobileRequest, jspb.Message);
71
- if (goog.DEBUG && !COMPILED) {
72
- /**
73
- * @public
74
- * @override
75
- */
76
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.displayName = 'proto.Auth.AppAccountProto.FinishRegisterMobileRequest';
77
- }
78
- /**
79
- * Generated by JsPbCodeGenerator.
80
- * @param {Array=} opt_data Optional initial data array, typically from a
81
- * server response, or constructed directly in Javascript. The array is used
82
- * in place and becomes part of the constructed object. It is not cloned.
83
- * If no data is provided, the constructed object will be empty, but still
84
- * valid.
85
- * @extends {jspb.Message}
86
- * @constructor
87
- */
88
- proto.Auth.AppAccountProto.RemoveMobileRequest = function(opt_data) {
89
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
90
- };
91
- goog.inherits(proto.Auth.AppAccountProto.RemoveMobileRequest, jspb.Message);
92
- if (goog.DEBUG && !COMPILED) {
93
- /**
94
- * @public
95
- * @override
96
- */
97
- proto.Auth.AppAccountProto.RemoveMobileRequest.displayName = 'proto.Auth.AppAccountProto.RemoveMobileRequest';
98
- }
99
- /**
100
- * Generated by JsPbCodeGenerator.
101
- * @param {Array=} opt_data Optional initial data array, typically from a
102
- * server response, or constructed directly in Javascript. The array is used
103
- * in place and becomes part of the constructed object. It is not cloned.
104
- * If no data is provided, the constructed object will be empty, but still
105
- * valid.
106
- * @extends {jspb.Message}
107
- * @constructor
108
- */
109
- proto.Auth.AppAccountProto.ChangeNameRequest = function(opt_data) {
110
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
111
- };
112
- goog.inherits(proto.Auth.AppAccountProto.ChangeNameRequest, jspb.Message);
113
- if (goog.DEBUG && !COMPILED) {
114
- /**
115
- * @public
116
- * @override
117
- */
118
- proto.Auth.AppAccountProto.ChangeNameRequest.displayName = 'proto.Auth.AppAccountProto.ChangeNameRequest';
119
- }
120
- /**
121
- * Generated by JsPbCodeGenerator.
122
- * @param {Array=} opt_data Optional initial data array, typically from a
123
- * server response, or constructed directly in Javascript. The array is used
124
- * in place and becomes part of the constructed object. It is not cloned.
125
- * If no data is provided, the constructed object will be empty, but still
126
- * valid.
127
- * @extends {jspb.Message}
128
- * @constructor
129
- */
130
- proto.Auth.AppAccountProto.ChangePskRequest = function(opt_data) {
131
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
132
- };
133
- goog.inherits(proto.Auth.AppAccountProto.ChangePskRequest, jspb.Message);
134
- if (goog.DEBUG && !COMPILED) {
135
- /**
136
- * @public
137
- * @override
138
- */
139
- proto.Auth.AppAccountProto.ChangePskRequest.displayName = 'proto.Auth.AppAccountProto.ChangePskRequest';
140
- }
141
- /**
142
- * Generated by JsPbCodeGenerator.
143
- * @param {Array=} opt_data Optional initial data array, typically from a
144
- * server response, or constructed directly in Javascript. The array is used
145
- * in place and becomes part of the constructed object. It is not cloned.
146
- * If no data is provided, the constructed object will be empty, but still
147
- * valid.
148
- * @extends {jspb.Message}
149
- * @constructor
150
- */
151
- proto.Auth.AppAccountProto.ModifyClientRequest = function(opt_data) {
152
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
153
- };
154
- goog.inherits(proto.Auth.AppAccountProto.ModifyClientRequest, jspb.Message);
155
- if (goog.DEBUG && !COMPILED) {
156
- /**
157
- * @public
158
- * @override
159
- */
160
- proto.Auth.AppAccountProto.ModifyClientRequest.displayName = 'proto.Auth.AppAccountProto.ModifyClientRequest';
161
- }
162
-
163
-
164
-
165
- if (jspb.Message.GENERATE_TO_OBJECT) {
166
- /**
167
- * Creates an object representation of this proto.
168
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
169
- * Optional fields that are not set will be set to undefined.
170
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
171
- * For the list of reserved names please see:
172
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
173
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
174
- * JSPB instance for transitional soy proto support:
175
- * http://goto/soy-param-migration
176
- * @return {!Object}
177
- */
178
- proto.Auth.AppAccountProto.prototype.toObject = function(opt_includeInstance) {
179
- return proto.Auth.AppAccountProto.toObject(opt_includeInstance, this);
180
- };
181
-
182
-
183
- /**
184
- * Static version of the {@see toObject} method.
185
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
186
- * the JSPB instance for transitional soy proto support:
187
- * http://goto/soy-param-migration
188
- * @param {!proto.Auth.AppAccountProto} msg The msg instance to transform.
189
- * @return {!Object}
190
- * @suppress {unusedLocalVariables} f is only used for nested messages
191
- */
192
- proto.Auth.AppAccountProto.toObject = function(includeInstance, msg) {
193
- var f, obj = {
194
-
195
- };
196
-
197
- if (includeInstance) {
198
- obj.$jspbMessageInstance = msg;
199
- }
200
- return obj;
201
- };
202
- }
203
-
204
-
205
- /**
206
- * Deserializes binary data (in protobuf wire format).
207
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
208
- * @return {!proto.Auth.AppAccountProto}
209
- */
210
- proto.Auth.AppAccountProto.deserializeBinary = function(bytes) {
211
- var reader = new jspb.BinaryReader(bytes);
212
- var msg = new proto.Auth.AppAccountProto;
213
- return proto.Auth.AppAccountProto.deserializeBinaryFromReader(msg, reader);
214
- };
215
-
216
-
217
- /**
218
- * Deserializes binary data (in protobuf wire format) from the
219
- * given reader into the given message object.
220
- * @param {!proto.Auth.AppAccountProto} msg The message object to deserialize into.
221
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
222
- * @return {!proto.Auth.AppAccountProto}
223
- */
224
- proto.Auth.AppAccountProto.deserializeBinaryFromReader = function(msg, reader) {
225
- while (reader.nextField()) {
226
- if (reader.isEndGroup()) {
227
- break;
228
- }
229
- var field = reader.getFieldNumber();
230
- switch (field) {
231
- default:
232
- reader.skipField();
233
- break;
234
- }
235
- }
236
- return msg;
237
- };
238
-
239
-
240
- /**
241
- * Serializes the message to binary data (in protobuf wire format).
242
- * @return {!Uint8Array}
243
- */
244
- proto.Auth.AppAccountProto.prototype.serializeBinary = function() {
245
- var writer = new jspb.BinaryWriter();
246
- proto.Auth.AppAccountProto.serializeBinaryToWriter(this, writer);
247
- return writer.getResultBuffer();
248
- };
249
-
250
-
251
- /**
252
- * Serializes the given message to binary data (in protobuf wire
253
- * format), writing to the given BinaryWriter.
254
- * @param {!proto.Auth.AppAccountProto} message
255
- * @param {!jspb.BinaryWriter} writer
256
- * @suppress {unusedLocalVariables} f is only used for nested messages
257
- */
258
- proto.Auth.AppAccountProto.serializeBinaryToWriter = function(message, writer) {
259
- var f = undefined;
260
- };
261
-
262
-
263
-
264
-
265
-
266
- if (jspb.Message.GENERATE_TO_OBJECT) {
267
- /**
268
- * Creates an object representation of this proto.
269
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
270
- * Optional fields that are not set will be set to undefined.
271
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
272
- * For the list of reserved names please see:
273
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
274
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
275
- * JSPB instance for transitional soy proto support:
276
- * http://goto/soy-param-migration
277
- * @return {!Object}
278
- */
279
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.toObject = function(opt_includeInstance) {
280
- return proto.Auth.AppAccountProto.FinishRegisterMobileRequest.toObject(opt_includeInstance, this);
281
- };
282
-
283
-
284
- /**
285
- * Static version of the {@see toObject} method.
286
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
287
- * the JSPB instance for transitional soy proto support:
288
- * http://goto/soy-param-migration
289
- * @param {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} msg The msg instance to transform.
290
- * @return {!Object}
291
- * @suppress {unusedLocalVariables} f is only used for nested messages
292
- */
293
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.toObject = function(includeInstance, msg) {
294
- var f, obj = {
295
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
296
- lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
297
- firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
298
- company: jspb.Message.getFieldWithDefault(msg, 4, "")
299
- };
300
-
301
- if (includeInstance) {
302
- obj.$jspbMessageInstance = msg;
303
- }
304
- return obj;
305
- };
306
- }
307
-
308
-
309
- /**
310
- * Deserializes binary data (in protobuf wire format).
311
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
312
- * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest}
313
- */
314
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.deserializeBinary = function(bytes) {
315
- var reader = new jspb.BinaryReader(bytes);
316
- var msg = new proto.Auth.AppAccountProto.FinishRegisterMobileRequest;
317
- return proto.Auth.AppAccountProto.FinishRegisterMobileRequest.deserializeBinaryFromReader(msg, reader);
318
- };
319
-
320
-
321
- /**
322
- * Deserializes binary data (in protobuf wire format) from the
323
- * given reader into the given message object.
324
- * @param {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} msg The message object to deserialize into.
325
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
326
- * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest}
327
- */
328
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.deserializeBinaryFromReader = function(msg, reader) {
329
- while (reader.nextField()) {
330
- if (reader.isEndGroup()) {
331
- break;
332
- }
333
- var field = reader.getFieldNumber();
334
- switch (field) {
335
- case 1:
336
- var value = /** @type {number} */ (reader.readInt64());
337
- msg.setId(value);
338
- break;
339
- case 2:
340
- var value = /** @type {string} */ (reader.readString());
341
- msg.setLastName(value);
342
- break;
343
- case 3:
344
- var value = /** @type {string} */ (reader.readString());
345
- msg.setFirstName(value);
346
- break;
347
- case 4:
348
- var value = /** @type {string} */ (reader.readString());
349
- msg.setCompany(value);
350
- break;
351
- default:
352
- reader.skipField();
353
- break;
354
- }
355
- }
356
- return msg;
357
- };
358
-
359
-
360
- /**
361
- * Serializes the message to binary data (in protobuf wire format).
362
- * @return {!Uint8Array}
363
- */
364
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.serializeBinary = function() {
365
- var writer = new jspb.BinaryWriter();
366
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.serializeBinaryToWriter(this, writer);
367
- return writer.getResultBuffer();
368
- };
369
-
370
-
371
- /**
372
- * Serializes the given message to binary data (in protobuf wire
373
- * format), writing to the given BinaryWriter.
374
- * @param {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} message
375
- * @param {!jspb.BinaryWriter} writer
376
- * @suppress {unusedLocalVariables} f is only used for nested messages
377
- */
378
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.serializeBinaryToWriter = function(message, writer) {
379
- var f = undefined;
380
- f = message.getId();
381
- if (f !== 0) {
382
- writer.writeInt64(
383
- 1,
384
- f
385
- );
386
- }
387
- f = message.getLastName();
388
- if (f.length > 0) {
389
- writer.writeString(
390
- 2,
391
- f
392
- );
393
- }
394
- f = message.getFirstName();
395
- if (f.length > 0) {
396
- writer.writeString(
397
- 3,
398
- f
399
- );
400
- }
401
- f = message.getCompany();
402
- if (f.length > 0) {
403
- writer.writeString(
404
- 4,
405
- f
406
- );
407
- }
408
- };
409
-
410
-
411
- /**
412
- * optional int64 id = 1;
413
- * @return {number}
414
- */
415
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.getId = function() {
416
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
417
- };
418
-
419
-
420
- /**
421
- * @param {number} value
422
- * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} returns this
423
- */
424
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.setId = function(value) {
425
- return jspb.Message.setProto3IntField(this, 1, value);
426
- };
427
-
428
-
429
- /**
430
- * optional string last_name = 2;
431
- * @return {string}
432
- */
433
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.getLastName = function() {
434
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
435
- };
436
-
437
-
438
- /**
439
- * @param {string} value
440
- * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} returns this
441
- */
442
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.setLastName = function(value) {
443
- return jspb.Message.setProto3StringField(this, 2, value);
444
- };
445
-
446
-
447
- /**
448
- * optional string first_name = 3;
449
- * @return {string}
450
- */
451
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.getFirstName = function() {
452
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
453
- };
454
-
455
-
456
- /**
457
- * @param {string} value
458
- * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} returns this
459
- */
460
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.setFirstName = function(value) {
461
- return jspb.Message.setProto3StringField(this, 3, value);
462
- };
463
-
464
-
465
- /**
466
- * optional string company = 4;
467
- * @return {string}
468
- */
469
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.getCompany = function() {
470
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
471
- };
472
-
473
-
474
- /**
475
- * @param {string} value
476
- * @return {!proto.Auth.AppAccountProto.FinishRegisterMobileRequest} returns this
477
- */
478
- proto.Auth.AppAccountProto.FinishRegisterMobileRequest.prototype.setCompany = function(value) {
479
- return jspb.Message.setProto3StringField(this, 4, value);
480
- };
481
-
482
-
483
-
484
-
485
-
486
- if (jspb.Message.GENERATE_TO_OBJECT) {
487
- /**
488
- * Creates an object representation of this proto.
489
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
490
- * Optional fields that are not set will be set to undefined.
491
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
492
- * For the list of reserved names please see:
493
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
494
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
495
- * JSPB instance for transitional soy proto support:
496
- * http://goto/soy-param-migration
497
- * @return {!Object}
498
- */
499
- proto.Auth.AppAccountProto.RemoveMobileRequest.prototype.toObject = function(opt_includeInstance) {
500
- return proto.Auth.AppAccountProto.RemoveMobileRequest.toObject(opt_includeInstance, this);
501
- };
502
-
503
-
504
- /**
505
- * Static version of the {@see toObject} method.
506
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
507
- * the JSPB instance for transitional soy proto support:
508
- * http://goto/soy-param-migration
509
- * @param {!proto.Auth.AppAccountProto.RemoveMobileRequest} msg The msg instance to transform.
510
- * @return {!Object}
511
- * @suppress {unusedLocalVariables} f is only used for nested messages
512
- */
513
- proto.Auth.AppAccountProto.RemoveMobileRequest.toObject = function(includeInstance, msg) {
514
- var f, obj = {
515
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
516
- };
517
-
518
- if (includeInstance) {
519
- obj.$jspbMessageInstance = msg;
520
- }
521
- return obj;
522
- };
523
- }
524
-
525
-
526
- /**
527
- * Deserializes binary data (in protobuf wire format).
528
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
529
- * @return {!proto.Auth.AppAccountProto.RemoveMobileRequest}
530
- */
531
- proto.Auth.AppAccountProto.RemoveMobileRequest.deserializeBinary = function(bytes) {
532
- var reader = new jspb.BinaryReader(bytes);
533
- var msg = new proto.Auth.AppAccountProto.RemoveMobileRequest;
534
- return proto.Auth.AppAccountProto.RemoveMobileRequest.deserializeBinaryFromReader(msg, reader);
535
- };
536
-
537
-
538
- /**
539
- * Deserializes binary data (in protobuf wire format) from the
540
- * given reader into the given message object.
541
- * @param {!proto.Auth.AppAccountProto.RemoveMobileRequest} msg The message object to deserialize into.
542
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
543
- * @return {!proto.Auth.AppAccountProto.RemoveMobileRequest}
544
- */
545
- proto.Auth.AppAccountProto.RemoveMobileRequest.deserializeBinaryFromReader = function(msg, reader) {
546
- while (reader.nextField()) {
547
- if (reader.isEndGroup()) {
548
- break;
549
- }
550
- var field = reader.getFieldNumber();
551
- switch (field) {
552
- case 1:
553
- var value = /** @type {number} */ (reader.readInt64());
554
- msg.setId(value);
555
- break;
556
- default:
557
- reader.skipField();
558
- break;
559
- }
560
- }
561
- return msg;
562
- };
563
-
564
-
565
- /**
566
- * Serializes the message to binary data (in protobuf wire format).
567
- * @return {!Uint8Array}
568
- */
569
- proto.Auth.AppAccountProto.RemoveMobileRequest.prototype.serializeBinary = function() {
570
- var writer = new jspb.BinaryWriter();
571
- proto.Auth.AppAccountProto.RemoveMobileRequest.serializeBinaryToWriter(this, writer);
572
- return writer.getResultBuffer();
573
- };
574
-
575
-
576
- /**
577
- * Serializes the given message to binary data (in protobuf wire
578
- * format), writing to the given BinaryWriter.
579
- * @param {!proto.Auth.AppAccountProto.RemoveMobileRequest} message
580
- * @param {!jspb.BinaryWriter} writer
581
- * @suppress {unusedLocalVariables} f is only used for nested messages
582
- */
583
- proto.Auth.AppAccountProto.RemoveMobileRequest.serializeBinaryToWriter = function(message, writer) {
584
- var f = undefined;
585
- f = message.getId();
586
- if (f !== 0) {
587
- writer.writeInt64(
588
- 1,
589
- f
590
- );
591
- }
592
- };
593
-
594
-
595
- /**
596
- * optional int64 id = 1;
597
- * @return {number}
598
- */
599
- proto.Auth.AppAccountProto.RemoveMobileRequest.prototype.getId = function() {
600
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
601
- };
602
-
603
-
604
- /**
605
- * @param {number} value
606
- * @return {!proto.Auth.AppAccountProto.RemoveMobileRequest} returns this
607
- */
608
- proto.Auth.AppAccountProto.RemoveMobileRequest.prototype.setId = function(value) {
609
- return jspb.Message.setProto3IntField(this, 1, value);
610
- };
611
-
612
-
613
-
614
-
615
-
616
- if (jspb.Message.GENERATE_TO_OBJECT) {
617
- /**
618
- * Creates an object representation of this proto.
619
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
620
- * Optional fields that are not set will be set to undefined.
621
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
622
- * For the list of reserved names please see:
623
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
624
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
625
- * JSPB instance for transitional soy proto support:
626
- * http://goto/soy-param-migration
627
- * @return {!Object}
628
- */
629
- proto.Auth.AppAccountProto.ChangeNameRequest.prototype.toObject = function(opt_includeInstance) {
630
- return proto.Auth.AppAccountProto.ChangeNameRequest.toObject(opt_includeInstance, this);
631
- };
632
-
633
-
634
- /**
635
- * Static version of the {@see toObject} method.
636
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
637
- * the JSPB instance for transitional soy proto support:
638
- * http://goto/soy-param-migration
639
- * @param {!proto.Auth.AppAccountProto.ChangeNameRequest} msg The msg instance to transform.
640
- * @return {!Object}
641
- * @suppress {unusedLocalVariables} f is only used for nested messages
642
- */
643
- proto.Auth.AppAccountProto.ChangeNameRequest.toObject = function(includeInstance, msg) {
644
- var f, obj = {
645
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
646
- lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
647
- firstName: jspb.Message.getFieldWithDefault(msg, 3, "")
648
- };
649
-
650
- if (includeInstance) {
651
- obj.$jspbMessageInstance = msg;
652
- }
653
- return obj;
654
- };
655
- }
656
-
657
-
658
- /**
659
- * Deserializes binary data (in protobuf wire format).
660
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
661
- * @return {!proto.Auth.AppAccountProto.ChangeNameRequest}
662
- */
663
- proto.Auth.AppAccountProto.ChangeNameRequest.deserializeBinary = function(bytes) {
664
- var reader = new jspb.BinaryReader(bytes);
665
- var msg = new proto.Auth.AppAccountProto.ChangeNameRequest;
666
- return proto.Auth.AppAccountProto.ChangeNameRequest.deserializeBinaryFromReader(msg, reader);
667
- };
668
-
669
-
670
- /**
671
- * Deserializes binary data (in protobuf wire format) from the
672
- * given reader into the given message object.
673
- * @param {!proto.Auth.AppAccountProto.ChangeNameRequest} msg The message object to deserialize into.
674
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
675
- * @return {!proto.Auth.AppAccountProto.ChangeNameRequest}
676
- */
677
- proto.Auth.AppAccountProto.ChangeNameRequest.deserializeBinaryFromReader = function(msg, reader) {
678
- while (reader.nextField()) {
679
- if (reader.isEndGroup()) {
680
- break;
681
- }
682
- var field = reader.getFieldNumber();
683
- switch (field) {
684
- case 1:
685
- var value = /** @type {number} */ (reader.readInt64());
686
- msg.setId(value);
687
- break;
688
- case 2:
689
- var value = /** @type {string} */ (reader.readString());
690
- msg.setLastName(value);
691
- break;
692
- case 3:
693
- var value = /** @type {string} */ (reader.readString());
694
- msg.setFirstName(value);
695
- break;
696
- default:
697
- reader.skipField();
698
- break;
699
- }
700
- }
701
- return msg;
702
- };
703
-
704
-
705
- /**
706
- * Serializes the message to binary data (in protobuf wire format).
707
- * @return {!Uint8Array}
708
- */
709
- proto.Auth.AppAccountProto.ChangeNameRequest.prototype.serializeBinary = function() {
710
- var writer = new jspb.BinaryWriter();
711
- proto.Auth.AppAccountProto.ChangeNameRequest.serializeBinaryToWriter(this, writer);
712
- return writer.getResultBuffer();
713
- };
714
-
715
-
716
- /**
717
- * Serializes the given message to binary data (in protobuf wire
718
- * format), writing to the given BinaryWriter.
719
- * @param {!proto.Auth.AppAccountProto.ChangeNameRequest} message
720
- * @param {!jspb.BinaryWriter} writer
721
- * @suppress {unusedLocalVariables} f is only used for nested messages
722
- */
723
- proto.Auth.AppAccountProto.ChangeNameRequest.serializeBinaryToWriter = function(message, writer) {
724
- var f = undefined;
725
- f = message.getId();
726
- if (f !== 0) {
727
- writer.writeInt64(
728
- 1,
729
- f
730
- );
731
- }
732
- f = message.getLastName();
733
- if (f.length > 0) {
734
- writer.writeString(
735
- 2,
736
- f
737
- );
738
- }
739
- f = message.getFirstName();
740
- if (f.length > 0) {
741
- writer.writeString(
742
- 3,
743
- f
744
- );
745
- }
746
- };
747
-
748
-
749
- /**
750
- * optional int64 id = 1;
751
- * @return {number}
752
- */
753
- proto.Auth.AppAccountProto.ChangeNameRequest.prototype.getId = function() {
754
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
755
- };
756
-
757
-
758
- /**
759
- * @param {number} value
760
- * @return {!proto.Auth.AppAccountProto.ChangeNameRequest} returns this
761
- */
762
- proto.Auth.AppAccountProto.ChangeNameRequest.prototype.setId = function(value) {
763
- return jspb.Message.setProto3IntField(this, 1, value);
764
- };
765
-
766
-
767
- /**
768
- * optional string last_name = 2;
769
- * @return {string}
770
- */
771
- proto.Auth.AppAccountProto.ChangeNameRequest.prototype.getLastName = function() {
772
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
773
- };
774
-
775
-
776
- /**
777
- * @param {string} value
778
- * @return {!proto.Auth.AppAccountProto.ChangeNameRequest} returns this
779
- */
780
- proto.Auth.AppAccountProto.ChangeNameRequest.prototype.setLastName = function(value) {
781
- return jspb.Message.setProto3StringField(this, 2, value);
782
- };
783
-
784
-
785
- /**
786
- * optional string first_name = 3;
787
- * @return {string}
788
- */
789
- proto.Auth.AppAccountProto.ChangeNameRequest.prototype.getFirstName = function() {
790
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
791
- };
792
-
793
-
794
- /**
795
- * @param {string} value
796
- * @return {!proto.Auth.AppAccountProto.ChangeNameRequest} returns this
797
- */
798
- proto.Auth.AppAccountProto.ChangeNameRequest.prototype.setFirstName = function(value) {
799
- return jspb.Message.setProto3StringField(this, 3, value);
800
- };
801
-
802
-
803
-
804
-
805
-
806
- if (jspb.Message.GENERATE_TO_OBJECT) {
807
- /**
808
- * Creates an object representation of this proto.
809
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
810
- * Optional fields that are not set will be set to undefined.
811
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
812
- * For the list of reserved names please see:
813
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
814
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
815
- * JSPB instance for transitional soy proto support:
816
- * http://goto/soy-param-migration
817
- * @return {!Object}
818
- */
819
- proto.Auth.AppAccountProto.ChangePskRequest.prototype.toObject = function(opt_includeInstance) {
820
- return proto.Auth.AppAccountProto.ChangePskRequest.toObject(opt_includeInstance, this);
821
- };
822
-
823
-
824
- /**
825
- * Static version of the {@see toObject} method.
826
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
827
- * the JSPB instance for transitional soy proto support:
828
- * http://goto/soy-param-migration
829
- * @param {!proto.Auth.AppAccountProto.ChangePskRequest} msg The msg instance to transform.
830
- * @return {!Object}
831
- * @suppress {unusedLocalVariables} f is only used for nested messages
832
- */
833
- proto.Auth.AppAccountProto.ChangePskRequest.toObject = function(includeInstance, msg) {
834
- var f, obj = {
835
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
836
- psk: jspb.Message.getFieldWithDefault(msg, 2, "")
837
- };
838
-
839
- if (includeInstance) {
840
- obj.$jspbMessageInstance = msg;
841
- }
842
- return obj;
843
- };
844
- }
845
-
846
-
847
- /**
848
- * Deserializes binary data (in protobuf wire format).
849
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
850
- * @return {!proto.Auth.AppAccountProto.ChangePskRequest}
851
- */
852
- proto.Auth.AppAccountProto.ChangePskRequest.deserializeBinary = function(bytes) {
853
- var reader = new jspb.BinaryReader(bytes);
854
- var msg = new proto.Auth.AppAccountProto.ChangePskRequest;
855
- return proto.Auth.AppAccountProto.ChangePskRequest.deserializeBinaryFromReader(msg, reader);
856
- };
857
-
858
-
859
- /**
860
- * Deserializes binary data (in protobuf wire format) from the
861
- * given reader into the given message object.
862
- * @param {!proto.Auth.AppAccountProto.ChangePskRequest} msg The message object to deserialize into.
863
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
864
- * @return {!proto.Auth.AppAccountProto.ChangePskRequest}
865
- */
866
- proto.Auth.AppAccountProto.ChangePskRequest.deserializeBinaryFromReader = function(msg, reader) {
867
- while (reader.nextField()) {
868
- if (reader.isEndGroup()) {
869
- break;
870
- }
871
- var field = reader.getFieldNumber();
872
- switch (field) {
873
- case 1:
874
- var value = /** @type {number} */ (reader.readInt64());
875
- msg.setId(value);
876
- break;
877
- case 2:
878
- var value = /** @type {string} */ (reader.readString());
879
- msg.setPsk(value);
880
- break;
881
- default:
882
- reader.skipField();
883
- break;
884
- }
885
- }
886
- return msg;
887
- };
888
-
889
-
890
- /**
891
- * Serializes the message to binary data (in protobuf wire format).
892
- * @return {!Uint8Array}
893
- */
894
- proto.Auth.AppAccountProto.ChangePskRequest.prototype.serializeBinary = function() {
895
- var writer = new jspb.BinaryWriter();
896
- proto.Auth.AppAccountProto.ChangePskRequest.serializeBinaryToWriter(this, writer);
897
- return writer.getResultBuffer();
898
- };
899
-
900
-
901
- /**
902
- * Serializes the given message to binary data (in protobuf wire
903
- * format), writing to the given BinaryWriter.
904
- * @param {!proto.Auth.AppAccountProto.ChangePskRequest} message
905
- * @param {!jspb.BinaryWriter} writer
906
- * @suppress {unusedLocalVariables} f is only used for nested messages
907
- */
908
- proto.Auth.AppAccountProto.ChangePskRequest.serializeBinaryToWriter = function(message, writer) {
909
- var f = undefined;
910
- f = message.getId();
911
- if (f !== 0) {
912
- writer.writeInt64(
913
- 1,
914
- f
915
- );
916
- }
917
- f = message.getPsk();
918
- if (f.length > 0) {
919
- writer.writeString(
920
- 2,
921
- f
922
- );
923
- }
924
- };
925
-
926
-
927
- /**
928
- * optional int64 id = 1;
929
- * @return {number}
930
- */
931
- proto.Auth.AppAccountProto.ChangePskRequest.prototype.getId = function() {
932
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
933
- };
934
-
935
-
936
- /**
937
- * @param {number} value
938
- * @return {!proto.Auth.AppAccountProto.ChangePskRequest} returns this
939
- */
940
- proto.Auth.AppAccountProto.ChangePskRequest.prototype.setId = function(value) {
941
- return jspb.Message.setProto3IntField(this, 1, value);
942
- };
943
-
944
-
945
- /**
946
- * optional string psk = 2;
947
- * @return {string}
948
- */
949
- proto.Auth.AppAccountProto.ChangePskRequest.prototype.getPsk = function() {
950
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
951
- };
952
-
953
-
954
- /**
955
- * @param {string} value
956
- * @return {!proto.Auth.AppAccountProto.ChangePskRequest} returns this
957
- */
958
- proto.Auth.AppAccountProto.ChangePskRequest.prototype.setPsk = function(value) {
959
- return jspb.Message.setProto3StringField(this, 2, value);
960
- };
961
-
962
-
963
-
964
-
965
-
966
- if (jspb.Message.GENERATE_TO_OBJECT) {
967
- /**
968
- * Creates an object representation of this proto.
969
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
970
- * Optional fields that are not set will be set to undefined.
971
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
972
- * For the list of reserved names please see:
973
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
974
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
975
- * JSPB instance for transitional soy proto support:
976
- * http://goto/soy-param-migration
977
- * @return {!Object}
978
- */
979
- proto.Auth.AppAccountProto.ModifyClientRequest.prototype.toObject = function(opt_includeInstance) {
980
- return proto.Auth.AppAccountProto.ModifyClientRequest.toObject(opt_includeInstance, this);
981
- };
982
-
983
-
984
- /**
985
- * Static version of the {@see toObject} method.
986
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
987
- * the JSPB instance for transitional soy proto support:
988
- * http://goto/soy-param-migration
989
- * @param {!proto.Auth.AppAccountProto.ModifyClientRequest} msg The msg instance to transform.
990
- * @return {!Object}
991
- * @suppress {unusedLocalVariables} f is only used for nested messages
992
- */
993
- proto.Auth.AppAccountProto.ModifyClientRequest.toObject = function(includeInstance, msg) {
994
- var f, obj = {
995
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
996
- clientId: jspb.Message.getFieldWithDefault(msg, 2, 0),
997
- clusterId: jspb.Message.getFieldWithDefault(msg, 3, 0)
998
- };
999
-
1000
- if (includeInstance) {
1001
- obj.$jspbMessageInstance = msg;
1002
- }
1003
- return obj;
1004
- };
1005
- }
1006
-
1007
-
1008
- /**
1009
- * Deserializes binary data (in protobuf wire format).
1010
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1011
- * @return {!proto.Auth.AppAccountProto.ModifyClientRequest}
1012
- */
1013
- proto.Auth.AppAccountProto.ModifyClientRequest.deserializeBinary = function(bytes) {
1014
- var reader = new jspb.BinaryReader(bytes);
1015
- var msg = new proto.Auth.AppAccountProto.ModifyClientRequest;
1016
- return proto.Auth.AppAccountProto.ModifyClientRequest.deserializeBinaryFromReader(msg, reader);
1017
- };
1018
-
1019
-
1020
- /**
1021
- * Deserializes binary data (in protobuf wire format) from the
1022
- * given reader into the given message object.
1023
- * @param {!proto.Auth.AppAccountProto.ModifyClientRequest} msg The message object to deserialize into.
1024
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1025
- * @return {!proto.Auth.AppAccountProto.ModifyClientRequest}
1026
- */
1027
- proto.Auth.AppAccountProto.ModifyClientRequest.deserializeBinaryFromReader = function(msg, reader) {
1028
- while (reader.nextField()) {
1029
- if (reader.isEndGroup()) {
1030
- break;
1031
- }
1032
- var field = reader.getFieldNumber();
1033
- switch (field) {
1034
- case 1:
1035
- var value = /** @type {number} */ (reader.readInt64());
1036
- msg.setId(value);
1037
- break;
1038
- case 2:
1039
- var value = /** @type {number} */ (reader.readInt32());
1040
- msg.setClientId(value);
1041
- break;
1042
- case 3:
1043
- var value = /** @type {number} */ (reader.readInt64());
1044
- msg.setClusterId(value);
1045
- break;
1046
- default:
1047
- reader.skipField();
1048
- break;
1049
- }
1050
- }
1051
- return msg;
1052
- };
1053
-
1054
-
1055
- /**
1056
- * Serializes the message to binary data (in protobuf wire format).
1057
- * @return {!Uint8Array}
1058
- */
1059
- proto.Auth.AppAccountProto.ModifyClientRequest.prototype.serializeBinary = function() {
1060
- var writer = new jspb.BinaryWriter();
1061
- proto.Auth.AppAccountProto.ModifyClientRequest.serializeBinaryToWriter(this, writer);
1062
- return writer.getResultBuffer();
1063
- };
1064
-
1065
-
1066
- /**
1067
- * Serializes the given message to binary data (in protobuf wire
1068
- * format), writing to the given BinaryWriter.
1069
- * @param {!proto.Auth.AppAccountProto.ModifyClientRequest} message
1070
- * @param {!jspb.BinaryWriter} writer
1071
- * @suppress {unusedLocalVariables} f is only used for nested messages
1072
- */
1073
- proto.Auth.AppAccountProto.ModifyClientRequest.serializeBinaryToWriter = function(message, writer) {
1074
- var f = undefined;
1075
- f = message.getId();
1076
- if (f !== 0) {
1077
- writer.writeInt64(
1078
- 1,
1079
- f
1080
- );
1081
- }
1082
- f = message.getClientId();
1083
- if (f !== 0) {
1084
- writer.writeInt32(
1085
- 2,
1086
- f
1087
- );
1088
- }
1089
- f = message.getClusterId();
1090
- if (f !== 0) {
1091
- writer.writeInt64(
1092
- 3,
1093
- f
1094
- );
1095
- }
1096
- };
1097
-
1098
-
1099
- /**
1100
- * optional int64 id = 1;
1101
- * @return {number}
1102
- */
1103
- proto.Auth.AppAccountProto.ModifyClientRequest.prototype.getId = function() {
1104
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1105
- };
1106
-
1107
-
1108
- /**
1109
- * @param {number} value
1110
- * @return {!proto.Auth.AppAccountProto.ModifyClientRequest} returns this
1111
- */
1112
- proto.Auth.AppAccountProto.ModifyClientRequest.prototype.setId = function(value) {
1113
- return jspb.Message.setProto3IntField(this, 1, value);
1114
- };
1115
-
1116
-
1117
- /**
1118
- * optional int32 client_id = 2;
1119
- * @return {number}
1120
- */
1121
- proto.Auth.AppAccountProto.ModifyClientRequest.prototype.getClientId = function() {
1122
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1123
- };
1124
-
1125
-
1126
- /**
1127
- * @param {number} value
1128
- * @return {!proto.Auth.AppAccountProto.ModifyClientRequest} returns this
1129
- */
1130
- proto.Auth.AppAccountProto.ModifyClientRequest.prototype.setClientId = function(value) {
1131
- return jspb.Message.setProto3IntField(this, 2, value);
1132
- };
1133
-
1134
-
1135
- /**
1136
- * optional int64 cluster_id = 3;
1137
- * @return {number}
1138
- */
1139
- proto.Auth.AppAccountProto.ModifyClientRequest.prototype.getClusterId = function() {
1140
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1141
- };
1142
-
1143
-
1144
- /**
1145
- * @param {number} value
1146
- * @return {!proto.Auth.AppAccountProto.ModifyClientRequest} returns this
1147
- */
1148
- proto.Auth.AppAccountProto.ModifyClientRequest.prototype.setClusterId = function(value) {
1149
- return jspb.Message.setProto3IntField(this, 3, value);
1150
- };
1151
-
1152
-
1153
- goog.object.extend(exports, proto.Auth);