protobuf-platform 1.2.708 → 1.2.710

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.708",
3
+ "version": "1.2.710",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -70,6 +70,9 @@ service Payment {
70
70
  rpc executeGameplayPrecisionCommand(ExecuteGameplayPrecisionCommandRequest) returns (GameplayPrecisionResult);
71
71
  rpc readGameplayPrecisionBalance(GameplayPrecisionSessionRequest) returns (GameplayPrecisionResult);
72
72
  rpc closeGameplayPrecisionSession(GameplayPrecisionSessionRequest) returns (GameplayPrecisionResult);
73
+ // One synchronous settlement. Reads do not take a durable wallet fence.
74
+ rpc settleGameplay(SettleGameplayRequest) returns (SettleGameplayResponse);
75
+ rpc readGameplaySettlementFact(ReadGameplaySettlementFactRequest) returns (ReadGameplaySettlementFactResponse);
73
76
  //Segmentation
74
77
  rpc getSegmentedUsers(SegmentedUserRequest) returns (SegmentedUserResponse);
75
78
  //Currency source-of-truth
@@ -923,9 +926,11 @@ message UserPaymentMethodItem {
923
926
  optional int32 is_popular = 27;
924
927
  optional int32 is_new = 28;
925
928
  optional bool allow_zero_amount = 29;
926
- // True only when this method configuration allows saving and reusing deposit cards.
929
+ // True only when this method configuration allows persisting a new deposit card.
927
930
  optional bool save_card = 30;
928
931
  repeated SavedDepositCard saved_cards = 31;
932
+ // Most recently confirmed successful saved card for this method. Never a PAN.
933
+ optional string saved_card_id = 32;
929
934
  }
930
935
  message UserPaymentMethodsResponse {
931
936
  repeated UserPaymentMethodItem items = 1;
@@ -1566,6 +1571,37 @@ message CashbackClaimCreditRequest {
1566
1571
  // Absent means no wagering obligation. "0" is an explicit unlocked obligation.
1567
1572
  optional string wager_multiplier = 5;
1568
1573
  }
1574
+ // Canonical gameplay settlement. JSON bodies are the existing versioned command,
1575
+ // source, candidate and User RG receipt. Payment recomputes the binding under the wallet lock.
1576
+ message SettleGameplayRequest {
1577
+ uint32 protocol_version = 1;
1578
+ string namespace = 2;
1579
+ string request_id = 3;
1580
+ string command_json = 4;
1581
+ string source_json = 5;
1582
+ string candidate_json = 6;
1583
+ string rg_evidence_json = 7;
1584
+ string attempt_id = 8;
1585
+ }
1586
+ message SettleGameplayResponse {
1587
+ uint32 protocol_version = 1;
1588
+ string decision_id = 2;
1589
+ bool replay = 3;
1590
+ string outcome_json = 4;
1591
+ }
1592
+ message ReadGameplaySettlementFactRequest {
1593
+ uint32 protocol_version = 1;
1594
+ string namespace = 2;
1595
+ string fact = 3;
1596
+ string command_json = 4;
1597
+ string source_json = 5;
1598
+ string key = 6;
1599
+ string requested_debit_minor = 7;
1600
+ string packet_json = 8;
1601
+ }
1602
+ message ReadGameplaySettlementFactResponse {
1603
+ string result_json = 1;
1604
+ }
1569
1605
  message LoyaltyLevelUpRewardResponse {
1570
1606
  string operation_id = 1;
1571
1607
  string operation_public_id = 2;
@@ -961,6 +961,28 @@ function deserialize_payment_ProviderTranslationResponse(buffer_arg) {
961
961
  return payment_pb.ProviderTranslationResponse.deserializeBinary(new Uint8Array(buffer_arg));
962
962
  }
963
963
 
964
+ function serialize_payment_ReadGameplaySettlementFactRequest(arg) {
965
+ if (!(arg instanceof payment_pb.ReadGameplaySettlementFactRequest)) {
966
+ throw new Error('Expected argument of type payment.ReadGameplaySettlementFactRequest');
967
+ }
968
+ return Buffer.from(arg.serializeBinary());
969
+ }
970
+
971
+ function deserialize_payment_ReadGameplaySettlementFactRequest(buffer_arg) {
972
+ return payment_pb.ReadGameplaySettlementFactRequest.deserializeBinary(new Uint8Array(buffer_arg));
973
+ }
974
+
975
+ function serialize_payment_ReadGameplaySettlementFactResponse(arg) {
976
+ if (!(arg instanceof payment_pb.ReadGameplaySettlementFactResponse)) {
977
+ throw new Error('Expected argument of type payment.ReadGameplaySettlementFactResponse');
978
+ }
979
+ return Buffer.from(arg.serializeBinary());
980
+ }
981
+
982
+ function deserialize_payment_ReadGameplaySettlementFactResponse(buffer_arg) {
983
+ return payment_pb.ReadGameplaySettlementFactResponse.deserializeBinary(new Uint8Array(buffer_arg));
984
+ }
985
+
964
986
  function serialize_payment_RegisterGameplayPrecisionSessionRequest(arg) {
965
987
  if (!(arg instanceof payment_pb.RegisterGameplayPrecisionSessionRequest)) {
966
988
  throw new Error('Expected argument of type payment.RegisterGameplayPrecisionSessionRequest');
@@ -1016,6 +1038,28 @@ function deserialize_payment_SegmentedUserResponse(buffer_arg) {
1016
1038
  return payment_pb.SegmentedUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
1017
1039
  }
1018
1040
 
1041
+ function serialize_payment_SettleGameplayRequest(arg) {
1042
+ if (!(arg instanceof payment_pb.SettleGameplayRequest)) {
1043
+ throw new Error('Expected argument of type payment.SettleGameplayRequest');
1044
+ }
1045
+ return Buffer.from(arg.serializeBinary());
1046
+ }
1047
+
1048
+ function deserialize_payment_SettleGameplayRequest(buffer_arg) {
1049
+ return payment_pb.SettleGameplayRequest.deserializeBinary(new Uint8Array(buffer_arg));
1050
+ }
1051
+
1052
+ function serialize_payment_SettleGameplayResponse(arg) {
1053
+ if (!(arg instanceof payment_pb.SettleGameplayResponse)) {
1054
+ throw new Error('Expected argument of type payment.SettleGameplayResponse');
1055
+ }
1056
+ return Buffer.from(arg.serializeBinary());
1057
+ }
1058
+
1059
+ function deserialize_payment_SettleGameplayResponse(buffer_arg) {
1060
+ return payment_pb.SettleGameplayResponse.deserializeBinary(new Uint8Array(buffer_arg));
1061
+ }
1062
+
1019
1063
  function serialize_payment_SyncCurrenciesRequest(arg) {
1020
1064
  if (!(arg instanceof payment_pb.SyncCurrenciesRequest)) {
1021
1065
  throw new Error('Expected argument of type payment.SyncCurrenciesRequest');
@@ -1787,6 +1831,29 @@ registerGameplayPrecisionSession: {
1787
1831
  responseSerialize: serialize_payment_GameplayPrecisionResult,
1788
1832
  responseDeserialize: deserialize_payment_GameplayPrecisionResult,
1789
1833
  },
1834
+ // One synchronous settlement. Reads do not take a durable wallet fence.
1835
+ settleGameplay: {
1836
+ path: '/payment.Payment/settleGameplay',
1837
+ requestStream: false,
1838
+ responseStream: false,
1839
+ requestType: payment_pb.SettleGameplayRequest,
1840
+ responseType: payment_pb.SettleGameplayResponse,
1841
+ requestSerialize: serialize_payment_SettleGameplayRequest,
1842
+ requestDeserialize: deserialize_payment_SettleGameplayRequest,
1843
+ responseSerialize: serialize_payment_SettleGameplayResponse,
1844
+ responseDeserialize: deserialize_payment_SettleGameplayResponse,
1845
+ },
1846
+ readGameplaySettlementFact: {
1847
+ path: '/payment.Payment/readGameplaySettlementFact',
1848
+ requestStream: false,
1849
+ responseStream: false,
1850
+ requestType: payment_pb.ReadGameplaySettlementFactRequest,
1851
+ responseType: payment_pb.ReadGameplaySettlementFactResponse,
1852
+ requestSerialize: serialize_payment_ReadGameplaySettlementFactRequest,
1853
+ requestDeserialize: deserialize_payment_ReadGameplaySettlementFactRequest,
1854
+ responseSerialize: serialize_payment_ReadGameplaySettlementFactResponse,
1855
+ responseDeserialize: deserialize_payment_ReadGameplaySettlementFactResponse,
1856
+ },
1790
1857
  // Segmentation
1791
1858
  getSegmentedUsers: {
1792
1859
  path: '/payment.Payment/getSegmentedUsers',
@@ -140,12 +140,16 @@ goog.exportSymbol('proto.payment.ProviderResponse', null, global);
140
140
  goog.exportSymbol('proto.payment.ProviderTranslationItem', null, global);
141
141
  goog.exportSymbol('proto.payment.ProviderTranslationRequest', null, global);
142
142
  goog.exportSymbol('proto.payment.ProviderTranslationResponse', null, global);
143
+ goog.exportSymbol('proto.payment.ReadGameplaySettlementFactRequest', null, global);
144
+ goog.exportSymbol('proto.payment.ReadGameplaySettlementFactResponse', null, global);
143
145
  goog.exportSymbol('proto.payment.RegisterGameplayPrecisionSessionRequest', null, global);
144
146
  goog.exportSymbol('proto.payment.ResolveGameWalletContextRequest', null, global);
145
147
  goog.exportSymbol('proto.payment.ResolveGameWalletContextResponse', null, global);
146
148
  goog.exportSymbol('proto.payment.SavedDepositCard', null, global);
147
149
  goog.exportSymbol('proto.payment.SegmentedUserRequest', null, global);
148
150
  goog.exportSymbol('proto.payment.SegmentedUserResponse', null, global);
151
+ goog.exportSymbol('proto.payment.SettleGameplayRequest', null, global);
152
+ goog.exportSymbol('proto.payment.SettleGameplayResponse', null, global);
149
153
  goog.exportSymbol('proto.payment.SyncCurrenciesRequest', null, global);
150
154
  goog.exportSymbol('proto.payment.UpdateCurrencyRequest', null, global);
151
155
  goog.exportSymbol('proto.payment.UserDepositCountResponse', null, global);
@@ -3171,6 +3175,90 @@ if (goog.DEBUG && !COMPILED) {
3171
3175
  */
3172
3176
  proto.payment.CashbackClaimCreditRequest.displayName = 'proto.payment.CashbackClaimCreditRequest';
3173
3177
  }
3178
+ /**
3179
+ * Generated by JsPbCodeGenerator.
3180
+ * @param {Array=} opt_data Optional initial data array, typically from a
3181
+ * server response, or constructed directly in Javascript. The array is used
3182
+ * in place and becomes part of the constructed object. It is not cloned.
3183
+ * If no data is provided, the constructed object will be empty, but still
3184
+ * valid.
3185
+ * @extends {jspb.Message}
3186
+ * @constructor
3187
+ */
3188
+ proto.payment.SettleGameplayRequest = function(opt_data) {
3189
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3190
+ };
3191
+ goog.inherits(proto.payment.SettleGameplayRequest, jspb.Message);
3192
+ if (goog.DEBUG && !COMPILED) {
3193
+ /**
3194
+ * @public
3195
+ * @override
3196
+ */
3197
+ proto.payment.SettleGameplayRequest.displayName = 'proto.payment.SettleGameplayRequest';
3198
+ }
3199
+ /**
3200
+ * Generated by JsPbCodeGenerator.
3201
+ * @param {Array=} opt_data Optional initial data array, typically from a
3202
+ * server response, or constructed directly in Javascript. The array is used
3203
+ * in place and becomes part of the constructed object. It is not cloned.
3204
+ * If no data is provided, the constructed object will be empty, but still
3205
+ * valid.
3206
+ * @extends {jspb.Message}
3207
+ * @constructor
3208
+ */
3209
+ proto.payment.SettleGameplayResponse = function(opt_data) {
3210
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3211
+ };
3212
+ goog.inherits(proto.payment.SettleGameplayResponse, jspb.Message);
3213
+ if (goog.DEBUG && !COMPILED) {
3214
+ /**
3215
+ * @public
3216
+ * @override
3217
+ */
3218
+ proto.payment.SettleGameplayResponse.displayName = 'proto.payment.SettleGameplayResponse';
3219
+ }
3220
+ /**
3221
+ * Generated by JsPbCodeGenerator.
3222
+ * @param {Array=} opt_data Optional initial data array, typically from a
3223
+ * server response, or constructed directly in Javascript. The array is used
3224
+ * in place and becomes part of the constructed object. It is not cloned.
3225
+ * If no data is provided, the constructed object will be empty, but still
3226
+ * valid.
3227
+ * @extends {jspb.Message}
3228
+ * @constructor
3229
+ */
3230
+ proto.payment.ReadGameplaySettlementFactRequest = function(opt_data) {
3231
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3232
+ };
3233
+ goog.inherits(proto.payment.ReadGameplaySettlementFactRequest, jspb.Message);
3234
+ if (goog.DEBUG && !COMPILED) {
3235
+ /**
3236
+ * @public
3237
+ * @override
3238
+ */
3239
+ proto.payment.ReadGameplaySettlementFactRequest.displayName = 'proto.payment.ReadGameplaySettlementFactRequest';
3240
+ }
3241
+ /**
3242
+ * Generated by JsPbCodeGenerator.
3243
+ * @param {Array=} opt_data Optional initial data array, typically from a
3244
+ * server response, or constructed directly in Javascript. The array is used
3245
+ * in place and becomes part of the constructed object. It is not cloned.
3246
+ * If no data is provided, the constructed object will be empty, but still
3247
+ * valid.
3248
+ * @extends {jspb.Message}
3249
+ * @constructor
3250
+ */
3251
+ proto.payment.ReadGameplaySettlementFactResponse = function(opt_data) {
3252
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3253
+ };
3254
+ goog.inherits(proto.payment.ReadGameplaySettlementFactResponse, jspb.Message);
3255
+ if (goog.DEBUG && !COMPILED) {
3256
+ /**
3257
+ * @public
3258
+ * @override
3259
+ */
3260
+ proto.payment.ReadGameplaySettlementFactResponse.displayName = 'proto.payment.ReadGameplaySettlementFactResponse';
3261
+ }
3174
3262
  /**
3175
3263
  * Generated by JsPbCodeGenerator.
3176
3264
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -38620,7 +38708,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
38620
38708
  allowZeroAmount: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
38621
38709
  saveCard: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
38622
38710
  savedCardsList: jspb.Message.toObjectList(msg.getSavedCardsList(),
38623
- proto.payment.SavedDepositCard.toObject, includeInstance)
38711
+ proto.payment.SavedDepositCard.toObject, includeInstance),
38712
+ savedCardId: jspb.Message.getFieldWithDefault(msg, 32, "")
38624
38713
  };
38625
38714
 
38626
38715
  if (includeInstance) {
@@ -38783,6 +38872,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
38783
38872
  reader.readMessage(value,proto.payment.SavedDepositCard.deserializeBinaryFromReader);
38784
38873
  msg.addSavedCards(value);
38785
38874
  break;
38875
+ case 32:
38876
+ var value = /** @type {string} */ (reader.readString());
38877
+ msg.setSavedCardId(value);
38878
+ break;
38786
38879
  default:
38787
38880
  reader.skipField();
38788
38881
  break;
@@ -39031,6 +39124,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
39031
39124
  proto.payment.SavedDepositCard.serializeBinaryToWriter
39032
39125
  );
39033
39126
  }
39127
+ f = /** @type {string} */ (jspb.Message.getField(message, 32));
39128
+ if (f != null) {
39129
+ writer.writeString(
39130
+ 32,
39131
+ f
39132
+ );
39133
+ }
39034
39134
  };
39035
39135
 
39036
39136
 
@@ -39974,6 +40074,42 @@ proto.payment.UserPaymentMethodItem.prototype.clearSavedCardsList = function() {
39974
40074
  };
39975
40075
 
39976
40076
 
40077
+ /**
40078
+ * optional string saved_card_id = 32;
40079
+ * @return {string}
40080
+ */
40081
+ proto.payment.UserPaymentMethodItem.prototype.getSavedCardId = function() {
40082
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
40083
+ };
40084
+
40085
+
40086
+ /**
40087
+ * @param {string} value
40088
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
40089
+ */
40090
+ proto.payment.UserPaymentMethodItem.prototype.setSavedCardId = function(value) {
40091
+ return jspb.Message.setField(this, 32, value);
40092
+ };
40093
+
40094
+
40095
+ /**
40096
+ * Clears the field making it undefined.
40097
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
40098
+ */
40099
+ proto.payment.UserPaymentMethodItem.prototype.clearSavedCardId = function() {
40100
+ return jspb.Message.setField(this, 32, undefined);
40101
+ };
40102
+
40103
+
40104
+ /**
40105
+ * Returns whether this field is set.
40106
+ * @return {boolean}
40107
+ */
40108
+ proto.payment.UserPaymentMethodItem.prototype.hasSavedCardId = function() {
40109
+ return jspb.Message.getField(this, 32) != null;
40110
+ };
40111
+
40112
+
39977
40113
 
39978
40114
  /**
39979
40115
  * List of repeated fields within this message type.
@@ -63879,6 +64015,1036 @@ proto.payment.CashbackClaimCreditRequest.prototype.hasWagerMultiplier = function
63879
64015
 
63880
64016
 
63881
64017
 
64018
+
64019
+
64020
+ if (jspb.Message.GENERATE_TO_OBJECT) {
64021
+ /**
64022
+ * Creates an object representation of this proto.
64023
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
64024
+ * Optional fields that are not set will be set to undefined.
64025
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64026
+ * For the list of reserved names please see:
64027
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64028
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64029
+ * JSPB instance for transitional soy proto support:
64030
+ * http://goto/soy-param-migration
64031
+ * @return {!Object}
64032
+ */
64033
+ proto.payment.SettleGameplayRequest.prototype.toObject = function(opt_includeInstance) {
64034
+ return proto.payment.SettleGameplayRequest.toObject(opt_includeInstance, this);
64035
+ };
64036
+
64037
+
64038
+ /**
64039
+ * Static version of the {@see toObject} method.
64040
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64041
+ * the JSPB instance for transitional soy proto support:
64042
+ * http://goto/soy-param-migration
64043
+ * @param {!proto.payment.SettleGameplayRequest} msg The msg instance to transform.
64044
+ * @return {!Object}
64045
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64046
+ */
64047
+ proto.payment.SettleGameplayRequest.toObject = function(includeInstance, msg) {
64048
+ var f, obj = {
64049
+ protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
64050
+ namespace: jspb.Message.getFieldWithDefault(msg, 2, ""),
64051
+ requestId: jspb.Message.getFieldWithDefault(msg, 3, ""),
64052
+ commandJson: jspb.Message.getFieldWithDefault(msg, 4, ""),
64053
+ sourceJson: jspb.Message.getFieldWithDefault(msg, 5, ""),
64054
+ candidateJson: jspb.Message.getFieldWithDefault(msg, 6, ""),
64055
+ rgEvidenceJson: jspb.Message.getFieldWithDefault(msg, 7, ""),
64056
+ attemptId: jspb.Message.getFieldWithDefault(msg, 8, "")
64057
+ };
64058
+
64059
+ if (includeInstance) {
64060
+ obj.$jspbMessageInstance = msg;
64061
+ }
64062
+ return obj;
64063
+ };
64064
+ }
64065
+
64066
+
64067
+ /**
64068
+ * Deserializes binary data (in protobuf wire format).
64069
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
64070
+ * @return {!proto.payment.SettleGameplayRequest}
64071
+ */
64072
+ proto.payment.SettleGameplayRequest.deserializeBinary = function(bytes) {
64073
+ var reader = new jspb.BinaryReader(bytes);
64074
+ var msg = new proto.payment.SettleGameplayRequest;
64075
+ return proto.payment.SettleGameplayRequest.deserializeBinaryFromReader(msg, reader);
64076
+ };
64077
+
64078
+
64079
+ /**
64080
+ * Deserializes binary data (in protobuf wire format) from the
64081
+ * given reader into the given message object.
64082
+ * @param {!proto.payment.SettleGameplayRequest} msg The message object to deserialize into.
64083
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64084
+ * @return {!proto.payment.SettleGameplayRequest}
64085
+ */
64086
+ proto.payment.SettleGameplayRequest.deserializeBinaryFromReader = function(msg, reader) {
64087
+ while (reader.nextField()) {
64088
+ if (reader.isEndGroup()) {
64089
+ break;
64090
+ }
64091
+ var field = reader.getFieldNumber();
64092
+ switch (field) {
64093
+ case 1:
64094
+ var value = /** @type {number} */ (reader.readUint32());
64095
+ msg.setProtocolVersion(value);
64096
+ break;
64097
+ case 2:
64098
+ var value = /** @type {string} */ (reader.readString());
64099
+ msg.setNamespace(value);
64100
+ break;
64101
+ case 3:
64102
+ var value = /** @type {string} */ (reader.readString());
64103
+ msg.setRequestId(value);
64104
+ break;
64105
+ case 4:
64106
+ var value = /** @type {string} */ (reader.readString());
64107
+ msg.setCommandJson(value);
64108
+ break;
64109
+ case 5:
64110
+ var value = /** @type {string} */ (reader.readString());
64111
+ msg.setSourceJson(value);
64112
+ break;
64113
+ case 6:
64114
+ var value = /** @type {string} */ (reader.readString());
64115
+ msg.setCandidateJson(value);
64116
+ break;
64117
+ case 7:
64118
+ var value = /** @type {string} */ (reader.readString());
64119
+ msg.setRgEvidenceJson(value);
64120
+ break;
64121
+ case 8:
64122
+ var value = /** @type {string} */ (reader.readString());
64123
+ msg.setAttemptId(value);
64124
+ break;
64125
+ default:
64126
+ reader.skipField();
64127
+ break;
64128
+ }
64129
+ }
64130
+ return msg;
64131
+ };
64132
+
64133
+
64134
+ /**
64135
+ * Serializes the message to binary data (in protobuf wire format).
64136
+ * @return {!Uint8Array}
64137
+ */
64138
+ proto.payment.SettleGameplayRequest.prototype.serializeBinary = function() {
64139
+ var writer = new jspb.BinaryWriter();
64140
+ proto.payment.SettleGameplayRequest.serializeBinaryToWriter(this, writer);
64141
+ return writer.getResultBuffer();
64142
+ };
64143
+
64144
+
64145
+ /**
64146
+ * Serializes the given message to binary data (in protobuf wire
64147
+ * format), writing to the given BinaryWriter.
64148
+ * @param {!proto.payment.SettleGameplayRequest} message
64149
+ * @param {!jspb.BinaryWriter} writer
64150
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64151
+ */
64152
+ proto.payment.SettleGameplayRequest.serializeBinaryToWriter = function(message, writer) {
64153
+ var f = undefined;
64154
+ f = message.getProtocolVersion();
64155
+ if (f !== 0) {
64156
+ writer.writeUint32(
64157
+ 1,
64158
+ f
64159
+ );
64160
+ }
64161
+ f = message.getNamespace();
64162
+ if (f.length > 0) {
64163
+ writer.writeString(
64164
+ 2,
64165
+ f
64166
+ );
64167
+ }
64168
+ f = message.getRequestId();
64169
+ if (f.length > 0) {
64170
+ writer.writeString(
64171
+ 3,
64172
+ f
64173
+ );
64174
+ }
64175
+ f = message.getCommandJson();
64176
+ if (f.length > 0) {
64177
+ writer.writeString(
64178
+ 4,
64179
+ f
64180
+ );
64181
+ }
64182
+ f = message.getSourceJson();
64183
+ if (f.length > 0) {
64184
+ writer.writeString(
64185
+ 5,
64186
+ f
64187
+ );
64188
+ }
64189
+ f = message.getCandidateJson();
64190
+ if (f.length > 0) {
64191
+ writer.writeString(
64192
+ 6,
64193
+ f
64194
+ );
64195
+ }
64196
+ f = message.getRgEvidenceJson();
64197
+ if (f.length > 0) {
64198
+ writer.writeString(
64199
+ 7,
64200
+ f
64201
+ );
64202
+ }
64203
+ f = message.getAttemptId();
64204
+ if (f.length > 0) {
64205
+ writer.writeString(
64206
+ 8,
64207
+ f
64208
+ );
64209
+ }
64210
+ };
64211
+
64212
+
64213
+ /**
64214
+ * optional uint32 protocol_version = 1;
64215
+ * @return {number}
64216
+ */
64217
+ proto.payment.SettleGameplayRequest.prototype.getProtocolVersion = function() {
64218
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
64219
+ };
64220
+
64221
+
64222
+ /**
64223
+ * @param {number} value
64224
+ * @return {!proto.payment.SettleGameplayRequest} returns this
64225
+ */
64226
+ proto.payment.SettleGameplayRequest.prototype.setProtocolVersion = function(value) {
64227
+ return jspb.Message.setProto3IntField(this, 1, value);
64228
+ };
64229
+
64230
+
64231
+ /**
64232
+ * optional string namespace = 2;
64233
+ * @return {string}
64234
+ */
64235
+ proto.payment.SettleGameplayRequest.prototype.getNamespace = function() {
64236
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
64237
+ };
64238
+
64239
+
64240
+ /**
64241
+ * @param {string} value
64242
+ * @return {!proto.payment.SettleGameplayRequest} returns this
64243
+ */
64244
+ proto.payment.SettleGameplayRequest.prototype.setNamespace = function(value) {
64245
+ return jspb.Message.setProto3StringField(this, 2, value);
64246
+ };
64247
+
64248
+
64249
+ /**
64250
+ * optional string request_id = 3;
64251
+ * @return {string}
64252
+ */
64253
+ proto.payment.SettleGameplayRequest.prototype.getRequestId = function() {
64254
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
64255
+ };
64256
+
64257
+
64258
+ /**
64259
+ * @param {string} value
64260
+ * @return {!proto.payment.SettleGameplayRequest} returns this
64261
+ */
64262
+ proto.payment.SettleGameplayRequest.prototype.setRequestId = function(value) {
64263
+ return jspb.Message.setProto3StringField(this, 3, value);
64264
+ };
64265
+
64266
+
64267
+ /**
64268
+ * optional string command_json = 4;
64269
+ * @return {string}
64270
+ */
64271
+ proto.payment.SettleGameplayRequest.prototype.getCommandJson = function() {
64272
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
64273
+ };
64274
+
64275
+
64276
+ /**
64277
+ * @param {string} value
64278
+ * @return {!proto.payment.SettleGameplayRequest} returns this
64279
+ */
64280
+ proto.payment.SettleGameplayRequest.prototype.setCommandJson = function(value) {
64281
+ return jspb.Message.setProto3StringField(this, 4, value);
64282
+ };
64283
+
64284
+
64285
+ /**
64286
+ * optional string source_json = 5;
64287
+ * @return {string}
64288
+ */
64289
+ proto.payment.SettleGameplayRequest.prototype.getSourceJson = function() {
64290
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
64291
+ };
64292
+
64293
+
64294
+ /**
64295
+ * @param {string} value
64296
+ * @return {!proto.payment.SettleGameplayRequest} returns this
64297
+ */
64298
+ proto.payment.SettleGameplayRequest.prototype.setSourceJson = function(value) {
64299
+ return jspb.Message.setProto3StringField(this, 5, value);
64300
+ };
64301
+
64302
+
64303
+ /**
64304
+ * optional string candidate_json = 6;
64305
+ * @return {string}
64306
+ */
64307
+ proto.payment.SettleGameplayRequest.prototype.getCandidateJson = function() {
64308
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
64309
+ };
64310
+
64311
+
64312
+ /**
64313
+ * @param {string} value
64314
+ * @return {!proto.payment.SettleGameplayRequest} returns this
64315
+ */
64316
+ proto.payment.SettleGameplayRequest.prototype.setCandidateJson = function(value) {
64317
+ return jspb.Message.setProto3StringField(this, 6, value);
64318
+ };
64319
+
64320
+
64321
+ /**
64322
+ * optional string rg_evidence_json = 7;
64323
+ * @return {string}
64324
+ */
64325
+ proto.payment.SettleGameplayRequest.prototype.getRgEvidenceJson = function() {
64326
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
64327
+ };
64328
+
64329
+
64330
+ /**
64331
+ * @param {string} value
64332
+ * @return {!proto.payment.SettleGameplayRequest} returns this
64333
+ */
64334
+ proto.payment.SettleGameplayRequest.prototype.setRgEvidenceJson = function(value) {
64335
+ return jspb.Message.setProto3StringField(this, 7, value);
64336
+ };
64337
+
64338
+
64339
+ /**
64340
+ * optional string attempt_id = 8;
64341
+ * @return {string}
64342
+ */
64343
+ proto.payment.SettleGameplayRequest.prototype.getAttemptId = function() {
64344
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
64345
+ };
64346
+
64347
+
64348
+ /**
64349
+ * @param {string} value
64350
+ * @return {!proto.payment.SettleGameplayRequest} returns this
64351
+ */
64352
+ proto.payment.SettleGameplayRequest.prototype.setAttemptId = function(value) {
64353
+ return jspb.Message.setProto3StringField(this, 8, value);
64354
+ };
64355
+
64356
+
64357
+
64358
+
64359
+
64360
+ if (jspb.Message.GENERATE_TO_OBJECT) {
64361
+ /**
64362
+ * Creates an object representation of this proto.
64363
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
64364
+ * Optional fields that are not set will be set to undefined.
64365
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64366
+ * For the list of reserved names please see:
64367
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64368
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64369
+ * JSPB instance for transitional soy proto support:
64370
+ * http://goto/soy-param-migration
64371
+ * @return {!Object}
64372
+ */
64373
+ proto.payment.SettleGameplayResponse.prototype.toObject = function(opt_includeInstance) {
64374
+ return proto.payment.SettleGameplayResponse.toObject(opt_includeInstance, this);
64375
+ };
64376
+
64377
+
64378
+ /**
64379
+ * Static version of the {@see toObject} method.
64380
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64381
+ * the JSPB instance for transitional soy proto support:
64382
+ * http://goto/soy-param-migration
64383
+ * @param {!proto.payment.SettleGameplayResponse} msg The msg instance to transform.
64384
+ * @return {!Object}
64385
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64386
+ */
64387
+ proto.payment.SettleGameplayResponse.toObject = function(includeInstance, msg) {
64388
+ var f, obj = {
64389
+ protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
64390
+ decisionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
64391
+ replay: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
64392
+ outcomeJson: jspb.Message.getFieldWithDefault(msg, 4, "")
64393
+ };
64394
+
64395
+ if (includeInstance) {
64396
+ obj.$jspbMessageInstance = msg;
64397
+ }
64398
+ return obj;
64399
+ };
64400
+ }
64401
+
64402
+
64403
+ /**
64404
+ * Deserializes binary data (in protobuf wire format).
64405
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
64406
+ * @return {!proto.payment.SettleGameplayResponse}
64407
+ */
64408
+ proto.payment.SettleGameplayResponse.deserializeBinary = function(bytes) {
64409
+ var reader = new jspb.BinaryReader(bytes);
64410
+ var msg = new proto.payment.SettleGameplayResponse;
64411
+ return proto.payment.SettleGameplayResponse.deserializeBinaryFromReader(msg, reader);
64412
+ };
64413
+
64414
+
64415
+ /**
64416
+ * Deserializes binary data (in protobuf wire format) from the
64417
+ * given reader into the given message object.
64418
+ * @param {!proto.payment.SettleGameplayResponse} msg The message object to deserialize into.
64419
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64420
+ * @return {!proto.payment.SettleGameplayResponse}
64421
+ */
64422
+ proto.payment.SettleGameplayResponse.deserializeBinaryFromReader = function(msg, reader) {
64423
+ while (reader.nextField()) {
64424
+ if (reader.isEndGroup()) {
64425
+ break;
64426
+ }
64427
+ var field = reader.getFieldNumber();
64428
+ switch (field) {
64429
+ case 1:
64430
+ var value = /** @type {number} */ (reader.readUint32());
64431
+ msg.setProtocolVersion(value);
64432
+ break;
64433
+ case 2:
64434
+ var value = /** @type {string} */ (reader.readString());
64435
+ msg.setDecisionId(value);
64436
+ break;
64437
+ case 3:
64438
+ var value = /** @type {boolean} */ (reader.readBool());
64439
+ msg.setReplay(value);
64440
+ break;
64441
+ case 4:
64442
+ var value = /** @type {string} */ (reader.readString());
64443
+ msg.setOutcomeJson(value);
64444
+ break;
64445
+ default:
64446
+ reader.skipField();
64447
+ break;
64448
+ }
64449
+ }
64450
+ return msg;
64451
+ };
64452
+
64453
+
64454
+ /**
64455
+ * Serializes the message to binary data (in protobuf wire format).
64456
+ * @return {!Uint8Array}
64457
+ */
64458
+ proto.payment.SettleGameplayResponse.prototype.serializeBinary = function() {
64459
+ var writer = new jspb.BinaryWriter();
64460
+ proto.payment.SettleGameplayResponse.serializeBinaryToWriter(this, writer);
64461
+ return writer.getResultBuffer();
64462
+ };
64463
+
64464
+
64465
+ /**
64466
+ * Serializes the given message to binary data (in protobuf wire
64467
+ * format), writing to the given BinaryWriter.
64468
+ * @param {!proto.payment.SettleGameplayResponse} message
64469
+ * @param {!jspb.BinaryWriter} writer
64470
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64471
+ */
64472
+ proto.payment.SettleGameplayResponse.serializeBinaryToWriter = function(message, writer) {
64473
+ var f = undefined;
64474
+ f = message.getProtocolVersion();
64475
+ if (f !== 0) {
64476
+ writer.writeUint32(
64477
+ 1,
64478
+ f
64479
+ );
64480
+ }
64481
+ f = message.getDecisionId();
64482
+ if (f.length > 0) {
64483
+ writer.writeString(
64484
+ 2,
64485
+ f
64486
+ );
64487
+ }
64488
+ f = message.getReplay();
64489
+ if (f) {
64490
+ writer.writeBool(
64491
+ 3,
64492
+ f
64493
+ );
64494
+ }
64495
+ f = message.getOutcomeJson();
64496
+ if (f.length > 0) {
64497
+ writer.writeString(
64498
+ 4,
64499
+ f
64500
+ );
64501
+ }
64502
+ };
64503
+
64504
+
64505
+ /**
64506
+ * optional uint32 protocol_version = 1;
64507
+ * @return {number}
64508
+ */
64509
+ proto.payment.SettleGameplayResponse.prototype.getProtocolVersion = function() {
64510
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
64511
+ };
64512
+
64513
+
64514
+ /**
64515
+ * @param {number} value
64516
+ * @return {!proto.payment.SettleGameplayResponse} returns this
64517
+ */
64518
+ proto.payment.SettleGameplayResponse.prototype.setProtocolVersion = function(value) {
64519
+ return jspb.Message.setProto3IntField(this, 1, value);
64520
+ };
64521
+
64522
+
64523
+ /**
64524
+ * optional string decision_id = 2;
64525
+ * @return {string}
64526
+ */
64527
+ proto.payment.SettleGameplayResponse.prototype.getDecisionId = function() {
64528
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
64529
+ };
64530
+
64531
+
64532
+ /**
64533
+ * @param {string} value
64534
+ * @return {!proto.payment.SettleGameplayResponse} returns this
64535
+ */
64536
+ proto.payment.SettleGameplayResponse.prototype.setDecisionId = function(value) {
64537
+ return jspb.Message.setProto3StringField(this, 2, value);
64538
+ };
64539
+
64540
+
64541
+ /**
64542
+ * optional bool replay = 3;
64543
+ * @return {boolean}
64544
+ */
64545
+ proto.payment.SettleGameplayResponse.prototype.getReplay = function() {
64546
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
64547
+ };
64548
+
64549
+
64550
+ /**
64551
+ * @param {boolean} value
64552
+ * @return {!proto.payment.SettleGameplayResponse} returns this
64553
+ */
64554
+ proto.payment.SettleGameplayResponse.prototype.setReplay = function(value) {
64555
+ return jspb.Message.setProto3BooleanField(this, 3, value);
64556
+ };
64557
+
64558
+
64559
+ /**
64560
+ * optional string outcome_json = 4;
64561
+ * @return {string}
64562
+ */
64563
+ proto.payment.SettleGameplayResponse.prototype.getOutcomeJson = function() {
64564
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
64565
+ };
64566
+
64567
+
64568
+ /**
64569
+ * @param {string} value
64570
+ * @return {!proto.payment.SettleGameplayResponse} returns this
64571
+ */
64572
+ proto.payment.SettleGameplayResponse.prototype.setOutcomeJson = function(value) {
64573
+ return jspb.Message.setProto3StringField(this, 4, value);
64574
+ };
64575
+
64576
+
64577
+
64578
+
64579
+
64580
+ if (jspb.Message.GENERATE_TO_OBJECT) {
64581
+ /**
64582
+ * Creates an object representation of this proto.
64583
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
64584
+ * Optional fields that are not set will be set to undefined.
64585
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64586
+ * For the list of reserved names please see:
64587
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64588
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64589
+ * JSPB instance for transitional soy proto support:
64590
+ * http://goto/soy-param-migration
64591
+ * @return {!Object}
64592
+ */
64593
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.toObject = function(opt_includeInstance) {
64594
+ return proto.payment.ReadGameplaySettlementFactRequest.toObject(opt_includeInstance, this);
64595
+ };
64596
+
64597
+
64598
+ /**
64599
+ * Static version of the {@see toObject} method.
64600
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64601
+ * the JSPB instance for transitional soy proto support:
64602
+ * http://goto/soy-param-migration
64603
+ * @param {!proto.payment.ReadGameplaySettlementFactRequest} msg The msg instance to transform.
64604
+ * @return {!Object}
64605
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64606
+ */
64607
+ proto.payment.ReadGameplaySettlementFactRequest.toObject = function(includeInstance, msg) {
64608
+ var f, obj = {
64609
+ protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
64610
+ namespace: jspb.Message.getFieldWithDefault(msg, 2, ""),
64611
+ fact: jspb.Message.getFieldWithDefault(msg, 3, ""),
64612
+ commandJson: jspb.Message.getFieldWithDefault(msg, 4, ""),
64613
+ sourceJson: jspb.Message.getFieldWithDefault(msg, 5, ""),
64614
+ key: jspb.Message.getFieldWithDefault(msg, 6, ""),
64615
+ requestedDebitMinor: jspb.Message.getFieldWithDefault(msg, 7, ""),
64616
+ packetJson: jspb.Message.getFieldWithDefault(msg, 8, "")
64617
+ };
64618
+
64619
+ if (includeInstance) {
64620
+ obj.$jspbMessageInstance = msg;
64621
+ }
64622
+ return obj;
64623
+ };
64624
+ }
64625
+
64626
+
64627
+ /**
64628
+ * Deserializes binary data (in protobuf wire format).
64629
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
64630
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest}
64631
+ */
64632
+ proto.payment.ReadGameplaySettlementFactRequest.deserializeBinary = function(bytes) {
64633
+ var reader = new jspb.BinaryReader(bytes);
64634
+ var msg = new proto.payment.ReadGameplaySettlementFactRequest;
64635
+ return proto.payment.ReadGameplaySettlementFactRequest.deserializeBinaryFromReader(msg, reader);
64636
+ };
64637
+
64638
+
64639
+ /**
64640
+ * Deserializes binary data (in protobuf wire format) from the
64641
+ * given reader into the given message object.
64642
+ * @param {!proto.payment.ReadGameplaySettlementFactRequest} msg The message object to deserialize into.
64643
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64644
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest}
64645
+ */
64646
+ proto.payment.ReadGameplaySettlementFactRequest.deserializeBinaryFromReader = function(msg, reader) {
64647
+ while (reader.nextField()) {
64648
+ if (reader.isEndGroup()) {
64649
+ break;
64650
+ }
64651
+ var field = reader.getFieldNumber();
64652
+ switch (field) {
64653
+ case 1:
64654
+ var value = /** @type {number} */ (reader.readUint32());
64655
+ msg.setProtocolVersion(value);
64656
+ break;
64657
+ case 2:
64658
+ var value = /** @type {string} */ (reader.readString());
64659
+ msg.setNamespace(value);
64660
+ break;
64661
+ case 3:
64662
+ var value = /** @type {string} */ (reader.readString());
64663
+ msg.setFact(value);
64664
+ break;
64665
+ case 4:
64666
+ var value = /** @type {string} */ (reader.readString());
64667
+ msg.setCommandJson(value);
64668
+ break;
64669
+ case 5:
64670
+ var value = /** @type {string} */ (reader.readString());
64671
+ msg.setSourceJson(value);
64672
+ break;
64673
+ case 6:
64674
+ var value = /** @type {string} */ (reader.readString());
64675
+ msg.setKey(value);
64676
+ break;
64677
+ case 7:
64678
+ var value = /** @type {string} */ (reader.readString());
64679
+ msg.setRequestedDebitMinor(value);
64680
+ break;
64681
+ case 8:
64682
+ var value = /** @type {string} */ (reader.readString());
64683
+ msg.setPacketJson(value);
64684
+ break;
64685
+ default:
64686
+ reader.skipField();
64687
+ break;
64688
+ }
64689
+ }
64690
+ return msg;
64691
+ };
64692
+
64693
+
64694
+ /**
64695
+ * Serializes the message to binary data (in protobuf wire format).
64696
+ * @return {!Uint8Array}
64697
+ */
64698
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.serializeBinary = function() {
64699
+ var writer = new jspb.BinaryWriter();
64700
+ proto.payment.ReadGameplaySettlementFactRequest.serializeBinaryToWriter(this, writer);
64701
+ return writer.getResultBuffer();
64702
+ };
64703
+
64704
+
64705
+ /**
64706
+ * Serializes the given message to binary data (in protobuf wire
64707
+ * format), writing to the given BinaryWriter.
64708
+ * @param {!proto.payment.ReadGameplaySettlementFactRequest} message
64709
+ * @param {!jspb.BinaryWriter} writer
64710
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64711
+ */
64712
+ proto.payment.ReadGameplaySettlementFactRequest.serializeBinaryToWriter = function(message, writer) {
64713
+ var f = undefined;
64714
+ f = message.getProtocolVersion();
64715
+ if (f !== 0) {
64716
+ writer.writeUint32(
64717
+ 1,
64718
+ f
64719
+ );
64720
+ }
64721
+ f = message.getNamespace();
64722
+ if (f.length > 0) {
64723
+ writer.writeString(
64724
+ 2,
64725
+ f
64726
+ );
64727
+ }
64728
+ f = message.getFact();
64729
+ if (f.length > 0) {
64730
+ writer.writeString(
64731
+ 3,
64732
+ f
64733
+ );
64734
+ }
64735
+ f = message.getCommandJson();
64736
+ if (f.length > 0) {
64737
+ writer.writeString(
64738
+ 4,
64739
+ f
64740
+ );
64741
+ }
64742
+ f = message.getSourceJson();
64743
+ if (f.length > 0) {
64744
+ writer.writeString(
64745
+ 5,
64746
+ f
64747
+ );
64748
+ }
64749
+ f = message.getKey();
64750
+ if (f.length > 0) {
64751
+ writer.writeString(
64752
+ 6,
64753
+ f
64754
+ );
64755
+ }
64756
+ f = message.getRequestedDebitMinor();
64757
+ if (f.length > 0) {
64758
+ writer.writeString(
64759
+ 7,
64760
+ f
64761
+ );
64762
+ }
64763
+ f = message.getPacketJson();
64764
+ if (f.length > 0) {
64765
+ writer.writeString(
64766
+ 8,
64767
+ f
64768
+ );
64769
+ }
64770
+ };
64771
+
64772
+
64773
+ /**
64774
+ * optional uint32 protocol_version = 1;
64775
+ * @return {number}
64776
+ */
64777
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.getProtocolVersion = function() {
64778
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
64779
+ };
64780
+
64781
+
64782
+ /**
64783
+ * @param {number} value
64784
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
64785
+ */
64786
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.setProtocolVersion = function(value) {
64787
+ return jspb.Message.setProto3IntField(this, 1, value);
64788
+ };
64789
+
64790
+
64791
+ /**
64792
+ * optional string namespace = 2;
64793
+ * @return {string}
64794
+ */
64795
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.getNamespace = function() {
64796
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
64797
+ };
64798
+
64799
+
64800
+ /**
64801
+ * @param {string} value
64802
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
64803
+ */
64804
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.setNamespace = function(value) {
64805
+ return jspb.Message.setProto3StringField(this, 2, value);
64806
+ };
64807
+
64808
+
64809
+ /**
64810
+ * optional string fact = 3;
64811
+ * @return {string}
64812
+ */
64813
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.getFact = function() {
64814
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
64815
+ };
64816
+
64817
+
64818
+ /**
64819
+ * @param {string} value
64820
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
64821
+ */
64822
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.setFact = function(value) {
64823
+ return jspb.Message.setProto3StringField(this, 3, value);
64824
+ };
64825
+
64826
+
64827
+ /**
64828
+ * optional string command_json = 4;
64829
+ * @return {string}
64830
+ */
64831
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.getCommandJson = function() {
64832
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
64833
+ };
64834
+
64835
+
64836
+ /**
64837
+ * @param {string} value
64838
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
64839
+ */
64840
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.setCommandJson = function(value) {
64841
+ return jspb.Message.setProto3StringField(this, 4, value);
64842
+ };
64843
+
64844
+
64845
+ /**
64846
+ * optional string source_json = 5;
64847
+ * @return {string}
64848
+ */
64849
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.getSourceJson = function() {
64850
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
64851
+ };
64852
+
64853
+
64854
+ /**
64855
+ * @param {string} value
64856
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
64857
+ */
64858
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.setSourceJson = function(value) {
64859
+ return jspb.Message.setProto3StringField(this, 5, value);
64860
+ };
64861
+
64862
+
64863
+ /**
64864
+ * optional string key = 6;
64865
+ * @return {string}
64866
+ */
64867
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.getKey = function() {
64868
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
64869
+ };
64870
+
64871
+
64872
+ /**
64873
+ * @param {string} value
64874
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
64875
+ */
64876
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.setKey = function(value) {
64877
+ return jspb.Message.setProto3StringField(this, 6, value);
64878
+ };
64879
+
64880
+
64881
+ /**
64882
+ * optional string requested_debit_minor = 7;
64883
+ * @return {string}
64884
+ */
64885
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.getRequestedDebitMinor = function() {
64886
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
64887
+ };
64888
+
64889
+
64890
+ /**
64891
+ * @param {string} value
64892
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
64893
+ */
64894
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.setRequestedDebitMinor = function(value) {
64895
+ return jspb.Message.setProto3StringField(this, 7, value);
64896
+ };
64897
+
64898
+
64899
+ /**
64900
+ * optional string packet_json = 8;
64901
+ * @return {string}
64902
+ */
64903
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.getPacketJson = function() {
64904
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
64905
+ };
64906
+
64907
+
64908
+ /**
64909
+ * @param {string} value
64910
+ * @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
64911
+ */
64912
+ proto.payment.ReadGameplaySettlementFactRequest.prototype.setPacketJson = function(value) {
64913
+ return jspb.Message.setProto3StringField(this, 8, value);
64914
+ };
64915
+
64916
+
64917
+
64918
+
64919
+
64920
+ if (jspb.Message.GENERATE_TO_OBJECT) {
64921
+ /**
64922
+ * Creates an object representation of this proto.
64923
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
64924
+ * Optional fields that are not set will be set to undefined.
64925
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64926
+ * For the list of reserved names please see:
64927
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64928
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64929
+ * JSPB instance for transitional soy proto support:
64930
+ * http://goto/soy-param-migration
64931
+ * @return {!Object}
64932
+ */
64933
+ proto.payment.ReadGameplaySettlementFactResponse.prototype.toObject = function(opt_includeInstance) {
64934
+ return proto.payment.ReadGameplaySettlementFactResponse.toObject(opt_includeInstance, this);
64935
+ };
64936
+
64937
+
64938
+ /**
64939
+ * Static version of the {@see toObject} method.
64940
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64941
+ * the JSPB instance for transitional soy proto support:
64942
+ * http://goto/soy-param-migration
64943
+ * @param {!proto.payment.ReadGameplaySettlementFactResponse} msg The msg instance to transform.
64944
+ * @return {!Object}
64945
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64946
+ */
64947
+ proto.payment.ReadGameplaySettlementFactResponse.toObject = function(includeInstance, msg) {
64948
+ var f, obj = {
64949
+ resultJson: jspb.Message.getFieldWithDefault(msg, 1, "")
64950
+ };
64951
+
64952
+ if (includeInstance) {
64953
+ obj.$jspbMessageInstance = msg;
64954
+ }
64955
+ return obj;
64956
+ };
64957
+ }
64958
+
64959
+
64960
+ /**
64961
+ * Deserializes binary data (in protobuf wire format).
64962
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
64963
+ * @return {!proto.payment.ReadGameplaySettlementFactResponse}
64964
+ */
64965
+ proto.payment.ReadGameplaySettlementFactResponse.deserializeBinary = function(bytes) {
64966
+ var reader = new jspb.BinaryReader(bytes);
64967
+ var msg = new proto.payment.ReadGameplaySettlementFactResponse;
64968
+ return proto.payment.ReadGameplaySettlementFactResponse.deserializeBinaryFromReader(msg, reader);
64969
+ };
64970
+
64971
+
64972
+ /**
64973
+ * Deserializes binary data (in protobuf wire format) from the
64974
+ * given reader into the given message object.
64975
+ * @param {!proto.payment.ReadGameplaySettlementFactResponse} msg The message object to deserialize into.
64976
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64977
+ * @return {!proto.payment.ReadGameplaySettlementFactResponse}
64978
+ */
64979
+ proto.payment.ReadGameplaySettlementFactResponse.deserializeBinaryFromReader = function(msg, reader) {
64980
+ while (reader.nextField()) {
64981
+ if (reader.isEndGroup()) {
64982
+ break;
64983
+ }
64984
+ var field = reader.getFieldNumber();
64985
+ switch (field) {
64986
+ case 1:
64987
+ var value = /** @type {string} */ (reader.readString());
64988
+ msg.setResultJson(value);
64989
+ break;
64990
+ default:
64991
+ reader.skipField();
64992
+ break;
64993
+ }
64994
+ }
64995
+ return msg;
64996
+ };
64997
+
64998
+
64999
+ /**
65000
+ * Serializes the message to binary data (in protobuf wire format).
65001
+ * @return {!Uint8Array}
65002
+ */
65003
+ proto.payment.ReadGameplaySettlementFactResponse.prototype.serializeBinary = function() {
65004
+ var writer = new jspb.BinaryWriter();
65005
+ proto.payment.ReadGameplaySettlementFactResponse.serializeBinaryToWriter(this, writer);
65006
+ return writer.getResultBuffer();
65007
+ };
65008
+
65009
+
65010
+ /**
65011
+ * Serializes the given message to binary data (in protobuf wire
65012
+ * format), writing to the given BinaryWriter.
65013
+ * @param {!proto.payment.ReadGameplaySettlementFactResponse} message
65014
+ * @param {!jspb.BinaryWriter} writer
65015
+ * @suppress {unusedLocalVariables} f is only used for nested messages
65016
+ */
65017
+ proto.payment.ReadGameplaySettlementFactResponse.serializeBinaryToWriter = function(message, writer) {
65018
+ var f = undefined;
65019
+ f = message.getResultJson();
65020
+ if (f.length > 0) {
65021
+ writer.writeString(
65022
+ 1,
65023
+ f
65024
+ );
65025
+ }
65026
+ };
65027
+
65028
+
65029
+ /**
65030
+ * optional string result_json = 1;
65031
+ * @return {string}
65032
+ */
65033
+ proto.payment.ReadGameplaySettlementFactResponse.prototype.getResultJson = function() {
65034
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
65035
+ };
65036
+
65037
+
65038
+ /**
65039
+ * @param {string} value
65040
+ * @return {!proto.payment.ReadGameplaySettlementFactResponse} returns this
65041
+ */
65042
+ proto.payment.ReadGameplaySettlementFactResponse.prototype.setResultJson = function(value) {
65043
+ return jspb.Message.setProto3StringField(this, 1, value);
65044
+ };
65045
+
65046
+
65047
+
63882
65048
  /**
63883
65049
  * List of repeated fields within this message type.
63884
65050
  * @private {!Array<number>}