@aceplus/smartace-api 1.3.0-alpha.124

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