protobuf-platform 1.0.168 → 1.0.169

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 CHANGED
@@ -98,6 +98,7 @@ message GameSearchRequest {
98
98
  }
99
99
  message WagerSearchRequest {
100
100
  int32 wager_id = 1;
101
+ optional string game_title = 2;
101
102
  }
102
103
  //Media
103
104
  message File { bytes media = 1; }
package/game/game_pb.js CHANGED
@@ -3036,7 +3036,8 @@ proto.game.WagerSearchRequest.prototype.toObject = function(opt_includeInstance)
3036
3036
  */
3037
3037
  proto.game.WagerSearchRequest.toObject = function(includeInstance, msg) {
3038
3038
  var f, obj = {
3039
- wagerId: jspb.Message.getFieldWithDefault(msg, 1, 0)
3039
+ wagerId: jspb.Message.getFieldWithDefault(msg, 1, 0),
3040
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 2, "")
3040
3041
  };
3041
3042
 
3042
3043
  if (includeInstance) {
@@ -3077,6 +3078,10 @@ proto.game.WagerSearchRequest.deserializeBinaryFromReader = function(msg, reader
3077
3078
  var value = /** @type {number} */ (reader.readInt32());
3078
3079
  msg.setWagerId(value);
3079
3080
  break;
3081
+ case 2:
3082
+ var value = /** @type {string} */ (reader.readString());
3083
+ msg.setGameTitle(value);
3084
+ break;
3080
3085
  default:
3081
3086
  reader.skipField();
3082
3087
  break;
@@ -3113,6 +3118,13 @@ proto.game.WagerSearchRequest.serializeBinaryToWriter = function(message, writer
3113
3118
  f
3114
3119
  );
3115
3120
  }
3121
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
3122
+ if (f != null) {
3123
+ writer.writeString(
3124
+ 2,
3125
+ f
3126
+ );
3127
+ }
3116
3128
  };
3117
3129
 
3118
3130
 
@@ -3134,6 +3146,42 @@ proto.game.WagerSearchRequest.prototype.setWagerId = function(value) {
3134
3146
  };
3135
3147
 
3136
3148
 
3149
+ /**
3150
+ * optional string game_title = 2;
3151
+ * @return {string}
3152
+ */
3153
+ proto.game.WagerSearchRequest.prototype.getGameTitle = function() {
3154
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3155
+ };
3156
+
3157
+
3158
+ /**
3159
+ * @param {string} value
3160
+ * @return {!proto.game.WagerSearchRequest} returns this
3161
+ */
3162
+ proto.game.WagerSearchRequest.prototype.setGameTitle = function(value) {
3163
+ return jspb.Message.setField(this, 2, value);
3164
+ };
3165
+
3166
+
3167
+ /**
3168
+ * Clears the field making it undefined.
3169
+ * @return {!proto.game.WagerSearchRequest} returns this
3170
+ */
3171
+ proto.game.WagerSearchRequest.prototype.clearGameTitle = function() {
3172
+ return jspb.Message.setField(this, 2, undefined);
3173
+ };
3174
+
3175
+
3176
+ /**
3177
+ * Returns whether this field is set.
3178
+ * @return {boolean}
3179
+ */
3180
+ proto.game.WagerSearchRequest.prototype.hasGameTitle = function() {
3181
+ return jspb.Message.getField(this, 2) != null;
3182
+ };
3183
+
3184
+
3137
3185
 
3138
3186
 
3139
3187
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.168",
3
+ "version": "1.0.169",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {