@aceplus/smartace-api 3.7.0-alpha.5 → 3.7.0-alpha.6

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.
@@ -25,8 +25,6 @@ var auth_push_notification_pb = require('./auth.push_notification_pb.js');
25
25
  goog.object.extend(proto, auth_push_notification_pb);
26
26
  var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
27
  goog.object.extend(proto, google_api_annotations_pb);
28
- var platform_pagination_pb = require('./platform.pagination_pb.js');
29
- goog.object.extend(proto, platform_pagination_pb);
30
28
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
31
29
  goog.object.extend(proto, google_protobuf_empty_pb);
32
30
  goog.exportSymbol('proto.Auth.AccountProto', null, global);
@@ -37,8 +35,6 @@ goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordReply', null, global);
37
35
  goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordRequest', null, global);
38
36
  goog.exportSymbol('proto.Auth.AccountProto.CreateAdminRequest', null, global);
39
37
  goog.exportSymbol('proto.Auth.AccountProto.CreateAppRequest', null, global);
40
- goog.exportSymbol('proto.Auth.AccountProto.DeleteReply', null, global);
41
- goog.exportSymbol('proto.Auth.AccountProto.DeleteRequest', null, global);
42
38
  goog.exportSymbol('proto.Auth.AccountProto.ForgotPasswordRequest', null, global);
43
39
  goog.exportSymbol('proto.Auth.AccountProto.ResendInvitationRequest', null, global);
44
40
  goog.exportSymbol('proto.Auth.AccountProto.ResetPasswordRequest', null, global);
@@ -46,11 +42,7 @@ goog.exportSymbol('proto.Auth.AccountProto.RetrieveAccountActivationStatusesRepl
46
42
  goog.exportSymbol('proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest', null, global);
47
43
  goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoReply', null, global);
48
44
  goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoRequest', null, global);
49
- goog.exportSymbol('proto.Auth.AccountProto.RetrieveRequest', null, global);
50
45
  goog.exportSymbol('proto.Auth.AccountProto.Roles', null, global);
51
- goog.exportSymbol('proto.Auth.AccountProto.SearchReply', null, global);
52
- goog.exportSymbol('proto.Auth.AccountProto.SearchRequest', null, global);
53
- goog.exportSymbol('proto.Auth.AccountProto.UpdateRequest', null, global);
54
46
  /**
55
47
  * Generated by JsPbCodeGenerator.
56
48
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -114,90 +106,6 @@ if (goog.DEBUG && !COMPILED) {
114
106
  */
115
107
  proto.Auth.AccountProto.CreateAppRequest.displayName = 'proto.Auth.AccountProto.CreateAppRequest';
116
108
  }
117
- /**
118
- * Generated by JsPbCodeGenerator.
119
- * @param {Array=} opt_data Optional initial data array, typically from a
120
- * server response, or constructed directly in Javascript. The array is used
121
- * in place and becomes part of the constructed object. It is not cloned.
122
- * If no data is provided, the constructed object will be empty, but still
123
- * valid.
124
- * @extends {jspb.Message}
125
- * @constructor
126
- */
127
- proto.Auth.AccountProto.RetrieveRequest = function(opt_data) {
128
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
129
- };
130
- goog.inherits(proto.Auth.AccountProto.RetrieveRequest, jspb.Message);
131
- if (goog.DEBUG && !COMPILED) {
132
- /**
133
- * @public
134
- * @override
135
- */
136
- proto.Auth.AccountProto.RetrieveRequest.displayName = 'proto.Auth.AccountProto.RetrieveRequest';
137
- }
138
- /**
139
- * Generated by JsPbCodeGenerator.
140
- * @param {Array=} opt_data Optional initial data array, typically from a
141
- * server response, or constructed directly in Javascript. The array is used
142
- * in place and becomes part of the constructed object. It is not cloned.
143
- * If no data is provided, the constructed object will be empty, but still
144
- * valid.
145
- * @extends {jspb.Message}
146
- * @constructor
147
- */
148
- proto.Auth.AccountProto.SearchReply = function(opt_data) {
149
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.SearchReply.repeatedFields_, null);
150
- };
151
- goog.inherits(proto.Auth.AccountProto.SearchReply, jspb.Message);
152
- if (goog.DEBUG && !COMPILED) {
153
- /**
154
- * @public
155
- * @override
156
- */
157
- proto.Auth.AccountProto.SearchReply.displayName = 'proto.Auth.AccountProto.SearchReply';
158
- }
159
- /**
160
- * Generated by JsPbCodeGenerator.
161
- * @param {Array=} opt_data Optional initial data array, typically from a
162
- * server response, or constructed directly in Javascript. The array is used
163
- * in place and becomes part of the constructed object. It is not cloned.
164
- * If no data is provided, the constructed object will be empty, but still
165
- * valid.
166
- * @extends {jspb.Message}
167
- * @constructor
168
- */
169
- proto.Auth.AccountProto.SearchRequest = function(opt_data) {
170
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
171
- };
172
- goog.inherits(proto.Auth.AccountProto.SearchRequest, jspb.Message);
173
- if (goog.DEBUG && !COMPILED) {
174
- /**
175
- * @public
176
- * @override
177
- */
178
- proto.Auth.AccountProto.SearchRequest.displayName = 'proto.Auth.AccountProto.SearchRequest';
179
- }
180
- /**
181
- * Generated by JsPbCodeGenerator.
182
- * @param {Array=} opt_data Optional initial data array, typically from a
183
- * server response, or constructed directly in Javascript. The array is used
184
- * in place and becomes part of the constructed object. It is not cloned.
185
- * If no data is provided, the constructed object will be empty, but still
186
- * valid.
187
- * @extends {jspb.Message}
188
- * @constructor
189
- */
190
- proto.Auth.AccountProto.UpdateRequest = function(opt_data) {
191
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
192
- };
193
- goog.inherits(proto.Auth.AccountProto.UpdateRequest, jspb.Message);
194
- if (goog.DEBUG && !COMPILED) {
195
- /**
196
- * @public
197
- * @override
198
- */
199
- proto.Auth.AccountProto.UpdateRequest.displayName = 'proto.Auth.AccountProto.UpdateRequest';
200
- }
201
109
  /**
202
110
  * Generated by JsPbCodeGenerator.
203
111
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -303,48 +211,6 @@ if (goog.DEBUG && !COMPILED) {
303
211
  */
304
212
  proto.Auth.AccountProto.ChangePasswordReply.displayName = 'proto.Auth.AccountProto.ChangePasswordReply';
305
213
  }
306
- /**
307
- * Generated by JsPbCodeGenerator.
308
- * @param {Array=} opt_data Optional initial data array, typically from a
309
- * server response, or constructed directly in Javascript. The array is used
310
- * in place and becomes part of the constructed object. It is not cloned.
311
- * If no data is provided, the constructed object will be empty, but still
312
- * valid.
313
- * @extends {jspb.Message}
314
- * @constructor
315
- */
316
- proto.Auth.AccountProto.DeleteRequest = function(opt_data) {
317
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
318
- };
319
- goog.inherits(proto.Auth.AccountProto.DeleteRequest, jspb.Message);
320
- if (goog.DEBUG && !COMPILED) {
321
- /**
322
- * @public
323
- * @override
324
- */
325
- proto.Auth.AccountProto.DeleteRequest.displayName = 'proto.Auth.AccountProto.DeleteRequest';
326
- }
327
- /**
328
- * Generated by JsPbCodeGenerator.
329
- * @param {Array=} opt_data Optional initial data array, typically from a
330
- * server response, or constructed directly in Javascript. The array is used
331
- * in place and becomes part of the constructed object. It is not cloned.
332
- * If no data is provided, the constructed object will be empty, but still
333
- * valid.
334
- * @extends {jspb.Message}
335
- * @constructor
336
- */
337
- proto.Auth.AccountProto.DeleteReply = function(opt_data) {
338
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
339
- };
340
- goog.inherits(proto.Auth.AccountProto.DeleteReply, jspb.Message);
341
- if (goog.DEBUG && !COMPILED) {
342
- /**
343
- * @public
344
- * @override
345
- */
346
- proto.Auth.AccountProto.DeleteReply.displayName = 'proto.Auth.AccountProto.DeleteReply';
347
- }
348
214
  /**
349
215
  * Generated by JsPbCodeGenerator.
350
216
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1125,837 +991,8 @@ proto.Auth.AccountProto.CreateAppRequest.prototype.getPhone = function() {
1125
991
  * @param {string} value
1126
992
  * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1127
993
  */
1128
- proto.Auth.AccountProto.CreateAppRequest.prototype.setPhone = function(value) {
1129
- return jspb.Message.setProto3StringField(this, 1, value);
1130
- };
1131
-
1132
-
1133
- /**
1134
- * optional string first_name = 2;
1135
- * @return {string}
1136
- */
1137
- proto.Auth.AccountProto.CreateAppRequest.prototype.getFirstName = function() {
1138
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1139
- };
1140
-
1141
-
1142
- /**
1143
- * @param {string} value
1144
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1145
- */
1146
- proto.Auth.AccountProto.CreateAppRequest.prototype.setFirstName = function(value) {
1147
- return jspb.Message.setProto3StringField(this, 2, value);
1148
- };
1149
-
1150
-
1151
- /**
1152
- * optional string last_name = 3;
1153
- * @return {string}
1154
- */
1155
- proto.Auth.AccountProto.CreateAppRequest.prototype.getLastName = function() {
1156
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1157
- };
1158
-
1159
-
1160
- /**
1161
- * @param {string} value
1162
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1163
- */
1164
- proto.Auth.AccountProto.CreateAppRequest.prototype.setLastName = function(value) {
1165
- return jspb.Message.setProto3StringField(this, 3, value);
1166
- };
1167
-
1168
-
1169
- /**
1170
- * optional string locale = 4;
1171
- * @return {string}
1172
- */
1173
- proto.Auth.AccountProto.CreateAppRequest.prototype.getLocale = function() {
1174
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1175
- };
1176
-
1177
-
1178
- /**
1179
- * @param {string} value
1180
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1181
- */
1182
- proto.Auth.AccountProto.CreateAppRequest.prototype.setLocale = function(value) {
1183
- return jspb.Message.setProto3StringField(this, 4, value);
1184
- };
1185
-
1186
-
1187
- /**
1188
- * optional string company = 5;
1189
- * @return {string}
1190
- */
1191
- proto.Auth.AccountProto.CreateAppRequest.prototype.getCompany = function() {
1192
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1193
- };
1194
-
1195
-
1196
- /**
1197
- * @param {string} value
1198
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1199
- */
1200
- proto.Auth.AccountProto.CreateAppRequest.prototype.setCompany = function(value) {
1201
- return jspb.Message.setProto3StringField(this, 5, value);
1202
- };
1203
-
1204
-
1205
- /**
1206
- * optional string client_name = 6;
1207
- * @return {string}
1208
- */
1209
- proto.Auth.AccountProto.CreateAppRequest.prototype.getClientName = function() {
1210
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1211
- };
1212
-
1213
-
1214
- /**
1215
- * @param {string} value
1216
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1217
- */
1218
- proto.Auth.AccountProto.CreateAppRequest.prototype.setClientName = function(value) {
1219
- return jspb.Message.setProto3StringField(this, 6, value);
1220
- };
1221
-
1222
-
1223
-
1224
-
1225
-
1226
- if (jspb.Message.GENERATE_TO_OBJECT) {
1227
- /**
1228
- * Creates an object representation of this proto.
1229
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1230
- * Optional fields that are not set will be set to undefined.
1231
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1232
- * For the list of reserved names please see:
1233
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1234
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1235
- * JSPB instance for transitional soy proto support:
1236
- * http://goto/soy-param-migration
1237
- * @return {!Object}
1238
- */
1239
- proto.Auth.AccountProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
1240
- return proto.Auth.AccountProto.RetrieveRequest.toObject(opt_includeInstance, this);
1241
- };
1242
-
1243
-
1244
- /**
1245
- * Static version of the {@see toObject} method.
1246
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1247
- * the JSPB instance for transitional soy proto support:
1248
- * http://goto/soy-param-migration
1249
- * @param {!proto.Auth.AccountProto.RetrieveRequest} msg The msg instance to transform.
1250
- * @return {!Object}
1251
- * @suppress {unusedLocalVariables} f is only used for nested messages
1252
- */
1253
- proto.Auth.AccountProto.RetrieveRequest.toObject = function(includeInstance, msg) {
1254
- var f, obj = {
1255
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1256
- clientid: jspb.Message.getFieldWithDefault(msg, 2, 0)
1257
- };
1258
-
1259
- if (includeInstance) {
1260
- obj.$jspbMessageInstance = msg;
1261
- }
1262
- return obj;
1263
- };
1264
- }
1265
-
1266
-
1267
- /**
1268
- * Deserializes binary data (in protobuf wire format).
1269
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1270
- * @return {!proto.Auth.AccountProto.RetrieveRequest}
1271
- */
1272
- proto.Auth.AccountProto.RetrieveRequest.deserializeBinary = function(bytes) {
1273
- var reader = new jspb.BinaryReader(bytes);
1274
- var msg = new proto.Auth.AccountProto.RetrieveRequest;
1275
- return proto.Auth.AccountProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
1276
- };
1277
-
1278
-
1279
- /**
1280
- * Deserializes binary data (in protobuf wire format) from the
1281
- * given reader into the given message object.
1282
- * @param {!proto.Auth.AccountProto.RetrieveRequest} msg The message object to deserialize into.
1283
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1284
- * @return {!proto.Auth.AccountProto.RetrieveRequest}
1285
- */
1286
- proto.Auth.AccountProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
1287
- while (reader.nextField()) {
1288
- if (reader.isEndGroup()) {
1289
- break;
1290
- }
1291
- var field = reader.getFieldNumber();
1292
- switch (field) {
1293
- case 1:
1294
- var value = /** @type {number} */ (reader.readInt64());
1295
- msg.setId(value);
1296
- break;
1297
- case 2:
1298
- var value = /** @type {number} */ (reader.readInt64());
1299
- msg.setClientid(value);
1300
- break;
1301
- default:
1302
- reader.skipField();
1303
- break;
1304
- }
1305
- }
1306
- return msg;
1307
- };
1308
-
1309
-
1310
- /**
1311
- * Serializes the message to binary data (in protobuf wire format).
1312
- * @return {!Uint8Array}
1313
- */
1314
- proto.Auth.AccountProto.RetrieveRequest.prototype.serializeBinary = function() {
1315
- var writer = new jspb.BinaryWriter();
1316
- proto.Auth.AccountProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
1317
- return writer.getResultBuffer();
1318
- };
1319
-
1320
-
1321
- /**
1322
- * Serializes the given message to binary data (in protobuf wire
1323
- * format), writing to the given BinaryWriter.
1324
- * @param {!proto.Auth.AccountProto.RetrieveRequest} message
1325
- * @param {!jspb.BinaryWriter} writer
1326
- * @suppress {unusedLocalVariables} f is only used for nested messages
1327
- */
1328
- proto.Auth.AccountProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
1329
- var f = undefined;
1330
- f = message.getId();
1331
- if (f !== 0) {
1332
- writer.writeInt64(
1333
- 1,
1334
- f
1335
- );
1336
- }
1337
- f = message.getClientid();
1338
- if (f !== 0) {
1339
- writer.writeInt64(
1340
- 2,
1341
- f
1342
- );
1343
- }
1344
- };
1345
-
1346
-
1347
- /**
1348
- * optional int64 id = 1;
1349
- * @return {number}
1350
- */
1351
- proto.Auth.AccountProto.RetrieveRequest.prototype.getId = function() {
1352
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1353
- };
1354
-
1355
-
1356
- /**
1357
- * @param {number} value
1358
- * @return {!proto.Auth.AccountProto.RetrieveRequest} returns this
1359
- */
1360
- proto.Auth.AccountProto.RetrieveRequest.prototype.setId = function(value) {
1361
- return jspb.Message.setProto3IntField(this, 1, value);
1362
- };
1363
-
1364
-
1365
- /**
1366
- * optional int64 clientId = 2;
1367
- * @return {number}
1368
- */
1369
- proto.Auth.AccountProto.RetrieveRequest.prototype.getClientid = function() {
1370
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1371
- };
1372
-
1373
-
1374
- /**
1375
- * @param {number} value
1376
- * @return {!proto.Auth.AccountProto.RetrieveRequest} returns this
1377
- */
1378
- proto.Auth.AccountProto.RetrieveRequest.prototype.setClientid = function(value) {
1379
- return jspb.Message.setProto3IntField(this, 2, value);
1380
- };
1381
-
1382
-
1383
-
1384
- /**
1385
- * List of repeated fields within this message type.
1386
- * @private {!Array<number>}
1387
- * @const
1388
- */
1389
- proto.Auth.AccountProto.SearchReply.repeatedFields_ = [1];
1390
-
1391
-
1392
-
1393
- if (jspb.Message.GENERATE_TO_OBJECT) {
1394
- /**
1395
- * Creates an object representation of this proto.
1396
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1397
- * Optional fields that are not set will be set to undefined.
1398
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1399
- * For the list of reserved names please see:
1400
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1401
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1402
- * JSPB instance for transitional soy proto support:
1403
- * http://goto/soy-param-migration
1404
- * @return {!Object}
1405
- */
1406
- proto.Auth.AccountProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1407
- return proto.Auth.AccountProto.SearchReply.toObject(opt_includeInstance, this);
1408
- };
1409
-
1410
-
1411
- /**
1412
- * Static version of the {@see toObject} method.
1413
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1414
- * the JSPB instance for transitional soy proto support:
1415
- * http://goto/soy-param-migration
1416
- * @param {!proto.Auth.AccountProto.SearchReply} msg The msg instance to transform.
1417
- * @return {!Object}
1418
- * @suppress {unusedLocalVariables} f is only used for nested messages
1419
- */
1420
- proto.Auth.AccountProto.SearchReply.toObject = function(includeInstance, msg) {
1421
- var f, obj = {
1422
- accountsList: jspb.Message.toObjectList(msg.getAccountsList(),
1423
- proto.Auth.AccountProto.toObject, includeInstance),
1424
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1425
- };
1426
-
1427
- if (includeInstance) {
1428
- obj.$jspbMessageInstance = msg;
1429
- }
1430
- return obj;
1431
- };
1432
- }
1433
-
1434
-
1435
- /**
1436
- * Deserializes binary data (in protobuf wire format).
1437
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1438
- * @return {!proto.Auth.AccountProto.SearchReply}
1439
- */
1440
- proto.Auth.AccountProto.SearchReply.deserializeBinary = function(bytes) {
1441
- var reader = new jspb.BinaryReader(bytes);
1442
- var msg = new proto.Auth.AccountProto.SearchReply;
1443
- return proto.Auth.AccountProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1444
- };
1445
-
1446
-
1447
- /**
1448
- * Deserializes binary data (in protobuf wire format) from the
1449
- * given reader into the given message object.
1450
- * @param {!proto.Auth.AccountProto.SearchReply} msg The message object to deserialize into.
1451
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1452
- * @return {!proto.Auth.AccountProto.SearchReply}
1453
- */
1454
- proto.Auth.AccountProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1455
- while (reader.nextField()) {
1456
- if (reader.isEndGroup()) {
1457
- break;
1458
- }
1459
- var field = reader.getFieldNumber();
1460
- switch (field) {
1461
- case 1:
1462
- var value = new proto.Auth.AccountProto;
1463
- reader.readMessage(value,proto.Auth.AccountProto.deserializeBinaryFromReader);
1464
- msg.addAccounts(value);
1465
- break;
1466
- case 2:
1467
- var value = new platform_pagination_pb.PaginationProto;
1468
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1469
- msg.setPagination(value);
1470
- break;
1471
- default:
1472
- reader.skipField();
1473
- break;
1474
- }
1475
- }
1476
- return msg;
1477
- };
1478
-
1479
-
1480
- /**
1481
- * Serializes the message to binary data (in protobuf wire format).
1482
- * @return {!Uint8Array}
1483
- */
1484
- proto.Auth.AccountProto.SearchReply.prototype.serializeBinary = function() {
1485
- var writer = new jspb.BinaryWriter();
1486
- proto.Auth.AccountProto.SearchReply.serializeBinaryToWriter(this, writer);
1487
- return writer.getResultBuffer();
1488
- };
1489
-
1490
-
1491
- /**
1492
- * Serializes the given message to binary data (in protobuf wire
1493
- * format), writing to the given BinaryWriter.
1494
- * @param {!proto.Auth.AccountProto.SearchReply} message
1495
- * @param {!jspb.BinaryWriter} writer
1496
- * @suppress {unusedLocalVariables} f is only used for nested messages
1497
- */
1498
- proto.Auth.AccountProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1499
- var f = undefined;
1500
- f = message.getAccountsList();
1501
- if (f.length > 0) {
1502
- writer.writeRepeatedMessage(
1503
- 1,
1504
- f,
1505
- proto.Auth.AccountProto.serializeBinaryToWriter
1506
- );
1507
- }
1508
- f = message.getPagination();
1509
- if (f != null) {
1510
- writer.writeMessage(
1511
- 2,
1512
- f,
1513
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1514
- );
1515
- }
1516
- };
1517
-
1518
-
1519
- /**
1520
- * repeated AccountProto accounts = 1;
1521
- * @return {!Array<!proto.Auth.AccountProto>}
1522
- */
1523
- proto.Auth.AccountProto.SearchReply.prototype.getAccountsList = function() {
1524
- return /** @type{!Array<!proto.Auth.AccountProto>} */ (
1525
- jspb.Message.getRepeatedWrapperField(this, proto.Auth.AccountProto, 1));
1526
- };
1527
-
1528
-
1529
- /**
1530
- * @param {!Array<!proto.Auth.AccountProto>} value
1531
- * @return {!proto.Auth.AccountProto.SearchReply} returns this
1532
- */
1533
- proto.Auth.AccountProto.SearchReply.prototype.setAccountsList = function(value) {
1534
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1535
- };
1536
-
1537
-
1538
- /**
1539
- * @param {!proto.Auth.AccountProto=} opt_value
1540
- * @param {number=} opt_index
1541
- * @return {!proto.Auth.AccountProto}
1542
- */
1543
- proto.Auth.AccountProto.SearchReply.prototype.addAccounts = function(opt_value, opt_index) {
1544
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.AccountProto, opt_index);
1545
- };
1546
-
1547
-
1548
- /**
1549
- * Clears the list making it empty but non-null.
1550
- * @return {!proto.Auth.AccountProto.SearchReply} returns this
1551
- */
1552
- proto.Auth.AccountProto.SearchReply.prototype.clearAccountsList = function() {
1553
- return this.setAccountsList([]);
1554
- };
1555
-
1556
-
1557
- /**
1558
- * optional Platform.PaginationProto pagination = 2;
1559
- * @return {?proto.Platform.PaginationProto}
1560
- */
1561
- proto.Auth.AccountProto.SearchReply.prototype.getPagination = function() {
1562
- return /** @type{?proto.Platform.PaginationProto} */ (
1563
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1564
- };
1565
-
1566
-
1567
- /**
1568
- * @param {?proto.Platform.PaginationProto|undefined} value
1569
- * @return {!proto.Auth.AccountProto.SearchReply} returns this
1570
- */
1571
- proto.Auth.AccountProto.SearchReply.prototype.setPagination = function(value) {
1572
- return jspb.Message.setWrapperField(this, 2, value);
1573
- };
1574
-
1575
-
1576
- /**
1577
- * Clears the message field making it undefined.
1578
- * @return {!proto.Auth.AccountProto.SearchReply} returns this
1579
- */
1580
- proto.Auth.AccountProto.SearchReply.prototype.clearPagination = function() {
1581
- return this.setPagination(undefined);
1582
- };
1583
-
1584
-
1585
- /**
1586
- * Returns whether this field is set.
1587
- * @return {boolean}
1588
- */
1589
- proto.Auth.AccountProto.SearchReply.prototype.hasPagination = function() {
1590
- return jspb.Message.getField(this, 2) != null;
1591
- };
1592
-
1593
-
1594
-
1595
-
1596
-
1597
- if (jspb.Message.GENERATE_TO_OBJECT) {
1598
- /**
1599
- * Creates an object representation of this proto.
1600
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1601
- * Optional fields that are not set will be set to undefined.
1602
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1603
- * For the list of reserved names please see:
1604
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1605
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1606
- * JSPB instance for transitional soy proto support:
1607
- * http://goto/soy-param-migration
1608
- * @return {!Object}
1609
- */
1610
- proto.Auth.AccountProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1611
- return proto.Auth.AccountProto.SearchRequest.toObject(opt_includeInstance, this);
1612
- };
1613
-
1614
-
1615
- /**
1616
- * Static version of the {@see toObject} method.
1617
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1618
- * the JSPB instance for transitional soy proto support:
1619
- * http://goto/soy-param-migration
1620
- * @param {!proto.Auth.AccountProto.SearchRequest} msg The msg instance to transform.
1621
- * @return {!Object}
1622
- * @suppress {unusedLocalVariables} f is only used for nested messages
1623
- */
1624
- proto.Auth.AccountProto.SearchRequest.toObject = function(includeInstance, msg) {
1625
- var f, obj = {
1626
- search: jspb.Message.getFieldWithDefault(msg, 1, ""),
1627
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
1628
- count: jspb.Message.getFieldWithDefault(msg, 3, 0)
1629
- };
1630
-
1631
- if (includeInstance) {
1632
- obj.$jspbMessageInstance = msg;
1633
- }
1634
- return obj;
1635
- };
1636
- }
1637
-
1638
-
1639
- /**
1640
- * Deserializes binary data (in protobuf wire format).
1641
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1642
- * @return {!proto.Auth.AccountProto.SearchRequest}
1643
- */
1644
- proto.Auth.AccountProto.SearchRequest.deserializeBinary = function(bytes) {
1645
- var reader = new jspb.BinaryReader(bytes);
1646
- var msg = new proto.Auth.AccountProto.SearchRequest;
1647
- return proto.Auth.AccountProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1648
- };
1649
-
1650
-
1651
- /**
1652
- * Deserializes binary data (in protobuf wire format) from the
1653
- * given reader into the given message object.
1654
- * @param {!proto.Auth.AccountProto.SearchRequest} msg The message object to deserialize into.
1655
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1656
- * @return {!proto.Auth.AccountProto.SearchRequest}
1657
- */
1658
- proto.Auth.AccountProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1659
- while (reader.nextField()) {
1660
- if (reader.isEndGroup()) {
1661
- break;
1662
- }
1663
- var field = reader.getFieldNumber();
1664
- switch (field) {
1665
- case 1:
1666
- var value = /** @type {string} */ (reader.readString());
1667
- msg.setSearch(value);
1668
- break;
1669
- case 2:
1670
- var value = /** @type {number} */ (reader.readInt32());
1671
- msg.setPage(value);
1672
- break;
1673
- case 3:
1674
- var value = /** @type {number} */ (reader.readInt32());
1675
- msg.setCount(value);
1676
- break;
1677
- default:
1678
- reader.skipField();
1679
- break;
1680
- }
1681
- }
1682
- return msg;
1683
- };
1684
-
1685
-
1686
- /**
1687
- * Serializes the message to binary data (in protobuf wire format).
1688
- * @return {!Uint8Array}
1689
- */
1690
- proto.Auth.AccountProto.SearchRequest.prototype.serializeBinary = function() {
1691
- var writer = new jspb.BinaryWriter();
1692
- proto.Auth.AccountProto.SearchRequest.serializeBinaryToWriter(this, writer);
1693
- return writer.getResultBuffer();
1694
- };
1695
-
1696
-
1697
- /**
1698
- * Serializes the given message to binary data (in protobuf wire
1699
- * format), writing to the given BinaryWriter.
1700
- * @param {!proto.Auth.AccountProto.SearchRequest} message
1701
- * @param {!jspb.BinaryWriter} writer
1702
- * @suppress {unusedLocalVariables} f is only used for nested messages
1703
- */
1704
- proto.Auth.AccountProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1705
- var f = undefined;
1706
- f = message.getSearch();
1707
- if (f.length > 0) {
1708
- writer.writeString(
1709
- 1,
1710
- f
1711
- );
1712
- }
1713
- f = message.getPage();
1714
- if (f !== 0) {
1715
- writer.writeInt32(
1716
- 2,
1717
- f
1718
- );
1719
- }
1720
- f = message.getCount();
1721
- if (f !== 0) {
1722
- writer.writeInt32(
1723
- 3,
1724
- f
1725
- );
1726
- }
1727
- };
1728
-
1729
-
1730
- /**
1731
- * optional string search = 1;
1732
- * @return {string}
1733
- */
1734
- proto.Auth.AccountProto.SearchRequest.prototype.getSearch = function() {
1735
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1736
- };
1737
-
1738
-
1739
- /**
1740
- * @param {string} value
1741
- * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1742
- */
1743
- proto.Auth.AccountProto.SearchRequest.prototype.setSearch = function(value) {
1744
- return jspb.Message.setProto3StringField(this, 1, value);
1745
- };
1746
-
1747
-
1748
- /**
1749
- * optional int32 page = 2;
1750
- * @return {number}
1751
- */
1752
- proto.Auth.AccountProto.SearchRequest.prototype.getPage = function() {
1753
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1754
- };
1755
-
1756
-
1757
- /**
1758
- * @param {number} value
1759
- * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1760
- */
1761
- proto.Auth.AccountProto.SearchRequest.prototype.setPage = function(value) {
1762
- return jspb.Message.setProto3IntField(this, 2, value);
1763
- };
1764
-
1765
-
1766
- /**
1767
- * optional int32 count = 3;
1768
- * @return {number}
1769
- */
1770
- proto.Auth.AccountProto.SearchRequest.prototype.getCount = function() {
1771
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1772
- };
1773
-
1774
-
1775
- /**
1776
- * @param {number} value
1777
- * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1778
- */
1779
- proto.Auth.AccountProto.SearchRequest.prototype.setCount = function(value) {
1780
- return jspb.Message.setProto3IntField(this, 3, value);
1781
- };
1782
-
1783
-
1784
-
1785
-
1786
-
1787
- if (jspb.Message.GENERATE_TO_OBJECT) {
1788
- /**
1789
- * Creates an object representation of this proto.
1790
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1791
- * Optional fields that are not set will be set to undefined.
1792
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1793
- * For the list of reserved names please see:
1794
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1795
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1796
- * JSPB instance for transitional soy proto support:
1797
- * http://goto/soy-param-migration
1798
- * @return {!Object}
1799
- */
1800
- proto.Auth.AccountProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
1801
- return proto.Auth.AccountProto.UpdateRequest.toObject(opt_includeInstance, this);
1802
- };
1803
-
1804
-
1805
- /**
1806
- * Static version of the {@see toObject} method.
1807
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1808
- * the JSPB instance for transitional soy proto support:
1809
- * http://goto/soy-param-migration
1810
- * @param {!proto.Auth.AccountProto.UpdateRequest} msg The msg instance to transform.
1811
- * @return {!Object}
1812
- * @suppress {unusedLocalVariables} f is only used for nested messages
1813
- */
1814
- proto.Auth.AccountProto.UpdateRequest.toObject = function(includeInstance, msg) {
1815
- var f, obj = {
1816
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1817
- firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1818
- lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1819
- locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
1820
- company: jspb.Message.getFieldWithDefault(msg, 5, "")
1821
- };
1822
-
1823
- if (includeInstance) {
1824
- obj.$jspbMessageInstance = msg;
1825
- }
1826
- return obj;
1827
- };
1828
- }
1829
-
1830
-
1831
- /**
1832
- * Deserializes binary data (in protobuf wire format).
1833
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1834
- * @return {!proto.Auth.AccountProto.UpdateRequest}
1835
- */
1836
- proto.Auth.AccountProto.UpdateRequest.deserializeBinary = function(bytes) {
1837
- var reader = new jspb.BinaryReader(bytes);
1838
- var msg = new proto.Auth.AccountProto.UpdateRequest;
1839
- return proto.Auth.AccountProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
1840
- };
1841
-
1842
-
1843
- /**
1844
- * Deserializes binary data (in protobuf wire format) from the
1845
- * given reader into the given message object.
1846
- * @param {!proto.Auth.AccountProto.UpdateRequest} msg The message object to deserialize into.
1847
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1848
- * @return {!proto.Auth.AccountProto.UpdateRequest}
1849
- */
1850
- proto.Auth.AccountProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
1851
- while (reader.nextField()) {
1852
- if (reader.isEndGroup()) {
1853
- break;
1854
- }
1855
- var field = reader.getFieldNumber();
1856
- switch (field) {
1857
- case 1:
1858
- var value = /** @type {number} */ (reader.readInt64());
1859
- msg.setId(value);
1860
- break;
1861
- case 2:
1862
- var value = /** @type {string} */ (reader.readString());
1863
- msg.setFirstName(value);
1864
- break;
1865
- case 3:
1866
- var value = /** @type {string} */ (reader.readString());
1867
- msg.setLastName(value);
1868
- break;
1869
- case 4:
1870
- var value = /** @type {string} */ (reader.readString());
1871
- msg.setLocale(value);
1872
- break;
1873
- case 5:
1874
- var value = /** @type {string} */ (reader.readString());
1875
- msg.setCompany(value);
1876
- break;
1877
- default:
1878
- reader.skipField();
1879
- break;
1880
- }
1881
- }
1882
- return msg;
1883
- };
1884
-
1885
-
1886
- /**
1887
- * Serializes the message to binary data (in protobuf wire format).
1888
- * @return {!Uint8Array}
1889
- */
1890
- proto.Auth.AccountProto.UpdateRequest.prototype.serializeBinary = function() {
1891
- var writer = new jspb.BinaryWriter();
1892
- proto.Auth.AccountProto.UpdateRequest.serializeBinaryToWriter(this, writer);
1893
- return writer.getResultBuffer();
1894
- };
1895
-
1896
-
1897
- /**
1898
- * Serializes the given message to binary data (in protobuf wire
1899
- * format), writing to the given BinaryWriter.
1900
- * @param {!proto.Auth.AccountProto.UpdateRequest} message
1901
- * @param {!jspb.BinaryWriter} writer
1902
- * @suppress {unusedLocalVariables} f is only used for nested messages
1903
- */
1904
- proto.Auth.AccountProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
1905
- var f = undefined;
1906
- f = message.getId();
1907
- if (f !== 0) {
1908
- writer.writeInt64(
1909
- 1,
1910
- f
1911
- );
1912
- }
1913
- f = message.getFirstName();
1914
- if (f.length > 0) {
1915
- writer.writeString(
1916
- 2,
1917
- f
1918
- );
1919
- }
1920
- f = message.getLastName();
1921
- if (f.length > 0) {
1922
- writer.writeString(
1923
- 3,
1924
- f
1925
- );
1926
- }
1927
- f = message.getLocale();
1928
- if (f.length > 0) {
1929
- writer.writeString(
1930
- 4,
1931
- f
1932
- );
1933
- }
1934
- f = message.getCompany();
1935
- if (f.length > 0) {
1936
- writer.writeString(
1937
- 5,
1938
- f
1939
- );
1940
- }
1941
- };
1942
-
1943
-
1944
- /**
1945
- * optional int64 id = 1;
1946
- * @return {number}
1947
- */
1948
- proto.Auth.AccountProto.UpdateRequest.prototype.getId = function() {
1949
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1950
- };
1951
-
1952
-
1953
- /**
1954
- * @param {number} value
1955
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1956
- */
1957
- proto.Auth.AccountProto.UpdateRequest.prototype.setId = function(value) {
1958
- return jspb.Message.setProto3IntField(this, 1, value);
994
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setPhone = function(value) {
995
+ return jspb.Message.setProto3StringField(this, 1, value);
1959
996
  };
1960
997
 
1961
998
 
@@ -1963,16 +1000,16 @@ proto.Auth.AccountProto.UpdateRequest.prototype.setId = function(value) {
1963
1000
  * optional string first_name = 2;
1964
1001
  * @return {string}
1965
1002
  */
1966
- proto.Auth.AccountProto.UpdateRequest.prototype.getFirstName = function() {
1003
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getFirstName = function() {
1967
1004
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1968
1005
  };
1969
1006
 
1970
1007
 
1971
1008
  /**
1972
1009
  * @param {string} value
1973
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1010
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1974
1011
  */
1975
- proto.Auth.AccountProto.UpdateRequest.prototype.setFirstName = function(value) {
1012
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setFirstName = function(value) {
1976
1013
  return jspb.Message.setProto3StringField(this, 2, value);
1977
1014
  };
1978
1015
 
@@ -1981,16 +1018,16 @@ proto.Auth.AccountProto.UpdateRequest.prototype.setFirstName = function(value) {
1981
1018
  * optional string last_name = 3;
1982
1019
  * @return {string}
1983
1020
  */
1984
- proto.Auth.AccountProto.UpdateRequest.prototype.getLastName = function() {
1021
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getLastName = function() {
1985
1022
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1986
1023
  };
1987
1024
 
1988
1025
 
1989
1026
  /**
1990
1027
  * @param {string} value
1991
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1028
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1992
1029
  */
1993
- proto.Auth.AccountProto.UpdateRequest.prototype.setLastName = function(value) {
1030
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setLastName = function(value) {
1994
1031
  return jspb.Message.setProto3StringField(this, 3, value);
1995
1032
  };
1996
1033
 
@@ -1999,16 +1036,16 @@ proto.Auth.AccountProto.UpdateRequest.prototype.setLastName = function(value) {
1999
1036
  * optional string locale = 4;
2000
1037
  * @return {string}
2001
1038
  */
2002
- proto.Auth.AccountProto.UpdateRequest.prototype.getLocale = function() {
1039
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getLocale = function() {
2003
1040
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2004
1041
  };
2005
1042
 
2006
1043
 
2007
1044
  /**
2008
1045
  * @param {string} value
2009
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1046
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
2010
1047
  */
2011
- proto.Auth.AccountProto.UpdateRequest.prototype.setLocale = function(value) {
1048
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setLocale = function(value) {
2012
1049
  return jspb.Message.setProto3StringField(this, 4, value);
2013
1050
  };
2014
1051
 
@@ -2017,20 +1054,38 @@ proto.Auth.AccountProto.UpdateRequest.prototype.setLocale = function(value) {
2017
1054
  * optional string company = 5;
2018
1055
  * @return {string}
2019
1056
  */
2020
- proto.Auth.AccountProto.UpdateRequest.prototype.getCompany = function() {
1057
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getCompany = function() {
2021
1058
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2022
1059
  };
2023
1060
 
2024
1061
 
2025
1062
  /**
2026
1063
  * @param {string} value
2027
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1064
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
2028
1065
  */
2029
- proto.Auth.AccountProto.UpdateRequest.prototype.setCompany = function(value) {
1066
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setCompany = function(value) {
2030
1067
  return jspb.Message.setProto3StringField(this, 5, value);
2031
1068
  };
2032
1069
 
2033
1070
 
1071
+ /**
1072
+ * optional string client_name = 6;
1073
+ * @return {string}
1074
+ */
1075
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getClientName = function() {
1076
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1077
+ };
1078
+
1079
+
1080
+ /**
1081
+ * @param {string} value
1082
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1083
+ */
1084
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setClientName = function(value) {
1085
+ return jspb.Message.setProto3StringField(this, 6, value);
1086
+ };
1087
+
1088
+
2034
1089
 
2035
1090
 
2036
1091
 
@@ -2954,237 +2009,6 @@ proto.Auth.AccountProto.ChangePasswordReply.prototype.setId = function(value) {
2954
2009
 
2955
2010
 
2956
2011
 
2957
- if (jspb.Message.GENERATE_TO_OBJECT) {
2958
- /**
2959
- * Creates an object representation of this proto.
2960
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2961
- * Optional fields that are not set will be set to undefined.
2962
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2963
- * For the list of reserved names please see:
2964
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2965
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2966
- * JSPB instance for transitional soy proto support:
2967
- * http://goto/soy-param-migration
2968
- * @return {!Object}
2969
- */
2970
- proto.Auth.AccountProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
2971
- return proto.Auth.AccountProto.DeleteRequest.toObject(opt_includeInstance, this);
2972
- };
2973
-
2974
-
2975
- /**
2976
- * Static version of the {@see toObject} method.
2977
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2978
- * the JSPB instance for transitional soy proto support:
2979
- * http://goto/soy-param-migration
2980
- * @param {!proto.Auth.AccountProto.DeleteRequest} msg The msg instance to transform.
2981
- * @return {!Object}
2982
- * @suppress {unusedLocalVariables} f is only used for nested messages
2983
- */
2984
- proto.Auth.AccountProto.DeleteRequest.toObject = function(includeInstance, msg) {
2985
- var f, obj = {
2986
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2987
- };
2988
-
2989
- if (includeInstance) {
2990
- obj.$jspbMessageInstance = msg;
2991
- }
2992
- return obj;
2993
- };
2994
- }
2995
-
2996
-
2997
- /**
2998
- * Deserializes binary data (in protobuf wire format).
2999
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3000
- * @return {!proto.Auth.AccountProto.DeleteRequest}
3001
- */
3002
- proto.Auth.AccountProto.DeleteRequest.deserializeBinary = function(bytes) {
3003
- var reader = new jspb.BinaryReader(bytes);
3004
- var msg = new proto.Auth.AccountProto.DeleteRequest;
3005
- return proto.Auth.AccountProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
3006
- };
3007
-
3008
-
3009
- /**
3010
- * Deserializes binary data (in protobuf wire format) from the
3011
- * given reader into the given message object.
3012
- * @param {!proto.Auth.AccountProto.DeleteRequest} msg The message object to deserialize into.
3013
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3014
- * @return {!proto.Auth.AccountProto.DeleteRequest}
3015
- */
3016
- proto.Auth.AccountProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
3017
- while (reader.nextField()) {
3018
- if (reader.isEndGroup()) {
3019
- break;
3020
- }
3021
- var field = reader.getFieldNumber();
3022
- switch (field) {
3023
- case 1:
3024
- var value = /** @type {number} */ (reader.readInt64());
3025
- msg.setId(value);
3026
- break;
3027
- default:
3028
- reader.skipField();
3029
- break;
3030
- }
3031
- }
3032
- return msg;
3033
- };
3034
-
3035
-
3036
- /**
3037
- * Serializes the message to binary data (in protobuf wire format).
3038
- * @return {!Uint8Array}
3039
- */
3040
- proto.Auth.AccountProto.DeleteRequest.prototype.serializeBinary = function() {
3041
- var writer = new jspb.BinaryWriter();
3042
- proto.Auth.AccountProto.DeleteRequest.serializeBinaryToWriter(this, writer);
3043
- return writer.getResultBuffer();
3044
- };
3045
-
3046
-
3047
- /**
3048
- * Serializes the given message to binary data (in protobuf wire
3049
- * format), writing to the given BinaryWriter.
3050
- * @param {!proto.Auth.AccountProto.DeleteRequest} message
3051
- * @param {!jspb.BinaryWriter} writer
3052
- * @suppress {unusedLocalVariables} f is only used for nested messages
3053
- */
3054
- proto.Auth.AccountProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
3055
- var f = undefined;
3056
- f = message.getId();
3057
- if (f !== 0) {
3058
- writer.writeInt64(
3059
- 1,
3060
- f
3061
- );
3062
- }
3063
- };
3064
-
3065
-
3066
- /**
3067
- * optional int64 id = 1;
3068
- * @return {number}
3069
- */
3070
- proto.Auth.AccountProto.DeleteRequest.prototype.getId = function() {
3071
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3072
- };
3073
-
3074
-
3075
- /**
3076
- * @param {number} value
3077
- * @return {!proto.Auth.AccountProto.DeleteRequest} returns this
3078
- */
3079
- proto.Auth.AccountProto.DeleteRequest.prototype.setId = function(value) {
3080
- return jspb.Message.setProto3IntField(this, 1, value);
3081
- };
3082
-
3083
-
3084
-
3085
-
3086
-
3087
- if (jspb.Message.GENERATE_TO_OBJECT) {
3088
- /**
3089
- * Creates an object representation of this proto.
3090
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3091
- * Optional fields that are not set will be set to undefined.
3092
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3093
- * For the list of reserved names please see:
3094
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3095
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3096
- * JSPB instance for transitional soy proto support:
3097
- * http://goto/soy-param-migration
3098
- * @return {!Object}
3099
- */
3100
- proto.Auth.AccountProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
3101
- return proto.Auth.AccountProto.DeleteReply.toObject(opt_includeInstance, this);
3102
- };
3103
-
3104
-
3105
- /**
3106
- * Static version of the {@see toObject} method.
3107
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3108
- * the JSPB instance for transitional soy proto support:
3109
- * http://goto/soy-param-migration
3110
- * @param {!proto.Auth.AccountProto.DeleteReply} msg The msg instance to transform.
3111
- * @return {!Object}
3112
- * @suppress {unusedLocalVariables} f is only used for nested messages
3113
- */
3114
- proto.Auth.AccountProto.DeleteReply.toObject = function(includeInstance, msg) {
3115
- var f, obj = {
3116
-
3117
- };
3118
-
3119
- if (includeInstance) {
3120
- obj.$jspbMessageInstance = msg;
3121
- }
3122
- return obj;
3123
- };
3124
- }
3125
-
3126
-
3127
- /**
3128
- * Deserializes binary data (in protobuf wire format).
3129
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3130
- * @return {!proto.Auth.AccountProto.DeleteReply}
3131
- */
3132
- proto.Auth.AccountProto.DeleteReply.deserializeBinary = function(bytes) {
3133
- var reader = new jspb.BinaryReader(bytes);
3134
- var msg = new proto.Auth.AccountProto.DeleteReply;
3135
- return proto.Auth.AccountProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
3136
- };
3137
-
3138
-
3139
- /**
3140
- * Deserializes binary data (in protobuf wire format) from the
3141
- * given reader into the given message object.
3142
- * @param {!proto.Auth.AccountProto.DeleteReply} msg The message object to deserialize into.
3143
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3144
- * @return {!proto.Auth.AccountProto.DeleteReply}
3145
- */
3146
- proto.Auth.AccountProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
3147
- while (reader.nextField()) {
3148
- if (reader.isEndGroup()) {
3149
- break;
3150
- }
3151
- var field = reader.getFieldNumber();
3152
- switch (field) {
3153
- default:
3154
- reader.skipField();
3155
- break;
3156
- }
3157
- }
3158
- return msg;
3159
- };
3160
-
3161
-
3162
- /**
3163
- * Serializes the message to binary data (in protobuf wire format).
3164
- * @return {!Uint8Array}
3165
- */
3166
- proto.Auth.AccountProto.DeleteReply.prototype.serializeBinary = function() {
3167
- var writer = new jspb.BinaryWriter();
3168
- proto.Auth.AccountProto.DeleteReply.serializeBinaryToWriter(this, writer);
3169
- return writer.getResultBuffer();
3170
- };
3171
-
3172
-
3173
- /**
3174
- * Serializes the given message to binary data (in protobuf wire
3175
- * format), writing to the given BinaryWriter.
3176
- * @param {!proto.Auth.AccountProto.DeleteReply} message
3177
- * @param {!jspb.BinaryWriter} writer
3178
- * @suppress {unusedLocalVariables} f is only used for nested messages
3179
- */
3180
- proto.Auth.AccountProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
3181
- var f = undefined;
3182
- };
3183
-
3184
-
3185
-
3186
-
3187
-
3188
2012
  if (jspb.Message.GENERATE_TO_OBJECT) {
3189
2013
  /**
3190
2014
  * Creates an object representation of this proto.
@@ -3347,7 +2171,8 @@ proto.Auth.AccountProto.RetrievePushInfoReply.toObject = function(includeInstanc
3347
2171
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3348
2172
  pushToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
3349
2173
  pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0),
3350
- locale: jspb.Message.getFieldWithDefault(msg, 4, "")
2174
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
2175
+ firebaseInstallationId: jspb.Message.getFieldWithDefault(msg, 5, "")
3351
2176
  };
3352
2177
 
3353
2178
  if (includeInstance) {
@@ -3400,6 +2225,10 @@ proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader = func
3400
2225
  var value = /** @type {string} */ (reader.readString());
3401
2226
  msg.setLocale(value);
3402
2227
  break;
2228
+ case 5:
2229
+ var value = /** @type {string} */ (reader.readString());
2230
+ msg.setFirebaseInstallationId(value);
2231
+ break;
3403
2232
  default:
3404
2233
  reader.skipField();
3405
2234
  break;
@@ -3457,6 +2286,13 @@ proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function
3457
2286
  f
3458
2287
  );
3459
2288
  }
2289
+ f = message.getFirebaseInstallationId();
2290
+ if (f.length > 0) {
2291
+ writer.writeString(
2292
+ 5,
2293
+ f
2294
+ );
2295
+ }
3460
2296
  };
3461
2297
 
3462
2298
 
@@ -3532,6 +2368,24 @@ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setLocale = function(val
3532
2368
  };
3533
2369
 
3534
2370
 
2371
+ /**
2372
+ * optional string firebase_installation_id = 5;
2373
+ * @return {string}
2374
+ */
2375
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getFirebaseInstallationId = function() {
2376
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2377
+ };
2378
+
2379
+
2380
+ /**
2381
+ * @param {string} value
2382
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
2383
+ */
2384
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setFirebaseInstallationId = function(value) {
2385
+ return jspb.Message.setProto3StringField(this, 5, value);
2386
+ };
2387
+
2388
+
3535
2389
 
3536
2390
  /**
3537
2391
  * List of repeated fields within this message type.