protobuf-platform 1.2.10 → 1.2.12
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/bet/bet.proto +5 -0
- package/bet/bet_grpc_pb.js +33 -0
- package/bet/bet_pb.js +301 -0
- package/package.json +1 -1
- package/user/user.proto +1 -0
- package/user/user_pb.js +49 -1
package/bet/bet.proto
CHANGED
@@ -14,6 +14,7 @@ service Bet {
|
|
14
14
|
//Axiom
|
15
15
|
rpc axiomGetAuthHash(AxiomGetHashRequest) returns (AxiomAuthHashResponse);
|
16
16
|
rpc axiomCheckSession(AxiomCheckSessionRequest) returns (AxiomCheckSessionResponse);
|
17
|
+
rpc axiomGetBets(AxiomGetBetsRequest) returns (AxiomBetsResponse);
|
17
18
|
}
|
18
19
|
|
19
20
|
message PingRequest { string ping = 1; }
|
@@ -121,4 +122,8 @@ message AxiomCheckSessionRequest {
|
|
121
122
|
}
|
122
123
|
message AxiomCheckSessionResponse {
|
123
124
|
repeated string user_groups = 1;
|
125
|
+
}
|
126
|
+
message AxiomGetBetsRequest {}
|
127
|
+
message AxiomBetsResponse {
|
128
|
+
repeated string bid = 1;
|
124
129
|
}
|
package/bet/bet_grpc_pb.js
CHANGED
@@ -15,6 +15,17 @@ function deserialize_bet_AxiomAuthHashResponse(buffer_arg) {
|
|
15
15
|
return bet_pb.AxiomAuthHashResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
16
16
|
}
|
17
17
|
|
18
|
+
function serialize_bet_AxiomBetsResponse(arg) {
|
19
|
+
if (!(arg instanceof bet_pb.AxiomBetsResponse)) {
|
20
|
+
throw new Error('Expected argument of type bet.AxiomBetsResponse');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_bet_AxiomBetsResponse(buffer_arg) {
|
26
|
+
return bet_pb.AxiomBetsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
18
29
|
function serialize_bet_AxiomCheckSessionRequest(arg) {
|
19
30
|
if (!(arg instanceof bet_pb.AxiomCheckSessionRequest)) {
|
20
31
|
throw new Error('Expected argument of type bet.AxiomCheckSessionRequest');
|
@@ -37,6 +48,17 @@ function deserialize_bet_AxiomCheckSessionResponse(buffer_arg) {
|
|
37
48
|
return bet_pb.AxiomCheckSessionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
38
49
|
}
|
39
50
|
|
51
|
+
function serialize_bet_AxiomGetBetsRequest(arg) {
|
52
|
+
if (!(arg instanceof bet_pb.AxiomGetBetsRequest)) {
|
53
|
+
throw new Error('Expected argument of type bet.AxiomGetBetsRequest');
|
54
|
+
}
|
55
|
+
return Buffer.from(arg.serializeBinary());
|
56
|
+
}
|
57
|
+
|
58
|
+
function deserialize_bet_AxiomGetBetsRequest(buffer_arg) {
|
59
|
+
return bet_pb.AxiomGetBetsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
60
|
+
}
|
61
|
+
|
40
62
|
function serialize_bet_AxiomGetHashRequest(arg) {
|
41
63
|
if (!(arg instanceof bet_pb.AxiomGetHashRequest)) {
|
42
64
|
throw new Error('Expected argument of type bet.AxiomGetHashRequest');
|
@@ -209,6 +231,17 @@ axiomGetAuthHash: {
|
|
209
231
|
responseSerialize: serialize_bet_AxiomCheckSessionResponse,
|
210
232
|
responseDeserialize: deserialize_bet_AxiomCheckSessionResponse,
|
211
233
|
},
|
234
|
+
axiomGetBets: {
|
235
|
+
path: '/bet.Bet/axiomGetBets',
|
236
|
+
requestStream: false,
|
237
|
+
responseStream: false,
|
238
|
+
requestType: bet_pb.AxiomGetBetsRequest,
|
239
|
+
responseType: bet_pb.AxiomBetsResponse,
|
240
|
+
requestSerialize: serialize_bet_AxiomGetBetsRequest,
|
241
|
+
requestDeserialize: deserialize_bet_AxiomGetBetsRequest,
|
242
|
+
responseSerialize: serialize_bet_AxiomBetsResponse,
|
243
|
+
responseDeserialize: deserialize_bet_AxiomBetsResponse,
|
244
|
+
},
|
212
245
|
};
|
213
246
|
|
214
247
|
exports.BetClient = grpc.makeGenericClientConstructor(BetService, 'Bet');
|
package/bet/bet_pb.js
CHANGED
@@ -22,8 +22,10 @@ var global = (function() {
|
|
22
22
|
}.call(null));
|
23
23
|
|
24
24
|
goog.exportSymbol('proto.bet.AxiomAuthHashResponse', null, global);
|
25
|
+
goog.exportSymbol('proto.bet.AxiomBetsResponse', null, global);
|
25
26
|
goog.exportSymbol('proto.bet.AxiomCheckSessionRequest', null, global);
|
26
27
|
goog.exportSymbol('proto.bet.AxiomCheckSessionResponse', null, global);
|
28
|
+
goog.exportSymbol('proto.bet.AxiomGetBetsRequest', null, global);
|
27
29
|
goog.exportSymbol('proto.bet.AxiomGetHashRequest', null, global);
|
28
30
|
goog.exportSymbol('proto.bet.BetsHistoryResponse', null, global);
|
29
31
|
goog.exportSymbol('proto.bet.DashboardGameInfo', null, global);
|
@@ -351,6 +353,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
351
353
|
*/
|
352
354
|
proto.bet.AxiomCheckSessionResponse.displayName = 'proto.bet.AxiomCheckSessionResponse';
|
353
355
|
}
|
356
|
+
/**
|
357
|
+
* Generated by JsPbCodeGenerator.
|
358
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
359
|
+
* server response, or constructed directly in Javascript. The array is used
|
360
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
361
|
+
* If no data is provided, the constructed object will be empty, but still
|
362
|
+
* valid.
|
363
|
+
* @extends {jspb.Message}
|
364
|
+
* @constructor
|
365
|
+
*/
|
366
|
+
proto.bet.AxiomGetBetsRequest = function(opt_data) {
|
367
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
368
|
+
};
|
369
|
+
goog.inherits(proto.bet.AxiomGetBetsRequest, jspb.Message);
|
370
|
+
if (goog.DEBUG && !COMPILED) {
|
371
|
+
/**
|
372
|
+
* @public
|
373
|
+
* @override
|
374
|
+
*/
|
375
|
+
proto.bet.AxiomGetBetsRequest.displayName = 'proto.bet.AxiomGetBetsRequest';
|
376
|
+
}
|
377
|
+
/**
|
378
|
+
* Generated by JsPbCodeGenerator.
|
379
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
380
|
+
* server response, or constructed directly in Javascript. The array is used
|
381
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
382
|
+
* If no data is provided, the constructed object will be empty, but still
|
383
|
+
* valid.
|
384
|
+
* @extends {jspb.Message}
|
385
|
+
* @constructor
|
386
|
+
*/
|
387
|
+
proto.bet.AxiomBetsResponse = function(opt_data) {
|
388
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.AxiomBetsResponse.repeatedFields_, null);
|
389
|
+
};
|
390
|
+
goog.inherits(proto.bet.AxiomBetsResponse, jspb.Message);
|
391
|
+
if (goog.DEBUG && !COMPILED) {
|
392
|
+
/**
|
393
|
+
* @public
|
394
|
+
* @override
|
395
|
+
*/
|
396
|
+
proto.bet.AxiomBetsResponse.displayName = 'proto.bet.AxiomBetsResponse';
|
397
|
+
}
|
354
398
|
|
355
399
|
|
356
400
|
|
@@ -5373,4 +5417,261 @@ proto.bet.AxiomCheckSessionResponse.prototype.clearUserGroupsList = function() {
|
|
5373
5417
|
};
|
5374
5418
|
|
5375
5419
|
|
5420
|
+
|
5421
|
+
|
5422
|
+
|
5423
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
5424
|
+
/**
|
5425
|
+
* Creates an object representation of this proto.
|
5426
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
5427
|
+
* Optional fields that are not set will be set to undefined.
|
5428
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
5429
|
+
* For the list of reserved names please see:
|
5430
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
5431
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
5432
|
+
* JSPB instance for transitional soy proto support:
|
5433
|
+
* http://goto/soy-param-migration
|
5434
|
+
* @return {!Object}
|
5435
|
+
*/
|
5436
|
+
proto.bet.AxiomGetBetsRequest.prototype.toObject = function(opt_includeInstance) {
|
5437
|
+
return proto.bet.AxiomGetBetsRequest.toObject(opt_includeInstance, this);
|
5438
|
+
};
|
5439
|
+
|
5440
|
+
|
5441
|
+
/**
|
5442
|
+
* Static version of the {@see toObject} method.
|
5443
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
5444
|
+
* the JSPB instance for transitional soy proto support:
|
5445
|
+
* http://goto/soy-param-migration
|
5446
|
+
* @param {!proto.bet.AxiomGetBetsRequest} msg The msg instance to transform.
|
5447
|
+
* @return {!Object}
|
5448
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5449
|
+
*/
|
5450
|
+
proto.bet.AxiomGetBetsRequest.toObject = function(includeInstance, msg) {
|
5451
|
+
var f, obj = {
|
5452
|
+
|
5453
|
+
};
|
5454
|
+
|
5455
|
+
if (includeInstance) {
|
5456
|
+
obj.$jspbMessageInstance = msg;
|
5457
|
+
}
|
5458
|
+
return obj;
|
5459
|
+
};
|
5460
|
+
}
|
5461
|
+
|
5462
|
+
|
5463
|
+
/**
|
5464
|
+
* Deserializes binary data (in protobuf wire format).
|
5465
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
5466
|
+
* @return {!proto.bet.AxiomGetBetsRequest}
|
5467
|
+
*/
|
5468
|
+
proto.bet.AxiomGetBetsRequest.deserializeBinary = function(bytes) {
|
5469
|
+
var reader = new jspb.BinaryReader(bytes);
|
5470
|
+
var msg = new proto.bet.AxiomGetBetsRequest;
|
5471
|
+
return proto.bet.AxiomGetBetsRequest.deserializeBinaryFromReader(msg, reader);
|
5472
|
+
};
|
5473
|
+
|
5474
|
+
|
5475
|
+
/**
|
5476
|
+
* Deserializes binary data (in protobuf wire format) from the
|
5477
|
+
* given reader into the given message object.
|
5478
|
+
* @param {!proto.bet.AxiomGetBetsRequest} msg The message object to deserialize into.
|
5479
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
5480
|
+
* @return {!proto.bet.AxiomGetBetsRequest}
|
5481
|
+
*/
|
5482
|
+
proto.bet.AxiomGetBetsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
5483
|
+
while (reader.nextField()) {
|
5484
|
+
if (reader.isEndGroup()) {
|
5485
|
+
break;
|
5486
|
+
}
|
5487
|
+
var field = reader.getFieldNumber();
|
5488
|
+
switch (field) {
|
5489
|
+
default:
|
5490
|
+
reader.skipField();
|
5491
|
+
break;
|
5492
|
+
}
|
5493
|
+
}
|
5494
|
+
return msg;
|
5495
|
+
};
|
5496
|
+
|
5497
|
+
|
5498
|
+
/**
|
5499
|
+
* Serializes the message to binary data (in protobuf wire format).
|
5500
|
+
* @return {!Uint8Array}
|
5501
|
+
*/
|
5502
|
+
proto.bet.AxiomGetBetsRequest.prototype.serializeBinary = function() {
|
5503
|
+
var writer = new jspb.BinaryWriter();
|
5504
|
+
proto.bet.AxiomGetBetsRequest.serializeBinaryToWriter(this, writer);
|
5505
|
+
return writer.getResultBuffer();
|
5506
|
+
};
|
5507
|
+
|
5508
|
+
|
5509
|
+
/**
|
5510
|
+
* Serializes the given message to binary data (in protobuf wire
|
5511
|
+
* format), writing to the given BinaryWriter.
|
5512
|
+
* @param {!proto.bet.AxiomGetBetsRequest} message
|
5513
|
+
* @param {!jspb.BinaryWriter} writer
|
5514
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5515
|
+
*/
|
5516
|
+
proto.bet.AxiomGetBetsRequest.serializeBinaryToWriter = function(message, writer) {
|
5517
|
+
var f = undefined;
|
5518
|
+
};
|
5519
|
+
|
5520
|
+
|
5521
|
+
|
5522
|
+
/**
|
5523
|
+
* List of repeated fields within this message type.
|
5524
|
+
* @private {!Array<number>}
|
5525
|
+
* @const
|
5526
|
+
*/
|
5527
|
+
proto.bet.AxiomBetsResponse.repeatedFields_ = [1];
|
5528
|
+
|
5529
|
+
|
5530
|
+
|
5531
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
5532
|
+
/**
|
5533
|
+
* Creates an object representation of this proto.
|
5534
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
5535
|
+
* Optional fields that are not set will be set to undefined.
|
5536
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
5537
|
+
* For the list of reserved names please see:
|
5538
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
5539
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
5540
|
+
* JSPB instance for transitional soy proto support:
|
5541
|
+
* http://goto/soy-param-migration
|
5542
|
+
* @return {!Object}
|
5543
|
+
*/
|
5544
|
+
proto.bet.AxiomBetsResponse.prototype.toObject = function(opt_includeInstance) {
|
5545
|
+
return proto.bet.AxiomBetsResponse.toObject(opt_includeInstance, this);
|
5546
|
+
};
|
5547
|
+
|
5548
|
+
|
5549
|
+
/**
|
5550
|
+
* Static version of the {@see toObject} method.
|
5551
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
5552
|
+
* the JSPB instance for transitional soy proto support:
|
5553
|
+
* http://goto/soy-param-migration
|
5554
|
+
* @param {!proto.bet.AxiomBetsResponse} msg The msg instance to transform.
|
5555
|
+
* @return {!Object}
|
5556
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5557
|
+
*/
|
5558
|
+
proto.bet.AxiomBetsResponse.toObject = function(includeInstance, msg) {
|
5559
|
+
var f, obj = {
|
5560
|
+
bidList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
5561
|
+
};
|
5562
|
+
|
5563
|
+
if (includeInstance) {
|
5564
|
+
obj.$jspbMessageInstance = msg;
|
5565
|
+
}
|
5566
|
+
return obj;
|
5567
|
+
};
|
5568
|
+
}
|
5569
|
+
|
5570
|
+
|
5571
|
+
/**
|
5572
|
+
* Deserializes binary data (in protobuf wire format).
|
5573
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
5574
|
+
* @return {!proto.bet.AxiomBetsResponse}
|
5575
|
+
*/
|
5576
|
+
proto.bet.AxiomBetsResponse.deserializeBinary = function(bytes) {
|
5577
|
+
var reader = new jspb.BinaryReader(bytes);
|
5578
|
+
var msg = new proto.bet.AxiomBetsResponse;
|
5579
|
+
return proto.bet.AxiomBetsResponse.deserializeBinaryFromReader(msg, reader);
|
5580
|
+
};
|
5581
|
+
|
5582
|
+
|
5583
|
+
/**
|
5584
|
+
* Deserializes binary data (in protobuf wire format) from the
|
5585
|
+
* given reader into the given message object.
|
5586
|
+
* @param {!proto.bet.AxiomBetsResponse} msg The message object to deserialize into.
|
5587
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
5588
|
+
* @return {!proto.bet.AxiomBetsResponse}
|
5589
|
+
*/
|
5590
|
+
proto.bet.AxiomBetsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
5591
|
+
while (reader.nextField()) {
|
5592
|
+
if (reader.isEndGroup()) {
|
5593
|
+
break;
|
5594
|
+
}
|
5595
|
+
var field = reader.getFieldNumber();
|
5596
|
+
switch (field) {
|
5597
|
+
case 1:
|
5598
|
+
var value = /** @type {string} */ (reader.readString());
|
5599
|
+
msg.addBid(value);
|
5600
|
+
break;
|
5601
|
+
default:
|
5602
|
+
reader.skipField();
|
5603
|
+
break;
|
5604
|
+
}
|
5605
|
+
}
|
5606
|
+
return msg;
|
5607
|
+
};
|
5608
|
+
|
5609
|
+
|
5610
|
+
/**
|
5611
|
+
* Serializes the message to binary data (in protobuf wire format).
|
5612
|
+
* @return {!Uint8Array}
|
5613
|
+
*/
|
5614
|
+
proto.bet.AxiomBetsResponse.prototype.serializeBinary = function() {
|
5615
|
+
var writer = new jspb.BinaryWriter();
|
5616
|
+
proto.bet.AxiomBetsResponse.serializeBinaryToWriter(this, writer);
|
5617
|
+
return writer.getResultBuffer();
|
5618
|
+
};
|
5619
|
+
|
5620
|
+
|
5621
|
+
/**
|
5622
|
+
* Serializes the given message to binary data (in protobuf wire
|
5623
|
+
* format), writing to the given BinaryWriter.
|
5624
|
+
* @param {!proto.bet.AxiomBetsResponse} message
|
5625
|
+
* @param {!jspb.BinaryWriter} writer
|
5626
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5627
|
+
*/
|
5628
|
+
proto.bet.AxiomBetsResponse.serializeBinaryToWriter = function(message, writer) {
|
5629
|
+
var f = undefined;
|
5630
|
+
f = message.getBidList();
|
5631
|
+
if (f.length > 0) {
|
5632
|
+
writer.writeRepeatedString(
|
5633
|
+
1,
|
5634
|
+
f
|
5635
|
+
);
|
5636
|
+
}
|
5637
|
+
};
|
5638
|
+
|
5639
|
+
|
5640
|
+
/**
|
5641
|
+
* repeated string bid = 1;
|
5642
|
+
* @return {!Array<string>}
|
5643
|
+
*/
|
5644
|
+
proto.bet.AxiomBetsResponse.prototype.getBidList = function() {
|
5645
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
5646
|
+
};
|
5647
|
+
|
5648
|
+
|
5649
|
+
/**
|
5650
|
+
* @param {!Array<string>} value
|
5651
|
+
* @return {!proto.bet.AxiomBetsResponse} returns this
|
5652
|
+
*/
|
5653
|
+
proto.bet.AxiomBetsResponse.prototype.setBidList = function(value) {
|
5654
|
+
return jspb.Message.setField(this, 1, value || []);
|
5655
|
+
};
|
5656
|
+
|
5657
|
+
|
5658
|
+
/**
|
5659
|
+
* @param {string} value
|
5660
|
+
* @param {number=} opt_index
|
5661
|
+
* @return {!proto.bet.AxiomBetsResponse} returns this
|
5662
|
+
*/
|
5663
|
+
proto.bet.AxiomBetsResponse.prototype.addBid = function(value, opt_index) {
|
5664
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
5665
|
+
};
|
5666
|
+
|
5667
|
+
|
5668
|
+
/**
|
5669
|
+
* Clears the list making it empty but non-null.
|
5670
|
+
* @return {!proto.bet.AxiomBetsResponse} returns this
|
5671
|
+
*/
|
5672
|
+
proto.bet.AxiomBetsResponse.prototype.clearBidList = function() {
|
5673
|
+
return this.setBidList([]);
|
5674
|
+
};
|
5675
|
+
|
5676
|
+
|
5376
5677
|
goog.object.extend(exports, proto.bet);
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
@@ -3048,7 +3048,8 @@ proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
|
|
3048
3048
|
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3049
3049
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
3050
3050
|
segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
3051
|
-
currency: jspb.Message.getFieldWithDefault(msg, 4, "")
|
3051
|
+
currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
3052
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
3052
3053
|
};
|
3053
3054
|
|
3054
3055
|
if (includeInstance) {
|
@@ -3101,6 +3102,10 @@ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reade
|
|
3101
3102
|
var value = /** @type {string} */ (reader.readString());
|
3102
3103
|
msg.setCurrency(value);
|
3103
3104
|
break;
|
3105
|
+
case 5:
|
3106
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3107
|
+
msg.setIsActive(value);
|
3108
|
+
break;
|
3104
3109
|
default:
|
3105
3110
|
reader.skipField();
|
3106
3111
|
break;
|
@@ -3158,6 +3163,13 @@ proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, write
|
|
3158
3163
|
f
|
3159
3164
|
);
|
3160
3165
|
}
|
3166
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
3167
|
+
if (f != null) {
|
3168
|
+
writer.writeInt32(
|
3169
|
+
5,
|
3170
|
+
f
|
3171
|
+
);
|
3172
|
+
}
|
3161
3173
|
};
|
3162
3174
|
|
3163
3175
|
|
@@ -3305,6 +3317,42 @@ proto.user.SegmentSearchParams.prototype.hasCurrency = function() {
|
|
3305
3317
|
};
|
3306
3318
|
|
3307
3319
|
|
3320
|
+
/**
|
3321
|
+
* optional int32 is_active = 5;
|
3322
|
+
* @return {number}
|
3323
|
+
*/
|
3324
|
+
proto.user.SegmentSearchParams.prototype.getIsActive = function() {
|
3325
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
3326
|
+
};
|
3327
|
+
|
3328
|
+
|
3329
|
+
/**
|
3330
|
+
* @param {number} value
|
3331
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
3332
|
+
*/
|
3333
|
+
proto.user.SegmentSearchParams.prototype.setIsActive = function(value) {
|
3334
|
+
return jspb.Message.setField(this, 5, value);
|
3335
|
+
};
|
3336
|
+
|
3337
|
+
|
3338
|
+
/**
|
3339
|
+
* Clears the field making it undefined.
|
3340
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
3341
|
+
*/
|
3342
|
+
proto.user.SegmentSearchParams.prototype.clearIsActive = function() {
|
3343
|
+
return jspb.Message.setField(this, 5, undefined);
|
3344
|
+
};
|
3345
|
+
|
3346
|
+
|
3347
|
+
/**
|
3348
|
+
* Returns whether this field is set.
|
3349
|
+
* @return {boolean}
|
3350
|
+
*/
|
3351
|
+
proto.user.SegmentSearchParams.prototype.hasIsActive = function() {
|
3352
|
+
return jspb.Message.getField(this, 5) != null;
|
3353
|
+
};
|
3354
|
+
|
3355
|
+
|
3308
3356
|
|
3309
3357
|
|
3310
3358
|
|