protobuf-platform 1.0.280 → 1.0.282
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 +1 -0
- package/game/game_pb.js +49 -1
- package/log/log.proto +9 -1
- package/log/log_pb.js +204 -1
- package/package.json +1 -1
package/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
@@ -18388,7 +18388,8 @@ proto.game.InitDemoGameSessionRequest.toObject = function(includeInstance, msg)
|
|
18388
18388
|
providerSlug: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
18389
18389
|
returnUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
18390
18390
|
language: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
18391
|
-
userDevice: jspb.Message.getFieldWithDefault(msg, 5, "")
|
18391
|
+
userDevice: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
18392
|
+
userId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
18392
18393
|
};
|
18393
18394
|
|
18394
18395
|
if (includeInstance) {
|
@@ -18445,6 +18446,10 @@ proto.game.InitDemoGameSessionRequest.deserializeBinaryFromReader = function(msg
|
|
18445
18446
|
var value = /** @type {string} */ (reader.readString());
|
18446
18447
|
msg.setUserDevice(value);
|
18447
18448
|
break;
|
18449
|
+
case 6:
|
18450
|
+
var value = /** @type {number} */ (reader.readInt32());
|
18451
|
+
msg.setUserId(value);
|
18452
|
+
break;
|
18448
18453
|
default:
|
18449
18454
|
reader.skipField();
|
18450
18455
|
break;
|
@@ -18509,6 +18514,13 @@ proto.game.InitDemoGameSessionRequest.serializeBinaryToWriter = function(message
|
|
18509
18514
|
f
|
18510
18515
|
);
|
18511
18516
|
}
|
18517
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
18518
|
+
if (f != null) {
|
18519
|
+
writer.writeInt32(
|
18520
|
+
6,
|
18521
|
+
f
|
18522
|
+
);
|
18523
|
+
}
|
18512
18524
|
};
|
18513
18525
|
|
18514
18526
|
|
@@ -18656,6 +18668,42 @@ proto.game.InitDemoGameSessionRequest.prototype.hasUserDevice = function() {
|
|
18656
18668
|
};
|
18657
18669
|
|
18658
18670
|
|
18671
|
+
/**
|
18672
|
+
* optional int32 user_id = 6;
|
18673
|
+
* @return {number}
|
18674
|
+
*/
|
18675
|
+
proto.game.InitDemoGameSessionRequest.prototype.getUserId = function() {
|
18676
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
18677
|
+
};
|
18678
|
+
|
18679
|
+
|
18680
|
+
/**
|
18681
|
+
* @param {number} value
|
18682
|
+
* @return {!proto.game.InitDemoGameSessionRequest} returns this
|
18683
|
+
*/
|
18684
|
+
proto.game.InitDemoGameSessionRequest.prototype.setUserId = function(value) {
|
18685
|
+
return jspb.Message.setField(this, 6, value);
|
18686
|
+
};
|
18687
|
+
|
18688
|
+
|
18689
|
+
/**
|
18690
|
+
* Clears the field making it undefined.
|
18691
|
+
* @return {!proto.game.InitDemoGameSessionRequest} returns this
|
18692
|
+
*/
|
18693
|
+
proto.game.InitDemoGameSessionRequest.prototype.clearUserId = function() {
|
18694
|
+
return jspb.Message.setField(this, 6, undefined);
|
18695
|
+
};
|
18696
|
+
|
18697
|
+
|
18698
|
+
/**
|
18699
|
+
* Returns whether this field is set.
|
18700
|
+
* @return {boolean}
|
18701
|
+
*/
|
18702
|
+
proto.game.InitDemoGameSessionRequest.prototype.hasUserId = function() {
|
18703
|
+
return jspb.Message.getField(this, 6) != null;
|
18704
|
+
};
|
18705
|
+
|
18706
|
+
|
18659
18707
|
|
18660
18708
|
|
18661
18709
|
|
package/log/log.proto
CHANGED
@@ -12,11 +12,19 @@ service Log {
|
|
12
12
|
|
13
13
|
message PingRequest { string ping = 1; }
|
14
14
|
message PongResponse { string pong = 1; }
|
15
|
-
message PaginationRequest {
|
15
|
+
message PaginationRequest {
|
16
|
+
int32 limit = 1;
|
17
|
+
int32 offset = 2;
|
18
|
+
optional LogSearchRequest log_search_params = 3;
|
19
|
+
optional UserSearchRequest user_search_params = 4;
|
20
|
+
}
|
16
21
|
message LogSearchRequest {
|
17
22
|
repeated string service = 1;
|
18
23
|
repeated string type = 2;
|
19
24
|
}
|
25
|
+
message UserSearchRequest {
|
26
|
+
int32 user_id = 1;
|
27
|
+
}
|
20
28
|
//Issues
|
21
29
|
message IssueItem {
|
22
30
|
string hash = 1;
|
package/log/log_pb.js
CHANGED
@@ -29,6 +29,7 @@ goog.exportSymbol('proto.log.PingRequest', null, global);
|
|
29
29
|
goog.exportSymbol('proto.log.PongResponse', null, global);
|
30
30
|
goog.exportSymbol('proto.log.UserActivitiesItemsResponse', null, global);
|
31
31
|
goog.exportSymbol('proto.log.UserActivityItem', null, global);
|
32
|
+
goog.exportSymbol('proto.log.UserSearchRequest', null, global);
|
32
33
|
/**
|
33
34
|
* Generated by JsPbCodeGenerator.
|
34
35
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -113,6 +114,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
113
114
|
*/
|
114
115
|
proto.log.LogSearchRequest.displayName = 'proto.log.LogSearchRequest';
|
115
116
|
}
|
117
|
+
/**
|
118
|
+
* Generated by JsPbCodeGenerator.
|
119
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
120
|
+
* server response, or constructed directly in Javascript. The array is used
|
121
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
122
|
+
* If no data is provided, the constructed object will be empty, but still
|
123
|
+
* valid.
|
124
|
+
* @extends {jspb.Message}
|
125
|
+
* @constructor
|
126
|
+
*/
|
127
|
+
proto.log.UserSearchRequest = function(opt_data) {
|
128
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
129
|
+
};
|
130
|
+
goog.inherits(proto.log.UserSearchRequest, jspb.Message);
|
131
|
+
if (goog.DEBUG && !COMPILED) {
|
132
|
+
/**
|
133
|
+
* @public
|
134
|
+
* @override
|
135
|
+
*/
|
136
|
+
proto.log.UserSearchRequest.displayName = 'proto.log.UserSearchRequest';
|
137
|
+
}
|
116
138
|
/**
|
117
139
|
* Generated by JsPbCodeGenerator.
|
118
140
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -491,7 +513,8 @@ proto.log.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
491
513
|
var f, obj = {
|
492
514
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
493
515
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
494
|
-
logSearchParams: (f = msg.getLogSearchParams()) && proto.log.LogSearchRequest.toObject(includeInstance, f)
|
516
|
+
logSearchParams: (f = msg.getLogSearchParams()) && proto.log.LogSearchRequest.toObject(includeInstance, f),
|
517
|
+
userSearchParams: (f = msg.getUserSearchParams()) && proto.log.UserSearchRequest.toObject(includeInstance, f)
|
495
518
|
};
|
496
519
|
|
497
520
|
if (includeInstance) {
|
@@ -541,6 +564,11 @@ proto.log.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
541
564
|
reader.readMessage(value,proto.log.LogSearchRequest.deserializeBinaryFromReader);
|
542
565
|
msg.setLogSearchParams(value);
|
543
566
|
break;
|
567
|
+
case 4:
|
568
|
+
var value = new proto.log.UserSearchRequest;
|
569
|
+
reader.readMessage(value,proto.log.UserSearchRequest.deserializeBinaryFromReader);
|
570
|
+
msg.setUserSearchParams(value);
|
571
|
+
break;
|
544
572
|
default:
|
545
573
|
reader.skipField();
|
546
574
|
break;
|
@@ -592,6 +620,14 @@ proto.log.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
592
620
|
proto.log.LogSearchRequest.serializeBinaryToWriter
|
593
621
|
);
|
594
622
|
}
|
623
|
+
f = message.getUserSearchParams();
|
624
|
+
if (f != null) {
|
625
|
+
writer.writeMessage(
|
626
|
+
4,
|
627
|
+
f,
|
628
|
+
proto.log.UserSearchRequest.serializeBinaryToWriter
|
629
|
+
);
|
630
|
+
}
|
595
631
|
};
|
596
632
|
|
597
633
|
|
@@ -668,6 +704,43 @@ proto.log.PaginationRequest.prototype.hasLogSearchParams = function() {
|
|
668
704
|
};
|
669
705
|
|
670
706
|
|
707
|
+
/**
|
708
|
+
* optional UserSearchRequest user_search_params = 4;
|
709
|
+
* @return {?proto.log.UserSearchRequest}
|
710
|
+
*/
|
711
|
+
proto.log.PaginationRequest.prototype.getUserSearchParams = function() {
|
712
|
+
return /** @type{?proto.log.UserSearchRequest} */ (
|
713
|
+
jspb.Message.getWrapperField(this, proto.log.UserSearchRequest, 4));
|
714
|
+
};
|
715
|
+
|
716
|
+
|
717
|
+
/**
|
718
|
+
* @param {?proto.log.UserSearchRequest|undefined} value
|
719
|
+
* @return {!proto.log.PaginationRequest} returns this
|
720
|
+
*/
|
721
|
+
proto.log.PaginationRequest.prototype.setUserSearchParams = function(value) {
|
722
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
723
|
+
};
|
724
|
+
|
725
|
+
|
726
|
+
/**
|
727
|
+
* Clears the message field making it undefined.
|
728
|
+
* @return {!proto.log.PaginationRequest} returns this
|
729
|
+
*/
|
730
|
+
proto.log.PaginationRequest.prototype.clearUserSearchParams = function() {
|
731
|
+
return this.setUserSearchParams(undefined);
|
732
|
+
};
|
733
|
+
|
734
|
+
|
735
|
+
/**
|
736
|
+
* Returns whether this field is set.
|
737
|
+
* @return {boolean}
|
738
|
+
*/
|
739
|
+
proto.log.PaginationRequest.prototype.hasUserSearchParams = function() {
|
740
|
+
return jspb.Message.getField(this, 4) != null;
|
741
|
+
};
|
742
|
+
|
743
|
+
|
671
744
|
|
672
745
|
/**
|
673
746
|
* List of repeated fields within this message type.
|
@@ -876,6 +949,136 @@ proto.log.LogSearchRequest.prototype.clearTypeList = function() {
|
|
876
949
|
|
877
950
|
|
878
951
|
|
952
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
953
|
+
/**
|
954
|
+
* Creates an object representation of this proto.
|
955
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
956
|
+
* Optional fields that are not set will be set to undefined.
|
957
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
958
|
+
* For the list of reserved names please see:
|
959
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
960
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
961
|
+
* JSPB instance for transitional soy proto support:
|
962
|
+
* http://goto/soy-param-migration
|
963
|
+
* @return {!Object}
|
964
|
+
*/
|
965
|
+
proto.log.UserSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
966
|
+
return proto.log.UserSearchRequest.toObject(opt_includeInstance, this);
|
967
|
+
};
|
968
|
+
|
969
|
+
|
970
|
+
/**
|
971
|
+
* Static version of the {@see toObject} method.
|
972
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
973
|
+
* the JSPB instance for transitional soy proto support:
|
974
|
+
* http://goto/soy-param-migration
|
975
|
+
* @param {!proto.log.UserSearchRequest} msg The msg instance to transform.
|
976
|
+
* @return {!Object}
|
977
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
978
|
+
*/
|
979
|
+
proto.log.UserSearchRequest.toObject = function(includeInstance, msg) {
|
980
|
+
var f, obj = {
|
981
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
982
|
+
};
|
983
|
+
|
984
|
+
if (includeInstance) {
|
985
|
+
obj.$jspbMessageInstance = msg;
|
986
|
+
}
|
987
|
+
return obj;
|
988
|
+
};
|
989
|
+
}
|
990
|
+
|
991
|
+
|
992
|
+
/**
|
993
|
+
* Deserializes binary data (in protobuf wire format).
|
994
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
995
|
+
* @return {!proto.log.UserSearchRequest}
|
996
|
+
*/
|
997
|
+
proto.log.UserSearchRequest.deserializeBinary = function(bytes) {
|
998
|
+
var reader = new jspb.BinaryReader(bytes);
|
999
|
+
var msg = new proto.log.UserSearchRequest;
|
1000
|
+
return proto.log.UserSearchRequest.deserializeBinaryFromReader(msg, reader);
|
1001
|
+
};
|
1002
|
+
|
1003
|
+
|
1004
|
+
/**
|
1005
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1006
|
+
* given reader into the given message object.
|
1007
|
+
* @param {!proto.log.UserSearchRequest} msg The message object to deserialize into.
|
1008
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1009
|
+
* @return {!proto.log.UserSearchRequest}
|
1010
|
+
*/
|
1011
|
+
proto.log.UserSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1012
|
+
while (reader.nextField()) {
|
1013
|
+
if (reader.isEndGroup()) {
|
1014
|
+
break;
|
1015
|
+
}
|
1016
|
+
var field = reader.getFieldNumber();
|
1017
|
+
switch (field) {
|
1018
|
+
case 1:
|
1019
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1020
|
+
msg.setUserId(value);
|
1021
|
+
break;
|
1022
|
+
default:
|
1023
|
+
reader.skipField();
|
1024
|
+
break;
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
return msg;
|
1028
|
+
};
|
1029
|
+
|
1030
|
+
|
1031
|
+
/**
|
1032
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1033
|
+
* @return {!Uint8Array}
|
1034
|
+
*/
|
1035
|
+
proto.log.UserSearchRequest.prototype.serializeBinary = function() {
|
1036
|
+
var writer = new jspb.BinaryWriter();
|
1037
|
+
proto.log.UserSearchRequest.serializeBinaryToWriter(this, writer);
|
1038
|
+
return writer.getResultBuffer();
|
1039
|
+
};
|
1040
|
+
|
1041
|
+
|
1042
|
+
/**
|
1043
|
+
* Serializes the given message to binary data (in protobuf wire
|
1044
|
+
* format), writing to the given BinaryWriter.
|
1045
|
+
* @param {!proto.log.UserSearchRequest} message
|
1046
|
+
* @param {!jspb.BinaryWriter} writer
|
1047
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1048
|
+
*/
|
1049
|
+
proto.log.UserSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
1050
|
+
var f = undefined;
|
1051
|
+
f = message.getUserId();
|
1052
|
+
if (f !== 0) {
|
1053
|
+
writer.writeInt32(
|
1054
|
+
1,
|
1055
|
+
f
|
1056
|
+
);
|
1057
|
+
}
|
1058
|
+
};
|
1059
|
+
|
1060
|
+
|
1061
|
+
/**
|
1062
|
+
* optional int32 user_id = 1;
|
1063
|
+
* @return {number}
|
1064
|
+
*/
|
1065
|
+
proto.log.UserSearchRequest.prototype.getUserId = function() {
|
1066
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
1067
|
+
};
|
1068
|
+
|
1069
|
+
|
1070
|
+
/**
|
1071
|
+
* @param {number} value
|
1072
|
+
* @return {!proto.log.UserSearchRequest} returns this
|
1073
|
+
*/
|
1074
|
+
proto.log.UserSearchRequest.prototype.setUserId = function(value) {
|
1075
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
1076
|
+
};
|
1077
|
+
|
1078
|
+
|
1079
|
+
|
1080
|
+
|
1081
|
+
|
879
1082
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
880
1083
|
/**
|
881
1084
|
* Creates an object representation of this proto.
|