@aceplus/smartace-api 2.12.0 → 2.13.0-alpha.10
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.
- package/README.md +162 -158
- package/auth.account_pb.d.ts +20 -106
- package/auth.account_pb.js +141 -819
- package/auth.account_pb_service.d.ts +19 -133
- package/auth.account_pb_service.js +17 -257
- package/meta.client_pb.d.ts +167 -0
- package/meta.client_pb.js +1266 -0
- package/meta.client_pb_service.d.ts +122 -0
- package/meta.client_pb_service.js +183 -0
- package/meta.spic_config_pb.d.ts +5 -5
- package/meta.spic_config_pb.js +20 -20
- package/package.json +1 -1
- package/platform.client_pb.d.ts +4 -0
- package/platform.client_pb.js +31 -1
- package/platform.local_account_internal_pb.d.ts +151 -0
- package/platform.local_account_internal_pb.js +1136 -0
- package/platform.local_account_internal_pb_service.d.ts +121 -0
- package/platform.local_account_internal_pb_service.js +182 -0
- package/platform.local_account_pb.d.ts +4 -50
- package/platform.local_account_pb.js +31 -386
- package/platform.local_account_pb_service.d.ts +0 -57
- package/platform.local_account_pb_service.js +0 -120
- package/spic.cabinet_pb.d.ts +24 -0
- package/spic.cabinet_pb.js +134 -4
package/auth.account_pb.js
CHANGED
|
@@ -38,6 +38,7 @@ goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordReply', null, global);
|
|
|
38
38
|
goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordRequest', null, global);
|
|
39
39
|
goog.exportSymbol('proto.Auth.AccountProto.CreateAdminRequest', null, global);
|
|
40
40
|
goog.exportSymbol('proto.Auth.AccountProto.CreateAppRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.Auth.AccountProto.DeleteFromClusterRequest', null, global);
|
|
41
42
|
goog.exportSymbol('proto.Auth.AccountProto.DeleteReply', null, global);
|
|
42
43
|
goog.exportSymbol('proto.Auth.AccountProto.DeleteRequest', null, global);
|
|
43
44
|
goog.exportSymbol('proto.Auth.AccountProto.ForgotPasswordRequest', null, global);
|
|
@@ -49,12 +50,8 @@ goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoReply', null, global)
|
|
|
49
50
|
goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoRequest', null, global);
|
|
50
51
|
goog.exportSymbol('proto.Auth.AccountProto.RetrieveRequest', null, global);
|
|
51
52
|
goog.exportSymbol('proto.Auth.AccountProto.Roles', null, global);
|
|
52
|
-
goog.exportSymbol('proto.Auth.AccountProto.Scope', null, global);
|
|
53
53
|
goog.exportSymbol('proto.Auth.AccountProto.SearchReply', null, global);
|
|
54
54
|
goog.exportSymbol('proto.Auth.AccountProto.SearchRequest', null, global);
|
|
55
|
-
goog.exportSymbol('proto.Auth.AccountProto.SetAccountScopeReply', null, global);
|
|
56
|
-
goog.exportSymbol('proto.Auth.AccountProto.SetAccountScopeRequest', null, global);
|
|
57
|
-
goog.exportSymbol('proto.Auth.AccountProto.SetSuperAccountScopeRequest', null, global);
|
|
58
55
|
goog.exportSymbol('proto.Auth.AccountProto.UpdateRequest', null, global);
|
|
59
56
|
/**
|
|
60
57
|
* Generated by JsPbCodeGenerator.
|
|
@@ -172,7 +169,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
172
169
|
* @constructor
|
|
173
170
|
*/
|
|
174
171
|
proto.Auth.AccountProto.SearchRequest = function(opt_data) {
|
|
175
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
172
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
176
173
|
};
|
|
177
174
|
goog.inherits(proto.Auth.AccountProto.SearchRequest, jspb.Message);
|
|
178
175
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -360,79 +357,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
360
357
|
* @extends {jspb.Message}
|
|
361
358
|
* @constructor
|
|
362
359
|
*/
|
|
363
|
-
proto.Auth.AccountProto.
|
|
364
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
365
|
-
};
|
|
366
|
-
goog.inherits(proto.Auth.AccountProto.Scope, jspb.Message);
|
|
367
|
-
if (goog.DEBUG && !COMPILED) {
|
|
368
|
-
/**
|
|
369
|
-
* @public
|
|
370
|
-
* @override
|
|
371
|
-
*/
|
|
372
|
-
proto.Auth.AccountProto.Scope.displayName = 'proto.Auth.AccountProto.Scope';
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* Generated by JsPbCodeGenerator.
|
|
376
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
377
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
378
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
379
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
380
|
-
* valid.
|
|
381
|
-
* @extends {jspb.Message}
|
|
382
|
-
* @constructor
|
|
383
|
-
*/
|
|
384
|
-
proto.Auth.AccountProto.SetSuperAccountScopeRequest = function(opt_data) {
|
|
385
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
386
|
-
};
|
|
387
|
-
goog.inherits(proto.Auth.AccountProto.SetSuperAccountScopeRequest, jspb.Message);
|
|
388
|
-
if (goog.DEBUG && !COMPILED) {
|
|
389
|
-
/**
|
|
390
|
-
* @public
|
|
391
|
-
* @override
|
|
392
|
-
*/
|
|
393
|
-
proto.Auth.AccountProto.SetSuperAccountScopeRequest.displayName = 'proto.Auth.AccountProto.SetSuperAccountScopeRequest';
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* Generated by JsPbCodeGenerator.
|
|
397
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
398
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
399
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
400
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
401
|
-
* valid.
|
|
402
|
-
* @extends {jspb.Message}
|
|
403
|
-
* @constructor
|
|
404
|
-
*/
|
|
405
|
-
proto.Auth.AccountProto.SetAccountScopeRequest = function(opt_data) {
|
|
406
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
407
|
-
};
|
|
408
|
-
goog.inherits(proto.Auth.AccountProto.SetAccountScopeRequest, jspb.Message);
|
|
409
|
-
if (goog.DEBUG && !COMPILED) {
|
|
410
|
-
/**
|
|
411
|
-
* @public
|
|
412
|
-
* @override
|
|
413
|
-
*/
|
|
414
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.displayName = 'proto.Auth.AccountProto.SetAccountScopeRequest';
|
|
415
|
-
}
|
|
416
|
-
/**
|
|
417
|
-
* Generated by JsPbCodeGenerator.
|
|
418
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
419
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
420
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
421
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
422
|
-
* valid.
|
|
423
|
-
* @extends {jspb.Message}
|
|
424
|
-
* @constructor
|
|
425
|
-
*/
|
|
426
|
-
proto.Auth.AccountProto.SetAccountScopeReply = function(opt_data) {
|
|
360
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest = function(opt_data) {
|
|
427
361
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
428
362
|
};
|
|
429
|
-
goog.inherits(proto.Auth.AccountProto.
|
|
363
|
+
goog.inherits(proto.Auth.AccountProto.RetrievePushInfoRequest, jspb.Message);
|
|
430
364
|
if (goog.DEBUG && !COMPILED) {
|
|
431
365
|
/**
|
|
432
366
|
* @public
|
|
433
367
|
* @override
|
|
434
368
|
*/
|
|
435
|
-
proto.Auth.AccountProto.
|
|
369
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.displayName = 'proto.Auth.AccountProto.RetrievePushInfoRequest';
|
|
436
370
|
}
|
|
437
371
|
/**
|
|
438
372
|
* Generated by JsPbCodeGenerator.
|
|
@@ -444,16 +378,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
444
378
|
* @extends {jspb.Message}
|
|
445
379
|
* @constructor
|
|
446
380
|
*/
|
|
447
|
-
proto.Auth.AccountProto.
|
|
381
|
+
proto.Auth.AccountProto.RetrievePushInfoReply = function(opt_data) {
|
|
448
382
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
449
383
|
};
|
|
450
|
-
goog.inherits(proto.Auth.AccountProto.
|
|
384
|
+
goog.inherits(proto.Auth.AccountProto.RetrievePushInfoReply, jspb.Message);
|
|
451
385
|
if (goog.DEBUG && !COMPILED) {
|
|
452
386
|
/**
|
|
453
387
|
* @public
|
|
454
388
|
* @override
|
|
455
389
|
*/
|
|
456
|
-
proto.Auth.AccountProto.
|
|
390
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.displayName = 'proto.Auth.AccountProto.RetrievePushInfoReply';
|
|
457
391
|
}
|
|
458
392
|
/**
|
|
459
393
|
* Generated by JsPbCodeGenerator.
|
|
@@ -465,16 +399,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
465
399
|
* @extends {jspb.Message}
|
|
466
400
|
* @constructor
|
|
467
401
|
*/
|
|
468
|
-
proto.Auth.AccountProto.
|
|
402
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest = function(opt_data) {
|
|
469
403
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
470
404
|
};
|
|
471
|
-
goog.inherits(proto.Auth.AccountProto.
|
|
405
|
+
goog.inherits(proto.Auth.AccountProto.AccountClusterRoleRequest, jspb.Message);
|
|
472
406
|
if (goog.DEBUG && !COMPILED) {
|
|
473
407
|
/**
|
|
474
408
|
* @public
|
|
475
409
|
* @override
|
|
476
410
|
*/
|
|
477
|
-
proto.Auth.AccountProto.
|
|
411
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.displayName = 'proto.Auth.AccountProto.AccountClusterRoleRequest';
|
|
478
412
|
}
|
|
479
413
|
/**
|
|
480
414
|
* Generated by JsPbCodeGenerator.
|
|
@@ -486,16 +420,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
486
420
|
* @extends {jspb.Message}
|
|
487
421
|
* @constructor
|
|
488
422
|
*/
|
|
489
|
-
proto.Auth.AccountProto.
|
|
423
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest = function(opt_data) {
|
|
490
424
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
491
425
|
};
|
|
492
|
-
goog.inherits(proto.Auth.AccountProto.
|
|
426
|
+
goog.inherits(proto.Auth.AccountProto.DeleteFromClusterRequest, jspb.Message);
|
|
493
427
|
if (goog.DEBUG && !COMPILED) {
|
|
494
428
|
/**
|
|
495
429
|
* @public
|
|
496
430
|
* @override
|
|
497
431
|
*/
|
|
498
|
-
proto.Auth.AccountProto.
|
|
432
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.displayName = 'proto.Auth.AccountProto.DeleteFromClusterRequest';
|
|
499
433
|
}
|
|
500
434
|
/**
|
|
501
435
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1672,13 +1606,6 @@ proto.Auth.AccountProto.SearchReply.prototype.hasPagination = function() {
|
|
|
1672
1606
|
|
|
1673
1607
|
|
|
1674
1608
|
|
|
1675
|
-
/**
|
|
1676
|
-
* List of repeated fields within this message type.
|
|
1677
|
-
* @private {!Array<number>}
|
|
1678
|
-
* @const
|
|
1679
|
-
*/
|
|
1680
|
-
proto.Auth.AccountProto.SearchRequest.repeatedFields_ = [4];
|
|
1681
|
-
|
|
1682
1609
|
|
|
1683
1610
|
|
|
1684
1611
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1712,9 +1639,7 @@ proto.Auth.AccountProto.SearchRequest.toObject = function(includeInstance, msg)
|
|
|
1712
1639
|
var f, obj = {
|
|
1713
1640
|
search: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1714
1641
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1715
|
-
count: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
1716
|
-
scopeFiltersList: jspb.Message.toObjectList(msg.getScopeFiltersList(),
|
|
1717
|
-
proto.Auth.AccountProto.Scope.toObject, includeInstance)
|
|
1642
|
+
count: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
1718
1643
|
};
|
|
1719
1644
|
|
|
1720
1645
|
if (includeInstance) {
|
|
@@ -1763,11 +1688,6 @@ proto.Auth.AccountProto.SearchRequest.deserializeBinaryFromReader = function(msg
|
|
|
1763
1688
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1764
1689
|
msg.setCount(value);
|
|
1765
1690
|
break;
|
|
1766
|
-
case 4:
|
|
1767
|
-
var value = new proto.Auth.AccountProto.Scope;
|
|
1768
|
-
reader.readMessage(value,proto.Auth.AccountProto.Scope.deserializeBinaryFromReader);
|
|
1769
|
-
msg.addScopeFilters(value);
|
|
1770
|
-
break;
|
|
1771
1691
|
default:
|
|
1772
1692
|
reader.skipField();
|
|
1773
1693
|
break;
|
|
@@ -1818,14 +1738,6 @@ proto.Auth.AccountProto.SearchRequest.serializeBinaryToWriter = function(message
|
|
|
1818
1738
|
f
|
|
1819
1739
|
);
|
|
1820
1740
|
}
|
|
1821
|
-
f = message.getScopeFiltersList();
|
|
1822
|
-
if (f.length > 0) {
|
|
1823
|
-
writer.writeRepeatedMessage(
|
|
1824
|
-
4,
|
|
1825
|
-
f,
|
|
1826
|
-
proto.Auth.AccountProto.Scope.serializeBinaryToWriter
|
|
1827
|
-
);
|
|
1828
|
-
}
|
|
1829
1741
|
};
|
|
1830
1742
|
|
|
1831
1743
|
|
|
@@ -1883,44 +1795,6 @@ proto.Auth.AccountProto.SearchRequest.prototype.setCount = function(value) {
|
|
|
1883
1795
|
};
|
|
1884
1796
|
|
|
1885
1797
|
|
|
1886
|
-
/**
|
|
1887
|
-
* repeated Scope scope_filters = 4;
|
|
1888
|
-
* @return {!Array<!proto.Auth.AccountProto.Scope>}
|
|
1889
|
-
*/
|
|
1890
|
-
proto.Auth.AccountProto.SearchRequest.prototype.getScopeFiltersList = function() {
|
|
1891
|
-
return /** @type{!Array<!proto.Auth.AccountProto.Scope>} */ (
|
|
1892
|
-
jspb.Message.getRepeatedWrapperField(this, proto.Auth.AccountProto.Scope, 4));
|
|
1893
|
-
};
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* @param {!Array<!proto.Auth.AccountProto.Scope>} value
|
|
1898
|
-
* @return {!proto.Auth.AccountProto.SearchRequest} returns this
|
|
1899
|
-
*/
|
|
1900
|
-
proto.Auth.AccountProto.SearchRequest.prototype.setScopeFiltersList = function(value) {
|
|
1901
|
-
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
1902
|
-
};
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
/**
|
|
1906
|
-
* @param {!proto.Auth.AccountProto.Scope=} opt_value
|
|
1907
|
-
* @param {number=} opt_index
|
|
1908
|
-
* @return {!proto.Auth.AccountProto.Scope}
|
|
1909
|
-
*/
|
|
1910
|
-
proto.Auth.AccountProto.SearchRequest.prototype.addScopeFilters = function(opt_value, opt_index) {
|
|
1911
|
-
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.Auth.AccountProto.Scope, opt_index);
|
|
1912
|
-
};
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
/**
|
|
1916
|
-
* Clears the list making it empty but non-null.
|
|
1917
|
-
* @return {!proto.Auth.AccountProto.SearchRequest} returns this
|
|
1918
|
-
*/
|
|
1919
|
-
proto.Auth.AccountProto.SearchRequest.prototype.clearScopeFiltersList = function() {
|
|
1920
|
-
return this.setScopeFiltersList([]);
|
|
1921
|
-
};
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
1798
|
|
|
1925
1799
|
|
|
1926
1800
|
|
|
@@ -3338,8 +3212,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3338
3212
|
* http://goto/soy-param-migration
|
|
3339
3213
|
* @return {!Object}
|
|
3340
3214
|
*/
|
|
3341
|
-
proto.Auth.AccountProto.
|
|
3342
|
-
return proto.Auth.AccountProto.
|
|
3215
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3216
|
+
return proto.Auth.AccountProto.RetrievePushInfoRequest.toObject(opt_includeInstance, this);
|
|
3343
3217
|
};
|
|
3344
3218
|
|
|
3345
3219
|
|
|
@@ -3348,14 +3222,13 @@ proto.Auth.AccountProto.Scope.prototype.toObject = function(opt_includeInstance)
|
|
|
3348
3222
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3349
3223
|
* the JSPB instance for transitional soy proto support:
|
|
3350
3224
|
* http://goto/soy-param-migration
|
|
3351
|
-
* @param {!proto.Auth.AccountProto.
|
|
3225
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The msg instance to transform.
|
|
3352
3226
|
* @return {!Object}
|
|
3353
3227
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3354
3228
|
*/
|
|
3355
|
-
proto.Auth.AccountProto.
|
|
3229
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.toObject = function(includeInstance, msg) {
|
|
3356
3230
|
var f, obj = {
|
|
3357
|
-
|
|
3358
|
-
scopeValue: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3231
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3359
3232
|
};
|
|
3360
3233
|
|
|
3361
3234
|
if (includeInstance) {
|
|
@@ -3369,23 +3242,23 @@ proto.Auth.AccountProto.Scope.toObject = function(includeInstance, msg) {
|
|
|
3369
3242
|
/**
|
|
3370
3243
|
* Deserializes binary data (in protobuf wire format).
|
|
3371
3244
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3372
|
-
* @return {!proto.Auth.AccountProto.
|
|
3245
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
|
|
3373
3246
|
*/
|
|
3374
|
-
proto.Auth.AccountProto.
|
|
3247
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinary = function(bytes) {
|
|
3375
3248
|
var reader = new jspb.BinaryReader(bytes);
|
|
3376
|
-
var msg = new proto.Auth.AccountProto.
|
|
3377
|
-
return proto.Auth.AccountProto.
|
|
3249
|
+
var msg = new proto.Auth.AccountProto.RetrievePushInfoRequest;
|
|
3250
|
+
return proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader(msg, reader);
|
|
3378
3251
|
};
|
|
3379
3252
|
|
|
3380
3253
|
|
|
3381
3254
|
/**
|
|
3382
3255
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3383
3256
|
* given reader into the given message object.
|
|
3384
|
-
* @param {!proto.Auth.AccountProto.
|
|
3257
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The message object to deserialize into.
|
|
3385
3258
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3386
|
-
* @return {!proto.Auth.AccountProto.
|
|
3259
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
|
|
3387
3260
|
*/
|
|
3388
|
-
proto.Auth.AccountProto.
|
|
3261
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3389
3262
|
while (reader.nextField()) {
|
|
3390
3263
|
if (reader.isEndGroup()) {
|
|
3391
3264
|
break;
|
|
@@ -3393,12 +3266,8 @@ proto.Auth.AccountProto.Scope.deserializeBinaryFromReader = function(msg, reader
|
|
|
3393
3266
|
var field = reader.getFieldNumber();
|
|
3394
3267
|
switch (field) {
|
|
3395
3268
|
case 1:
|
|
3396
|
-
var value = /** @type {
|
|
3397
|
-
msg.
|
|
3398
|
-
break;
|
|
3399
|
-
case 2:
|
|
3400
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3401
|
-
msg.setScopeValue(value);
|
|
3269
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3270
|
+
msg.setId(value);
|
|
3402
3271
|
break;
|
|
3403
3272
|
default:
|
|
3404
3273
|
reader.skipField();
|
|
@@ -3413,9 +3282,9 @@ proto.Auth.AccountProto.Scope.deserializeBinaryFromReader = function(msg, reader
|
|
|
3413
3282
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3414
3283
|
* @return {!Uint8Array}
|
|
3415
3284
|
*/
|
|
3416
|
-
proto.Auth.AccountProto.
|
|
3285
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.serializeBinary = function() {
|
|
3417
3286
|
var writer = new jspb.BinaryWriter();
|
|
3418
|
-
proto.Auth.AccountProto.
|
|
3287
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter(this, writer);
|
|
3419
3288
|
return writer.getResultBuffer();
|
|
3420
3289
|
};
|
|
3421
3290
|
|
|
@@ -3423,62 +3292,37 @@ proto.Auth.AccountProto.Scope.prototype.serializeBinary = function() {
|
|
|
3423
3292
|
/**
|
|
3424
3293
|
* Serializes the given message to binary data (in protobuf wire
|
|
3425
3294
|
* format), writing to the given BinaryWriter.
|
|
3426
|
-
* @param {!proto.Auth.AccountProto.
|
|
3295
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} message
|
|
3427
3296
|
* @param {!jspb.BinaryWriter} writer
|
|
3428
3297
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3429
3298
|
*/
|
|
3430
|
-
proto.Auth.AccountProto.
|
|
3299
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3431
3300
|
var f = undefined;
|
|
3432
|
-
f = message.
|
|
3433
|
-
if (f
|
|
3434
|
-
writer.
|
|
3301
|
+
f = message.getId();
|
|
3302
|
+
if (f !== 0) {
|
|
3303
|
+
writer.writeInt64(
|
|
3435
3304
|
1,
|
|
3436
3305
|
f
|
|
3437
3306
|
);
|
|
3438
3307
|
}
|
|
3439
|
-
f = message.getScopeValue();
|
|
3440
|
-
if (f.length > 0) {
|
|
3441
|
-
writer.writeString(
|
|
3442
|
-
2,
|
|
3443
|
-
f
|
|
3444
|
-
);
|
|
3445
|
-
}
|
|
3446
3308
|
};
|
|
3447
3309
|
|
|
3448
3310
|
|
|
3449
3311
|
/**
|
|
3450
|
-
* optional
|
|
3451
|
-
* @return {
|
|
3452
|
-
*/
|
|
3453
|
-
proto.Auth.AccountProto.Scope.prototype.getScopeName = function() {
|
|
3454
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3455
|
-
};
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
/**
|
|
3459
|
-
* @param {string} value
|
|
3460
|
-
* @return {!proto.Auth.AccountProto.Scope} returns this
|
|
3461
|
-
*/
|
|
3462
|
-
proto.Auth.AccountProto.Scope.prototype.setScopeName = function(value) {
|
|
3463
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3464
|
-
};
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
/**
|
|
3468
|
-
* optional string scope_value = 2;
|
|
3469
|
-
* @return {string}
|
|
3312
|
+
* optional int64 id = 1;
|
|
3313
|
+
* @return {number}
|
|
3470
3314
|
*/
|
|
3471
|
-
proto.Auth.AccountProto.
|
|
3472
|
-
return /** @type {
|
|
3315
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.getId = function() {
|
|
3316
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3473
3317
|
};
|
|
3474
3318
|
|
|
3475
3319
|
|
|
3476
3320
|
/**
|
|
3477
|
-
* @param {
|
|
3478
|
-
* @return {!proto.Auth.AccountProto.
|
|
3321
|
+
* @param {number} value
|
|
3322
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest} returns this
|
|
3479
3323
|
*/
|
|
3480
|
-
proto.Auth.AccountProto.
|
|
3481
|
-
return jspb.Message.
|
|
3324
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.setId = function(value) {
|
|
3325
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3482
3326
|
};
|
|
3483
3327
|
|
|
3484
3328
|
|
|
@@ -3498,8 +3342,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3498
3342
|
* http://goto/soy-param-migration
|
|
3499
3343
|
* @return {!Object}
|
|
3500
3344
|
*/
|
|
3501
|
-
proto.Auth.AccountProto.
|
|
3502
|
-
return proto.Auth.AccountProto.
|
|
3345
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.toObject = function(opt_includeInstance) {
|
|
3346
|
+
return proto.Auth.AccountProto.RetrievePushInfoReply.toObject(opt_includeInstance, this);
|
|
3503
3347
|
};
|
|
3504
3348
|
|
|
3505
3349
|
|
|
@@ -3508,15 +3352,15 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.toObject = functio
|
|
|
3508
3352
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3509
3353
|
* the JSPB instance for transitional soy proto support:
|
|
3510
3354
|
* http://goto/soy-param-migration
|
|
3511
|
-
* @param {!proto.Auth.AccountProto.
|
|
3355
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The msg instance to transform.
|
|
3512
3356
|
* @return {!Object}
|
|
3513
3357
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3514
3358
|
*/
|
|
3515
|
-
proto.Auth.AccountProto.
|
|
3359
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.toObject = function(includeInstance, msg) {
|
|
3516
3360
|
var f, obj = {
|
|
3517
3361
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3518
|
-
|
|
3519
|
-
|
|
3362
|
+
pushToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3363
|
+
pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
3520
3364
|
};
|
|
3521
3365
|
|
|
3522
3366
|
if (includeInstance) {
|
|
@@ -3530,23 +3374,23 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.toObject = function(includeI
|
|
|
3530
3374
|
/**
|
|
3531
3375
|
* Deserializes binary data (in protobuf wire format).
|
|
3532
3376
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3533
|
-
* @return {!proto.Auth.AccountProto.
|
|
3377
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
|
|
3534
3378
|
*/
|
|
3535
|
-
proto.Auth.AccountProto.
|
|
3379
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinary = function(bytes) {
|
|
3536
3380
|
var reader = new jspb.BinaryReader(bytes);
|
|
3537
|
-
var msg = new proto.Auth.AccountProto.
|
|
3538
|
-
return proto.Auth.AccountProto.
|
|
3381
|
+
var msg = new proto.Auth.AccountProto.RetrievePushInfoReply;
|
|
3382
|
+
return proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader(msg, reader);
|
|
3539
3383
|
};
|
|
3540
3384
|
|
|
3541
3385
|
|
|
3542
3386
|
/**
|
|
3543
3387
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3544
3388
|
* given reader into the given message object.
|
|
3545
|
-
* @param {!proto.Auth.AccountProto.
|
|
3389
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The message object to deserialize into.
|
|
3546
3390
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3547
|
-
* @return {!proto.Auth.AccountProto.
|
|
3391
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
|
|
3548
3392
|
*/
|
|
3549
|
-
proto.Auth.AccountProto.
|
|
3393
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
3550
3394
|
while (reader.nextField()) {
|
|
3551
3395
|
if (reader.isEndGroup()) {
|
|
3552
3396
|
break;
|
|
@@ -3558,13 +3402,12 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.deserializeBinaryFromReader
|
|
|
3558
3402
|
msg.setId(value);
|
|
3559
3403
|
break;
|
|
3560
3404
|
case 2:
|
|
3561
|
-
var value =
|
|
3562
|
-
|
|
3563
|
-
msg.setScope(value);
|
|
3405
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3406
|
+
msg.setPushToken(value);
|
|
3564
3407
|
break;
|
|
3565
3408
|
case 3:
|
|
3566
|
-
var value = /** @type {
|
|
3567
|
-
msg.
|
|
3409
|
+
var value = /** @type {!proto.Auth.PushNotificationProto.PushType} */ (reader.readEnum());
|
|
3410
|
+
msg.setPushtype(value);
|
|
3568
3411
|
break;
|
|
3569
3412
|
default:
|
|
3570
3413
|
reader.skipField();
|
|
@@ -3579,9 +3422,9 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.deserializeBinaryFromReader
|
|
|
3579
3422
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3580
3423
|
* @return {!Uint8Array}
|
|
3581
3424
|
*/
|
|
3582
|
-
proto.Auth.AccountProto.
|
|
3425
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.serializeBinary = function() {
|
|
3583
3426
|
var writer = new jspb.BinaryWriter();
|
|
3584
|
-
proto.Auth.AccountProto.
|
|
3427
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter(this, writer);
|
|
3585
3428
|
return writer.getResultBuffer();
|
|
3586
3429
|
};
|
|
3587
3430
|
|
|
@@ -3589,11 +3432,11 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.serializeBinary =
|
|
|
3589
3432
|
/**
|
|
3590
3433
|
* Serializes the given message to binary data (in protobuf wire
|
|
3591
3434
|
* format), writing to the given BinaryWriter.
|
|
3592
|
-
* @param {!proto.Auth.AccountProto.
|
|
3435
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} message
|
|
3593
3436
|
* @param {!jspb.BinaryWriter} writer
|
|
3594
3437
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3595
3438
|
*/
|
|
3596
|
-
proto.Auth.AccountProto.
|
|
3439
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function(message, writer) {
|
|
3597
3440
|
var f = undefined;
|
|
3598
3441
|
f = message.getId();
|
|
3599
3442
|
if (f !== 0) {
|
|
@@ -3602,17 +3445,16 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.serializeBinaryToWriter = fu
|
|
|
3602
3445
|
f
|
|
3603
3446
|
);
|
|
3604
3447
|
}
|
|
3605
|
-
f = message.
|
|
3606
|
-
if (f
|
|
3607
|
-
writer.
|
|
3448
|
+
f = message.getPushToken();
|
|
3449
|
+
if (f.length > 0) {
|
|
3450
|
+
writer.writeString(
|
|
3608
3451
|
2,
|
|
3609
|
-
f
|
|
3610
|
-
proto.Auth.AccountProto.Scope.serializeBinaryToWriter
|
|
3452
|
+
f
|
|
3611
3453
|
);
|
|
3612
3454
|
}
|
|
3613
|
-
f = message.
|
|
3614
|
-
if (f
|
|
3615
|
-
writer.
|
|
3455
|
+
f = message.getPushtype();
|
|
3456
|
+
if (f !== 0.0) {
|
|
3457
|
+
writer.writeEnum(
|
|
3616
3458
|
3,
|
|
3617
3459
|
f
|
|
3618
3460
|
);
|
|
@@ -3624,72 +3466,53 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.serializeBinaryToWriter = fu
|
|
|
3624
3466
|
* optional int64 id = 1;
|
|
3625
3467
|
* @return {number}
|
|
3626
3468
|
*/
|
|
3627
|
-
proto.Auth.AccountProto.
|
|
3469
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getId = function() {
|
|
3628
3470
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3629
3471
|
};
|
|
3630
3472
|
|
|
3631
3473
|
|
|
3632
3474
|
/**
|
|
3633
3475
|
* @param {number} value
|
|
3634
|
-
* @return {!proto.Auth.AccountProto.
|
|
3476
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
|
|
3635
3477
|
*/
|
|
3636
|
-
proto.Auth.AccountProto.
|
|
3478
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setId = function(value) {
|
|
3637
3479
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3638
3480
|
};
|
|
3639
3481
|
|
|
3640
3482
|
|
|
3641
3483
|
/**
|
|
3642
|
-
* optional
|
|
3643
|
-
* @return {
|
|
3644
|
-
*/
|
|
3645
|
-
proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.getScope = function() {
|
|
3646
|
-
return /** @type{?proto.Auth.AccountProto.Scope} */ (
|
|
3647
|
-
jspb.Message.getWrapperField(this, proto.Auth.AccountProto.Scope, 2));
|
|
3648
|
-
};
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
/**
|
|
3652
|
-
* @param {?proto.Auth.AccountProto.Scope|undefined} value
|
|
3653
|
-
* @return {!proto.Auth.AccountProto.SetSuperAccountScopeRequest} returns this
|
|
3654
|
-
*/
|
|
3655
|
-
proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.setScope = function(value) {
|
|
3656
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3657
|
-
};
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
/**
|
|
3661
|
-
* Clears the message field making it undefined.
|
|
3662
|
-
* @return {!proto.Auth.AccountProto.SetSuperAccountScopeRequest} returns this
|
|
3484
|
+
* optional string push_token = 2;
|
|
3485
|
+
* @return {string}
|
|
3663
3486
|
*/
|
|
3664
|
-
proto.Auth.AccountProto.
|
|
3665
|
-
return
|
|
3487
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushToken = function() {
|
|
3488
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3666
3489
|
};
|
|
3667
3490
|
|
|
3668
3491
|
|
|
3669
3492
|
/**
|
|
3670
|
-
*
|
|
3671
|
-
* @return {
|
|
3493
|
+
* @param {string} value
|
|
3494
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
|
|
3672
3495
|
*/
|
|
3673
|
-
proto.Auth.AccountProto.
|
|
3674
|
-
return jspb.Message.
|
|
3496
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushToken = function(value) {
|
|
3497
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3675
3498
|
};
|
|
3676
3499
|
|
|
3677
3500
|
|
|
3678
3501
|
/**
|
|
3679
|
-
* optional
|
|
3680
|
-
* @return {
|
|
3502
|
+
* optional PushNotificationProto.PushType pushType = 3;
|
|
3503
|
+
* @return {!proto.Auth.PushNotificationProto.PushType}
|
|
3681
3504
|
*/
|
|
3682
|
-
proto.Auth.AccountProto.
|
|
3683
|
-
return /** @type {
|
|
3505
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushtype = function() {
|
|
3506
|
+
return /** @type {!proto.Auth.PushNotificationProto.PushType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3684
3507
|
};
|
|
3685
3508
|
|
|
3686
3509
|
|
|
3687
3510
|
/**
|
|
3688
|
-
* @param {
|
|
3689
|
-
* @return {!proto.Auth.AccountProto.
|
|
3511
|
+
* @param {!proto.Auth.PushNotificationProto.PushType} value
|
|
3512
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
|
|
3690
3513
|
*/
|
|
3691
|
-
proto.Auth.AccountProto.
|
|
3692
|
-
return jspb.Message.
|
|
3514
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushtype = function(value) {
|
|
3515
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
3693
3516
|
};
|
|
3694
3517
|
|
|
3695
3518
|
|
|
@@ -3709,8 +3532,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3709
3532
|
* http://goto/soy-param-migration
|
|
3710
3533
|
* @return {!Object}
|
|
3711
3534
|
*/
|
|
3712
|
-
proto.Auth.AccountProto.
|
|
3713
|
-
return proto.Auth.AccountProto.
|
|
3535
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3536
|
+
return proto.Auth.AccountProto.AccountClusterRoleRequest.toObject(opt_includeInstance, this);
|
|
3714
3537
|
};
|
|
3715
3538
|
|
|
3716
3539
|
|
|
@@ -3719,14 +3542,14 @@ proto.Auth.AccountProto.SetAccountScopeRequest.prototype.toObject = function(opt
|
|
|
3719
3542
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3720
3543
|
* the JSPB instance for transitional soy proto support:
|
|
3721
3544
|
* http://goto/soy-param-migration
|
|
3722
|
-
* @param {!proto.Auth.AccountProto.
|
|
3545
|
+
* @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} msg The msg instance to transform.
|
|
3723
3546
|
* @return {!Object}
|
|
3724
3547
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3725
3548
|
*/
|
|
3726
|
-
proto.Auth.AccountProto.
|
|
3549
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.toObject = function(includeInstance, msg) {
|
|
3727
3550
|
var f, obj = {
|
|
3728
3551
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3729
|
-
|
|
3552
|
+
role: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3730
3553
|
};
|
|
3731
3554
|
|
|
3732
3555
|
if (includeInstance) {
|
|
@@ -3740,23 +3563,23 @@ proto.Auth.AccountProto.SetAccountScopeRequest.toObject = function(includeInstan
|
|
|
3740
3563
|
/**
|
|
3741
3564
|
* Deserializes binary data (in protobuf wire format).
|
|
3742
3565
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3743
|
-
* @return {!proto.Auth.AccountProto.
|
|
3566
|
+
* @return {!proto.Auth.AccountProto.AccountClusterRoleRequest}
|
|
3744
3567
|
*/
|
|
3745
|
-
proto.Auth.AccountProto.
|
|
3568
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinary = function(bytes) {
|
|
3746
3569
|
var reader = new jspb.BinaryReader(bytes);
|
|
3747
|
-
var msg = new proto.Auth.AccountProto.
|
|
3748
|
-
return proto.Auth.AccountProto.
|
|
3570
|
+
var msg = new proto.Auth.AccountProto.AccountClusterRoleRequest;
|
|
3571
|
+
return proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader(msg, reader);
|
|
3749
3572
|
};
|
|
3750
3573
|
|
|
3751
3574
|
|
|
3752
3575
|
/**
|
|
3753
3576
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3754
3577
|
* given reader into the given message object.
|
|
3755
|
-
* @param {!proto.Auth.AccountProto.
|
|
3578
|
+
* @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} msg The message object to deserialize into.
|
|
3756
3579
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3757
|
-
* @return {!proto.Auth.AccountProto.
|
|
3580
|
+
* @return {!proto.Auth.AccountProto.AccountClusterRoleRequest}
|
|
3758
3581
|
*/
|
|
3759
|
-
proto.Auth.AccountProto.
|
|
3582
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3760
3583
|
while (reader.nextField()) {
|
|
3761
3584
|
if (reader.isEndGroup()) {
|
|
3762
3585
|
break;
|
|
@@ -3768,9 +3591,8 @@ proto.Auth.AccountProto.SetAccountScopeRequest.deserializeBinaryFromReader = fun
|
|
|
3768
3591
|
msg.setId(value);
|
|
3769
3592
|
break;
|
|
3770
3593
|
case 2:
|
|
3771
|
-
var value =
|
|
3772
|
-
|
|
3773
|
-
msg.setScope(value);
|
|
3594
|
+
var value = /** @type {!proto.Auth.AccountProto.Roles} */ (reader.readEnum());
|
|
3595
|
+
msg.setRole(value);
|
|
3774
3596
|
break;
|
|
3775
3597
|
default:
|
|
3776
3598
|
reader.skipField();
|
|
@@ -3785,454 +3607,9 @@ proto.Auth.AccountProto.SetAccountScopeRequest.deserializeBinaryFromReader = fun
|
|
|
3785
3607
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3786
3608
|
* @return {!Uint8Array}
|
|
3787
3609
|
*/
|
|
3788
|
-
proto.Auth.AccountProto.
|
|
3789
|
-
var writer = new jspb.BinaryWriter();
|
|
3790
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.serializeBinaryToWriter(this, writer);
|
|
3791
|
-
return writer.getResultBuffer();
|
|
3792
|
-
};
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
/**
|
|
3796
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3797
|
-
* format), writing to the given BinaryWriter.
|
|
3798
|
-
* @param {!proto.Auth.AccountProto.SetAccountScopeRequest} message
|
|
3799
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3800
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3801
|
-
*/
|
|
3802
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3803
|
-
var f = undefined;
|
|
3804
|
-
f = message.getId();
|
|
3805
|
-
if (f !== 0) {
|
|
3806
|
-
writer.writeInt64(
|
|
3807
|
-
1,
|
|
3808
|
-
f
|
|
3809
|
-
);
|
|
3810
|
-
}
|
|
3811
|
-
f = message.getScope();
|
|
3812
|
-
if (f != null) {
|
|
3813
|
-
writer.writeMessage(
|
|
3814
|
-
2,
|
|
3815
|
-
f,
|
|
3816
|
-
proto.Auth.AccountProto.Scope.serializeBinaryToWriter
|
|
3817
|
-
);
|
|
3818
|
-
}
|
|
3819
|
-
};
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
/**
|
|
3823
|
-
* optional int64 id = 1;
|
|
3824
|
-
* @return {number}
|
|
3825
|
-
*/
|
|
3826
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.prototype.getId = function() {
|
|
3827
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3828
|
-
};
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
/**
|
|
3832
|
-
* @param {number} value
|
|
3833
|
-
* @return {!proto.Auth.AccountProto.SetAccountScopeRequest} returns this
|
|
3834
|
-
*/
|
|
3835
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.prototype.setId = function(value) {
|
|
3836
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3837
|
-
};
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
/**
|
|
3841
|
-
* optional Scope scope = 2;
|
|
3842
|
-
* @return {?proto.Auth.AccountProto.Scope}
|
|
3843
|
-
*/
|
|
3844
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.prototype.getScope = function() {
|
|
3845
|
-
return /** @type{?proto.Auth.AccountProto.Scope} */ (
|
|
3846
|
-
jspb.Message.getWrapperField(this, proto.Auth.AccountProto.Scope, 2));
|
|
3847
|
-
};
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
/**
|
|
3851
|
-
* @param {?proto.Auth.AccountProto.Scope|undefined} value
|
|
3852
|
-
* @return {!proto.Auth.AccountProto.SetAccountScopeRequest} returns this
|
|
3853
|
-
*/
|
|
3854
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.prototype.setScope = function(value) {
|
|
3855
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3856
|
-
};
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
/**
|
|
3860
|
-
* Clears the message field making it undefined.
|
|
3861
|
-
* @return {!proto.Auth.AccountProto.SetAccountScopeRequest} returns this
|
|
3862
|
-
*/
|
|
3863
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.prototype.clearScope = function() {
|
|
3864
|
-
return this.setScope(undefined);
|
|
3865
|
-
};
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
/**
|
|
3869
|
-
* Returns whether this field is set.
|
|
3870
|
-
* @return {boolean}
|
|
3871
|
-
*/
|
|
3872
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.prototype.hasScope = function() {
|
|
3873
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3874
|
-
};
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3881
|
-
/**
|
|
3882
|
-
* Creates an object representation of this proto.
|
|
3883
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3884
|
-
* Optional fields that are not set will be set to undefined.
|
|
3885
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3886
|
-
* For the list of reserved names please see:
|
|
3887
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3888
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3889
|
-
* JSPB instance for transitional soy proto support:
|
|
3890
|
-
* http://goto/soy-param-migration
|
|
3891
|
-
* @return {!Object}
|
|
3892
|
-
*/
|
|
3893
|
-
proto.Auth.AccountProto.SetAccountScopeReply.prototype.toObject = function(opt_includeInstance) {
|
|
3894
|
-
return proto.Auth.AccountProto.SetAccountScopeReply.toObject(opt_includeInstance, this);
|
|
3895
|
-
};
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
/**
|
|
3899
|
-
* Static version of the {@see toObject} method.
|
|
3900
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3901
|
-
* the JSPB instance for transitional soy proto support:
|
|
3902
|
-
* http://goto/soy-param-migration
|
|
3903
|
-
* @param {!proto.Auth.AccountProto.SetAccountScopeReply} msg The msg instance to transform.
|
|
3904
|
-
* @return {!Object}
|
|
3905
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3906
|
-
*/
|
|
3907
|
-
proto.Auth.AccountProto.SetAccountScopeReply.toObject = function(includeInstance, msg) {
|
|
3908
|
-
var f, obj = {
|
|
3909
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3910
|
-
};
|
|
3911
|
-
|
|
3912
|
-
if (includeInstance) {
|
|
3913
|
-
obj.$jspbMessageInstance = msg;
|
|
3914
|
-
}
|
|
3915
|
-
return obj;
|
|
3916
|
-
};
|
|
3917
|
-
}
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
/**
|
|
3921
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3922
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3923
|
-
* @return {!proto.Auth.AccountProto.SetAccountScopeReply}
|
|
3924
|
-
*/
|
|
3925
|
-
proto.Auth.AccountProto.SetAccountScopeReply.deserializeBinary = function(bytes) {
|
|
3926
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3927
|
-
var msg = new proto.Auth.AccountProto.SetAccountScopeReply;
|
|
3928
|
-
return proto.Auth.AccountProto.SetAccountScopeReply.deserializeBinaryFromReader(msg, reader);
|
|
3929
|
-
};
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
/**
|
|
3933
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3934
|
-
* given reader into the given message object.
|
|
3935
|
-
* @param {!proto.Auth.AccountProto.SetAccountScopeReply} msg The message object to deserialize into.
|
|
3936
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3937
|
-
* @return {!proto.Auth.AccountProto.SetAccountScopeReply}
|
|
3938
|
-
*/
|
|
3939
|
-
proto.Auth.AccountProto.SetAccountScopeReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
3940
|
-
while (reader.nextField()) {
|
|
3941
|
-
if (reader.isEndGroup()) {
|
|
3942
|
-
break;
|
|
3943
|
-
}
|
|
3944
|
-
var field = reader.getFieldNumber();
|
|
3945
|
-
switch (field) {
|
|
3946
|
-
case 1:
|
|
3947
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
3948
|
-
msg.setId(value);
|
|
3949
|
-
break;
|
|
3950
|
-
default:
|
|
3951
|
-
reader.skipField();
|
|
3952
|
-
break;
|
|
3953
|
-
}
|
|
3954
|
-
}
|
|
3955
|
-
return msg;
|
|
3956
|
-
};
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
/**
|
|
3960
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3961
|
-
* @return {!Uint8Array}
|
|
3962
|
-
*/
|
|
3963
|
-
proto.Auth.AccountProto.SetAccountScopeReply.prototype.serializeBinary = function() {
|
|
3964
|
-
var writer = new jspb.BinaryWriter();
|
|
3965
|
-
proto.Auth.AccountProto.SetAccountScopeReply.serializeBinaryToWriter(this, writer);
|
|
3966
|
-
return writer.getResultBuffer();
|
|
3967
|
-
};
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
/**
|
|
3971
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3972
|
-
* format), writing to the given BinaryWriter.
|
|
3973
|
-
* @param {!proto.Auth.AccountProto.SetAccountScopeReply} message
|
|
3974
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3975
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3976
|
-
*/
|
|
3977
|
-
proto.Auth.AccountProto.SetAccountScopeReply.serializeBinaryToWriter = function(message, writer) {
|
|
3978
|
-
var f = undefined;
|
|
3979
|
-
f = message.getId();
|
|
3980
|
-
if (f !== 0) {
|
|
3981
|
-
writer.writeInt64(
|
|
3982
|
-
1,
|
|
3983
|
-
f
|
|
3984
|
-
);
|
|
3985
|
-
}
|
|
3986
|
-
};
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
/**
|
|
3990
|
-
* optional int64 id = 1;
|
|
3991
|
-
* @return {number}
|
|
3992
|
-
*/
|
|
3993
|
-
proto.Auth.AccountProto.SetAccountScopeReply.prototype.getId = function() {
|
|
3994
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3995
|
-
};
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
/**
|
|
3999
|
-
* @param {number} value
|
|
4000
|
-
* @return {!proto.Auth.AccountProto.SetAccountScopeReply} returns this
|
|
4001
|
-
*/
|
|
4002
|
-
proto.Auth.AccountProto.SetAccountScopeReply.prototype.setId = function(value) {
|
|
4003
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4004
|
-
};
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4011
|
-
/**
|
|
4012
|
-
* Creates an object representation of this proto.
|
|
4013
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4014
|
-
* Optional fields that are not set will be set to undefined.
|
|
4015
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4016
|
-
* For the list of reserved names please see:
|
|
4017
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4018
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4019
|
-
* JSPB instance for transitional soy proto support:
|
|
4020
|
-
* http://goto/soy-param-migration
|
|
4021
|
-
* @return {!Object}
|
|
4022
|
-
*/
|
|
4023
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4024
|
-
return proto.Auth.AccountProto.RetrievePushInfoRequest.toObject(opt_includeInstance, this);
|
|
4025
|
-
};
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
/**
|
|
4029
|
-
* Static version of the {@see toObject} method.
|
|
4030
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4031
|
-
* the JSPB instance for transitional soy proto support:
|
|
4032
|
-
* http://goto/soy-param-migration
|
|
4033
|
-
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The msg instance to transform.
|
|
4034
|
-
* @return {!Object}
|
|
4035
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4036
|
-
*/
|
|
4037
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.toObject = function(includeInstance, msg) {
|
|
4038
|
-
var f, obj = {
|
|
4039
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
4040
|
-
};
|
|
4041
|
-
|
|
4042
|
-
if (includeInstance) {
|
|
4043
|
-
obj.$jspbMessageInstance = msg;
|
|
4044
|
-
}
|
|
4045
|
-
return obj;
|
|
4046
|
-
};
|
|
4047
|
-
}
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
/**
|
|
4051
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4052
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4053
|
-
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
|
|
4054
|
-
*/
|
|
4055
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinary = function(bytes) {
|
|
4056
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4057
|
-
var msg = new proto.Auth.AccountProto.RetrievePushInfoRequest;
|
|
4058
|
-
return proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader(msg, reader);
|
|
4059
|
-
};
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
/**
|
|
4063
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4064
|
-
* given reader into the given message object.
|
|
4065
|
-
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The message object to deserialize into.
|
|
4066
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4067
|
-
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
|
|
4068
|
-
*/
|
|
4069
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4070
|
-
while (reader.nextField()) {
|
|
4071
|
-
if (reader.isEndGroup()) {
|
|
4072
|
-
break;
|
|
4073
|
-
}
|
|
4074
|
-
var field = reader.getFieldNumber();
|
|
4075
|
-
switch (field) {
|
|
4076
|
-
case 1:
|
|
4077
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4078
|
-
msg.setId(value);
|
|
4079
|
-
break;
|
|
4080
|
-
default:
|
|
4081
|
-
reader.skipField();
|
|
4082
|
-
break;
|
|
4083
|
-
}
|
|
4084
|
-
}
|
|
4085
|
-
return msg;
|
|
4086
|
-
};
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
/**
|
|
4090
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4091
|
-
* @return {!Uint8Array}
|
|
4092
|
-
*/
|
|
4093
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.serializeBinary = function() {
|
|
4094
|
-
var writer = new jspb.BinaryWriter();
|
|
4095
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter(this, writer);
|
|
4096
|
-
return writer.getResultBuffer();
|
|
4097
|
-
};
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
/**
|
|
4101
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4102
|
-
* format), writing to the given BinaryWriter.
|
|
4103
|
-
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} message
|
|
4104
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4105
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4106
|
-
*/
|
|
4107
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4108
|
-
var f = undefined;
|
|
4109
|
-
f = message.getId();
|
|
4110
|
-
if (f !== 0) {
|
|
4111
|
-
writer.writeInt64(
|
|
4112
|
-
1,
|
|
4113
|
-
f
|
|
4114
|
-
);
|
|
4115
|
-
}
|
|
4116
|
-
};
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
/**
|
|
4120
|
-
* optional int64 id = 1;
|
|
4121
|
-
* @return {number}
|
|
4122
|
-
*/
|
|
4123
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.getId = function() {
|
|
4124
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4125
|
-
};
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
/**
|
|
4129
|
-
* @param {number} value
|
|
4130
|
-
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest} returns this
|
|
4131
|
-
*/
|
|
4132
|
-
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.setId = function(value) {
|
|
4133
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4134
|
-
};
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4141
|
-
/**
|
|
4142
|
-
* Creates an object representation of this proto.
|
|
4143
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4144
|
-
* Optional fields that are not set will be set to undefined.
|
|
4145
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4146
|
-
* For the list of reserved names please see:
|
|
4147
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4148
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4149
|
-
* JSPB instance for transitional soy proto support:
|
|
4150
|
-
* http://goto/soy-param-migration
|
|
4151
|
-
* @return {!Object}
|
|
4152
|
-
*/
|
|
4153
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.toObject = function(opt_includeInstance) {
|
|
4154
|
-
return proto.Auth.AccountProto.RetrievePushInfoReply.toObject(opt_includeInstance, this);
|
|
4155
|
-
};
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
/**
|
|
4159
|
-
* Static version of the {@see toObject} method.
|
|
4160
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4161
|
-
* the JSPB instance for transitional soy proto support:
|
|
4162
|
-
* http://goto/soy-param-migration
|
|
4163
|
-
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The msg instance to transform.
|
|
4164
|
-
* @return {!Object}
|
|
4165
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4166
|
-
*/
|
|
4167
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.toObject = function(includeInstance, msg) {
|
|
4168
|
-
var f, obj = {
|
|
4169
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4170
|
-
pushToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4171
|
-
pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
4172
|
-
};
|
|
4173
|
-
|
|
4174
|
-
if (includeInstance) {
|
|
4175
|
-
obj.$jspbMessageInstance = msg;
|
|
4176
|
-
}
|
|
4177
|
-
return obj;
|
|
4178
|
-
};
|
|
4179
|
-
}
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
/**
|
|
4183
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4184
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4185
|
-
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
|
|
4186
|
-
*/
|
|
4187
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinary = function(bytes) {
|
|
4188
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4189
|
-
var msg = new proto.Auth.AccountProto.RetrievePushInfoReply;
|
|
4190
|
-
return proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader(msg, reader);
|
|
4191
|
-
};
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
/**
|
|
4195
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4196
|
-
* given reader into the given message object.
|
|
4197
|
-
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The message object to deserialize into.
|
|
4198
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4199
|
-
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
|
|
4200
|
-
*/
|
|
4201
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
4202
|
-
while (reader.nextField()) {
|
|
4203
|
-
if (reader.isEndGroup()) {
|
|
4204
|
-
break;
|
|
4205
|
-
}
|
|
4206
|
-
var field = reader.getFieldNumber();
|
|
4207
|
-
switch (field) {
|
|
4208
|
-
case 1:
|
|
4209
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4210
|
-
msg.setId(value);
|
|
4211
|
-
break;
|
|
4212
|
-
case 2:
|
|
4213
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4214
|
-
msg.setPushToken(value);
|
|
4215
|
-
break;
|
|
4216
|
-
case 3:
|
|
4217
|
-
var value = /** @type {!proto.Auth.PushNotificationProto.PushType} */ (reader.readEnum());
|
|
4218
|
-
msg.setPushtype(value);
|
|
4219
|
-
break;
|
|
4220
|
-
default:
|
|
4221
|
-
reader.skipField();
|
|
4222
|
-
break;
|
|
4223
|
-
}
|
|
4224
|
-
}
|
|
4225
|
-
return msg;
|
|
4226
|
-
};
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
/**
|
|
4230
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4231
|
-
* @return {!Uint8Array}
|
|
4232
|
-
*/
|
|
4233
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.serializeBinary = function() {
|
|
3610
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.serializeBinary = function() {
|
|
4234
3611
|
var writer = new jspb.BinaryWriter();
|
|
4235
|
-
proto.Auth.AccountProto.
|
|
3612
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter(this, writer);
|
|
4236
3613
|
return writer.getResultBuffer();
|
|
4237
3614
|
};
|
|
4238
3615
|
|
|
@@ -4240,11 +3617,11 @@ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.serializeBinary = functi
|
|
|
4240
3617
|
/**
|
|
4241
3618
|
* Serializes the given message to binary data (in protobuf wire
|
|
4242
3619
|
* format), writing to the given BinaryWriter.
|
|
4243
|
-
* @param {!proto.Auth.AccountProto.
|
|
3620
|
+
* @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} message
|
|
4244
3621
|
* @param {!jspb.BinaryWriter} writer
|
|
4245
3622
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4246
3623
|
*/
|
|
4247
|
-
proto.Auth.AccountProto.
|
|
3624
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4248
3625
|
var f = undefined;
|
|
4249
3626
|
f = message.getId();
|
|
4250
3627
|
if (f !== 0) {
|
|
@@ -4253,17 +3630,10 @@ proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function
|
|
|
4253
3630
|
f
|
|
4254
3631
|
);
|
|
4255
3632
|
}
|
|
4256
|
-
f = message.
|
|
4257
|
-
if (f.length > 0) {
|
|
4258
|
-
writer.writeString(
|
|
4259
|
-
2,
|
|
4260
|
-
f
|
|
4261
|
-
);
|
|
4262
|
-
}
|
|
4263
|
-
f = message.getPushtype();
|
|
3633
|
+
f = message.getRole();
|
|
4264
3634
|
if (f !== 0.0) {
|
|
4265
3635
|
writer.writeEnum(
|
|
4266
|
-
|
|
3636
|
+
2,
|
|
4267
3637
|
f
|
|
4268
3638
|
);
|
|
4269
3639
|
}
|
|
@@ -4274,53 +3644,35 @@ proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function
|
|
|
4274
3644
|
* optional int64 id = 1;
|
|
4275
3645
|
* @return {number}
|
|
4276
3646
|
*/
|
|
4277
|
-
proto.Auth.AccountProto.
|
|
3647
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getId = function() {
|
|
4278
3648
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4279
3649
|
};
|
|
4280
3650
|
|
|
4281
3651
|
|
|
4282
3652
|
/**
|
|
4283
3653
|
* @param {number} value
|
|
4284
|
-
* @return {!proto.Auth.AccountProto.
|
|
3654
|
+
* @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
|
|
4285
3655
|
*/
|
|
4286
|
-
proto.Auth.AccountProto.
|
|
3656
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setId = function(value) {
|
|
4287
3657
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4288
3658
|
};
|
|
4289
3659
|
|
|
4290
3660
|
|
|
4291
3661
|
/**
|
|
4292
|
-
* optional
|
|
4293
|
-
* @return {
|
|
4294
|
-
*/
|
|
4295
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushToken = function() {
|
|
4296
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4297
|
-
};
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
/**
|
|
4301
|
-
* @param {string} value
|
|
4302
|
-
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
|
|
4303
|
-
*/
|
|
4304
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushToken = function(value) {
|
|
4305
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4306
|
-
};
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
/**
|
|
4310
|
-
* optional PushNotificationProto.PushType pushType = 3;
|
|
4311
|
-
* @return {!proto.Auth.PushNotificationProto.PushType}
|
|
3662
|
+
* optional Roles role = 2;
|
|
3663
|
+
* @return {!proto.Auth.AccountProto.Roles}
|
|
4312
3664
|
*/
|
|
4313
|
-
proto.Auth.AccountProto.
|
|
4314
|
-
return /** @type {!proto.Auth.
|
|
3665
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getRole = function() {
|
|
3666
|
+
return /** @type {!proto.Auth.AccountProto.Roles} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4315
3667
|
};
|
|
4316
3668
|
|
|
4317
3669
|
|
|
4318
3670
|
/**
|
|
4319
|
-
* @param {!proto.Auth.
|
|
4320
|
-
* @return {!proto.Auth.AccountProto.
|
|
3671
|
+
* @param {!proto.Auth.AccountProto.Roles} value
|
|
3672
|
+
* @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
|
|
4321
3673
|
*/
|
|
4322
|
-
proto.Auth.AccountProto.
|
|
4323
|
-
return jspb.Message.setProto3EnumField(this,
|
|
3674
|
+
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setRole = function(value) {
|
|
3675
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
4324
3676
|
};
|
|
4325
3677
|
|
|
4326
3678
|
|
|
@@ -4340,8 +3692,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4340
3692
|
* http://goto/soy-param-migration
|
|
4341
3693
|
* @return {!Object}
|
|
4342
3694
|
*/
|
|
4343
|
-
proto.Auth.AccountProto.
|
|
4344
|
-
return proto.Auth.AccountProto.
|
|
3695
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3696
|
+
return proto.Auth.AccountProto.DeleteFromClusterRequest.toObject(opt_includeInstance, this);
|
|
4345
3697
|
};
|
|
4346
3698
|
|
|
4347
3699
|
|
|
@@ -4350,14 +3702,13 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.toObject = function(
|
|
|
4350
3702
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4351
3703
|
* the JSPB instance for transitional soy proto support:
|
|
4352
3704
|
* http://goto/soy-param-migration
|
|
4353
|
-
* @param {!proto.Auth.AccountProto.
|
|
3705
|
+
* @param {!proto.Auth.AccountProto.DeleteFromClusterRequest} msg The msg instance to transform.
|
|
4354
3706
|
* @return {!Object}
|
|
4355
3707
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4356
3708
|
*/
|
|
4357
|
-
proto.Auth.AccountProto.
|
|
3709
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.toObject = function(includeInstance, msg) {
|
|
4358
3710
|
var f, obj = {
|
|
4359
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
4360
|
-
role: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3711
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
4361
3712
|
};
|
|
4362
3713
|
|
|
4363
3714
|
if (includeInstance) {
|
|
@@ -4371,23 +3722,23 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.toObject = function(includeIns
|
|
|
4371
3722
|
/**
|
|
4372
3723
|
* Deserializes binary data (in protobuf wire format).
|
|
4373
3724
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4374
|
-
* @return {!proto.Auth.AccountProto.
|
|
3725
|
+
* @return {!proto.Auth.AccountProto.DeleteFromClusterRequest}
|
|
4375
3726
|
*/
|
|
4376
|
-
proto.Auth.AccountProto.
|
|
3727
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.deserializeBinary = function(bytes) {
|
|
4377
3728
|
var reader = new jspb.BinaryReader(bytes);
|
|
4378
|
-
var msg = new proto.Auth.AccountProto.
|
|
4379
|
-
return proto.Auth.AccountProto.
|
|
3729
|
+
var msg = new proto.Auth.AccountProto.DeleteFromClusterRequest;
|
|
3730
|
+
return proto.Auth.AccountProto.DeleteFromClusterRequest.deserializeBinaryFromReader(msg, reader);
|
|
4380
3731
|
};
|
|
4381
3732
|
|
|
4382
3733
|
|
|
4383
3734
|
/**
|
|
4384
3735
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4385
3736
|
* given reader into the given message object.
|
|
4386
|
-
* @param {!proto.Auth.AccountProto.
|
|
3737
|
+
* @param {!proto.Auth.AccountProto.DeleteFromClusterRequest} msg The message object to deserialize into.
|
|
4387
3738
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4388
|
-
* @return {!proto.Auth.AccountProto.
|
|
3739
|
+
* @return {!proto.Auth.AccountProto.DeleteFromClusterRequest}
|
|
4389
3740
|
*/
|
|
4390
|
-
proto.Auth.AccountProto.
|
|
3741
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4391
3742
|
while (reader.nextField()) {
|
|
4392
3743
|
if (reader.isEndGroup()) {
|
|
4393
3744
|
break;
|
|
@@ -4398,10 +3749,6 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader =
|
|
|
4398
3749
|
var value = /** @type {number} */ (reader.readInt64());
|
|
4399
3750
|
msg.setId(value);
|
|
4400
3751
|
break;
|
|
4401
|
-
case 2:
|
|
4402
|
-
var value = /** @type {!proto.Auth.AccountProto.Roles} */ (reader.readEnum());
|
|
4403
|
-
msg.setRole(value);
|
|
4404
|
-
break;
|
|
4405
3752
|
default:
|
|
4406
3753
|
reader.skipField();
|
|
4407
3754
|
break;
|
|
@@ -4415,9 +3762,9 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader =
|
|
|
4415
3762
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4416
3763
|
* @return {!Uint8Array}
|
|
4417
3764
|
*/
|
|
4418
|
-
proto.Auth.AccountProto.
|
|
3765
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.prototype.serializeBinary = function() {
|
|
4419
3766
|
var writer = new jspb.BinaryWriter();
|
|
4420
|
-
proto.Auth.AccountProto.
|
|
3767
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.serializeBinaryToWriter(this, writer);
|
|
4421
3768
|
return writer.getResultBuffer();
|
|
4422
3769
|
};
|
|
4423
3770
|
|
|
@@ -4425,11 +3772,11 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.serializeBinary = fu
|
|
|
4425
3772
|
/**
|
|
4426
3773
|
* Serializes the given message to binary data (in protobuf wire
|
|
4427
3774
|
* format), writing to the given BinaryWriter.
|
|
4428
|
-
* @param {!proto.Auth.AccountProto.
|
|
3775
|
+
* @param {!proto.Auth.AccountProto.DeleteFromClusterRequest} message
|
|
4429
3776
|
* @param {!jspb.BinaryWriter} writer
|
|
4430
3777
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4431
3778
|
*/
|
|
4432
|
-
proto.Auth.AccountProto.
|
|
3779
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4433
3780
|
var f = undefined;
|
|
4434
3781
|
f = message.getId();
|
|
4435
3782
|
if (f !== 0) {
|
|
@@ -4438,13 +3785,6 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter = func
|
|
|
4438
3785
|
f
|
|
4439
3786
|
);
|
|
4440
3787
|
}
|
|
4441
|
-
f = message.getRole();
|
|
4442
|
-
if (f !== 0.0) {
|
|
4443
|
-
writer.writeEnum(
|
|
4444
|
-
2,
|
|
4445
|
-
f
|
|
4446
|
-
);
|
|
4447
|
-
}
|
|
4448
3788
|
};
|
|
4449
3789
|
|
|
4450
3790
|
|
|
@@ -4452,38 +3792,20 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter = func
|
|
|
4452
3792
|
* optional int64 id = 1;
|
|
4453
3793
|
* @return {number}
|
|
4454
3794
|
*/
|
|
4455
|
-
proto.Auth.AccountProto.
|
|
3795
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.prototype.getId = function() {
|
|
4456
3796
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4457
3797
|
};
|
|
4458
3798
|
|
|
4459
3799
|
|
|
4460
3800
|
/**
|
|
4461
3801
|
* @param {number} value
|
|
4462
|
-
* @return {!proto.Auth.AccountProto.
|
|
3802
|
+
* @return {!proto.Auth.AccountProto.DeleteFromClusterRequest} returns this
|
|
4463
3803
|
*/
|
|
4464
|
-
proto.Auth.AccountProto.
|
|
3804
|
+
proto.Auth.AccountProto.DeleteFromClusterRequest.prototype.setId = function(value) {
|
|
4465
3805
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4466
3806
|
};
|
|
4467
3807
|
|
|
4468
3808
|
|
|
4469
|
-
/**
|
|
4470
|
-
* optional Roles role = 2;
|
|
4471
|
-
* @return {!proto.Auth.AccountProto.Roles}
|
|
4472
|
-
*/
|
|
4473
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getRole = function() {
|
|
4474
|
-
return /** @type {!proto.Auth.AccountProto.Roles} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4475
|
-
};
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
/**
|
|
4479
|
-
* @param {!proto.Auth.AccountProto.Roles} value
|
|
4480
|
-
* @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
|
|
4481
|
-
*/
|
|
4482
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setRole = function(value) {
|
|
4483
|
-
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
4484
|
-
};
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
3809
|
|
|
4488
3810
|
/**
|
|
4489
3811
|
* List of repeated fields within this message type.
|