protobuf-platform 1.2.652 → 1.2.653
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 +15 -0
- package/analytic/analytic_grpc_pb.js +34 -0
- package/analytic/analytic_pb.js +364 -0
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
|
@@ -23,6 +23,8 @@ service Analytic {
|
|
|
23
23
|
rpc getScaleoActivityBuckets(ScaleoActivityBucketsRequest) returns (ScaleoActivityBucketsResponse);
|
|
24
24
|
// Affiliate Data API: wager aggregation, filtering, sorting, and pagination are owned by analytic-service.
|
|
25
25
|
rpc getAffiliateWageredPlayers(GetAffiliateWageredPlayersRequest) returns (GetAffiliateWageredPlayersResponse);
|
|
26
|
+
// Lifetime casino Real GGR for one player. Analytic owns the aggregate.
|
|
27
|
+
rpc getUserCasinoRealGgr(GetUserCasinoRealGgrRequest) returns (GetUserCasinoRealGgrResponse);
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
//Technical
|
|
@@ -323,4 +325,17 @@ message GetAffiliateWageredPlayersResponse {
|
|
|
323
325
|
repeated AffiliateWageredPlayerItem items = 1;
|
|
324
326
|
optional int32 total_items = 2;
|
|
325
327
|
optional int32 total_pages = 3;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
// Lifetime casino Real GGR.
|
|
331
|
+
// real_ggr is the existing GameActions.ggr_real sum: real-money stakes minus real-money winnings.
|
|
332
|
+
// Bonus gameplay, sport, deposits, withdrawals, hold, and wallet balance are not included.
|
|
333
|
+
// No real-money gameplay returns a normalized zero. The sign is preserved.
|
|
334
|
+
message GetUserCasinoRealGgrRequest {
|
|
335
|
+
int32 user_id = 1;
|
|
336
|
+
}
|
|
337
|
+
message GetUserCasinoRealGgrResponse {
|
|
338
|
+
int32 user_id = 1;
|
|
339
|
+
string currency = 2; // Brand base currency of the stored aggregate.
|
|
340
|
+
string real_ggr = 3; // Signed major-unit decimal string.
|
|
326
341
|
}
|
|
@@ -70,6 +70,28 @@ function deserialize_analytic_GetAffiliateWageredPlayersResponse(buffer_arg) {
|
|
|
70
70
|
return analytic_pb.GetAffiliateWageredPlayersResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
function serialize_analytic_GetUserCasinoRealGgrRequest(arg) {
|
|
74
|
+
if (!(arg instanceof analytic_pb.GetUserCasinoRealGgrRequest)) {
|
|
75
|
+
throw new Error('Expected argument of type analytic.GetUserCasinoRealGgrRequest');
|
|
76
|
+
}
|
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function deserialize_analytic_GetUserCasinoRealGgrRequest(buffer_arg) {
|
|
81
|
+
return analytic_pb.GetUserCasinoRealGgrRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function serialize_analytic_GetUserCasinoRealGgrResponse(arg) {
|
|
85
|
+
if (!(arg instanceof analytic_pb.GetUserCasinoRealGgrResponse)) {
|
|
86
|
+
throw new Error('Expected argument of type analytic.GetUserCasinoRealGgrResponse');
|
|
87
|
+
}
|
|
88
|
+
return Buffer.from(arg.serializeBinary());
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function deserialize_analytic_GetUserCasinoRealGgrResponse(buffer_arg) {
|
|
92
|
+
return analytic_pb.GetUserCasinoRealGgrResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
93
|
+
}
|
|
94
|
+
|
|
73
95
|
function serialize_analytic_GlobalCasinoResponse(arg) {
|
|
74
96
|
if (!(arg instanceof analytic_pb.GlobalCasinoResponse)) {
|
|
75
97
|
throw new Error('Expected argument of type analytic.GlobalCasinoResponse');
|
|
@@ -323,6 +345,18 @@ getAffiliateWageredPlayers: {
|
|
|
323
345
|
responseSerialize: serialize_analytic_GetAffiliateWageredPlayersResponse,
|
|
324
346
|
responseDeserialize: deserialize_analytic_GetAffiliateWageredPlayersResponse,
|
|
325
347
|
},
|
|
348
|
+
// Lifetime casino Real GGR for one player. Analytic owns the aggregate.
|
|
349
|
+
getUserCasinoRealGgr: {
|
|
350
|
+
path: '/analytic.Analytic/getUserCasinoRealGgr',
|
|
351
|
+
requestStream: false,
|
|
352
|
+
responseStream: false,
|
|
353
|
+
requestType: analytic_pb.GetUserCasinoRealGgrRequest,
|
|
354
|
+
responseType: analytic_pb.GetUserCasinoRealGgrResponse,
|
|
355
|
+
requestSerialize: serialize_analytic_GetUserCasinoRealGgrRequest,
|
|
356
|
+
requestDeserialize: deserialize_analytic_GetUserCasinoRealGgrRequest,
|
|
357
|
+
responseSerialize: serialize_analytic_GetUserCasinoRealGgrResponse,
|
|
358
|
+
responseDeserialize: deserialize_analytic_GetUserCasinoRealGgrResponse,
|
|
359
|
+
},
|
|
326
360
|
};
|
|
327
361
|
|
|
328
362
|
exports.AnalyticClient = grpc.makeGenericClientConstructor(AnalyticService, 'Analytic');
|
package/analytic/analytic_pb.js
CHANGED
|
@@ -34,6 +34,8 @@ goog.exportSymbol('proto.analytic.GameItemWrapper', null, global);
|
|
|
34
34
|
goog.exportSymbol('proto.analytic.GamesResponse', null, global);
|
|
35
35
|
goog.exportSymbol('proto.analytic.GetAffiliateWageredPlayersRequest', null, global);
|
|
36
36
|
goog.exportSymbol('proto.analytic.GetAffiliateWageredPlayersResponse', null, global);
|
|
37
|
+
goog.exportSymbol('proto.analytic.GetUserCasinoRealGgrRequest', null, global);
|
|
38
|
+
goog.exportSymbol('proto.analytic.GetUserCasinoRealGgrResponse', null, global);
|
|
37
39
|
goog.exportSymbol('proto.analytic.GlobalCasinoItem', null, global);
|
|
38
40
|
goog.exportSymbol('proto.analytic.GlobalCasinoResponse', null, global);
|
|
39
41
|
goog.exportSymbol('proto.analytic.GlobalSearchRequest', null, global);
|
|
@@ -681,6 +683,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
681
683
|
*/
|
|
682
684
|
proto.analytic.GetAffiliateWageredPlayersResponse.displayName = 'proto.analytic.GetAffiliateWageredPlayersResponse';
|
|
683
685
|
}
|
|
686
|
+
/**
|
|
687
|
+
* Generated by JsPbCodeGenerator.
|
|
688
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
689
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
690
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
691
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
692
|
+
* valid.
|
|
693
|
+
* @extends {jspb.Message}
|
|
694
|
+
* @constructor
|
|
695
|
+
*/
|
|
696
|
+
proto.analytic.GetUserCasinoRealGgrRequest = function(opt_data) {
|
|
697
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
698
|
+
};
|
|
699
|
+
goog.inherits(proto.analytic.GetUserCasinoRealGgrRequest, jspb.Message);
|
|
700
|
+
if (goog.DEBUG && !COMPILED) {
|
|
701
|
+
/**
|
|
702
|
+
* @public
|
|
703
|
+
* @override
|
|
704
|
+
*/
|
|
705
|
+
proto.analytic.GetUserCasinoRealGgrRequest.displayName = 'proto.analytic.GetUserCasinoRealGgrRequest';
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* Generated by JsPbCodeGenerator.
|
|
709
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
710
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
711
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
712
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
713
|
+
* valid.
|
|
714
|
+
* @extends {jspb.Message}
|
|
715
|
+
* @constructor
|
|
716
|
+
*/
|
|
717
|
+
proto.analytic.GetUserCasinoRealGgrResponse = function(opt_data) {
|
|
718
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
719
|
+
};
|
|
720
|
+
goog.inherits(proto.analytic.GetUserCasinoRealGgrResponse, jspb.Message);
|
|
721
|
+
if (goog.DEBUG && !COMPILED) {
|
|
722
|
+
/**
|
|
723
|
+
* @public
|
|
724
|
+
* @override
|
|
725
|
+
*/
|
|
726
|
+
proto.analytic.GetUserCasinoRealGgrResponse.displayName = 'proto.analytic.GetUserCasinoRealGgrResponse';
|
|
727
|
+
}
|
|
684
728
|
|
|
685
729
|
|
|
686
730
|
|
|
@@ -12558,4 +12602,324 @@ proto.analytic.GetAffiliateWageredPlayersResponse.prototype.hasTotalPages = func
|
|
|
12558
12602
|
};
|
|
12559
12603
|
|
|
12560
12604
|
|
|
12605
|
+
|
|
12606
|
+
|
|
12607
|
+
|
|
12608
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12609
|
+
/**
|
|
12610
|
+
* Creates an object representation of this proto.
|
|
12611
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12612
|
+
* Optional fields that are not set will be set to undefined.
|
|
12613
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12614
|
+
* For the list of reserved names please see:
|
|
12615
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12616
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12617
|
+
* JSPB instance for transitional soy proto support:
|
|
12618
|
+
* http://goto/soy-param-migration
|
|
12619
|
+
* @return {!Object}
|
|
12620
|
+
*/
|
|
12621
|
+
proto.analytic.GetUserCasinoRealGgrRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12622
|
+
return proto.analytic.GetUserCasinoRealGgrRequest.toObject(opt_includeInstance, this);
|
|
12623
|
+
};
|
|
12624
|
+
|
|
12625
|
+
|
|
12626
|
+
/**
|
|
12627
|
+
* Static version of the {@see toObject} method.
|
|
12628
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12629
|
+
* the JSPB instance for transitional soy proto support:
|
|
12630
|
+
* http://goto/soy-param-migration
|
|
12631
|
+
* @param {!proto.analytic.GetUserCasinoRealGgrRequest} msg The msg instance to transform.
|
|
12632
|
+
* @return {!Object}
|
|
12633
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12634
|
+
*/
|
|
12635
|
+
proto.analytic.GetUserCasinoRealGgrRequest.toObject = function(includeInstance, msg) {
|
|
12636
|
+
var f, obj = {
|
|
12637
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
12638
|
+
};
|
|
12639
|
+
|
|
12640
|
+
if (includeInstance) {
|
|
12641
|
+
obj.$jspbMessageInstance = msg;
|
|
12642
|
+
}
|
|
12643
|
+
return obj;
|
|
12644
|
+
};
|
|
12645
|
+
}
|
|
12646
|
+
|
|
12647
|
+
|
|
12648
|
+
/**
|
|
12649
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12650
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12651
|
+
* @return {!proto.analytic.GetUserCasinoRealGgrRequest}
|
|
12652
|
+
*/
|
|
12653
|
+
proto.analytic.GetUserCasinoRealGgrRequest.deserializeBinary = function(bytes) {
|
|
12654
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12655
|
+
var msg = new proto.analytic.GetUserCasinoRealGgrRequest;
|
|
12656
|
+
return proto.analytic.GetUserCasinoRealGgrRequest.deserializeBinaryFromReader(msg, reader);
|
|
12657
|
+
};
|
|
12658
|
+
|
|
12659
|
+
|
|
12660
|
+
/**
|
|
12661
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12662
|
+
* given reader into the given message object.
|
|
12663
|
+
* @param {!proto.analytic.GetUserCasinoRealGgrRequest} msg The message object to deserialize into.
|
|
12664
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12665
|
+
* @return {!proto.analytic.GetUserCasinoRealGgrRequest}
|
|
12666
|
+
*/
|
|
12667
|
+
proto.analytic.GetUserCasinoRealGgrRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12668
|
+
while (reader.nextField()) {
|
|
12669
|
+
if (reader.isEndGroup()) {
|
|
12670
|
+
break;
|
|
12671
|
+
}
|
|
12672
|
+
var field = reader.getFieldNumber();
|
|
12673
|
+
switch (field) {
|
|
12674
|
+
case 1:
|
|
12675
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12676
|
+
msg.setUserId(value);
|
|
12677
|
+
break;
|
|
12678
|
+
default:
|
|
12679
|
+
reader.skipField();
|
|
12680
|
+
break;
|
|
12681
|
+
}
|
|
12682
|
+
}
|
|
12683
|
+
return msg;
|
|
12684
|
+
};
|
|
12685
|
+
|
|
12686
|
+
|
|
12687
|
+
/**
|
|
12688
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12689
|
+
* @return {!Uint8Array}
|
|
12690
|
+
*/
|
|
12691
|
+
proto.analytic.GetUserCasinoRealGgrRequest.prototype.serializeBinary = function() {
|
|
12692
|
+
var writer = new jspb.BinaryWriter();
|
|
12693
|
+
proto.analytic.GetUserCasinoRealGgrRequest.serializeBinaryToWriter(this, writer);
|
|
12694
|
+
return writer.getResultBuffer();
|
|
12695
|
+
};
|
|
12696
|
+
|
|
12697
|
+
|
|
12698
|
+
/**
|
|
12699
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12700
|
+
* format), writing to the given BinaryWriter.
|
|
12701
|
+
* @param {!proto.analytic.GetUserCasinoRealGgrRequest} message
|
|
12702
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12703
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12704
|
+
*/
|
|
12705
|
+
proto.analytic.GetUserCasinoRealGgrRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12706
|
+
var f = undefined;
|
|
12707
|
+
f = message.getUserId();
|
|
12708
|
+
if (f !== 0) {
|
|
12709
|
+
writer.writeInt32(
|
|
12710
|
+
1,
|
|
12711
|
+
f
|
|
12712
|
+
);
|
|
12713
|
+
}
|
|
12714
|
+
};
|
|
12715
|
+
|
|
12716
|
+
|
|
12717
|
+
/**
|
|
12718
|
+
* optional int32 user_id = 1;
|
|
12719
|
+
* @return {number}
|
|
12720
|
+
*/
|
|
12721
|
+
proto.analytic.GetUserCasinoRealGgrRequest.prototype.getUserId = function() {
|
|
12722
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12723
|
+
};
|
|
12724
|
+
|
|
12725
|
+
|
|
12726
|
+
/**
|
|
12727
|
+
* @param {number} value
|
|
12728
|
+
* @return {!proto.analytic.GetUserCasinoRealGgrRequest} returns this
|
|
12729
|
+
*/
|
|
12730
|
+
proto.analytic.GetUserCasinoRealGgrRequest.prototype.setUserId = function(value) {
|
|
12731
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
12732
|
+
};
|
|
12733
|
+
|
|
12734
|
+
|
|
12735
|
+
|
|
12736
|
+
|
|
12737
|
+
|
|
12738
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12739
|
+
/**
|
|
12740
|
+
* Creates an object representation of this proto.
|
|
12741
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12742
|
+
* Optional fields that are not set will be set to undefined.
|
|
12743
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12744
|
+
* For the list of reserved names please see:
|
|
12745
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12746
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12747
|
+
* JSPB instance for transitional soy proto support:
|
|
12748
|
+
* http://goto/soy-param-migration
|
|
12749
|
+
* @return {!Object}
|
|
12750
|
+
*/
|
|
12751
|
+
proto.analytic.GetUserCasinoRealGgrResponse.prototype.toObject = function(opt_includeInstance) {
|
|
12752
|
+
return proto.analytic.GetUserCasinoRealGgrResponse.toObject(opt_includeInstance, this);
|
|
12753
|
+
};
|
|
12754
|
+
|
|
12755
|
+
|
|
12756
|
+
/**
|
|
12757
|
+
* Static version of the {@see toObject} method.
|
|
12758
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12759
|
+
* the JSPB instance for transitional soy proto support:
|
|
12760
|
+
* http://goto/soy-param-migration
|
|
12761
|
+
* @param {!proto.analytic.GetUserCasinoRealGgrResponse} msg The msg instance to transform.
|
|
12762
|
+
* @return {!Object}
|
|
12763
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12764
|
+
*/
|
|
12765
|
+
proto.analytic.GetUserCasinoRealGgrResponse.toObject = function(includeInstance, msg) {
|
|
12766
|
+
var f, obj = {
|
|
12767
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
12768
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12769
|
+
realGgr: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
12770
|
+
};
|
|
12771
|
+
|
|
12772
|
+
if (includeInstance) {
|
|
12773
|
+
obj.$jspbMessageInstance = msg;
|
|
12774
|
+
}
|
|
12775
|
+
return obj;
|
|
12776
|
+
};
|
|
12777
|
+
}
|
|
12778
|
+
|
|
12779
|
+
|
|
12780
|
+
/**
|
|
12781
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12782
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12783
|
+
* @return {!proto.analytic.GetUserCasinoRealGgrResponse}
|
|
12784
|
+
*/
|
|
12785
|
+
proto.analytic.GetUserCasinoRealGgrResponse.deserializeBinary = function(bytes) {
|
|
12786
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12787
|
+
var msg = new proto.analytic.GetUserCasinoRealGgrResponse;
|
|
12788
|
+
return proto.analytic.GetUserCasinoRealGgrResponse.deserializeBinaryFromReader(msg, reader);
|
|
12789
|
+
};
|
|
12790
|
+
|
|
12791
|
+
|
|
12792
|
+
/**
|
|
12793
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12794
|
+
* given reader into the given message object.
|
|
12795
|
+
* @param {!proto.analytic.GetUserCasinoRealGgrResponse} msg The message object to deserialize into.
|
|
12796
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12797
|
+
* @return {!proto.analytic.GetUserCasinoRealGgrResponse}
|
|
12798
|
+
*/
|
|
12799
|
+
proto.analytic.GetUserCasinoRealGgrResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12800
|
+
while (reader.nextField()) {
|
|
12801
|
+
if (reader.isEndGroup()) {
|
|
12802
|
+
break;
|
|
12803
|
+
}
|
|
12804
|
+
var field = reader.getFieldNumber();
|
|
12805
|
+
switch (field) {
|
|
12806
|
+
case 1:
|
|
12807
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12808
|
+
msg.setUserId(value);
|
|
12809
|
+
break;
|
|
12810
|
+
case 2:
|
|
12811
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12812
|
+
msg.setCurrency(value);
|
|
12813
|
+
break;
|
|
12814
|
+
case 3:
|
|
12815
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12816
|
+
msg.setRealGgr(value);
|
|
12817
|
+
break;
|
|
12818
|
+
default:
|
|
12819
|
+
reader.skipField();
|
|
12820
|
+
break;
|
|
12821
|
+
}
|
|
12822
|
+
}
|
|
12823
|
+
return msg;
|
|
12824
|
+
};
|
|
12825
|
+
|
|
12826
|
+
|
|
12827
|
+
/**
|
|
12828
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12829
|
+
* @return {!Uint8Array}
|
|
12830
|
+
*/
|
|
12831
|
+
proto.analytic.GetUserCasinoRealGgrResponse.prototype.serializeBinary = function() {
|
|
12832
|
+
var writer = new jspb.BinaryWriter();
|
|
12833
|
+
proto.analytic.GetUserCasinoRealGgrResponse.serializeBinaryToWriter(this, writer);
|
|
12834
|
+
return writer.getResultBuffer();
|
|
12835
|
+
};
|
|
12836
|
+
|
|
12837
|
+
|
|
12838
|
+
/**
|
|
12839
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12840
|
+
* format), writing to the given BinaryWriter.
|
|
12841
|
+
* @param {!proto.analytic.GetUserCasinoRealGgrResponse} message
|
|
12842
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12843
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12844
|
+
*/
|
|
12845
|
+
proto.analytic.GetUserCasinoRealGgrResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12846
|
+
var f = undefined;
|
|
12847
|
+
f = message.getUserId();
|
|
12848
|
+
if (f !== 0) {
|
|
12849
|
+
writer.writeInt32(
|
|
12850
|
+
1,
|
|
12851
|
+
f
|
|
12852
|
+
);
|
|
12853
|
+
}
|
|
12854
|
+
f = message.getCurrency();
|
|
12855
|
+
if (f.length > 0) {
|
|
12856
|
+
writer.writeString(
|
|
12857
|
+
2,
|
|
12858
|
+
f
|
|
12859
|
+
);
|
|
12860
|
+
}
|
|
12861
|
+
f = message.getRealGgr();
|
|
12862
|
+
if (f.length > 0) {
|
|
12863
|
+
writer.writeString(
|
|
12864
|
+
3,
|
|
12865
|
+
f
|
|
12866
|
+
);
|
|
12867
|
+
}
|
|
12868
|
+
};
|
|
12869
|
+
|
|
12870
|
+
|
|
12871
|
+
/**
|
|
12872
|
+
* optional int32 user_id = 1;
|
|
12873
|
+
* @return {number}
|
|
12874
|
+
*/
|
|
12875
|
+
proto.analytic.GetUserCasinoRealGgrResponse.prototype.getUserId = function() {
|
|
12876
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12877
|
+
};
|
|
12878
|
+
|
|
12879
|
+
|
|
12880
|
+
/**
|
|
12881
|
+
* @param {number} value
|
|
12882
|
+
* @return {!proto.analytic.GetUserCasinoRealGgrResponse} returns this
|
|
12883
|
+
*/
|
|
12884
|
+
proto.analytic.GetUserCasinoRealGgrResponse.prototype.setUserId = function(value) {
|
|
12885
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
12886
|
+
};
|
|
12887
|
+
|
|
12888
|
+
|
|
12889
|
+
/**
|
|
12890
|
+
* optional string currency = 2;
|
|
12891
|
+
* @return {string}
|
|
12892
|
+
*/
|
|
12893
|
+
proto.analytic.GetUserCasinoRealGgrResponse.prototype.getCurrency = function() {
|
|
12894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12895
|
+
};
|
|
12896
|
+
|
|
12897
|
+
|
|
12898
|
+
/**
|
|
12899
|
+
* @param {string} value
|
|
12900
|
+
* @return {!proto.analytic.GetUserCasinoRealGgrResponse} returns this
|
|
12901
|
+
*/
|
|
12902
|
+
proto.analytic.GetUserCasinoRealGgrResponse.prototype.setCurrency = function(value) {
|
|
12903
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12904
|
+
};
|
|
12905
|
+
|
|
12906
|
+
|
|
12907
|
+
/**
|
|
12908
|
+
* optional string real_ggr = 3;
|
|
12909
|
+
* @return {string}
|
|
12910
|
+
*/
|
|
12911
|
+
proto.analytic.GetUserCasinoRealGgrResponse.prototype.getRealGgr = function() {
|
|
12912
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12913
|
+
};
|
|
12914
|
+
|
|
12915
|
+
|
|
12916
|
+
/**
|
|
12917
|
+
* @param {string} value
|
|
12918
|
+
* @return {!proto.analytic.GetUserCasinoRealGgrResponse} returns this
|
|
12919
|
+
*/
|
|
12920
|
+
proto.analytic.GetUserCasinoRealGgrResponse.prototype.setRealGgr = function(value) {
|
|
12921
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12922
|
+
};
|
|
12923
|
+
|
|
12924
|
+
|
|
12561
12925
|
goog.object.extend(exports, proto.analytic);
|