protobuf-platform 1.2.122 → 1.2.124
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/package.json +1 -1
- package/sport/sport.proto +20 -7
- package/sport/sport_grpc_pb.js +44 -0
- package/sport/sport_pb.js +563 -49
- package/user/user.proto +6 -0
- package/user/user_grpc_pb.js +22 -0
- package/user/user_pb.js +230 -0
package/package.json
CHANGED
package/sport/sport.proto
CHANGED
|
@@ -6,6 +6,8 @@ service Sport {
|
|
|
6
6
|
rpc checkConnection(PingRequest) returns (PongResponse);
|
|
7
7
|
// Launch Betby sportsbook widget for user or guest.
|
|
8
8
|
rpc launchBetby(LaunchBetbyRequest) returns (LaunchBetbyResponse);
|
|
9
|
+
rpc runSelfValidationBetby(selfValidationBetbyRequest) returns (selfValidationBetbyResponse);
|
|
10
|
+
rpc checkSelfValidationBetby(selfValidationBetbyRequest) returns (selfValidationBetbyResponse);
|
|
9
11
|
//Vendor
|
|
10
12
|
rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
|
|
11
13
|
}
|
|
@@ -19,22 +21,23 @@ message PaginationRequest {
|
|
|
19
21
|
// Launch request for Betby sportsbook.
|
|
20
22
|
message LaunchBetbyRequest {
|
|
21
23
|
// Optional: internal user identifier, empty for guest.
|
|
22
|
-
optional
|
|
24
|
+
optional int32 user_id = 1;
|
|
25
|
+
optional string user_public_id = 2;
|
|
23
26
|
|
|
24
27
|
// Player currency, e.g. "EUR".
|
|
25
|
-
optional string currency =
|
|
28
|
+
optional string currency = 3;
|
|
26
29
|
|
|
27
30
|
// Player language, e.g. "en-US".
|
|
28
|
-
optional string language =
|
|
31
|
+
optional string language = 4;
|
|
29
32
|
|
|
30
33
|
// URL to return player after sportsbook session end.
|
|
31
|
-
optional string return_url =
|
|
34
|
+
optional string return_url = 5;
|
|
32
35
|
|
|
33
36
|
// Client IP address for Betby (X-Client-Ip).
|
|
34
|
-
optional string client_ip =
|
|
37
|
+
optional string client_ip = 6;
|
|
35
38
|
|
|
36
|
-
optional string player_name =
|
|
37
|
-
optional string session_id =
|
|
39
|
+
optional string player_name = 7;
|
|
40
|
+
optional string session_id = 8;
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
// Launch response with rendered Betby widget.
|
|
@@ -51,4 +54,14 @@ message VendorActionRequest {
|
|
|
51
54
|
}
|
|
52
55
|
message VendorActionResponse {
|
|
53
56
|
string data = 1;
|
|
57
|
+
}
|
|
58
|
+
//Self validation BetBy
|
|
59
|
+
message selfValidationBetbyRequest {
|
|
60
|
+
optional string session_id = 1;
|
|
61
|
+
optional string player_id = 2;
|
|
62
|
+
optional string currency = 3;
|
|
63
|
+
optional string task_id = 4;
|
|
64
|
+
}
|
|
65
|
+
message selfValidationBetbyResponse {
|
|
66
|
+
string result = 1;
|
|
54
67
|
}
|
package/sport/sport_grpc_pb.js
CHANGED
|
@@ -70,6 +70,28 @@ function deserialize_sport_VendorActionResponse(buffer_arg) {
|
|
|
70
70
|
return sport_pb.VendorActionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
function serialize_sport_selfValidationBetbyRequest(arg) {
|
|
74
|
+
if (!(arg instanceof sport_pb.selfValidationBetbyRequest)) {
|
|
75
|
+
throw new Error('Expected argument of type sport.selfValidationBetbyRequest');
|
|
76
|
+
}
|
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function deserialize_sport_selfValidationBetbyRequest(buffer_arg) {
|
|
81
|
+
return sport_pb.selfValidationBetbyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function serialize_sport_selfValidationBetbyResponse(arg) {
|
|
85
|
+
if (!(arg instanceof sport_pb.selfValidationBetbyResponse)) {
|
|
86
|
+
throw new Error('Expected argument of type sport.selfValidationBetbyResponse');
|
|
87
|
+
}
|
|
88
|
+
return Buffer.from(arg.serializeBinary());
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function deserialize_sport_selfValidationBetbyResponse(buffer_arg) {
|
|
92
|
+
return sport_pb.selfValidationBetbyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
93
|
+
}
|
|
94
|
+
|
|
73
95
|
|
|
74
96
|
var SportService = exports.SportService = {
|
|
75
97
|
checkConnection: {
|
|
@@ -95,6 +117,28 @@ launchBetby: {
|
|
|
95
117
|
responseSerialize: serialize_sport_LaunchBetbyResponse,
|
|
96
118
|
responseDeserialize: deserialize_sport_LaunchBetbyResponse,
|
|
97
119
|
},
|
|
120
|
+
runSelfValidationBetby: {
|
|
121
|
+
path: '/sport.Sport/runSelfValidationBetby',
|
|
122
|
+
requestStream: false,
|
|
123
|
+
responseStream: false,
|
|
124
|
+
requestType: sport_pb.selfValidationBetbyRequest,
|
|
125
|
+
responseType: sport_pb.selfValidationBetbyResponse,
|
|
126
|
+
requestSerialize: serialize_sport_selfValidationBetbyRequest,
|
|
127
|
+
requestDeserialize: deserialize_sport_selfValidationBetbyRequest,
|
|
128
|
+
responseSerialize: serialize_sport_selfValidationBetbyResponse,
|
|
129
|
+
responseDeserialize: deserialize_sport_selfValidationBetbyResponse,
|
|
130
|
+
},
|
|
131
|
+
checkSelfValidationBetby: {
|
|
132
|
+
path: '/sport.Sport/checkSelfValidationBetby',
|
|
133
|
+
requestStream: false,
|
|
134
|
+
responseStream: false,
|
|
135
|
+
requestType: sport_pb.selfValidationBetbyRequest,
|
|
136
|
+
responseType: sport_pb.selfValidationBetbyResponse,
|
|
137
|
+
requestSerialize: serialize_sport_selfValidationBetbyRequest,
|
|
138
|
+
requestDeserialize: deserialize_sport_selfValidationBetbyRequest,
|
|
139
|
+
responseSerialize: serialize_sport_selfValidationBetbyResponse,
|
|
140
|
+
responseDeserialize: deserialize_sport_selfValidationBetbyResponse,
|
|
141
|
+
},
|
|
98
142
|
// Vendor
|
|
99
143
|
processedVendorActionCallback: {
|
|
100
144
|
path: '/sport.Sport/processedVendorActionCallback',
|
package/sport/sport_pb.js
CHANGED
|
@@ -28,6 +28,8 @@ goog.exportSymbol('proto.sport.PingRequest', null, global);
|
|
|
28
28
|
goog.exportSymbol('proto.sport.PongResponse', null, global);
|
|
29
29
|
goog.exportSymbol('proto.sport.VendorActionRequest', null, global);
|
|
30
30
|
goog.exportSymbol('proto.sport.VendorActionResponse', null, global);
|
|
31
|
+
goog.exportSymbol('proto.sport.selfValidationBetbyRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.sport.selfValidationBetbyResponse', null, global);
|
|
31
33
|
/**
|
|
32
34
|
* Generated by JsPbCodeGenerator.
|
|
33
35
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -175,6 +177,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
175
177
|
*/
|
|
176
178
|
proto.sport.VendorActionResponse.displayName = 'proto.sport.VendorActionResponse';
|
|
177
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* Generated by JsPbCodeGenerator.
|
|
182
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
183
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
184
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
185
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
186
|
+
* valid.
|
|
187
|
+
* @extends {jspb.Message}
|
|
188
|
+
* @constructor
|
|
189
|
+
*/
|
|
190
|
+
proto.sport.selfValidationBetbyRequest = function(opt_data) {
|
|
191
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
192
|
+
};
|
|
193
|
+
goog.inherits(proto.sport.selfValidationBetbyRequest, jspb.Message);
|
|
194
|
+
if (goog.DEBUG && !COMPILED) {
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
* @override
|
|
198
|
+
*/
|
|
199
|
+
proto.sport.selfValidationBetbyRequest.displayName = 'proto.sport.selfValidationBetbyRequest';
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Generated by JsPbCodeGenerator.
|
|
203
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
204
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
205
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
206
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
207
|
+
* valid.
|
|
208
|
+
* @extends {jspb.Message}
|
|
209
|
+
* @constructor
|
|
210
|
+
*/
|
|
211
|
+
proto.sport.selfValidationBetbyResponse = function(opt_data) {
|
|
212
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
213
|
+
};
|
|
214
|
+
goog.inherits(proto.sport.selfValidationBetbyResponse, jspb.Message);
|
|
215
|
+
if (goog.DEBUG && !COMPILED) {
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
* @override
|
|
219
|
+
*/
|
|
220
|
+
proto.sport.selfValidationBetbyResponse.displayName = 'proto.sport.selfValidationBetbyResponse';
|
|
221
|
+
}
|
|
178
222
|
|
|
179
223
|
|
|
180
224
|
|
|
@@ -675,13 +719,14 @@ proto.sport.LaunchBetbyRequest.prototype.toObject = function(opt_includeInstance
|
|
|
675
719
|
*/
|
|
676
720
|
proto.sport.LaunchBetbyRequest.toObject = function(includeInstance, msg) {
|
|
677
721
|
var f, obj = {
|
|
678
|
-
userId: jspb.Message.getFieldWithDefault(msg, 1,
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
722
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
723
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
724
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
725
|
+
language: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
726
|
+
returnUrl: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
727
|
+
clientIp: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
728
|
+
playerName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
729
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
685
730
|
};
|
|
686
731
|
|
|
687
732
|
if (includeInstance) {
|
|
@@ -719,30 +764,34 @@ proto.sport.LaunchBetbyRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
719
764
|
var field = reader.getFieldNumber();
|
|
720
765
|
switch (field) {
|
|
721
766
|
case 1:
|
|
722
|
-
var value = /** @type {
|
|
767
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
723
768
|
msg.setUserId(value);
|
|
724
769
|
break;
|
|
725
770
|
case 2:
|
|
726
771
|
var value = /** @type {string} */ (reader.readString());
|
|
727
|
-
msg.
|
|
772
|
+
msg.setUserPublicId(value);
|
|
728
773
|
break;
|
|
729
774
|
case 3:
|
|
730
775
|
var value = /** @type {string} */ (reader.readString());
|
|
731
|
-
msg.
|
|
776
|
+
msg.setCurrency(value);
|
|
732
777
|
break;
|
|
733
778
|
case 4:
|
|
734
779
|
var value = /** @type {string} */ (reader.readString());
|
|
735
|
-
msg.
|
|
780
|
+
msg.setLanguage(value);
|
|
736
781
|
break;
|
|
737
782
|
case 5:
|
|
738
783
|
var value = /** @type {string} */ (reader.readString());
|
|
739
|
-
msg.
|
|
784
|
+
msg.setReturnUrl(value);
|
|
740
785
|
break;
|
|
741
786
|
case 6:
|
|
742
787
|
var value = /** @type {string} */ (reader.readString());
|
|
743
|
-
msg.
|
|
788
|
+
msg.setClientIp(value);
|
|
744
789
|
break;
|
|
745
790
|
case 7:
|
|
791
|
+
var value = /** @type {string} */ (reader.readString());
|
|
792
|
+
msg.setPlayerName(value);
|
|
793
|
+
break;
|
|
794
|
+
case 8:
|
|
746
795
|
var value = /** @type {string} */ (reader.readString());
|
|
747
796
|
msg.setSessionId(value);
|
|
748
797
|
break;
|
|
@@ -775,9 +824,9 @@ proto.sport.LaunchBetbyRequest.prototype.serializeBinary = function() {
|
|
|
775
824
|
*/
|
|
776
825
|
proto.sport.LaunchBetbyRequest.serializeBinaryToWriter = function(message, writer) {
|
|
777
826
|
var f = undefined;
|
|
778
|
-
f = /** @type {
|
|
827
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
779
828
|
if (f != null) {
|
|
780
|
-
writer.
|
|
829
|
+
writer.writeInt32(
|
|
781
830
|
1,
|
|
782
831
|
f
|
|
783
832
|
);
|
|
@@ -824,20 +873,27 @@ proto.sport.LaunchBetbyRequest.serializeBinaryToWriter = function(message, write
|
|
|
824
873
|
f
|
|
825
874
|
);
|
|
826
875
|
}
|
|
876
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
877
|
+
if (f != null) {
|
|
878
|
+
writer.writeString(
|
|
879
|
+
8,
|
|
880
|
+
f
|
|
881
|
+
);
|
|
882
|
+
}
|
|
827
883
|
};
|
|
828
884
|
|
|
829
885
|
|
|
830
886
|
/**
|
|
831
|
-
* optional
|
|
832
|
-
* @return {
|
|
887
|
+
* optional int32 user_id = 1;
|
|
888
|
+
* @return {number}
|
|
833
889
|
*/
|
|
834
890
|
proto.sport.LaunchBetbyRequest.prototype.getUserId = function() {
|
|
835
|
-
return /** @type {
|
|
891
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
836
892
|
};
|
|
837
893
|
|
|
838
894
|
|
|
839
895
|
/**
|
|
840
|
-
* @param {
|
|
896
|
+
* @param {number} value
|
|
841
897
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
842
898
|
*/
|
|
843
899
|
proto.sport.LaunchBetbyRequest.prototype.setUserId = function(value) {
|
|
@@ -864,10 +920,10 @@ proto.sport.LaunchBetbyRequest.prototype.hasUserId = function() {
|
|
|
864
920
|
|
|
865
921
|
|
|
866
922
|
/**
|
|
867
|
-
* optional string
|
|
923
|
+
* optional string user_public_id = 2;
|
|
868
924
|
* @return {string}
|
|
869
925
|
*/
|
|
870
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
926
|
+
proto.sport.LaunchBetbyRequest.prototype.getUserPublicId = function() {
|
|
871
927
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
872
928
|
};
|
|
873
929
|
|
|
@@ -876,7 +932,7 @@ proto.sport.LaunchBetbyRequest.prototype.getCurrency = function() {
|
|
|
876
932
|
* @param {string} value
|
|
877
933
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
878
934
|
*/
|
|
879
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
935
|
+
proto.sport.LaunchBetbyRequest.prototype.setUserPublicId = function(value) {
|
|
880
936
|
return jspb.Message.setField(this, 2, value);
|
|
881
937
|
};
|
|
882
938
|
|
|
@@ -885,7 +941,7 @@ proto.sport.LaunchBetbyRequest.prototype.setCurrency = function(value) {
|
|
|
885
941
|
* Clears the field making it undefined.
|
|
886
942
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
887
943
|
*/
|
|
888
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
944
|
+
proto.sport.LaunchBetbyRequest.prototype.clearUserPublicId = function() {
|
|
889
945
|
return jspb.Message.setField(this, 2, undefined);
|
|
890
946
|
};
|
|
891
947
|
|
|
@@ -894,16 +950,16 @@ proto.sport.LaunchBetbyRequest.prototype.clearCurrency = function() {
|
|
|
894
950
|
* Returns whether this field is set.
|
|
895
951
|
* @return {boolean}
|
|
896
952
|
*/
|
|
897
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
953
|
+
proto.sport.LaunchBetbyRequest.prototype.hasUserPublicId = function() {
|
|
898
954
|
return jspb.Message.getField(this, 2) != null;
|
|
899
955
|
};
|
|
900
956
|
|
|
901
957
|
|
|
902
958
|
/**
|
|
903
|
-
* optional string
|
|
959
|
+
* optional string currency = 3;
|
|
904
960
|
* @return {string}
|
|
905
961
|
*/
|
|
906
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
962
|
+
proto.sport.LaunchBetbyRequest.prototype.getCurrency = function() {
|
|
907
963
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
908
964
|
};
|
|
909
965
|
|
|
@@ -912,7 +968,7 @@ proto.sport.LaunchBetbyRequest.prototype.getLanguage = function() {
|
|
|
912
968
|
* @param {string} value
|
|
913
969
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
914
970
|
*/
|
|
915
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
971
|
+
proto.sport.LaunchBetbyRequest.prototype.setCurrency = function(value) {
|
|
916
972
|
return jspb.Message.setField(this, 3, value);
|
|
917
973
|
};
|
|
918
974
|
|
|
@@ -921,7 +977,7 @@ proto.sport.LaunchBetbyRequest.prototype.setLanguage = function(value) {
|
|
|
921
977
|
* Clears the field making it undefined.
|
|
922
978
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
923
979
|
*/
|
|
924
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
980
|
+
proto.sport.LaunchBetbyRequest.prototype.clearCurrency = function() {
|
|
925
981
|
return jspb.Message.setField(this, 3, undefined);
|
|
926
982
|
};
|
|
927
983
|
|
|
@@ -930,16 +986,16 @@ proto.sport.LaunchBetbyRequest.prototype.clearLanguage = function() {
|
|
|
930
986
|
* Returns whether this field is set.
|
|
931
987
|
* @return {boolean}
|
|
932
988
|
*/
|
|
933
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
989
|
+
proto.sport.LaunchBetbyRequest.prototype.hasCurrency = function() {
|
|
934
990
|
return jspb.Message.getField(this, 3) != null;
|
|
935
991
|
};
|
|
936
992
|
|
|
937
993
|
|
|
938
994
|
/**
|
|
939
|
-
* optional string
|
|
995
|
+
* optional string language = 4;
|
|
940
996
|
* @return {string}
|
|
941
997
|
*/
|
|
942
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
998
|
+
proto.sport.LaunchBetbyRequest.prototype.getLanguage = function() {
|
|
943
999
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
944
1000
|
};
|
|
945
1001
|
|
|
@@ -948,7 +1004,7 @@ proto.sport.LaunchBetbyRequest.prototype.getReturnUrl = function() {
|
|
|
948
1004
|
* @param {string} value
|
|
949
1005
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
950
1006
|
*/
|
|
951
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1007
|
+
proto.sport.LaunchBetbyRequest.prototype.setLanguage = function(value) {
|
|
952
1008
|
return jspb.Message.setField(this, 4, value);
|
|
953
1009
|
};
|
|
954
1010
|
|
|
@@ -957,7 +1013,7 @@ proto.sport.LaunchBetbyRequest.prototype.setReturnUrl = function(value) {
|
|
|
957
1013
|
* Clears the field making it undefined.
|
|
958
1014
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
959
1015
|
*/
|
|
960
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1016
|
+
proto.sport.LaunchBetbyRequest.prototype.clearLanguage = function() {
|
|
961
1017
|
return jspb.Message.setField(this, 4, undefined);
|
|
962
1018
|
};
|
|
963
1019
|
|
|
@@ -966,16 +1022,16 @@ proto.sport.LaunchBetbyRequest.prototype.clearReturnUrl = function() {
|
|
|
966
1022
|
* Returns whether this field is set.
|
|
967
1023
|
* @return {boolean}
|
|
968
1024
|
*/
|
|
969
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1025
|
+
proto.sport.LaunchBetbyRequest.prototype.hasLanguage = function() {
|
|
970
1026
|
return jspb.Message.getField(this, 4) != null;
|
|
971
1027
|
};
|
|
972
1028
|
|
|
973
1029
|
|
|
974
1030
|
/**
|
|
975
|
-
* optional string
|
|
1031
|
+
* optional string return_url = 5;
|
|
976
1032
|
* @return {string}
|
|
977
1033
|
*/
|
|
978
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1034
|
+
proto.sport.LaunchBetbyRequest.prototype.getReturnUrl = function() {
|
|
979
1035
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
980
1036
|
};
|
|
981
1037
|
|
|
@@ -984,7 +1040,7 @@ proto.sport.LaunchBetbyRequest.prototype.getClientIp = function() {
|
|
|
984
1040
|
* @param {string} value
|
|
985
1041
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
986
1042
|
*/
|
|
987
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1043
|
+
proto.sport.LaunchBetbyRequest.prototype.setReturnUrl = function(value) {
|
|
988
1044
|
return jspb.Message.setField(this, 5, value);
|
|
989
1045
|
};
|
|
990
1046
|
|
|
@@ -993,7 +1049,7 @@ proto.sport.LaunchBetbyRequest.prototype.setClientIp = function(value) {
|
|
|
993
1049
|
* Clears the field making it undefined.
|
|
994
1050
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
995
1051
|
*/
|
|
996
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1052
|
+
proto.sport.LaunchBetbyRequest.prototype.clearReturnUrl = function() {
|
|
997
1053
|
return jspb.Message.setField(this, 5, undefined);
|
|
998
1054
|
};
|
|
999
1055
|
|
|
@@ -1002,16 +1058,16 @@ proto.sport.LaunchBetbyRequest.prototype.clearClientIp = function() {
|
|
|
1002
1058
|
* Returns whether this field is set.
|
|
1003
1059
|
* @return {boolean}
|
|
1004
1060
|
*/
|
|
1005
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1061
|
+
proto.sport.LaunchBetbyRequest.prototype.hasReturnUrl = function() {
|
|
1006
1062
|
return jspb.Message.getField(this, 5) != null;
|
|
1007
1063
|
};
|
|
1008
1064
|
|
|
1009
1065
|
|
|
1010
1066
|
/**
|
|
1011
|
-
* optional string
|
|
1067
|
+
* optional string client_ip = 6;
|
|
1012
1068
|
* @return {string}
|
|
1013
1069
|
*/
|
|
1014
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1070
|
+
proto.sport.LaunchBetbyRequest.prototype.getClientIp = function() {
|
|
1015
1071
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1016
1072
|
};
|
|
1017
1073
|
|
|
@@ -1020,7 +1076,7 @@ proto.sport.LaunchBetbyRequest.prototype.getPlayerName = function() {
|
|
|
1020
1076
|
* @param {string} value
|
|
1021
1077
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1022
1078
|
*/
|
|
1023
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1079
|
+
proto.sport.LaunchBetbyRequest.prototype.setClientIp = function(value) {
|
|
1024
1080
|
return jspb.Message.setField(this, 6, value);
|
|
1025
1081
|
};
|
|
1026
1082
|
|
|
@@ -1029,7 +1085,7 @@ proto.sport.LaunchBetbyRequest.prototype.setPlayerName = function(value) {
|
|
|
1029
1085
|
* Clears the field making it undefined.
|
|
1030
1086
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1031
1087
|
*/
|
|
1032
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1088
|
+
proto.sport.LaunchBetbyRequest.prototype.clearClientIp = function() {
|
|
1033
1089
|
return jspb.Message.setField(this, 6, undefined);
|
|
1034
1090
|
};
|
|
1035
1091
|
|
|
@@ -1038,16 +1094,16 @@ proto.sport.LaunchBetbyRequest.prototype.clearPlayerName = function() {
|
|
|
1038
1094
|
* Returns whether this field is set.
|
|
1039
1095
|
* @return {boolean}
|
|
1040
1096
|
*/
|
|
1041
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1097
|
+
proto.sport.LaunchBetbyRequest.prototype.hasClientIp = function() {
|
|
1042
1098
|
return jspb.Message.getField(this, 6) != null;
|
|
1043
1099
|
};
|
|
1044
1100
|
|
|
1045
1101
|
|
|
1046
1102
|
/**
|
|
1047
|
-
* optional string
|
|
1103
|
+
* optional string player_name = 7;
|
|
1048
1104
|
* @return {string}
|
|
1049
1105
|
*/
|
|
1050
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1106
|
+
proto.sport.LaunchBetbyRequest.prototype.getPlayerName = function() {
|
|
1051
1107
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1052
1108
|
};
|
|
1053
1109
|
|
|
@@ -1056,7 +1112,7 @@ proto.sport.LaunchBetbyRequest.prototype.getSessionId = function() {
|
|
|
1056
1112
|
* @param {string} value
|
|
1057
1113
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1058
1114
|
*/
|
|
1059
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1115
|
+
proto.sport.LaunchBetbyRequest.prototype.setPlayerName = function(value) {
|
|
1060
1116
|
return jspb.Message.setField(this, 7, value);
|
|
1061
1117
|
};
|
|
1062
1118
|
|
|
@@ -1065,7 +1121,7 @@ proto.sport.LaunchBetbyRequest.prototype.setSessionId = function(value) {
|
|
|
1065
1121
|
* Clears the field making it undefined.
|
|
1066
1122
|
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1067
1123
|
*/
|
|
1068
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1124
|
+
proto.sport.LaunchBetbyRequest.prototype.clearPlayerName = function() {
|
|
1069
1125
|
return jspb.Message.setField(this, 7, undefined);
|
|
1070
1126
|
};
|
|
1071
1127
|
|
|
@@ -1074,11 +1130,47 @@ proto.sport.LaunchBetbyRequest.prototype.clearSessionId = function() {
|
|
|
1074
1130
|
* Returns whether this field is set.
|
|
1075
1131
|
* @return {boolean}
|
|
1076
1132
|
*/
|
|
1077
|
-
proto.sport.LaunchBetbyRequest.prototype.
|
|
1133
|
+
proto.sport.LaunchBetbyRequest.prototype.hasPlayerName = function() {
|
|
1078
1134
|
return jspb.Message.getField(this, 7) != null;
|
|
1079
1135
|
};
|
|
1080
1136
|
|
|
1081
1137
|
|
|
1138
|
+
/**
|
|
1139
|
+
* optional string session_id = 8;
|
|
1140
|
+
* @return {string}
|
|
1141
|
+
*/
|
|
1142
|
+
proto.sport.LaunchBetbyRequest.prototype.getSessionId = function() {
|
|
1143
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* @param {string} value
|
|
1149
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1150
|
+
*/
|
|
1151
|
+
proto.sport.LaunchBetbyRequest.prototype.setSessionId = function(value) {
|
|
1152
|
+
return jspb.Message.setField(this, 8, value);
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Clears the field making it undefined.
|
|
1158
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1159
|
+
*/
|
|
1160
|
+
proto.sport.LaunchBetbyRequest.prototype.clearSessionId = function() {
|
|
1161
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
1162
|
+
};
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Returns whether this field is set.
|
|
1167
|
+
* @return {boolean}
|
|
1168
|
+
*/
|
|
1169
|
+
proto.sport.LaunchBetbyRequest.prototype.hasSessionId = function() {
|
|
1170
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
|
|
1082
1174
|
|
|
1083
1175
|
|
|
1084
1176
|
|
|
@@ -1517,4 +1609,426 @@ proto.sport.VendorActionResponse.prototype.setData = function(value) {
|
|
|
1517
1609
|
};
|
|
1518
1610
|
|
|
1519
1611
|
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1616
|
+
/**
|
|
1617
|
+
* Creates an object representation of this proto.
|
|
1618
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1619
|
+
* Optional fields that are not set will be set to undefined.
|
|
1620
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1621
|
+
* For the list of reserved names please see:
|
|
1622
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1623
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1624
|
+
* JSPB instance for transitional soy proto support:
|
|
1625
|
+
* http://goto/soy-param-migration
|
|
1626
|
+
* @return {!Object}
|
|
1627
|
+
*/
|
|
1628
|
+
proto.sport.selfValidationBetbyRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1629
|
+
return proto.sport.selfValidationBetbyRequest.toObject(opt_includeInstance, this);
|
|
1630
|
+
};
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* Static version of the {@see toObject} method.
|
|
1635
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1636
|
+
* the JSPB instance for transitional soy proto support:
|
|
1637
|
+
* http://goto/soy-param-migration
|
|
1638
|
+
* @param {!proto.sport.selfValidationBetbyRequest} msg The msg instance to transform.
|
|
1639
|
+
* @return {!Object}
|
|
1640
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1641
|
+
*/
|
|
1642
|
+
proto.sport.selfValidationBetbyRequest.toObject = function(includeInstance, msg) {
|
|
1643
|
+
var f, obj = {
|
|
1644
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1645
|
+
playerId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1646
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1647
|
+
taskId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
if (includeInstance) {
|
|
1651
|
+
obj.$jspbMessageInstance = msg;
|
|
1652
|
+
}
|
|
1653
|
+
return obj;
|
|
1654
|
+
};
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1660
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1661
|
+
* @return {!proto.sport.selfValidationBetbyRequest}
|
|
1662
|
+
*/
|
|
1663
|
+
proto.sport.selfValidationBetbyRequest.deserializeBinary = function(bytes) {
|
|
1664
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1665
|
+
var msg = new proto.sport.selfValidationBetbyRequest;
|
|
1666
|
+
return proto.sport.selfValidationBetbyRequest.deserializeBinaryFromReader(msg, reader);
|
|
1667
|
+
};
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1672
|
+
* given reader into the given message object.
|
|
1673
|
+
* @param {!proto.sport.selfValidationBetbyRequest} msg The message object to deserialize into.
|
|
1674
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1675
|
+
* @return {!proto.sport.selfValidationBetbyRequest}
|
|
1676
|
+
*/
|
|
1677
|
+
proto.sport.selfValidationBetbyRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1678
|
+
while (reader.nextField()) {
|
|
1679
|
+
if (reader.isEndGroup()) {
|
|
1680
|
+
break;
|
|
1681
|
+
}
|
|
1682
|
+
var field = reader.getFieldNumber();
|
|
1683
|
+
switch (field) {
|
|
1684
|
+
case 1:
|
|
1685
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1686
|
+
msg.setSessionId(value);
|
|
1687
|
+
break;
|
|
1688
|
+
case 2:
|
|
1689
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1690
|
+
msg.setPlayerId(value);
|
|
1691
|
+
break;
|
|
1692
|
+
case 3:
|
|
1693
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1694
|
+
msg.setCurrency(value);
|
|
1695
|
+
break;
|
|
1696
|
+
case 4:
|
|
1697
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1698
|
+
msg.setTaskId(value);
|
|
1699
|
+
break;
|
|
1700
|
+
default:
|
|
1701
|
+
reader.skipField();
|
|
1702
|
+
break;
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
return msg;
|
|
1706
|
+
};
|
|
1707
|
+
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1711
|
+
* @return {!Uint8Array}
|
|
1712
|
+
*/
|
|
1713
|
+
proto.sport.selfValidationBetbyRequest.prototype.serializeBinary = function() {
|
|
1714
|
+
var writer = new jspb.BinaryWriter();
|
|
1715
|
+
proto.sport.selfValidationBetbyRequest.serializeBinaryToWriter(this, writer);
|
|
1716
|
+
return writer.getResultBuffer();
|
|
1717
|
+
};
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1722
|
+
* format), writing to the given BinaryWriter.
|
|
1723
|
+
* @param {!proto.sport.selfValidationBetbyRequest} message
|
|
1724
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1725
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1726
|
+
*/
|
|
1727
|
+
proto.sport.selfValidationBetbyRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1728
|
+
var f = undefined;
|
|
1729
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
1730
|
+
if (f != null) {
|
|
1731
|
+
writer.writeString(
|
|
1732
|
+
1,
|
|
1733
|
+
f
|
|
1734
|
+
);
|
|
1735
|
+
}
|
|
1736
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
1737
|
+
if (f != null) {
|
|
1738
|
+
writer.writeString(
|
|
1739
|
+
2,
|
|
1740
|
+
f
|
|
1741
|
+
);
|
|
1742
|
+
}
|
|
1743
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1744
|
+
if (f != null) {
|
|
1745
|
+
writer.writeString(
|
|
1746
|
+
3,
|
|
1747
|
+
f
|
|
1748
|
+
);
|
|
1749
|
+
}
|
|
1750
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
1751
|
+
if (f != null) {
|
|
1752
|
+
writer.writeString(
|
|
1753
|
+
4,
|
|
1754
|
+
f
|
|
1755
|
+
);
|
|
1756
|
+
}
|
|
1757
|
+
};
|
|
1758
|
+
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* optional string session_id = 1;
|
|
1762
|
+
* @return {string}
|
|
1763
|
+
*/
|
|
1764
|
+
proto.sport.selfValidationBetbyRequest.prototype.getSessionId = function() {
|
|
1765
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1766
|
+
};
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* @param {string} value
|
|
1771
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
1772
|
+
*/
|
|
1773
|
+
proto.sport.selfValidationBetbyRequest.prototype.setSessionId = function(value) {
|
|
1774
|
+
return jspb.Message.setField(this, 1, value);
|
|
1775
|
+
};
|
|
1776
|
+
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* Clears the field making it undefined.
|
|
1780
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
1781
|
+
*/
|
|
1782
|
+
proto.sport.selfValidationBetbyRequest.prototype.clearSessionId = function() {
|
|
1783
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
/**
|
|
1788
|
+
* Returns whether this field is set.
|
|
1789
|
+
* @return {boolean}
|
|
1790
|
+
*/
|
|
1791
|
+
proto.sport.selfValidationBetbyRequest.prototype.hasSessionId = function() {
|
|
1792
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* optional string player_id = 2;
|
|
1798
|
+
* @return {string}
|
|
1799
|
+
*/
|
|
1800
|
+
proto.sport.selfValidationBetbyRequest.prototype.getPlayerId = function() {
|
|
1801
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1802
|
+
};
|
|
1803
|
+
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* @param {string} value
|
|
1807
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
1808
|
+
*/
|
|
1809
|
+
proto.sport.selfValidationBetbyRequest.prototype.setPlayerId = function(value) {
|
|
1810
|
+
return jspb.Message.setField(this, 2, value);
|
|
1811
|
+
};
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
/**
|
|
1815
|
+
* Clears the field making it undefined.
|
|
1816
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
1817
|
+
*/
|
|
1818
|
+
proto.sport.selfValidationBetbyRequest.prototype.clearPlayerId = function() {
|
|
1819
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
1820
|
+
};
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* Returns whether this field is set.
|
|
1825
|
+
* @return {boolean}
|
|
1826
|
+
*/
|
|
1827
|
+
proto.sport.selfValidationBetbyRequest.prototype.hasPlayerId = function() {
|
|
1828
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* optional string currency = 3;
|
|
1834
|
+
* @return {string}
|
|
1835
|
+
*/
|
|
1836
|
+
proto.sport.selfValidationBetbyRequest.prototype.getCurrency = function() {
|
|
1837
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* @param {string} value
|
|
1843
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
1844
|
+
*/
|
|
1845
|
+
proto.sport.selfValidationBetbyRequest.prototype.setCurrency = function(value) {
|
|
1846
|
+
return jspb.Message.setField(this, 3, value);
|
|
1847
|
+
};
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* Clears the field making it undefined.
|
|
1852
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
1853
|
+
*/
|
|
1854
|
+
proto.sport.selfValidationBetbyRequest.prototype.clearCurrency = function() {
|
|
1855
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* Returns whether this field is set.
|
|
1861
|
+
* @return {boolean}
|
|
1862
|
+
*/
|
|
1863
|
+
proto.sport.selfValidationBetbyRequest.prototype.hasCurrency = function() {
|
|
1864
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1865
|
+
};
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* optional string task_id = 4;
|
|
1870
|
+
* @return {string}
|
|
1871
|
+
*/
|
|
1872
|
+
proto.sport.selfValidationBetbyRequest.prototype.getTaskId = function() {
|
|
1873
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1874
|
+
};
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* @param {string} value
|
|
1879
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
1880
|
+
*/
|
|
1881
|
+
proto.sport.selfValidationBetbyRequest.prototype.setTaskId = function(value) {
|
|
1882
|
+
return jspb.Message.setField(this, 4, value);
|
|
1883
|
+
};
|
|
1884
|
+
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* Clears the field making it undefined.
|
|
1888
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
1889
|
+
*/
|
|
1890
|
+
proto.sport.selfValidationBetbyRequest.prototype.clearTaskId = function() {
|
|
1891
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
1892
|
+
};
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* Returns whether this field is set.
|
|
1897
|
+
* @return {boolean}
|
|
1898
|
+
*/
|
|
1899
|
+
proto.sport.selfValidationBetbyRequest.prototype.hasTaskId = function() {
|
|
1900
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1901
|
+
};
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1908
|
+
/**
|
|
1909
|
+
* Creates an object representation of this proto.
|
|
1910
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1911
|
+
* Optional fields that are not set will be set to undefined.
|
|
1912
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1913
|
+
* For the list of reserved names please see:
|
|
1914
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1915
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1916
|
+
* JSPB instance for transitional soy proto support:
|
|
1917
|
+
* http://goto/soy-param-migration
|
|
1918
|
+
* @return {!Object}
|
|
1919
|
+
*/
|
|
1920
|
+
proto.sport.selfValidationBetbyResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1921
|
+
return proto.sport.selfValidationBetbyResponse.toObject(opt_includeInstance, this);
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* Static version of the {@see toObject} method.
|
|
1927
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1928
|
+
* the JSPB instance for transitional soy proto support:
|
|
1929
|
+
* http://goto/soy-param-migration
|
|
1930
|
+
* @param {!proto.sport.selfValidationBetbyResponse} msg The msg instance to transform.
|
|
1931
|
+
* @return {!Object}
|
|
1932
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1933
|
+
*/
|
|
1934
|
+
proto.sport.selfValidationBetbyResponse.toObject = function(includeInstance, msg) {
|
|
1935
|
+
var f, obj = {
|
|
1936
|
+
result: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1937
|
+
};
|
|
1938
|
+
|
|
1939
|
+
if (includeInstance) {
|
|
1940
|
+
obj.$jspbMessageInstance = msg;
|
|
1941
|
+
}
|
|
1942
|
+
return obj;
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1949
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1950
|
+
* @return {!proto.sport.selfValidationBetbyResponse}
|
|
1951
|
+
*/
|
|
1952
|
+
proto.sport.selfValidationBetbyResponse.deserializeBinary = function(bytes) {
|
|
1953
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1954
|
+
var msg = new proto.sport.selfValidationBetbyResponse;
|
|
1955
|
+
return proto.sport.selfValidationBetbyResponse.deserializeBinaryFromReader(msg, reader);
|
|
1956
|
+
};
|
|
1957
|
+
|
|
1958
|
+
|
|
1959
|
+
/**
|
|
1960
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1961
|
+
* given reader into the given message object.
|
|
1962
|
+
* @param {!proto.sport.selfValidationBetbyResponse} msg The message object to deserialize into.
|
|
1963
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1964
|
+
* @return {!proto.sport.selfValidationBetbyResponse}
|
|
1965
|
+
*/
|
|
1966
|
+
proto.sport.selfValidationBetbyResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1967
|
+
while (reader.nextField()) {
|
|
1968
|
+
if (reader.isEndGroup()) {
|
|
1969
|
+
break;
|
|
1970
|
+
}
|
|
1971
|
+
var field = reader.getFieldNumber();
|
|
1972
|
+
switch (field) {
|
|
1973
|
+
case 1:
|
|
1974
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1975
|
+
msg.setResult(value);
|
|
1976
|
+
break;
|
|
1977
|
+
default:
|
|
1978
|
+
reader.skipField();
|
|
1979
|
+
break;
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
return msg;
|
|
1983
|
+
};
|
|
1984
|
+
|
|
1985
|
+
|
|
1986
|
+
/**
|
|
1987
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1988
|
+
* @return {!Uint8Array}
|
|
1989
|
+
*/
|
|
1990
|
+
proto.sport.selfValidationBetbyResponse.prototype.serializeBinary = function() {
|
|
1991
|
+
var writer = new jspb.BinaryWriter();
|
|
1992
|
+
proto.sport.selfValidationBetbyResponse.serializeBinaryToWriter(this, writer);
|
|
1993
|
+
return writer.getResultBuffer();
|
|
1994
|
+
};
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1999
|
+
* format), writing to the given BinaryWriter.
|
|
2000
|
+
* @param {!proto.sport.selfValidationBetbyResponse} message
|
|
2001
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2002
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2003
|
+
*/
|
|
2004
|
+
proto.sport.selfValidationBetbyResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2005
|
+
var f = undefined;
|
|
2006
|
+
f = message.getResult();
|
|
2007
|
+
if (f.length > 0) {
|
|
2008
|
+
writer.writeString(
|
|
2009
|
+
1,
|
|
2010
|
+
f
|
|
2011
|
+
);
|
|
2012
|
+
}
|
|
2013
|
+
};
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
/**
|
|
2017
|
+
* optional string result = 1;
|
|
2018
|
+
* @return {string}
|
|
2019
|
+
*/
|
|
2020
|
+
proto.sport.selfValidationBetbyResponse.prototype.getResult = function() {
|
|
2021
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2022
|
+
};
|
|
2023
|
+
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* @param {string} value
|
|
2027
|
+
* @return {!proto.sport.selfValidationBetbyResponse} returns this
|
|
2028
|
+
*/
|
|
2029
|
+
proto.sport.selfValidationBetbyResponse.prototype.setResult = function(value) {
|
|
2030
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2031
|
+
};
|
|
2032
|
+
|
|
2033
|
+
|
|
1520
2034
|
goog.object.extend(exports, proto.sport);
|
package/user/user.proto
CHANGED
|
@@ -9,6 +9,7 @@ service User {
|
|
|
9
9
|
rpc signIn(LoginRequest) returns (LoggedInResponse);
|
|
10
10
|
rpc getUserData(UserDataRequest) returns (UserDataResponse);
|
|
11
11
|
rpc getUserBalance(UserDataRequest) returns (UserDataResponse);
|
|
12
|
+
rpc updateUserBalance(UserBalanceRequest) returns (UserDataResponse);
|
|
12
13
|
//Role and Permissions
|
|
13
14
|
rpc addPermissionToUserRole(RolePermissionRequest) returns (RolePermissionStatusResponse);
|
|
14
15
|
rpc rolesList(PaginationRequest) returns (RolesItemsResponse);
|
|
@@ -155,6 +156,11 @@ message UserDataRequest {
|
|
|
155
156
|
optional string requested_area = 2;
|
|
156
157
|
optional string public_id = 3;
|
|
157
158
|
}
|
|
159
|
+
message UserBalanceRequest {
|
|
160
|
+
int32 id = 1;
|
|
161
|
+
float amount = 2;
|
|
162
|
+
optional string balance_type = 3;
|
|
163
|
+
}
|
|
158
164
|
message UserPasswordRequest {
|
|
159
165
|
int32 id = 1;
|
|
160
166
|
string current_password = 2;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -466,6 +466,17 @@ function deserialize_user_UserActionResponse(buffer_arg) {
|
|
|
466
466
|
return user_pb.UserActionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
+
function serialize_user_UserBalanceRequest(arg) {
|
|
470
|
+
if (!(arg instanceof user_pb.UserBalanceRequest)) {
|
|
471
|
+
throw new Error('Expected argument of type user.UserBalanceRequest');
|
|
472
|
+
}
|
|
473
|
+
return Buffer.from(arg.serializeBinary());
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
function deserialize_user_UserBalanceRequest(buffer_arg) {
|
|
477
|
+
return user_pb.UserBalanceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
478
|
+
}
|
|
479
|
+
|
|
469
480
|
function serialize_user_UserCookiesRequest(arg) {
|
|
470
481
|
if (!(arg instanceof user_pb.UserCookiesRequest)) {
|
|
471
482
|
throw new Error('Expected argument of type user.UserCookiesRequest');
|
|
@@ -634,6 +645,17 @@ signUp: {
|
|
|
634
645
|
responseSerialize: serialize_user_UserDataResponse,
|
|
635
646
|
responseDeserialize: deserialize_user_UserDataResponse,
|
|
636
647
|
},
|
|
648
|
+
updateUserBalance: {
|
|
649
|
+
path: '/user.User/updateUserBalance',
|
|
650
|
+
requestStream: false,
|
|
651
|
+
responseStream: false,
|
|
652
|
+
requestType: user_pb.UserBalanceRequest,
|
|
653
|
+
responseType: user_pb.UserDataResponse,
|
|
654
|
+
requestSerialize: serialize_user_UserBalanceRequest,
|
|
655
|
+
requestDeserialize: deserialize_user_UserBalanceRequest,
|
|
656
|
+
responseSerialize: serialize_user_UserDataResponse,
|
|
657
|
+
responseDeserialize: deserialize_user_UserDataResponse,
|
|
658
|
+
},
|
|
637
659
|
// Role and Permissions
|
|
638
660
|
addPermissionToUserRole: {
|
|
639
661
|
path: '/user.User/addPermissionToUserRole',
|
package/user/user_pb.js
CHANGED
|
@@ -80,6 +80,7 @@ goog.exportSymbol('proto.user.SumSubResponse', null, global);
|
|
|
80
80
|
goog.exportSymbol('proto.user.TournamentRulesInfoResponse', null, global);
|
|
81
81
|
goog.exportSymbol('proto.user.UserActionRequest', null, global);
|
|
82
82
|
goog.exportSymbol('proto.user.UserActionResponse', null, global);
|
|
83
|
+
goog.exportSymbol('proto.user.UserBalanceRequest', null, global);
|
|
83
84
|
goog.exportSymbol('proto.user.UserCookiesRequest', null, global);
|
|
84
85
|
goog.exportSymbol('proto.user.UserDataRequest', null, global);
|
|
85
86
|
goog.exportSymbol('proto.user.UserDataResponse', null, global);
|
|
@@ -324,6 +325,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
324
325
|
*/
|
|
325
326
|
proto.user.UserDataRequest.displayName = 'proto.user.UserDataRequest';
|
|
326
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* Generated by JsPbCodeGenerator.
|
|
330
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
331
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
332
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
333
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
334
|
+
* valid.
|
|
335
|
+
* @extends {jspb.Message}
|
|
336
|
+
* @constructor
|
|
337
|
+
*/
|
|
338
|
+
proto.user.UserBalanceRequest = function(opt_data) {
|
|
339
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
340
|
+
};
|
|
341
|
+
goog.inherits(proto.user.UserBalanceRequest, jspb.Message);
|
|
342
|
+
if (goog.DEBUG && !COMPILED) {
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
* @override
|
|
346
|
+
*/
|
|
347
|
+
proto.user.UserBalanceRequest.displayName = 'proto.user.UserBalanceRequest';
|
|
348
|
+
}
|
|
327
349
|
/**
|
|
328
350
|
* Generated by JsPbCodeGenerator.
|
|
329
351
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5940,6 +5962,214 @@ proto.user.UserDataRequest.prototype.hasPublicId = function() {
|
|
|
5940
5962
|
|
|
5941
5963
|
|
|
5942
5964
|
|
|
5965
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5966
|
+
/**
|
|
5967
|
+
* Creates an object representation of this proto.
|
|
5968
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5969
|
+
* Optional fields that are not set will be set to undefined.
|
|
5970
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5971
|
+
* For the list of reserved names please see:
|
|
5972
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5973
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5974
|
+
* JSPB instance for transitional soy proto support:
|
|
5975
|
+
* http://goto/soy-param-migration
|
|
5976
|
+
* @return {!Object}
|
|
5977
|
+
*/
|
|
5978
|
+
proto.user.UserBalanceRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5979
|
+
return proto.user.UserBalanceRequest.toObject(opt_includeInstance, this);
|
|
5980
|
+
};
|
|
5981
|
+
|
|
5982
|
+
|
|
5983
|
+
/**
|
|
5984
|
+
* Static version of the {@see toObject} method.
|
|
5985
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5986
|
+
* the JSPB instance for transitional soy proto support:
|
|
5987
|
+
* http://goto/soy-param-migration
|
|
5988
|
+
* @param {!proto.user.UserBalanceRequest} msg The msg instance to transform.
|
|
5989
|
+
* @return {!Object}
|
|
5990
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5991
|
+
*/
|
|
5992
|
+
proto.user.UserBalanceRequest.toObject = function(includeInstance, msg) {
|
|
5993
|
+
var f, obj = {
|
|
5994
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5995
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
5996
|
+
balanceType: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5997
|
+
};
|
|
5998
|
+
|
|
5999
|
+
if (includeInstance) {
|
|
6000
|
+
obj.$jspbMessageInstance = msg;
|
|
6001
|
+
}
|
|
6002
|
+
return obj;
|
|
6003
|
+
};
|
|
6004
|
+
}
|
|
6005
|
+
|
|
6006
|
+
|
|
6007
|
+
/**
|
|
6008
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6009
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6010
|
+
* @return {!proto.user.UserBalanceRequest}
|
|
6011
|
+
*/
|
|
6012
|
+
proto.user.UserBalanceRequest.deserializeBinary = function(bytes) {
|
|
6013
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6014
|
+
var msg = new proto.user.UserBalanceRequest;
|
|
6015
|
+
return proto.user.UserBalanceRequest.deserializeBinaryFromReader(msg, reader);
|
|
6016
|
+
};
|
|
6017
|
+
|
|
6018
|
+
|
|
6019
|
+
/**
|
|
6020
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6021
|
+
* given reader into the given message object.
|
|
6022
|
+
* @param {!proto.user.UserBalanceRequest} msg The message object to deserialize into.
|
|
6023
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6024
|
+
* @return {!proto.user.UserBalanceRequest}
|
|
6025
|
+
*/
|
|
6026
|
+
proto.user.UserBalanceRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6027
|
+
while (reader.nextField()) {
|
|
6028
|
+
if (reader.isEndGroup()) {
|
|
6029
|
+
break;
|
|
6030
|
+
}
|
|
6031
|
+
var field = reader.getFieldNumber();
|
|
6032
|
+
switch (field) {
|
|
6033
|
+
case 1:
|
|
6034
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6035
|
+
msg.setId(value);
|
|
6036
|
+
break;
|
|
6037
|
+
case 2:
|
|
6038
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
6039
|
+
msg.setAmount(value);
|
|
6040
|
+
break;
|
|
6041
|
+
case 3:
|
|
6042
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6043
|
+
msg.setBalanceType(value);
|
|
6044
|
+
break;
|
|
6045
|
+
default:
|
|
6046
|
+
reader.skipField();
|
|
6047
|
+
break;
|
|
6048
|
+
}
|
|
6049
|
+
}
|
|
6050
|
+
return msg;
|
|
6051
|
+
};
|
|
6052
|
+
|
|
6053
|
+
|
|
6054
|
+
/**
|
|
6055
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6056
|
+
* @return {!Uint8Array}
|
|
6057
|
+
*/
|
|
6058
|
+
proto.user.UserBalanceRequest.prototype.serializeBinary = function() {
|
|
6059
|
+
var writer = new jspb.BinaryWriter();
|
|
6060
|
+
proto.user.UserBalanceRequest.serializeBinaryToWriter(this, writer);
|
|
6061
|
+
return writer.getResultBuffer();
|
|
6062
|
+
};
|
|
6063
|
+
|
|
6064
|
+
|
|
6065
|
+
/**
|
|
6066
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6067
|
+
* format), writing to the given BinaryWriter.
|
|
6068
|
+
* @param {!proto.user.UserBalanceRequest} message
|
|
6069
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6070
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6071
|
+
*/
|
|
6072
|
+
proto.user.UserBalanceRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6073
|
+
var f = undefined;
|
|
6074
|
+
f = message.getId();
|
|
6075
|
+
if (f !== 0) {
|
|
6076
|
+
writer.writeInt32(
|
|
6077
|
+
1,
|
|
6078
|
+
f
|
|
6079
|
+
);
|
|
6080
|
+
}
|
|
6081
|
+
f = message.getAmount();
|
|
6082
|
+
if (f !== 0.0) {
|
|
6083
|
+
writer.writeFloat(
|
|
6084
|
+
2,
|
|
6085
|
+
f
|
|
6086
|
+
);
|
|
6087
|
+
}
|
|
6088
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
6089
|
+
if (f != null) {
|
|
6090
|
+
writer.writeString(
|
|
6091
|
+
3,
|
|
6092
|
+
f
|
|
6093
|
+
);
|
|
6094
|
+
}
|
|
6095
|
+
};
|
|
6096
|
+
|
|
6097
|
+
|
|
6098
|
+
/**
|
|
6099
|
+
* optional int32 id = 1;
|
|
6100
|
+
* @return {number}
|
|
6101
|
+
*/
|
|
6102
|
+
proto.user.UserBalanceRequest.prototype.getId = function() {
|
|
6103
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6104
|
+
};
|
|
6105
|
+
|
|
6106
|
+
|
|
6107
|
+
/**
|
|
6108
|
+
* @param {number} value
|
|
6109
|
+
* @return {!proto.user.UserBalanceRequest} returns this
|
|
6110
|
+
*/
|
|
6111
|
+
proto.user.UserBalanceRequest.prototype.setId = function(value) {
|
|
6112
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6113
|
+
};
|
|
6114
|
+
|
|
6115
|
+
|
|
6116
|
+
/**
|
|
6117
|
+
* optional float amount = 2;
|
|
6118
|
+
* @return {number}
|
|
6119
|
+
*/
|
|
6120
|
+
proto.user.UserBalanceRequest.prototype.getAmount = function() {
|
|
6121
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
6122
|
+
};
|
|
6123
|
+
|
|
6124
|
+
|
|
6125
|
+
/**
|
|
6126
|
+
* @param {number} value
|
|
6127
|
+
* @return {!proto.user.UserBalanceRequest} returns this
|
|
6128
|
+
*/
|
|
6129
|
+
proto.user.UserBalanceRequest.prototype.setAmount = function(value) {
|
|
6130
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
6131
|
+
};
|
|
6132
|
+
|
|
6133
|
+
|
|
6134
|
+
/**
|
|
6135
|
+
* optional string balance_type = 3;
|
|
6136
|
+
* @return {string}
|
|
6137
|
+
*/
|
|
6138
|
+
proto.user.UserBalanceRequest.prototype.getBalanceType = function() {
|
|
6139
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6140
|
+
};
|
|
6141
|
+
|
|
6142
|
+
|
|
6143
|
+
/**
|
|
6144
|
+
* @param {string} value
|
|
6145
|
+
* @return {!proto.user.UserBalanceRequest} returns this
|
|
6146
|
+
*/
|
|
6147
|
+
proto.user.UserBalanceRequest.prototype.setBalanceType = function(value) {
|
|
6148
|
+
return jspb.Message.setField(this, 3, value);
|
|
6149
|
+
};
|
|
6150
|
+
|
|
6151
|
+
|
|
6152
|
+
/**
|
|
6153
|
+
* Clears the field making it undefined.
|
|
6154
|
+
* @return {!proto.user.UserBalanceRequest} returns this
|
|
6155
|
+
*/
|
|
6156
|
+
proto.user.UserBalanceRequest.prototype.clearBalanceType = function() {
|
|
6157
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6158
|
+
};
|
|
6159
|
+
|
|
6160
|
+
|
|
6161
|
+
/**
|
|
6162
|
+
* Returns whether this field is set.
|
|
6163
|
+
* @return {boolean}
|
|
6164
|
+
*/
|
|
6165
|
+
proto.user.UserBalanceRequest.prototype.hasBalanceType = function() {
|
|
6166
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6167
|
+
};
|
|
6168
|
+
|
|
6169
|
+
|
|
6170
|
+
|
|
6171
|
+
|
|
6172
|
+
|
|
5943
6173
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5944
6174
|
/**
|
|
5945
6175
|
* Creates an object representation of this proto.
|