protobuf-platform 1.2.688 → 1.2.689
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/game/game.proto +10 -0
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +387 -1
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -67,6 +67,7 @@ service Game {
|
|
|
67
67
|
rpc replaceProviderCutoverPlacements(ProviderCutoverRequest) returns (ProviderCutoverAcceptedResponse);
|
|
68
68
|
rpc startProviderDemoAvailabilityCheck(ProviderDemoAvailabilityCheckRequest) returns (ProviderDemoAvailabilityCheckAcceptedResponse);
|
|
69
69
|
rpc setProviderCurrencyManagerEnabled(SetProviderCurrencyManagerEnabledRequest) returns (ProviderCurrencyCapability);
|
|
70
|
+
rpc updateProviderCurrency(UpdateProviderCurrencyRequest) returns (ProviderCurrencyCapability);
|
|
70
71
|
//Games
|
|
71
72
|
rpc parseGames(ParseGamesRequest) returns (ParseGamesResponse);
|
|
72
73
|
rpc readSingleGame(GetGameRequest) returns (GameResponse);
|
|
@@ -495,12 +496,21 @@ message ProviderCurrencyCapability {
|
|
|
495
496
|
bool manager_enabled = 3;
|
|
496
497
|
bool effective_active = 4;
|
|
497
498
|
string effective_status = 5;
|
|
499
|
+
bool is_active = 6;
|
|
500
|
+
bool is_priority = 7;
|
|
498
501
|
}
|
|
499
502
|
message SetProviderCurrencyManagerEnabledRequest {
|
|
500
503
|
int32 provider_id = 1;
|
|
501
504
|
string currency = 2;
|
|
502
505
|
bool manager_enabled = 3;
|
|
503
506
|
}
|
|
507
|
+
message UpdateProviderCurrencyRequest {
|
|
508
|
+
int32 provider_id = 1;
|
|
509
|
+
string currency = 2;
|
|
510
|
+
optional bool is_active = 3;
|
|
511
|
+
optional bool manager_enabled = 4;
|
|
512
|
+
optional bool is_priority = 5;
|
|
513
|
+
}
|
|
504
514
|
//Provider CRUD | Requests
|
|
505
515
|
message ProviderRequest {
|
|
506
516
|
oneof request {
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -1555,6 +1555,17 @@ function deserialize_game_TournamentIdsRequest(buffer_arg) {
|
|
|
1555
1555
|
return game_pb.TournamentIdsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1556
1556
|
}
|
|
1557
1557
|
|
|
1558
|
+
function serialize_game_UpdateProviderCurrencyRequest(arg) {
|
|
1559
|
+
if (!(arg instanceof game_pb.UpdateProviderCurrencyRequest)) {
|
|
1560
|
+
throw new Error('Expected argument of type game.UpdateProviderCurrencyRequest');
|
|
1561
|
+
}
|
|
1562
|
+
return Buffer.from(arg.serializeBinary());
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
function deserialize_game_UpdateProviderCurrencyRequest(buffer_arg) {
|
|
1566
|
+
return game_pb.UpdateProviderCurrencyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1558
1569
|
function serialize_game_VendorActionRequest(arg) {
|
|
1559
1570
|
if (!(arg instanceof game_pb.VendorActionRequest)) {
|
|
1560
1571
|
throw new Error('Expected argument of type game.VendorActionRequest');
|
|
@@ -2278,6 +2289,17 @@ createSingleProvider: {
|
|
|
2278
2289
|
responseSerialize: serialize_game_ProviderCurrencyCapability,
|
|
2279
2290
|
responseDeserialize: deserialize_game_ProviderCurrencyCapability,
|
|
2280
2291
|
},
|
|
2292
|
+
updateProviderCurrency: {
|
|
2293
|
+
path: '/game.Game/updateProviderCurrency',
|
|
2294
|
+
requestStream: false,
|
|
2295
|
+
responseStream: false,
|
|
2296
|
+
requestType: game_pb.UpdateProviderCurrencyRequest,
|
|
2297
|
+
responseType: game_pb.ProviderCurrencyCapability,
|
|
2298
|
+
requestSerialize: serialize_game_UpdateProviderCurrencyRequest,
|
|
2299
|
+
requestDeserialize: deserialize_game_UpdateProviderCurrencyRequest,
|
|
2300
|
+
responseSerialize: serialize_game_ProviderCurrencyCapability,
|
|
2301
|
+
responseDeserialize: deserialize_game_ProviderCurrencyCapability,
|
|
2302
|
+
},
|
|
2281
2303
|
// Games
|
|
2282
2304
|
parseGames: {
|
|
2283
2305
|
path: '/game.Game/parseGames',
|
package/game/game_pb.js
CHANGED
|
@@ -224,6 +224,7 @@ goog.exportSymbol('proto.game.TournamentGamesRequest', null, global);
|
|
|
224
224
|
goog.exportSymbol('proto.game.TournamentGamesSearchRequest', null, global);
|
|
225
225
|
goog.exportSymbol('proto.game.TournamentIdsRequest', null, global);
|
|
226
226
|
goog.exportSymbol('proto.game.TournamentSearchRequest', null, global);
|
|
227
|
+
goog.exportSymbol('proto.game.UpdateProviderCurrencyRequest', null, global);
|
|
227
228
|
goog.exportSymbol('proto.game.UserBalanceGameSessionRequest', null, global);
|
|
228
229
|
goog.exportSymbol('proto.game.VendorActionRequest', null, global);
|
|
229
230
|
goog.exportSymbol('proto.game.VendorActionResponse', null, global);
|
|
@@ -1263,6 +1264,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1263
1264
|
*/
|
|
1264
1265
|
proto.game.SetProviderCurrencyManagerEnabledRequest.displayName = 'proto.game.SetProviderCurrencyManagerEnabledRequest';
|
|
1265
1266
|
}
|
|
1267
|
+
/**
|
|
1268
|
+
* Generated by JsPbCodeGenerator.
|
|
1269
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1270
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1271
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1272
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1273
|
+
* valid.
|
|
1274
|
+
* @extends {jspb.Message}
|
|
1275
|
+
* @constructor
|
|
1276
|
+
*/
|
|
1277
|
+
proto.game.UpdateProviderCurrencyRequest = function(opt_data) {
|
|
1278
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1279
|
+
};
|
|
1280
|
+
goog.inherits(proto.game.UpdateProviderCurrencyRequest, jspb.Message);
|
|
1281
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1282
|
+
/**
|
|
1283
|
+
* @public
|
|
1284
|
+
* @override
|
|
1285
|
+
*/
|
|
1286
|
+
proto.game.UpdateProviderCurrencyRequest.displayName = 'proto.game.UpdateProviderCurrencyRequest';
|
|
1287
|
+
}
|
|
1266
1288
|
/**
|
|
1267
1289
|
* Generated by JsPbCodeGenerator.
|
|
1268
1290
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -19400,7 +19422,9 @@ proto.game.ProviderCurrencyCapability.toObject = function(includeInstance, msg)
|
|
|
19400
19422
|
providerSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
19401
19423
|
managerEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
19402
19424
|
effectiveActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
19403
|
-
effectiveStatus: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
19425
|
+
effectiveStatus: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
19426
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
19427
|
+
isPriority: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
19404
19428
|
};
|
|
19405
19429
|
|
|
19406
19430
|
if (includeInstance) {
|
|
@@ -19457,6 +19481,14 @@ proto.game.ProviderCurrencyCapability.deserializeBinaryFromReader = function(msg
|
|
|
19457
19481
|
var value = /** @type {string} */ (reader.readString());
|
|
19458
19482
|
msg.setEffectiveStatus(value);
|
|
19459
19483
|
break;
|
|
19484
|
+
case 6:
|
|
19485
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19486
|
+
msg.setIsActive(value);
|
|
19487
|
+
break;
|
|
19488
|
+
case 7:
|
|
19489
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19490
|
+
msg.setIsPriority(value);
|
|
19491
|
+
break;
|
|
19460
19492
|
default:
|
|
19461
19493
|
reader.skipField();
|
|
19462
19494
|
break;
|
|
@@ -19521,6 +19553,20 @@ proto.game.ProviderCurrencyCapability.serializeBinaryToWriter = function(message
|
|
|
19521
19553
|
f
|
|
19522
19554
|
);
|
|
19523
19555
|
}
|
|
19556
|
+
f = message.getIsActive();
|
|
19557
|
+
if (f) {
|
|
19558
|
+
writer.writeBool(
|
|
19559
|
+
6,
|
|
19560
|
+
f
|
|
19561
|
+
);
|
|
19562
|
+
}
|
|
19563
|
+
f = message.getIsPriority();
|
|
19564
|
+
if (f) {
|
|
19565
|
+
writer.writeBool(
|
|
19566
|
+
7,
|
|
19567
|
+
f
|
|
19568
|
+
);
|
|
19569
|
+
}
|
|
19524
19570
|
};
|
|
19525
19571
|
|
|
19526
19572
|
|
|
@@ -19614,6 +19660,42 @@ proto.game.ProviderCurrencyCapability.prototype.setEffectiveStatus = function(va
|
|
|
19614
19660
|
};
|
|
19615
19661
|
|
|
19616
19662
|
|
|
19663
|
+
/**
|
|
19664
|
+
* optional bool is_active = 6;
|
|
19665
|
+
* @return {boolean}
|
|
19666
|
+
*/
|
|
19667
|
+
proto.game.ProviderCurrencyCapability.prototype.getIsActive = function() {
|
|
19668
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
19669
|
+
};
|
|
19670
|
+
|
|
19671
|
+
|
|
19672
|
+
/**
|
|
19673
|
+
* @param {boolean} value
|
|
19674
|
+
* @return {!proto.game.ProviderCurrencyCapability} returns this
|
|
19675
|
+
*/
|
|
19676
|
+
proto.game.ProviderCurrencyCapability.prototype.setIsActive = function(value) {
|
|
19677
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
19678
|
+
};
|
|
19679
|
+
|
|
19680
|
+
|
|
19681
|
+
/**
|
|
19682
|
+
* optional bool is_priority = 7;
|
|
19683
|
+
* @return {boolean}
|
|
19684
|
+
*/
|
|
19685
|
+
proto.game.ProviderCurrencyCapability.prototype.getIsPriority = function() {
|
|
19686
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
19687
|
+
};
|
|
19688
|
+
|
|
19689
|
+
|
|
19690
|
+
/**
|
|
19691
|
+
* @param {boolean} value
|
|
19692
|
+
* @return {!proto.game.ProviderCurrencyCapability} returns this
|
|
19693
|
+
*/
|
|
19694
|
+
proto.game.ProviderCurrencyCapability.prototype.setIsPriority = function(value) {
|
|
19695
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
19696
|
+
};
|
|
19697
|
+
|
|
19698
|
+
|
|
19617
19699
|
|
|
19618
19700
|
|
|
19619
19701
|
|
|
@@ -19805,6 +19887,310 @@ proto.game.SetProviderCurrencyManagerEnabledRequest.prototype.setManagerEnabled
|
|
|
19805
19887
|
|
|
19806
19888
|
|
|
19807
19889
|
|
|
19890
|
+
|
|
19891
|
+
|
|
19892
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19893
|
+
/**
|
|
19894
|
+
* Creates an object representation of this proto.
|
|
19895
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19896
|
+
* Optional fields that are not set will be set to undefined.
|
|
19897
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19898
|
+
* For the list of reserved names please see:
|
|
19899
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19900
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19901
|
+
* JSPB instance for transitional soy proto support:
|
|
19902
|
+
* http://goto/soy-param-migration
|
|
19903
|
+
* @return {!Object}
|
|
19904
|
+
*/
|
|
19905
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.toObject = function(opt_includeInstance) {
|
|
19906
|
+
return proto.game.UpdateProviderCurrencyRequest.toObject(opt_includeInstance, this);
|
|
19907
|
+
};
|
|
19908
|
+
|
|
19909
|
+
|
|
19910
|
+
/**
|
|
19911
|
+
* Static version of the {@see toObject} method.
|
|
19912
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19913
|
+
* the JSPB instance for transitional soy proto support:
|
|
19914
|
+
* http://goto/soy-param-migration
|
|
19915
|
+
* @param {!proto.game.UpdateProviderCurrencyRequest} msg The msg instance to transform.
|
|
19916
|
+
* @return {!Object}
|
|
19917
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19918
|
+
*/
|
|
19919
|
+
proto.game.UpdateProviderCurrencyRequest.toObject = function(includeInstance, msg) {
|
|
19920
|
+
var f, obj = {
|
|
19921
|
+
providerId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
19922
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19923
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
19924
|
+
managerEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
19925
|
+
isPriority: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
19926
|
+
};
|
|
19927
|
+
|
|
19928
|
+
if (includeInstance) {
|
|
19929
|
+
obj.$jspbMessageInstance = msg;
|
|
19930
|
+
}
|
|
19931
|
+
return obj;
|
|
19932
|
+
};
|
|
19933
|
+
}
|
|
19934
|
+
|
|
19935
|
+
|
|
19936
|
+
/**
|
|
19937
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19938
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
19939
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest}
|
|
19940
|
+
*/
|
|
19941
|
+
proto.game.UpdateProviderCurrencyRequest.deserializeBinary = function(bytes) {
|
|
19942
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19943
|
+
var msg = new proto.game.UpdateProviderCurrencyRequest;
|
|
19944
|
+
return proto.game.UpdateProviderCurrencyRequest.deserializeBinaryFromReader(msg, reader);
|
|
19945
|
+
};
|
|
19946
|
+
|
|
19947
|
+
|
|
19948
|
+
/**
|
|
19949
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19950
|
+
* given reader into the given message object.
|
|
19951
|
+
* @param {!proto.game.UpdateProviderCurrencyRequest} msg The message object to deserialize into.
|
|
19952
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19953
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest}
|
|
19954
|
+
*/
|
|
19955
|
+
proto.game.UpdateProviderCurrencyRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
19956
|
+
while (reader.nextField()) {
|
|
19957
|
+
if (reader.isEndGroup()) {
|
|
19958
|
+
break;
|
|
19959
|
+
}
|
|
19960
|
+
var field = reader.getFieldNumber();
|
|
19961
|
+
switch (field) {
|
|
19962
|
+
case 1:
|
|
19963
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19964
|
+
msg.setProviderId(value);
|
|
19965
|
+
break;
|
|
19966
|
+
case 2:
|
|
19967
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19968
|
+
msg.setCurrency(value);
|
|
19969
|
+
break;
|
|
19970
|
+
case 3:
|
|
19971
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19972
|
+
msg.setIsActive(value);
|
|
19973
|
+
break;
|
|
19974
|
+
case 4:
|
|
19975
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19976
|
+
msg.setManagerEnabled(value);
|
|
19977
|
+
break;
|
|
19978
|
+
case 5:
|
|
19979
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19980
|
+
msg.setIsPriority(value);
|
|
19981
|
+
break;
|
|
19982
|
+
default:
|
|
19983
|
+
reader.skipField();
|
|
19984
|
+
break;
|
|
19985
|
+
}
|
|
19986
|
+
}
|
|
19987
|
+
return msg;
|
|
19988
|
+
};
|
|
19989
|
+
|
|
19990
|
+
|
|
19991
|
+
/**
|
|
19992
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19993
|
+
* @return {!Uint8Array}
|
|
19994
|
+
*/
|
|
19995
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.serializeBinary = function() {
|
|
19996
|
+
var writer = new jspb.BinaryWriter();
|
|
19997
|
+
proto.game.UpdateProviderCurrencyRequest.serializeBinaryToWriter(this, writer);
|
|
19998
|
+
return writer.getResultBuffer();
|
|
19999
|
+
};
|
|
20000
|
+
|
|
20001
|
+
|
|
20002
|
+
/**
|
|
20003
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20004
|
+
* format), writing to the given BinaryWriter.
|
|
20005
|
+
* @param {!proto.game.UpdateProviderCurrencyRequest} message
|
|
20006
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20007
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20008
|
+
*/
|
|
20009
|
+
proto.game.UpdateProviderCurrencyRequest.serializeBinaryToWriter = function(message, writer) {
|
|
20010
|
+
var f = undefined;
|
|
20011
|
+
f = message.getProviderId();
|
|
20012
|
+
if (f !== 0) {
|
|
20013
|
+
writer.writeInt32(
|
|
20014
|
+
1,
|
|
20015
|
+
f
|
|
20016
|
+
);
|
|
20017
|
+
}
|
|
20018
|
+
f = message.getCurrency();
|
|
20019
|
+
if (f.length > 0) {
|
|
20020
|
+
writer.writeString(
|
|
20021
|
+
2,
|
|
20022
|
+
f
|
|
20023
|
+
);
|
|
20024
|
+
}
|
|
20025
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
20026
|
+
if (f != null) {
|
|
20027
|
+
writer.writeBool(
|
|
20028
|
+
3,
|
|
20029
|
+
f
|
|
20030
|
+
);
|
|
20031
|
+
}
|
|
20032
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
20033
|
+
if (f != null) {
|
|
20034
|
+
writer.writeBool(
|
|
20035
|
+
4,
|
|
20036
|
+
f
|
|
20037
|
+
);
|
|
20038
|
+
}
|
|
20039
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
|
20040
|
+
if (f != null) {
|
|
20041
|
+
writer.writeBool(
|
|
20042
|
+
5,
|
|
20043
|
+
f
|
|
20044
|
+
);
|
|
20045
|
+
}
|
|
20046
|
+
};
|
|
20047
|
+
|
|
20048
|
+
|
|
20049
|
+
/**
|
|
20050
|
+
* optional int32 provider_id = 1;
|
|
20051
|
+
* @return {number}
|
|
20052
|
+
*/
|
|
20053
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.getProviderId = function() {
|
|
20054
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
20055
|
+
};
|
|
20056
|
+
|
|
20057
|
+
|
|
20058
|
+
/**
|
|
20059
|
+
* @param {number} value
|
|
20060
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest} returns this
|
|
20061
|
+
*/
|
|
20062
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.setProviderId = function(value) {
|
|
20063
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
20064
|
+
};
|
|
20065
|
+
|
|
20066
|
+
|
|
20067
|
+
/**
|
|
20068
|
+
* optional string currency = 2;
|
|
20069
|
+
* @return {string}
|
|
20070
|
+
*/
|
|
20071
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.getCurrency = function() {
|
|
20072
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
20073
|
+
};
|
|
20074
|
+
|
|
20075
|
+
|
|
20076
|
+
/**
|
|
20077
|
+
* @param {string} value
|
|
20078
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest} returns this
|
|
20079
|
+
*/
|
|
20080
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.setCurrency = function(value) {
|
|
20081
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
20082
|
+
};
|
|
20083
|
+
|
|
20084
|
+
|
|
20085
|
+
/**
|
|
20086
|
+
* optional bool is_active = 3;
|
|
20087
|
+
* @return {boolean}
|
|
20088
|
+
*/
|
|
20089
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.getIsActive = function() {
|
|
20090
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
20091
|
+
};
|
|
20092
|
+
|
|
20093
|
+
|
|
20094
|
+
/**
|
|
20095
|
+
* @param {boolean} value
|
|
20096
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest} returns this
|
|
20097
|
+
*/
|
|
20098
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.setIsActive = function(value) {
|
|
20099
|
+
return jspb.Message.setField(this, 3, value);
|
|
20100
|
+
};
|
|
20101
|
+
|
|
20102
|
+
|
|
20103
|
+
/**
|
|
20104
|
+
* Clears the field making it undefined.
|
|
20105
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest} returns this
|
|
20106
|
+
*/
|
|
20107
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.clearIsActive = function() {
|
|
20108
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
20109
|
+
};
|
|
20110
|
+
|
|
20111
|
+
|
|
20112
|
+
/**
|
|
20113
|
+
* Returns whether this field is set.
|
|
20114
|
+
* @return {boolean}
|
|
20115
|
+
*/
|
|
20116
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.hasIsActive = function() {
|
|
20117
|
+
return jspb.Message.getField(this, 3) != null;
|
|
20118
|
+
};
|
|
20119
|
+
|
|
20120
|
+
|
|
20121
|
+
/**
|
|
20122
|
+
* optional bool manager_enabled = 4;
|
|
20123
|
+
* @return {boolean}
|
|
20124
|
+
*/
|
|
20125
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.getManagerEnabled = function() {
|
|
20126
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
20127
|
+
};
|
|
20128
|
+
|
|
20129
|
+
|
|
20130
|
+
/**
|
|
20131
|
+
* @param {boolean} value
|
|
20132
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest} returns this
|
|
20133
|
+
*/
|
|
20134
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.setManagerEnabled = function(value) {
|
|
20135
|
+
return jspb.Message.setField(this, 4, value);
|
|
20136
|
+
};
|
|
20137
|
+
|
|
20138
|
+
|
|
20139
|
+
/**
|
|
20140
|
+
* Clears the field making it undefined.
|
|
20141
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest} returns this
|
|
20142
|
+
*/
|
|
20143
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.clearManagerEnabled = function() {
|
|
20144
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
20145
|
+
};
|
|
20146
|
+
|
|
20147
|
+
|
|
20148
|
+
/**
|
|
20149
|
+
* Returns whether this field is set.
|
|
20150
|
+
* @return {boolean}
|
|
20151
|
+
*/
|
|
20152
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.hasManagerEnabled = function() {
|
|
20153
|
+
return jspb.Message.getField(this, 4) != null;
|
|
20154
|
+
};
|
|
20155
|
+
|
|
20156
|
+
|
|
20157
|
+
/**
|
|
20158
|
+
* optional bool is_priority = 5;
|
|
20159
|
+
* @return {boolean}
|
|
20160
|
+
*/
|
|
20161
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.getIsPriority = function() {
|
|
20162
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
20163
|
+
};
|
|
20164
|
+
|
|
20165
|
+
|
|
20166
|
+
/**
|
|
20167
|
+
* @param {boolean} value
|
|
20168
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest} returns this
|
|
20169
|
+
*/
|
|
20170
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.setIsPriority = function(value) {
|
|
20171
|
+
return jspb.Message.setField(this, 5, value);
|
|
20172
|
+
};
|
|
20173
|
+
|
|
20174
|
+
|
|
20175
|
+
/**
|
|
20176
|
+
* Clears the field making it undefined.
|
|
20177
|
+
* @return {!proto.game.UpdateProviderCurrencyRequest} returns this
|
|
20178
|
+
*/
|
|
20179
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.clearIsPriority = function() {
|
|
20180
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
20181
|
+
};
|
|
20182
|
+
|
|
20183
|
+
|
|
20184
|
+
/**
|
|
20185
|
+
* Returns whether this field is set.
|
|
20186
|
+
* @return {boolean}
|
|
20187
|
+
*/
|
|
20188
|
+
proto.game.UpdateProviderCurrencyRequest.prototype.hasIsPriority = function() {
|
|
20189
|
+
return jspb.Message.getField(this, 5) != null;
|
|
20190
|
+
};
|
|
20191
|
+
|
|
20192
|
+
|
|
20193
|
+
|
|
19808
20194
|
/**
|
|
19809
20195
|
* Oneof group definitions for this message. Each group defines the field
|
|
19810
20196
|
* numbers belonging to that group. When of these fields' value is set, all
|