protobuf-platform 1.2.747 → 1.2.749
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/bonus/bonus.proto +18 -0
- package/bonus/bonus_grpc_pb.js +34 -0
- package/bonus/bonus_pb.js +570 -0
- package/package.json +1 -1
- package/payment/payment.proto +22 -0
- package/payment/payment_grpc_pb.js +34 -0
- package/payment/payment_pb.js +668 -2
- package/scripts/verify-delivery-readiness-contract.js +25 -0
package/payment/payment_pb.js
CHANGED
|
@@ -88,6 +88,8 @@ goog.exportSymbol('proto.payment.FenceGameplayProviderTransactionsResponse', nul
|
|
|
88
88
|
goog.exportSymbol('proto.payment.File', null, global);
|
|
89
89
|
goog.exportSymbol('proto.payment.FinancialAdmissionWalletContext', null, global);
|
|
90
90
|
goog.exportSymbol('proto.payment.FinancialOperationResponse', null, global);
|
|
91
|
+
goog.exportSymbol('proto.payment.GameplayDeliveryReadinessRequest', null, global);
|
|
92
|
+
goog.exportSymbol('proto.payment.GameplayDeliveryReadinessResult', null, global);
|
|
91
93
|
goog.exportSymbol('proto.payment.GameplayPrecisionAccountingLeg', null, global);
|
|
92
94
|
goog.exportSymbol('proto.payment.GameplayPrecisionLeg', null, global);
|
|
93
95
|
goog.exportSymbol('proto.payment.GameplayPrecisionPreparation', null, global);
|
|
@@ -4097,6 +4099,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4097
4099
|
*/
|
|
4098
4100
|
proto.payment.DepositWagerContributionSnapshotResponse.displayName = 'proto.payment.DepositWagerContributionSnapshotResponse';
|
|
4099
4101
|
}
|
|
4102
|
+
/**
|
|
4103
|
+
* Generated by JsPbCodeGenerator.
|
|
4104
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4105
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4106
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4107
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4108
|
+
* valid.
|
|
4109
|
+
* @extends {jspb.Message}
|
|
4110
|
+
* @constructor
|
|
4111
|
+
*/
|
|
4112
|
+
proto.payment.GameplayDeliveryReadinessRequest = function(opt_data) {
|
|
4113
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4114
|
+
};
|
|
4115
|
+
goog.inherits(proto.payment.GameplayDeliveryReadinessRequest, jspb.Message);
|
|
4116
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4117
|
+
/**
|
|
4118
|
+
* @public
|
|
4119
|
+
* @override
|
|
4120
|
+
*/
|
|
4121
|
+
proto.payment.GameplayDeliveryReadinessRequest.displayName = 'proto.payment.GameplayDeliveryReadinessRequest';
|
|
4122
|
+
}
|
|
4123
|
+
/**
|
|
4124
|
+
* Generated by JsPbCodeGenerator.
|
|
4125
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4126
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4127
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4128
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4129
|
+
* valid.
|
|
4130
|
+
* @extends {jspb.Message}
|
|
4131
|
+
* @constructor
|
|
4132
|
+
*/
|
|
4133
|
+
proto.payment.GameplayDeliveryReadinessResult = function(opt_data) {
|
|
4134
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GameplayDeliveryReadinessResult.repeatedFields_, null);
|
|
4135
|
+
};
|
|
4136
|
+
goog.inherits(proto.payment.GameplayDeliveryReadinessResult, jspb.Message);
|
|
4137
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4138
|
+
/**
|
|
4139
|
+
* @public
|
|
4140
|
+
* @override
|
|
4141
|
+
*/
|
|
4142
|
+
proto.payment.GameplayDeliveryReadinessResult.displayName = 'proto.payment.GameplayDeliveryReadinessResult';
|
|
4143
|
+
}
|
|
4100
4144
|
|
|
4101
4145
|
|
|
4102
4146
|
|
|
@@ -60217,7 +60261,8 @@ proto.payment.ConfiscationRequest.toObject = function(includeInstance, msg) {
|
|
|
60217
60261
|
transactionCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
60218
60262
|
internalComment: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
60219
60263
|
amount: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
60220
|
-
confiscationType: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
60264
|
+
confiscationType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
60265
|
+
balanceSource: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
60221
60266
|
};
|
|
60222
60267
|
|
|
60223
60268
|
if (includeInstance) {
|
|
@@ -60290,6 +60335,10 @@ proto.payment.ConfiscationRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
60290
60335
|
var value = /** @type {string} */ (reader.readString());
|
|
60291
60336
|
msg.setConfiscationType(value);
|
|
60292
60337
|
break;
|
|
60338
|
+
case 10:
|
|
60339
|
+
var value = /** @type {string} */ (reader.readString());
|
|
60340
|
+
msg.setBalanceSource(value);
|
|
60341
|
+
break;
|
|
60293
60342
|
default:
|
|
60294
60343
|
reader.skipField();
|
|
60295
60344
|
break;
|
|
@@ -60382,6 +60431,13 @@ proto.payment.ConfiscationRequest.serializeBinaryToWriter = function(message, wr
|
|
|
60382
60431
|
f
|
|
60383
60432
|
);
|
|
60384
60433
|
}
|
|
60434
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
60435
|
+
if (f != null) {
|
|
60436
|
+
writer.writeString(
|
|
60437
|
+
10,
|
|
60438
|
+
f
|
|
60439
|
+
);
|
|
60440
|
+
}
|
|
60385
60441
|
};
|
|
60386
60442
|
|
|
60387
60443
|
|
|
@@ -60547,6 +60603,42 @@ proto.payment.ConfiscationRequest.prototype.setConfiscationType = function(value
|
|
|
60547
60603
|
};
|
|
60548
60604
|
|
|
60549
60605
|
|
|
60606
|
+
/**
|
|
60607
|
+
* optional string balance_source = 10;
|
|
60608
|
+
* @return {string}
|
|
60609
|
+
*/
|
|
60610
|
+
proto.payment.ConfiscationRequest.prototype.getBalanceSource = function() {
|
|
60611
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
60612
|
+
};
|
|
60613
|
+
|
|
60614
|
+
|
|
60615
|
+
/**
|
|
60616
|
+
* @param {string} value
|
|
60617
|
+
* @return {!proto.payment.ConfiscationRequest} returns this
|
|
60618
|
+
*/
|
|
60619
|
+
proto.payment.ConfiscationRequest.prototype.setBalanceSource = function(value) {
|
|
60620
|
+
return jspb.Message.setField(this, 10, value);
|
|
60621
|
+
};
|
|
60622
|
+
|
|
60623
|
+
|
|
60624
|
+
/**
|
|
60625
|
+
* Clears the field making it undefined.
|
|
60626
|
+
* @return {!proto.payment.ConfiscationRequest} returns this
|
|
60627
|
+
*/
|
|
60628
|
+
proto.payment.ConfiscationRequest.prototype.clearBalanceSource = function() {
|
|
60629
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
60630
|
+
};
|
|
60631
|
+
|
|
60632
|
+
|
|
60633
|
+
/**
|
|
60634
|
+
* Returns whether this field is set.
|
|
60635
|
+
* @return {boolean}
|
|
60636
|
+
*/
|
|
60637
|
+
proto.payment.ConfiscationRequest.prototype.hasBalanceSource = function() {
|
|
60638
|
+
return jspb.Message.getField(this, 10) != null;
|
|
60639
|
+
};
|
|
60640
|
+
|
|
60641
|
+
|
|
60550
60642
|
|
|
60551
60643
|
/**
|
|
60552
60644
|
* List of repeated fields within this message type.
|
|
@@ -61287,7 +61379,8 @@ proto.payment.ConfiscationItem.toObject = function(includeInstance, msg) {
|
|
|
61287
61379
|
playerNickname: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
61288
61380
|
playerEmail: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
61289
61381
|
operatorName: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
61290
|
-
operatorEmail: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
61382
|
+
operatorEmail: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
61383
|
+
balanceSource: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
61291
61384
|
};
|
|
61292
61385
|
|
|
61293
61386
|
if (includeInstance) {
|
|
@@ -61392,6 +61485,10 @@ proto.payment.ConfiscationItem.deserializeBinaryFromReader = function(msg, reade
|
|
|
61392
61485
|
var value = /** @type {string} */ (reader.readString());
|
|
61393
61486
|
msg.setOperatorEmail(value);
|
|
61394
61487
|
break;
|
|
61488
|
+
case 18:
|
|
61489
|
+
var value = /** @type {string} */ (reader.readString());
|
|
61490
|
+
msg.setBalanceSource(value);
|
|
61491
|
+
break;
|
|
61395
61492
|
default:
|
|
61396
61493
|
reader.skipField();
|
|
61397
61494
|
break;
|
|
@@ -61540,6 +61637,13 @@ proto.payment.ConfiscationItem.serializeBinaryToWriter = function(message, write
|
|
|
61540
61637
|
f
|
|
61541
61638
|
);
|
|
61542
61639
|
}
|
|
61640
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
61641
|
+
if (f != null) {
|
|
61642
|
+
writer.writeString(
|
|
61643
|
+
18,
|
|
61644
|
+
f
|
|
61645
|
+
);
|
|
61646
|
+
}
|
|
61543
61647
|
};
|
|
61544
61648
|
|
|
61545
61649
|
|
|
@@ -61939,6 +62043,42 @@ proto.payment.ConfiscationItem.prototype.hasOperatorEmail = function() {
|
|
|
61939
62043
|
};
|
|
61940
62044
|
|
|
61941
62045
|
|
|
62046
|
+
/**
|
|
62047
|
+
* optional string balance_source = 18;
|
|
62048
|
+
* @return {string}
|
|
62049
|
+
*/
|
|
62050
|
+
proto.payment.ConfiscationItem.prototype.getBalanceSource = function() {
|
|
62051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
62052
|
+
};
|
|
62053
|
+
|
|
62054
|
+
|
|
62055
|
+
/**
|
|
62056
|
+
* @param {string} value
|
|
62057
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
62058
|
+
*/
|
|
62059
|
+
proto.payment.ConfiscationItem.prototype.setBalanceSource = function(value) {
|
|
62060
|
+
return jspb.Message.setField(this, 18, value);
|
|
62061
|
+
};
|
|
62062
|
+
|
|
62063
|
+
|
|
62064
|
+
/**
|
|
62065
|
+
* Clears the field making it undefined.
|
|
62066
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
62067
|
+
*/
|
|
62068
|
+
proto.payment.ConfiscationItem.prototype.clearBalanceSource = function() {
|
|
62069
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
62070
|
+
};
|
|
62071
|
+
|
|
62072
|
+
|
|
62073
|
+
/**
|
|
62074
|
+
* Returns whether this field is set.
|
|
62075
|
+
* @return {boolean}
|
|
62076
|
+
*/
|
|
62077
|
+
proto.payment.ConfiscationItem.prototype.hasBalanceSource = function() {
|
|
62078
|
+
return jspb.Message.getField(this, 18) != null;
|
|
62079
|
+
};
|
|
62080
|
+
|
|
62081
|
+
|
|
61942
62082
|
|
|
61943
62083
|
/**
|
|
61944
62084
|
* List of repeated fields within this message type.
|
|
@@ -77470,6 +77610,532 @@ proto.payment.DepositWagerContributionSnapshotResponse.prototype.clearEntriesLis
|
|
|
77470
77610
|
};
|
|
77471
77611
|
|
|
77472
77612
|
|
|
77613
|
+
|
|
77614
|
+
|
|
77615
|
+
|
|
77616
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77617
|
+
/**
|
|
77618
|
+
* Creates an object representation of this proto.
|
|
77619
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77620
|
+
* Optional fields that are not set will be set to undefined.
|
|
77621
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77622
|
+
* For the list of reserved names please see:
|
|
77623
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77624
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77625
|
+
* JSPB instance for transitional soy proto support:
|
|
77626
|
+
* http://goto/soy-param-migration
|
|
77627
|
+
* @return {!Object}
|
|
77628
|
+
*/
|
|
77629
|
+
proto.payment.GameplayDeliveryReadinessRequest.prototype.toObject = function(opt_includeInstance) {
|
|
77630
|
+
return proto.payment.GameplayDeliveryReadinessRequest.toObject(opt_includeInstance, this);
|
|
77631
|
+
};
|
|
77632
|
+
|
|
77633
|
+
|
|
77634
|
+
/**
|
|
77635
|
+
* Static version of the {@see toObject} method.
|
|
77636
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77637
|
+
* the JSPB instance for transitional soy proto support:
|
|
77638
|
+
* http://goto/soy-param-migration
|
|
77639
|
+
* @param {!proto.payment.GameplayDeliveryReadinessRequest} msg The msg instance to transform.
|
|
77640
|
+
* @return {!Object}
|
|
77641
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77642
|
+
*/
|
|
77643
|
+
proto.payment.GameplayDeliveryReadinessRequest.toObject = function(includeInstance, msg) {
|
|
77644
|
+
var f, obj = {
|
|
77645
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
77646
|
+
activationEpoch: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
77647
|
+
callerCohort: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
77648
|
+
};
|
|
77649
|
+
|
|
77650
|
+
if (includeInstance) {
|
|
77651
|
+
obj.$jspbMessageInstance = msg;
|
|
77652
|
+
}
|
|
77653
|
+
return obj;
|
|
77654
|
+
};
|
|
77655
|
+
}
|
|
77656
|
+
|
|
77657
|
+
|
|
77658
|
+
/**
|
|
77659
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77660
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77661
|
+
* @return {!proto.payment.GameplayDeliveryReadinessRequest}
|
|
77662
|
+
*/
|
|
77663
|
+
proto.payment.GameplayDeliveryReadinessRequest.deserializeBinary = function(bytes) {
|
|
77664
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77665
|
+
var msg = new proto.payment.GameplayDeliveryReadinessRequest;
|
|
77666
|
+
return proto.payment.GameplayDeliveryReadinessRequest.deserializeBinaryFromReader(msg, reader);
|
|
77667
|
+
};
|
|
77668
|
+
|
|
77669
|
+
|
|
77670
|
+
/**
|
|
77671
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77672
|
+
* given reader into the given message object.
|
|
77673
|
+
* @param {!proto.payment.GameplayDeliveryReadinessRequest} msg The message object to deserialize into.
|
|
77674
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77675
|
+
* @return {!proto.payment.GameplayDeliveryReadinessRequest}
|
|
77676
|
+
*/
|
|
77677
|
+
proto.payment.GameplayDeliveryReadinessRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
77678
|
+
while (reader.nextField()) {
|
|
77679
|
+
if (reader.isEndGroup()) {
|
|
77680
|
+
break;
|
|
77681
|
+
}
|
|
77682
|
+
var field = reader.getFieldNumber();
|
|
77683
|
+
switch (field) {
|
|
77684
|
+
case 1:
|
|
77685
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
77686
|
+
msg.setProtocolVersion(value);
|
|
77687
|
+
break;
|
|
77688
|
+
case 2:
|
|
77689
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77690
|
+
msg.setActivationEpoch(value);
|
|
77691
|
+
break;
|
|
77692
|
+
case 3:
|
|
77693
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77694
|
+
msg.setCallerCohort(value);
|
|
77695
|
+
break;
|
|
77696
|
+
default:
|
|
77697
|
+
reader.skipField();
|
|
77698
|
+
break;
|
|
77699
|
+
}
|
|
77700
|
+
}
|
|
77701
|
+
return msg;
|
|
77702
|
+
};
|
|
77703
|
+
|
|
77704
|
+
|
|
77705
|
+
/**
|
|
77706
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77707
|
+
* @return {!Uint8Array}
|
|
77708
|
+
*/
|
|
77709
|
+
proto.payment.GameplayDeliveryReadinessRequest.prototype.serializeBinary = function() {
|
|
77710
|
+
var writer = new jspb.BinaryWriter();
|
|
77711
|
+
proto.payment.GameplayDeliveryReadinessRequest.serializeBinaryToWriter(this, writer);
|
|
77712
|
+
return writer.getResultBuffer();
|
|
77713
|
+
};
|
|
77714
|
+
|
|
77715
|
+
|
|
77716
|
+
/**
|
|
77717
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77718
|
+
* format), writing to the given BinaryWriter.
|
|
77719
|
+
* @param {!proto.payment.GameplayDeliveryReadinessRequest} message
|
|
77720
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77721
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77722
|
+
*/
|
|
77723
|
+
proto.payment.GameplayDeliveryReadinessRequest.serializeBinaryToWriter = function(message, writer) {
|
|
77724
|
+
var f = undefined;
|
|
77725
|
+
f = message.getProtocolVersion();
|
|
77726
|
+
if (f !== 0) {
|
|
77727
|
+
writer.writeUint32(
|
|
77728
|
+
1,
|
|
77729
|
+
f
|
|
77730
|
+
);
|
|
77731
|
+
}
|
|
77732
|
+
f = message.getActivationEpoch();
|
|
77733
|
+
if (f.length > 0) {
|
|
77734
|
+
writer.writeString(
|
|
77735
|
+
2,
|
|
77736
|
+
f
|
|
77737
|
+
);
|
|
77738
|
+
}
|
|
77739
|
+
f = message.getCallerCohort();
|
|
77740
|
+
if (f.length > 0) {
|
|
77741
|
+
writer.writeString(
|
|
77742
|
+
3,
|
|
77743
|
+
f
|
|
77744
|
+
);
|
|
77745
|
+
}
|
|
77746
|
+
};
|
|
77747
|
+
|
|
77748
|
+
|
|
77749
|
+
/**
|
|
77750
|
+
* optional uint32 protocol_version = 1;
|
|
77751
|
+
* @return {number}
|
|
77752
|
+
*/
|
|
77753
|
+
proto.payment.GameplayDeliveryReadinessRequest.prototype.getProtocolVersion = function() {
|
|
77754
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
77755
|
+
};
|
|
77756
|
+
|
|
77757
|
+
|
|
77758
|
+
/**
|
|
77759
|
+
* @param {number} value
|
|
77760
|
+
* @return {!proto.payment.GameplayDeliveryReadinessRequest} returns this
|
|
77761
|
+
*/
|
|
77762
|
+
proto.payment.GameplayDeliveryReadinessRequest.prototype.setProtocolVersion = function(value) {
|
|
77763
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
77764
|
+
};
|
|
77765
|
+
|
|
77766
|
+
|
|
77767
|
+
/**
|
|
77768
|
+
* optional string activation_epoch = 2;
|
|
77769
|
+
* @return {string}
|
|
77770
|
+
*/
|
|
77771
|
+
proto.payment.GameplayDeliveryReadinessRequest.prototype.getActivationEpoch = function() {
|
|
77772
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
77773
|
+
};
|
|
77774
|
+
|
|
77775
|
+
|
|
77776
|
+
/**
|
|
77777
|
+
* @param {string} value
|
|
77778
|
+
* @return {!proto.payment.GameplayDeliveryReadinessRequest} returns this
|
|
77779
|
+
*/
|
|
77780
|
+
proto.payment.GameplayDeliveryReadinessRequest.prototype.setActivationEpoch = function(value) {
|
|
77781
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
77782
|
+
};
|
|
77783
|
+
|
|
77784
|
+
|
|
77785
|
+
/**
|
|
77786
|
+
* optional string caller_cohort = 3;
|
|
77787
|
+
* @return {string}
|
|
77788
|
+
*/
|
|
77789
|
+
proto.payment.GameplayDeliveryReadinessRequest.prototype.getCallerCohort = function() {
|
|
77790
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
77791
|
+
};
|
|
77792
|
+
|
|
77793
|
+
|
|
77794
|
+
/**
|
|
77795
|
+
* @param {string} value
|
|
77796
|
+
* @return {!proto.payment.GameplayDeliveryReadinessRequest} returns this
|
|
77797
|
+
*/
|
|
77798
|
+
proto.payment.GameplayDeliveryReadinessRequest.prototype.setCallerCohort = function(value) {
|
|
77799
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
77800
|
+
};
|
|
77801
|
+
|
|
77802
|
+
|
|
77803
|
+
|
|
77804
|
+
/**
|
|
77805
|
+
* List of repeated fields within this message type.
|
|
77806
|
+
* @private {!Array<number>}
|
|
77807
|
+
* @const
|
|
77808
|
+
*/
|
|
77809
|
+
proto.payment.GameplayDeliveryReadinessResult.repeatedFields_ = [7];
|
|
77810
|
+
|
|
77811
|
+
|
|
77812
|
+
|
|
77813
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77814
|
+
/**
|
|
77815
|
+
* Creates an object representation of this proto.
|
|
77816
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77817
|
+
* Optional fields that are not set will be set to undefined.
|
|
77818
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77819
|
+
* For the list of reserved names please see:
|
|
77820
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77821
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77822
|
+
* JSPB instance for transitional soy proto support:
|
|
77823
|
+
* http://goto/soy-param-migration
|
|
77824
|
+
* @return {!Object}
|
|
77825
|
+
*/
|
|
77826
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.toObject = function(opt_includeInstance) {
|
|
77827
|
+
return proto.payment.GameplayDeliveryReadinessResult.toObject(opt_includeInstance, this);
|
|
77828
|
+
};
|
|
77829
|
+
|
|
77830
|
+
|
|
77831
|
+
/**
|
|
77832
|
+
* Static version of the {@see toObject} method.
|
|
77833
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77834
|
+
* the JSPB instance for transitional soy proto support:
|
|
77835
|
+
* http://goto/soy-param-migration
|
|
77836
|
+
* @param {!proto.payment.GameplayDeliveryReadinessResult} msg The msg instance to transform.
|
|
77837
|
+
* @return {!Object}
|
|
77838
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77839
|
+
*/
|
|
77840
|
+
proto.payment.GameplayDeliveryReadinessResult.toObject = function(includeInstance, msg) {
|
|
77841
|
+
var f, obj = {
|
|
77842
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
77843
|
+
activationEpoch: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
77844
|
+
serviceCohort: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
77845
|
+
scopeHash: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
77846
|
+
durableEffectVersion: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
77847
|
+
ready: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
77848
|
+
blockedReasonsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
|
|
77849
|
+
};
|
|
77850
|
+
|
|
77851
|
+
if (includeInstance) {
|
|
77852
|
+
obj.$jspbMessageInstance = msg;
|
|
77853
|
+
}
|
|
77854
|
+
return obj;
|
|
77855
|
+
};
|
|
77856
|
+
}
|
|
77857
|
+
|
|
77858
|
+
|
|
77859
|
+
/**
|
|
77860
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77861
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77862
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult}
|
|
77863
|
+
*/
|
|
77864
|
+
proto.payment.GameplayDeliveryReadinessResult.deserializeBinary = function(bytes) {
|
|
77865
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77866
|
+
var msg = new proto.payment.GameplayDeliveryReadinessResult;
|
|
77867
|
+
return proto.payment.GameplayDeliveryReadinessResult.deserializeBinaryFromReader(msg, reader);
|
|
77868
|
+
};
|
|
77869
|
+
|
|
77870
|
+
|
|
77871
|
+
/**
|
|
77872
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77873
|
+
* given reader into the given message object.
|
|
77874
|
+
* @param {!proto.payment.GameplayDeliveryReadinessResult} msg The message object to deserialize into.
|
|
77875
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77876
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult}
|
|
77877
|
+
*/
|
|
77878
|
+
proto.payment.GameplayDeliveryReadinessResult.deserializeBinaryFromReader = function(msg, reader) {
|
|
77879
|
+
while (reader.nextField()) {
|
|
77880
|
+
if (reader.isEndGroup()) {
|
|
77881
|
+
break;
|
|
77882
|
+
}
|
|
77883
|
+
var field = reader.getFieldNumber();
|
|
77884
|
+
switch (field) {
|
|
77885
|
+
case 1:
|
|
77886
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
77887
|
+
msg.setProtocolVersion(value);
|
|
77888
|
+
break;
|
|
77889
|
+
case 2:
|
|
77890
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77891
|
+
msg.setActivationEpoch(value);
|
|
77892
|
+
break;
|
|
77893
|
+
case 3:
|
|
77894
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77895
|
+
msg.setServiceCohort(value);
|
|
77896
|
+
break;
|
|
77897
|
+
case 4:
|
|
77898
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77899
|
+
msg.setScopeHash(value);
|
|
77900
|
+
break;
|
|
77901
|
+
case 5:
|
|
77902
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
77903
|
+
msg.setDurableEffectVersion(value);
|
|
77904
|
+
break;
|
|
77905
|
+
case 6:
|
|
77906
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
77907
|
+
msg.setReady(value);
|
|
77908
|
+
break;
|
|
77909
|
+
case 7:
|
|
77910
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77911
|
+
msg.addBlockedReasons(value);
|
|
77912
|
+
break;
|
|
77913
|
+
default:
|
|
77914
|
+
reader.skipField();
|
|
77915
|
+
break;
|
|
77916
|
+
}
|
|
77917
|
+
}
|
|
77918
|
+
return msg;
|
|
77919
|
+
};
|
|
77920
|
+
|
|
77921
|
+
|
|
77922
|
+
/**
|
|
77923
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77924
|
+
* @return {!Uint8Array}
|
|
77925
|
+
*/
|
|
77926
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.serializeBinary = function() {
|
|
77927
|
+
var writer = new jspb.BinaryWriter();
|
|
77928
|
+
proto.payment.GameplayDeliveryReadinessResult.serializeBinaryToWriter(this, writer);
|
|
77929
|
+
return writer.getResultBuffer();
|
|
77930
|
+
};
|
|
77931
|
+
|
|
77932
|
+
|
|
77933
|
+
/**
|
|
77934
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77935
|
+
* format), writing to the given BinaryWriter.
|
|
77936
|
+
* @param {!proto.payment.GameplayDeliveryReadinessResult} message
|
|
77937
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77938
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77939
|
+
*/
|
|
77940
|
+
proto.payment.GameplayDeliveryReadinessResult.serializeBinaryToWriter = function(message, writer) {
|
|
77941
|
+
var f = undefined;
|
|
77942
|
+
f = message.getProtocolVersion();
|
|
77943
|
+
if (f !== 0) {
|
|
77944
|
+
writer.writeUint32(
|
|
77945
|
+
1,
|
|
77946
|
+
f
|
|
77947
|
+
);
|
|
77948
|
+
}
|
|
77949
|
+
f = message.getActivationEpoch();
|
|
77950
|
+
if (f.length > 0) {
|
|
77951
|
+
writer.writeString(
|
|
77952
|
+
2,
|
|
77953
|
+
f
|
|
77954
|
+
);
|
|
77955
|
+
}
|
|
77956
|
+
f = message.getServiceCohort();
|
|
77957
|
+
if (f.length > 0) {
|
|
77958
|
+
writer.writeString(
|
|
77959
|
+
3,
|
|
77960
|
+
f
|
|
77961
|
+
);
|
|
77962
|
+
}
|
|
77963
|
+
f = message.getScopeHash();
|
|
77964
|
+
if (f.length > 0) {
|
|
77965
|
+
writer.writeString(
|
|
77966
|
+
4,
|
|
77967
|
+
f
|
|
77968
|
+
);
|
|
77969
|
+
}
|
|
77970
|
+
f = message.getDurableEffectVersion();
|
|
77971
|
+
if (f !== 0) {
|
|
77972
|
+
writer.writeUint32(
|
|
77973
|
+
5,
|
|
77974
|
+
f
|
|
77975
|
+
);
|
|
77976
|
+
}
|
|
77977
|
+
f = message.getReady();
|
|
77978
|
+
if (f) {
|
|
77979
|
+
writer.writeBool(
|
|
77980
|
+
6,
|
|
77981
|
+
f
|
|
77982
|
+
);
|
|
77983
|
+
}
|
|
77984
|
+
f = message.getBlockedReasonsList();
|
|
77985
|
+
if (f.length > 0) {
|
|
77986
|
+
writer.writeRepeatedString(
|
|
77987
|
+
7,
|
|
77988
|
+
f
|
|
77989
|
+
);
|
|
77990
|
+
}
|
|
77991
|
+
};
|
|
77992
|
+
|
|
77993
|
+
|
|
77994
|
+
/**
|
|
77995
|
+
* optional uint32 protocol_version = 1;
|
|
77996
|
+
* @return {number}
|
|
77997
|
+
*/
|
|
77998
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.getProtocolVersion = function() {
|
|
77999
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
78000
|
+
};
|
|
78001
|
+
|
|
78002
|
+
|
|
78003
|
+
/**
|
|
78004
|
+
* @param {number} value
|
|
78005
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78006
|
+
*/
|
|
78007
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.setProtocolVersion = function(value) {
|
|
78008
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
78009
|
+
};
|
|
78010
|
+
|
|
78011
|
+
|
|
78012
|
+
/**
|
|
78013
|
+
* optional string activation_epoch = 2;
|
|
78014
|
+
* @return {string}
|
|
78015
|
+
*/
|
|
78016
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.getActivationEpoch = function() {
|
|
78017
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
78018
|
+
};
|
|
78019
|
+
|
|
78020
|
+
|
|
78021
|
+
/**
|
|
78022
|
+
* @param {string} value
|
|
78023
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78024
|
+
*/
|
|
78025
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.setActivationEpoch = function(value) {
|
|
78026
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
78027
|
+
};
|
|
78028
|
+
|
|
78029
|
+
|
|
78030
|
+
/**
|
|
78031
|
+
* optional string service_cohort = 3;
|
|
78032
|
+
* @return {string}
|
|
78033
|
+
*/
|
|
78034
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.getServiceCohort = function() {
|
|
78035
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
78036
|
+
};
|
|
78037
|
+
|
|
78038
|
+
|
|
78039
|
+
/**
|
|
78040
|
+
* @param {string} value
|
|
78041
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78042
|
+
*/
|
|
78043
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.setServiceCohort = function(value) {
|
|
78044
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
78045
|
+
};
|
|
78046
|
+
|
|
78047
|
+
|
|
78048
|
+
/**
|
|
78049
|
+
* optional string scope_hash = 4;
|
|
78050
|
+
* @return {string}
|
|
78051
|
+
*/
|
|
78052
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.getScopeHash = function() {
|
|
78053
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
78054
|
+
};
|
|
78055
|
+
|
|
78056
|
+
|
|
78057
|
+
/**
|
|
78058
|
+
* @param {string} value
|
|
78059
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78060
|
+
*/
|
|
78061
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.setScopeHash = function(value) {
|
|
78062
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
78063
|
+
};
|
|
78064
|
+
|
|
78065
|
+
|
|
78066
|
+
/**
|
|
78067
|
+
* optional uint32 durable_effect_version = 5;
|
|
78068
|
+
* @return {number}
|
|
78069
|
+
*/
|
|
78070
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.getDurableEffectVersion = function() {
|
|
78071
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
78072
|
+
};
|
|
78073
|
+
|
|
78074
|
+
|
|
78075
|
+
/**
|
|
78076
|
+
* @param {number} value
|
|
78077
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78078
|
+
*/
|
|
78079
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.setDurableEffectVersion = function(value) {
|
|
78080
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
78081
|
+
};
|
|
78082
|
+
|
|
78083
|
+
|
|
78084
|
+
/**
|
|
78085
|
+
* optional bool ready = 6;
|
|
78086
|
+
* @return {boolean}
|
|
78087
|
+
*/
|
|
78088
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.getReady = function() {
|
|
78089
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
78090
|
+
};
|
|
78091
|
+
|
|
78092
|
+
|
|
78093
|
+
/**
|
|
78094
|
+
* @param {boolean} value
|
|
78095
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78096
|
+
*/
|
|
78097
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.setReady = function(value) {
|
|
78098
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
78099
|
+
};
|
|
78100
|
+
|
|
78101
|
+
|
|
78102
|
+
/**
|
|
78103
|
+
* repeated string blocked_reasons = 7;
|
|
78104
|
+
* @return {!Array<string>}
|
|
78105
|
+
*/
|
|
78106
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.getBlockedReasonsList = function() {
|
|
78107
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
78108
|
+
};
|
|
78109
|
+
|
|
78110
|
+
|
|
78111
|
+
/**
|
|
78112
|
+
* @param {!Array<string>} value
|
|
78113
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78114
|
+
*/
|
|
78115
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.setBlockedReasonsList = function(value) {
|
|
78116
|
+
return jspb.Message.setField(this, 7, value || []);
|
|
78117
|
+
};
|
|
78118
|
+
|
|
78119
|
+
|
|
78120
|
+
/**
|
|
78121
|
+
* @param {string} value
|
|
78122
|
+
* @param {number=} opt_index
|
|
78123
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78124
|
+
*/
|
|
78125
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.addBlockedReasons = function(value, opt_index) {
|
|
78126
|
+
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
78127
|
+
};
|
|
78128
|
+
|
|
78129
|
+
|
|
78130
|
+
/**
|
|
78131
|
+
* Clears the list making it empty but non-null.
|
|
78132
|
+
* @return {!proto.payment.GameplayDeliveryReadinessResult} returns this
|
|
78133
|
+
*/
|
|
78134
|
+
proto.payment.GameplayDeliveryReadinessResult.prototype.clearBlockedReasonsList = function() {
|
|
78135
|
+
return this.setBlockedReasonsList([]);
|
|
78136
|
+
};
|
|
78137
|
+
|
|
78138
|
+
|
|
77473
78139
|
/**
|
|
77474
78140
|
* @enum {number}
|
|
77475
78141
|
*/
|