protobuf-platform 1.2.731 → 1.2.733
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 +1 -1
- package/payment/payment.proto +17 -0
- package/payment/payment_pb.js +723 -4
- package/user/user.proto +12 -0
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +592 -1
package/user/user_pb.js
CHANGED
|
@@ -163,6 +163,7 @@ goog.exportSymbol('proto.user.ReadPresetResponse', null, global);
|
|
|
163
163
|
goog.exportSymbol('proto.user.ReadResponsibleGamingOverviewRequest', null, global);
|
|
164
164
|
goog.exportSymbol('proto.user.ReadResponsibleGamingPolicyHistoryRequest', null, global);
|
|
165
165
|
goog.exportSymbol('proto.user.ReadResponsibleGamingPolicyHistoryResponse', null, global);
|
|
166
|
+
goog.exportSymbol('proto.user.ReadRiskPermissionConditionsRequest', null, global);
|
|
166
167
|
goog.exportSymbol('proto.user.ReadRiskPermissionMatrixLimitsRequest', null, global);
|
|
167
168
|
goog.exportSymbol('proto.user.ReadRiskPermissionMatrixRequest', null, global);
|
|
168
169
|
goog.exportSymbol('proto.user.ReadUserCalculatedRestrictionsRequest', null, global);
|
|
@@ -216,8 +217,10 @@ goog.exportSymbol('proto.user.ResponsibleGamingSelfExclusionOverview', null, glo
|
|
|
216
217
|
goog.exportSymbol('proto.user.ResponsibleGamingTimeLimitDecisionDetail', null, global);
|
|
217
218
|
goog.exportSymbol('proto.user.ResponsibleGamingTimeLimitOverview', null, global);
|
|
218
219
|
goog.exportSymbol('proto.user.ResponsibleGamingTimeLimitScopeOverview', null, global);
|
|
220
|
+
goog.exportSymbol('proto.user.RiskPermissionConditionDefinition', null, global);
|
|
219
221
|
goog.exportSymbol('proto.user.RiskPermissionConditionSet', null, global);
|
|
220
222
|
goog.exportSymbol('proto.user.RiskPermissionConditions', null, global);
|
|
223
|
+
goog.exportSymbol('proto.user.RiskPermissionConditionsResponse', null, global);
|
|
221
224
|
goog.exportSymbol('proto.user.RiskPermissionMatricesResponse', null, global);
|
|
222
225
|
goog.exportSymbol('proto.user.RiskPermissionMatrixItem', null, global);
|
|
223
226
|
goog.exportSymbol('proto.user.RiskPermissionMatrixLimitItem', null, global);
|
|
@@ -2681,6 +2684,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2681
2684
|
*/
|
|
2682
2685
|
proto.user.ReadRiskPermissionMatrixRequest.displayName = 'proto.user.ReadRiskPermissionMatrixRequest';
|
|
2683
2686
|
}
|
|
2687
|
+
/**
|
|
2688
|
+
* Generated by JsPbCodeGenerator.
|
|
2689
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2690
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2691
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2692
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2693
|
+
* valid.
|
|
2694
|
+
* @extends {jspb.Message}
|
|
2695
|
+
* @constructor
|
|
2696
|
+
*/
|
|
2697
|
+
proto.user.ReadRiskPermissionConditionsRequest = function(opt_data) {
|
|
2698
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2699
|
+
};
|
|
2700
|
+
goog.inherits(proto.user.ReadRiskPermissionConditionsRequest, jspb.Message);
|
|
2701
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2702
|
+
/**
|
|
2703
|
+
* @public
|
|
2704
|
+
* @override
|
|
2705
|
+
*/
|
|
2706
|
+
proto.user.ReadRiskPermissionConditionsRequest.displayName = 'proto.user.ReadRiskPermissionConditionsRequest';
|
|
2707
|
+
}
|
|
2708
|
+
/**
|
|
2709
|
+
* Generated by JsPbCodeGenerator.
|
|
2710
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2711
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2712
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2713
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2714
|
+
* valid.
|
|
2715
|
+
* @extends {jspb.Message}
|
|
2716
|
+
* @constructor
|
|
2717
|
+
*/
|
|
2718
|
+
proto.user.RiskPermissionConditionDefinition = function(opt_data) {
|
|
2719
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.RiskPermissionConditionDefinition.repeatedFields_, null);
|
|
2720
|
+
};
|
|
2721
|
+
goog.inherits(proto.user.RiskPermissionConditionDefinition, jspb.Message);
|
|
2722
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2723
|
+
/**
|
|
2724
|
+
* @public
|
|
2725
|
+
* @override
|
|
2726
|
+
*/
|
|
2727
|
+
proto.user.RiskPermissionConditionDefinition.displayName = 'proto.user.RiskPermissionConditionDefinition';
|
|
2728
|
+
}
|
|
2729
|
+
/**
|
|
2730
|
+
* Generated by JsPbCodeGenerator.
|
|
2731
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2732
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2733
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2734
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2735
|
+
* valid.
|
|
2736
|
+
* @extends {jspb.Message}
|
|
2737
|
+
* @constructor
|
|
2738
|
+
*/
|
|
2739
|
+
proto.user.RiskPermissionConditionsResponse = function(opt_data) {
|
|
2740
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.RiskPermissionConditionsResponse.repeatedFields_, null);
|
|
2741
|
+
};
|
|
2742
|
+
goog.inherits(proto.user.RiskPermissionConditionsResponse, jspb.Message);
|
|
2743
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2744
|
+
/**
|
|
2745
|
+
* @public
|
|
2746
|
+
* @override
|
|
2747
|
+
*/
|
|
2748
|
+
proto.user.RiskPermissionConditionsResponse.displayName = 'proto.user.RiskPermissionConditionsResponse';
|
|
2749
|
+
}
|
|
2684
2750
|
/**
|
|
2685
2751
|
* Generated by JsPbCodeGenerator.
|
|
2686
2752
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -26035,7 +26101,8 @@ proto.user.CheckWithdrawalEligibilityResponse.toObject = function(includeInstanc
|
|
|
26035
26101
|
reason: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
26036
26102
|
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
26037
26103
|
currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
26038
|
-
currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
26104
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
26105
|
+
availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
26039
26106
|
};
|
|
26040
26107
|
|
|
26041
26108
|
if (includeInstance) {
|
|
@@ -26092,6 +26159,10 @@ proto.user.CheckWithdrawalEligibilityResponse.deserializeBinaryFromReader = func
|
|
|
26092
26159
|
var value = /** @type {number} */ (reader.readInt32());
|
|
26093
26160
|
msg.setCurrencyScale(value);
|
|
26094
26161
|
break;
|
|
26162
|
+
case 6:
|
|
26163
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26164
|
+
msg.setAvailableRealMajor(value);
|
|
26165
|
+
break;
|
|
26095
26166
|
default:
|
|
26096
26167
|
reader.skipField();
|
|
26097
26168
|
break;
|
|
@@ -26156,6 +26227,13 @@ proto.user.CheckWithdrawalEligibilityResponse.serializeBinaryToWriter = function
|
|
|
26156
26227
|
f
|
|
26157
26228
|
);
|
|
26158
26229
|
}
|
|
26230
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
26231
|
+
if (f != null) {
|
|
26232
|
+
writer.writeString(
|
|
26233
|
+
6,
|
|
26234
|
+
f
|
|
26235
|
+
);
|
|
26236
|
+
}
|
|
26159
26237
|
};
|
|
26160
26238
|
|
|
26161
26239
|
|
|
@@ -26321,6 +26399,42 @@ proto.user.CheckWithdrawalEligibilityResponse.prototype.hasCurrencyScale = funct
|
|
|
26321
26399
|
};
|
|
26322
26400
|
|
|
26323
26401
|
|
|
26402
|
+
/**
|
|
26403
|
+
* optional string available_real_major = 6;
|
|
26404
|
+
* @return {string}
|
|
26405
|
+
*/
|
|
26406
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMajor = function() {
|
|
26407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
26408
|
+
};
|
|
26409
|
+
|
|
26410
|
+
|
|
26411
|
+
/**
|
|
26412
|
+
* @param {string} value
|
|
26413
|
+
* @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
|
|
26414
|
+
*/
|
|
26415
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMajor = function(value) {
|
|
26416
|
+
return jspb.Message.setField(this, 6, value);
|
|
26417
|
+
};
|
|
26418
|
+
|
|
26419
|
+
|
|
26420
|
+
/**
|
|
26421
|
+
* Clears the field making it undefined.
|
|
26422
|
+
* @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
|
|
26423
|
+
*/
|
|
26424
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMajor = function() {
|
|
26425
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
26426
|
+
};
|
|
26427
|
+
|
|
26428
|
+
|
|
26429
|
+
/**
|
|
26430
|
+
* Returns whether this field is set.
|
|
26431
|
+
* @return {boolean}
|
|
26432
|
+
*/
|
|
26433
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMajor = function() {
|
|
26434
|
+
return jspb.Message.getField(this, 6) != null;
|
|
26435
|
+
};
|
|
26436
|
+
|
|
26437
|
+
|
|
26324
26438
|
|
|
26325
26439
|
|
|
26326
26440
|
|
|
@@ -50483,6 +50597,483 @@ proto.user.ReadRiskPermissionMatrixRequest.prototype.setRiskLevel = function(val
|
|
|
50483
50597
|
|
|
50484
50598
|
|
|
50485
50599
|
|
|
50600
|
+
|
|
50601
|
+
|
|
50602
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50603
|
+
/**
|
|
50604
|
+
* Creates an object representation of this proto.
|
|
50605
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50606
|
+
* Optional fields that are not set will be set to undefined.
|
|
50607
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50608
|
+
* For the list of reserved names please see:
|
|
50609
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50610
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50611
|
+
* JSPB instance for transitional soy proto support:
|
|
50612
|
+
* http://goto/soy-param-migration
|
|
50613
|
+
* @return {!Object}
|
|
50614
|
+
*/
|
|
50615
|
+
proto.user.ReadRiskPermissionConditionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
50616
|
+
return proto.user.ReadRiskPermissionConditionsRequest.toObject(opt_includeInstance, this);
|
|
50617
|
+
};
|
|
50618
|
+
|
|
50619
|
+
|
|
50620
|
+
/**
|
|
50621
|
+
* Static version of the {@see toObject} method.
|
|
50622
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50623
|
+
* the JSPB instance for transitional soy proto support:
|
|
50624
|
+
* http://goto/soy-param-migration
|
|
50625
|
+
* @param {!proto.user.ReadRiskPermissionConditionsRequest} msg The msg instance to transform.
|
|
50626
|
+
* @return {!Object}
|
|
50627
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50628
|
+
*/
|
|
50629
|
+
proto.user.ReadRiskPermissionConditionsRequest.toObject = function(includeInstance, msg) {
|
|
50630
|
+
var f, obj = {
|
|
50631
|
+
|
|
50632
|
+
};
|
|
50633
|
+
|
|
50634
|
+
if (includeInstance) {
|
|
50635
|
+
obj.$jspbMessageInstance = msg;
|
|
50636
|
+
}
|
|
50637
|
+
return obj;
|
|
50638
|
+
};
|
|
50639
|
+
}
|
|
50640
|
+
|
|
50641
|
+
|
|
50642
|
+
/**
|
|
50643
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50644
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50645
|
+
* @return {!proto.user.ReadRiskPermissionConditionsRequest}
|
|
50646
|
+
*/
|
|
50647
|
+
proto.user.ReadRiskPermissionConditionsRequest.deserializeBinary = function(bytes) {
|
|
50648
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50649
|
+
var msg = new proto.user.ReadRiskPermissionConditionsRequest;
|
|
50650
|
+
return proto.user.ReadRiskPermissionConditionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
50651
|
+
};
|
|
50652
|
+
|
|
50653
|
+
|
|
50654
|
+
/**
|
|
50655
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50656
|
+
* given reader into the given message object.
|
|
50657
|
+
* @param {!proto.user.ReadRiskPermissionConditionsRequest} msg The message object to deserialize into.
|
|
50658
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50659
|
+
* @return {!proto.user.ReadRiskPermissionConditionsRequest}
|
|
50660
|
+
*/
|
|
50661
|
+
proto.user.ReadRiskPermissionConditionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
50662
|
+
while (reader.nextField()) {
|
|
50663
|
+
if (reader.isEndGroup()) {
|
|
50664
|
+
break;
|
|
50665
|
+
}
|
|
50666
|
+
var field = reader.getFieldNumber();
|
|
50667
|
+
switch (field) {
|
|
50668
|
+
default:
|
|
50669
|
+
reader.skipField();
|
|
50670
|
+
break;
|
|
50671
|
+
}
|
|
50672
|
+
}
|
|
50673
|
+
return msg;
|
|
50674
|
+
};
|
|
50675
|
+
|
|
50676
|
+
|
|
50677
|
+
/**
|
|
50678
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50679
|
+
* @return {!Uint8Array}
|
|
50680
|
+
*/
|
|
50681
|
+
proto.user.ReadRiskPermissionConditionsRequest.prototype.serializeBinary = function() {
|
|
50682
|
+
var writer = new jspb.BinaryWriter();
|
|
50683
|
+
proto.user.ReadRiskPermissionConditionsRequest.serializeBinaryToWriter(this, writer);
|
|
50684
|
+
return writer.getResultBuffer();
|
|
50685
|
+
};
|
|
50686
|
+
|
|
50687
|
+
|
|
50688
|
+
/**
|
|
50689
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50690
|
+
* format), writing to the given BinaryWriter.
|
|
50691
|
+
* @param {!proto.user.ReadRiskPermissionConditionsRequest} message
|
|
50692
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50693
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50694
|
+
*/
|
|
50695
|
+
proto.user.ReadRiskPermissionConditionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
50696
|
+
var f = undefined;
|
|
50697
|
+
};
|
|
50698
|
+
|
|
50699
|
+
|
|
50700
|
+
|
|
50701
|
+
/**
|
|
50702
|
+
* List of repeated fields within this message type.
|
|
50703
|
+
* @private {!Array<number>}
|
|
50704
|
+
* @const
|
|
50705
|
+
*/
|
|
50706
|
+
proto.user.RiskPermissionConditionDefinition.repeatedFields_ = [3];
|
|
50707
|
+
|
|
50708
|
+
|
|
50709
|
+
|
|
50710
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50711
|
+
/**
|
|
50712
|
+
* Creates an object representation of this proto.
|
|
50713
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50714
|
+
* Optional fields that are not set will be set to undefined.
|
|
50715
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50716
|
+
* For the list of reserved names please see:
|
|
50717
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50718
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50719
|
+
* JSPB instance for transitional soy proto support:
|
|
50720
|
+
* http://goto/soy-param-migration
|
|
50721
|
+
* @return {!Object}
|
|
50722
|
+
*/
|
|
50723
|
+
proto.user.RiskPermissionConditionDefinition.prototype.toObject = function(opt_includeInstance) {
|
|
50724
|
+
return proto.user.RiskPermissionConditionDefinition.toObject(opt_includeInstance, this);
|
|
50725
|
+
};
|
|
50726
|
+
|
|
50727
|
+
|
|
50728
|
+
/**
|
|
50729
|
+
* Static version of the {@see toObject} method.
|
|
50730
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50731
|
+
* the JSPB instance for transitional soy proto support:
|
|
50732
|
+
* http://goto/soy-param-migration
|
|
50733
|
+
* @param {!proto.user.RiskPermissionConditionDefinition} msg The msg instance to transform.
|
|
50734
|
+
* @return {!Object}
|
|
50735
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50736
|
+
*/
|
|
50737
|
+
proto.user.RiskPermissionConditionDefinition.toObject = function(includeInstance, msg) {
|
|
50738
|
+
var f, obj = {
|
|
50739
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
50740
|
+
label: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
50741
|
+
supportedActionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
50742
|
+
};
|
|
50743
|
+
|
|
50744
|
+
if (includeInstance) {
|
|
50745
|
+
obj.$jspbMessageInstance = msg;
|
|
50746
|
+
}
|
|
50747
|
+
return obj;
|
|
50748
|
+
};
|
|
50749
|
+
}
|
|
50750
|
+
|
|
50751
|
+
|
|
50752
|
+
/**
|
|
50753
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50754
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50755
|
+
* @return {!proto.user.RiskPermissionConditionDefinition}
|
|
50756
|
+
*/
|
|
50757
|
+
proto.user.RiskPermissionConditionDefinition.deserializeBinary = function(bytes) {
|
|
50758
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50759
|
+
var msg = new proto.user.RiskPermissionConditionDefinition;
|
|
50760
|
+
return proto.user.RiskPermissionConditionDefinition.deserializeBinaryFromReader(msg, reader);
|
|
50761
|
+
};
|
|
50762
|
+
|
|
50763
|
+
|
|
50764
|
+
/**
|
|
50765
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50766
|
+
* given reader into the given message object.
|
|
50767
|
+
* @param {!proto.user.RiskPermissionConditionDefinition} msg The message object to deserialize into.
|
|
50768
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50769
|
+
* @return {!proto.user.RiskPermissionConditionDefinition}
|
|
50770
|
+
*/
|
|
50771
|
+
proto.user.RiskPermissionConditionDefinition.deserializeBinaryFromReader = function(msg, reader) {
|
|
50772
|
+
while (reader.nextField()) {
|
|
50773
|
+
if (reader.isEndGroup()) {
|
|
50774
|
+
break;
|
|
50775
|
+
}
|
|
50776
|
+
var field = reader.getFieldNumber();
|
|
50777
|
+
switch (field) {
|
|
50778
|
+
case 1:
|
|
50779
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50780
|
+
msg.setKey(value);
|
|
50781
|
+
break;
|
|
50782
|
+
case 2:
|
|
50783
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50784
|
+
msg.setLabel(value);
|
|
50785
|
+
break;
|
|
50786
|
+
case 3:
|
|
50787
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50788
|
+
msg.addSupportedActions(value);
|
|
50789
|
+
break;
|
|
50790
|
+
default:
|
|
50791
|
+
reader.skipField();
|
|
50792
|
+
break;
|
|
50793
|
+
}
|
|
50794
|
+
}
|
|
50795
|
+
return msg;
|
|
50796
|
+
};
|
|
50797
|
+
|
|
50798
|
+
|
|
50799
|
+
/**
|
|
50800
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50801
|
+
* @return {!Uint8Array}
|
|
50802
|
+
*/
|
|
50803
|
+
proto.user.RiskPermissionConditionDefinition.prototype.serializeBinary = function() {
|
|
50804
|
+
var writer = new jspb.BinaryWriter();
|
|
50805
|
+
proto.user.RiskPermissionConditionDefinition.serializeBinaryToWriter(this, writer);
|
|
50806
|
+
return writer.getResultBuffer();
|
|
50807
|
+
};
|
|
50808
|
+
|
|
50809
|
+
|
|
50810
|
+
/**
|
|
50811
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50812
|
+
* format), writing to the given BinaryWriter.
|
|
50813
|
+
* @param {!proto.user.RiskPermissionConditionDefinition} message
|
|
50814
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50815
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50816
|
+
*/
|
|
50817
|
+
proto.user.RiskPermissionConditionDefinition.serializeBinaryToWriter = function(message, writer) {
|
|
50818
|
+
var f = undefined;
|
|
50819
|
+
f = message.getKey();
|
|
50820
|
+
if (f.length > 0) {
|
|
50821
|
+
writer.writeString(
|
|
50822
|
+
1,
|
|
50823
|
+
f
|
|
50824
|
+
);
|
|
50825
|
+
}
|
|
50826
|
+
f = message.getLabel();
|
|
50827
|
+
if (f.length > 0) {
|
|
50828
|
+
writer.writeString(
|
|
50829
|
+
2,
|
|
50830
|
+
f
|
|
50831
|
+
);
|
|
50832
|
+
}
|
|
50833
|
+
f = message.getSupportedActionsList();
|
|
50834
|
+
if (f.length > 0) {
|
|
50835
|
+
writer.writeRepeatedString(
|
|
50836
|
+
3,
|
|
50837
|
+
f
|
|
50838
|
+
);
|
|
50839
|
+
}
|
|
50840
|
+
};
|
|
50841
|
+
|
|
50842
|
+
|
|
50843
|
+
/**
|
|
50844
|
+
* optional string key = 1;
|
|
50845
|
+
* @return {string}
|
|
50846
|
+
*/
|
|
50847
|
+
proto.user.RiskPermissionConditionDefinition.prototype.getKey = function() {
|
|
50848
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
50849
|
+
};
|
|
50850
|
+
|
|
50851
|
+
|
|
50852
|
+
/**
|
|
50853
|
+
* @param {string} value
|
|
50854
|
+
* @return {!proto.user.RiskPermissionConditionDefinition} returns this
|
|
50855
|
+
*/
|
|
50856
|
+
proto.user.RiskPermissionConditionDefinition.prototype.setKey = function(value) {
|
|
50857
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
50858
|
+
};
|
|
50859
|
+
|
|
50860
|
+
|
|
50861
|
+
/**
|
|
50862
|
+
* optional string label = 2;
|
|
50863
|
+
* @return {string}
|
|
50864
|
+
*/
|
|
50865
|
+
proto.user.RiskPermissionConditionDefinition.prototype.getLabel = function() {
|
|
50866
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
50867
|
+
};
|
|
50868
|
+
|
|
50869
|
+
|
|
50870
|
+
/**
|
|
50871
|
+
* @param {string} value
|
|
50872
|
+
* @return {!proto.user.RiskPermissionConditionDefinition} returns this
|
|
50873
|
+
*/
|
|
50874
|
+
proto.user.RiskPermissionConditionDefinition.prototype.setLabel = function(value) {
|
|
50875
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
50876
|
+
};
|
|
50877
|
+
|
|
50878
|
+
|
|
50879
|
+
/**
|
|
50880
|
+
* repeated string supported_actions = 3;
|
|
50881
|
+
* @return {!Array<string>}
|
|
50882
|
+
*/
|
|
50883
|
+
proto.user.RiskPermissionConditionDefinition.prototype.getSupportedActionsList = function() {
|
|
50884
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
50885
|
+
};
|
|
50886
|
+
|
|
50887
|
+
|
|
50888
|
+
/**
|
|
50889
|
+
* @param {!Array<string>} value
|
|
50890
|
+
* @return {!proto.user.RiskPermissionConditionDefinition} returns this
|
|
50891
|
+
*/
|
|
50892
|
+
proto.user.RiskPermissionConditionDefinition.prototype.setSupportedActionsList = function(value) {
|
|
50893
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
50894
|
+
};
|
|
50895
|
+
|
|
50896
|
+
|
|
50897
|
+
/**
|
|
50898
|
+
* @param {string} value
|
|
50899
|
+
* @param {number=} opt_index
|
|
50900
|
+
* @return {!proto.user.RiskPermissionConditionDefinition} returns this
|
|
50901
|
+
*/
|
|
50902
|
+
proto.user.RiskPermissionConditionDefinition.prototype.addSupportedActions = function(value, opt_index) {
|
|
50903
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
50904
|
+
};
|
|
50905
|
+
|
|
50906
|
+
|
|
50907
|
+
/**
|
|
50908
|
+
* Clears the list making it empty but non-null.
|
|
50909
|
+
* @return {!proto.user.RiskPermissionConditionDefinition} returns this
|
|
50910
|
+
*/
|
|
50911
|
+
proto.user.RiskPermissionConditionDefinition.prototype.clearSupportedActionsList = function() {
|
|
50912
|
+
return this.setSupportedActionsList([]);
|
|
50913
|
+
};
|
|
50914
|
+
|
|
50915
|
+
|
|
50916
|
+
|
|
50917
|
+
/**
|
|
50918
|
+
* List of repeated fields within this message type.
|
|
50919
|
+
* @private {!Array<number>}
|
|
50920
|
+
* @const
|
|
50921
|
+
*/
|
|
50922
|
+
proto.user.RiskPermissionConditionsResponse.repeatedFields_ = [1];
|
|
50923
|
+
|
|
50924
|
+
|
|
50925
|
+
|
|
50926
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50927
|
+
/**
|
|
50928
|
+
* Creates an object representation of this proto.
|
|
50929
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50930
|
+
* Optional fields that are not set will be set to undefined.
|
|
50931
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50932
|
+
* For the list of reserved names please see:
|
|
50933
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50934
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50935
|
+
* JSPB instance for transitional soy proto support:
|
|
50936
|
+
* http://goto/soy-param-migration
|
|
50937
|
+
* @return {!Object}
|
|
50938
|
+
*/
|
|
50939
|
+
proto.user.RiskPermissionConditionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
50940
|
+
return proto.user.RiskPermissionConditionsResponse.toObject(opt_includeInstance, this);
|
|
50941
|
+
};
|
|
50942
|
+
|
|
50943
|
+
|
|
50944
|
+
/**
|
|
50945
|
+
* Static version of the {@see toObject} method.
|
|
50946
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50947
|
+
* the JSPB instance for transitional soy proto support:
|
|
50948
|
+
* http://goto/soy-param-migration
|
|
50949
|
+
* @param {!proto.user.RiskPermissionConditionsResponse} msg The msg instance to transform.
|
|
50950
|
+
* @return {!Object}
|
|
50951
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50952
|
+
*/
|
|
50953
|
+
proto.user.RiskPermissionConditionsResponse.toObject = function(includeInstance, msg) {
|
|
50954
|
+
var f, obj = {
|
|
50955
|
+
conditionsList: jspb.Message.toObjectList(msg.getConditionsList(),
|
|
50956
|
+
proto.user.RiskPermissionConditionDefinition.toObject, includeInstance)
|
|
50957
|
+
};
|
|
50958
|
+
|
|
50959
|
+
if (includeInstance) {
|
|
50960
|
+
obj.$jspbMessageInstance = msg;
|
|
50961
|
+
}
|
|
50962
|
+
return obj;
|
|
50963
|
+
};
|
|
50964
|
+
}
|
|
50965
|
+
|
|
50966
|
+
|
|
50967
|
+
/**
|
|
50968
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50969
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50970
|
+
* @return {!proto.user.RiskPermissionConditionsResponse}
|
|
50971
|
+
*/
|
|
50972
|
+
proto.user.RiskPermissionConditionsResponse.deserializeBinary = function(bytes) {
|
|
50973
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50974
|
+
var msg = new proto.user.RiskPermissionConditionsResponse;
|
|
50975
|
+
return proto.user.RiskPermissionConditionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
50976
|
+
};
|
|
50977
|
+
|
|
50978
|
+
|
|
50979
|
+
/**
|
|
50980
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50981
|
+
* given reader into the given message object.
|
|
50982
|
+
* @param {!proto.user.RiskPermissionConditionsResponse} msg The message object to deserialize into.
|
|
50983
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50984
|
+
* @return {!proto.user.RiskPermissionConditionsResponse}
|
|
50985
|
+
*/
|
|
50986
|
+
proto.user.RiskPermissionConditionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
50987
|
+
while (reader.nextField()) {
|
|
50988
|
+
if (reader.isEndGroup()) {
|
|
50989
|
+
break;
|
|
50990
|
+
}
|
|
50991
|
+
var field = reader.getFieldNumber();
|
|
50992
|
+
switch (field) {
|
|
50993
|
+
case 1:
|
|
50994
|
+
var value = new proto.user.RiskPermissionConditionDefinition;
|
|
50995
|
+
reader.readMessage(value,proto.user.RiskPermissionConditionDefinition.deserializeBinaryFromReader);
|
|
50996
|
+
msg.addConditions(value);
|
|
50997
|
+
break;
|
|
50998
|
+
default:
|
|
50999
|
+
reader.skipField();
|
|
51000
|
+
break;
|
|
51001
|
+
}
|
|
51002
|
+
}
|
|
51003
|
+
return msg;
|
|
51004
|
+
};
|
|
51005
|
+
|
|
51006
|
+
|
|
51007
|
+
/**
|
|
51008
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
51009
|
+
* @return {!Uint8Array}
|
|
51010
|
+
*/
|
|
51011
|
+
proto.user.RiskPermissionConditionsResponse.prototype.serializeBinary = function() {
|
|
51012
|
+
var writer = new jspb.BinaryWriter();
|
|
51013
|
+
proto.user.RiskPermissionConditionsResponse.serializeBinaryToWriter(this, writer);
|
|
51014
|
+
return writer.getResultBuffer();
|
|
51015
|
+
};
|
|
51016
|
+
|
|
51017
|
+
|
|
51018
|
+
/**
|
|
51019
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
51020
|
+
* format), writing to the given BinaryWriter.
|
|
51021
|
+
* @param {!proto.user.RiskPermissionConditionsResponse} message
|
|
51022
|
+
* @param {!jspb.BinaryWriter} writer
|
|
51023
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51024
|
+
*/
|
|
51025
|
+
proto.user.RiskPermissionConditionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
51026
|
+
var f = undefined;
|
|
51027
|
+
f = message.getConditionsList();
|
|
51028
|
+
if (f.length > 0) {
|
|
51029
|
+
writer.writeRepeatedMessage(
|
|
51030
|
+
1,
|
|
51031
|
+
f,
|
|
51032
|
+
proto.user.RiskPermissionConditionDefinition.serializeBinaryToWriter
|
|
51033
|
+
);
|
|
51034
|
+
}
|
|
51035
|
+
};
|
|
51036
|
+
|
|
51037
|
+
|
|
51038
|
+
/**
|
|
51039
|
+
* repeated RiskPermissionConditionDefinition conditions = 1;
|
|
51040
|
+
* @return {!Array<!proto.user.RiskPermissionConditionDefinition>}
|
|
51041
|
+
*/
|
|
51042
|
+
proto.user.RiskPermissionConditionsResponse.prototype.getConditionsList = function() {
|
|
51043
|
+
return /** @type{!Array<!proto.user.RiskPermissionConditionDefinition>} */ (
|
|
51044
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.RiskPermissionConditionDefinition, 1));
|
|
51045
|
+
};
|
|
51046
|
+
|
|
51047
|
+
|
|
51048
|
+
/**
|
|
51049
|
+
* @param {!Array<!proto.user.RiskPermissionConditionDefinition>} value
|
|
51050
|
+
* @return {!proto.user.RiskPermissionConditionsResponse} returns this
|
|
51051
|
+
*/
|
|
51052
|
+
proto.user.RiskPermissionConditionsResponse.prototype.setConditionsList = function(value) {
|
|
51053
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
51054
|
+
};
|
|
51055
|
+
|
|
51056
|
+
|
|
51057
|
+
/**
|
|
51058
|
+
* @param {!proto.user.RiskPermissionConditionDefinition=} opt_value
|
|
51059
|
+
* @param {number=} opt_index
|
|
51060
|
+
* @return {!proto.user.RiskPermissionConditionDefinition}
|
|
51061
|
+
*/
|
|
51062
|
+
proto.user.RiskPermissionConditionsResponse.prototype.addConditions = function(opt_value, opt_index) {
|
|
51063
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.RiskPermissionConditionDefinition, opt_index);
|
|
51064
|
+
};
|
|
51065
|
+
|
|
51066
|
+
|
|
51067
|
+
/**
|
|
51068
|
+
* Clears the list making it empty but non-null.
|
|
51069
|
+
* @return {!proto.user.RiskPermissionConditionsResponse} returns this
|
|
51070
|
+
*/
|
|
51071
|
+
proto.user.RiskPermissionConditionsResponse.prototype.clearConditionsList = function() {
|
|
51072
|
+
return this.setConditionsList([]);
|
|
51073
|
+
};
|
|
51074
|
+
|
|
51075
|
+
|
|
51076
|
+
|
|
50486
51077
|
/**
|
|
50487
51078
|
* List of repeated fields within this message type.
|
|
50488
51079
|
* @private {!Array<number>}
|