protobuf-platform 1.2.293 → 1.2.296
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 +15 -4
- package/game/game_pb.js +296 -116
- package/package.json +1 -1
- package/user/user.proto +10 -0
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +394 -0
package/game/game.proto
CHANGED
|
@@ -440,6 +440,18 @@ message IntegratorSettingsResponse { string data = 1; }
|
|
|
440
440
|
message IntegratorSelfValidationRequest { string vendor = 1; }
|
|
441
441
|
message IntegratorSelfValidationResponse { string data = 1; }
|
|
442
442
|
//Game CRUD
|
|
443
|
+
enum GameImageSlot {
|
|
444
|
+
GAME_IMAGE_SLOT_UNSPECIFIED = 0;
|
|
445
|
+
GAME_IMAGE_SLOT_REGULAR = 1;
|
|
446
|
+
GAME_IMAGE_SLOT_PORTRAIT = 2;
|
|
447
|
+
GAME_IMAGE_SLOT_LANDSCAPE = 3;
|
|
448
|
+
GAME_IMAGE_SLOT_SQUARE = 4;
|
|
449
|
+
}
|
|
450
|
+
message GameImageUploadMetadata {
|
|
451
|
+
GameImageSlot slot = 1;
|
|
452
|
+
string file_name = 2;
|
|
453
|
+
string file_type = 3;
|
|
454
|
+
}
|
|
443
455
|
message GameImages {
|
|
444
456
|
optional string portrait = 1;
|
|
445
457
|
optional string landscape = 2;
|
|
@@ -477,6 +489,7 @@ message GameRequest {
|
|
|
477
489
|
oneof request {
|
|
478
490
|
GameItemRequest game_data = 1;
|
|
479
491
|
File file = 2;
|
|
492
|
+
GameImageUploadMetadata game_image_metadata = 3;
|
|
480
493
|
}
|
|
481
494
|
}
|
|
482
495
|
message GameItemRequest {
|
|
@@ -491,10 +504,8 @@ message GameItemRequest {
|
|
|
491
504
|
optional int32 has_demo = 9;
|
|
492
505
|
optional int32 has_free_spins = 10;
|
|
493
506
|
optional string type = 11;
|
|
494
|
-
optional
|
|
495
|
-
optional
|
|
496
|
-
optional int32 is_top = 14;
|
|
497
|
-
optional int32 is_vip = 15;
|
|
507
|
+
optional int32 is_top = 12;
|
|
508
|
+
optional int32 is_vip = 13;
|
|
498
509
|
|
|
499
510
|
}
|
|
500
511
|
message GetGameRequest {
|
package/game/game_pb.js
CHANGED
|
@@ -64,6 +64,8 @@ goog.exportSymbol('proto.game.FreeSpinSettingsResponse', null, global);
|
|
|
64
64
|
goog.exportSymbol('proto.game.FreeSpinStatusRequest', null, global);
|
|
65
65
|
goog.exportSymbol('proto.game.GameConfigCheckResponse', null, global);
|
|
66
66
|
goog.exportSymbol('proto.game.GameGeo', null, global);
|
|
67
|
+
goog.exportSymbol('proto.game.GameImageSlot', null, global);
|
|
68
|
+
goog.exportSymbol('proto.game.GameImageUploadMetadata', null, global);
|
|
67
69
|
goog.exportSymbol('proto.game.GameImages', null, global);
|
|
68
70
|
goog.exportSymbol('proto.game.GameImagesParsingTechnicalResponse', null, global);
|
|
69
71
|
goog.exportSymbol('proto.game.GameItem', null, global);
|
|
@@ -1419,6 +1421,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1419
1421
|
*/
|
|
1420
1422
|
proto.game.IntegratorSelfValidationResponse.displayName = 'proto.game.IntegratorSelfValidationResponse';
|
|
1421
1423
|
}
|
|
1424
|
+
/**
|
|
1425
|
+
* Generated by JsPbCodeGenerator.
|
|
1426
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1427
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1428
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1429
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1430
|
+
* valid.
|
|
1431
|
+
* @extends {jspb.Message}
|
|
1432
|
+
* @constructor
|
|
1433
|
+
*/
|
|
1434
|
+
proto.game.GameImageUploadMetadata = function(opt_data) {
|
|
1435
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1436
|
+
};
|
|
1437
|
+
goog.inherits(proto.game.GameImageUploadMetadata, jspb.Message);
|
|
1438
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1439
|
+
/**
|
|
1440
|
+
* @public
|
|
1441
|
+
* @override
|
|
1442
|
+
*/
|
|
1443
|
+
proto.game.GameImageUploadMetadata.displayName = 'proto.game.GameImageUploadMetadata';
|
|
1444
|
+
}
|
|
1422
1445
|
/**
|
|
1423
1446
|
* Generated by JsPbCodeGenerator.
|
|
1424
1447
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -17961,6 +17984,196 @@ proto.game.IntegratorSelfValidationResponse.prototype.setData = function(value)
|
|
|
17961
17984
|
|
|
17962
17985
|
|
|
17963
17986
|
|
|
17987
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17988
|
+
/**
|
|
17989
|
+
* Creates an object representation of this proto.
|
|
17990
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17991
|
+
* Optional fields that are not set will be set to undefined.
|
|
17992
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17993
|
+
* For the list of reserved names please see:
|
|
17994
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17995
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17996
|
+
* JSPB instance for transitional soy proto support:
|
|
17997
|
+
* http://goto/soy-param-migration
|
|
17998
|
+
* @return {!Object}
|
|
17999
|
+
*/
|
|
18000
|
+
proto.game.GameImageUploadMetadata.prototype.toObject = function(opt_includeInstance) {
|
|
18001
|
+
return proto.game.GameImageUploadMetadata.toObject(opt_includeInstance, this);
|
|
18002
|
+
};
|
|
18003
|
+
|
|
18004
|
+
|
|
18005
|
+
/**
|
|
18006
|
+
* Static version of the {@see toObject} method.
|
|
18007
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18008
|
+
* the JSPB instance for transitional soy proto support:
|
|
18009
|
+
* http://goto/soy-param-migration
|
|
18010
|
+
* @param {!proto.game.GameImageUploadMetadata} msg The msg instance to transform.
|
|
18011
|
+
* @return {!Object}
|
|
18012
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18013
|
+
*/
|
|
18014
|
+
proto.game.GameImageUploadMetadata.toObject = function(includeInstance, msg) {
|
|
18015
|
+
var f, obj = {
|
|
18016
|
+
slot: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18017
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18018
|
+
fileType: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
18019
|
+
};
|
|
18020
|
+
|
|
18021
|
+
if (includeInstance) {
|
|
18022
|
+
obj.$jspbMessageInstance = msg;
|
|
18023
|
+
}
|
|
18024
|
+
return obj;
|
|
18025
|
+
};
|
|
18026
|
+
}
|
|
18027
|
+
|
|
18028
|
+
|
|
18029
|
+
/**
|
|
18030
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18031
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18032
|
+
* @return {!proto.game.GameImageUploadMetadata}
|
|
18033
|
+
*/
|
|
18034
|
+
proto.game.GameImageUploadMetadata.deserializeBinary = function(bytes) {
|
|
18035
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18036
|
+
var msg = new proto.game.GameImageUploadMetadata;
|
|
18037
|
+
return proto.game.GameImageUploadMetadata.deserializeBinaryFromReader(msg, reader);
|
|
18038
|
+
};
|
|
18039
|
+
|
|
18040
|
+
|
|
18041
|
+
/**
|
|
18042
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18043
|
+
* given reader into the given message object.
|
|
18044
|
+
* @param {!proto.game.GameImageUploadMetadata} msg The message object to deserialize into.
|
|
18045
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18046
|
+
* @return {!proto.game.GameImageUploadMetadata}
|
|
18047
|
+
*/
|
|
18048
|
+
proto.game.GameImageUploadMetadata.deserializeBinaryFromReader = function(msg, reader) {
|
|
18049
|
+
while (reader.nextField()) {
|
|
18050
|
+
if (reader.isEndGroup()) {
|
|
18051
|
+
break;
|
|
18052
|
+
}
|
|
18053
|
+
var field = reader.getFieldNumber();
|
|
18054
|
+
switch (field) {
|
|
18055
|
+
case 1:
|
|
18056
|
+
var value = /** @type {!proto.game.GameImageSlot} */ (reader.readEnum());
|
|
18057
|
+
msg.setSlot(value);
|
|
18058
|
+
break;
|
|
18059
|
+
case 2:
|
|
18060
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18061
|
+
msg.setFileName(value);
|
|
18062
|
+
break;
|
|
18063
|
+
case 3:
|
|
18064
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18065
|
+
msg.setFileType(value);
|
|
18066
|
+
break;
|
|
18067
|
+
default:
|
|
18068
|
+
reader.skipField();
|
|
18069
|
+
break;
|
|
18070
|
+
}
|
|
18071
|
+
}
|
|
18072
|
+
return msg;
|
|
18073
|
+
};
|
|
18074
|
+
|
|
18075
|
+
|
|
18076
|
+
/**
|
|
18077
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18078
|
+
* @return {!Uint8Array}
|
|
18079
|
+
*/
|
|
18080
|
+
proto.game.GameImageUploadMetadata.prototype.serializeBinary = function() {
|
|
18081
|
+
var writer = new jspb.BinaryWriter();
|
|
18082
|
+
proto.game.GameImageUploadMetadata.serializeBinaryToWriter(this, writer);
|
|
18083
|
+
return writer.getResultBuffer();
|
|
18084
|
+
};
|
|
18085
|
+
|
|
18086
|
+
|
|
18087
|
+
/**
|
|
18088
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18089
|
+
* format), writing to the given BinaryWriter.
|
|
18090
|
+
* @param {!proto.game.GameImageUploadMetadata} message
|
|
18091
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18092
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18093
|
+
*/
|
|
18094
|
+
proto.game.GameImageUploadMetadata.serializeBinaryToWriter = function(message, writer) {
|
|
18095
|
+
var f = undefined;
|
|
18096
|
+
f = message.getSlot();
|
|
18097
|
+
if (f !== 0.0) {
|
|
18098
|
+
writer.writeEnum(
|
|
18099
|
+
1,
|
|
18100
|
+
f
|
|
18101
|
+
);
|
|
18102
|
+
}
|
|
18103
|
+
f = message.getFileName();
|
|
18104
|
+
if (f.length > 0) {
|
|
18105
|
+
writer.writeString(
|
|
18106
|
+
2,
|
|
18107
|
+
f
|
|
18108
|
+
);
|
|
18109
|
+
}
|
|
18110
|
+
f = message.getFileType();
|
|
18111
|
+
if (f.length > 0) {
|
|
18112
|
+
writer.writeString(
|
|
18113
|
+
3,
|
|
18114
|
+
f
|
|
18115
|
+
);
|
|
18116
|
+
}
|
|
18117
|
+
};
|
|
18118
|
+
|
|
18119
|
+
|
|
18120
|
+
/**
|
|
18121
|
+
* optional GameImageSlot slot = 1;
|
|
18122
|
+
* @return {!proto.game.GameImageSlot}
|
|
18123
|
+
*/
|
|
18124
|
+
proto.game.GameImageUploadMetadata.prototype.getSlot = function() {
|
|
18125
|
+
return /** @type {!proto.game.GameImageSlot} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18126
|
+
};
|
|
18127
|
+
|
|
18128
|
+
|
|
18129
|
+
/**
|
|
18130
|
+
* @param {!proto.game.GameImageSlot} value
|
|
18131
|
+
* @return {!proto.game.GameImageUploadMetadata} returns this
|
|
18132
|
+
*/
|
|
18133
|
+
proto.game.GameImageUploadMetadata.prototype.setSlot = function(value) {
|
|
18134
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
18135
|
+
};
|
|
18136
|
+
|
|
18137
|
+
|
|
18138
|
+
/**
|
|
18139
|
+
* optional string file_name = 2;
|
|
18140
|
+
* @return {string}
|
|
18141
|
+
*/
|
|
18142
|
+
proto.game.GameImageUploadMetadata.prototype.getFileName = function() {
|
|
18143
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18144
|
+
};
|
|
18145
|
+
|
|
18146
|
+
|
|
18147
|
+
/**
|
|
18148
|
+
* @param {string} value
|
|
18149
|
+
* @return {!proto.game.GameImageUploadMetadata} returns this
|
|
18150
|
+
*/
|
|
18151
|
+
proto.game.GameImageUploadMetadata.prototype.setFileName = function(value) {
|
|
18152
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
18153
|
+
};
|
|
18154
|
+
|
|
18155
|
+
|
|
18156
|
+
/**
|
|
18157
|
+
* optional string file_type = 3;
|
|
18158
|
+
* @return {string}
|
|
18159
|
+
*/
|
|
18160
|
+
proto.game.GameImageUploadMetadata.prototype.getFileType = function() {
|
|
18161
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
18162
|
+
};
|
|
18163
|
+
|
|
18164
|
+
|
|
18165
|
+
/**
|
|
18166
|
+
* @param {string} value
|
|
18167
|
+
* @return {!proto.game.GameImageUploadMetadata} returns this
|
|
18168
|
+
*/
|
|
18169
|
+
proto.game.GameImageUploadMetadata.prototype.setFileType = function(value) {
|
|
18170
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
18171
|
+
};
|
|
18172
|
+
|
|
18173
|
+
|
|
18174
|
+
|
|
18175
|
+
|
|
18176
|
+
|
|
17964
18177
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17965
18178
|
/**
|
|
17966
18179
|
* Creates an object representation of this proto.
|
|
@@ -19525,7 +19738,7 @@ proto.game.GameItem.prototype.hasImages = function() {
|
|
|
19525
19738
|
* @private {!Array<!Array<number>>}
|
|
19526
19739
|
* @const
|
|
19527
19740
|
*/
|
|
19528
|
-
proto.game.GameRequest.oneofGroups_ = [[1,2]];
|
|
19741
|
+
proto.game.GameRequest.oneofGroups_ = [[1,2,3]];
|
|
19529
19742
|
|
|
19530
19743
|
/**
|
|
19531
19744
|
* @enum {number}
|
|
@@ -19533,7 +19746,8 @@ proto.game.GameRequest.oneofGroups_ = [[1,2]];
|
|
|
19533
19746
|
proto.game.GameRequest.RequestCase = {
|
|
19534
19747
|
REQUEST_NOT_SET: 0,
|
|
19535
19748
|
GAME_DATA: 1,
|
|
19536
|
-
FILE: 2
|
|
19749
|
+
FILE: 2,
|
|
19750
|
+
GAME_IMAGE_METADATA: 3
|
|
19537
19751
|
};
|
|
19538
19752
|
|
|
19539
19753
|
/**
|
|
@@ -19575,7 +19789,8 @@ proto.game.GameRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
19575
19789
|
proto.game.GameRequest.toObject = function(includeInstance, msg) {
|
|
19576
19790
|
var f, obj = {
|
|
19577
19791
|
gameData: (f = msg.getGameData()) && proto.game.GameItemRequest.toObject(includeInstance, f),
|
|
19578
|
-
file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f)
|
|
19792
|
+
file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f),
|
|
19793
|
+
gameImageMetadata: (f = msg.getGameImageMetadata()) && proto.game.GameImageUploadMetadata.toObject(includeInstance, f)
|
|
19579
19794
|
};
|
|
19580
19795
|
|
|
19581
19796
|
if (includeInstance) {
|
|
@@ -19622,6 +19837,11 @@ proto.game.GameRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
19622
19837
|
reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
|
|
19623
19838
|
msg.setFile(value);
|
|
19624
19839
|
break;
|
|
19840
|
+
case 3:
|
|
19841
|
+
var value = new proto.game.GameImageUploadMetadata;
|
|
19842
|
+
reader.readMessage(value,proto.game.GameImageUploadMetadata.deserializeBinaryFromReader);
|
|
19843
|
+
msg.setGameImageMetadata(value);
|
|
19844
|
+
break;
|
|
19625
19845
|
default:
|
|
19626
19846
|
reader.skipField();
|
|
19627
19847
|
break;
|
|
@@ -19667,6 +19887,14 @@ proto.game.GameRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
19667
19887
|
proto.game.File.serializeBinaryToWriter
|
|
19668
19888
|
);
|
|
19669
19889
|
}
|
|
19890
|
+
f = message.getGameImageMetadata();
|
|
19891
|
+
if (f != null) {
|
|
19892
|
+
writer.writeMessage(
|
|
19893
|
+
3,
|
|
19894
|
+
f,
|
|
19895
|
+
proto.game.GameImageUploadMetadata.serializeBinaryToWriter
|
|
19896
|
+
);
|
|
19897
|
+
}
|
|
19670
19898
|
};
|
|
19671
19899
|
|
|
19672
19900
|
|
|
@@ -19744,6 +19972,43 @@ proto.game.GameRequest.prototype.hasFile = function() {
|
|
|
19744
19972
|
};
|
|
19745
19973
|
|
|
19746
19974
|
|
|
19975
|
+
/**
|
|
19976
|
+
* optional GameImageUploadMetadata game_image_metadata = 3;
|
|
19977
|
+
* @return {?proto.game.GameImageUploadMetadata}
|
|
19978
|
+
*/
|
|
19979
|
+
proto.game.GameRequest.prototype.getGameImageMetadata = function() {
|
|
19980
|
+
return /** @type{?proto.game.GameImageUploadMetadata} */ (
|
|
19981
|
+
jspb.Message.getWrapperField(this, proto.game.GameImageUploadMetadata, 3));
|
|
19982
|
+
};
|
|
19983
|
+
|
|
19984
|
+
|
|
19985
|
+
/**
|
|
19986
|
+
* @param {?proto.game.GameImageUploadMetadata|undefined} value
|
|
19987
|
+
* @return {!proto.game.GameRequest} returns this
|
|
19988
|
+
*/
|
|
19989
|
+
proto.game.GameRequest.prototype.setGameImageMetadata = function(value) {
|
|
19990
|
+
return jspb.Message.setOneofWrapperField(this, 3, proto.game.GameRequest.oneofGroups_[0], value);
|
|
19991
|
+
};
|
|
19992
|
+
|
|
19993
|
+
|
|
19994
|
+
/**
|
|
19995
|
+
* Clears the message field making it undefined.
|
|
19996
|
+
* @return {!proto.game.GameRequest} returns this
|
|
19997
|
+
*/
|
|
19998
|
+
proto.game.GameRequest.prototype.clearGameImageMetadata = function() {
|
|
19999
|
+
return this.setGameImageMetadata(undefined);
|
|
20000
|
+
};
|
|
20001
|
+
|
|
20002
|
+
|
|
20003
|
+
/**
|
|
20004
|
+
* Returns whether this field is set.
|
|
20005
|
+
* @return {boolean}
|
|
20006
|
+
*/
|
|
20007
|
+
proto.game.GameRequest.prototype.hasGameImageMetadata = function() {
|
|
20008
|
+
return jspb.Message.getField(this, 3) != null;
|
|
20009
|
+
};
|
|
20010
|
+
|
|
20011
|
+
|
|
19747
20012
|
|
|
19748
20013
|
|
|
19749
20014
|
|
|
@@ -19787,10 +20052,8 @@ proto.game.GameItemRequest.toObject = function(includeInstance, msg) {
|
|
|
19787
20052
|
hasDemo: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
19788
20053
|
hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
19789
20054
|
type: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
19790
|
-
|
|
19791
|
-
|
|
19792
|
-
isTop: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
19793
|
-
isVip: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
|
20055
|
+
isTop: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
20056
|
+
isVip: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
19794
20057
|
};
|
|
19795
20058
|
|
|
19796
20059
|
if (includeInstance) {
|
|
@@ -19873,18 +20136,10 @@ proto.game.GameItemRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
19873
20136
|
msg.setType(value);
|
|
19874
20137
|
break;
|
|
19875
20138
|
case 12:
|
|
19876
|
-
var value = /** @type {string} */ (reader.readString());
|
|
19877
|
-
msg.setFileName(value);
|
|
19878
|
-
break;
|
|
19879
|
-
case 13:
|
|
19880
|
-
var value = /** @type {string} */ (reader.readString());
|
|
19881
|
-
msg.setFileType(value);
|
|
19882
|
-
break;
|
|
19883
|
-
case 14:
|
|
19884
20139
|
var value = /** @type {number} */ (reader.readInt32());
|
|
19885
20140
|
msg.setIsTop(value);
|
|
19886
20141
|
break;
|
|
19887
|
-
case
|
|
20142
|
+
case 13:
|
|
19888
20143
|
var value = /** @type {number} */ (reader.readInt32());
|
|
19889
20144
|
msg.setIsVip(value);
|
|
19890
20145
|
break;
|
|
@@ -19995,31 +20250,17 @@ proto.game.GameItemRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
19995
20250
|
f
|
|
19996
20251
|
);
|
|
19997
20252
|
}
|
|
19998
|
-
f = /** @type {
|
|
19999
|
-
if (f != null) {
|
|
20000
|
-
writer.writeString(
|
|
20001
|
-
12,
|
|
20002
|
-
f
|
|
20003
|
-
);
|
|
20004
|
-
}
|
|
20005
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
20006
|
-
if (f != null) {
|
|
20007
|
-
writer.writeString(
|
|
20008
|
-
13,
|
|
20009
|
-
f
|
|
20010
|
-
);
|
|
20011
|
-
}
|
|
20012
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
20253
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
|
20013
20254
|
if (f != null) {
|
|
20014
20255
|
writer.writeInt32(
|
|
20015
|
-
|
|
20256
|
+
12,
|
|
20016
20257
|
f
|
|
20017
20258
|
);
|
|
20018
20259
|
}
|
|
20019
|
-
f = /** @type {number} */ (jspb.Message.getField(message,
|
|
20260
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
|
20020
20261
|
if (f != null) {
|
|
20021
20262
|
writer.writeInt32(
|
|
20022
|
-
|
|
20263
|
+
13,
|
|
20023
20264
|
f
|
|
20024
20265
|
);
|
|
20025
20266
|
}
|
|
@@ -20424,83 +20665,11 @@ proto.game.GameItemRequest.prototype.hasType = function() {
|
|
|
20424
20665
|
|
|
20425
20666
|
|
|
20426
20667
|
/**
|
|
20427
|
-
* optional
|
|
20428
|
-
* @return {string}
|
|
20429
|
-
*/
|
|
20430
|
-
proto.game.GameItemRequest.prototype.getFileName = function() {
|
|
20431
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
20432
|
-
};
|
|
20433
|
-
|
|
20434
|
-
|
|
20435
|
-
/**
|
|
20436
|
-
* @param {string} value
|
|
20437
|
-
* @return {!proto.game.GameItemRequest} returns this
|
|
20438
|
-
*/
|
|
20439
|
-
proto.game.GameItemRequest.prototype.setFileName = function(value) {
|
|
20440
|
-
return jspb.Message.setField(this, 12, value);
|
|
20441
|
-
};
|
|
20442
|
-
|
|
20443
|
-
|
|
20444
|
-
/**
|
|
20445
|
-
* Clears the field making it undefined.
|
|
20446
|
-
* @return {!proto.game.GameItemRequest} returns this
|
|
20447
|
-
*/
|
|
20448
|
-
proto.game.GameItemRequest.prototype.clearFileName = function() {
|
|
20449
|
-
return jspb.Message.setField(this, 12, undefined);
|
|
20450
|
-
};
|
|
20451
|
-
|
|
20452
|
-
|
|
20453
|
-
/**
|
|
20454
|
-
* Returns whether this field is set.
|
|
20455
|
-
* @return {boolean}
|
|
20456
|
-
*/
|
|
20457
|
-
proto.game.GameItemRequest.prototype.hasFileName = function() {
|
|
20458
|
-
return jspb.Message.getField(this, 12) != null;
|
|
20459
|
-
};
|
|
20460
|
-
|
|
20461
|
-
|
|
20462
|
-
/**
|
|
20463
|
-
* optional string file_type = 13;
|
|
20464
|
-
* @return {string}
|
|
20465
|
-
*/
|
|
20466
|
-
proto.game.GameItemRequest.prototype.getFileType = function() {
|
|
20467
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
20468
|
-
};
|
|
20469
|
-
|
|
20470
|
-
|
|
20471
|
-
/**
|
|
20472
|
-
* @param {string} value
|
|
20473
|
-
* @return {!proto.game.GameItemRequest} returns this
|
|
20474
|
-
*/
|
|
20475
|
-
proto.game.GameItemRequest.prototype.setFileType = function(value) {
|
|
20476
|
-
return jspb.Message.setField(this, 13, value);
|
|
20477
|
-
};
|
|
20478
|
-
|
|
20479
|
-
|
|
20480
|
-
/**
|
|
20481
|
-
* Clears the field making it undefined.
|
|
20482
|
-
* @return {!proto.game.GameItemRequest} returns this
|
|
20483
|
-
*/
|
|
20484
|
-
proto.game.GameItemRequest.prototype.clearFileType = function() {
|
|
20485
|
-
return jspb.Message.setField(this, 13, undefined);
|
|
20486
|
-
};
|
|
20487
|
-
|
|
20488
|
-
|
|
20489
|
-
/**
|
|
20490
|
-
* Returns whether this field is set.
|
|
20491
|
-
* @return {boolean}
|
|
20492
|
-
*/
|
|
20493
|
-
proto.game.GameItemRequest.prototype.hasFileType = function() {
|
|
20494
|
-
return jspb.Message.getField(this, 13) != null;
|
|
20495
|
-
};
|
|
20496
|
-
|
|
20497
|
-
|
|
20498
|
-
/**
|
|
20499
|
-
* optional int32 is_top = 14;
|
|
20668
|
+
* optional int32 is_top = 12;
|
|
20500
20669
|
* @return {number}
|
|
20501
20670
|
*/
|
|
20502
20671
|
proto.game.GameItemRequest.prototype.getIsTop = function() {
|
|
20503
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
20672
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
20504
20673
|
};
|
|
20505
20674
|
|
|
20506
20675
|
|
|
@@ -20509,7 +20678,7 @@ proto.game.GameItemRequest.prototype.getIsTop = function() {
|
|
|
20509
20678
|
* @return {!proto.game.GameItemRequest} returns this
|
|
20510
20679
|
*/
|
|
20511
20680
|
proto.game.GameItemRequest.prototype.setIsTop = function(value) {
|
|
20512
|
-
return jspb.Message.setField(this,
|
|
20681
|
+
return jspb.Message.setField(this, 12, value);
|
|
20513
20682
|
};
|
|
20514
20683
|
|
|
20515
20684
|
|
|
@@ -20518,7 +20687,7 @@ proto.game.GameItemRequest.prototype.setIsTop = function(value) {
|
|
|
20518
20687
|
* @return {!proto.game.GameItemRequest} returns this
|
|
20519
20688
|
*/
|
|
20520
20689
|
proto.game.GameItemRequest.prototype.clearIsTop = function() {
|
|
20521
|
-
return jspb.Message.setField(this,
|
|
20690
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
20522
20691
|
};
|
|
20523
20692
|
|
|
20524
20693
|
|
|
@@ -20527,16 +20696,16 @@ proto.game.GameItemRequest.prototype.clearIsTop = function() {
|
|
|
20527
20696
|
* @return {boolean}
|
|
20528
20697
|
*/
|
|
20529
20698
|
proto.game.GameItemRequest.prototype.hasIsTop = function() {
|
|
20530
|
-
return jspb.Message.getField(this,
|
|
20699
|
+
return jspb.Message.getField(this, 12) != null;
|
|
20531
20700
|
};
|
|
20532
20701
|
|
|
20533
20702
|
|
|
20534
20703
|
/**
|
|
20535
|
-
* optional int32 is_vip =
|
|
20704
|
+
* optional int32 is_vip = 13;
|
|
20536
20705
|
* @return {number}
|
|
20537
20706
|
*/
|
|
20538
20707
|
proto.game.GameItemRequest.prototype.getIsVip = function() {
|
|
20539
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
20708
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
20540
20709
|
};
|
|
20541
20710
|
|
|
20542
20711
|
|
|
@@ -20545,7 +20714,7 @@ proto.game.GameItemRequest.prototype.getIsVip = function() {
|
|
|
20545
20714
|
* @return {!proto.game.GameItemRequest} returns this
|
|
20546
20715
|
*/
|
|
20547
20716
|
proto.game.GameItemRequest.prototype.setIsVip = function(value) {
|
|
20548
|
-
return jspb.Message.setField(this,
|
|
20717
|
+
return jspb.Message.setField(this, 13, value);
|
|
20549
20718
|
};
|
|
20550
20719
|
|
|
20551
20720
|
|
|
@@ -20554,7 +20723,7 @@ proto.game.GameItemRequest.prototype.setIsVip = function(value) {
|
|
|
20554
20723
|
* @return {!proto.game.GameItemRequest} returns this
|
|
20555
20724
|
*/
|
|
20556
20725
|
proto.game.GameItemRequest.prototype.clearIsVip = function() {
|
|
20557
|
-
return jspb.Message.setField(this,
|
|
20726
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
20558
20727
|
};
|
|
20559
20728
|
|
|
20560
20729
|
|
|
@@ -20563,7 +20732,7 @@ proto.game.GameItemRequest.prototype.clearIsVip = function() {
|
|
|
20563
20732
|
* @return {boolean}
|
|
20564
20733
|
*/
|
|
20565
20734
|
proto.game.GameItemRequest.prototype.hasIsVip = function() {
|
|
20566
|
-
return jspb.Message.getField(this,
|
|
20735
|
+
return jspb.Message.getField(this, 13) != null;
|
|
20567
20736
|
};
|
|
20568
20737
|
|
|
20569
20738
|
|
|
@@ -38569,4 +38738,15 @@ proto.game.GeoRestrictionResponse.prototype.clearGeoList = function() {
|
|
|
38569
38738
|
};
|
|
38570
38739
|
|
|
38571
38740
|
|
|
38741
|
+
/**
|
|
38742
|
+
* @enum {number}
|
|
38743
|
+
*/
|
|
38744
|
+
proto.game.GameImageSlot = {
|
|
38745
|
+
GAME_IMAGE_SLOT_UNSPECIFIED: 0,
|
|
38746
|
+
GAME_IMAGE_SLOT_REGULAR: 1,
|
|
38747
|
+
GAME_IMAGE_SLOT_PORTRAIT: 2,
|
|
38748
|
+
GAME_IMAGE_SLOT_LANDSCAPE: 3,
|
|
38749
|
+
GAME_IMAGE_SLOT_SQUARE: 4
|
|
38750
|
+
};
|
|
38751
|
+
|
|
38572
38752
|
goog.object.extend(exports, proto.game);
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -14,6 +14,7 @@ service User {
|
|
|
14
14
|
rpc getUserBalance(UserDataRequest) returns (UserDataResponse);
|
|
15
15
|
rpc updateUserBalance(UserBalanceRequest) returns (UserDataResponse);
|
|
16
16
|
rpc getUserCachedData(UserDataRequest) returns (UserDataResponse);
|
|
17
|
+
rpc getPumpKingsMyTokenWidgetLaunchData(GetPumpKingsMyTokenWidgetLaunchDataRequest) returns (GetPumpKingsMyTokenWidgetLaunchDataResponse);
|
|
17
18
|
rpc getUserAffiliateAttribution(UserAffiliateAttributionRequest) returns (UserAffiliateAttributionResponse);
|
|
18
19
|
rpc batchGetAffiliateAttribution(BatchGetAffiliateAttributionRequest) returns (BatchGetAffiliateAttributionResponse);
|
|
19
20
|
//Role and Permissions
|
|
@@ -320,6 +321,15 @@ message UserDataResponse {
|
|
|
320
321
|
optional string address = 39;
|
|
321
322
|
optional int32 seon_fraud_score = 40;
|
|
322
323
|
}
|
|
324
|
+
message GetPumpKingsMyTokenWidgetLaunchDataRequest {
|
|
325
|
+
string user_public_id = 1;
|
|
326
|
+
}
|
|
327
|
+
message GetPumpKingsMyTokenWidgetLaunchDataResponse {
|
|
328
|
+
string user_public_id = 1;
|
|
329
|
+
string user_hash = 2;
|
|
330
|
+
string api_base_url = 3;
|
|
331
|
+
string schema_version = 4;
|
|
332
|
+
}
|
|
323
333
|
message UsersResponse {
|
|
324
334
|
repeated UserDataResponse items = 1;
|
|
325
335
|
optional int32 total_pages = 2;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -136,6 +136,28 @@ function deserialize_user_GetNoteRequest(buffer_arg) {
|
|
|
136
136
|
return user_pb.GetNoteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
+
function serialize_user_GetPumpKingsMyTokenWidgetLaunchDataRequest(arg) {
|
|
140
|
+
if (!(arg instanceof user_pb.GetPumpKingsMyTokenWidgetLaunchDataRequest)) {
|
|
141
|
+
throw new Error('Expected argument of type user.GetPumpKingsMyTokenWidgetLaunchDataRequest');
|
|
142
|
+
}
|
|
143
|
+
return Buffer.from(arg.serializeBinary());
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
function deserialize_user_GetPumpKingsMyTokenWidgetLaunchDataRequest(buffer_arg) {
|
|
147
|
+
return user_pb.GetPumpKingsMyTokenWidgetLaunchDataRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function serialize_user_GetPumpKingsMyTokenWidgetLaunchDataResponse(arg) {
|
|
151
|
+
if (!(arg instanceof user_pb.GetPumpKingsMyTokenWidgetLaunchDataResponse)) {
|
|
152
|
+
throw new Error('Expected argument of type user.GetPumpKingsMyTokenWidgetLaunchDataResponse');
|
|
153
|
+
}
|
|
154
|
+
return Buffer.from(arg.serializeBinary());
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
function deserialize_user_GetPumpKingsMyTokenWidgetLaunchDataResponse(buffer_arg) {
|
|
158
|
+
return user_pb.GetPumpKingsMyTokenWidgetLaunchDataResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
159
|
+
}
|
|
160
|
+
|
|
139
161
|
function serialize_user_GetRoleRequest(arg) {
|
|
140
162
|
if (!(arg instanceof user_pb.GetRoleRequest)) {
|
|
141
163
|
throw new Error('Expected argument of type user.GetRoleRequest');
|
|
@@ -887,6 +909,17 @@ signUp: {
|
|
|
887
909
|
responseSerialize: serialize_user_UserDataResponse,
|
|
888
910
|
responseDeserialize: deserialize_user_UserDataResponse,
|
|
889
911
|
},
|
|
912
|
+
getPumpKingsMyTokenWidgetLaunchData: {
|
|
913
|
+
path: '/user.User/getPumpKingsMyTokenWidgetLaunchData',
|
|
914
|
+
requestStream: false,
|
|
915
|
+
responseStream: false,
|
|
916
|
+
requestType: user_pb.GetPumpKingsMyTokenWidgetLaunchDataRequest,
|
|
917
|
+
responseType: user_pb.GetPumpKingsMyTokenWidgetLaunchDataResponse,
|
|
918
|
+
requestSerialize: serialize_user_GetPumpKingsMyTokenWidgetLaunchDataRequest,
|
|
919
|
+
requestDeserialize: deserialize_user_GetPumpKingsMyTokenWidgetLaunchDataRequest,
|
|
920
|
+
responseSerialize: serialize_user_GetPumpKingsMyTokenWidgetLaunchDataResponse,
|
|
921
|
+
responseDeserialize: deserialize_user_GetPumpKingsMyTokenWidgetLaunchDataResponse,
|
|
922
|
+
},
|
|
890
923
|
getUserAffiliateAttribution: {
|
|
891
924
|
path: '/user.User/getUserAffiliateAttribution',
|
|
892
925
|
requestStream: false,
|
package/user/user_pb.js
CHANGED
|
@@ -36,6 +36,8 @@ goog.exportSymbol('proto.user.EmailConfirmationRequest', null, global);
|
|
|
36
36
|
goog.exportSymbol('proto.user.EmailConfirmedRequest', null, global);
|
|
37
37
|
goog.exportSymbol('proto.user.File', null, global);
|
|
38
38
|
goog.exportSymbol('proto.user.GetNoteRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest', null, global);
|
|
40
|
+
goog.exportSymbol('proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse', null, global);
|
|
39
41
|
goog.exportSymbol('proto.user.GetRoleRequest', null, global);
|
|
40
42
|
goog.exportSymbol('proto.user.GetSegmentRequest', null, global);
|
|
41
43
|
goog.exportSymbol('proto.user.GetSegmentRuleRequest', null, global);
|
|
@@ -595,6 +597,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
595
597
|
*/
|
|
596
598
|
proto.user.UserDataResponse.displayName = 'proto.user.UserDataResponse';
|
|
597
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Generated by JsPbCodeGenerator.
|
|
602
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
603
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
604
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
605
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
606
|
+
* valid.
|
|
607
|
+
* @extends {jspb.Message}
|
|
608
|
+
* @constructor
|
|
609
|
+
*/
|
|
610
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest = function(opt_data) {
|
|
611
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
612
|
+
};
|
|
613
|
+
goog.inherits(proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest, jspb.Message);
|
|
614
|
+
if (goog.DEBUG && !COMPILED) {
|
|
615
|
+
/**
|
|
616
|
+
* @public
|
|
617
|
+
* @override
|
|
618
|
+
*/
|
|
619
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.displayName = 'proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest';
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Generated by JsPbCodeGenerator.
|
|
623
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
624
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
625
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
626
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
627
|
+
* valid.
|
|
628
|
+
* @extends {jspb.Message}
|
|
629
|
+
* @constructor
|
|
630
|
+
*/
|
|
631
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse = function(opt_data) {
|
|
632
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
633
|
+
};
|
|
634
|
+
goog.inherits(proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse, jspb.Message);
|
|
635
|
+
if (goog.DEBUG && !COMPILED) {
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
* @override
|
|
639
|
+
*/
|
|
640
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.displayName = 'proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse';
|
|
641
|
+
}
|
|
598
642
|
/**
|
|
599
643
|
* Generated by JsPbCodeGenerator.
|
|
600
644
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -13408,6 +13452,356 @@ proto.user.UserDataResponse.prototype.hasSeonFraudScore = function() {
|
|
|
13408
13452
|
|
|
13409
13453
|
|
|
13410
13454
|
|
|
13455
|
+
|
|
13456
|
+
|
|
13457
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13458
|
+
/**
|
|
13459
|
+
* Creates an object representation of this proto.
|
|
13460
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13461
|
+
* Optional fields that are not set will be set to undefined.
|
|
13462
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13463
|
+
* For the list of reserved names please see:
|
|
13464
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13465
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13466
|
+
* JSPB instance for transitional soy proto support:
|
|
13467
|
+
* http://goto/soy-param-migration
|
|
13468
|
+
* @return {!Object}
|
|
13469
|
+
*/
|
|
13470
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13471
|
+
return proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.toObject(opt_includeInstance, this);
|
|
13472
|
+
};
|
|
13473
|
+
|
|
13474
|
+
|
|
13475
|
+
/**
|
|
13476
|
+
* Static version of the {@see toObject} method.
|
|
13477
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13478
|
+
* the JSPB instance for transitional soy proto support:
|
|
13479
|
+
* http://goto/soy-param-migration
|
|
13480
|
+
* @param {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest} msg The msg instance to transform.
|
|
13481
|
+
* @return {!Object}
|
|
13482
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13483
|
+
*/
|
|
13484
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.toObject = function(includeInstance, msg) {
|
|
13485
|
+
var f, obj = {
|
|
13486
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
13487
|
+
};
|
|
13488
|
+
|
|
13489
|
+
if (includeInstance) {
|
|
13490
|
+
obj.$jspbMessageInstance = msg;
|
|
13491
|
+
}
|
|
13492
|
+
return obj;
|
|
13493
|
+
};
|
|
13494
|
+
}
|
|
13495
|
+
|
|
13496
|
+
|
|
13497
|
+
/**
|
|
13498
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13499
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13500
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest}
|
|
13501
|
+
*/
|
|
13502
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.deserializeBinary = function(bytes) {
|
|
13503
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13504
|
+
var msg = new proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest;
|
|
13505
|
+
return proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.deserializeBinaryFromReader(msg, reader);
|
|
13506
|
+
};
|
|
13507
|
+
|
|
13508
|
+
|
|
13509
|
+
/**
|
|
13510
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13511
|
+
* given reader into the given message object.
|
|
13512
|
+
* @param {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest} msg The message object to deserialize into.
|
|
13513
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13514
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest}
|
|
13515
|
+
*/
|
|
13516
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13517
|
+
while (reader.nextField()) {
|
|
13518
|
+
if (reader.isEndGroup()) {
|
|
13519
|
+
break;
|
|
13520
|
+
}
|
|
13521
|
+
var field = reader.getFieldNumber();
|
|
13522
|
+
switch (field) {
|
|
13523
|
+
case 1:
|
|
13524
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13525
|
+
msg.setUserPublicId(value);
|
|
13526
|
+
break;
|
|
13527
|
+
default:
|
|
13528
|
+
reader.skipField();
|
|
13529
|
+
break;
|
|
13530
|
+
}
|
|
13531
|
+
}
|
|
13532
|
+
return msg;
|
|
13533
|
+
};
|
|
13534
|
+
|
|
13535
|
+
|
|
13536
|
+
/**
|
|
13537
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13538
|
+
* @return {!Uint8Array}
|
|
13539
|
+
*/
|
|
13540
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.prototype.serializeBinary = function() {
|
|
13541
|
+
var writer = new jspb.BinaryWriter();
|
|
13542
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.serializeBinaryToWriter(this, writer);
|
|
13543
|
+
return writer.getResultBuffer();
|
|
13544
|
+
};
|
|
13545
|
+
|
|
13546
|
+
|
|
13547
|
+
/**
|
|
13548
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13549
|
+
* format), writing to the given BinaryWriter.
|
|
13550
|
+
* @param {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest} message
|
|
13551
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13552
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13553
|
+
*/
|
|
13554
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13555
|
+
var f = undefined;
|
|
13556
|
+
f = message.getUserPublicId();
|
|
13557
|
+
if (f.length > 0) {
|
|
13558
|
+
writer.writeString(
|
|
13559
|
+
1,
|
|
13560
|
+
f
|
|
13561
|
+
);
|
|
13562
|
+
}
|
|
13563
|
+
};
|
|
13564
|
+
|
|
13565
|
+
|
|
13566
|
+
/**
|
|
13567
|
+
* optional string user_public_id = 1;
|
|
13568
|
+
* @return {string}
|
|
13569
|
+
*/
|
|
13570
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.prototype.getUserPublicId = function() {
|
|
13571
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13572
|
+
};
|
|
13573
|
+
|
|
13574
|
+
|
|
13575
|
+
/**
|
|
13576
|
+
* @param {string} value
|
|
13577
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest} returns this
|
|
13578
|
+
*/
|
|
13579
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataRequest.prototype.setUserPublicId = function(value) {
|
|
13580
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13581
|
+
};
|
|
13582
|
+
|
|
13583
|
+
|
|
13584
|
+
|
|
13585
|
+
|
|
13586
|
+
|
|
13587
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13588
|
+
/**
|
|
13589
|
+
* Creates an object representation of this proto.
|
|
13590
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13591
|
+
* Optional fields that are not set will be set to undefined.
|
|
13592
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13593
|
+
* For the list of reserved names please see:
|
|
13594
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13595
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13596
|
+
* JSPB instance for transitional soy proto support:
|
|
13597
|
+
* http://goto/soy-param-migration
|
|
13598
|
+
* @return {!Object}
|
|
13599
|
+
*/
|
|
13600
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.toObject = function(opt_includeInstance) {
|
|
13601
|
+
return proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.toObject(opt_includeInstance, this);
|
|
13602
|
+
};
|
|
13603
|
+
|
|
13604
|
+
|
|
13605
|
+
/**
|
|
13606
|
+
* Static version of the {@see toObject} method.
|
|
13607
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13608
|
+
* the JSPB instance for transitional soy proto support:
|
|
13609
|
+
* http://goto/soy-param-migration
|
|
13610
|
+
* @param {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse} msg The msg instance to transform.
|
|
13611
|
+
* @return {!Object}
|
|
13612
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13613
|
+
*/
|
|
13614
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.toObject = function(includeInstance, msg) {
|
|
13615
|
+
var f, obj = {
|
|
13616
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13617
|
+
userHash: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13618
|
+
apiBaseUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13619
|
+
schemaVersion: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
13620
|
+
};
|
|
13621
|
+
|
|
13622
|
+
if (includeInstance) {
|
|
13623
|
+
obj.$jspbMessageInstance = msg;
|
|
13624
|
+
}
|
|
13625
|
+
return obj;
|
|
13626
|
+
};
|
|
13627
|
+
}
|
|
13628
|
+
|
|
13629
|
+
|
|
13630
|
+
/**
|
|
13631
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13632
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13633
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse}
|
|
13634
|
+
*/
|
|
13635
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.deserializeBinary = function(bytes) {
|
|
13636
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13637
|
+
var msg = new proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse;
|
|
13638
|
+
return proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.deserializeBinaryFromReader(msg, reader);
|
|
13639
|
+
};
|
|
13640
|
+
|
|
13641
|
+
|
|
13642
|
+
/**
|
|
13643
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13644
|
+
* given reader into the given message object.
|
|
13645
|
+
* @param {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse} msg The message object to deserialize into.
|
|
13646
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13647
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse}
|
|
13648
|
+
*/
|
|
13649
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
13650
|
+
while (reader.nextField()) {
|
|
13651
|
+
if (reader.isEndGroup()) {
|
|
13652
|
+
break;
|
|
13653
|
+
}
|
|
13654
|
+
var field = reader.getFieldNumber();
|
|
13655
|
+
switch (field) {
|
|
13656
|
+
case 1:
|
|
13657
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13658
|
+
msg.setUserPublicId(value);
|
|
13659
|
+
break;
|
|
13660
|
+
case 2:
|
|
13661
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13662
|
+
msg.setUserHash(value);
|
|
13663
|
+
break;
|
|
13664
|
+
case 3:
|
|
13665
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13666
|
+
msg.setApiBaseUrl(value);
|
|
13667
|
+
break;
|
|
13668
|
+
case 4:
|
|
13669
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13670
|
+
msg.setSchemaVersion(value);
|
|
13671
|
+
break;
|
|
13672
|
+
default:
|
|
13673
|
+
reader.skipField();
|
|
13674
|
+
break;
|
|
13675
|
+
}
|
|
13676
|
+
}
|
|
13677
|
+
return msg;
|
|
13678
|
+
};
|
|
13679
|
+
|
|
13680
|
+
|
|
13681
|
+
/**
|
|
13682
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13683
|
+
* @return {!Uint8Array}
|
|
13684
|
+
*/
|
|
13685
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.serializeBinary = function() {
|
|
13686
|
+
var writer = new jspb.BinaryWriter();
|
|
13687
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.serializeBinaryToWriter(this, writer);
|
|
13688
|
+
return writer.getResultBuffer();
|
|
13689
|
+
};
|
|
13690
|
+
|
|
13691
|
+
|
|
13692
|
+
/**
|
|
13693
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13694
|
+
* format), writing to the given BinaryWriter.
|
|
13695
|
+
* @param {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse} message
|
|
13696
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13697
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13698
|
+
*/
|
|
13699
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.serializeBinaryToWriter = function(message, writer) {
|
|
13700
|
+
var f = undefined;
|
|
13701
|
+
f = message.getUserPublicId();
|
|
13702
|
+
if (f.length > 0) {
|
|
13703
|
+
writer.writeString(
|
|
13704
|
+
1,
|
|
13705
|
+
f
|
|
13706
|
+
);
|
|
13707
|
+
}
|
|
13708
|
+
f = message.getUserHash();
|
|
13709
|
+
if (f.length > 0) {
|
|
13710
|
+
writer.writeString(
|
|
13711
|
+
2,
|
|
13712
|
+
f
|
|
13713
|
+
);
|
|
13714
|
+
}
|
|
13715
|
+
f = message.getApiBaseUrl();
|
|
13716
|
+
if (f.length > 0) {
|
|
13717
|
+
writer.writeString(
|
|
13718
|
+
3,
|
|
13719
|
+
f
|
|
13720
|
+
);
|
|
13721
|
+
}
|
|
13722
|
+
f = message.getSchemaVersion();
|
|
13723
|
+
if (f.length > 0) {
|
|
13724
|
+
writer.writeString(
|
|
13725
|
+
4,
|
|
13726
|
+
f
|
|
13727
|
+
);
|
|
13728
|
+
}
|
|
13729
|
+
};
|
|
13730
|
+
|
|
13731
|
+
|
|
13732
|
+
/**
|
|
13733
|
+
* optional string user_public_id = 1;
|
|
13734
|
+
* @return {string}
|
|
13735
|
+
*/
|
|
13736
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.getUserPublicId = function() {
|
|
13737
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13738
|
+
};
|
|
13739
|
+
|
|
13740
|
+
|
|
13741
|
+
/**
|
|
13742
|
+
* @param {string} value
|
|
13743
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse} returns this
|
|
13744
|
+
*/
|
|
13745
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.setUserPublicId = function(value) {
|
|
13746
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13747
|
+
};
|
|
13748
|
+
|
|
13749
|
+
|
|
13750
|
+
/**
|
|
13751
|
+
* optional string user_hash = 2;
|
|
13752
|
+
* @return {string}
|
|
13753
|
+
*/
|
|
13754
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.getUserHash = function() {
|
|
13755
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13756
|
+
};
|
|
13757
|
+
|
|
13758
|
+
|
|
13759
|
+
/**
|
|
13760
|
+
* @param {string} value
|
|
13761
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse} returns this
|
|
13762
|
+
*/
|
|
13763
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.setUserHash = function(value) {
|
|
13764
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13765
|
+
};
|
|
13766
|
+
|
|
13767
|
+
|
|
13768
|
+
/**
|
|
13769
|
+
* optional string api_base_url = 3;
|
|
13770
|
+
* @return {string}
|
|
13771
|
+
*/
|
|
13772
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.getApiBaseUrl = function() {
|
|
13773
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
13774
|
+
};
|
|
13775
|
+
|
|
13776
|
+
|
|
13777
|
+
/**
|
|
13778
|
+
* @param {string} value
|
|
13779
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse} returns this
|
|
13780
|
+
*/
|
|
13781
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.setApiBaseUrl = function(value) {
|
|
13782
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
13783
|
+
};
|
|
13784
|
+
|
|
13785
|
+
|
|
13786
|
+
/**
|
|
13787
|
+
* optional string schema_version = 4;
|
|
13788
|
+
* @return {string}
|
|
13789
|
+
*/
|
|
13790
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.getSchemaVersion = function() {
|
|
13791
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
13792
|
+
};
|
|
13793
|
+
|
|
13794
|
+
|
|
13795
|
+
/**
|
|
13796
|
+
* @param {string} value
|
|
13797
|
+
* @return {!proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse} returns this
|
|
13798
|
+
*/
|
|
13799
|
+
proto.user.GetPumpKingsMyTokenWidgetLaunchDataResponse.prototype.setSchemaVersion = function(value) {
|
|
13800
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
13801
|
+
};
|
|
13802
|
+
|
|
13803
|
+
|
|
13804
|
+
|
|
13411
13805
|
/**
|
|
13412
13806
|
* List of repeated fields within this message type.
|
|
13413
13807
|
* @private {!Array<number>}
|