protobuf-platform 1.1.2 → 1.1.3
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
CHANGED
@@ -57,9 +57,10 @@ message TournamentItemRequest {
|
|
57
57
|
optional string description = 3;
|
58
58
|
optional int32 is_active = 4;
|
59
59
|
optional int32 max_members_count = 5;
|
60
|
-
optional
|
61
|
-
optional string
|
62
|
-
optional
|
60
|
+
optional int32 bots_count = 6;
|
61
|
+
optional string started_at = 7;
|
62
|
+
optional string finished_at = 8;
|
63
|
+
optional int32 status_id = 9;
|
63
64
|
}
|
64
65
|
message GetTournamentRequest {
|
65
66
|
int32 id = 1;
|
@@ -2620,9 +2620,10 @@ proto.tournament.TournamentItemRequest.toObject = function(includeInstance, msg)
|
|
2620
2620
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
2621
2621
|
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
2622
2622
|
maxMembersCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
2623
|
-
|
2624
|
-
|
2625
|
-
|
2623
|
+
botsCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
2624
|
+
startedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
2625
|
+
finishedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
2626
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
2626
2627
|
};
|
2627
2628
|
|
2628
2629
|
if (includeInstance) {
|
@@ -2680,14 +2681,18 @@ proto.tournament.TournamentItemRequest.deserializeBinaryFromReader = function(ms
|
|
2680
2681
|
msg.setMaxMembersCount(value);
|
2681
2682
|
break;
|
2682
2683
|
case 6:
|
2684
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2685
|
+
msg.setBotsCount(value);
|
2686
|
+
break;
|
2687
|
+
case 7:
|
2683
2688
|
var value = /** @type {string} */ (reader.readString());
|
2684
2689
|
msg.setStartedAt(value);
|
2685
2690
|
break;
|
2686
|
-
case
|
2691
|
+
case 8:
|
2687
2692
|
var value = /** @type {string} */ (reader.readString());
|
2688
2693
|
msg.setFinishedAt(value);
|
2689
2694
|
break;
|
2690
|
-
case
|
2695
|
+
case 9:
|
2691
2696
|
var value = /** @type {number} */ (reader.readInt32());
|
2692
2697
|
msg.setStatusId(value);
|
2693
2698
|
break;
|
@@ -2755,9 +2760,9 @@ proto.tournament.TournamentItemRequest.serializeBinaryToWriter = function(messag
|
|
2755
2760
|
f
|
2756
2761
|
);
|
2757
2762
|
}
|
2758
|
-
f = /** @type {
|
2763
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
2759
2764
|
if (f != null) {
|
2760
|
-
writer.
|
2765
|
+
writer.writeInt32(
|
2761
2766
|
6,
|
2762
2767
|
f
|
2763
2768
|
);
|
@@ -2769,13 +2774,20 @@ proto.tournament.TournamentItemRequest.serializeBinaryToWriter = function(messag
|
|
2769
2774
|
f
|
2770
2775
|
);
|
2771
2776
|
}
|
2772
|
-
f = /** @type {
|
2777
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
2773
2778
|
if (f != null) {
|
2774
|
-
writer.
|
2779
|
+
writer.writeString(
|
2775
2780
|
8,
|
2776
2781
|
f
|
2777
2782
|
);
|
2778
2783
|
}
|
2784
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
2785
|
+
if (f != null) {
|
2786
|
+
writer.writeInt32(
|
2787
|
+
9,
|
2788
|
+
f
|
2789
|
+
);
|
2790
|
+
}
|
2779
2791
|
};
|
2780
2792
|
|
2781
2793
|
|
@@ -2960,11 +2972,47 @@ proto.tournament.TournamentItemRequest.prototype.hasMaxMembersCount = function()
|
|
2960
2972
|
|
2961
2973
|
|
2962
2974
|
/**
|
2963
|
-
* optional
|
2975
|
+
* optional int32 bots_count = 6;
|
2976
|
+
* @return {number}
|
2977
|
+
*/
|
2978
|
+
proto.tournament.TournamentItemRequest.prototype.getBotsCount = function() {
|
2979
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
2980
|
+
};
|
2981
|
+
|
2982
|
+
|
2983
|
+
/**
|
2984
|
+
* @param {number} value
|
2985
|
+
* @return {!proto.tournament.TournamentItemRequest} returns this
|
2986
|
+
*/
|
2987
|
+
proto.tournament.TournamentItemRequest.prototype.setBotsCount = function(value) {
|
2988
|
+
return jspb.Message.setField(this, 6, value);
|
2989
|
+
};
|
2990
|
+
|
2991
|
+
|
2992
|
+
/**
|
2993
|
+
* Clears the field making it undefined.
|
2994
|
+
* @return {!proto.tournament.TournamentItemRequest} returns this
|
2995
|
+
*/
|
2996
|
+
proto.tournament.TournamentItemRequest.prototype.clearBotsCount = function() {
|
2997
|
+
return jspb.Message.setField(this, 6, undefined);
|
2998
|
+
};
|
2999
|
+
|
3000
|
+
|
3001
|
+
/**
|
3002
|
+
* Returns whether this field is set.
|
3003
|
+
* @return {boolean}
|
3004
|
+
*/
|
3005
|
+
proto.tournament.TournamentItemRequest.prototype.hasBotsCount = function() {
|
3006
|
+
return jspb.Message.getField(this, 6) != null;
|
3007
|
+
};
|
3008
|
+
|
3009
|
+
|
3010
|
+
/**
|
3011
|
+
* optional string started_at = 7;
|
2964
3012
|
* @return {string}
|
2965
3013
|
*/
|
2966
3014
|
proto.tournament.TournamentItemRequest.prototype.getStartedAt = function() {
|
2967
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
3015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
2968
3016
|
};
|
2969
3017
|
|
2970
3018
|
|
@@ -2973,7 +3021,7 @@ proto.tournament.TournamentItemRequest.prototype.getStartedAt = function() {
|
|
2973
3021
|
* @return {!proto.tournament.TournamentItemRequest} returns this
|
2974
3022
|
*/
|
2975
3023
|
proto.tournament.TournamentItemRequest.prototype.setStartedAt = function(value) {
|
2976
|
-
return jspb.Message.setField(this,
|
3024
|
+
return jspb.Message.setField(this, 7, value);
|
2977
3025
|
};
|
2978
3026
|
|
2979
3027
|
|
@@ -2982,7 +3030,7 @@ proto.tournament.TournamentItemRequest.prototype.setStartedAt = function(value)
|
|
2982
3030
|
* @return {!proto.tournament.TournamentItemRequest} returns this
|
2983
3031
|
*/
|
2984
3032
|
proto.tournament.TournamentItemRequest.prototype.clearStartedAt = function() {
|
2985
|
-
return jspb.Message.setField(this,
|
3033
|
+
return jspb.Message.setField(this, 7, undefined);
|
2986
3034
|
};
|
2987
3035
|
|
2988
3036
|
|
@@ -2991,16 +3039,16 @@ proto.tournament.TournamentItemRequest.prototype.clearStartedAt = function() {
|
|
2991
3039
|
* @return {boolean}
|
2992
3040
|
*/
|
2993
3041
|
proto.tournament.TournamentItemRequest.prototype.hasStartedAt = function() {
|
2994
|
-
return jspb.Message.getField(this,
|
3042
|
+
return jspb.Message.getField(this, 7) != null;
|
2995
3043
|
};
|
2996
3044
|
|
2997
3045
|
|
2998
3046
|
/**
|
2999
|
-
* optional string finished_at =
|
3047
|
+
* optional string finished_at = 8;
|
3000
3048
|
* @return {string}
|
3001
3049
|
*/
|
3002
3050
|
proto.tournament.TournamentItemRequest.prototype.getFinishedAt = function() {
|
3003
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
3051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
3004
3052
|
};
|
3005
3053
|
|
3006
3054
|
|
@@ -3009,7 +3057,7 @@ proto.tournament.TournamentItemRequest.prototype.getFinishedAt = function() {
|
|
3009
3057
|
* @return {!proto.tournament.TournamentItemRequest} returns this
|
3010
3058
|
*/
|
3011
3059
|
proto.tournament.TournamentItemRequest.prototype.setFinishedAt = function(value) {
|
3012
|
-
return jspb.Message.setField(this,
|
3060
|
+
return jspb.Message.setField(this, 8, value);
|
3013
3061
|
};
|
3014
3062
|
|
3015
3063
|
|
@@ -3018,7 +3066,7 @@ proto.tournament.TournamentItemRequest.prototype.setFinishedAt = function(value)
|
|
3018
3066
|
* @return {!proto.tournament.TournamentItemRequest} returns this
|
3019
3067
|
*/
|
3020
3068
|
proto.tournament.TournamentItemRequest.prototype.clearFinishedAt = function() {
|
3021
|
-
return jspb.Message.setField(this,
|
3069
|
+
return jspb.Message.setField(this, 8, undefined);
|
3022
3070
|
};
|
3023
3071
|
|
3024
3072
|
|
@@ -3027,16 +3075,16 @@ proto.tournament.TournamentItemRequest.prototype.clearFinishedAt = function() {
|
|
3027
3075
|
* @return {boolean}
|
3028
3076
|
*/
|
3029
3077
|
proto.tournament.TournamentItemRequest.prototype.hasFinishedAt = function() {
|
3030
|
-
return jspb.Message.getField(this,
|
3078
|
+
return jspb.Message.getField(this, 8) != null;
|
3031
3079
|
};
|
3032
3080
|
|
3033
3081
|
|
3034
3082
|
/**
|
3035
|
-
* optional int32 status_id =
|
3083
|
+
* optional int32 status_id = 9;
|
3036
3084
|
* @return {number}
|
3037
3085
|
*/
|
3038
3086
|
proto.tournament.TournamentItemRequest.prototype.getStatusId = function() {
|
3039
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
3087
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
3040
3088
|
};
|
3041
3089
|
|
3042
3090
|
|
@@ -3045,7 +3093,7 @@ proto.tournament.TournamentItemRequest.prototype.getStatusId = function() {
|
|
3045
3093
|
* @return {!proto.tournament.TournamentItemRequest} returns this
|
3046
3094
|
*/
|
3047
3095
|
proto.tournament.TournamentItemRequest.prototype.setStatusId = function(value) {
|
3048
|
-
return jspb.Message.setField(this,
|
3096
|
+
return jspb.Message.setField(this, 9, value);
|
3049
3097
|
};
|
3050
3098
|
|
3051
3099
|
|
@@ -3054,7 +3102,7 @@ proto.tournament.TournamentItemRequest.prototype.setStatusId = function(value) {
|
|
3054
3102
|
* @return {!proto.tournament.TournamentItemRequest} returns this
|
3055
3103
|
*/
|
3056
3104
|
proto.tournament.TournamentItemRequest.prototype.clearStatusId = function() {
|
3057
|
-
return jspb.Message.setField(this,
|
3105
|
+
return jspb.Message.setField(this, 9, undefined);
|
3058
3106
|
};
|
3059
3107
|
|
3060
3108
|
|
@@ -3063,7 +3111,7 @@ proto.tournament.TournamentItemRequest.prototype.clearStatusId = function() {
|
|
3063
3111
|
* @return {boolean}
|
3064
3112
|
*/
|
3065
3113
|
proto.tournament.TournamentItemRequest.prototype.hasStatusId = function() {
|
3066
|
-
return jspb.Message.getField(this,
|
3114
|
+
return jspb.Message.getField(this, 9) != null;
|
3067
3115
|
};
|
3068
3116
|
|
3069
3117
|
|