protobuf-platform 1.2.659 → 1.2.661
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/analytic/analytic.proto +5 -0
- package/analytic/analytic_pb.js +253 -2
- package/bet/bet.proto +13 -0
- package/bet/bet_grpc_pb.js +55 -0
- package/bet/bet_pb.js +605 -1
- package/game/game.proto +5 -0
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +229 -2
- package/notification/notification.proto +9 -0
- package/notification/notification_grpc_pb.js +44 -0
- package/notification/notification_pb.js +390 -0
- package/package.json +1 -1
- package/payment/payment.proto +4 -0
- package/payment/payment_pb.js +101 -2
- package/scripts/verify-precision-rg-contract.js +41 -3
- package/user/user.proto +8 -0
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +362 -0
package/user/user_grpc_pb.js
CHANGED
|
@@ -2105,6 +2105,28 @@ function deserialize_user_UserAffiliateAttributionResponse(buffer_arg) {
|
|
|
2105
2105
|
return user_pb.UserAffiliateAttributionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
2108
|
+
function serialize_user_UserAutoSegmentMatchRequest(arg) {
|
|
2109
|
+
if (!(arg instanceof user_pb.UserAutoSegmentMatchRequest)) {
|
|
2110
|
+
throw new Error('Expected argument of type user.UserAutoSegmentMatchRequest');
|
|
2111
|
+
}
|
|
2112
|
+
return Buffer.from(arg.serializeBinary());
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
function deserialize_user_UserAutoSegmentMatchRequest(buffer_arg) {
|
|
2116
|
+
return user_pb.UserAutoSegmentMatchRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
function serialize_user_UserAutoSegmentMatchResponse(arg) {
|
|
2120
|
+
if (!(arg instanceof user_pb.UserAutoSegmentMatchResponse)) {
|
|
2121
|
+
throw new Error('Expected argument of type user.UserAutoSegmentMatchResponse');
|
|
2122
|
+
}
|
|
2123
|
+
return Buffer.from(arg.serializeBinary());
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
function deserialize_user_UserAutoSegmentMatchResponse(buffer_arg) {
|
|
2127
|
+
return user_pb.UserAutoSegmentMatchResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2108
2130
|
function serialize_user_UserBalanceRequest(arg) {
|
|
2109
2131
|
if (!(arg instanceof user_pb.UserBalanceRequest)) {
|
|
2110
2132
|
throw new Error('Expected argument of type user.UserBalanceRequest');
|
|
@@ -3124,6 +3146,17 @@ createSingleSegment: {
|
|
|
3124
3146
|
responseSerialize: serialize_user_UserSegmentIdsResponse,
|
|
3125
3147
|
responseDeserialize: deserialize_user_UserSegmentIdsResponse,
|
|
3126
3148
|
},
|
|
3149
|
+
userMatchesAnyAutoSegments: {
|
|
3150
|
+
path: '/user.User/userMatchesAnyAutoSegments',
|
|
3151
|
+
requestStream: false,
|
|
3152
|
+
responseStream: false,
|
|
3153
|
+
requestType: user_pb.UserAutoSegmentMatchRequest,
|
|
3154
|
+
responseType: user_pb.UserAutoSegmentMatchResponse,
|
|
3155
|
+
requestSerialize: serialize_user_UserAutoSegmentMatchRequest,
|
|
3156
|
+
requestDeserialize: deserialize_user_UserAutoSegmentMatchRequest,
|
|
3157
|
+
responseSerialize: serialize_user_UserAutoSegmentMatchResponse,
|
|
3158
|
+
responseDeserialize: deserialize_user_UserAutoSegmentMatchResponse,
|
|
3159
|
+
},
|
|
3127
3160
|
// Presets
|
|
3128
3161
|
createPreset: {
|
|
3129
3162
|
path: '/user.User/createPreset',
|
package/user/user_pb.js
CHANGED
|
@@ -270,6 +270,8 @@ goog.exportSymbol('proto.user.UserActionRequest', null, global);
|
|
|
270
270
|
goog.exportSymbol('proto.user.UserActionResponse', null, global);
|
|
271
271
|
goog.exportSymbol('proto.user.UserAffiliateAttributionRequest', null, global);
|
|
272
272
|
goog.exportSymbol('proto.user.UserAffiliateAttributionResponse', null, global);
|
|
273
|
+
goog.exportSymbol('proto.user.UserAutoSegmentMatchRequest', null, global);
|
|
274
|
+
goog.exportSymbol('proto.user.UserAutoSegmentMatchResponse', null, global);
|
|
273
275
|
goog.exportSymbol('proto.user.UserBalanceRequest', null, global);
|
|
274
276
|
goog.exportSymbol('proto.user.UserCalculatedRestrictionItem', null, global);
|
|
275
277
|
goog.exportSymbol('proto.user.UserCalculatedRestrictionsResponse', null, global);
|
|
@@ -1884,6 +1886,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1884
1886
|
*/
|
|
1885
1887
|
proto.user.UserSegmentIdsResponse.displayName = 'proto.user.UserSegmentIdsResponse';
|
|
1886
1888
|
}
|
|
1889
|
+
/**
|
|
1890
|
+
* Generated by JsPbCodeGenerator.
|
|
1891
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1892
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1893
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1894
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1895
|
+
* valid.
|
|
1896
|
+
* @extends {jspb.Message}
|
|
1897
|
+
* @constructor
|
|
1898
|
+
*/
|
|
1899
|
+
proto.user.UserAutoSegmentMatchRequest = function(opt_data) {
|
|
1900
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserAutoSegmentMatchRequest.repeatedFields_, null);
|
|
1901
|
+
};
|
|
1902
|
+
goog.inherits(proto.user.UserAutoSegmentMatchRequest, jspb.Message);
|
|
1903
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1904
|
+
/**
|
|
1905
|
+
* @public
|
|
1906
|
+
* @override
|
|
1907
|
+
*/
|
|
1908
|
+
proto.user.UserAutoSegmentMatchRequest.displayName = 'proto.user.UserAutoSegmentMatchRequest';
|
|
1909
|
+
}
|
|
1910
|
+
/**
|
|
1911
|
+
* Generated by JsPbCodeGenerator.
|
|
1912
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1913
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1914
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1915
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1916
|
+
* valid.
|
|
1917
|
+
* @extends {jspb.Message}
|
|
1918
|
+
* @constructor
|
|
1919
|
+
*/
|
|
1920
|
+
proto.user.UserAutoSegmentMatchResponse = function(opt_data) {
|
|
1921
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1922
|
+
};
|
|
1923
|
+
goog.inherits(proto.user.UserAutoSegmentMatchResponse, jspb.Message);
|
|
1924
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1925
|
+
/**
|
|
1926
|
+
* @public
|
|
1927
|
+
* @override
|
|
1928
|
+
*/
|
|
1929
|
+
proto.user.UserAutoSegmentMatchResponse.displayName = 'proto.user.UserAutoSegmentMatchResponse';
|
|
1930
|
+
}
|
|
1887
1931
|
/**
|
|
1888
1932
|
* Generated by JsPbCodeGenerator.
|
|
1889
1933
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -37193,6 +37237,324 @@ proto.user.UserSegmentIdsResponse.prototype.clearSegmentIdsList = function() {
|
|
|
37193
37237
|
|
|
37194
37238
|
|
|
37195
37239
|
|
|
37240
|
+
/**
|
|
37241
|
+
* List of repeated fields within this message type.
|
|
37242
|
+
* @private {!Array<number>}
|
|
37243
|
+
* @const
|
|
37244
|
+
*/
|
|
37245
|
+
proto.user.UserAutoSegmentMatchRequest.repeatedFields_ = [2];
|
|
37246
|
+
|
|
37247
|
+
|
|
37248
|
+
|
|
37249
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37250
|
+
/**
|
|
37251
|
+
* Creates an object representation of this proto.
|
|
37252
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
37253
|
+
* Optional fields that are not set will be set to undefined.
|
|
37254
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
37255
|
+
* For the list of reserved names please see:
|
|
37256
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
37257
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
37258
|
+
* JSPB instance for transitional soy proto support:
|
|
37259
|
+
* http://goto/soy-param-migration
|
|
37260
|
+
* @return {!Object}
|
|
37261
|
+
*/
|
|
37262
|
+
proto.user.UserAutoSegmentMatchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
37263
|
+
return proto.user.UserAutoSegmentMatchRequest.toObject(opt_includeInstance, this);
|
|
37264
|
+
};
|
|
37265
|
+
|
|
37266
|
+
|
|
37267
|
+
/**
|
|
37268
|
+
* Static version of the {@see toObject} method.
|
|
37269
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
37270
|
+
* the JSPB instance for transitional soy proto support:
|
|
37271
|
+
* http://goto/soy-param-migration
|
|
37272
|
+
* @param {!proto.user.UserAutoSegmentMatchRequest} msg The msg instance to transform.
|
|
37273
|
+
* @return {!Object}
|
|
37274
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37275
|
+
*/
|
|
37276
|
+
proto.user.UserAutoSegmentMatchRequest.toObject = function(includeInstance, msg) {
|
|
37277
|
+
var f, obj = {
|
|
37278
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
37279
|
+
segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
37280
|
+
};
|
|
37281
|
+
|
|
37282
|
+
if (includeInstance) {
|
|
37283
|
+
obj.$jspbMessageInstance = msg;
|
|
37284
|
+
}
|
|
37285
|
+
return obj;
|
|
37286
|
+
};
|
|
37287
|
+
}
|
|
37288
|
+
|
|
37289
|
+
|
|
37290
|
+
/**
|
|
37291
|
+
* Deserializes binary data (in protobuf wire format).
|
|
37292
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
37293
|
+
* @return {!proto.user.UserAutoSegmentMatchRequest}
|
|
37294
|
+
*/
|
|
37295
|
+
proto.user.UserAutoSegmentMatchRequest.deserializeBinary = function(bytes) {
|
|
37296
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
37297
|
+
var msg = new proto.user.UserAutoSegmentMatchRequest;
|
|
37298
|
+
return proto.user.UserAutoSegmentMatchRequest.deserializeBinaryFromReader(msg, reader);
|
|
37299
|
+
};
|
|
37300
|
+
|
|
37301
|
+
|
|
37302
|
+
/**
|
|
37303
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
37304
|
+
* given reader into the given message object.
|
|
37305
|
+
* @param {!proto.user.UserAutoSegmentMatchRequest} msg The message object to deserialize into.
|
|
37306
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
37307
|
+
* @return {!proto.user.UserAutoSegmentMatchRequest}
|
|
37308
|
+
*/
|
|
37309
|
+
proto.user.UserAutoSegmentMatchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
37310
|
+
while (reader.nextField()) {
|
|
37311
|
+
if (reader.isEndGroup()) {
|
|
37312
|
+
break;
|
|
37313
|
+
}
|
|
37314
|
+
var field = reader.getFieldNumber();
|
|
37315
|
+
switch (field) {
|
|
37316
|
+
case 1:
|
|
37317
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
37318
|
+
msg.setUserId(value);
|
|
37319
|
+
break;
|
|
37320
|
+
case 2:
|
|
37321
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
37322
|
+
for (var i = 0; i < values.length; i++) {
|
|
37323
|
+
msg.addSegmentIds(values[i]);
|
|
37324
|
+
}
|
|
37325
|
+
break;
|
|
37326
|
+
default:
|
|
37327
|
+
reader.skipField();
|
|
37328
|
+
break;
|
|
37329
|
+
}
|
|
37330
|
+
}
|
|
37331
|
+
return msg;
|
|
37332
|
+
};
|
|
37333
|
+
|
|
37334
|
+
|
|
37335
|
+
/**
|
|
37336
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
37337
|
+
* @return {!Uint8Array}
|
|
37338
|
+
*/
|
|
37339
|
+
proto.user.UserAutoSegmentMatchRequest.prototype.serializeBinary = function() {
|
|
37340
|
+
var writer = new jspb.BinaryWriter();
|
|
37341
|
+
proto.user.UserAutoSegmentMatchRequest.serializeBinaryToWriter(this, writer);
|
|
37342
|
+
return writer.getResultBuffer();
|
|
37343
|
+
};
|
|
37344
|
+
|
|
37345
|
+
|
|
37346
|
+
/**
|
|
37347
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
37348
|
+
* format), writing to the given BinaryWriter.
|
|
37349
|
+
* @param {!proto.user.UserAutoSegmentMatchRequest} message
|
|
37350
|
+
* @param {!jspb.BinaryWriter} writer
|
|
37351
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37352
|
+
*/
|
|
37353
|
+
proto.user.UserAutoSegmentMatchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
37354
|
+
var f = undefined;
|
|
37355
|
+
f = message.getUserId();
|
|
37356
|
+
if (f !== 0) {
|
|
37357
|
+
writer.writeInt32(
|
|
37358
|
+
1,
|
|
37359
|
+
f
|
|
37360
|
+
);
|
|
37361
|
+
}
|
|
37362
|
+
f = message.getSegmentIdsList();
|
|
37363
|
+
if (f.length > 0) {
|
|
37364
|
+
writer.writePackedInt32(
|
|
37365
|
+
2,
|
|
37366
|
+
f
|
|
37367
|
+
);
|
|
37368
|
+
}
|
|
37369
|
+
};
|
|
37370
|
+
|
|
37371
|
+
|
|
37372
|
+
/**
|
|
37373
|
+
* optional int32 user_id = 1;
|
|
37374
|
+
* @return {number}
|
|
37375
|
+
*/
|
|
37376
|
+
proto.user.UserAutoSegmentMatchRequest.prototype.getUserId = function() {
|
|
37377
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
37378
|
+
};
|
|
37379
|
+
|
|
37380
|
+
|
|
37381
|
+
/**
|
|
37382
|
+
* @param {number} value
|
|
37383
|
+
* @return {!proto.user.UserAutoSegmentMatchRequest} returns this
|
|
37384
|
+
*/
|
|
37385
|
+
proto.user.UserAutoSegmentMatchRequest.prototype.setUserId = function(value) {
|
|
37386
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
37387
|
+
};
|
|
37388
|
+
|
|
37389
|
+
|
|
37390
|
+
/**
|
|
37391
|
+
* repeated int32 segment_ids = 2;
|
|
37392
|
+
* @return {!Array<number>}
|
|
37393
|
+
*/
|
|
37394
|
+
proto.user.UserAutoSegmentMatchRequest.prototype.getSegmentIdsList = function() {
|
|
37395
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
37396
|
+
};
|
|
37397
|
+
|
|
37398
|
+
|
|
37399
|
+
/**
|
|
37400
|
+
* @param {!Array<number>} value
|
|
37401
|
+
* @return {!proto.user.UserAutoSegmentMatchRequest} returns this
|
|
37402
|
+
*/
|
|
37403
|
+
proto.user.UserAutoSegmentMatchRequest.prototype.setSegmentIdsList = function(value) {
|
|
37404
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
37405
|
+
};
|
|
37406
|
+
|
|
37407
|
+
|
|
37408
|
+
/**
|
|
37409
|
+
* @param {number} value
|
|
37410
|
+
* @param {number=} opt_index
|
|
37411
|
+
* @return {!proto.user.UserAutoSegmentMatchRequest} returns this
|
|
37412
|
+
*/
|
|
37413
|
+
proto.user.UserAutoSegmentMatchRequest.prototype.addSegmentIds = function(value, opt_index) {
|
|
37414
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
37415
|
+
};
|
|
37416
|
+
|
|
37417
|
+
|
|
37418
|
+
/**
|
|
37419
|
+
* Clears the list making it empty but non-null.
|
|
37420
|
+
* @return {!proto.user.UserAutoSegmentMatchRequest} returns this
|
|
37421
|
+
*/
|
|
37422
|
+
proto.user.UserAutoSegmentMatchRequest.prototype.clearSegmentIdsList = function() {
|
|
37423
|
+
return this.setSegmentIdsList([]);
|
|
37424
|
+
};
|
|
37425
|
+
|
|
37426
|
+
|
|
37427
|
+
|
|
37428
|
+
|
|
37429
|
+
|
|
37430
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37431
|
+
/**
|
|
37432
|
+
* Creates an object representation of this proto.
|
|
37433
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
37434
|
+
* Optional fields that are not set will be set to undefined.
|
|
37435
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
37436
|
+
* For the list of reserved names please see:
|
|
37437
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
37438
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
37439
|
+
* JSPB instance for transitional soy proto support:
|
|
37440
|
+
* http://goto/soy-param-migration
|
|
37441
|
+
* @return {!Object}
|
|
37442
|
+
*/
|
|
37443
|
+
proto.user.UserAutoSegmentMatchResponse.prototype.toObject = function(opt_includeInstance) {
|
|
37444
|
+
return proto.user.UserAutoSegmentMatchResponse.toObject(opt_includeInstance, this);
|
|
37445
|
+
};
|
|
37446
|
+
|
|
37447
|
+
|
|
37448
|
+
/**
|
|
37449
|
+
* Static version of the {@see toObject} method.
|
|
37450
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
37451
|
+
* the JSPB instance for transitional soy proto support:
|
|
37452
|
+
* http://goto/soy-param-migration
|
|
37453
|
+
* @param {!proto.user.UserAutoSegmentMatchResponse} msg The msg instance to transform.
|
|
37454
|
+
* @return {!Object}
|
|
37455
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37456
|
+
*/
|
|
37457
|
+
proto.user.UserAutoSegmentMatchResponse.toObject = function(includeInstance, msg) {
|
|
37458
|
+
var f, obj = {
|
|
37459
|
+
matches: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
37460
|
+
};
|
|
37461
|
+
|
|
37462
|
+
if (includeInstance) {
|
|
37463
|
+
obj.$jspbMessageInstance = msg;
|
|
37464
|
+
}
|
|
37465
|
+
return obj;
|
|
37466
|
+
};
|
|
37467
|
+
}
|
|
37468
|
+
|
|
37469
|
+
|
|
37470
|
+
/**
|
|
37471
|
+
* Deserializes binary data (in protobuf wire format).
|
|
37472
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
37473
|
+
* @return {!proto.user.UserAutoSegmentMatchResponse}
|
|
37474
|
+
*/
|
|
37475
|
+
proto.user.UserAutoSegmentMatchResponse.deserializeBinary = function(bytes) {
|
|
37476
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
37477
|
+
var msg = new proto.user.UserAutoSegmentMatchResponse;
|
|
37478
|
+
return proto.user.UserAutoSegmentMatchResponse.deserializeBinaryFromReader(msg, reader);
|
|
37479
|
+
};
|
|
37480
|
+
|
|
37481
|
+
|
|
37482
|
+
/**
|
|
37483
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
37484
|
+
* given reader into the given message object.
|
|
37485
|
+
* @param {!proto.user.UserAutoSegmentMatchResponse} msg The message object to deserialize into.
|
|
37486
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
37487
|
+
* @return {!proto.user.UserAutoSegmentMatchResponse}
|
|
37488
|
+
*/
|
|
37489
|
+
proto.user.UserAutoSegmentMatchResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
37490
|
+
while (reader.nextField()) {
|
|
37491
|
+
if (reader.isEndGroup()) {
|
|
37492
|
+
break;
|
|
37493
|
+
}
|
|
37494
|
+
var field = reader.getFieldNumber();
|
|
37495
|
+
switch (field) {
|
|
37496
|
+
case 1:
|
|
37497
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
37498
|
+
msg.setMatches(value);
|
|
37499
|
+
break;
|
|
37500
|
+
default:
|
|
37501
|
+
reader.skipField();
|
|
37502
|
+
break;
|
|
37503
|
+
}
|
|
37504
|
+
}
|
|
37505
|
+
return msg;
|
|
37506
|
+
};
|
|
37507
|
+
|
|
37508
|
+
|
|
37509
|
+
/**
|
|
37510
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
37511
|
+
* @return {!Uint8Array}
|
|
37512
|
+
*/
|
|
37513
|
+
proto.user.UserAutoSegmentMatchResponse.prototype.serializeBinary = function() {
|
|
37514
|
+
var writer = new jspb.BinaryWriter();
|
|
37515
|
+
proto.user.UserAutoSegmentMatchResponse.serializeBinaryToWriter(this, writer);
|
|
37516
|
+
return writer.getResultBuffer();
|
|
37517
|
+
};
|
|
37518
|
+
|
|
37519
|
+
|
|
37520
|
+
/**
|
|
37521
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
37522
|
+
* format), writing to the given BinaryWriter.
|
|
37523
|
+
* @param {!proto.user.UserAutoSegmentMatchResponse} message
|
|
37524
|
+
* @param {!jspb.BinaryWriter} writer
|
|
37525
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37526
|
+
*/
|
|
37527
|
+
proto.user.UserAutoSegmentMatchResponse.serializeBinaryToWriter = function(message, writer) {
|
|
37528
|
+
var f = undefined;
|
|
37529
|
+
f = message.getMatches();
|
|
37530
|
+
if (f) {
|
|
37531
|
+
writer.writeBool(
|
|
37532
|
+
1,
|
|
37533
|
+
f
|
|
37534
|
+
);
|
|
37535
|
+
}
|
|
37536
|
+
};
|
|
37537
|
+
|
|
37538
|
+
|
|
37539
|
+
/**
|
|
37540
|
+
* optional bool matches = 1;
|
|
37541
|
+
* @return {boolean}
|
|
37542
|
+
*/
|
|
37543
|
+
proto.user.UserAutoSegmentMatchResponse.prototype.getMatches = function() {
|
|
37544
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
37545
|
+
};
|
|
37546
|
+
|
|
37547
|
+
|
|
37548
|
+
/**
|
|
37549
|
+
* @param {boolean} value
|
|
37550
|
+
* @return {!proto.user.UserAutoSegmentMatchResponse} returns this
|
|
37551
|
+
*/
|
|
37552
|
+
proto.user.UserAutoSegmentMatchResponse.prototype.setMatches = function(value) {
|
|
37553
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
37554
|
+
};
|
|
37555
|
+
|
|
37556
|
+
|
|
37557
|
+
|
|
37196
37558
|
|
|
37197
37559
|
|
|
37198
37560
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|