protobuf-platform 1.2.632 → 1.2.633

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.
@@ -49,6 +49,9 @@ goog.exportSymbol('proto.tournament.TournamentItemRequest', null, global);
49
49
  goog.exportSymbol('proto.tournament.TournamentItemsResponse', null, global);
50
50
  goog.exportSymbol('proto.tournament.TournamentLeaderboardResponse', null, global);
51
51
  goog.exportSymbol('proto.tournament.TournamentLeaderboardUserItem', null, global);
52
+ goog.exportSymbol('proto.tournament.TournamentLocalizationRequest', null, global);
53
+ goog.exportSymbol('proto.tournament.TournamentLocalizationUpsertRequest', null, global);
54
+ goog.exportSymbol('proto.tournament.TournamentLocalizationUpsertRequest.RequestCase', null, global);
52
55
  goog.exportSymbol('proto.tournament.TournamentRequest', null, global);
53
56
  goog.exportSymbol('proto.tournament.TournamentRequest.RequestCase', null, global);
54
57
  goog.exportSymbol('proto.tournament.TournamentResponse', null, global);
@@ -673,6 +676,48 @@ if (goog.DEBUG && !COMPILED) {
673
676
  */
674
677
  proto.tournament.TournamentContentRequest.displayName = 'proto.tournament.TournamentContentRequest';
675
678
  }
679
+ /**
680
+ * Generated by JsPbCodeGenerator.
681
+ * @param {Array=} opt_data Optional initial data array, typically from a
682
+ * server response, or constructed directly in Javascript. The array is used
683
+ * in place and becomes part of the constructed object. It is not cloned.
684
+ * If no data is provided, the constructed object will be empty, but still
685
+ * valid.
686
+ * @extends {jspb.Message}
687
+ * @constructor
688
+ */
689
+ proto.tournament.TournamentLocalizationRequest = function(opt_data) {
690
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
691
+ };
692
+ goog.inherits(proto.tournament.TournamentLocalizationRequest, jspb.Message);
693
+ if (goog.DEBUG && !COMPILED) {
694
+ /**
695
+ * @public
696
+ * @override
697
+ */
698
+ proto.tournament.TournamentLocalizationRequest.displayName = 'proto.tournament.TournamentLocalizationRequest';
699
+ }
700
+ /**
701
+ * Generated by JsPbCodeGenerator.
702
+ * @param {Array=} opt_data Optional initial data array, typically from a
703
+ * server response, or constructed directly in Javascript. The array is used
704
+ * in place and becomes part of the constructed object. It is not cloned.
705
+ * If no data is provided, the constructed object will be empty, but still
706
+ * valid.
707
+ * @extends {jspb.Message}
708
+ * @constructor
709
+ */
710
+ proto.tournament.TournamentLocalizationUpsertRequest = function(opt_data) {
711
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.tournament.TournamentLocalizationUpsertRequest.oneofGroups_);
712
+ };
713
+ goog.inherits(proto.tournament.TournamentLocalizationUpsertRequest, jspb.Message);
714
+ if (goog.DEBUG && !COMPILED) {
715
+ /**
716
+ * @public
717
+ * @override
718
+ */
719
+ proto.tournament.TournamentLocalizationUpsertRequest.displayName = 'proto.tournament.TournamentLocalizationUpsertRequest';
720
+ }
676
721
  /**
677
722
  * Generated by JsPbCodeGenerator.
678
723
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2840,7 +2885,9 @@ proto.tournament.TournamentItem.toObject = function(includeInstance, msg) {
2840
2885
  userStatus: jspb.Message.getFieldWithDefault(msg, 20, ""),
2841
2886
  finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0),
2842
2887
  imageSmall: jspb.Message.getFieldWithDefault(msg, 22, ""),
2843
- imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 23, "")
2888
+ imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 23, ""),
2889
+ portraitImage: jspb.Message.getFieldWithDefault(msg, 24, ""),
2890
+ portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 25, "")
2844
2891
  };
2845
2892
 
2846
2893
  if (includeInstance) {
@@ -2973,6 +3020,14 @@ proto.tournament.TournamentItem.deserializeBinaryFromReader = function(msg, read
2973
3020
  var value = /** @type {string} */ (reader.readString());
2974
3021
  msg.setImageSmallCdn(value);
2975
3022
  break;
3023
+ case 24:
3024
+ var value = /** @type {string} */ (reader.readString());
3025
+ msg.setPortraitImage(value);
3026
+ break;
3027
+ case 25:
3028
+ var value = /** @type {string} */ (reader.readString());
3029
+ msg.setPortraitImageCdn(value);
3030
+ break;
2976
3031
  default:
2977
3032
  reader.skipField();
2978
3033
  break;
@@ -3167,6 +3222,20 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
3167
3222
  f
3168
3223
  );
3169
3224
  }
3225
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
3226
+ if (f != null) {
3227
+ writer.writeString(
3228
+ 24,
3229
+ f
3230
+ );
3231
+ }
3232
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
3233
+ if (f != null) {
3234
+ writer.writeString(
3235
+ 25,
3236
+ f
3237
+ );
3238
+ }
3170
3239
  };
3171
3240
 
3172
3241
 
@@ -4006,6 +4075,78 @@ proto.tournament.TournamentItem.prototype.hasImageSmallCdn = function() {
4006
4075
  };
4007
4076
 
4008
4077
 
4078
+ /**
4079
+ * optional string portrait_image = 24;
4080
+ * @return {string}
4081
+ */
4082
+ proto.tournament.TournamentItem.prototype.getPortraitImage = function() {
4083
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
4084
+ };
4085
+
4086
+
4087
+ /**
4088
+ * @param {string} value
4089
+ * @return {!proto.tournament.TournamentItem} returns this
4090
+ */
4091
+ proto.tournament.TournamentItem.prototype.setPortraitImage = function(value) {
4092
+ return jspb.Message.setField(this, 24, value);
4093
+ };
4094
+
4095
+
4096
+ /**
4097
+ * Clears the field making it undefined.
4098
+ * @return {!proto.tournament.TournamentItem} returns this
4099
+ */
4100
+ proto.tournament.TournamentItem.prototype.clearPortraitImage = function() {
4101
+ return jspb.Message.setField(this, 24, undefined);
4102
+ };
4103
+
4104
+
4105
+ /**
4106
+ * Returns whether this field is set.
4107
+ * @return {boolean}
4108
+ */
4109
+ proto.tournament.TournamentItem.prototype.hasPortraitImage = function() {
4110
+ return jspb.Message.getField(this, 24) != null;
4111
+ };
4112
+
4113
+
4114
+ /**
4115
+ * optional string portrait_image_cdn = 25;
4116
+ * @return {string}
4117
+ */
4118
+ proto.tournament.TournamentItem.prototype.getPortraitImageCdn = function() {
4119
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
4120
+ };
4121
+
4122
+
4123
+ /**
4124
+ * @param {string} value
4125
+ * @return {!proto.tournament.TournamentItem} returns this
4126
+ */
4127
+ proto.tournament.TournamentItem.prototype.setPortraitImageCdn = function(value) {
4128
+ return jspb.Message.setField(this, 25, value);
4129
+ };
4130
+
4131
+
4132
+ /**
4133
+ * Clears the field making it undefined.
4134
+ * @return {!proto.tournament.TournamentItem} returns this
4135
+ */
4136
+ proto.tournament.TournamentItem.prototype.clearPortraitImageCdn = function() {
4137
+ return jspb.Message.setField(this, 25, undefined);
4138
+ };
4139
+
4140
+
4141
+ /**
4142
+ * Returns whether this field is set.
4143
+ * @return {boolean}
4144
+ */
4145
+ proto.tournament.TournamentItem.prototype.hasPortraitImageCdn = function() {
4146
+ return jspb.Message.getField(this, 25) != null;
4147
+ };
4148
+
4149
+
4009
4150
 
4010
4151
  /**
4011
4152
  * Oneof group definitions for this message. Each group defines the field
@@ -6080,7 +6221,8 @@ proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.toObject = functio
6080
6221
  */
6081
6222
  proto.tournament.GetTournamentSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
6082
6223
  var f, obj = {
6083
- idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
6224
+ idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
6225
+ locale: jspb.Message.getFieldWithDefault(msg, 2, "")
6084
6226
  };
6085
6227
 
6086
6228
  if (includeInstance) {
@@ -6123,6 +6265,10 @@ proto.tournament.GetTournamentSnapshotsByIdsRequest.deserializeBinaryFromReader
6123
6265
  msg.addIds(values[i]);
6124
6266
  }
6125
6267
  break;
6268
+ case 2:
6269
+ var value = /** @type {string} */ (reader.readString());
6270
+ msg.setLocale(value);
6271
+ break;
6126
6272
  default:
6127
6273
  reader.skipField();
6128
6274
  break;
@@ -6159,6 +6305,13 @@ proto.tournament.GetTournamentSnapshotsByIdsRequest.serializeBinaryToWriter = fu
6159
6305
  f
6160
6306
  );
6161
6307
  }
6308
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
6309
+ if (f != null) {
6310
+ writer.writeString(
6311
+ 2,
6312
+ f
6313
+ );
6314
+ }
6162
6315
  };
6163
6316
 
6164
6317
 
@@ -6199,6 +6352,42 @@ proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.clearIdsList = fun
6199
6352
  };
6200
6353
 
6201
6354
 
6355
+ /**
6356
+ * optional string locale = 2;
6357
+ * @return {string}
6358
+ */
6359
+ proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.getLocale = function() {
6360
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6361
+ };
6362
+
6363
+
6364
+ /**
6365
+ * @param {string} value
6366
+ * @return {!proto.tournament.GetTournamentSnapshotsByIdsRequest} returns this
6367
+ */
6368
+ proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.setLocale = function(value) {
6369
+ return jspb.Message.setField(this, 2, value);
6370
+ };
6371
+
6372
+
6373
+ /**
6374
+ * Clears the field making it undefined.
6375
+ * @return {!proto.tournament.GetTournamentSnapshotsByIdsRequest} returns this
6376
+ */
6377
+ proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.clearLocale = function() {
6378
+ return jspb.Message.setField(this, 2, undefined);
6379
+ };
6380
+
6381
+
6382
+ /**
6383
+ * Returns whether this field is set.
6384
+ * @return {boolean}
6385
+ */
6386
+ proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.hasLocale = function() {
6387
+ return jspb.Message.getField(this, 2) != null;
6388
+ };
6389
+
6390
+
6202
6391
 
6203
6392
 
6204
6393
 
@@ -6245,7 +6434,9 @@ proto.tournament.TournamentSnapshotItem.toObject = function(includeInstance, msg
6245
6434
  startedAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
6246
6435
  finishedAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
6247
6436
  currentMembersCount: jspb.Message.getFieldWithDefault(msg, 14, 0),
6248
- maxMembersCount: jspb.Message.getFieldWithDefault(msg, 15, 0)
6437
+ maxMembersCount: jspb.Message.getFieldWithDefault(msg, 15, 0),
6438
+ portraitImage: jspb.Message.getFieldWithDefault(msg, 16, ""),
6439
+ portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 17, "")
6249
6440
  };
6250
6441
 
6251
6442
  if (includeInstance) {
@@ -6342,6 +6533,14 @@ proto.tournament.TournamentSnapshotItem.deserializeBinaryFromReader = function(m
6342
6533
  var value = /** @type {number} */ (reader.readInt32());
6343
6534
  msg.setMaxMembersCount(value);
6344
6535
  break;
6536
+ case 16:
6537
+ var value = /** @type {string} */ (reader.readString());
6538
+ msg.setPortraitImage(value);
6539
+ break;
6540
+ case 17:
6541
+ var value = /** @type {string} */ (reader.readString());
6542
+ msg.setPortraitImageCdn(value);
6543
+ break;
6345
6544
  default:
6346
6545
  reader.skipField();
6347
6546
  break;
@@ -6476,6 +6675,20 @@ proto.tournament.TournamentSnapshotItem.serializeBinaryToWriter = function(messa
6476
6675
  f
6477
6676
  );
6478
6677
  }
6678
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
6679
+ if (f != null) {
6680
+ writer.writeString(
6681
+ 16,
6682
+ f
6683
+ );
6684
+ }
6685
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
6686
+ if (f != null) {
6687
+ writer.writeString(
6688
+ 17,
6689
+ f
6690
+ );
6691
+ }
6479
6692
  };
6480
6693
 
6481
6694
 
@@ -7001,6 +7214,78 @@ proto.tournament.TournamentSnapshotItem.prototype.hasMaxMembersCount = function(
7001
7214
  };
7002
7215
 
7003
7216
 
7217
+ /**
7218
+ * optional string portrait_image = 16;
7219
+ * @return {string}
7220
+ */
7221
+ proto.tournament.TournamentSnapshotItem.prototype.getPortraitImage = function() {
7222
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
7223
+ };
7224
+
7225
+
7226
+ /**
7227
+ * @param {string} value
7228
+ * @return {!proto.tournament.TournamentSnapshotItem} returns this
7229
+ */
7230
+ proto.tournament.TournamentSnapshotItem.prototype.setPortraitImage = function(value) {
7231
+ return jspb.Message.setField(this, 16, value);
7232
+ };
7233
+
7234
+
7235
+ /**
7236
+ * Clears the field making it undefined.
7237
+ * @return {!proto.tournament.TournamentSnapshotItem} returns this
7238
+ */
7239
+ proto.tournament.TournamentSnapshotItem.prototype.clearPortraitImage = function() {
7240
+ return jspb.Message.setField(this, 16, undefined);
7241
+ };
7242
+
7243
+
7244
+ /**
7245
+ * Returns whether this field is set.
7246
+ * @return {boolean}
7247
+ */
7248
+ proto.tournament.TournamentSnapshotItem.prototype.hasPortraitImage = function() {
7249
+ return jspb.Message.getField(this, 16) != null;
7250
+ };
7251
+
7252
+
7253
+ /**
7254
+ * optional string portrait_image_cdn = 17;
7255
+ * @return {string}
7256
+ */
7257
+ proto.tournament.TournamentSnapshotItem.prototype.getPortraitImageCdn = function() {
7258
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
7259
+ };
7260
+
7261
+
7262
+ /**
7263
+ * @param {string} value
7264
+ * @return {!proto.tournament.TournamentSnapshotItem} returns this
7265
+ */
7266
+ proto.tournament.TournamentSnapshotItem.prototype.setPortraitImageCdn = function(value) {
7267
+ return jspb.Message.setField(this, 17, value);
7268
+ };
7269
+
7270
+
7271
+ /**
7272
+ * Clears the field making it undefined.
7273
+ * @return {!proto.tournament.TournamentSnapshotItem} returns this
7274
+ */
7275
+ proto.tournament.TournamentSnapshotItem.prototype.clearPortraitImageCdn = function() {
7276
+ return jspb.Message.setField(this, 17, undefined);
7277
+ };
7278
+
7279
+
7280
+ /**
7281
+ * Returns whether this field is set.
7282
+ * @return {boolean}
7283
+ */
7284
+ proto.tournament.TournamentSnapshotItem.prototype.hasPortraitImageCdn = function() {
7285
+ return jspb.Message.getField(this, 17) != null;
7286
+ };
7287
+
7288
+
7004
7289
 
7005
7290
  /**
7006
7291
  * List of repeated fields within this message type.
@@ -9524,7 +9809,13 @@ proto.tournament.ContentItem.toObject = function(includeInstance, msg) {
9524
9809
  locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
9525
9810
  content: jspb.Message.getFieldWithDefault(msg, 4, ""),
9526
9811
  title: jspb.Message.getFieldWithDefault(msg, 5, ""),
9527
- description: jspb.Message.getFieldWithDefault(msg, 6, "")
9812
+ description: jspb.Message.getFieldWithDefault(msg, 6, ""),
9813
+ image: jspb.Message.getFieldWithDefault(msg, 7, ""),
9814
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 8, ""),
9815
+ imageSmall: jspb.Message.getFieldWithDefault(msg, 9, ""),
9816
+ imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
9817
+ portraitImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
9818
+ portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 12, "")
9528
9819
  };
9529
9820
 
9530
9821
  if (includeInstance) {
@@ -9585,6 +9876,30 @@ proto.tournament.ContentItem.deserializeBinaryFromReader = function(msg, reader)
9585
9876
  var value = /** @type {string} */ (reader.readString());
9586
9877
  msg.setDescription(value);
9587
9878
  break;
9879
+ case 7:
9880
+ var value = /** @type {string} */ (reader.readString());
9881
+ msg.setImage(value);
9882
+ break;
9883
+ case 8:
9884
+ var value = /** @type {string} */ (reader.readString());
9885
+ msg.setImageCdn(value);
9886
+ break;
9887
+ case 9:
9888
+ var value = /** @type {string} */ (reader.readString());
9889
+ msg.setImageSmall(value);
9890
+ break;
9891
+ case 10:
9892
+ var value = /** @type {string} */ (reader.readString());
9893
+ msg.setImageSmallCdn(value);
9894
+ break;
9895
+ case 11:
9896
+ var value = /** @type {string} */ (reader.readString());
9897
+ msg.setPortraitImage(value);
9898
+ break;
9899
+ case 12:
9900
+ var value = /** @type {string} */ (reader.readString());
9901
+ msg.setPortraitImageCdn(value);
9902
+ break;
9588
9903
  default:
9589
9904
  reader.skipField();
9590
9905
  break;
@@ -9656,13 +9971,55 @@ proto.tournament.ContentItem.serializeBinaryToWriter = function(message, writer)
9656
9971
  f
9657
9972
  );
9658
9973
  }
9659
- };
9660
-
9661
-
9662
- /**
9663
- * optional int32 id = 1;
9664
- * @return {number}
9665
- */
9974
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
9975
+ if (f != null) {
9976
+ writer.writeString(
9977
+ 7,
9978
+ f
9979
+ );
9980
+ }
9981
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
9982
+ if (f != null) {
9983
+ writer.writeString(
9984
+ 8,
9985
+ f
9986
+ );
9987
+ }
9988
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
9989
+ if (f != null) {
9990
+ writer.writeString(
9991
+ 9,
9992
+ f
9993
+ );
9994
+ }
9995
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
9996
+ if (f != null) {
9997
+ writer.writeString(
9998
+ 10,
9999
+ f
10000
+ );
10001
+ }
10002
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
10003
+ if (f != null) {
10004
+ writer.writeString(
10005
+ 11,
10006
+ f
10007
+ );
10008
+ }
10009
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
10010
+ if (f != null) {
10011
+ writer.writeString(
10012
+ 12,
10013
+ f
10014
+ );
10015
+ }
10016
+ };
10017
+
10018
+
10019
+ /**
10020
+ * optional int32 id = 1;
10021
+ * @return {number}
10022
+ */
9666
10023
  proto.tournament.ContentItem.prototype.getId = function() {
9667
10024
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
9668
10025
  };
@@ -9875,6 +10232,222 @@ proto.tournament.ContentItem.prototype.hasDescription = function() {
9875
10232
  };
9876
10233
 
9877
10234
 
10235
+ /**
10236
+ * optional string image = 7;
10237
+ * @return {string}
10238
+ */
10239
+ proto.tournament.ContentItem.prototype.getImage = function() {
10240
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
10241
+ };
10242
+
10243
+
10244
+ /**
10245
+ * @param {string} value
10246
+ * @return {!proto.tournament.ContentItem} returns this
10247
+ */
10248
+ proto.tournament.ContentItem.prototype.setImage = function(value) {
10249
+ return jspb.Message.setField(this, 7, value);
10250
+ };
10251
+
10252
+
10253
+ /**
10254
+ * Clears the field making it undefined.
10255
+ * @return {!proto.tournament.ContentItem} returns this
10256
+ */
10257
+ proto.tournament.ContentItem.prototype.clearImage = function() {
10258
+ return jspb.Message.setField(this, 7, undefined);
10259
+ };
10260
+
10261
+
10262
+ /**
10263
+ * Returns whether this field is set.
10264
+ * @return {boolean}
10265
+ */
10266
+ proto.tournament.ContentItem.prototype.hasImage = function() {
10267
+ return jspb.Message.getField(this, 7) != null;
10268
+ };
10269
+
10270
+
10271
+ /**
10272
+ * optional string image_cdn = 8;
10273
+ * @return {string}
10274
+ */
10275
+ proto.tournament.ContentItem.prototype.getImageCdn = function() {
10276
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
10277
+ };
10278
+
10279
+
10280
+ /**
10281
+ * @param {string} value
10282
+ * @return {!proto.tournament.ContentItem} returns this
10283
+ */
10284
+ proto.tournament.ContentItem.prototype.setImageCdn = function(value) {
10285
+ return jspb.Message.setField(this, 8, value);
10286
+ };
10287
+
10288
+
10289
+ /**
10290
+ * Clears the field making it undefined.
10291
+ * @return {!proto.tournament.ContentItem} returns this
10292
+ */
10293
+ proto.tournament.ContentItem.prototype.clearImageCdn = function() {
10294
+ return jspb.Message.setField(this, 8, undefined);
10295
+ };
10296
+
10297
+
10298
+ /**
10299
+ * Returns whether this field is set.
10300
+ * @return {boolean}
10301
+ */
10302
+ proto.tournament.ContentItem.prototype.hasImageCdn = function() {
10303
+ return jspb.Message.getField(this, 8) != null;
10304
+ };
10305
+
10306
+
10307
+ /**
10308
+ * optional string image_small = 9;
10309
+ * @return {string}
10310
+ */
10311
+ proto.tournament.ContentItem.prototype.getImageSmall = function() {
10312
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
10313
+ };
10314
+
10315
+
10316
+ /**
10317
+ * @param {string} value
10318
+ * @return {!proto.tournament.ContentItem} returns this
10319
+ */
10320
+ proto.tournament.ContentItem.prototype.setImageSmall = function(value) {
10321
+ return jspb.Message.setField(this, 9, value);
10322
+ };
10323
+
10324
+
10325
+ /**
10326
+ * Clears the field making it undefined.
10327
+ * @return {!proto.tournament.ContentItem} returns this
10328
+ */
10329
+ proto.tournament.ContentItem.prototype.clearImageSmall = function() {
10330
+ return jspb.Message.setField(this, 9, undefined);
10331
+ };
10332
+
10333
+
10334
+ /**
10335
+ * Returns whether this field is set.
10336
+ * @return {boolean}
10337
+ */
10338
+ proto.tournament.ContentItem.prototype.hasImageSmall = function() {
10339
+ return jspb.Message.getField(this, 9) != null;
10340
+ };
10341
+
10342
+
10343
+ /**
10344
+ * optional string image_small_cdn = 10;
10345
+ * @return {string}
10346
+ */
10347
+ proto.tournament.ContentItem.prototype.getImageSmallCdn = function() {
10348
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
10349
+ };
10350
+
10351
+
10352
+ /**
10353
+ * @param {string} value
10354
+ * @return {!proto.tournament.ContentItem} returns this
10355
+ */
10356
+ proto.tournament.ContentItem.prototype.setImageSmallCdn = function(value) {
10357
+ return jspb.Message.setField(this, 10, value);
10358
+ };
10359
+
10360
+
10361
+ /**
10362
+ * Clears the field making it undefined.
10363
+ * @return {!proto.tournament.ContentItem} returns this
10364
+ */
10365
+ proto.tournament.ContentItem.prototype.clearImageSmallCdn = function() {
10366
+ return jspb.Message.setField(this, 10, undefined);
10367
+ };
10368
+
10369
+
10370
+ /**
10371
+ * Returns whether this field is set.
10372
+ * @return {boolean}
10373
+ */
10374
+ proto.tournament.ContentItem.prototype.hasImageSmallCdn = function() {
10375
+ return jspb.Message.getField(this, 10) != null;
10376
+ };
10377
+
10378
+
10379
+ /**
10380
+ * optional string portrait_image = 11;
10381
+ * @return {string}
10382
+ */
10383
+ proto.tournament.ContentItem.prototype.getPortraitImage = function() {
10384
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
10385
+ };
10386
+
10387
+
10388
+ /**
10389
+ * @param {string} value
10390
+ * @return {!proto.tournament.ContentItem} returns this
10391
+ */
10392
+ proto.tournament.ContentItem.prototype.setPortraitImage = function(value) {
10393
+ return jspb.Message.setField(this, 11, value);
10394
+ };
10395
+
10396
+
10397
+ /**
10398
+ * Clears the field making it undefined.
10399
+ * @return {!proto.tournament.ContentItem} returns this
10400
+ */
10401
+ proto.tournament.ContentItem.prototype.clearPortraitImage = function() {
10402
+ return jspb.Message.setField(this, 11, undefined);
10403
+ };
10404
+
10405
+
10406
+ /**
10407
+ * Returns whether this field is set.
10408
+ * @return {boolean}
10409
+ */
10410
+ proto.tournament.ContentItem.prototype.hasPortraitImage = function() {
10411
+ return jspb.Message.getField(this, 11) != null;
10412
+ };
10413
+
10414
+
10415
+ /**
10416
+ * optional string portrait_image_cdn = 12;
10417
+ * @return {string}
10418
+ */
10419
+ proto.tournament.ContentItem.prototype.getPortraitImageCdn = function() {
10420
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
10421
+ };
10422
+
10423
+
10424
+ /**
10425
+ * @param {string} value
10426
+ * @return {!proto.tournament.ContentItem} returns this
10427
+ */
10428
+ proto.tournament.ContentItem.prototype.setPortraitImageCdn = function(value) {
10429
+ return jspb.Message.setField(this, 12, value);
10430
+ };
10431
+
10432
+
10433
+ /**
10434
+ * Clears the field making it undefined.
10435
+ * @return {!proto.tournament.ContentItem} returns this
10436
+ */
10437
+ proto.tournament.ContentItem.prototype.clearPortraitImageCdn = function() {
10438
+ return jspb.Message.setField(this, 12, undefined);
10439
+ };
10440
+
10441
+
10442
+ /**
10443
+ * Returns whether this field is set.
10444
+ * @return {boolean}
10445
+ */
10446
+ proto.tournament.ContentItem.prototype.hasPortraitImageCdn = function() {
10447
+ return jspb.Message.getField(this, 12) != null;
10448
+ };
10449
+
10450
+
9878
10451
 
9879
10452
 
9880
10453
 
@@ -10090,29 +10663,704 @@ proto.tournament.TournamentContentRequest.prototype.setContent = function(value)
10090
10663
 
10091
10664
 
10092
10665
  /**
10093
- * optional string title = 4;
10094
- * @return {string}
10666
+ * optional string title = 4;
10667
+ * @return {string}
10668
+ */
10669
+ proto.tournament.TournamentContentRequest.prototype.getTitle = function() {
10670
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
10671
+ };
10672
+
10673
+
10674
+ /**
10675
+ * @param {string} value
10676
+ * @return {!proto.tournament.TournamentContentRequest} returns this
10677
+ */
10678
+ proto.tournament.TournamentContentRequest.prototype.setTitle = function(value) {
10679
+ return jspb.Message.setField(this, 4, value);
10680
+ };
10681
+
10682
+
10683
+ /**
10684
+ * Clears the field making it undefined.
10685
+ * @return {!proto.tournament.TournamentContentRequest} returns this
10686
+ */
10687
+ proto.tournament.TournamentContentRequest.prototype.clearTitle = function() {
10688
+ return jspb.Message.setField(this, 4, undefined);
10689
+ };
10690
+
10691
+
10692
+ /**
10693
+ * Returns whether this field is set.
10694
+ * @return {boolean}
10695
+ */
10696
+ proto.tournament.TournamentContentRequest.prototype.hasTitle = function() {
10697
+ return jspb.Message.getField(this, 4) != null;
10698
+ };
10699
+
10700
+
10701
+ /**
10702
+ * optional string description = 5;
10703
+ * @return {string}
10704
+ */
10705
+ proto.tournament.TournamentContentRequest.prototype.getDescription = function() {
10706
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
10707
+ };
10708
+
10709
+
10710
+ /**
10711
+ * @param {string} value
10712
+ * @return {!proto.tournament.TournamentContentRequest} returns this
10713
+ */
10714
+ proto.tournament.TournamentContentRequest.prototype.setDescription = function(value) {
10715
+ return jspb.Message.setField(this, 5, value);
10716
+ };
10717
+
10718
+
10719
+ /**
10720
+ * Clears the field making it undefined.
10721
+ * @return {!proto.tournament.TournamentContentRequest} returns this
10722
+ */
10723
+ proto.tournament.TournamentContentRequest.prototype.clearDescription = function() {
10724
+ return jspb.Message.setField(this, 5, undefined);
10725
+ };
10726
+
10727
+
10728
+ /**
10729
+ * Returns whether this field is set.
10730
+ * @return {boolean}
10731
+ */
10732
+ proto.tournament.TournamentContentRequest.prototype.hasDescription = function() {
10733
+ return jspb.Message.getField(this, 5) != null;
10734
+ };
10735
+
10736
+
10737
+
10738
+
10739
+
10740
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10741
+ /**
10742
+ * Creates an object representation of this proto.
10743
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10744
+ * Optional fields that are not set will be set to undefined.
10745
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10746
+ * For the list of reserved names please see:
10747
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10748
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10749
+ * JSPB instance for transitional soy proto support:
10750
+ * http://goto/soy-param-migration
10751
+ * @return {!Object}
10752
+ */
10753
+ proto.tournament.TournamentLocalizationRequest.prototype.toObject = function(opt_includeInstance) {
10754
+ return proto.tournament.TournamentLocalizationRequest.toObject(opt_includeInstance, this);
10755
+ };
10756
+
10757
+
10758
+ /**
10759
+ * Static version of the {@see toObject} method.
10760
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10761
+ * the JSPB instance for transitional soy proto support:
10762
+ * http://goto/soy-param-migration
10763
+ * @param {!proto.tournament.TournamentLocalizationRequest} msg The msg instance to transform.
10764
+ * @return {!Object}
10765
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10766
+ */
10767
+ proto.tournament.TournamentLocalizationRequest.toObject = function(includeInstance, msg) {
10768
+ var f, obj = {
10769
+ tournamentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
10770
+ locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
10771
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
10772
+ description: jspb.Message.getFieldWithDefault(msg, 4, ""),
10773
+ content: jspb.Message.getFieldWithDefault(msg, 5, ""),
10774
+ removeDesktopImage: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
10775
+ removeMobileImage: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
10776
+ removePortraitImage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
10777
+ };
10778
+
10779
+ if (includeInstance) {
10780
+ obj.$jspbMessageInstance = msg;
10781
+ }
10782
+ return obj;
10783
+ };
10784
+ }
10785
+
10786
+
10787
+ /**
10788
+ * Deserializes binary data (in protobuf wire format).
10789
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10790
+ * @return {!proto.tournament.TournamentLocalizationRequest}
10791
+ */
10792
+ proto.tournament.TournamentLocalizationRequest.deserializeBinary = function(bytes) {
10793
+ var reader = new jspb.BinaryReader(bytes);
10794
+ var msg = new proto.tournament.TournamentLocalizationRequest;
10795
+ return proto.tournament.TournamentLocalizationRequest.deserializeBinaryFromReader(msg, reader);
10796
+ };
10797
+
10798
+
10799
+ /**
10800
+ * Deserializes binary data (in protobuf wire format) from the
10801
+ * given reader into the given message object.
10802
+ * @param {!proto.tournament.TournamentLocalizationRequest} msg The message object to deserialize into.
10803
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10804
+ * @return {!proto.tournament.TournamentLocalizationRequest}
10805
+ */
10806
+ proto.tournament.TournamentLocalizationRequest.deserializeBinaryFromReader = function(msg, reader) {
10807
+ while (reader.nextField()) {
10808
+ if (reader.isEndGroup()) {
10809
+ break;
10810
+ }
10811
+ var field = reader.getFieldNumber();
10812
+ switch (field) {
10813
+ case 1:
10814
+ var value = /** @type {number} */ (reader.readInt32());
10815
+ msg.setTournamentId(value);
10816
+ break;
10817
+ case 2:
10818
+ var value = /** @type {string} */ (reader.readString());
10819
+ msg.setLocale(value);
10820
+ break;
10821
+ case 3:
10822
+ var value = /** @type {string} */ (reader.readString());
10823
+ msg.setTitle(value);
10824
+ break;
10825
+ case 4:
10826
+ var value = /** @type {string} */ (reader.readString());
10827
+ msg.setDescription(value);
10828
+ break;
10829
+ case 5:
10830
+ var value = /** @type {string} */ (reader.readString());
10831
+ msg.setContent(value);
10832
+ break;
10833
+ case 6:
10834
+ var value = /** @type {boolean} */ (reader.readBool());
10835
+ msg.setRemoveDesktopImage(value);
10836
+ break;
10837
+ case 7:
10838
+ var value = /** @type {boolean} */ (reader.readBool());
10839
+ msg.setRemoveMobileImage(value);
10840
+ break;
10841
+ case 8:
10842
+ var value = /** @type {boolean} */ (reader.readBool());
10843
+ msg.setRemovePortraitImage(value);
10844
+ break;
10845
+ default:
10846
+ reader.skipField();
10847
+ break;
10848
+ }
10849
+ }
10850
+ return msg;
10851
+ };
10852
+
10853
+
10854
+ /**
10855
+ * Serializes the message to binary data (in protobuf wire format).
10856
+ * @return {!Uint8Array}
10857
+ */
10858
+ proto.tournament.TournamentLocalizationRequest.prototype.serializeBinary = function() {
10859
+ var writer = new jspb.BinaryWriter();
10860
+ proto.tournament.TournamentLocalizationRequest.serializeBinaryToWriter(this, writer);
10861
+ return writer.getResultBuffer();
10862
+ };
10863
+
10864
+
10865
+ /**
10866
+ * Serializes the given message to binary data (in protobuf wire
10867
+ * format), writing to the given BinaryWriter.
10868
+ * @param {!proto.tournament.TournamentLocalizationRequest} message
10869
+ * @param {!jspb.BinaryWriter} writer
10870
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10871
+ */
10872
+ proto.tournament.TournamentLocalizationRequest.serializeBinaryToWriter = function(message, writer) {
10873
+ var f = undefined;
10874
+ f = message.getTournamentId();
10875
+ if (f !== 0) {
10876
+ writer.writeInt32(
10877
+ 1,
10878
+ f
10879
+ );
10880
+ }
10881
+ f = message.getLocale();
10882
+ if (f.length > 0) {
10883
+ writer.writeString(
10884
+ 2,
10885
+ f
10886
+ );
10887
+ }
10888
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
10889
+ if (f != null) {
10890
+ writer.writeString(
10891
+ 3,
10892
+ f
10893
+ );
10894
+ }
10895
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
10896
+ if (f != null) {
10897
+ writer.writeString(
10898
+ 4,
10899
+ f
10900
+ );
10901
+ }
10902
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
10903
+ if (f != null) {
10904
+ writer.writeString(
10905
+ 5,
10906
+ f
10907
+ );
10908
+ }
10909
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
10910
+ if (f != null) {
10911
+ writer.writeBool(
10912
+ 6,
10913
+ f
10914
+ );
10915
+ }
10916
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
10917
+ if (f != null) {
10918
+ writer.writeBool(
10919
+ 7,
10920
+ f
10921
+ );
10922
+ }
10923
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
10924
+ if (f != null) {
10925
+ writer.writeBool(
10926
+ 8,
10927
+ f
10928
+ );
10929
+ }
10930
+ };
10931
+
10932
+
10933
+ /**
10934
+ * optional int32 tournament_id = 1;
10935
+ * @return {number}
10936
+ */
10937
+ proto.tournament.TournamentLocalizationRequest.prototype.getTournamentId = function() {
10938
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10939
+ };
10940
+
10941
+
10942
+ /**
10943
+ * @param {number} value
10944
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
10945
+ */
10946
+ proto.tournament.TournamentLocalizationRequest.prototype.setTournamentId = function(value) {
10947
+ return jspb.Message.setProto3IntField(this, 1, value);
10948
+ };
10949
+
10950
+
10951
+ /**
10952
+ * optional string locale = 2;
10953
+ * @return {string}
10954
+ */
10955
+ proto.tournament.TournamentLocalizationRequest.prototype.getLocale = function() {
10956
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10957
+ };
10958
+
10959
+
10960
+ /**
10961
+ * @param {string} value
10962
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
10963
+ */
10964
+ proto.tournament.TournamentLocalizationRequest.prototype.setLocale = function(value) {
10965
+ return jspb.Message.setProto3StringField(this, 2, value);
10966
+ };
10967
+
10968
+
10969
+ /**
10970
+ * optional string title = 3;
10971
+ * @return {string}
10972
+ */
10973
+ proto.tournament.TournamentLocalizationRequest.prototype.getTitle = function() {
10974
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10975
+ };
10976
+
10977
+
10978
+ /**
10979
+ * @param {string} value
10980
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
10981
+ */
10982
+ proto.tournament.TournamentLocalizationRequest.prototype.setTitle = function(value) {
10983
+ return jspb.Message.setField(this, 3, value);
10984
+ };
10985
+
10986
+
10987
+ /**
10988
+ * Clears the field making it undefined.
10989
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
10990
+ */
10991
+ proto.tournament.TournamentLocalizationRequest.prototype.clearTitle = function() {
10992
+ return jspb.Message.setField(this, 3, undefined);
10993
+ };
10994
+
10995
+
10996
+ /**
10997
+ * Returns whether this field is set.
10998
+ * @return {boolean}
10999
+ */
11000
+ proto.tournament.TournamentLocalizationRequest.prototype.hasTitle = function() {
11001
+ return jspb.Message.getField(this, 3) != null;
11002
+ };
11003
+
11004
+
11005
+ /**
11006
+ * optional string description = 4;
11007
+ * @return {string}
11008
+ */
11009
+ proto.tournament.TournamentLocalizationRequest.prototype.getDescription = function() {
11010
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11011
+ };
11012
+
11013
+
11014
+ /**
11015
+ * @param {string} value
11016
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11017
+ */
11018
+ proto.tournament.TournamentLocalizationRequest.prototype.setDescription = function(value) {
11019
+ return jspb.Message.setField(this, 4, value);
11020
+ };
11021
+
11022
+
11023
+ /**
11024
+ * Clears the field making it undefined.
11025
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11026
+ */
11027
+ proto.tournament.TournamentLocalizationRequest.prototype.clearDescription = function() {
11028
+ return jspb.Message.setField(this, 4, undefined);
11029
+ };
11030
+
11031
+
11032
+ /**
11033
+ * Returns whether this field is set.
11034
+ * @return {boolean}
11035
+ */
11036
+ proto.tournament.TournamentLocalizationRequest.prototype.hasDescription = function() {
11037
+ return jspb.Message.getField(this, 4) != null;
11038
+ };
11039
+
11040
+
11041
+ /**
11042
+ * optional string content = 5;
11043
+ * @return {string}
11044
+ */
11045
+ proto.tournament.TournamentLocalizationRequest.prototype.getContent = function() {
11046
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
11047
+ };
11048
+
11049
+
11050
+ /**
11051
+ * @param {string} value
11052
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11053
+ */
11054
+ proto.tournament.TournamentLocalizationRequest.prototype.setContent = function(value) {
11055
+ return jspb.Message.setField(this, 5, value);
11056
+ };
11057
+
11058
+
11059
+ /**
11060
+ * Clears the field making it undefined.
11061
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11062
+ */
11063
+ proto.tournament.TournamentLocalizationRequest.prototype.clearContent = function() {
11064
+ return jspb.Message.setField(this, 5, undefined);
11065
+ };
11066
+
11067
+
11068
+ /**
11069
+ * Returns whether this field is set.
11070
+ * @return {boolean}
11071
+ */
11072
+ proto.tournament.TournamentLocalizationRequest.prototype.hasContent = function() {
11073
+ return jspb.Message.getField(this, 5) != null;
11074
+ };
11075
+
11076
+
11077
+ /**
11078
+ * optional bool remove_desktop_image = 6;
11079
+ * @return {boolean}
11080
+ */
11081
+ proto.tournament.TournamentLocalizationRequest.prototype.getRemoveDesktopImage = function() {
11082
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
11083
+ };
11084
+
11085
+
11086
+ /**
11087
+ * @param {boolean} value
11088
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11089
+ */
11090
+ proto.tournament.TournamentLocalizationRequest.prototype.setRemoveDesktopImage = function(value) {
11091
+ return jspb.Message.setField(this, 6, value);
11092
+ };
11093
+
11094
+
11095
+ /**
11096
+ * Clears the field making it undefined.
11097
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11098
+ */
11099
+ proto.tournament.TournamentLocalizationRequest.prototype.clearRemoveDesktopImage = function() {
11100
+ return jspb.Message.setField(this, 6, undefined);
11101
+ };
11102
+
11103
+
11104
+ /**
11105
+ * Returns whether this field is set.
11106
+ * @return {boolean}
11107
+ */
11108
+ proto.tournament.TournamentLocalizationRequest.prototype.hasRemoveDesktopImage = function() {
11109
+ return jspb.Message.getField(this, 6) != null;
11110
+ };
11111
+
11112
+
11113
+ /**
11114
+ * optional bool remove_mobile_image = 7;
11115
+ * @return {boolean}
11116
+ */
11117
+ proto.tournament.TournamentLocalizationRequest.prototype.getRemoveMobileImage = function() {
11118
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
11119
+ };
11120
+
11121
+
11122
+ /**
11123
+ * @param {boolean} value
11124
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11125
+ */
11126
+ proto.tournament.TournamentLocalizationRequest.prototype.setRemoveMobileImage = function(value) {
11127
+ return jspb.Message.setField(this, 7, value);
11128
+ };
11129
+
11130
+
11131
+ /**
11132
+ * Clears the field making it undefined.
11133
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11134
+ */
11135
+ proto.tournament.TournamentLocalizationRequest.prototype.clearRemoveMobileImage = function() {
11136
+ return jspb.Message.setField(this, 7, undefined);
11137
+ };
11138
+
11139
+
11140
+ /**
11141
+ * Returns whether this field is set.
11142
+ * @return {boolean}
11143
+ */
11144
+ proto.tournament.TournamentLocalizationRequest.prototype.hasRemoveMobileImage = function() {
11145
+ return jspb.Message.getField(this, 7) != null;
11146
+ };
11147
+
11148
+
11149
+ /**
11150
+ * optional bool remove_portrait_image = 8;
11151
+ * @return {boolean}
11152
+ */
11153
+ proto.tournament.TournamentLocalizationRequest.prototype.getRemovePortraitImage = function() {
11154
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
11155
+ };
11156
+
11157
+
11158
+ /**
11159
+ * @param {boolean} value
11160
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11161
+ */
11162
+ proto.tournament.TournamentLocalizationRequest.prototype.setRemovePortraitImage = function(value) {
11163
+ return jspb.Message.setField(this, 8, value);
11164
+ };
11165
+
11166
+
11167
+ /**
11168
+ * Clears the field making it undefined.
11169
+ * @return {!proto.tournament.TournamentLocalizationRequest} returns this
11170
+ */
11171
+ proto.tournament.TournamentLocalizationRequest.prototype.clearRemovePortraitImage = function() {
11172
+ return jspb.Message.setField(this, 8, undefined);
11173
+ };
11174
+
11175
+
11176
+ /**
11177
+ * Returns whether this field is set.
11178
+ * @return {boolean}
11179
+ */
11180
+ proto.tournament.TournamentLocalizationRequest.prototype.hasRemovePortraitImage = function() {
11181
+ return jspb.Message.getField(this, 8) != null;
11182
+ };
11183
+
11184
+
11185
+
11186
+ /**
11187
+ * Oneof group definitions for this message. Each group defines the field
11188
+ * numbers belonging to that group. When of these fields' value is set, all
11189
+ * other fields in the group are cleared. During deserialization, if multiple
11190
+ * fields are encountered for a group, only the last value seen will be kept.
11191
+ * @private {!Array<!Array<number>>}
11192
+ * @const
11193
+ */
11194
+ proto.tournament.TournamentLocalizationUpsertRequest.oneofGroups_ = [[1,2]];
11195
+
11196
+ /**
11197
+ * @enum {number}
11198
+ */
11199
+ proto.tournament.TournamentLocalizationUpsertRequest.RequestCase = {
11200
+ REQUEST_NOT_SET: 0,
11201
+ LOCALIZATION_DATA: 1,
11202
+ FILE: 2
11203
+ };
11204
+
11205
+ /**
11206
+ * @return {proto.tournament.TournamentLocalizationUpsertRequest.RequestCase}
11207
+ */
11208
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.getRequestCase = function() {
11209
+ return /** @type {proto.tournament.TournamentLocalizationUpsertRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.tournament.TournamentLocalizationUpsertRequest.oneofGroups_[0]));
11210
+ };
11211
+
11212
+
11213
+
11214
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11215
+ /**
11216
+ * Creates an object representation of this proto.
11217
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11218
+ * Optional fields that are not set will be set to undefined.
11219
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11220
+ * For the list of reserved names please see:
11221
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11222
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11223
+ * JSPB instance for transitional soy proto support:
11224
+ * http://goto/soy-param-migration
11225
+ * @return {!Object}
11226
+ */
11227
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.toObject = function(opt_includeInstance) {
11228
+ return proto.tournament.TournamentLocalizationUpsertRequest.toObject(opt_includeInstance, this);
11229
+ };
11230
+
11231
+
11232
+ /**
11233
+ * Static version of the {@see toObject} method.
11234
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11235
+ * the JSPB instance for transitional soy proto support:
11236
+ * http://goto/soy-param-migration
11237
+ * @param {!proto.tournament.TournamentLocalizationUpsertRequest} msg The msg instance to transform.
11238
+ * @return {!Object}
11239
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11240
+ */
11241
+ proto.tournament.TournamentLocalizationUpsertRequest.toObject = function(includeInstance, msg) {
11242
+ var f, obj = {
11243
+ localizationData: (f = msg.getLocalizationData()) && proto.tournament.TournamentLocalizationRequest.toObject(includeInstance, f),
11244
+ file: (f = msg.getFile()) && proto.tournament.File.toObject(includeInstance, f)
11245
+ };
11246
+
11247
+ if (includeInstance) {
11248
+ obj.$jspbMessageInstance = msg;
11249
+ }
11250
+ return obj;
11251
+ };
11252
+ }
11253
+
11254
+
11255
+ /**
11256
+ * Deserializes binary data (in protobuf wire format).
11257
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11258
+ * @return {!proto.tournament.TournamentLocalizationUpsertRequest}
11259
+ */
11260
+ proto.tournament.TournamentLocalizationUpsertRequest.deserializeBinary = function(bytes) {
11261
+ var reader = new jspb.BinaryReader(bytes);
11262
+ var msg = new proto.tournament.TournamentLocalizationUpsertRequest;
11263
+ return proto.tournament.TournamentLocalizationUpsertRequest.deserializeBinaryFromReader(msg, reader);
11264
+ };
11265
+
11266
+
11267
+ /**
11268
+ * Deserializes binary data (in protobuf wire format) from the
11269
+ * given reader into the given message object.
11270
+ * @param {!proto.tournament.TournamentLocalizationUpsertRequest} msg The message object to deserialize into.
11271
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11272
+ * @return {!proto.tournament.TournamentLocalizationUpsertRequest}
11273
+ */
11274
+ proto.tournament.TournamentLocalizationUpsertRequest.deserializeBinaryFromReader = function(msg, reader) {
11275
+ while (reader.nextField()) {
11276
+ if (reader.isEndGroup()) {
11277
+ break;
11278
+ }
11279
+ var field = reader.getFieldNumber();
11280
+ switch (field) {
11281
+ case 1:
11282
+ var value = new proto.tournament.TournamentLocalizationRequest;
11283
+ reader.readMessage(value,proto.tournament.TournamentLocalizationRequest.deserializeBinaryFromReader);
11284
+ msg.setLocalizationData(value);
11285
+ break;
11286
+ case 2:
11287
+ var value = new proto.tournament.File;
11288
+ reader.readMessage(value,proto.tournament.File.deserializeBinaryFromReader);
11289
+ msg.setFile(value);
11290
+ break;
11291
+ default:
11292
+ reader.skipField();
11293
+ break;
11294
+ }
11295
+ }
11296
+ return msg;
11297
+ };
11298
+
11299
+
11300
+ /**
11301
+ * Serializes the message to binary data (in protobuf wire format).
11302
+ * @return {!Uint8Array}
11303
+ */
11304
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.serializeBinary = function() {
11305
+ var writer = new jspb.BinaryWriter();
11306
+ proto.tournament.TournamentLocalizationUpsertRequest.serializeBinaryToWriter(this, writer);
11307
+ return writer.getResultBuffer();
11308
+ };
11309
+
11310
+
11311
+ /**
11312
+ * Serializes the given message to binary data (in protobuf wire
11313
+ * format), writing to the given BinaryWriter.
11314
+ * @param {!proto.tournament.TournamentLocalizationUpsertRequest} message
11315
+ * @param {!jspb.BinaryWriter} writer
11316
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11317
+ */
11318
+ proto.tournament.TournamentLocalizationUpsertRequest.serializeBinaryToWriter = function(message, writer) {
11319
+ var f = undefined;
11320
+ f = message.getLocalizationData();
11321
+ if (f != null) {
11322
+ writer.writeMessage(
11323
+ 1,
11324
+ f,
11325
+ proto.tournament.TournamentLocalizationRequest.serializeBinaryToWriter
11326
+ );
11327
+ }
11328
+ f = message.getFile();
11329
+ if (f != null) {
11330
+ writer.writeMessage(
11331
+ 2,
11332
+ f,
11333
+ proto.tournament.File.serializeBinaryToWriter
11334
+ );
11335
+ }
11336
+ };
11337
+
11338
+
11339
+ /**
11340
+ * optional TournamentLocalizationRequest localization_data = 1;
11341
+ * @return {?proto.tournament.TournamentLocalizationRequest}
10095
11342
  */
10096
- proto.tournament.TournamentContentRequest.prototype.getTitle = function() {
10097
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11343
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.getLocalizationData = function() {
11344
+ return /** @type{?proto.tournament.TournamentLocalizationRequest} */ (
11345
+ jspb.Message.getWrapperField(this, proto.tournament.TournamentLocalizationRequest, 1));
10098
11346
  };
10099
11347
 
10100
11348
 
10101
11349
  /**
10102
- * @param {string} value
10103
- * @return {!proto.tournament.TournamentContentRequest} returns this
10104
- */
10105
- proto.tournament.TournamentContentRequest.prototype.setTitle = function(value) {
10106
- return jspb.Message.setField(this, 4, value);
11350
+ * @param {?proto.tournament.TournamentLocalizationRequest|undefined} value
11351
+ * @return {!proto.tournament.TournamentLocalizationUpsertRequest} returns this
11352
+ */
11353
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.setLocalizationData = function(value) {
11354
+ return jspb.Message.setOneofWrapperField(this, 1, proto.tournament.TournamentLocalizationUpsertRequest.oneofGroups_[0], value);
10107
11355
  };
10108
11356
 
10109
11357
 
10110
11358
  /**
10111
- * Clears the field making it undefined.
10112
- * @return {!proto.tournament.TournamentContentRequest} returns this
11359
+ * Clears the message field making it undefined.
11360
+ * @return {!proto.tournament.TournamentLocalizationUpsertRequest} returns this
10113
11361
  */
10114
- proto.tournament.TournamentContentRequest.prototype.clearTitle = function() {
10115
- return jspb.Message.setField(this, 4, undefined);
11362
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.clearLocalizationData = function() {
11363
+ return this.setLocalizationData(undefined);
10116
11364
  };
10117
11365
 
10118
11366
 
@@ -10120,35 +11368,36 @@ proto.tournament.TournamentContentRequest.prototype.clearTitle = function() {
10120
11368
  * Returns whether this field is set.
10121
11369
  * @return {boolean}
10122
11370
  */
10123
- proto.tournament.TournamentContentRequest.prototype.hasTitle = function() {
10124
- return jspb.Message.getField(this, 4) != null;
11371
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.hasLocalizationData = function() {
11372
+ return jspb.Message.getField(this, 1) != null;
10125
11373
  };
10126
11374
 
10127
11375
 
10128
11376
  /**
10129
- * optional string description = 5;
10130
- * @return {string}
11377
+ * optional File file = 2;
11378
+ * @return {?proto.tournament.File}
10131
11379
  */
10132
- proto.tournament.TournamentContentRequest.prototype.getDescription = function() {
10133
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
11380
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.getFile = function() {
11381
+ return /** @type{?proto.tournament.File} */ (
11382
+ jspb.Message.getWrapperField(this, proto.tournament.File, 2));
10134
11383
  };
10135
11384
 
10136
11385
 
10137
11386
  /**
10138
- * @param {string} value
10139
- * @return {!proto.tournament.TournamentContentRequest} returns this
10140
- */
10141
- proto.tournament.TournamentContentRequest.prototype.setDescription = function(value) {
10142
- return jspb.Message.setField(this, 5, value);
11387
+ * @param {?proto.tournament.File|undefined} value
11388
+ * @return {!proto.tournament.TournamentLocalizationUpsertRequest} returns this
11389
+ */
11390
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.setFile = function(value) {
11391
+ return jspb.Message.setOneofWrapperField(this, 2, proto.tournament.TournamentLocalizationUpsertRequest.oneofGroups_[0], value);
10143
11392
  };
10144
11393
 
10145
11394
 
10146
11395
  /**
10147
- * Clears the field making it undefined.
10148
- * @return {!proto.tournament.TournamentContentRequest} returns this
11396
+ * Clears the message field making it undefined.
11397
+ * @return {!proto.tournament.TournamentLocalizationUpsertRequest} returns this
10149
11398
  */
10150
- proto.tournament.TournamentContentRequest.prototype.clearDescription = function() {
10151
- return jspb.Message.setField(this, 5, undefined);
11399
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.clearFile = function() {
11400
+ return this.setFile(undefined);
10152
11401
  };
10153
11402
 
10154
11403
 
@@ -10156,8 +11405,8 @@ proto.tournament.TournamentContentRequest.prototype.clearDescription = function(
10156
11405
  * Returns whether this field is set.
10157
11406
  * @return {boolean}
10158
11407
  */
10159
- proto.tournament.TournamentContentRequest.prototype.hasDescription = function() {
10160
- return jspb.Message.getField(this, 5) != null;
11408
+ proto.tournament.TournamentLocalizationUpsertRequest.prototype.hasFile = function() {
11409
+ return jspb.Message.getField(this, 2) != null;
10161
11410
  };
10162
11411
 
10163
11412
 
@@ -10849,7 +12098,9 @@ proto.tournament.UserTournamentItem.toObject = function(includeInstance, msg) {
10849
12098
  placesList: jspb.Message.toObjectList(msg.getPlacesList(),
10850
12099
  proto.tournament.RewardItem.toObject, includeInstance),
10851
12100
  imageSmall: jspb.Message.getFieldWithDefault(msg, 21, ""),
10852
- imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 22, "")
12101
+ imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 22, ""),
12102
+ portraitImage: jspb.Message.getFieldWithDefault(msg, 23, ""),
12103
+ portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 24, "")
10853
12104
  };
10854
12105
 
10855
12106
  if (includeInstance) {
@@ -10979,6 +12230,14 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
10979
12230
  var value = /** @type {string} */ (reader.readString());
10980
12231
  msg.setImageSmallCdn(value);
10981
12232
  break;
12233
+ case 23:
12234
+ var value = /** @type {string} */ (reader.readString());
12235
+ msg.setPortraitImage(value);
12236
+ break;
12237
+ case 24:
12238
+ var value = /** @type {string} */ (reader.readString());
12239
+ msg.setPortraitImageCdn(value);
12240
+ break;
10982
12241
  default:
10983
12242
  reader.skipField();
10984
12243
  break;
@@ -11167,6 +12426,20 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
11167
12426
  f
11168
12427
  );
11169
12428
  }
12429
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
12430
+ if (f != null) {
12431
+ writer.writeString(
12432
+ 23,
12433
+ f
12434
+ );
12435
+ }
12436
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
12437
+ if (f != null) {
12438
+ writer.writeString(
12439
+ 24,
12440
+ f
12441
+ );
12442
+ }
11170
12443
  };
11171
12444
 
11172
12445
 
@@ -11971,6 +13244,78 @@ proto.tournament.UserTournamentItem.prototype.hasImageSmallCdn = function() {
11971
13244
  };
11972
13245
 
11973
13246
 
13247
+ /**
13248
+ * optional string portrait_image = 23;
13249
+ * @return {string}
13250
+ */
13251
+ proto.tournament.UserTournamentItem.prototype.getPortraitImage = function() {
13252
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
13253
+ };
13254
+
13255
+
13256
+ /**
13257
+ * @param {string} value
13258
+ * @return {!proto.tournament.UserTournamentItem} returns this
13259
+ */
13260
+ proto.tournament.UserTournamentItem.prototype.setPortraitImage = function(value) {
13261
+ return jspb.Message.setField(this, 23, value);
13262
+ };
13263
+
13264
+
13265
+ /**
13266
+ * Clears the field making it undefined.
13267
+ * @return {!proto.tournament.UserTournamentItem} returns this
13268
+ */
13269
+ proto.tournament.UserTournamentItem.prototype.clearPortraitImage = function() {
13270
+ return jspb.Message.setField(this, 23, undefined);
13271
+ };
13272
+
13273
+
13274
+ /**
13275
+ * Returns whether this field is set.
13276
+ * @return {boolean}
13277
+ */
13278
+ proto.tournament.UserTournamentItem.prototype.hasPortraitImage = function() {
13279
+ return jspb.Message.getField(this, 23) != null;
13280
+ };
13281
+
13282
+
13283
+ /**
13284
+ * optional string portrait_image_cdn = 24;
13285
+ * @return {string}
13286
+ */
13287
+ proto.tournament.UserTournamentItem.prototype.getPortraitImageCdn = function() {
13288
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
13289
+ };
13290
+
13291
+
13292
+ /**
13293
+ * @param {string} value
13294
+ * @return {!proto.tournament.UserTournamentItem} returns this
13295
+ */
13296
+ proto.tournament.UserTournamentItem.prototype.setPortraitImageCdn = function(value) {
13297
+ return jspb.Message.setField(this, 24, value);
13298
+ };
13299
+
13300
+
13301
+ /**
13302
+ * Clears the field making it undefined.
13303
+ * @return {!proto.tournament.UserTournamentItem} returns this
13304
+ */
13305
+ proto.tournament.UserTournamentItem.prototype.clearPortraitImageCdn = function() {
13306
+ return jspb.Message.setField(this, 24, undefined);
13307
+ };
13308
+
13309
+
13310
+ /**
13311
+ * Returns whether this field is set.
13312
+ * @return {boolean}
13313
+ */
13314
+ proto.tournament.UserTournamentItem.prototype.hasPortraitImageCdn = function() {
13315
+ return jspb.Message.getField(this, 24) != null;
13316
+ };
13317
+
13318
+
11974
13319
 
11975
13320
  /**
11976
13321
  * List of repeated fields within this message type.
@@ -13493,7 +14838,8 @@ proto.tournament.GetOnlineTournamentInfoRequest.prototype.toObject = function(op
13493
14838
  proto.tournament.GetOnlineTournamentInfoRequest.toObject = function(includeInstance, msg) {
13494
14839
  var f, obj = {
13495
14840
  tournamentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
13496
- userId: jspb.Message.getFieldWithDefault(msg, 2, 0)
14841
+ userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
14842
+ locale: jspb.Message.getFieldWithDefault(msg, 3, "")
13497
14843
  };
13498
14844
 
13499
14845
  if (includeInstance) {
@@ -13538,6 +14884,10 @@ proto.tournament.GetOnlineTournamentInfoRequest.deserializeBinaryFromReader = fu
13538
14884
  var value = /** @type {number} */ (reader.readUint64());
13539
14885
  msg.setUserId(value);
13540
14886
  break;
14887
+ case 3:
14888
+ var value = /** @type {string} */ (reader.readString());
14889
+ msg.setLocale(value);
14890
+ break;
13541
14891
  default:
13542
14892
  reader.skipField();
13543
14893
  break;
@@ -13581,6 +14931,13 @@ proto.tournament.GetOnlineTournamentInfoRequest.serializeBinaryToWriter = functi
13581
14931
  f
13582
14932
  );
13583
14933
  }
14934
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
14935
+ if (f != null) {
14936
+ writer.writeString(
14937
+ 3,
14938
+ f
14939
+ );
14940
+ }
13584
14941
  };
13585
14942
 
13586
14943
 
@@ -13620,6 +14977,42 @@ proto.tournament.GetOnlineTournamentInfoRequest.prototype.setUserId = function(v
13620
14977
  };
13621
14978
 
13622
14979
 
14980
+ /**
14981
+ * optional string locale = 3;
14982
+ * @return {string}
14983
+ */
14984
+ proto.tournament.GetOnlineTournamentInfoRequest.prototype.getLocale = function() {
14985
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
14986
+ };
14987
+
14988
+
14989
+ /**
14990
+ * @param {string} value
14991
+ * @return {!proto.tournament.GetOnlineTournamentInfoRequest} returns this
14992
+ */
14993
+ proto.tournament.GetOnlineTournamentInfoRequest.prototype.setLocale = function(value) {
14994
+ return jspb.Message.setField(this, 3, value);
14995
+ };
14996
+
14997
+
14998
+ /**
14999
+ * Clears the field making it undefined.
15000
+ * @return {!proto.tournament.GetOnlineTournamentInfoRequest} returns this
15001
+ */
15002
+ proto.tournament.GetOnlineTournamentInfoRequest.prototype.clearLocale = function() {
15003
+ return jspb.Message.setField(this, 3, undefined);
15004
+ };
15005
+
15006
+
15007
+ /**
15008
+ * Returns whether this field is set.
15009
+ * @return {boolean}
15010
+ */
15011
+ proto.tournament.GetOnlineTournamentInfoRequest.prototype.hasLocale = function() {
15012
+ return jspb.Message.getField(this, 3) != null;
15013
+ };
15014
+
15015
+
13623
15016
 
13624
15017
  /**
13625
15018
  * List of repeated fields within this message type.
@@ -13673,7 +15066,9 @@ proto.tournament.OnlineTournamentInfoResponse.toObject = function(includeInstanc
13673
15066
  proto.tournament.TournamentLeaderboardUserItem.toObject, includeInstance),
13674
15067
  me: (f = msg.getMe()) && proto.tournament.TournamentLeaderboardUserItem.toObject(includeInstance, f),
13675
15068
  imageSmall: jspb.Message.getFieldWithDefault(msg, 12, ""),
13676
- imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 13, "")
15069
+ imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 13, ""),
15070
+ portraitImage: jspb.Message.getFieldWithDefault(msg, 14, ""),
15071
+ portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 15, "")
13677
15072
  };
13678
15073
 
13679
15074
  if (includeInstance) {
@@ -13765,6 +15160,14 @@ proto.tournament.OnlineTournamentInfoResponse.deserializeBinaryFromReader = func
13765
15160
  var value = /** @type {string} */ (reader.readString());
13766
15161
  msg.setImageSmallCdn(value);
13767
15162
  break;
15163
+ case 14:
15164
+ var value = /** @type {string} */ (reader.readString());
15165
+ msg.setPortraitImage(value);
15166
+ break;
15167
+ case 15:
15168
+ var value = /** @type {string} */ (reader.readString());
15169
+ msg.setPortraitImageCdn(value);
15170
+ break;
13768
15171
  default:
13769
15172
  reader.skipField();
13770
15173
  break;
@@ -13888,6 +15291,20 @@ proto.tournament.OnlineTournamentInfoResponse.serializeBinaryToWriter = function
13888
15291
  f
13889
15292
  );
13890
15293
  }
15294
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
15295
+ if (f != null) {
15296
+ writer.writeString(
15297
+ 14,
15298
+ f
15299
+ );
15300
+ }
15301
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
15302
+ if (f != null) {
15303
+ writer.writeString(
15304
+ 15,
15305
+ f
15306
+ );
15307
+ }
13891
15308
  };
13892
15309
 
13893
15310
 
@@ -14328,6 +15745,78 @@ proto.tournament.OnlineTournamentInfoResponse.prototype.hasImageSmallCdn = funct
14328
15745
  };
14329
15746
 
14330
15747
 
15748
+ /**
15749
+ * optional string portrait_image = 14;
15750
+ * @return {string}
15751
+ */
15752
+ proto.tournament.OnlineTournamentInfoResponse.prototype.getPortraitImage = function() {
15753
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
15754
+ };
15755
+
15756
+
15757
+ /**
15758
+ * @param {string} value
15759
+ * @return {!proto.tournament.OnlineTournamentInfoResponse} returns this
15760
+ */
15761
+ proto.tournament.OnlineTournamentInfoResponse.prototype.setPortraitImage = function(value) {
15762
+ return jspb.Message.setField(this, 14, value);
15763
+ };
15764
+
15765
+
15766
+ /**
15767
+ * Clears the field making it undefined.
15768
+ * @return {!proto.tournament.OnlineTournamentInfoResponse} returns this
15769
+ */
15770
+ proto.tournament.OnlineTournamentInfoResponse.prototype.clearPortraitImage = function() {
15771
+ return jspb.Message.setField(this, 14, undefined);
15772
+ };
15773
+
15774
+
15775
+ /**
15776
+ * Returns whether this field is set.
15777
+ * @return {boolean}
15778
+ */
15779
+ proto.tournament.OnlineTournamentInfoResponse.prototype.hasPortraitImage = function() {
15780
+ return jspb.Message.getField(this, 14) != null;
15781
+ };
15782
+
15783
+
15784
+ /**
15785
+ * optional string portrait_image_cdn = 15;
15786
+ * @return {string}
15787
+ */
15788
+ proto.tournament.OnlineTournamentInfoResponse.prototype.getPortraitImageCdn = function() {
15789
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
15790
+ };
15791
+
15792
+
15793
+ /**
15794
+ * @param {string} value
15795
+ * @return {!proto.tournament.OnlineTournamentInfoResponse} returns this
15796
+ */
15797
+ proto.tournament.OnlineTournamentInfoResponse.prototype.setPortraitImageCdn = function(value) {
15798
+ return jspb.Message.setField(this, 15, value);
15799
+ };
15800
+
15801
+
15802
+ /**
15803
+ * Clears the field making it undefined.
15804
+ * @return {!proto.tournament.OnlineTournamentInfoResponse} returns this
15805
+ */
15806
+ proto.tournament.OnlineTournamentInfoResponse.prototype.clearPortraitImageCdn = function() {
15807
+ return jspb.Message.setField(this, 15, undefined);
15808
+ };
15809
+
15810
+
15811
+ /**
15812
+ * Returns whether this field is set.
15813
+ * @return {boolean}
15814
+ */
15815
+ proto.tournament.OnlineTournamentInfoResponse.prototype.hasPortraitImageCdn = function() {
15816
+ return jspb.Message.getField(this, 15) != null;
15817
+ };
15818
+
15819
+
14331
15820
 
14332
15821
  /**
14333
15822
  * List of repeated fields within this message type.