@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-alpha.21
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/auth.account_pb.d.ts +4 -130
- package/auth.account_pb.js +97 -1079
- package/auth.account_pb_service.d.ts +0 -171
- package/auth.account_pb_service.js +0 -360
- package/meta.client_pb.d.ts +0 -1
- package/meta.client_pb.js +0 -2
- package/meta.spic_config_pb.d.ts +0 -67
- package/meta.spic_config_pb.js +1 -439
- package/meta.spic_config_pb_service.d.ts +0 -19
- package/meta.spic_config_pb_service.js +0 -40
- package/package.json +1 -1
- package/platform.local_account_internal_pb.d.ts +121 -0
- package/platform.local_account_internal_pb.js +903 -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 +77 -65
- package/platform.local_account_pb.js +739 -720
- package/platform.local_account_pb_service.d.ts +3 -60
- package/platform.local_account_pb_service.js +1 -121
- package/spic.cabinet_pb.d.ts +24 -0
- package/spic.cabinet_pb.js +134 -4
package/auth.account_pb.js
CHANGED
|
@@ -30,7 +30,6 @@ goog.object.extend(proto, platform_pagination_pb);
|
|
|
30
30
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
31
31
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
32
32
|
goog.exportSymbol('proto.Auth.AccountProto', null, global);
|
|
33
|
-
goog.exportSymbol('proto.Auth.AccountProto.AccountClusterRoleRequest', null, global);
|
|
34
33
|
goog.exportSymbol('proto.Auth.AccountProto.AccountsActivationStatuses', null, global);
|
|
35
34
|
goog.exportSymbol('proto.Auth.AccountProto.ActivateAccountRequest', null, global);
|
|
36
35
|
goog.exportSymbol('proto.Auth.AccountProto.ActivationStatuses', null, global);
|
|
@@ -49,12 +48,8 @@ goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoReply', null, global)
|
|
|
49
48
|
goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoRequest', null, global);
|
|
50
49
|
goog.exportSymbol('proto.Auth.AccountProto.RetrieveRequest', null, global);
|
|
51
50
|
goog.exportSymbol('proto.Auth.AccountProto.Roles', null, global);
|
|
52
|
-
goog.exportSymbol('proto.Auth.AccountProto.Scope', null, global);
|
|
53
51
|
goog.exportSymbol('proto.Auth.AccountProto.SearchReply', null, global);
|
|
54
52
|
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
53
|
goog.exportSymbol('proto.Auth.AccountProto.UpdateRequest', null, global);
|
|
59
54
|
/**
|
|
60
55
|
* Generated by JsPbCodeGenerator.
|
|
@@ -172,7 +167,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
172
167
|
* @constructor
|
|
173
168
|
*/
|
|
174
169
|
proto.Auth.AccountProto.SearchRequest = function(opt_data) {
|
|
175
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
170
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
176
171
|
};
|
|
177
172
|
goog.inherits(proto.Auth.AccountProto.SearchRequest, jspb.Message);
|
|
178
173
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -350,90 +345,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
350
345
|
*/
|
|
351
346
|
proto.Auth.AccountProto.DeleteReply.displayName = 'proto.Auth.AccountProto.DeleteReply';
|
|
352
347
|
}
|
|
353
|
-
/**
|
|
354
|
-
* Generated by JsPbCodeGenerator.
|
|
355
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
356
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
357
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
358
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
359
|
-
* valid.
|
|
360
|
-
* @extends {jspb.Message}
|
|
361
|
-
* @constructor
|
|
362
|
-
*/
|
|
363
|
-
proto.Auth.AccountProto.Scope = function(opt_data) {
|
|
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) {
|
|
427
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
428
|
-
};
|
|
429
|
-
goog.inherits(proto.Auth.AccountProto.SetAccountScopeReply, jspb.Message);
|
|
430
|
-
if (goog.DEBUG && !COMPILED) {
|
|
431
|
-
/**
|
|
432
|
-
* @public
|
|
433
|
-
* @override
|
|
434
|
-
*/
|
|
435
|
-
proto.Auth.AccountProto.SetAccountScopeReply.displayName = 'proto.Auth.AccountProto.SetAccountScopeReply';
|
|
436
|
-
}
|
|
437
348
|
/**
|
|
438
349
|
* Generated by JsPbCodeGenerator.
|
|
439
350
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -476,27 +387,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
476
387
|
*/
|
|
477
388
|
proto.Auth.AccountProto.RetrievePushInfoReply.displayName = 'proto.Auth.AccountProto.RetrievePushInfoReply';
|
|
478
389
|
}
|
|
479
|
-
/**
|
|
480
|
-
* Generated by JsPbCodeGenerator.
|
|
481
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
482
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
483
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
484
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
485
|
-
* valid.
|
|
486
|
-
* @extends {jspb.Message}
|
|
487
|
-
* @constructor
|
|
488
|
-
*/
|
|
489
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest = function(opt_data) {
|
|
490
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
491
|
-
};
|
|
492
|
-
goog.inherits(proto.Auth.AccountProto.AccountClusterRoleRequest, jspb.Message);
|
|
493
|
-
if (goog.DEBUG && !COMPILED) {
|
|
494
|
-
/**
|
|
495
|
-
* @public
|
|
496
|
-
* @override
|
|
497
|
-
*/
|
|
498
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.displayName = 'proto.Auth.AccountProto.AccountClusterRoleRequest';
|
|
499
|
-
}
|
|
500
390
|
/**
|
|
501
391
|
* Generated by JsPbCodeGenerator.
|
|
502
392
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1086,7 +976,8 @@ proto.Auth.AccountProto.CreateAppRequest.toObject = function(includeInstance, ms
|
|
|
1086
976
|
firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1087
977
|
lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1088
978
|
locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1089
|
-
company: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
979
|
+
company: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
980
|
+
clientName: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1090
981
|
};
|
|
1091
982
|
|
|
1092
983
|
if (includeInstance) {
|
|
@@ -1143,6 +1034,10 @@ proto.Auth.AccountProto.CreateAppRequest.deserializeBinaryFromReader = function(
|
|
|
1143
1034
|
var value = /** @type {string} */ (reader.readString());
|
|
1144
1035
|
msg.setCompany(value);
|
|
1145
1036
|
break;
|
|
1037
|
+
case 6:
|
|
1038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1039
|
+
msg.setClientName(value);
|
|
1040
|
+
break;
|
|
1146
1041
|
default:
|
|
1147
1042
|
reader.skipField();
|
|
1148
1043
|
break;
|
|
@@ -1207,6 +1102,13 @@ proto.Auth.AccountProto.CreateAppRequest.serializeBinaryToWriter = function(mess
|
|
|
1207
1102
|
f
|
|
1208
1103
|
);
|
|
1209
1104
|
}
|
|
1105
|
+
f = message.getClientName();
|
|
1106
|
+
if (f.length > 0) {
|
|
1107
|
+
writer.writeString(
|
|
1108
|
+
6,
|
|
1109
|
+
f
|
|
1110
|
+
);
|
|
1111
|
+
}
|
|
1210
1112
|
};
|
|
1211
1113
|
|
|
1212
1114
|
|
|
@@ -1300,6 +1202,24 @@ proto.Auth.AccountProto.CreateAppRequest.prototype.setCompany = function(value)
|
|
|
1300
1202
|
};
|
|
1301
1203
|
|
|
1302
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
|
+
|
|
1303
1223
|
|
|
1304
1224
|
|
|
1305
1225
|
|
|
@@ -1672,13 +1592,6 @@ proto.Auth.AccountProto.SearchReply.prototype.hasPagination = function() {
|
|
|
1672
1592
|
|
|
1673
1593
|
|
|
1674
1594
|
|
|
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
1595
|
|
|
1683
1596
|
|
|
1684
1597
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1712,9 +1625,7 @@ proto.Auth.AccountProto.SearchRequest.toObject = function(includeInstance, msg)
|
|
|
1712
1625
|
var f, obj = {
|
|
1713
1626
|
search: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1714
1627
|
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)
|
|
1628
|
+
count: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
1718
1629
|
};
|
|
1719
1630
|
|
|
1720
1631
|
if (includeInstance) {
|
|
@@ -1763,11 +1674,6 @@ proto.Auth.AccountProto.SearchRequest.deserializeBinaryFromReader = function(msg
|
|
|
1763
1674
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1764
1675
|
msg.setCount(value);
|
|
1765
1676
|
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
1677
|
default:
|
|
1772
1678
|
reader.skipField();
|
|
1773
1679
|
break;
|
|
@@ -1818,14 +1724,6 @@ proto.Auth.AccountProto.SearchRequest.serializeBinaryToWriter = function(message
|
|
|
1818
1724
|
f
|
|
1819
1725
|
);
|
|
1820
1726
|
}
|
|
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
1727
|
};
|
|
1830
1728
|
|
|
1831
1729
|
|
|
@@ -1883,44 +1781,6 @@ proto.Auth.AccountProto.SearchRequest.prototype.setCount = function(value) {
|
|
|
1883
1781
|
};
|
|
1884
1782
|
|
|
1885
1783
|
|
|
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
1784
|
|
|
1925
1785
|
|
|
1926
1786
|
|
|
@@ -3338,8 +3198,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3338
3198
|
* http://goto/soy-param-migration
|
|
3339
3199
|
* @return {!Object}
|
|
3340
3200
|
*/
|
|
3341
|
-
proto.Auth.AccountProto.
|
|
3342
|
-
return proto.Auth.AccountProto.
|
|
3201
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3202
|
+
return proto.Auth.AccountProto.RetrievePushInfoRequest.toObject(opt_includeInstance, this);
|
|
3343
3203
|
};
|
|
3344
3204
|
|
|
3345
3205
|
|
|
@@ -3348,14 +3208,13 @@ proto.Auth.AccountProto.Scope.prototype.toObject = function(opt_includeInstance)
|
|
|
3348
3208
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3349
3209
|
* the JSPB instance for transitional soy proto support:
|
|
3350
3210
|
* http://goto/soy-param-migration
|
|
3351
|
-
* @param {!proto.Auth.AccountProto.
|
|
3211
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The msg instance to transform.
|
|
3352
3212
|
* @return {!Object}
|
|
3353
3213
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3354
3214
|
*/
|
|
3355
|
-
proto.Auth.AccountProto.
|
|
3215
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.toObject = function(includeInstance, msg) {
|
|
3356
3216
|
var f, obj = {
|
|
3357
|
-
|
|
3358
|
-
scopeValue: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3217
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3359
3218
|
};
|
|
3360
3219
|
|
|
3361
3220
|
if (includeInstance) {
|
|
@@ -3369,23 +3228,23 @@ proto.Auth.AccountProto.Scope.toObject = function(includeInstance, msg) {
|
|
|
3369
3228
|
/**
|
|
3370
3229
|
* Deserializes binary data (in protobuf wire format).
|
|
3371
3230
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3372
|
-
* @return {!proto.Auth.AccountProto.
|
|
3231
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
|
|
3373
3232
|
*/
|
|
3374
|
-
proto.Auth.AccountProto.
|
|
3233
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinary = function(bytes) {
|
|
3375
3234
|
var reader = new jspb.BinaryReader(bytes);
|
|
3376
|
-
var msg = new proto.Auth.AccountProto.
|
|
3377
|
-
return proto.Auth.AccountProto.
|
|
3235
|
+
var msg = new proto.Auth.AccountProto.RetrievePushInfoRequest;
|
|
3236
|
+
return proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader(msg, reader);
|
|
3378
3237
|
};
|
|
3379
3238
|
|
|
3380
3239
|
|
|
3381
3240
|
/**
|
|
3382
3241
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3383
3242
|
* given reader into the given message object.
|
|
3384
|
-
* @param {!proto.Auth.AccountProto.
|
|
3243
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The message object to deserialize into.
|
|
3385
3244
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3386
|
-
* @return {!proto.Auth.AccountProto.
|
|
3245
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
|
|
3387
3246
|
*/
|
|
3388
|
-
proto.Auth.AccountProto.
|
|
3247
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3389
3248
|
while (reader.nextField()) {
|
|
3390
3249
|
if (reader.isEndGroup()) {
|
|
3391
3250
|
break;
|
|
@@ -3393,12 +3252,8 @@ proto.Auth.AccountProto.Scope.deserializeBinaryFromReader = function(msg, reader
|
|
|
3393
3252
|
var field = reader.getFieldNumber();
|
|
3394
3253
|
switch (field) {
|
|
3395
3254
|
case 1:
|
|
3396
|
-
var value = /** @type {
|
|
3397
|
-
msg.
|
|
3398
|
-
break;
|
|
3399
|
-
case 2:
|
|
3400
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3401
|
-
msg.setScopeValue(value);
|
|
3255
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3256
|
+
msg.setId(value);
|
|
3402
3257
|
break;
|
|
3403
3258
|
default:
|
|
3404
3259
|
reader.skipField();
|
|
@@ -3413,9 +3268,9 @@ proto.Auth.AccountProto.Scope.deserializeBinaryFromReader = function(msg, reader
|
|
|
3413
3268
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3414
3269
|
* @return {!Uint8Array}
|
|
3415
3270
|
*/
|
|
3416
|
-
proto.Auth.AccountProto.
|
|
3271
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.serializeBinary = function() {
|
|
3417
3272
|
var writer = new jspb.BinaryWriter();
|
|
3418
|
-
proto.Auth.AccountProto.
|
|
3273
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter(this, writer);
|
|
3419
3274
|
return writer.getResultBuffer();
|
|
3420
3275
|
};
|
|
3421
3276
|
|
|
@@ -3423,62 +3278,37 @@ proto.Auth.AccountProto.Scope.prototype.serializeBinary = function() {
|
|
|
3423
3278
|
/**
|
|
3424
3279
|
* Serializes the given message to binary data (in protobuf wire
|
|
3425
3280
|
* format), writing to the given BinaryWriter.
|
|
3426
|
-
* @param {!proto.Auth.AccountProto.
|
|
3281
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} message
|
|
3427
3282
|
* @param {!jspb.BinaryWriter} writer
|
|
3428
3283
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3429
3284
|
*/
|
|
3430
|
-
proto.Auth.AccountProto.
|
|
3285
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3431
3286
|
var f = undefined;
|
|
3432
|
-
f = message.
|
|
3433
|
-
if (f
|
|
3434
|
-
writer.
|
|
3287
|
+
f = message.getId();
|
|
3288
|
+
if (f !== 0) {
|
|
3289
|
+
writer.writeInt64(
|
|
3435
3290
|
1,
|
|
3436
3291
|
f
|
|
3437
3292
|
);
|
|
3438
3293
|
}
|
|
3439
|
-
f = message.getScopeValue();
|
|
3440
|
-
if (f.length > 0) {
|
|
3441
|
-
writer.writeString(
|
|
3442
|
-
2,
|
|
3443
|
-
f
|
|
3444
|
-
);
|
|
3445
|
-
}
|
|
3446
|
-
};
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
/**
|
|
3450
|
-
* optional string scope_name = 1;
|
|
3451
|
-
* @return {string}
|
|
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
3294
|
};
|
|
3465
3295
|
|
|
3466
3296
|
|
|
3467
3297
|
/**
|
|
3468
|
-
* optional
|
|
3469
|
-
* @return {
|
|
3298
|
+
* optional int64 id = 1;
|
|
3299
|
+
* @return {number}
|
|
3470
3300
|
*/
|
|
3471
|
-
proto.Auth.AccountProto.
|
|
3472
|
-
return /** @type {
|
|
3301
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.getId = function() {
|
|
3302
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3473
3303
|
};
|
|
3474
3304
|
|
|
3475
3305
|
|
|
3476
3306
|
/**
|
|
3477
|
-
* @param {
|
|
3478
|
-
* @return {!proto.Auth.AccountProto.
|
|
3307
|
+
* @param {number} value
|
|
3308
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoRequest} returns this
|
|
3479
3309
|
*/
|
|
3480
|
-
proto.Auth.AccountProto.
|
|
3481
|
-
return jspb.Message.
|
|
3310
|
+
proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.setId = function(value) {
|
|
3311
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3482
3312
|
};
|
|
3483
3313
|
|
|
3484
3314
|
|
|
@@ -3498,8 +3328,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3498
3328
|
* http://goto/soy-param-migration
|
|
3499
3329
|
* @return {!Object}
|
|
3500
3330
|
*/
|
|
3501
|
-
proto.Auth.AccountProto.
|
|
3502
|
-
return proto.Auth.AccountProto.
|
|
3331
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.toObject = function(opt_includeInstance) {
|
|
3332
|
+
return proto.Auth.AccountProto.RetrievePushInfoReply.toObject(opt_includeInstance, this);
|
|
3503
3333
|
};
|
|
3504
3334
|
|
|
3505
3335
|
|
|
@@ -3508,15 +3338,15 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.toObject = functio
|
|
|
3508
3338
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3509
3339
|
* the JSPB instance for transitional soy proto support:
|
|
3510
3340
|
* http://goto/soy-param-migration
|
|
3511
|
-
* @param {!proto.Auth.AccountProto.
|
|
3341
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The msg instance to transform.
|
|
3512
3342
|
* @return {!Object}
|
|
3513
3343
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3514
3344
|
*/
|
|
3515
|
-
proto.Auth.AccountProto.
|
|
3345
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.toObject = function(includeInstance, msg) {
|
|
3516
3346
|
var f, obj = {
|
|
3517
3347
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3518
|
-
|
|
3519
|
-
|
|
3348
|
+
pushToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3349
|
+
pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
3520
3350
|
};
|
|
3521
3351
|
|
|
3522
3352
|
if (includeInstance) {
|
|
@@ -3530,23 +3360,23 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.toObject = function(includeI
|
|
|
3530
3360
|
/**
|
|
3531
3361
|
* Deserializes binary data (in protobuf wire format).
|
|
3532
3362
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3533
|
-
* @return {!proto.Auth.AccountProto.
|
|
3363
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
|
|
3534
3364
|
*/
|
|
3535
|
-
proto.Auth.AccountProto.
|
|
3365
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinary = function(bytes) {
|
|
3536
3366
|
var reader = new jspb.BinaryReader(bytes);
|
|
3537
|
-
var msg = new proto.Auth.AccountProto.
|
|
3538
|
-
return proto.Auth.AccountProto.
|
|
3367
|
+
var msg = new proto.Auth.AccountProto.RetrievePushInfoReply;
|
|
3368
|
+
return proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader(msg, reader);
|
|
3539
3369
|
};
|
|
3540
3370
|
|
|
3541
3371
|
|
|
3542
3372
|
/**
|
|
3543
3373
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3544
3374
|
* given reader into the given message object.
|
|
3545
|
-
* @param {!proto.Auth.AccountProto.
|
|
3375
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The message object to deserialize into.
|
|
3546
3376
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3547
|
-
* @return {!proto.Auth.AccountProto.
|
|
3377
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
|
|
3548
3378
|
*/
|
|
3549
|
-
proto.Auth.AccountProto.
|
|
3379
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
3550
3380
|
while (reader.nextField()) {
|
|
3551
3381
|
if (reader.isEndGroup()) {
|
|
3552
3382
|
break;
|
|
@@ -3558,13 +3388,12 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.deserializeBinaryFromReader
|
|
|
3558
3388
|
msg.setId(value);
|
|
3559
3389
|
break;
|
|
3560
3390
|
case 2:
|
|
3561
|
-
var value =
|
|
3562
|
-
|
|
3563
|
-
msg.setScope(value);
|
|
3391
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3392
|
+
msg.setPushToken(value);
|
|
3564
3393
|
break;
|
|
3565
3394
|
case 3:
|
|
3566
|
-
var value = /** @type {
|
|
3567
|
-
msg.
|
|
3395
|
+
var value = /** @type {!proto.Auth.PushNotificationProto.PushType} */ (reader.readEnum());
|
|
3396
|
+
msg.setPushtype(value);
|
|
3568
3397
|
break;
|
|
3569
3398
|
default:
|
|
3570
3399
|
reader.skipField();
|
|
@@ -3579,9 +3408,9 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.deserializeBinaryFromReader
|
|
|
3579
3408
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3580
3409
|
* @return {!Uint8Array}
|
|
3581
3410
|
*/
|
|
3582
|
-
proto.Auth.AccountProto.
|
|
3411
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.serializeBinary = function() {
|
|
3583
3412
|
var writer = new jspb.BinaryWriter();
|
|
3584
|
-
proto.Auth.AccountProto.
|
|
3413
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter(this, writer);
|
|
3585
3414
|
return writer.getResultBuffer();
|
|
3586
3415
|
};
|
|
3587
3416
|
|
|
@@ -3589,11 +3418,11 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.serializeBinary =
|
|
|
3589
3418
|
/**
|
|
3590
3419
|
* Serializes the given message to binary data (in protobuf wire
|
|
3591
3420
|
* format), writing to the given BinaryWriter.
|
|
3592
|
-
* @param {!proto.Auth.AccountProto.
|
|
3421
|
+
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} message
|
|
3593
3422
|
* @param {!jspb.BinaryWriter} writer
|
|
3594
3423
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3595
3424
|
*/
|
|
3596
|
-
proto.Auth.AccountProto.
|
|
3425
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function(message, writer) {
|
|
3597
3426
|
var f = undefined;
|
|
3598
3427
|
f = message.getId();
|
|
3599
3428
|
if (f !== 0) {
|
|
@@ -3602,17 +3431,16 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.serializeBinaryToWriter = fu
|
|
|
3602
3431
|
f
|
|
3603
3432
|
);
|
|
3604
3433
|
}
|
|
3605
|
-
f = message.
|
|
3606
|
-
if (f
|
|
3607
|
-
writer.
|
|
3434
|
+
f = message.getPushToken();
|
|
3435
|
+
if (f.length > 0) {
|
|
3436
|
+
writer.writeString(
|
|
3608
3437
|
2,
|
|
3609
|
-
f
|
|
3610
|
-
proto.Auth.AccountProto.Scope.serializeBinaryToWriter
|
|
3438
|
+
f
|
|
3611
3439
|
);
|
|
3612
3440
|
}
|
|
3613
|
-
f = message.
|
|
3614
|
-
if (f
|
|
3615
|
-
writer.
|
|
3441
|
+
f = message.getPushtype();
|
|
3442
|
+
if (f !== 0.0) {
|
|
3443
|
+
writer.writeEnum(
|
|
3616
3444
|
3,
|
|
3617
3445
|
f
|
|
3618
3446
|
);
|
|
@@ -3624,676 +3452,26 @@ proto.Auth.AccountProto.SetSuperAccountScopeRequest.serializeBinaryToWriter = fu
|
|
|
3624
3452
|
* optional int64 id = 1;
|
|
3625
3453
|
* @return {number}
|
|
3626
3454
|
*/
|
|
3627
|
-
proto.Auth.AccountProto.
|
|
3455
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getId = function() {
|
|
3628
3456
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3629
3457
|
};
|
|
3630
3458
|
|
|
3631
3459
|
|
|
3632
3460
|
/**
|
|
3633
3461
|
* @param {number} value
|
|
3634
|
-
* @return {!proto.Auth.AccountProto.
|
|
3462
|
+
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
|
|
3635
3463
|
*/
|
|
3636
|
-
proto.Auth.AccountProto.
|
|
3464
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setId = function(value) {
|
|
3637
3465
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3638
3466
|
};
|
|
3639
3467
|
|
|
3640
3468
|
|
|
3641
3469
|
/**
|
|
3642
|
-
* optional
|
|
3643
|
-
* @return {
|
|
3470
|
+
* optional string push_token = 2;
|
|
3471
|
+
* @return {string}
|
|
3644
3472
|
*/
|
|
3645
|
-
proto.Auth.AccountProto.
|
|
3646
|
-
return /** @type{
|
|
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
|
|
3663
|
-
*/
|
|
3664
|
-
proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.clearScope = function() {
|
|
3665
|
-
return this.setScope(undefined);
|
|
3666
|
-
};
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
/**
|
|
3670
|
-
* Returns whether this field is set.
|
|
3671
|
-
* @return {boolean}
|
|
3672
|
-
*/
|
|
3673
|
-
proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.hasScope = function() {
|
|
3674
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3675
|
-
};
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
/**
|
|
3679
|
-
* optional string cluster_name = 3;
|
|
3680
|
-
* @return {string}
|
|
3681
|
-
*/
|
|
3682
|
-
proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.getClusterName = function() {
|
|
3683
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3684
|
-
};
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
/**
|
|
3688
|
-
* @param {string} value
|
|
3689
|
-
* @return {!proto.Auth.AccountProto.SetSuperAccountScopeRequest} returns this
|
|
3690
|
-
*/
|
|
3691
|
-
proto.Auth.AccountProto.SetSuperAccountScopeRequest.prototype.setClusterName = function(value) {
|
|
3692
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3693
|
-
};
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3700
|
-
/**
|
|
3701
|
-
* Creates an object representation of this proto.
|
|
3702
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3703
|
-
* Optional fields that are not set will be set to undefined.
|
|
3704
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3705
|
-
* For the list of reserved names please see:
|
|
3706
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3707
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3708
|
-
* JSPB instance for transitional soy proto support:
|
|
3709
|
-
* http://goto/soy-param-migration
|
|
3710
|
-
* @return {!Object}
|
|
3711
|
-
*/
|
|
3712
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3713
|
-
return proto.Auth.AccountProto.SetAccountScopeRequest.toObject(opt_includeInstance, this);
|
|
3714
|
-
};
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
/**
|
|
3718
|
-
* Static version of the {@see toObject} method.
|
|
3719
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3720
|
-
* the JSPB instance for transitional soy proto support:
|
|
3721
|
-
* http://goto/soy-param-migration
|
|
3722
|
-
* @param {!proto.Auth.AccountProto.SetAccountScopeRequest} msg The msg instance to transform.
|
|
3723
|
-
* @return {!Object}
|
|
3724
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3725
|
-
*/
|
|
3726
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.toObject = function(includeInstance, msg) {
|
|
3727
|
-
var f, obj = {
|
|
3728
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3729
|
-
scope: (f = msg.getScope()) && proto.Auth.AccountProto.Scope.toObject(includeInstance, f)
|
|
3730
|
-
};
|
|
3731
|
-
|
|
3732
|
-
if (includeInstance) {
|
|
3733
|
-
obj.$jspbMessageInstance = msg;
|
|
3734
|
-
}
|
|
3735
|
-
return obj;
|
|
3736
|
-
};
|
|
3737
|
-
}
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
/**
|
|
3741
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3742
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3743
|
-
* @return {!proto.Auth.AccountProto.SetAccountScopeRequest}
|
|
3744
|
-
*/
|
|
3745
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.deserializeBinary = function(bytes) {
|
|
3746
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3747
|
-
var msg = new proto.Auth.AccountProto.SetAccountScopeRequest;
|
|
3748
|
-
return proto.Auth.AccountProto.SetAccountScopeRequest.deserializeBinaryFromReader(msg, reader);
|
|
3749
|
-
};
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
/**
|
|
3753
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3754
|
-
* given reader into the given message object.
|
|
3755
|
-
* @param {!proto.Auth.AccountProto.SetAccountScopeRequest} msg The message object to deserialize into.
|
|
3756
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3757
|
-
* @return {!proto.Auth.AccountProto.SetAccountScopeRequest}
|
|
3758
|
-
*/
|
|
3759
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3760
|
-
while (reader.nextField()) {
|
|
3761
|
-
if (reader.isEndGroup()) {
|
|
3762
|
-
break;
|
|
3763
|
-
}
|
|
3764
|
-
var field = reader.getFieldNumber();
|
|
3765
|
-
switch (field) {
|
|
3766
|
-
case 1:
|
|
3767
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
3768
|
-
msg.setId(value);
|
|
3769
|
-
break;
|
|
3770
|
-
case 2:
|
|
3771
|
-
var value = new proto.Auth.AccountProto.Scope;
|
|
3772
|
-
reader.readMessage(value,proto.Auth.AccountProto.Scope.deserializeBinaryFromReader);
|
|
3773
|
-
msg.setScope(value);
|
|
3774
|
-
break;
|
|
3775
|
-
default:
|
|
3776
|
-
reader.skipField();
|
|
3777
|
-
break;
|
|
3778
|
-
}
|
|
3779
|
-
}
|
|
3780
|
-
return msg;
|
|
3781
|
-
};
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
/**
|
|
3785
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3786
|
-
* @return {!Uint8Array}
|
|
3787
|
-
*/
|
|
3788
|
-
proto.Auth.AccountProto.SetAccountScopeRequest.prototype.serializeBinary = function() {
|
|
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() {
|
|
4234
|
-
var writer = new jspb.BinaryWriter();
|
|
4235
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter(this, writer);
|
|
4236
|
-
return writer.getResultBuffer();
|
|
4237
|
-
};
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
/**
|
|
4241
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4242
|
-
* format), writing to the given BinaryWriter.
|
|
4243
|
-
* @param {!proto.Auth.AccountProto.RetrievePushInfoReply} message
|
|
4244
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4245
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4246
|
-
*/
|
|
4247
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function(message, writer) {
|
|
4248
|
-
var f = undefined;
|
|
4249
|
-
f = message.getId();
|
|
4250
|
-
if (f !== 0) {
|
|
4251
|
-
writer.writeInt64(
|
|
4252
|
-
1,
|
|
4253
|
-
f
|
|
4254
|
-
);
|
|
4255
|
-
}
|
|
4256
|
-
f = message.getPushToken();
|
|
4257
|
-
if (f.length > 0) {
|
|
4258
|
-
writer.writeString(
|
|
4259
|
-
2,
|
|
4260
|
-
f
|
|
4261
|
-
);
|
|
4262
|
-
}
|
|
4263
|
-
f = message.getPushtype();
|
|
4264
|
-
if (f !== 0.0) {
|
|
4265
|
-
writer.writeEnum(
|
|
4266
|
-
3,
|
|
4267
|
-
f
|
|
4268
|
-
);
|
|
4269
|
-
}
|
|
4270
|
-
};
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
/**
|
|
4274
|
-
* optional int64 id = 1;
|
|
4275
|
-
* @return {number}
|
|
4276
|
-
*/
|
|
4277
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getId = function() {
|
|
4278
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4279
|
-
};
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
/**
|
|
4283
|
-
* @param {number} value
|
|
4284
|
-
* @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
|
|
4285
|
-
*/
|
|
4286
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setId = function(value) {
|
|
4287
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4288
|
-
};
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
/**
|
|
4292
|
-
* optional string push_token = 2;
|
|
4293
|
-
* @return {string}
|
|
4294
|
-
*/
|
|
4295
|
-
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushToken = function() {
|
|
4296
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3473
|
+
proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushToken = function() {
|
|
3474
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4297
3475
|
};
|
|
4298
3476
|
|
|
4299
3477
|
|
|
@@ -4325,166 +3503,6 @@ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushtype = function(v
|
|
|
4325
3503
|
|
|
4326
3504
|
|
|
4327
3505
|
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4331
|
-
/**
|
|
4332
|
-
* Creates an object representation of this proto.
|
|
4333
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4334
|
-
* Optional fields that are not set will be set to undefined.
|
|
4335
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4336
|
-
* For the list of reserved names please see:
|
|
4337
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4338
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4339
|
-
* JSPB instance for transitional soy proto support:
|
|
4340
|
-
* http://goto/soy-param-migration
|
|
4341
|
-
* @return {!Object}
|
|
4342
|
-
*/
|
|
4343
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4344
|
-
return proto.Auth.AccountProto.AccountClusterRoleRequest.toObject(opt_includeInstance, this);
|
|
4345
|
-
};
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
/**
|
|
4349
|
-
* Static version of the {@see toObject} method.
|
|
4350
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4351
|
-
* the JSPB instance for transitional soy proto support:
|
|
4352
|
-
* http://goto/soy-param-migration
|
|
4353
|
-
* @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} msg The msg instance to transform.
|
|
4354
|
-
* @return {!Object}
|
|
4355
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4356
|
-
*/
|
|
4357
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.toObject = function(includeInstance, msg) {
|
|
4358
|
-
var f, obj = {
|
|
4359
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4360
|
-
role: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
4361
|
-
};
|
|
4362
|
-
|
|
4363
|
-
if (includeInstance) {
|
|
4364
|
-
obj.$jspbMessageInstance = msg;
|
|
4365
|
-
}
|
|
4366
|
-
return obj;
|
|
4367
|
-
};
|
|
4368
|
-
}
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
/**
|
|
4372
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4373
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4374
|
-
* @return {!proto.Auth.AccountProto.AccountClusterRoleRequest}
|
|
4375
|
-
*/
|
|
4376
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinary = function(bytes) {
|
|
4377
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4378
|
-
var msg = new proto.Auth.AccountProto.AccountClusterRoleRequest;
|
|
4379
|
-
return proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader(msg, reader);
|
|
4380
|
-
};
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
/**
|
|
4384
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4385
|
-
* given reader into the given message object.
|
|
4386
|
-
* @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} msg The message object to deserialize into.
|
|
4387
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4388
|
-
* @return {!proto.Auth.AccountProto.AccountClusterRoleRequest}
|
|
4389
|
-
*/
|
|
4390
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4391
|
-
while (reader.nextField()) {
|
|
4392
|
-
if (reader.isEndGroup()) {
|
|
4393
|
-
break;
|
|
4394
|
-
}
|
|
4395
|
-
var field = reader.getFieldNumber();
|
|
4396
|
-
switch (field) {
|
|
4397
|
-
case 1:
|
|
4398
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4399
|
-
msg.setId(value);
|
|
4400
|
-
break;
|
|
4401
|
-
case 2:
|
|
4402
|
-
var value = /** @type {!proto.Auth.AccountProto.Roles} */ (reader.readEnum());
|
|
4403
|
-
msg.setRole(value);
|
|
4404
|
-
break;
|
|
4405
|
-
default:
|
|
4406
|
-
reader.skipField();
|
|
4407
|
-
break;
|
|
4408
|
-
}
|
|
4409
|
-
}
|
|
4410
|
-
return msg;
|
|
4411
|
-
};
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
/**
|
|
4415
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4416
|
-
* @return {!Uint8Array}
|
|
4417
|
-
*/
|
|
4418
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.serializeBinary = function() {
|
|
4419
|
-
var writer = new jspb.BinaryWriter();
|
|
4420
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter(this, writer);
|
|
4421
|
-
return writer.getResultBuffer();
|
|
4422
|
-
};
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
/**
|
|
4426
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4427
|
-
* format), writing to the given BinaryWriter.
|
|
4428
|
-
* @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} message
|
|
4429
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4430
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4431
|
-
*/
|
|
4432
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4433
|
-
var f = undefined;
|
|
4434
|
-
f = message.getId();
|
|
4435
|
-
if (f !== 0) {
|
|
4436
|
-
writer.writeInt64(
|
|
4437
|
-
1,
|
|
4438
|
-
f
|
|
4439
|
-
);
|
|
4440
|
-
}
|
|
4441
|
-
f = message.getRole();
|
|
4442
|
-
if (f !== 0.0) {
|
|
4443
|
-
writer.writeEnum(
|
|
4444
|
-
2,
|
|
4445
|
-
f
|
|
4446
|
-
);
|
|
4447
|
-
}
|
|
4448
|
-
};
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
/**
|
|
4452
|
-
* optional int64 id = 1;
|
|
4453
|
-
* @return {number}
|
|
4454
|
-
*/
|
|
4455
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getId = function() {
|
|
4456
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4457
|
-
};
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
/**
|
|
4461
|
-
* @param {number} value
|
|
4462
|
-
* @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
|
|
4463
|
-
*/
|
|
4464
|
-
proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setId = function(value) {
|
|
4465
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4466
|
-
};
|
|
4467
|
-
|
|
4468
|
-
|
|
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
|
-
|
|
4488
3506
|
/**
|
|
4489
3507
|
* List of repeated fields within this message type.
|
|
4490
3508
|
* @private {!Array<number>}
|