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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/package.json +1 -1
  2. package/auth.account_events_pb.d.ts +0 -5
  3. package/auth.account_events_pb.js +0 -23
  4. package/auth.account_events_pb_service.d.ts +0 -3
  5. package/auth.account_events_pb_service.js +0 -3
  6. package/auth.account_pb.d.ts +0 -521
  7. package/auth.account_pb.js +0 -3953
  8. package/auth.account_pb_service.d.ts +0 -454
  9. package/auth.account_pb_service.js +0 -877
  10. package/auth.app_account_pb.d.ts +0 -157
  11. package/auth.app_account_pb.js +0 -1155
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -165
  15. package/auth.app_authn_pb.js +0 -1180
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -85
  23. package/auth.authn_pb.js +0 -625
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -235
  35. package/auth.email_pb.js +0 -1632
  36. package/auth.email_pb_service.d.ts +0 -102
  37. package/auth.email_pb_service.js +0 -142
  38. package/auth.push_notification_pb.d.ts +0 -187
  39. package/auth.push_notification_pb.js +0 -1289
  40. package/auth.push_notification_pb_service.d.ts +0 -121
  41. package/auth.push_notification_pb_service.js +0 -182
  42. package/auth.sms_pb.d.ts +0 -80
  43. package/auth.sms_pb.js +0 -577
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/google/api/annotations_pb.d.ts +0 -9
  47. package/google/api/annotations_pb.js +0 -54
  48. package/google/api/annotations_pb_service.d.ts +0 -3
  49. package/google/api/annotations_pb_service.js +0 -3
  50. package/google/api/auth_pb.d.ts +0 -150
  51. package/google/api/auth_pb.js +0 -1160
  52. package/google/api/auth_pb_service.d.ts +0 -3
  53. package/google/api/auth_pb_service.js +0 -3
  54. package/google/api/backend_pb.d.ts +0 -59
  55. package/google/api/backend_pb.js +0 -448
  56. package/google/api/backend_pb_service.d.ts +0 -3
  57. package/google/api/backend_pb_service.js +0 -3
  58. package/google/api/billing_pb.d.ts +0 -54
  59. package/google/api/billing_pb.js +0 -416
  60. package/google/api/billing_pb_service.d.ts +0 -3
  61. package/google/api/billing_pb_service.js +0 -3
  62. package/google/api/client_pb.d.ts +0 -12
  63. package/google/api/client_pb.js +0 -104
  64. package/google/api/client_pb_service.d.ts +0 -3
  65. package/google/api/client_pb_service.js +0 -3
  66. package/google/api/config_change_pb.d.ts +0 -72
  67. package/google/api/config_change_pb.js +0 -489
  68. package/google/api/config_change_pb_service.d.ts +0 -3
  69. package/google/api/config_change_pb_service.js +0 -3
  70. package/google/api/consumer_pb.d.ts +0 -65
  71. package/google/api/consumer_pb.js +0 -430
  72. package/google/api/consumer_pb_service.d.ts +0 -3
  73. package/google/api/consumer_pb_service.js +0 -3
  74. package/google/api/context_pb.d.ts +0 -59
  75. package/google/api/context_pb.js +0 -463
  76. package/google/api/context_pb_service.d.ts +0 -3
  77. package/google/api/context_pb_service.js +0 -3
  78. package/google/api/control_pb.d.ts +0 -25
  79. package/google/api/control_pb.js +0 -176
  80. package/google/api/control_pb_service.d.ts +0 -3
  81. package/google/api/control_pb_service.js +0 -3
  82. package/google/api/distribution_pb.d.ts +0 -235
  83. package/google/api/distribution_pb.js +0 -1805
  84. package/google/api/distribution_pb_service.d.ts +0 -3
  85. package/google/api/distribution_pb_service.js +0 -3
  86. package/google/api/documentation_pb.d.ts +0 -103
  87. package/google/api/documentation_pb.js +0 -803
  88. package/google/api/documentation_pb_service.d.ts +0 -3
  89. package/google/api/documentation_pb_service.js +0 -3
  90. package/google/api/endpoint_pb.d.ts +0 -46
  91. package/google/api/endpoint_pb.js +0 -343
  92. package/google/api/endpoint_pb_service.d.ts +0 -3
  93. package/google/api/endpoint_pb_service.js +0 -3
  94. package/google/api/error_reason_pb.d.ts +0 -40
  95. package/google/api/error_reason_pb.js +0 -61
  96. package/google/api/error_reason_pb_service.d.ts +0 -3
  97. package/google/api/error_reason_pb_service.js +0 -3
  98. package/google/api/field_behavior_pb.d.ts +0 -20
  99. package/google/api/field_behavior_pb.js +0 -66
  100. package/google/api/field_behavior_pb_service.d.ts +0 -3
  101. package/google/api/field_behavior_pb_service.js +0 -3
  102. package/google/api/http_pb.d.ts +0 -136
  103. package/google/api/http_pb.js +0 -1012
  104. package/google/api/http_pb_service.d.ts +0 -3
  105. package/google/api/http_pb_service.js +0 -3
  106. package/google/api/httpbody_pb.d.ts +0 -38
  107. package/google/api/httpbody_pb.js +0 -292
  108. package/google/api/httpbody_pb_service.d.ts +0 -3
  109. package/google/api/httpbody_pb_service.js +0 -3
  110. package/google/api/label_pb.d.ts +0 -41
  111. package/google/api/label_pb.js +0 -246
  112. package/google/api/label_pb_service.d.ts +0 -3
  113. package/google/api/label_pb_service.js +0 -3
  114. package/google/api/launch_stage_pb.d.ts +0 -16
  115. package/google/api/launch_stage_pb.js +0 -37
  116. package/google/api/launch_stage_pb_service.d.ts +0 -3
  117. package/google/api/launch_stage_pb_service.js +0 -3
  118. package/google/api/log_pb.d.ts +0 -40
  119. package/google/api/log_pb.js +0 -298
  120. package/google/api/log_pb_service.d.ts +0 -3
  121. package/google/api/log_pb_service.js +0 -3
  122. package/google/api/logging_pb.d.ts +0 -60
  123. package/google/api/logging_pb.js +0 -469
  124. package/google/api/logging_pb_service.d.ts +0 -3
  125. package/google/api/logging_pb_service.js +0 -3
  126. package/google/api/metric_pb.d.ts +0 -100
  127. package/google/api/metric_pb.js +0 -629
  128. package/google/api/metric_pb_service.d.ts +0 -3
  129. package/google/api/metric_pb_service.js +0 -3
  130. package/google/api/monitored_resource_pb.d.ts +0 -93
  131. package/google/api/monitored_resource_pb.js +0 -723
  132. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  133. package/google/api/monitored_resource_pb_service.js +0 -3
  134. package/google/api/monitoring_pb.d.ts +0 -60
  135. package/google/api/monitoring_pb.js +0 -469
  136. package/google/api/monitoring_pb_service.d.ts +0 -3
  137. package/google/api/monitoring_pb_service.js +0 -3
  138. package/google/api/policy_pb.d.ts +0 -64
  139. package/google/api/policy_pb.js +0 -502
  140. package/google/api/policy_pb_service.d.ts +0 -3
  141. package/google/api/policy_pb_service.js +0 -3
  142. package/google/api/quota_pb.d.ts +0 -112
  143. package/google/api/quota_pb.js +0 -873
  144. package/google/api/quota_pb_service.d.ts +0 -3
  145. package/google/api/quota_pb_service.js +0 -3
  146. package/google/api/resource_pb.d.ts +0 -99
  147. package/google/api/resource_pb.js +0 -684
  148. package/google/api/resource_pb_service.d.ts +0 -3
  149. package/google/api/resource_pb_service.js +0 -3
  150. package/google/api/routing_pb.d.ts +0 -54
  151. package/google/api/routing_pb.js +0 -416
  152. package/google/api/routing_pb_service.d.ts +0 -3
  153. package/google/api/routing_pb_service.js +0 -3
  154. package/google/api/service_pb.d.ts +0 -184
  155. package/google/api/service_pb.js +0 -1400
  156. package/google/api/service_pb_service.d.ts +0 -3
  157. package/google/api/service_pb_service.js +0 -3
  158. package/google/api/source_info_pb.d.ts +0 -28
  159. package/google/api/source_info_pb.js +0 -208
  160. package/google/api/source_info_pb_service.d.ts +0 -3
  161. package/google/api/source_info_pb_service.js +0 -3
  162. package/google/api/system_parameter_pb.d.ts +0 -81
  163. package/google/api/system_parameter_pb.js +0 -630
  164. package/google/api/system_parameter_pb_service.d.ts +0 -3
  165. package/google/api/system_parameter_pb_service.js +0 -3
  166. package/google/api/usage_pb.d.ts +0 -66
  167. package/google/api/usage_pb.js +0 -499
  168. package/google/api/usage_pb_service.d.ts +0 -3
  169. package/google/api/usage_pb_service.js +0 -3
  170. package/google/api/visibility_pb.d.ts +0 -64
  171. package/google/api/visibility_pb.js +0 -546
  172. package/google/api/visibility_pb_service.d.ts +0 -3
  173. package/google/api/visibility_pb_service.js +0 -3
  174. package/platform.activity_log_pb.d.ts +0 -177
  175. package/platform.activity_log_pb.js +0 -1294
  176. package/platform.activity_log_pb_service.d.ts +0 -82
  177. package/platform.activity_log_pb_service.js +0 -101
  178. package/platform.client_pb.d.ts +0 -308
  179. package/platform.client_pb.js +0 -2339
  180. package/platform.client_pb_service.d.ts +0 -158
  181. package/platform.client_pb_service.js +0 -261
  182. package/platform.group_pb.d.ts +0 -195
  183. package/platform.group_pb.js +0 -1476
  184. package/platform.group_pb_service.d.ts +0 -139
  185. package/platform.group_pb_service.js +0 -221
  186. package/platform.local_account_pb.d.ts +0 -315
  187. package/platform.local_account_pb.js +0 -2372
  188. package/platform.local_account_pb_service.d.ts +0 -293
  189. package/platform.local_account_pb_service.js +0 -543
  190. package/platform.local_distribution_pb.d.ts +0 -69
  191. package/platform.local_distribution_pb.js +0 -506
  192. package/platform.local_distribution_pb_service.d.ts +0 -63
  193. package/platform.local_distribution_pb_service.js +0 -61
  194. package/platform.location_pb.d.ts +0 -271
  195. package/platform.location_pb.js +0 -2046
  196. package/platform.location_pb_service.d.ts +0 -139
  197. package/platform.location_pb_service.js +0 -221
  198. package/platform.pagination_pb.d.ts +0 -37
  199. package/platform.pagination_pb.js +0 -266
  200. package/platform.pagination_pb_service.d.ts +0 -3
  201. package/platform.pagination_pb_service.js +0 -3
  202. package/spic.cabinet_pb.d.ts +0 -1296
  203. package/spic.cabinet_pb.js +0 -9667
  204. package/spic.cabinet_pb_service.d.ts +0 -359
  205. package/spic.cabinet_pb_service.js +0 -677
  206. package/spic.contractor_pb.d.ts +0 -195
  207. package/spic.contractor_pb.js +0 -1476
  208. package/spic.contractor_pb_service.d.ts +0 -139
  209. package/spic.contractor_pb_service.js +0 -221
@@ -1,1155 +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 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);