protobuf-platform 1.2.745 → 1.2.747

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_pb.js CHANGED
@@ -103,6 +103,12 @@ goog.exportSymbol('proto.game.GameSearchScope', null, global);
103
103
  goog.exportSymbol('proto.game.GameSnapshotItem', null, global);
104
104
  goog.exportSymbol('proto.game.GameSnapshotItemsResponse', null, global);
105
105
  goog.exportSymbol('proto.game.GameStatusResponse', null, global);
106
+ goog.exportSymbol('proto.game.GameplayDeliveryDrainEntry', null, global);
107
+ goog.exportSymbol('proto.game.GameplayDeliveryDrainRequest', null, global);
108
+ goog.exportSymbol('proto.game.GameplayDeliveryDrainResult', null, global);
109
+ goog.exportSymbol('proto.game.GameplayDeliveryOwnerRequest', null, global);
110
+ goog.exportSymbol('proto.game.GameplayDeliveryOwnerResult', null, global);
111
+ goog.exportSymbol('proto.game.GameplayDeliveryOwnerState', null, global);
106
112
  goog.exportSymbol('proto.game.GamesBunchRequest', null, global);
107
113
  goog.exportSymbol('proto.game.GamesIds', null, global);
108
114
  goog.exportSymbol('proto.game.GamesPriorityRequest', null, global);
@@ -4582,6 +4588,111 @@ if (goog.DEBUG && !COMPILED) {
4582
4588
  */
4583
4589
  proto.game.DistinctGameTypesResponse.displayName = 'proto.game.DistinctGameTypesResponse';
4584
4590
  }
4591
+ /**
4592
+ * Generated by JsPbCodeGenerator.
4593
+ * @param {Array=} opt_data Optional initial data array, typically from a
4594
+ * server response, or constructed directly in Javascript. The array is used
4595
+ * in place and becomes part of the constructed object. It is not cloned.
4596
+ * If no data is provided, the constructed object will be empty, but still
4597
+ * valid.
4598
+ * @extends {jspb.Message}
4599
+ * @constructor
4600
+ */
4601
+ proto.game.GameplayDeliveryOwnerRequest = function(opt_data) {
4602
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4603
+ };
4604
+ goog.inherits(proto.game.GameplayDeliveryOwnerRequest, jspb.Message);
4605
+ if (goog.DEBUG && !COMPILED) {
4606
+ /**
4607
+ * @public
4608
+ * @override
4609
+ */
4610
+ proto.game.GameplayDeliveryOwnerRequest.displayName = 'proto.game.GameplayDeliveryOwnerRequest';
4611
+ }
4612
+ /**
4613
+ * Generated by JsPbCodeGenerator.
4614
+ * @param {Array=} opt_data Optional initial data array, typically from a
4615
+ * server response, or constructed directly in Javascript. The array is used
4616
+ * in place and becomes part of the constructed object. It is not cloned.
4617
+ * If no data is provided, the constructed object will be empty, but still
4618
+ * valid.
4619
+ * @extends {jspb.Message}
4620
+ * @constructor
4621
+ */
4622
+ proto.game.GameplayDeliveryOwnerResult = function(opt_data) {
4623
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4624
+ };
4625
+ goog.inherits(proto.game.GameplayDeliveryOwnerResult, jspb.Message);
4626
+ if (goog.DEBUG && !COMPILED) {
4627
+ /**
4628
+ * @public
4629
+ * @override
4630
+ */
4631
+ proto.game.GameplayDeliveryOwnerResult.displayName = 'proto.game.GameplayDeliveryOwnerResult';
4632
+ }
4633
+ /**
4634
+ * Generated by JsPbCodeGenerator.
4635
+ * @param {Array=} opt_data Optional initial data array, typically from a
4636
+ * server response, or constructed directly in Javascript. The array is used
4637
+ * in place and becomes part of the constructed object. It is not cloned.
4638
+ * If no data is provided, the constructed object will be empty, but still
4639
+ * valid.
4640
+ * @extends {jspb.Message}
4641
+ * @constructor
4642
+ */
4643
+ proto.game.GameplayDeliveryDrainRequest = function(opt_data) {
4644
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4645
+ };
4646
+ goog.inherits(proto.game.GameplayDeliveryDrainRequest, jspb.Message);
4647
+ if (goog.DEBUG && !COMPILED) {
4648
+ /**
4649
+ * @public
4650
+ * @override
4651
+ */
4652
+ proto.game.GameplayDeliveryDrainRequest.displayName = 'proto.game.GameplayDeliveryDrainRequest';
4653
+ }
4654
+ /**
4655
+ * Generated by JsPbCodeGenerator.
4656
+ * @param {Array=} opt_data Optional initial data array, typically from a
4657
+ * server response, or constructed directly in Javascript. The array is used
4658
+ * in place and becomes part of the constructed object. It is not cloned.
4659
+ * If no data is provided, the constructed object will be empty, but still
4660
+ * valid.
4661
+ * @extends {jspb.Message}
4662
+ * @constructor
4663
+ */
4664
+ proto.game.GameplayDeliveryDrainEntry = function(opt_data) {
4665
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4666
+ };
4667
+ goog.inherits(proto.game.GameplayDeliveryDrainEntry, jspb.Message);
4668
+ if (goog.DEBUG && !COMPILED) {
4669
+ /**
4670
+ * @public
4671
+ * @override
4672
+ */
4673
+ proto.game.GameplayDeliveryDrainEntry.displayName = 'proto.game.GameplayDeliveryDrainEntry';
4674
+ }
4675
+ /**
4676
+ * Generated by JsPbCodeGenerator.
4677
+ * @param {Array=} opt_data Optional initial data array, typically from a
4678
+ * server response, or constructed directly in Javascript. The array is used
4679
+ * in place and becomes part of the constructed object. It is not cloned.
4680
+ * If no data is provided, the constructed object will be empty, but still
4681
+ * valid.
4682
+ * @extends {jspb.Message}
4683
+ * @constructor
4684
+ */
4685
+ proto.game.GameplayDeliveryDrainResult = function(opt_data) {
4686
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GameplayDeliveryDrainResult.repeatedFields_, null);
4687
+ };
4688
+ goog.inherits(proto.game.GameplayDeliveryDrainResult, jspb.Message);
4689
+ if (goog.DEBUG && !COMPILED) {
4690
+ /**
4691
+ * @public
4692
+ * @override
4693
+ */
4694
+ proto.game.GameplayDeliveryDrainResult.displayName = 'proto.game.GameplayDeliveryDrainResult';
4695
+ }
4585
4696
 
4586
4697
 
4587
4698
 
@@ -5563,7 +5674,7 @@ proto.game.PaginationRequest.prototype.hasTournamentGamesSearchParams = function
5563
5674
  * @private {!Array<number>}
5564
5675
  * @const
5565
5676
  */
5566
- proto.game.GameSearchRequest.repeatedFields_ = [5,6,7,8,9,15];
5677
+ proto.game.GameSearchRequest.repeatedFields_ = [5,6,7,8,9,15,19];
5567
5678
 
5568
5679
 
5569
5680
 
@@ -5613,7 +5724,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
5613
5724
  gameIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
5614
5725
  query: jspb.Message.getFieldWithDefault(msg, 16, ""),
5615
5726
  type: jspb.Message.getFieldWithDefault(msg, 17, ""),
5616
- locale: jspb.Message.getFieldWithDefault(msg, 18, "")
5727
+ locale: jspb.Message.getFieldWithDefault(msg, 18, ""),
5728
+ excludedGameIdsList: (f = jspb.Message.getRepeatedField(msg, 19)) == null ? undefined : f
5617
5729
  };
5618
5730
 
5619
5731
  if (includeInstance) {
@@ -5732,6 +5844,12 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
5732
5844
  var value = /** @type {string} */ (reader.readString());
5733
5845
  msg.setLocale(value);
5734
5846
  break;
5847
+ case 19:
5848
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
5849
+ for (var i = 0; i < values.length; i++) {
5850
+ msg.addExcludedGameIds(values[i]);
5851
+ }
5852
+ break;
5735
5853
  default:
5736
5854
  reader.skipField();
5737
5855
  break;
@@ -5887,6 +6005,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
5887
6005
  f
5888
6006
  );
5889
6007
  }
6008
+ f = message.getExcludedGameIdsList();
6009
+ if (f.length > 0) {
6010
+ writer.writePackedInt32(
6011
+ 19,
6012
+ f
6013
+ );
6014
+ }
5890
6015
  };
5891
6016
 
5892
6017
 
@@ -6544,6 +6669,43 @@ proto.game.GameSearchRequest.prototype.hasLocale = function() {
6544
6669
  };
6545
6670
 
6546
6671
 
6672
+ /**
6673
+ * repeated int32 excluded_game_ids = 19;
6674
+ * @return {!Array<number>}
6675
+ */
6676
+ proto.game.GameSearchRequest.prototype.getExcludedGameIdsList = function() {
6677
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 19));
6678
+ };
6679
+
6680
+
6681
+ /**
6682
+ * @param {!Array<number>} value
6683
+ * @return {!proto.game.GameSearchRequest} returns this
6684
+ */
6685
+ proto.game.GameSearchRequest.prototype.setExcludedGameIdsList = function(value) {
6686
+ return jspb.Message.setField(this, 19, value || []);
6687
+ };
6688
+
6689
+
6690
+ /**
6691
+ * @param {number} value
6692
+ * @param {number=} opt_index
6693
+ * @return {!proto.game.GameSearchRequest} returns this
6694
+ */
6695
+ proto.game.GameSearchRequest.prototype.addExcludedGameIds = function(value, opt_index) {
6696
+ return jspb.Message.addToRepeatedField(this, 19, value, opt_index);
6697
+ };
6698
+
6699
+
6700
+ /**
6701
+ * Clears the list making it empty but non-null.
6702
+ * @return {!proto.game.GameSearchRequest} returns this
6703
+ */
6704
+ proto.game.GameSearchRequest.prototype.clearExcludedGameIdsList = function() {
6705
+ return this.setExcludedGameIdsList([]);
6706
+ };
6707
+
6708
+
6547
6709
 
6548
6710
  /**
6549
6711
  * List of repeated fields within this message type.
@@ -64769,15 +64931,1665 @@ proto.game.DistinctGameTypesResponse.prototype.clearTypesList = function() {
64769
64931
  };
64770
64932
 
64771
64933
 
64934
+
64935
+
64936
+
64937
+ if (jspb.Message.GENERATE_TO_OBJECT) {
64772
64938
  /**
64773
- * @enum {number}
64939
+ * Creates an object representation of this proto.
64940
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
64941
+ * Optional fields that are not set will be set to undefined.
64942
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64943
+ * For the list of reserved names please see:
64944
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64945
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64946
+ * JSPB instance for transitional soy proto support:
64947
+ * http://goto/soy-param-migration
64948
+ * @return {!Object}
64774
64949
  */
64775
- proto.game.GameImageSlot = {
64776
- GAME_IMAGE_SLOT_UNSPECIFIED: 0,
64777
- GAME_IMAGE_SLOT_REGULAR: 1,
64778
- GAME_IMAGE_SLOT_PORTRAIT: 2,
64779
- GAME_IMAGE_SLOT_LANDSCAPE: 3,
64780
- GAME_IMAGE_SLOT_SQUARE: 4
64950
+ proto.game.GameplayDeliveryOwnerRequest.prototype.toObject = function(opt_includeInstance) {
64951
+ return proto.game.GameplayDeliveryOwnerRequest.toObject(opt_includeInstance, this);
64952
+ };
64953
+
64954
+
64955
+ /**
64956
+ * Static version of the {@see toObject} method.
64957
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64958
+ * the JSPB instance for transitional soy proto support:
64959
+ * http://goto/soy-param-migration
64960
+ * @param {!proto.game.GameplayDeliveryOwnerRequest} msg The msg instance to transform.
64961
+ * @return {!Object}
64962
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64963
+ */
64964
+ proto.game.GameplayDeliveryOwnerRequest.toObject = function(includeInstance, msg) {
64965
+ var f, obj = {
64966
+ protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
64967
+ walletReference: jspb.Message.getFieldWithDefault(msg, 2, ""),
64968
+ ownershipEpoch: jspb.Message.getFieldWithDefault(msg, 3, ""),
64969
+ sourceRegistrationId: jspb.Message.getFieldWithDefault(msg, 4, ""),
64970
+ runId: jspb.Message.getFieldWithDefault(msg, 5, ""),
64971
+ userId: jspb.Message.getFieldWithDefault(msg, 6, "0"),
64972
+ currency: jspb.Message.getFieldWithDefault(msg, 7, "")
64973
+ };
64974
+
64975
+ if (includeInstance) {
64976
+ obj.$jspbMessageInstance = msg;
64977
+ }
64978
+ return obj;
64979
+ };
64980
+ }
64981
+
64982
+
64983
+ /**
64984
+ * Deserializes binary data (in protobuf wire format).
64985
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
64986
+ * @return {!proto.game.GameplayDeliveryOwnerRequest}
64987
+ */
64988
+ proto.game.GameplayDeliveryOwnerRequest.deserializeBinary = function(bytes) {
64989
+ var reader = new jspb.BinaryReader(bytes);
64990
+ var msg = new proto.game.GameplayDeliveryOwnerRequest;
64991
+ return proto.game.GameplayDeliveryOwnerRequest.deserializeBinaryFromReader(msg, reader);
64992
+ };
64993
+
64994
+
64995
+ /**
64996
+ * Deserializes binary data (in protobuf wire format) from the
64997
+ * given reader into the given message object.
64998
+ * @param {!proto.game.GameplayDeliveryOwnerRequest} msg The message object to deserialize into.
64999
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
65000
+ * @return {!proto.game.GameplayDeliveryOwnerRequest}
65001
+ */
65002
+ proto.game.GameplayDeliveryOwnerRequest.deserializeBinaryFromReader = function(msg, reader) {
65003
+ while (reader.nextField()) {
65004
+ if (reader.isEndGroup()) {
65005
+ break;
65006
+ }
65007
+ var field = reader.getFieldNumber();
65008
+ switch (field) {
65009
+ case 1:
65010
+ var value = /** @type {number} */ (reader.readUint32());
65011
+ msg.setProtocolVersion(value);
65012
+ break;
65013
+ case 2:
65014
+ var value = /** @type {string} */ (reader.readString());
65015
+ msg.setWalletReference(value);
65016
+ break;
65017
+ case 3:
65018
+ var value = /** @type {string} */ (reader.readString());
65019
+ msg.setOwnershipEpoch(value);
65020
+ break;
65021
+ case 4:
65022
+ var value = /** @type {string} */ (reader.readString());
65023
+ msg.setSourceRegistrationId(value);
65024
+ break;
65025
+ case 5:
65026
+ var value = /** @type {string} */ (reader.readString());
65027
+ msg.setRunId(value);
65028
+ break;
65029
+ case 6:
65030
+ var value = /** @type {string} */ (reader.readUint64String());
65031
+ msg.setUserId(value);
65032
+ break;
65033
+ case 7:
65034
+ var value = /** @type {string} */ (reader.readString());
65035
+ msg.setCurrency(value);
65036
+ break;
65037
+ default:
65038
+ reader.skipField();
65039
+ break;
65040
+ }
65041
+ }
65042
+ return msg;
65043
+ };
65044
+
65045
+
65046
+ /**
65047
+ * Serializes the message to binary data (in protobuf wire format).
65048
+ * @return {!Uint8Array}
65049
+ */
65050
+ proto.game.GameplayDeliveryOwnerRequest.prototype.serializeBinary = function() {
65051
+ var writer = new jspb.BinaryWriter();
65052
+ proto.game.GameplayDeliveryOwnerRequest.serializeBinaryToWriter(this, writer);
65053
+ return writer.getResultBuffer();
65054
+ };
65055
+
65056
+
65057
+ /**
65058
+ * Serializes the given message to binary data (in protobuf wire
65059
+ * format), writing to the given BinaryWriter.
65060
+ * @param {!proto.game.GameplayDeliveryOwnerRequest} message
65061
+ * @param {!jspb.BinaryWriter} writer
65062
+ * @suppress {unusedLocalVariables} f is only used for nested messages
65063
+ */
65064
+ proto.game.GameplayDeliveryOwnerRequest.serializeBinaryToWriter = function(message, writer) {
65065
+ var f = undefined;
65066
+ f = message.getProtocolVersion();
65067
+ if (f !== 0) {
65068
+ writer.writeUint32(
65069
+ 1,
65070
+ f
65071
+ );
65072
+ }
65073
+ f = message.getWalletReference();
65074
+ if (f.length > 0) {
65075
+ writer.writeString(
65076
+ 2,
65077
+ f
65078
+ );
65079
+ }
65080
+ f = message.getOwnershipEpoch();
65081
+ if (f.length > 0) {
65082
+ writer.writeString(
65083
+ 3,
65084
+ f
65085
+ );
65086
+ }
65087
+ f = message.getSourceRegistrationId();
65088
+ if (f.length > 0) {
65089
+ writer.writeString(
65090
+ 4,
65091
+ f
65092
+ );
65093
+ }
65094
+ f = message.getRunId();
65095
+ if (f.length > 0) {
65096
+ writer.writeString(
65097
+ 5,
65098
+ f
65099
+ );
65100
+ }
65101
+ f = message.getUserId();
65102
+ if (parseInt(f, 10) !== 0) {
65103
+ writer.writeUint64String(
65104
+ 6,
65105
+ f
65106
+ );
65107
+ }
65108
+ f = message.getCurrency();
65109
+ if (f.length > 0) {
65110
+ writer.writeString(
65111
+ 7,
65112
+ f
65113
+ );
65114
+ }
65115
+ };
65116
+
65117
+
65118
+ /**
65119
+ * optional uint32 protocol_version = 1;
65120
+ * @return {number}
65121
+ */
65122
+ proto.game.GameplayDeliveryOwnerRequest.prototype.getProtocolVersion = function() {
65123
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
65124
+ };
65125
+
65126
+
65127
+ /**
65128
+ * @param {number} value
65129
+ * @return {!proto.game.GameplayDeliveryOwnerRequest} returns this
65130
+ */
65131
+ proto.game.GameplayDeliveryOwnerRequest.prototype.setProtocolVersion = function(value) {
65132
+ return jspb.Message.setProto3IntField(this, 1, value);
65133
+ };
65134
+
65135
+
65136
+ /**
65137
+ * optional string wallet_reference = 2;
65138
+ * @return {string}
65139
+ */
65140
+ proto.game.GameplayDeliveryOwnerRequest.prototype.getWalletReference = function() {
65141
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
65142
+ };
65143
+
65144
+
65145
+ /**
65146
+ * @param {string} value
65147
+ * @return {!proto.game.GameplayDeliveryOwnerRequest} returns this
65148
+ */
65149
+ proto.game.GameplayDeliveryOwnerRequest.prototype.setWalletReference = function(value) {
65150
+ return jspb.Message.setProto3StringField(this, 2, value);
65151
+ };
65152
+
65153
+
65154
+ /**
65155
+ * optional string ownership_epoch = 3;
65156
+ * @return {string}
65157
+ */
65158
+ proto.game.GameplayDeliveryOwnerRequest.prototype.getOwnershipEpoch = function() {
65159
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
65160
+ };
65161
+
65162
+
65163
+ /**
65164
+ * @param {string} value
65165
+ * @return {!proto.game.GameplayDeliveryOwnerRequest} returns this
65166
+ */
65167
+ proto.game.GameplayDeliveryOwnerRequest.prototype.setOwnershipEpoch = function(value) {
65168
+ return jspb.Message.setProto3StringField(this, 3, value);
65169
+ };
65170
+
65171
+
65172
+ /**
65173
+ * optional string source_registration_id = 4;
65174
+ * @return {string}
65175
+ */
65176
+ proto.game.GameplayDeliveryOwnerRequest.prototype.getSourceRegistrationId = function() {
65177
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
65178
+ };
65179
+
65180
+
65181
+ /**
65182
+ * @param {string} value
65183
+ * @return {!proto.game.GameplayDeliveryOwnerRequest} returns this
65184
+ */
65185
+ proto.game.GameplayDeliveryOwnerRequest.prototype.setSourceRegistrationId = function(value) {
65186
+ return jspb.Message.setProto3StringField(this, 4, value);
65187
+ };
65188
+
65189
+
65190
+ /**
65191
+ * optional string run_id = 5;
65192
+ * @return {string}
65193
+ */
65194
+ proto.game.GameplayDeliveryOwnerRequest.prototype.getRunId = function() {
65195
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
65196
+ };
65197
+
65198
+
65199
+ /**
65200
+ * @param {string} value
65201
+ * @return {!proto.game.GameplayDeliveryOwnerRequest} returns this
65202
+ */
65203
+ proto.game.GameplayDeliveryOwnerRequest.prototype.setRunId = function(value) {
65204
+ return jspb.Message.setProto3StringField(this, 5, value);
65205
+ };
65206
+
65207
+
65208
+ /**
65209
+ * optional uint64 user_id = 6;
65210
+ * @return {string}
65211
+ */
65212
+ proto.game.GameplayDeliveryOwnerRequest.prototype.getUserId = function() {
65213
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "0"));
65214
+ };
65215
+
65216
+
65217
+ /**
65218
+ * @param {string} value
65219
+ * @return {!proto.game.GameplayDeliveryOwnerRequest} returns this
65220
+ */
65221
+ proto.game.GameplayDeliveryOwnerRequest.prototype.setUserId = function(value) {
65222
+ return jspb.Message.setProto3StringIntField(this, 6, value);
65223
+ };
65224
+
65225
+
65226
+ /**
65227
+ * optional string currency = 7;
65228
+ * @return {string}
65229
+ */
65230
+ proto.game.GameplayDeliveryOwnerRequest.prototype.getCurrency = function() {
65231
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
65232
+ };
65233
+
65234
+
65235
+ /**
65236
+ * @param {string} value
65237
+ * @return {!proto.game.GameplayDeliveryOwnerRequest} returns this
65238
+ */
65239
+ proto.game.GameplayDeliveryOwnerRequest.prototype.setCurrency = function(value) {
65240
+ return jspb.Message.setProto3StringField(this, 7, value);
65241
+ };
65242
+
65243
+
65244
+
65245
+
65246
+
65247
+ if (jspb.Message.GENERATE_TO_OBJECT) {
65248
+ /**
65249
+ * Creates an object representation of this proto.
65250
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
65251
+ * Optional fields that are not set will be set to undefined.
65252
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
65253
+ * For the list of reserved names please see:
65254
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
65255
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
65256
+ * JSPB instance for transitional soy proto support:
65257
+ * http://goto/soy-param-migration
65258
+ * @return {!Object}
65259
+ */
65260
+ proto.game.GameplayDeliveryOwnerResult.prototype.toObject = function(opt_includeInstance) {
65261
+ return proto.game.GameplayDeliveryOwnerResult.toObject(opt_includeInstance, this);
65262
+ };
65263
+
65264
+
65265
+ /**
65266
+ * Static version of the {@see toObject} method.
65267
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
65268
+ * the JSPB instance for transitional soy proto support:
65269
+ * http://goto/soy-param-migration
65270
+ * @param {!proto.game.GameplayDeliveryOwnerResult} msg The msg instance to transform.
65271
+ * @return {!Object}
65272
+ * @suppress {unusedLocalVariables} f is only used for nested messages
65273
+ */
65274
+ proto.game.GameplayDeliveryOwnerResult.toObject = function(includeInstance, msg) {
65275
+ var f, obj = {
65276
+ protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
65277
+ walletReference: jspb.Message.getFieldWithDefault(msg, 2, ""),
65278
+ ownershipEpoch: jspb.Message.getFieldWithDefault(msg, 3, ""),
65279
+ sourceRegistrationId: jspb.Message.getFieldWithDefault(msg, 4, ""),
65280
+ runId: jspb.Message.getFieldWithDefault(msg, 5, ""),
65281
+ state: jspb.Message.getFieldWithDefault(msg, 6, 0),
65282
+ drainToken: jspb.Message.getFieldWithDefault(msg, 7, ""),
65283
+ highWatermark: jspb.Message.getFieldWithDefault(msg, 8, "0"),
65284
+ userId: jspb.Message.getFieldWithDefault(msg, 9, "0"),
65285
+ currency: jspb.Message.getFieldWithDefault(msg, 10, "")
65286
+ };
65287
+
65288
+ if (includeInstance) {
65289
+ obj.$jspbMessageInstance = msg;
65290
+ }
65291
+ return obj;
65292
+ };
65293
+ }
65294
+
65295
+
65296
+ /**
65297
+ * Deserializes binary data (in protobuf wire format).
65298
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
65299
+ * @return {!proto.game.GameplayDeliveryOwnerResult}
65300
+ */
65301
+ proto.game.GameplayDeliveryOwnerResult.deserializeBinary = function(bytes) {
65302
+ var reader = new jspb.BinaryReader(bytes);
65303
+ var msg = new proto.game.GameplayDeliveryOwnerResult;
65304
+ return proto.game.GameplayDeliveryOwnerResult.deserializeBinaryFromReader(msg, reader);
65305
+ };
65306
+
65307
+
65308
+ /**
65309
+ * Deserializes binary data (in protobuf wire format) from the
65310
+ * given reader into the given message object.
65311
+ * @param {!proto.game.GameplayDeliveryOwnerResult} msg The message object to deserialize into.
65312
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
65313
+ * @return {!proto.game.GameplayDeliveryOwnerResult}
65314
+ */
65315
+ proto.game.GameplayDeliveryOwnerResult.deserializeBinaryFromReader = function(msg, reader) {
65316
+ while (reader.nextField()) {
65317
+ if (reader.isEndGroup()) {
65318
+ break;
65319
+ }
65320
+ var field = reader.getFieldNumber();
65321
+ switch (field) {
65322
+ case 1:
65323
+ var value = /** @type {number} */ (reader.readUint32());
65324
+ msg.setProtocolVersion(value);
65325
+ break;
65326
+ case 2:
65327
+ var value = /** @type {string} */ (reader.readString());
65328
+ msg.setWalletReference(value);
65329
+ break;
65330
+ case 3:
65331
+ var value = /** @type {string} */ (reader.readString());
65332
+ msg.setOwnershipEpoch(value);
65333
+ break;
65334
+ case 4:
65335
+ var value = /** @type {string} */ (reader.readString());
65336
+ msg.setSourceRegistrationId(value);
65337
+ break;
65338
+ case 5:
65339
+ var value = /** @type {string} */ (reader.readString());
65340
+ msg.setRunId(value);
65341
+ break;
65342
+ case 6:
65343
+ var value = /** @type {!proto.game.GameplayDeliveryOwnerState} */ (reader.readEnum());
65344
+ msg.setState(value);
65345
+ break;
65346
+ case 7:
65347
+ var value = /** @type {string} */ (reader.readString());
65348
+ msg.setDrainToken(value);
65349
+ break;
65350
+ case 8:
65351
+ var value = /** @type {string} */ (reader.readUint64String());
65352
+ msg.setHighWatermark(value);
65353
+ break;
65354
+ case 9:
65355
+ var value = /** @type {string} */ (reader.readUint64String());
65356
+ msg.setUserId(value);
65357
+ break;
65358
+ case 10:
65359
+ var value = /** @type {string} */ (reader.readString());
65360
+ msg.setCurrency(value);
65361
+ break;
65362
+ default:
65363
+ reader.skipField();
65364
+ break;
65365
+ }
65366
+ }
65367
+ return msg;
65368
+ };
65369
+
65370
+
65371
+ /**
65372
+ * Serializes the message to binary data (in protobuf wire format).
65373
+ * @return {!Uint8Array}
65374
+ */
65375
+ proto.game.GameplayDeliveryOwnerResult.prototype.serializeBinary = function() {
65376
+ var writer = new jspb.BinaryWriter();
65377
+ proto.game.GameplayDeliveryOwnerResult.serializeBinaryToWriter(this, writer);
65378
+ return writer.getResultBuffer();
65379
+ };
65380
+
65381
+
65382
+ /**
65383
+ * Serializes the given message to binary data (in protobuf wire
65384
+ * format), writing to the given BinaryWriter.
65385
+ * @param {!proto.game.GameplayDeliveryOwnerResult} message
65386
+ * @param {!jspb.BinaryWriter} writer
65387
+ * @suppress {unusedLocalVariables} f is only used for nested messages
65388
+ */
65389
+ proto.game.GameplayDeliveryOwnerResult.serializeBinaryToWriter = function(message, writer) {
65390
+ var f = undefined;
65391
+ f = message.getProtocolVersion();
65392
+ if (f !== 0) {
65393
+ writer.writeUint32(
65394
+ 1,
65395
+ f
65396
+ );
65397
+ }
65398
+ f = message.getWalletReference();
65399
+ if (f.length > 0) {
65400
+ writer.writeString(
65401
+ 2,
65402
+ f
65403
+ );
65404
+ }
65405
+ f = message.getOwnershipEpoch();
65406
+ if (f.length > 0) {
65407
+ writer.writeString(
65408
+ 3,
65409
+ f
65410
+ );
65411
+ }
65412
+ f = message.getSourceRegistrationId();
65413
+ if (f.length > 0) {
65414
+ writer.writeString(
65415
+ 4,
65416
+ f
65417
+ );
65418
+ }
65419
+ f = message.getRunId();
65420
+ if (f.length > 0) {
65421
+ writer.writeString(
65422
+ 5,
65423
+ f
65424
+ );
65425
+ }
65426
+ f = message.getState();
65427
+ if (f !== 0.0) {
65428
+ writer.writeEnum(
65429
+ 6,
65430
+ f
65431
+ );
65432
+ }
65433
+ f = message.getDrainToken();
65434
+ if (f.length > 0) {
65435
+ writer.writeString(
65436
+ 7,
65437
+ f
65438
+ );
65439
+ }
65440
+ f = message.getHighWatermark();
65441
+ if (parseInt(f, 10) !== 0) {
65442
+ writer.writeUint64String(
65443
+ 8,
65444
+ f
65445
+ );
65446
+ }
65447
+ f = message.getUserId();
65448
+ if (parseInt(f, 10) !== 0) {
65449
+ writer.writeUint64String(
65450
+ 9,
65451
+ f
65452
+ );
65453
+ }
65454
+ f = message.getCurrency();
65455
+ if (f.length > 0) {
65456
+ writer.writeString(
65457
+ 10,
65458
+ f
65459
+ );
65460
+ }
65461
+ };
65462
+
65463
+
65464
+ /**
65465
+ * optional uint32 protocol_version = 1;
65466
+ * @return {number}
65467
+ */
65468
+ proto.game.GameplayDeliveryOwnerResult.prototype.getProtocolVersion = function() {
65469
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
65470
+ };
65471
+
65472
+
65473
+ /**
65474
+ * @param {number} value
65475
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65476
+ */
65477
+ proto.game.GameplayDeliveryOwnerResult.prototype.setProtocolVersion = function(value) {
65478
+ return jspb.Message.setProto3IntField(this, 1, value);
65479
+ };
65480
+
65481
+
65482
+ /**
65483
+ * optional string wallet_reference = 2;
65484
+ * @return {string}
65485
+ */
65486
+ proto.game.GameplayDeliveryOwnerResult.prototype.getWalletReference = function() {
65487
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
65488
+ };
65489
+
65490
+
65491
+ /**
65492
+ * @param {string} value
65493
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65494
+ */
65495
+ proto.game.GameplayDeliveryOwnerResult.prototype.setWalletReference = function(value) {
65496
+ return jspb.Message.setProto3StringField(this, 2, value);
65497
+ };
65498
+
65499
+
65500
+ /**
65501
+ * optional string ownership_epoch = 3;
65502
+ * @return {string}
65503
+ */
65504
+ proto.game.GameplayDeliveryOwnerResult.prototype.getOwnershipEpoch = function() {
65505
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
65506
+ };
65507
+
65508
+
65509
+ /**
65510
+ * @param {string} value
65511
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65512
+ */
65513
+ proto.game.GameplayDeliveryOwnerResult.prototype.setOwnershipEpoch = function(value) {
65514
+ return jspb.Message.setProto3StringField(this, 3, value);
65515
+ };
65516
+
65517
+
65518
+ /**
65519
+ * optional string source_registration_id = 4;
65520
+ * @return {string}
65521
+ */
65522
+ proto.game.GameplayDeliveryOwnerResult.prototype.getSourceRegistrationId = function() {
65523
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
65524
+ };
65525
+
65526
+
65527
+ /**
65528
+ * @param {string} value
65529
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65530
+ */
65531
+ proto.game.GameplayDeliveryOwnerResult.prototype.setSourceRegistrationId = function(value) {
65532
+ return jspb.Message.setProto3StringField(this, 4, value);
65533
+ };
65534
+
65535
+
65536
+ /**
65537
+ * optional string run_id = 5;
65538
+ * @return {string}
65539
+ */
65540
+ proto.game.GameplayDeliveryOwnerResult.prototype.getRunId = function() {
65541
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
65542
+ };
65543
+
65544
+
65545
+ /**
65546
+ * @param {string} value
65547
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65548
+ */
65549
+ proto.game.GameplayDeliveryOwnerResult.prototype.setRunId = function(value) {
65550
+ return jspb.Message.setProto3StringField(this, 5, value);
65551
+ };
65552
+
65553
+
65554
+ /**
65555
+ * optional GameplayDeliveryOwnerState state = 6;
65556
+ * @return {!proto.game.GameplayDeliveryOwnerState}
65557
+ */
65558
+ proto.game.GameplayDeliveryOwnerResult.prototype.getState = function() {
65559
+ return /** @type {!proto.game.GameplayDeliveryOwnerState} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
65560
+ };
65561
+
65562
+
65563
+ /**
65564
+ * @param {!proto.game.GameplayDeliveryOwnerState} value
65565
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65566
+ */
65567
+ proto.game.GameplayDeliveryOwnerResult.prototype.setState = function(value) {
65568
+ return jspb.Message.setProto3EnumField(this, 6, value);
65569
+ };
65570
+
65571
+
65572
+ /**
65573
+ * optional string drain_token = 7;
65574
+ * @return {string}
65575
+ */
65576
+ proto.game.GameplayDeliveryOwnerResult.prototype.getDrainToken = function() {
65577
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
65578
+ };
65579
+
65580
+
65581
+ /**
65582
+ * @param {string} value
65583
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65584
+ */
65585
+ proto.game.GameplayDeliveryOwnerResult.prototype.setDrainToken = function(value) {
65586
+ return jspb.Message.setProto3StringField(this, 7, value);
65587
+ };
65588
+
65589
+
65590
+ /**
65591
+ * optional uint64 high_watermark = 8;
65592
+ * @return {string}
65593
+ */
65594
+ proto.game.GameplayDeliveryOwnerResult.prototype.getHighWatermark = function() {
65595
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "0"));
65596
+ };
65597
+
65598
+
65599
+ /**
65600
+ * @param {string} value
65601
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65602
+ */
65603
+ proto.game.GameplayDeliveryOwnerResult.prototype.setHighWatermark = function(value) {
65604
+ return jspb.Message.setProto3StringIntField(this, 8, value);
65605
+ };
65606
+
65607
+
65608
+ /**
65609
+ * optional uint64 user_id = 9;
65610
+ * @return {string}
65611
+ */
65612
+ proto.game.GameplayDeliveryOwnerResult.prototype.getUserId = function() {
65613
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "0"));
65614
+ };
65615
+
65616
+
65617
+ /**
65618
+ * @param {string} value
65619
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65620
+ */
65621
+ proto.game.GameplayDeliveryOwnerResult.prototype.setUserId = function(value) {
65622
+ return jspb.Message.setProto3StringIntField(this, 9, value);
65623
+ };
65624
+
65625
+
65626
+ /**
65627
+ * optional string currency = 10;
65628
+ * @return {string}
65629
+ */
65630
+ proto.game.GameplayDeliveryOwnerResult.prototype.getCurrency = function() {
65631
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
65632
+ };
65633
+
65634
+
65635
+ /**
65636
+ * @param {string} value
65637
+ * @return {!proto.game.GameplayDeliveryOwnerResult} returns this
65638
+ */
65639
+ proto.game.GameplayDeliveryOwnerResult.prototype.setCurrency = function(value) {
65640
+ return jspb.Message.setProto3StringField(this, 10, value);
65641
+ };
65642
+
65643
+
65644
+
65645
+
65646
+
65647
+ if (jspb.Message.GENERATE_TO_OBJECT) {
65648
+ /**
65649
+ * Creates an object representation of this proto.
65650
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
65651
+ * Optional fields that are not set will be set to undefined.
65652
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
65653
+ * For the list of reserved names please see:
65654
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
65655
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
65656
+ * JSPB instance for transitional soy proto support:
65657
+ * http://goto/soy-param-migration
65658
+ * @return {!Object}
65659
+ */
65660
+ proto.game.GameplayDeliveryDrainRequest.prototype.toObject = function(opt_includeInstance) {
65661
+ return proto.game.GameplayDeliveryDrainRequest.toObject(opt_includeInstance, this);
65662
+ };
65663
+
65664
+
65665
+ /**
65666
+ * Static version of the {@see toObject} method.
65667
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
65668
+ * the JSPB instance for transitional soy proto support:
65669
+ * http://goto/soy-param-migration
65670
+ * @param {!proto.game.GameplayDeliveryDrainRequest} msg The msg instance to transform.
65671
+ * @return {!Object}
65672
+ * @suppress {unusedLocalVariables} f is only used for nested messages
65673
+ */
65674
+ proto.game.GameplayDeliveryDrainRequest.toObject = function(includeInstance, msg) {
65675
+ var f, obj = {
65676
+ protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
65677
+ drainToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
65678
+ afterId: jspb.Message.getFieldWithDefault(msg, 3, "0"),
65679
+ limit: jspb.Message.getFieldWithDefault(msg, 4, 0)
65680
+ };
65681
+
65682
+ if (includeInstance) {
65683
+ obj.$jspbMessageInstance = msg;
65684
+ }
65685
+ return obj;
65686
+ };
65687
+ }
65688
+
65689
+
65690
+ /**
65691
+ * Deserializes binary data (in protobuf wire format).
65692
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
65693
+ * @return {!proto.game.GameplayDeliveryDrainRequest}
65694
+ */
65695
+ proto.game.GameplayDeliveryDrainRequest.deserializeBinary = function(bytes) {
65696
+ var reader = new jspb.BinaryReader(bytes);
65697
+ var msg = new proto.game.GameplayDeliveryDrainRequest;
65698
+ return proto.game.GameplayDeliveryDrainRequest.deserializeBinaryFromReader(msg, reader);
65699
+ };
65700
+
65701
+
65702
+ /**
65703
+ * Deserializes binary data (in protobuf wire format) from the
65704
+ * given reader into the given message object.
65705
+ * @param {!proto.game.GameplayDeliveryDrainRequest} msg The message object to deserialize into.
65706
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
65707
+ * @return {!proto.game.GameplayDeliveryDrainRequest}
65708
+ */
65709
+ proto.game.GameplayDeliveryDrainRequest.deserializeBinaryFromReader = function(msg, reader) {
65710
+ while (reader.nextField()) {
65711
+ if (reader.isEndGroup()) {
65712
+ break;
65713
+ }
65714
+ var field = reader.getFieldNumber();
65715
+ switch (field) {
65716
+ case 1:
65717
+ var value = /** @type {number} */ (reader.readUint32());
65718
+ msg.setProtocolVersion(value);
65719
+ break;
65720
+ case 2:
65721
+ var value = /** @type {string} */ (reader.readString());
65722
+ msg.setDrainToken(value);
65723
+ break;
65724
+ case 3:
65725
+ var value = /** @type {string} */ (reader.readUint64String());
65726
+ msg.setAfterId(value);
65727
+ break;
65728
+ case 4:
65729
+ var value = /** @type {number} */ (reader.readUint32());
65730
+ msg.setLimit(value);
65731
+ break;
65732
+ default:
65733
+ reader.skipField();
65734
+ break;
65735
+ }
65736
+ }
65737
+ return msg;
65738
+ };
65739
+
65740
+
65741
+ /**
65742
+ * Serializes the message to binary data (in protobuf wire format).
65743
+ * @return {!Uint8Array}
65744
+ */
65745
+ proto.game.GameplayDeliveryDrainRequest.prototype.serializeBinary = function() {
65746
+ var writer = new jspb.BinaryWriter();
65747
+ proto.game.GameplayDeliveryDrainRequest.serializeBinaryToWriter(this, writer);
65748
+ return writer.getResultBuffer();
65749
+ };
65750
+
65751
+
65752
+ /**
65753
+ * Serializes the given message to binary data (in protobuf wire
65754
+ * format), writing to the given BinaryWriter.
65755
+ * @param {!proto.game.GameplayDeliveryDrainRequest} message
65756
+ * @param {!jspb.BinaryWriter} writer
65757
+ * @suppress {unusedLocalVariables} f is only used for nested messages
65758
+ */
65759
+ proto.game.GameplayDeliveryDrainRequest.serializeBinaryToWriter = function(message, writer) {
65760
+ var f = undefined;
65761
+ f = message.getProtocolVersion();
65762
+ if (f !== 0) {
65763
+ writer.writeUint32(
65764
+ 1,
65765
+ f
65766
+ );
65767
+ }
65768
+ f = message.getDrainToken();
65769
+ if (f.length > 0) {
65770
+ writer.writeString(
65771
+ 2,
65772
+ f
65773
+ );
65774
+ }
65775
+ f = message.getAfterId();
65776
+ if (parseInt(f, 10) !== 0) {
65777
+ writer.writeUint64String(
65778
+ 3,
65779
+ f
65780
+ );
65781
+ }
65782
+ f = message.getLimit();
65783
+ if (f !== 0) {
65784
+ writer.writeUint32(
65785
+ 4,
65786
+ f
65787
+ );
65788
+ }
65789
+ };
65790
+
65791
+
65792
+ /**
65793
+ * optional uint32 protocol_version = 1;
65794
+ * @return {number}
65795
+ */
65796
+ proto.game.GameplayDeliveryDrainRequest.prototype.getProtocolVersion = function() {
65797
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
65798
+ };
65799
+
65800
+
65801
+ /**
65802
+ * @param {number} value
65803
+ * @return {!proto.game.GameplayDeliveryDrainRequest} returns this
65804
+ */
65805
+ proto.game.GameplayDeliveryDrainRequest.prototype.setProtocolVersion = function(value) {
65806
+ return jspb.Message.setProto3IntField(this, 1, value);
65807
+ };
65808
+
65809
+
65810
+ /**
65811
+ * optional string drain_token = 2;
65812
+ * @return {string}
65813
+ */
65814
+ proto.game.GameplayDeliveryDrainRequest.prototype.getDrainToken = function() {
65815
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
65816
+ };
65817
+
65818
+
65819
+ /**
65820
+ * @param {string} value
65821
+ * @return {!proto.game.GameplayDeliveryDrainRequest} returns this
65822
+ */
65823
+ proto.game.GameplayDeliveryDrainRequest.prototype.setDrainToken = function(value) {
65824
+ return jspb.Message.setProto3StringField(this, 2, value);
65825
+ };
65826
+
65827
+
65828
+ /**
65829
+ * optional uint64 after_id = 3;
65830
+ * @return {string}
65831
+ */
65832
+ proto.game.GameplayDeliveryDrainRequest.prototype.getAfterId = function() {
65833
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
65834
+ };
65835
+
65836
+
65837
+ /**
65838
+ * @param {string} value
65839
+ * @return {!proto.game.GameplayDeliveryDrainRequest} returns this
65840
+ */
65841
+ proto.game.GameplayDeliveryDrainRequest.prototype.setAfterId = function(value) {
65842
+ return jspb.Message.setProto3StringIntField(this, 3, value);
65843
+ };
65844
+
65845
+
65846
+ /**
65847
+ * optional uint32 limit = 4;
65848
+ * @return {number}
65849
+ */
65850
+ proto.game.GameplayDeliveryDrainRequest.prototype.getLimit = function() {
65851
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
65852
+ };
65853
+
65854
+
65855
+ /**
65856
+ * @param {number} value
65857
+ * @return {!proto.game.GameplayDeliveryDrainRequest} returns this
65858
+ */
65859
+ proto.game.GameplayDeliveryDrainRequest.prototype.setLimit = function(value) {
65860
+ return jspb.Message.setProto3IntField(this, 4, value);
65861
+ };
65862
+
65863
+
65864
+
65865
+
65866
+
65867
+ if (jspb.Message.GENERATE_TO_OBJECT) {
65868
+ /**
65869
+ * Creates an object representation of this proto.
65870
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
65871
+ * Optional fields that are not set will be set to undefined.
65872
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
65873
+ * For the list of reserved names please see:
65874
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
65875
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
65876
+ * JSPB instance for transitional soy proto support:
65877
+ * http://goto/soy-param-migration
65878
+ * @return {!Object}
65879
+ */
65880
+ proto.game.GameplayDeliveryDrainEntry.prototype.toObject = function(opt_includeInstance) {
65881
+ return proto.game.GameplayDeliveryDrainEntry.toObject(opt_includeInstance, this);
65882
+ };
65883
+
65884
+
65885
+ /**
65886
+ * Static version of the {@see toObject} method.
65887
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
65888
+ * the JSPB instance for transitional soy proto support:
65889
+ * http://goto/soy-param-migration
65890
+ * @param {!proto.game.GameplayDeliveryDrainEntry} msg The msg instance to transform.
65891
+ * @return {!Object}
65892
+ * @suppress {unusedLocalVariables} f is only used for nested messages
65893
+ */
65894
+ proto.game.GameplayDeliveryDrainEntry.toObject = function(includeInstance, msg) {
65895
+ var f, obj = {
65896
+ id: jspb.Message.getFieldWithDefault(msg, 1, "0"),
65897
+ fingerprint: jspb.Message.getFieldWithDefault(msg, 2, ""),
65898
+ messageId: jspb.Message.getFieldWithDefault(msg, 3, ""),
65899
+ eventType: jspb.Message.getFieldWithDefault(msg, 4, ""),
65900
+ state: jspb.Message.getFieldWithDefault(msg, 5, ""),
65901
+ userId: jspb.Message.getFieldWithDefault(msg, 6, "0"),
65902
+ currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
65903
+ transactionId: jspb.Message.getFieldWithDefault(msg, 8, ""),
65904
+ reportingKind: jspb.Message.getFieldWithDefault(msg, 9, ""),
65905
+ freespinId: jspb.Message.getFieldWithDefault(msg, 10, "")
65906
+ };
65907
+
65908
+ if (includeInstance) {
65909
+ obj.$jspbMessageInstance = msg;
65910
+ }
65911
+ return obj;
65912
+ };
65913
+ }
65914
+
65915
+
65916
+ /**
65917
+ * Deserializes binary data (in protobuf wire format).
65918
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
65919
+ * @return {!proto.game.GameplayDeliveryDrainEntry}
65920
+ */
65921
+ proto.game.GameplayDeliveryDrainEntry.deserializeBinary = function(bytes) {
65922
+ var reader = new jspb.BinaryReader(bytes);
65923
+ var msg = new proto.game.GameplayDeliveryDrainEntry;
65924
+ return proto.game.GameplayDeliveryDrainEntry.deserializeBinaryFromReader(msg, reader);
65925
+ };
65926
+
65927
+
65928
+ /**
65929
+ * Deserializes binary data (in protobuf wire format) from the
65930
+ * given reader into the given message object.
65931
+ * @param {!proto.game.GameplayDeliveryDrainEntry} msg The message object to deserialize into.
65932
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
65933
+ * @return {!proto.game.GameplayDeliveryDrainEntry}
65934
+ */
65935
+ proto.game.GameplayDeliveryDrainEntry.deserializeBinaryFromReader = function(msg, reader) {
65936
+ while (reader.nextField()) {
65937
+ if (reader.isEndGroup()) {
65938
+ break;
65939
+ }
65940
+ var field = reader.getFieldNumber();
65941
+ switch (field) {
65942
+ case 1:
65943
+ var value = /** @type {string} */ (reader.readUint64String());
65944
+ msg.setId(value);
65945
+ break;
65946
+ case 2:
65947
+ var value = /** @type {string} */ (reader.readString());
65948
+ msg.setFingerprint(value);
65949
+ break;
65950
+ case 3:
65951
+ var value = /** @type {string} */ (reader.readString());
65952
+ msg.setMessageId(value);
65953
+ break;
65954
+ case 4:
65955
+ var value = /** @type {string} */ (reader.readString());
65956
+ msg.setEventType(value);
65957
+ break;
65958
+ case 5:
65959
+ var value = /** @type {string} */ (reader.readString());
65960
+ msg.setState(value);
65961
+ break;
65962
+ case 6:
65963
+ var value = /** @type {string} */ (reader.readUint64String());
65964
+ msg.setUserId(value);
65965
+ break;
65966
+ case 7:
65967
+ var value = /** @type {string} */ (reader.readString());
65968
+ msg.setCurrency(value);
65969
+ break;
65970
+ case 8:
65971
+ var value = /** @type {string} */ (reader.readString());
65972
+ msg.setTransactionId(value);
65973
+ break;
65974
+ case 9:
65975
+ var value = /** @type {string} */ (reader.readString());
65976
+ msg.setReportingKind(value);
65977
+ break;
65978
+ case 10:
65979
+ var value = /** @type {string} */ (reader.readString());
65980
+ msg.setFreespinId(value);
65981
+ break;
65982
+ default:
65983
+ reader.skipField();
65984
+ break;
65985
+ }
65986
+ }
65987
+ return msg;
65988
+ };
65989
+
65990
+
65991
+ /**
65992
+ * Serializes the message to binary data (in protobuf wire format).
65993
+ * @return {!Uint8Array}
65994
+ */
65995
+ proto.game.GameplayDeliveryDrainEntry.prototype.serializeBinary = function() {
65996
+ var writer = new jspb.BinaryWriter();
65997
+ proto.game.GameplayDeliveryDrainEntry.serializeBinaryToWriter(this, writer);
65998
+ return writer.getResultBuffer();
65999
+ };
66000
+
66001
+
66002
+ /**
66003
+ * Serializes the given message to binary data (in protobuf wire
66004
+ * format), writing to the given BinaryWriter.
66005
+ * @param {!proto.game.GameplayDeliveryDrainEntry} message
66006
+ * @param {!jspb.BinaryWriter} writer
66007
+ * @suppress {unusedLocalVariables} f is only used for nested messages
66008
+ */
66009
+ proto.game.GameplayDeliveryDrainEntry.serializeBinaryToWriter = function(message, writer) {
66010
+ var f = undefined;
66011
+ f = message.getId();
66012
+ if (parseInt(f, 10) !== 0) {
66013
+ writer.writeUint64String(
66014
+ 1,
66015
+ f
66016
+ );
66017
+ }
66018
+ f = message.getFingerprint();
66019
+ if (f.length > 0) {
66020
+ writer.writeString(
66021
+ 2,
66022
+ f
66023
+ );
66024
+ }
66025
+ f = message.getMessageId();
66026
+ if (f.length > 0) {
66027
+ writer.writeString(
66028
+ 3,
66029
+ f
66030
+ );
66031
+ }
66032
+ f = message.getEventType();
66033
+ if (f.length > 0) {
66034
+ writer.writeString(
66035
+ 4,
66036
+ f
66037
+ );
66038
+ }
66039
+ f = message.getState();
66040
+ if (f.length > 0) {
66041
+ writer.writeString(
66042
+ 5,
66043
+ f
66044
+ );
66045
+ }
66046
+ f = message.getUserId();
66047
+ if (parseInt(f, 10) !== 0) {
66048
+ writer.writeUint64String(
66049
+ 6,
66050
+ f
66051
+ );
66052
+ }
66053
+ f = message.getCurrency();
66054
+ if (f.length > 0) {
66055
+ writer.writeString(
66056
+ 7,
66057
+ f
66058
+ );
66059
+ }
66060
+ f = message.getTransactionId();
66061
+ if (f.length > 0) {
66062
+ writer.writeString(
66063
+ 8,
66064
+ f
66065
+ );
66066
+ }
66067
+ f = message.getReportingKind();
66068
+ if (f.length > 0) {
66069
+ writer.writeString(
66070
+ 9,
66071
+ f
66072
+ );
66073
+ }
66074
+ f = message.getFreespinId();
66075
+ if (f.length > 0) {
66076
+ writer.writeString(
66077
+ 10,
66078
+ f
66079
+ );
66080
+ }
66081
+ };
66082
+
66083
+
66084
+ /**
66085
+ * optional uint64 id = 1;
66086
+ * @return {string}
66087
+ */
66088
+ proto.game.GameplayDeliveryDrainEntry.prototype.getId = function() {
66089
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
66090
+ };
66091
+
66092
+
66093
+ /**
66094
+ * @param {string} value
66095
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66096
+ */
66097
+ proto.game.GameplayDeliveryDrainEntry.prototype.setId = function(value) {
66098
+ return jspb.Message.setProto3StringIntField(this, 1, value);
66099
+ };
66100
+
66101
+
66102
+ /**
66103
+ * optional string fingerprint = 2;
66104
+ * @return {string}
66105
+ */
66106
+ proto.game.GameplayDeliveryDrainEntry.prototype.getFingerprint = function() {
66107
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
66108
+ };
66109
+
66110
+
66111
+ /**
66112
+ * @param {string} value
66113
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66114
+ */
66115
+ proto.game.GameplayDeliveryDrainEntry.prototype.setFingerprint = function(value) {
66116
+ return jspb.Message.setProto3StringField(this, 2, value);
66117
+ };
66118
+
66119
+
66120
+ /**
66121
+ * optional string message_id = 3;
66122
+ * @return {string}
66123
+ */
66124
+ proto.game.GameplayDeliveryDrainEntry.prototype.getMessageId = function() {
66125
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
66126
+ };
66127
+
66128
+
66129
+ /**
66130
+ * @param {string} value
66131
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66132
+ */
66133
+ proto.game.GameplayDeliveryDrainEntry.prototype.setMessageId = function(value) {
66134
+ return jspb.Message.setProto3StringField(this, 3, value);
66135
+ };
66136
+
66137
+
66138
+ /**
66139
+ * optional string event_type = 4;
66140
+ * @return {string}
66141
+ */
66142
+ proto.game.GameplayDeliveryDrainEntry.prototype.getEventType = function() {
66143
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
66144
+ };
66145
+
66146
+
66147
+ /**
66148
+ * @param {string} value
66149
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66150
+ */
66151
+ proto.game.GameplayDeliveryDrainEntry.prototype.setEventType = function(value) {
66152
+ return jspb.Message.setProto3StringField(this, 4, value);
66153
+ };
66154
+
66155
+
66156
+ /**
66157
+ * optional string state = 5;
66158
+ * @return {string}
66159
+ */
66160
+ proto.game.GameplayDeliveryDrainEntry.prototype.getState = function() {
66161
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
66162
+ };
66163
+
66164
+
66165
+ /**
66166
+ * @param {string} value
66167
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66168
+ */
66169
+ proto.game.GameplayDeliveryDrainEntry.prototype.setState = function(value) {
66170
+ return jspb.Message.setProto3StringField(this, 5, value);
66171
+ };
66172
+
66173
+
66174
+ /**
66175
+ * optional uint64 user_id = 6;
66176
+ * @return {string}
66177
+ */
66178
+ proto.game.GameplayDeliveryDrainEntry.prototype.getUserId = function() {
66179
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "0"));
66180
+ };
66181
+
66182
+
66183
+ /**
66184
+ * @param {string} value
66185
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66186
+ */
66187
+ proto.game.GameplayDeliveryDrainEntry.prototype.setUserId = function(value) {
66188
+ return jspb.Message.setProto3StringIntField(this, 6, value);
66189
+ };
66190
+
66191
+
66192
+ /**
66193
+ * optional string currency = 7;
66194
+ * @return {string}
66195
+ */
66196
+ proto.game.GameplayDeliveryDrainEntry.prototype.getCurrency = function() {
66197
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
66198
+ };
66199
+
66200
+
66201
+ /**
66202
+ * @param {string} value
66203
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66204
+ */
66205
+ proto.game.GameplayDeliveryDrainEntry.prototype.setCurrency = function(value) {
66206
+ return jspb.Message.setProto3StringField(this, 7, value);
66207
+ };
66208
+
66209
+
66210
+ /**
66211
+ * optional string transaction_id = 8;
66212
+ * @return {string}
66213
+ */
66214
+ proto.game.GameplayDeliveryDrainEntry.prototype.getTransactionId = function() {
66215
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
66216
+ };
66217
+
66218
+
66219
+ /**
66220
+ * @param {string} value
66221
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66222
+ */
66223
+ proto.game.GameplayDeliveryDrainEntry.prototype.setTransactionId = function(value) {
66224
+ return jspb.Message.setProto3StringField(this, 8, value);
66225
+ };
66226
+
66227
+
66228
+ /**
66229
+ * optional string reporting_kind = 9;
66230
+ * @return {string}
66231
+ */
66232
+ proto.game.GameplayDeliveryDrainEntry.prototype.getReportingKind = function() {
66233
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
66234
+ };
66235
+
66236
+
66237
+ /**
66238
+ * @param {string} value
66239
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66240
+ */
66241
+ proto.game.GameplayDeliveryDrainEntry.prototype.setReportingKind = function(value) {
66242
+ return jspb.Message.setProto3StringField(this, 9, value);
66243
+ };
66244
+
66245
+
66246
+ /**
66247
+ * optional string freespin_id = 10;
66248
+ * @return {string}
66249
+ */
66250
+ proto.game.GameplayDeliveryDrainEntry.prototype.getFreespinId = function() {
66251
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
66252
+ };
66253
+
66254
+
66255
+ /**
66256
+ * @param {string} value
66257
+ * @return {!proto.game.GameplayDeliveryDrainEntry} returns this
66258
+ */
66259
+ proto.game.GameplayDeliveryDrainEntry.prototype.setFreespinId = function(value) {
66260
+ return jspb.Message.setProto3StringField(this, 10, value);
66261
+ };
66262
+
66263
+
66264
+
66265
+ /**
66266
+ * List of repeated fields within this message type.
66267
+ * @private {!Array<number>}
66268
+ * @const
66269
+ */
66270
+ proto.game.GameplayDeliveryDrainResult.repeatedFields_ = [5];
66271
+
66272
+
66273
+
66274
+ if (jspb.Message.GENERATE_TO_OBJECT) {
66275
+ /**
66276
+ * Creates an object representation of this proto.
66277
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
66278
+ * Optional fields that are not set will be set to undefined.
66279
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
66280
+ * For the list of reserved names please see:
66281
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
66282
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
66283
+ * JSPB instance for transitional soy proto support:
66284
+ * http://goto/soy-param-migration
66285
+ * @return {!Object}
66286
+ */
66287
+ proto.game.GameplayDeliveryDrainResult.prototype.toObject = function(opt_includeInstance) {
66288
+ return proto.game.GameplayDeliveryDrainResult.toObject(opt_includeInstance, this);
66289
+ };
66290
+
66291
+
66292
+ /**
66293
+ * Static version of the {@see toObject} method.
66294
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
66295
+ * the JSPB instance for transitional soy proto support:
66296
+ * http://goto/soy-param-migration
66297
+ * @param {!proto.game.GameplayDeliveryDrainResult} msg The msg instance to transform.
66298
+ * @return {!Object}
66299
+ * @suppress {unusedLocalVariables} f is only used for nested messages
66300
+ */
66301
+ proto.game.GameplayDeliveryDrainResult.toObject = function(includeInstance, msg) {
66302
+ var f, obj = {
66303
+ protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
66304
+ drainToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
66305
+ highWatermark: jspb.Message.getFieldWithDefault(msg, 3, "0"),
66306
+ nextId: jspb.Message.getFieldWithDefault(msg, 4, "0"),
66307
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
66308
+ proto.game.GameplayDeliveryDrainEntry.toObject, includeInstance),
66309
+ done: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
66310
+ };
66311
+
66312
+ if (includeInstance) {
66313
+ obj.$jspbMessageInstance = msg;
66314
+ }
66315
+ return obj;
66316
+ };
66317
+ }
66318
+
66319
+
66320
+ /**
66321
+ * Deserializes binary data (in protobuf wire format).
66322
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
66323
+ * @return {!proto.game.GameplayDeliveryDrainResult}
66324
+ */
66325
+ proto.game.GameplayDeliveryDrainResult.deserializeBinary = function(bytes) {
66326
+ var reader = new jspb.BinaryReader(bytes);
66327
+ var msg = new proto.game.GameplayDeliveryDrainResult;
66328
+ return proto.game.GameplayDeliveryDrainResult.deserializeBinaryFromReader(msg, reader);
66329
+ };
66330
+
66331
+
66332
+ /**
66333
+ * Deserializes binary data (in protobuf wire format) from the
66334
+ * given reader into the given message object.
66335
+ * @param {!proto.game.GameplayDeliveryDrainResult} msg The message object to deserialize into.
66336
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
66337
+ * @return {!proto.game.GameplayDeliveryDrainResult}
66338
+ */
66339
+ proto.game.GameplayDeliveryDrainResult.deserializeBinaryFromReader = function(msg, reader) {
66340
+ while (reader.nextField()) {
66341
+ if (reader.isEndGroup()) {
66342
+ break;
66343
+ }
66344
+ var field = reader.getFieldNumber();
66345
+ switch (field) {
66346
+ case 1:
66347
+ var value = /** @type {number} */ (reader.readUint32());
66348
+ msg.setProtocolVersion(value);
66349
+ break;
66350
+ case 2:
66351
+ var value = /** @type {string} */ (reader.readString());
66352
+ msg.setDrainToken(value);
66353
+ break;
66354
+ case 3:
66355
+ var value = /** @type {string} */ (reader.readUint64String());
66356
+ msg.setHighWatermark(value);
66357
+ break;
66358
+ case 4:
66359
+ var value = /** @type {string} */ (reader.readUint64String());
66360
+ msg.setNextId(value);
66361
+ break;
66362
+ case 5:
66363
+ var value = new proto.game.GameplayDeliveryDrainEntry;
66364
+ reader.readMessage(value,proto.game.GameplayDeliveryDrainEntry.deserializeBinaryFromReader);
66365
+ msg.addEntries(value);
66366
+ break;
66367
+ case 6:
66368
+ var value = /** @type {boolean} */ (reader.readBool());
66369
+ msg.setDone(value);
66370
+ break;
66371
+ default:
66372
+ reader.skipField();
66373
+ break;
66374
+ }
66375
+ }
66376
+ return msg;
66377
+ };
66378
+
66379
+
66380
+ /**
66381
+ * Serializes the message to binary data (in protobuf wire format).
66382
+ * @return {!Uint8Array}
66383
+ */
66384
+ proto.game.GameplayDeliveryDrainResult.prototype.serializeBinary = function() {
66385
+ var writer = new jspb.BinaryWriter();
66386
+ proto.game.GameplayDeliveryDrainResult.serializeBinaryToWriter(this, writer);
66387
+ return writer.getResultBuffer();
66388
+ };
66389
+
66390
+
66391
+ /**
66392
+ * Serializes the given message to binary data (in protobuf wire
66393
+ * format), writing to the given BinaryWriter.
66394
+ * @param {!proto.game.GameplayDeliveryDrainResult} message
66395
+ * @param {!jspb.BinaryWriter} writer
66396
+ * @suppress {unusedLocalVariables} f is only used for nested messages
66397
+ */
66398
+ proto.game.GameplayDeliveryDrainResult.serializeBinaryToWriter = function(message, writer) {
66399
+ var f = undefined;
66400
+ f = message.getProtocolVersion();
66401
+ if (f !== 0) {
66402
+ writer.writeUint32(
66403
+ 1,
66404
+ f
66405
+ );
66406
+ }
66407
+ f = message.getDrainToken();
66408
+ if (f.length > 0) {
66409
+ writer.writeString(
66410
+ 2,
66411
+ f
66412
+ );
66413
+ }
66414
+ f = message.getHighWatermark();
66415
+ if (parseInt(f, 10) !== 0) {
66416
+ writer.writeUint64String(
66417
+ 3,
66418
+ f
66419
+ );
66420
+ }
66421
+ f = message.getNextId();
66422
+ if (parseInt(f, 10) !== 0) {
66423
+ writer.writeUint64String(
66424
+ 4,
66425
+ f
66426
+ );
66427
+ }
66428
+ f = message.getEntriesList();
66429
+ if (f.length > 0) {
66430
+ writer.writeRepeatedMessage(
66431
+ 5,
66432
+ f,
66433
+ proto.game.GameplayDeliveryDrainEntry.serializeBinaryToWriter
66434
+ );
66435
+ }
66436
+ f = message.getDone();
66437
+ if (f) {
66438
+ writer.writeBool(
66439
+ 6,
66440
+ f
66441
+ );
66442
+ }
66443
+ };
66444
+
66445
+
66446
+ /**
66447
+ * optional uint32 protocol_version = 1;
66448
+ * @return {number}
66449
+ */
66450
+ proto.game.GameplayDeliveryDrainResult.prototype.getProtocolVersion = function() {
66451
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
66452
+ };
66453
+
66454
+
66455
+ /**
66456
+ * @param {number} value
66457
+ * @return {!proto.game.GameplayDeliveryDrainResult} returns this
66458
+ */
66459
+ proto.game.GameplayDeliveryDrainResult.prototype.setProtocolVersion = function(value) {
66460
+ return jspb.Message.setProto3IntField(this, 1, value);
66461
+ };
66462
+
66463
+
66464
+ /**
66465
+ * optional string drain_token = 2;
66466
+ * @return {string}
66467
+ */
66468
+ proto.game.GameplayDeliveryDrainResult.prototype.getDrainToken = function() {
66469
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
66470
+ };
66471
+
66472
+
66473
+ /**
66474
+ * @param {string} value
66475
+ * @return {!proto.game.GameplayDeliveryDrainResult} returns this
66476
+ */
66477
+ proto.game.GameplayDeliveryDrainResult.prototype.setDrainToken = function(value) {
66478
+ return jspb.Message.setProto3StringField(this, 2, value);
66479
+ };
66480
+
66481
+
66482
+ /**
66483
+ * optional uint64 high_watermark = 3;
66484
+ * @return {string}
66485
+ */
66486
+ proto.game.GameplayDeliveryDrainResult.prototype.getHighWatermark = function() {
66487
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
66488
+ };
66489
+
66490
+
66491
+ /**
66492
+ * @param {string} value
66493
+ * @return {!proto.game.GameplayDeliveryDrainResult} returns this
66494
+ */
66495
+ proto.game.GameplayDeliveryDrainResult.prototype.setHighWatermark = function(value) {
66496
+ return jspb.Message.setProto3StringIntField(this, 3, value);
66497
+ };
66498
+
66499
+
66500
+ /**
66501
+ * optional uint64 next_id = 4;
66502
+ * @return {string}
66503
+ */
66504
+ proto.game.GameplayDeliveryDrainResult.prototype.getNextId = function() {
66505
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
66506
+ };
66507
+
66508
+
66509
+ /**
66510
+ * @param {string} value
66511
+ * @return {!proto.game.GameplayDeliveryDrainResult} returns this
66512
+ */
66513
+ proto.game.GameplayDeliveryDrainResult.prototype.setNextId = function(value) {
66514
+ return jspb.Message.setProto3StringIntField(this, 4, value);
66515
+ };
66516
+
66517
+
66518
+ /**
66519
+ * repeated GameplayDeliveryDrainEntry entries = 5;
66520
+ * @return {!Array<!proto.game.GameplayDeliveryDrainEntry>}
66521
+ */
66522
+ proto.game.GameplayDeliveryDrainResult.prototype.getEntriesList = function() {
66523
+ return /** @type{!Array<!proto.game.GameplayDeliveryDrainEntry>} */ (
66524
+ jspb.Message.getRepeatedWrapperField(this, proto.game.GameplayDeliveryDrainEntry, 5));
66525
+ };
66526
+
66527
+
66528
+ /**
66529
+ * @param {!Array<!proto.game.GameplayDeliveryDrainEntry>} value
66530
+ * @return {!proto.game.GameplayDeliveryDrainResult} returns this
66531
+ */
66532
+ proto.game.GameplayDeliveryDrainResult.prototype.setEntriesList = function(value) {
66533
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
66534
+ };
66535
+
66536
+
66537
+ /**
66538
+ * @param {!proto.game.GameplayDeliveryDrainEntry=} opt_value
66539
+ * @param {number=} opt_index
66540
+ * @return {!proto.game.GameplayDeliveryDrainEntry}
66541
+ */
66542
+ proto.game.GameplayDeliveryDrainResult.prototype.addEntries = function(opt_value, opt_index) {
66543
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.game.GameplayDeliveryDrainEntry, opt_index);
66544
+ };
66545
+
66546
+
66547
+ /**
66548
+ * Clears the list making it empty but non-null.
66549
+ * @return {!proto.game.GameplayDeliveryDrainResult} returns this
66550
+ */
66551
+ proto.game.GameplayDeliveryDrainResult.prototype.clearEntriesList = function() {
66552
+ return this.setEntriesList([]);
66553
+ };
66554
+
66555
+
66556
+ /**
66557
+ * optional bool done = 6;
66558
+ * @return {boolean}
66559
+ */
66560
+ proto.game.GameplayDeliveryDrainResult.prototype.getDone = function() {
66561
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
66562
+ };
66563
+
66564
+
66565
+ /**
66566
+ * @param {boolean} value
66567
+ * @return {!proto.game.GameplayDeliveryDrainResult} returns this
66568
+ */
66569
+ proto.game.GameplayDeliveryDrainResult.prototype.setDone = function(value) {
66570
+ return jspb.Message.setProto3BooleanField(this, 6, value);
66571
+ };
66572
+
66573
+
66574
+ /**
66575
+ * @enum {number}
66576
+ */
66577
+ proto.game.GameImageSlot = {
66578
+ GAME_IMAGE_SLOT_UNSPECIFIED: 0,
66579
+ GAME_IMAGE_SLOT_REGULAR: 1,
66580
+ GAME_IMAGE_SLOT_PORTRAIT: 2,
66581
+ GAME_IMAGE_SLOT_LANDSCAPE: 3,
66582
+ GAME_IMAGE_SLOT_SQUARE: 4
66583
+ };
66584
+
66585
+ /**
66586
+ * @enum {number}
66587
+ */
66588
+ proto.game.GameplayDeliveryOwnerState = {
66589
+ GAMEPLAY_DELIVERY_OWNER_UNSPECIFIED: 0,
66590
+ GAMEPLAY_DELIVERY_OWNER_ACTIVE: 1,
66591
+ GAMEPLAY_DELIVERY_OWNER_FENCED: 2,
66592
+ GAMEPLAY_DELIVERY_OWNER_DISABLED: 3
64781
66593
  };
64782
66594
 
64783
66595
  goog.object.extend(exports, proto.game);