protobuf-platform 1.2.735 → 1.2.737
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/config/config.proto +1 -0
- package/config/config_pb.js +49 -1
- package/package.json +1 -1
- package/payment/payment.proto +8 -0
- package/payment/payment_pb.js +396 -1
- package/user/user.proto +40 -0
- package/user/user_grpc_pb.js +34 -0
- package/user/user_pb.js +1480 -0
package/user/user_pb.js
CHANGED
|
@@ -166,6 +166,7 @@ goog.exportSymbol('proto.user.ReadResponsibleGamingPolicyHistoryResponse', null,
|
|
|
166
166
|
goog.exportSymbol('proto.user.ReadRiskPermissionConditionsRequest', null, global);
|
|
167
167
|
goog.exportSymbol('proto.user.ReadRiskPermissionMatrixLimitsRequest', null, global);
|
|
168
168
|
goog.exportSymbol('proto.user.ReadRiskPermissionMatrixRequest', null, global);
|
|
169
|
+
goog.exportSymbol('proto.user.ReadUserAntifraudAssessmentHistoryRequest', null, global);
|
|
169
170
|
goog.exportSymbol('proto.user.ReadUserCalculatedRestrictionsRequest', null, global);
|
|
170
171
|
goog.exportSymbol('proto.user.ReadUserKycDocumentOptionsRequest', null, global);
|
|
171
172
|
goog.exportSymbol('proto.user.ReadUserKycDocumentPreviewRequest', null, global);
|
|
@@ -288,6 +289,10 @@ goog.exportSymbol('proto.user.UserActionRequest', null, global);
|
|
|
288
289
|
goog.exportSymbol('proto.user.UserActionResponse', null, global);
|
|
289
290
|
goog.exportSymbol('proto.user.UserAffiliateAttributionRequest', null, global);
|
|
290
291
|
goog.exportSymbol('proto.user.UserAffiliateAttributionResponse', null, global);
|
|
292
|
+
goog.exportSymbol('proto.user.UserAntifraudAssessmentHistoryItem', null, global);
|
|
293
|
+
goog.exportSymbol('proto.user.UserAntifraudAssessmentHistoryResponse', null, global);
|
|
294
|
+
goog.exportSymbol('proto.user.UserAntifraudAssessmentTrigger', null, global);
|
|
295
|
+
goog.exportSymbol('proto.user.UserAntifraudAssessmentTriggerDetail', null, global);
|
|
291
296
|
goog.exportSymbol('proto.user.UserAutoSegmentMatchRequest', null, global);
|
|
292
297
|
goog.exportSymbol('proto.user.UserAutoSegmentMatchResponse', null, global);
|
|
293
298
|
goog.exportSymbol('proto.user.UserBalanceRequest', null, global);
|
|
@@ -2453,6 +2458,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2453
2458
|
*/
|
|
2454
2459
|
proto.user.UserRiskProfileResponse.displayName = 'proto.user.UserRiskProfileResponse';
|
|
2455
2460
|
}
|
|
2461
|
+
/**
|
|
2462
|
+
* Generated by JsPbCodeGenerator.
|
|
2463
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2464
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2465
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2466
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2467
|
+
* valid.
|
|
2468
|
+
* @extends {jspb.Message}
|
|
2469
|
+
* @constructor
|
|
2470
|
+
*/
|
|
2471
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest = function(opt_data) {
|
|
2472
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2473
|
+
};
|
|
2474
|
+
goog.inherits(proto.user.ReadUserAntifraudAssessmentHistoryRequest, jspb.Message);
|
|
2475
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2476
|
+
/**
|
|
2477
|
+
* @public
|
|
2478
|
+
* @override
|
|
2479
|
+
*/
|
|
2480
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.displayName = 'proto.user.ReadUserAntifraudAssessmentHistoryRequest';
|
|
2481
|
+
}
|
|
2482
|
+
/**
|
|
2483
|
+
* Generated by JsPbCodeGenerator.
|
|
2484
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2485
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2486
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2487
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2488
|
+
* valid.
|
|
2489
|
+
* @extends {jspb.Message}
|
|
2490
|
+
* @constructor
|
|
2491
|
+
*/
|
|
2492
|
+
proto.user.UserAntifraudAssessmentTriggerDetail = function(opt_data) {
|
|
2493
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2494
|
+
};
|
|
2495
|
+
goog.inherits(proto.user.UserAntifraudAssessmentTriggerDetail, jspb.Message);
|
|
2496
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2497
|
+
/**
|
|
2498
|
+
* @public
|
|
2499
|
+
* @override
|
|
2500
|
+
*/
|
|
2501
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.displayName = 'proto.user.UserAntifraudAssessmentTriggerDetail';
|
|
2502
|
+
}
|
|
2503
|
+
/**
|
|
2504
|
+
* Generated by JsPbCodeGenerator.
|
|
2505
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2506
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2507
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2508
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2509
|
+
* valid.
|
|
2510
|
+
* @extends {jspb.Message}
|
|
2511
|
+
* @constructor
|
|
2512
|
+
*/
|
|
2513
|
+
proto.user.UserAntifraudAssessmentTrigger = function(opt_data) {
|
|
2514
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserAntifraudAssessmentTrigger.repeatedFields_, null);
|
|
2515
|
+
};
|
|
2516
|
+
goog.inherits(proto.user.UserAntifraudAssessmentTrigger, jspb.Message);
|
|
2517
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2518
|
+
/**
|
|
2519
|
+
* @public
|
|
2520
|
+
* @override
|
|
2521
|
+
*/
|
|
2522
|
+
proto.user.UserAntifraudAssessmentTrigger.displayName = 'proto.user.UserAntifraudAssessmentTrigger';
|
|
2523
|
+
}
|
|
2524
|
+
/**
|
|
2525
|
+
* Generated by JsPbCodeGenerator.
|
|
2526
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2527
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2528
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2529
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2530
|
+
* valid.
|
|
2531
|
+
* @extends {jspb.Message}
|
|
2532
|
+
* @constructor
|
|
2533
|
+
*/
|
|
2534
|
+
proto.user.UserAntifraudAssessmentHistoryItem = function(opt_data) {
|
|
2535
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserAntifraudAssessmentHistoryItem.repeatedFields_, null);
|
|
2536
|
+
};
|
|
2537
|
+
goog.inherits(proto.user.UserAntifraudAssessmentHistoryItem, jspb.Message);
|
|
2538
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2539
|
+
/**
|
|
2540
|
+
* @public
|
|
2541
|
+
* @override
|
|
2542
|
+
*/
|
|
2543
|
+
proto.user.UserAntifraudAssessmentHistoryItem.displayName = 'proto.user.UserAntifraudAssessmentHistoryItem';
|
|
2544
|
+
}
|
|
2545
|
+
/**
|
|
2546
|
+
* Generated by JsPbCodeGenerator.
|
|
2547
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2548
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2549
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2550
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2551
|
+
* valid.
|
|
2552
|
+
* @extends {jspb.Message}
|
|
2553
|
+
* @constructor
|
|
2554
|
+
*/
|
|
2555
|
+
proto.user.UserAntifraudAssessmentHistoryResponse = function(opt_data) {
|
|
2556
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserAntifraudAssessmentHistoryResponse.repeatedFields_, null);
|
|
2557
|
+
};
|
|
2558
|
+
goog.inherits(proto.user.UserAntifraudAssessmentHistoryResponse, jspb.Message);
|
|
2559
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2560
|
+
/**
|
|
2561
|
+
* @public
|
|
2562
|
+
* @override
|
|
2563
|
+
*/
|
|
2564
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.displayName = 'proto.user.UserAntifraudAssessmentHistoryResponse';
|
|
2565
|
+
}
|
|
2456
2566
|
/**
|
|
2457
2567
|
* Generated by JsPbCodeGenerator.
|
|
2458
2568
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -47930,6 +48040,1376 @@ proto.user.UserRiskProfileResponse.prototype.hasUpdatedAt = function() {
|
|
|
47930
48040
|
|
|
47931
48041
|
|
|
47932
48042
|
|
|
48043
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
48044
|
+
/**
|
|
48045
|
+
* Creates an object representation of this proto.
|
|
48046
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
48047
|
+
* Optional fields that are not set will be set to undefined.
|
|
48048
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
48049
|
+
* For the list of reserved names please see:
|
|
48050
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
48051
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
48052
|
+
* JSPB instance for transitional soy proto support:
|
|
48053
|
+
* http://goto/soy-param-migration
|
|
48054
|
+
* @return {!Object}
|
|
48055
|
+
*/
|
|
48056
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
48057
|
+
return proto.user.ReadUserAntifraudAssessmentHistoryRequest.toObject(opt_includeInstance, this);
|
|
48058
|
+
};
|
|
48059
|
+
|
|
48060
|
+
|
|
48061
|
+
/**
|
|
48062
|
+
* Static version of the {@see toObject} method.
|
|
48063
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
48064
|
+
* the JSPB instance for transitional soy proto support:
|
|
48065
|
+
* http://goto/soy-param-migration
|
|
48066
|
+
* @param {!proto.user.ReadUserAntifraudAssessmentHistoryRequest} msg The msg instance to transform.
|
|
48067
|
+
* @return {!Object}
|
|
48068
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48069
|
+
*/
|
|
48070
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.toObject = function(includeInstance, msg) {
|
|
48071
|
+
var f, obj = {
|
|
48072
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
48073
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
48074
|
+
offset: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
48075
|
+
};
|
|
48076
|
+
|
|
48077
|
+
if (includeInstance) {
|
|
48078
|
+
obj.$jspbMessageInstance = msg;
|
|
48079
|
+
}
|
|
48080
|
+
return obj;
|
|
48081
|
+
};
|
|
48082
|
+
}
|
|
48083
|
+
|
|
48084
|
+
|
|
48085
|
+
/**
|
|
48086
|
+
* Deserializes binary data (in protobuf wire format).
|
|
48087
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
48088
|
+
* @return {!proto.user.ReadUserAntifraudAssessmentHistoryRequest}
|
|
48089
|
+
*/
|
|
48090
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.deserializeBinary = function(bytes) {
|
|
48091
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
48092
|
+
var msg = new proto.user.ReadUserAntifraudAssessmentHistoryRequest;
|
|
48093
|
+
return proto.user.ReadUserAntifraudAssessmentHistoryRequest.deserializeBinaryFromReader(msg, reader);
|
|
48094
|
+
};
|
|
48095
|
+
|
|
48096
|
+
|
|
48097
|
+
/**
|
|
48098
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
48099
|
+
* given reader into the given message object.
|
|
48100
|
+
* @param {!proto.user.ReadUserAntifraudAssessmentHistoryRequest} msg The message object to deserialize into.
|
|
48101
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
48102
|
+
* @return {!proto.user.ReadUserAntifraudAssessmentHistoryRequest}
|
|
48103
|
+
*/
|
|
48104
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
48105
|
+
while (reader.nextField()) {
|
|
48106
|
+
if (reader.isEndGroup()) {
|
|
48107
|
+
break;
|
|
48108
|
+
}
|
|
48109
|
+
var field = reader.getFieldNumber();
|
|
48110
|
+
switch (field) {
|
|
48111
|
+
case 1:
|
|
48112
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
48113
|
+
msg.setUserId(value);
|
|
48114
|
+
break;
|
|
48115
|
+
case 2:
|
|
48116
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
48117
|
+
msg.setLimit(value);
|
|
48118
|
+
break;
|
|
48119
|
+
case 3:
|
|
48120
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
48121
|
+
msg.setOffset(value);
|
|
48122
|
+
break;
|
|
48123
|
+
default:
|
|
48124
|
+
reader.skipField();
|
|
48125
|
+
break;
|
|
48126
|
+
}
|
|
48127
|
+
}
|
|
48128
|
+
return msg;
|
|
48129
|
+
};
|
|
48130
|
+
|
|
48131
|
+
|
|
48132
|
+
/**
|
|
48133
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
48134
|
+
* @return {!Uint8Array}
|
|
48135
|
+
*/
|
|
48136
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.prototype.serializeBinary = function() {
|
|
48137
|
+
var writer = new jspb.BinaryWriter();
|
|
48138
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.serializeBinaryToWriter(this, writer);
|
|
48139
|
+
return writer.getResultBuffer();
|
|
48140
|
+
};
|
|
48141
|
+
|
|
48142
|
+
|
|
48143
|
+
/**
|
|
48144
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
48145
|
+
* format), writing to the given BinaryWriter.
|
|
48146
|
+
* @param {!proto.user.ReadUserAntifraudAssessmentHistoryRequest} message
|
|
48147
|
+
* @param {!jspb.BinaryWriter} writer
|
|
48148
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48149
|
+
*/
|
|
48150
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.serializeBinaryToWriter = function(message, writer) {
|
|
48151
|
+
var f = undefined;
|
|
48152
|
+
f = message.getUserId();
|
|
48153
|
+
if (f !== 0) {
|
|
48154
|
+
writer.writeInt32(
|
|
48155
|
+
1,
|
|
48156
|
+
f
|
|
48157
|
+
);
|
|
48158
|
+
}
|
|
48159
|
+
f = message.getLimit();
|
|
48160
|
+
if (f !== 0) {
|
|
48161
|
+
writer.writeInt32(
|
|
48162
|
+
2,
|
|
48163
|
+
f
|
|
48164
|
+
);
|
|
48165
|
+
}
|
|
48166
|
+
f = message.getOffset();
|
|
48167
|
+
if (f !== 0) {
|
|
48168
|
+
writer.writeInt32(
|
|
48169
|
+
3,
|
|
48170
|
+
f
|
|
48171
|
+
);
|
|
48172
|
+
}
|
|
48173
|
+
};
|
|
48174
|
+
|
|
48175
|
+
|
|
48176
|
+
/**
|
|
48177
|
+
* optional int32 user_id = 1;
|
|
48178
|
+
* @return {number}
|
|
48179
|
+
*/
|
|
48180
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.prototype.getUserId = function() {
|
|
48181
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
48182
|
+
};
|
|
48183
|
+
|
|
48184
|
+
|
|
48185
|
+
/**
|
|
48186
|
+
* @param {number} value
|
|
48187
|
+
* @return {!proto.user.ReadUserAntifraudAssessmentHistoryRequest} returns this
|
|
48188
|
+
*/
|
|
48189
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.prototype.setUserId = function(value) {
|
|
48190
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
48191
|
+
};
|
|
48192
|
+
|
|
48193
|
+
|
|
48194
|
+
/**
|
|
48195
|
+
* optional int32 limit = 2;
|
|
48196
|
+
* @return {number}
|
|
48197
|
+
*/
|
|
48198
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.prototype.getLimit = function() {
|
|
48199
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
48200
|
+
};
|
|
48201
|
+
|
|
48202
|
+
|
|
48203
|
+
/**
|
|
48204
|
+
* @param {number} value
|
|
48205
|
+
* @return {!proto.user.ReadUserAntifraudAssessmentHistoryRequest} returns this
|
|
48206
|
+
*/
|
|
48207
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.prototype.setLimit = function(value) {
|
|
48208
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
48209
|
+
};
|
|
48210
|
+
|
|
48211
|
+
|
|
48212
|
+
/**
|
|
48213
|
+
* optional int32 offset = 3;
|
|
48214
|
+
* @return {number}
|
|
48215
|
+
*/
|
|
48216
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.prototype.getOffset = function() {
|
|
48217
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
48218
|
+
};
|
|
48219
|
+
|
|
48220
|
+
|
|
48221
|
+
/**
|
|
48222
|
+
* @param {number} value
|
|
48223
|
+
* @return {!proto.user.ReadUserAntifraudAssessmentHistoryRequest} returns this
|
|
48224
|
+
*/
|
|
48225
|
+
proto.user.ReadUserAntifraudAssessmentHistoryRequest.prototype.setOffset = function(value) {
|
|
48226
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
48227
|
+
};
|
|
48228
|
+
|
|
48229
|
+
|
|
48230
|
+
|
|
48231
|
+
|
|
48232
|
+
|
|
48233
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
48234
|
+
/**
|
|
48235
|
+
* Creates an object representation of this proto.
|
|
48236
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
48237
|
+
* Optional fields that are not set will be set to undefined.
|
|
48238
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
48239
|
+
* For the list of reserved names please see:
|
|
48240
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
48241
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
48242
|
+
* JSPB instance for transitional soy proto support:
|
|
48243
|
+
* http://goto/soy-param-migration
|
|
48244
|
+
* @return {!Object}
|
|
48245
|
+
*/
|
|
48246
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.prototype.toObject = function(opt_includeInstance) {
|
|
48247
|
+
return proto.user.UserAntifraudAssessmentTriggerDetail.toObject(opt_includeInstance, this);
|
|
48248
|
+
};
|
|
48249
|
+
|
|
48250
|
+
|
|
48251
|
+
/**
|
|
48252
|
+
* Static version of the {@see toObject} method.
|
|
48253
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
48254
|
+
* the JSPB instance for transitional soy proto support:
|
|
48255
|
+
* http://goto/soy-param-migration
|
|
48256
|
+
* @param {!proto.user.UserAntifraudAssessmentTriggerDetail} msg The msg instance to transform.
|
|
48257
|
+
* @return {!Object}
|
|
48258
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48259
|
+
*/
|
|
48260
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.toObject = function(includeInstance, msg) {
|
|
48261
|
+
var f, obj = {
|
|
48262
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
48263
|
+
value: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
48264
|
+
};
|
|
48265
|
+
|
|
48266
|
+
if (includeInstance) {
|
|
48267
|
+
obj.$jspbMessageInstance = msg;
|
|
48268
|
+
}
|
|
48269
|
+
return obj;
|
|
48270
|
+
};
|
|
48271
|
+
}
|
|
48272
|
+
|
|
48273
|
+
|
|
48274
|
+
/**
|
|
48275
|
+
* Deserializes binary data (in protobuf wire format).
|
|
48276
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
48277
|
+
* @return {!proto.user.UserAntifraudAssessmentTriggerDetail}
|
|
48278
|
+
*/
|
|
48279
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.deserializeBinary = function(bytes) {
|
|
48280
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
48281
|
+
var msg = new proto.user.UserAntifraudAssessmentTriggerDetail;
|
|
48282
|
+
return proto.user.UserAntifraudAssessmentTriggerDetail.deserializeBinaryFromReader(msg, reader);
|
|
48283
|
+
};
|
|
48284
|
+
|
|
48285
|
+
|
|
48286
|
+
/**
|
|
48287
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
48288
|
+
* given reader into the given message object.
|
|
48289
|
+
* @param {!proto.user.UserAntifraudAssessmentTriggerDetail} msg The message object to deserialize into.
|
|
48290
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
48291
|
+
* @return {!proto.user.UserAntifraudAssessmentTriggerDetail}
|
|
48292
|
+
*/
|
|
48293
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
48294
|
+
while (reader.nextField()) {
|
|
48295
|
+
if (reader.isEndGroup()) {
|
|
48296
|
+
break;
|
|
48297
|
+
}
|
|
48298
|
+
var field = reader.getFieldNumber();
|
|
48299
|
+
switch (field) {
|
|
48300
|
+
case 1:
|
|
48301
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48302
|
+
msg.setKey(value);
|
|
48303
|
+
break;
|
|
48304
|
+
case 2:
|
|
48305
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48306
|
+
msg.setValue(value);
|
|
48307
|
+
break;
|
|
48308
|
+
default:
|
|
48309
|
+
reader.skipField();
|
|
48310
|
+
break;
|
|
48311
|
+
}
|
|
48312
|
+
}
|
|
48313
|
+
return msg;
|
|
48314
|
+
};
|
|
48315
|
+
|
|
48316
|
+
|
|
48317
|
+
/**
|
|
48318
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
48319
|
+
* @return {!Uint8Array}
|
|
48320
|
+
*/
|
|
48321
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.prototype.serializeBinary = function() {
|
|
48322
|
+
var writer = new jspb.BinaryWriter();
|
|
48323
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.serializeBinaryToWriter(this, writer);
|
|
48324
|
+
return writer.getResultBuffer();
|
|
48325
|
+
};
|
|
48326
|
+
|
|
48327
|
+
|
|
48328
|
+
/**
|
|
48329
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
48330
|
+
* format), writing to the given BinaryWriter.
|
|
48331
|
+
* @param {!proto.user.UserAntifraudAssessmentTriggerDetail} message
|
|
48332
|
+
* @param {!jspb.BinaryWriter} writer
|
|
48333
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48334
|
+
*/
|
|
48335
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.serializeBinaryToWriter = function(message, writer) {
|
|
48336
|
+
var f = undefined;
|
|
48337
|
+
f = message.getKey();
|
|
48338
|
+
if (f.length > 0) {
|
|
48339
|
+
writer.writeString(
|
|
48340
|
+
1,
|
|
48341
|
+
f
|
|
48342
|
+
);
|
|
48343
|
+
}
|
|
48344
|
+
f = message.getValue();
|
|
48345
|
+
if (f.length > 0) {
|
|
48346
|
+
writer.writeString(
|
|
48347
|
+
2,
|
|
48348
|
+
f
|
|
48349
|
+
);
|
|
48350
|
+
}
|
|
48351
|
+
};
|
|
48352
|
+
|
|
48353
|
+
|
|
48354
|
+
/**
|
|
48355
|
+
* optional string key = 1;
|
|
48356
|
+
* @return {string}
|
|
48357
|
+
*/
|
|
48358
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.prototype.getKey = function() {
|
|
48359
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
48360
|
+
};
|
|
48361
|
+
|
|
48362
|
+
|
|
48363
|
+
/**
|
|
48364
|
+
* @param {string} value
|
|
48365
|
+
* @return {!proto.user.UserAntifraudAssessmentTriggerDetail} returns this
|
|
48366
|
+
*/
|
|
48367
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.prototype.setKey = function(value) {
|
|
48368
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
48369
|
+
};
|
|
48370
|
+
|
|
48371
|
+
|
|
48372
|
+
/**
|
|
48373
|
+
* optional string value = 2;
|
|
48374
|
+
* @return {string}
|
|
48375
|
+
*/
|
|
48376
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.prototype.getValue = function() {
|
|
48377
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
48378
|
+
};
|
|
48379
|
+
|
|
48380
|
+
|
|
48381
|
+
/**
|
|
48382
|
+
* @param {string} value
|
|
48383
|
+
* @return {!proto.user.UserAntifraudAssessmentTriggerDetail} returns this
|
|
48384
|
+
*/
|
|
48385
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.prototype.setValue = function(value) {
|
|
48386
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
48387
|
+
};
|
|
48388
|
+
|
|
48389
|
+
|
|
48390
|
+
|
|
48391
|
+
/**
|
|
48392
|
+
* List of repeated fields within this message type.
|
|
48393
|
+
* @private {!Array<number>}
|
|
48394
|
+
* @const
|
|
48395
|
+
*/
|
|
48396
|
+
proto.user.UserAntifraudAssessmentTrigger.repeatedFields_ = [4];
|
|
48397
|
+
|
|
48398
|
+
|
|
48399
|
+
|
|
48400
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
48401
|
+
/**
|
|
48402
|
+
* Creates an object representation of this proto.
|
|
48403
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
48404
|
+
* Optional fields that are not set will be set to undefined.
|
|
48405
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
48406
|
+
* For the list of reserved names please see:
|
|
48407
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
48408
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
48409
|
+
* JSPB instance for transitional soy proto support:
|
|
48410
|
+
* http://goto/soy-param-migration
|
|
48411
|
+
* @return {!Object}
|
|
48412
|
+
*/
|
|
48413
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.toObject = function(opt_includeInstance) {
|
|
48414
|
+
return proto.user.UserAntifraudAssessmentTrigger.toObject(opt_includeInstance, this);
|
|
48415
|
+
};
|
|
48416
|
+
|
|
48417
|
+
|
|
48418
|
+
/**
|
|
48419
|
+
* Static version of the {@see toObject} method.
|
|
48420
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
48421
|
+
* the JSPB instance for transitional soy proto support:
|
|
48422
|
+
* http://goto/soy-param-migration
|
|
48423
|
+
* @param {!proto.user.UserAntifraudAssessmentTrigger} msg The msg instance to transform.
|
|
48424
|
+
* @return {!Object}
|
|
48425
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48426
|
+
*/
|
|
48427
|
+
proto.user.UserAntifraudAssessmentTrigger.toObject = function(includeInstance, msg) {
|
|
48428
|
+
var f, obj = {
|
|
48429
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
48430
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
48431
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
48432
|
+
detailsList: jspb.Message.toObjectList(msg.getDetailsList(),
|
|
48433
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.toObject, includeInstance)
|
|
48434
|
+
};
|
|
48435
|
+
|
|
48436
|
+
if (includeInstance) {
|
|
48437
|
+
obj.$jspbMessageInstance = msg;
|
|
48438
|
+
}
|
|
48439
|
+
return obj;
|
|
48440
|
+
};
|
|
48441
|
+
}
|
|
48442
|
+
|
|
48443
|
+
|
|
48444
|
+
/**
|
|
48445
|
+
* Deserializes binary data (in protobuf wire format).
|
|
48446
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
48447
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger}
|
|
48448
|
+
*/
|
|
48449
|
+
proto.user.UserAntifraudAssessmentTrigger.deserializeBinary = function(bytes) {
|
|
48450
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
48451
|
+
var msg = new proto.user.UserAntifraudAssessmentTrigger;
|
|
48452
|
+
return proto.user.UserAntifraudAssessmentTrigger.deserializeBinaryFromReader(msg, reader);
|
|
48453
|
+
};
|
|
48454
|
+
|
|
48455
|
+
|
|
48456
|
+
/**
|
|
48457
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
48458
|
+
* given reader into the given message object.
|
|
48459
|
+
* @param {!proto.user.UserAntifraudAssessmentTrigger} msg The message object to deserialize into.
|
|
48460
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
48461
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger}
|
|
48462
|
+
*/
|
|
48463
|
+
proto.user.UserAntifraudAssessmentTrigger.deserializeBinaryFromReader = function(msg, reader) {
|
|
48464
|
+
while (reader.nextField()) {
|
|
48465
|
+
if (reader.isEndGroup()) {
|
|
48466
|
+
break;
|
|
48467
|
+
}
|
|
48468
|
+
var field = reader.getFieldNumber();
|
|
48469
|
+
switch (field) {
|
|
48470
|
+
case 1:
|
|
48471
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48472
|
+
msg.setCode(value);
|
|
48473
|
+
break;
|
|
48474
|
+
case 2:
|
|
48475
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48476
|
+
msg.setName(value);
|
|
48477
|
+
break;
|
|
48478
|
+
case 3:
|
|
48479
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48480
|
+
msg.setDescription(value);
|
|
48481
|
+
break;
|
|
48482
|
+
case 4:
|
|
48483
|
+
var value = new proto.user.UserAntifraudAssessmentTriggerDetail;
|
|
48484
|
+
reader.readMessage(value,proto.user.UserAntifraudAssessmentTriggerDetail.deserializeBinaryFromReader);
|
|
48485
|
+
msg.addDetails(value);
|
|
48486
|
+
break;
|
|
48487
|
+
default:
|
|
48488
|
+
reader.skipField();
|
|
48489
|
+
break;
|
|
48490
|
+
}
|
|
48491
|
+
}
|
|
48492
|
+
return msg;
|
|
48493
|
+
};
|
|
48494
|
+
|
|
48495
|
+
|
|
48496
|
+
/**
|
|
48497
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
48498
|
+
* @return {!Uint8Array}
|
|
48499
|
+
*/
|
|
48500
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.serializeBinary = function() {
|
|
48501
|
+
var writer = new jspb.BinaryWriter();
|
|
48502
|
+
proto.user.UserAntifraudAssessmentTrigger.serializeBinaryToWriter(this, writer);
|
|
48503
|
+
return writer.getResultBuffer();
|
|
48504
|
+
};
|
|
48505
|
+
|
|
48506
|
+
|
|
48507
|
+
/**
|
|
48508
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
48509
|
+
* format), writing to the given BinaryWriter.
|
|
48510
|
+
* @param {!proto.user.UserAntifraudAssessmentTrigger} message
|
|
48511
|
+
* @param {!jspb.BinaryWriter} writer
|
|
48512
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48513
|
+
*/
|
|
48514
|
+
proto.user.UserAntifraudAssessmentTrigger.serializeBinaryToWriter = function(message, writer) {
|
|
48515
|
+
var f = undefined;
|
|
48516
|
+
f = message.getCode();
|
|
48517
|
+
if (f.length > 0) {
|
|
48518
|
+
writer.writeString(
|
|
48519
|
+
1,
|
|
48520
|
+
f
|
|
48521
|
+
);
|
|
48522
|
+
}
|
|
48523
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
48524
|
+
if (f != null) {
|
|
48525
|
+
writer.writeString(
|
|
48526
|
+
2,
|
|
48527
|
+
f
|
|
48528
|
+
);
|
|
48529
|
+
}
|
|
48530
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
48531
|
+
if (f != null) {
|
|
48532
|
+
writer.writeString(
|
|
48533
|
+
3,
|
|
48534
|
+
f
|
|
48535
|
+
);
|
|
48536
|
+
}
|
|
48537
|
+
f = message.getDetailsList();
|
|
48538
|
+
if (f.length > 0) {
|
|
48539
|
+
writer.writeRepeatedMessage(
|
|
48540
|
+
4,
|
|
48541
|
+
f,
|
|
48542
|
+
proto.user.UserAntifraudAssessmentTriggerDetail.serializeBinaryToWriter
|
|
48543
|
+
);
|
|
48544
|
+
}
|
|
48545
|
+
};
|
|
48546
|
+
|
|
48547
|
+
|
|
48548
|
+
/**
|
|
48549
|
+
* optional string code = 1;
|
|
48550
|
+
* @return {string}
|
|
48551
|
+
*/
|
|
48552
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.getCode = function() {
|
|
48553
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
48554
|
+
};
|
|
48555
|
+
|
|
48556
|
+
|
|
48557
|
+
/**
|
|
48558
|
+
* @param {string} value
|
|
48559
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger} returns this
|
|
48560
|
+
*/
|
|
48561
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.setCode = function(value) {
|
|
48562
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
48563
|
+
};
|
|
48564
|
+
|
|
48565
|
+
|
|
48566
|
+
/**
|
|
48567
|
+
* optional string name = 2;
|
|
48568
|
+
* @return {string}
|
|
48569
|
+
*/
|
|
48570
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.getName = function() {
|
|
48571
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
48572
|
+
};
|
|
48573
|
+
|
|
48574
|
+
|
|
48575
|
+
/**
|
|
48576
|
+
* @param {string} value
|
|
48577
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger} returns this
|
|
48578
|
+
*/
|
|
48579
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.setName = function(value) {
|
|
48580
|
+
return jspb.Message.setField(this, 2, value);
|
|
48581
|
+
};
|
|
48582
|
+
|
|
48583
|
+
|
|
48584
|
+
/**
|
|
48585
|
+
* Clears the field making it undefined.
|
|
48586
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger} returns this
|
|
48587
|
+
*/
|
|
48588
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.clearName = function() {
|
|
48589
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
48590
|
+
};
|
|
48591
|
+
|
|
48592
|
+
|
|
48593
|
+
/**
|
|
48594
|
+
* Returns whether this field is set.
|
|
48595
|
+
* @return {boolean}
|
|
48596
|
+
*/
|
|
48597
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.hasName = function() {
|
|
48598
|
+
return jspb.Message.getField(this, 2) != null;
|
|
48599
|
+
};
|
|
48600
|
+
|
|
48601
|
+
|
|
48602
|
+
/**
|
|
48603
|
+
* optional string description = 3;
|
|
48604
|
+
* @return {string}
|
|
48605
|
+
*/
|
|
48606
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.getDescription = function() {
|
|
48607
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
48608
|
+
};
|
|
48609
|
+
|
|
48610
|
+
|
|
48611
|
+
/**
|
|
48612
|
+
* @param {string} value
|
|
48613
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger} returns this
|
|
48614
|
+
*/
|
|
48615
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.setDescription = function(value) {
|
|
48616
|
+
return jspb.Message.setField(this, 3, value);
|
|
48617
|
+
};
|
|
48618
|
+
|
|
48619
|
+
|
|
48620
|
+
/**
|
|
48621
|
+
* Clears the field making it undefined.
|
|
48622
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger} returns this
|
|
48623
|
+
*/
|
|
48624
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.clearDescription = function() {
|
|
48625
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
48626
|
+
};
|
|
48627
|
+
|
|
48628
|
+
|
|
48629
|
+
/**
|
|
48630
|
+
* Returns whether this field is set.
|
|
48631
|
+
* @return {boolean}
|
|
48632
|
+
*/
|
|
48633
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.hasDescription = function() {
|
|
48634
|
+
return jspb.Message.getField(this, 3) != null;
|
|
48635
|
+
};
|
|
48636
|
+
|
|
48637
|
+
|
|
48638
|
+
/**
|
|
48639
|
+
* repeated UserAntifraudAssessmentTriggerDetail details = 4;
|
|
48640
|
+
* @return {!Array<!proto.user.UserAntifraudAssessmentTriggerDetail>}
|
|
48641
|
+
*/
|
|
48642
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.getDetailsList = function() {
|
|
48643
|
+
return /** @type{!Array<!proto.user.UserAntifraudAssessmentTriggerDetail>} */ (
|
|
48644
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.UserAntifraudAssessmentTriggerDetail, 4));
|
|
48645
|
+
};
|
|
48646
|
+
|
|
48647
|
+
|
|
48648
|
+
/**
|
|
48649
|
+
* @param {!Array<!proto.user.UserAntifraudAssessmentTriggerDetail>} value
|
|
48650
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger} returns this
|
|
48651
|
+
*/
|
|
48652
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.setDetailsList = function(value) {
|
|
48653
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
48654
|
+
};
|
|
48655
|
+
|
|
48656
|
+
|
|
48657
|
+
/**
|
|
48658
|
+
* @param {!proto.user.UserAntifraudAssessmentTriggerDetail=} opt_value
|
|
48659
|
+
* @param {number=} opt_index
|
|
48660
|
+
* @return {!proto.user.UserAntifraudAssessmentTriggerDetail}
|
|
48661
|
+
*/
|
|
48662
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.addDetails = function(opt_value, opt_index) {
|
|
48663
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.user.UserAntifraudAssessmentTriggerDetail, opt_index);
|
|
48664
|
+
};
|
|
48665
|
+
|
|
48666
|
+
|
|
48667
|
+
/**
|
|
48668
|
+
* Clears the list making it empty but non-null.
|
|
48669
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger} returns this
|
|
48670
|
+
*/
|
|
48671
|
+
proto.user.UserAntifraudAssessmentTrigger.prototype.clearDetailsList = function() {
|
|
48672
|
+
return this.setDetailsList([]);
|
|
48673
|
+
};
|
|
48674
|
+
|
|
48675
|
+
|
|
48676
|
+
|
|
48677
|
+
/**
|
|
48678
|
+
* List of repeated fields within this message type.
|
|
48679
|
+
* @private {!Array<number>}
|
|
48680
|
+
* @const
|
|
48681
|
+
*/
|
|
48682
|
+
proto.user.UserAntifraudAssessmentHistoryItem.repeatedFields_ = [8];
|
|
48683
|
+
|
|
48684
|
+
|
|
48685
|
+
|
|
48686
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
48687
|
+
/**
|
|
48688
|
+
* Creates an object representation of this proto.
|
|
48689
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
48690
|
+
* Optional fields that are not set will be set to undefined.
|
|
48691
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
48692
|
+
* For the list of reserved names please see:
|
|
48693
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
48694
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
48695
|
+
* JSPB instance for transitional soy proto support:
|
|
48696
|
+
* http://goto/soy-param-migration
|
|
48697
|
+
* @return {!Object}
|
|
48698
|
+
*/
|
|
48699
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.toObject = function(opt_includeInstance) {
|
|
48700
|
+
return proto.user.UserAntifraudAssessmentHistoryItem.toObject(opt_includeInstance, this);
|
|
48701
|
+
};
|
|
48702
|
+
|
|
48703
|
+
|
|
48704
|
+
/**
|
|
48705
|
+
* Static version of the {@see toObject} method.
|
|
48706
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
48707
|
+
* the JSPB instance for transitional soy proto support:
|
|
48708
|
+
* http://goto/soy-param-migration
|
|
48709
|
+
* @param {!proto.user.UserAntifraudAssessmentHistoryItem} msg The msg instance to transform.
|
|
48710
|
+
* @return {!Object}
|
|
48711
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48712
|
+
*/
|
|
48713
|
+
proto.user.UserAntifraudAssessmentHistoryItem.toObject = function(includeInstance, msg) {
|
|
48714
|
+
var f, obj = {
|
|
48715
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
48716
|
+
recordedAt: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
48717
|
+
provider: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
48718
|
+
eventType: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
48719
|
+
riskType: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
48720
|
+
score: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
48721
|
+
triggersAvailability: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
48722
|
+
triggersList: jspb.Message.toObjectList(msg.getTriggersList(),
|
|
48723
|
+
proto.user.UserAntifraudAssessmentTrigger.toObject, includeInstance)
|
|
48724
|
+
};
|
|
48725
|
+
|
|
48726
|
+
if (includeInstance) {
|
|
48727
|
+
obj.$jspbMessageInstance = msg;
|
|
48728
|
+
}
|
|
48729
|
+
return obj;
|
|
48730
|
+
};
|
|
48731
|
+
}
|
|
48732
|
+
|
|
48733
|
+
|
|
48734
|
+
/**
|
|
48735
|
+
* Deserializes binary data (in protobuf wire format).
|
|
48736
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
48737
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem}
|
|
48738
|
+
*/
|
|
48739
|
+
proto.user.UserAntifraudAssessmentHistoryItem.deserializeBinary = function(bytes) {
|
|
48740
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
48741
|
+
var msg = new proto.user.UserAntifraudAssessmentHistoryItem;
|
|
48742
|
+
return proto.user.UserAntifraudAssessmentHistoryItem.deserializeBinaryFromReader(msg, reader);
|
|
48743
|
+
};
|
|
48744
|
+
|
|
48745
|
+
|
|
48746
|
+
/**
|
|
48747
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
48748
|
+
* given reader into the given message object.
|
|
48749
|
+
* @param {!proto.user.UserAntifraudAssessmentHistoryItem} msg The message object to deserialize into.
|
|
48750
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
48751
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem}
|
|
48752
|
+
*/
|
|
48753
|
+
proto.user.UserAntifraudAssessmentHistoryItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
48754
|
+
while (reader.nextField()) {
|
|
48755
|
+
if (reader.isEndGroup()) {
|
|
48756
|
+
break;
|
|
48757
|
+
}
|
|
48758
|
+
var field = reader.getFieldNumber();
|
|
48759
|
+
switch (field) {
|
|
48760
|
+
case 1:
|
|
48761
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
48762
|
+
msg.setId(value);
|
|
48763
|
+
break;
|
|
48764
|
+
case 2:
|
|
48765
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48766
|
+
msg.setRecordedAt(value);
|
|
48767
|
+
break;
|
|
48768
|
+
case 3:
|
|
48769
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48770
|
+
msg.setProvider(value);
|
|
48771
|
+
break;
|
|
48772
|
+
case 4:
|
|
48773
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48774
|
+
msg.setEventType(value);
|
|
48775
|
+
break;
|
|
48776
|
+
case 5:
|
|
48777
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48778
|
+
msg.setRiskType(value);
|
|
48779
|
+
break;
|
|
48780
|
+
case 6:
|
|
48781
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48782
|
+
msg.setScore(value);
|
|
48783
|
+
break;
|
|
48784
|
+
case 7:
|
|
48785
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48786
|
+
msg.setTriggersAvailability(value);
|
|
48787
|
+
break;
|
|
48788
|
+
case 8:
|
|
48789
|
+
var value = new proto.user.UserAntifraudAssessmentTrigger;
|
|
48790
|
+
reader.readMessage(value,proto.user.UserAntifraudAssessmentTrigger.deserializeBinaryFromReader);
|
|
48791
|
+
msg.addTriggers(value);
|
|
48792
|
+
break;
|
|
48793
|
+
default:
|
|
48794
|
+
reader.skipField();
|
|
48795
|
+
break;
|
|
48796
|
+
}
|
|
48797
|
+
}
|
|
48798
|
+
return msg;
|
|
48799
|
+
};
|
|
48800
|
+
|
|
48801
|
+
|
|
48802
|
+
/**
|
|
48803
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
48804
|
+
* @return {!Uint8Array}
|
|
48805
|
+
*/
|
|
48806
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.serializeBinary = function() {
|
|
48807
|
+
var writer = new jspb.BinaryWriter();
|
|
48808
|
+
proto.user.UserAntifraudAssessmentHistoryItem.serializeBinaryToWriter(this, writer);
|
|
48809
|
+
return writer.getResultBuffer();
|
|
48810
|
+
};
|
|
48811
|
+
|
|
48812
|
+
|
|
48813
|
+
/**
|
|
48814
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
48815
|
+
* format), writing to the given BinaryWriter.
|
|
48816
|
+
* @param {!proto.user.UserAntifraudAssessmentHistoryItem} message
|
|
48817
|
+
* @param {!jspb.BinaryWriter} writer
|
|
48818
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48819
|
+
*/
|
|
48820
|
+
proto.user.UserAntifraudAssessmentHistoryItem.serializeBinaryToWriter = function(message, writer) {
|
|
48821
|
+
var f = undefined;
|
|
48822
|
+
f = message.getId();
|
|
48823
|
+
if (f !== 0) {
|
|
48824
|
+
writer.writeInt32(
|
|
48825
|
+
1,
|
|
48826
|
+
f
|
|
48827
|
+
);
|
|
48828
|
+
}
|
|
48829
|
+
f = message.getRecordedAt();
|
|
48830
|
+
if (f.length > 0) {
|
|
48831
|
+
writer.writeString(
|
|
48832
|
+
2,
|
|
48833
|
+
f
|
|
48834
|
+
);
|
|
48835
|
+
}
|
|
48836
|
+
f = message.getProvider();
|
|
48837
|
+
if (f.length > 0) {
|
|
48838
|
+
writer.writeString(
|
|
48839
|
+
3,
|
|
48840
|
+
f
|
|
48841
|
+
);
|
|
48842
|
+
}
|
|
48843
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
48844
|
+
if (f != null) {
|
|
48845
|
+
writer.writeString(
|
|
48846
|
+
4,
|
|
48847
|
+
f
|
|
48848
|
+
);
|
|
48849
|
+
}
|
|
48850
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
48851
|
+
if (f != null) {
|
|
48852
|
+
writer.writeString(
|
|
48853
|
+
5,
|
|
48854
|
+
f
|
|
48855
|
+
);
|
|
48856
|
+
}
|
|
48857
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
48858
|
+
if (f != null) {
|
|
48859
|
+
writer.writeString(
|
|
48860
|
+
6,
|
|
48861
|
+
f
|
|
48862
|
+
);
|
|
48863
|
+
}
|
|
48864
|
+
f = message.getTriggersAvailability();
|
|
48865
|
+
if (f.length > 0) {
|
|
48866
|
+
writer.writeString(
|
|
48867
|
+
7,
|
|
48868
|
+
f
|
|
48869
|
+
);
|
|
48870
|
+
}
|
|
48871
|
+
f = message.getTriggersList();
|
|
48872
|
+
if (f.length > 0) {
|
|
48873
|
+
writer.writeRepeatedMessage(
|
|
48874
|
+
8,
|
|
48875
|
+
f,
|
|
48876
|
+
proto.user.UserAntifraudAssessmentTrigger.serializeBinaryToWriter
|
|
48877
|
+
);
|
|
48878
|
+
}
|
|
48879
|
+
};
|
|
48880
|
+
|
|
48881
|
+
|
|
48882
|
+
/**
|
|
48883
|
+
* optional int32 id = 1;
|
|
48884
|
+
* @return {number}
|
|
48885
|
+
*/
|
|
48886
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.getId = function() {
|
|
48887
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
48888
|
+
};
|
|
48889
|
+
|
|
48890
|
+
|
|
48891
|
+
/**
|
|
48892
|
+
* @param {number} value
|
|
48893
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
48894
|
+
*/
|
|
48895
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.setId = function(value) {
|
|
48896
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
48897
|
+
};
|
|
48898
|
+
|
|
48899
|
+
|
|
48900
|
+
/**
|
|
48901
|
+
* optional string recorded_at = 2;
|
|
48902
|
+
* @return {string}
|
|
48903
|
+
*/
|
|
48904
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.getRecordedAt = function() {
|
|
48905
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
48906
|
+
};
|
|
48907
|
+
|
|
48908
|
+
|
|
48909
|
+
/**
|
|
48910
|
+
* @param {string} value
|
|
48911
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
48912
|
+
*/
|
|
48913
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.setRecordedAt = function(value) {
|
|
48914
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
48915
|
+
};
|
|
48916
|
+
|
|
48917
|
+
|
|
48918
|
+
/**
|
|
48919
|
+
* optional string provider = 3;
|
|
48920
|
+
* @return {string}
|
|
48921
|
+
*/
|
|
48922
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.getProvider = function() {
|
|
48923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
48924
|
+
};
|
|
48925
|
+
|
|
48926
|
+
|
|
48927
|
+
/**
|
|
48928
|
+
* @param {string} value
|
|
48929
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
48930
|
+
*/
|
|
48931
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.setProvider = function(value) {
|
|
48932
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
48933
|
+
};
|
|
48934
|
+
|
|
48935
|
+
|
|
48936
|
+
/**
|
|
48937
|
+
* optional string event_type = 4;
|
|
48938
|
+
* @return {string}
|
|
48939
|
+
*/
|
|
48940
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.getEventType = function() {
|
|
48941
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
48942
|
+
};
|
|
48943
|
+
|
|
48944
|
+
|
|
48945
|
+
/**
|
|
48946
|
+
* @param {string} value
|
|
48947
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
48948
|
+
*/
|
|
48949
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.setEventType = function(value) {
|
|
48950
|
+
return jspb.Message.setField(this, 4, value);
|
|
48951
|
+
};
|
|
48952
|
+
|
|
48953
|
+
|
|
48954
|
+
/**
|
|
48955
|
+
* Clears the field making it undefined.
|
|
48956
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
48957
|
+
*/
|
|
48958
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.clearEventType = function() {
|
|
48959
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
48960
|
+
};
|
|
48961
|
+
|
|
48962
|
+
|
|
48963
|
+
/**
|
|
48964
|
+
* Returns whether this field is set.
|
|
48965
|
+
* @return {boolean}
|
|
48966
|
+
*/
|
|
48967
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.hasEventType = function() {
|
|
48968
|
+
return jspb.Message.getField(this, 4) != null;
|
|
48969
|
+
};
|
|
48970
|
+
|
|
48971
|
+
|
|
48972
|
+
/**
|
|
48973
|
+
* optional string risk_type = 5;
|
|
48974
|
+
* @return {string}
|
|
48975
|
+
*/
|
|
48976
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.getRiskType = function() {
|
|
48977
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
48978
|
+
};
|
|
48979
|
+
|
|
48980
|
+
|
|
48981
|
+
/**
|
|
48982
|
+
* @param {string} value
|
|
48983
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
48984
|
+
*/
|
|
48985
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.setRiskType = function(value) {
|
|
48986
|
+
return jspb.Message.setField(this, 5, value);
|
|
48987
|
+
};
|
|
48988
|
+
|
|
48989
|
+
|
|
48990
|
+
/**
|
|
48991
|
+
* Clears the field making it undefined.
|
|
48992
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
48993
|
+
*/
|
|
48994
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.clearRiskType = function() {
|
|
48995
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
48996
|
+
};
|
|
48997
|
+
|
|
48998
|
+
|
|
48999
|
+
/**
|
|
49000
|
+
* Returns whether this field is set.
|
|
49001
|
+
* @return {boolean}
|
|
49002
|
+
*/
|
|
49003
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.hasRiskType = function() {
|
|
49004
|
+
return jspb.Message.getField(this, 5) != null;
|
|
49005
|
+
};
|
|
49006
|
+
|
|
49007
|
+
|
|
49008
|
+
/**
|
|
49009
|
+
* optional string score = 6;
|
|
49010
|
+
* @return {string}
|
|
49011
|
+
*/
|
|
49012
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.getScore = function() {
|
|
49013
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
49014
|
+
};
|
|
49015
|
+
|
|
49016
|
+
|
|
49017
|
+
/**
|
|
49018
|
+
* @param {string} value
|
|
49019
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
49020
|
+
*/
|
|
49021
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.setScore = function(value) {
|
|
49022
|
+
return jspb.Message.setField(this, 6, value);
|
|
49023
|
+
};
|
|
49024
|
+
|
|
49025
|
+
|
|
49026
|
+
/**
|
|
49027
|
+
* Clears the field making it undefined.
|
|
49028
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
49029
|
+
*/
|
|
49030
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.clearScore = function() {
|
|
49031
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
49032
|
+
};
|
|
49033
|
+
|
|
49034
|
+
|
|
49035
|
+
/**
|
|
49036
|
+
* Returns whether this field is set.
|
|
49037
|
+
* @return {boolean}
|
|
49038
|
+
*/
|
|
49039
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.hasScore = function() {
|
|
49040
|
+
return jspb.Message.getField(this, 6) != null;
|
|
49041
|
+
};
|
|
49042
|
+
|
|
49043
|
+
|
|
49044
|
+
/**
|
|
49045
|
+
* optional string triggers_availability = 7;
|
|
49046
|
+
* @return {string}
|
|
49047
|
+
*/
|
|
49048
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.getTriggersAvailability = function() {
|
|
49049
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
49050
|
+
};
|
|
49051
|
+
|
|
49052
|
+
|
|
49053
|
+
/**
|
|
49054
|
+
* @param {string} value
|
|
49055
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
49056
|
+
*/
|
|
49057
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.setTriggersAvailability = function(value) {
|
|
49058
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
49059
|
+
};
|
|
49060
|
+
|
|
49061
|
+
|
|
49062
|
+
/**
|
|
49063
|
+
* repeated UserAntifraudAssessmentTrigger triggers = 8;
|
|
49064
|
+
* @return {!Array<!proto.user.UserAntifraudAssessmentTrigger>}
|
|
49065
|
+
*/
|
|
49066
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.getTriggersList = function() {
|
|
49067
|
+
return /** @type{!Array<!proto.user.UserAntifraudAssessmentTrigger>} */ (
|
|
49068
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.UserAntifraudAssessmentTrigger, 8));
|
|
49069
|
+
};
|
|
49070
|
+
|
|
49071
|
+
|
|
49072
|
+
/**
|
|
49073
|
+
* @param {!Array<!proto.user.UserAntifraudAssessmentTrigger>} value
|
|
49074
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
49075
|
+
*/
|
|
49076
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.setTriggersList = function(value) {
|
|
49077
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
49078
|
+
};
|
|
49079
|
+
|
|
49080
|
+
|
|
49081
|
+
/**
|
|
49082
|
+
* @param {!proto.user.UserAntifraudAssessmentTrigger=} opt_value
|
|
49083
|
+
* @param {number=} opt_index
|
|
49084
|
+
* @return {!proto.user.UserAntifraudAssessmentTrigger}
|
|
49085
|
+
*/
|
|
49086
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.addTriggers = function(opt_value, opt_index) {
|
|
49087
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.user.UserAntifraudAssessmentTrigger, opt_index);
|
|
49088
|
+
};
|
|
49089
|
+
|
|
49090
|
+
|
|
49091
|
+
/**
|
|
49092
|
+
* Clears the list making it empty but non-null.
|
|
49093
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem} returns this
|
|
49094
|
+
*/
|
|
49095
|
+
proto.user.UserAntifraudAssessmentHistoryItem.prototype.clearTriggersList = function() {
|
|
49096
|
+
return this.setTriggersList([]);
|
|
49097
|
+
};
|
|
49098
|
+
|
|
49099
|
+
|
|
49100
|
+
|
|
49101
|
+
/**
|
|
49102
|
+
* List of repeated fields within this message type.
|
|
49103
|
+
* @private {!Array<number>}
|
|
49104
|
+
* @const
|
|
49105
|
+
*/
|
|
49106
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.repeatedFields_ = [2];
|
|
49107
|
+
|
|
49108
|
+
|
|
49109
|
+
|
|
49110
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49111
|
+
/**
|
|
49112
|
+
* Creates an object representation of this proto.
|
|
49113
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
49114
|
+
* Optional fields that are not set will be set to undefined.
|
|
49115
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49116
|
+
* For the list of reserved names please see:
|
|
49117
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
49118
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
49119
|
+
* JSPB instance for transitional soy proto support:
|
|
49120
|
+
* http://goto/soy-param-migration
|
|
49121
|
+
* @return {!Object}
|
|
49122
|
+
*/
|
|
49123
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.toObject = function(opt_includeInstance) {
|
|
49124
|
+
return proto.user.UserAntifraudAssessmentHistoryResponse.toObject(opt_includeInstance, this);
|
|
49125
|
+
};
|
|
49126
|
+
|
|
49127
|
+
|
|
49128
|
+
/**
|
|
49129
|
+
* Static version of the {@see toObject} method.
|
|
49130
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
49131
|
+
* the JSPB instance for transitional soy proto support:
|
|
49132
|
+
* http://goto/soy-param-migration
|
|
49133
|
+
* @param {!proto.user.UserAntifraudAssessmentHistoryResponse} msg The msg instance to transform.
|
|
49134
|
+
* @return {!Object}
|
|
49135
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49136
|
+
*/
|
|
49137
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.toObject = function(includeInstance, msg) {
|
|
49138
|
+
var f, obj = {
|
|
49139
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
49140
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
49141
|
+
proto.user.UserAntifraudAssessmentHistoryItem.toObject, includeInstance),
|
|
49142
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
49143
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
49144
|
+
limit: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
49145
|
+
offset: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
49146
|
+
};
|
|
49147
|
+
|
|
49148
|
+
if (includeInstance) {
|
|
49149
|
+
obj.$jspbMessageInstance = msg;
|
|
49150
|
+
}
|
|
49151
|
+
return obj;
|
|
49152
|
+
};
|
|
49153
|
+
}
|
|
49154
|
+
|
|
49155
|
+
|
|
49156
|
+
/**
|
|
49157
|
+
* Deserializes binary data (in protobuf wire format).
|
|
49158
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
49159
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse}
|
|
49160
|
+
*/
|
|
49161
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.deserializeBinary = function(bytes) {
|
|
49162
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
49163
|
+
var msg = new proto.user.UserAntifraudAssessmentHistoryResponse;
|
|
49164
|
+
return proto.user.UserAntifraudAssessmentHistoryResponse.deserializeBinaryFromReader(msg, reader);
|
|
49165
|
+
};
|
|
49166
|
+
|
|
49167
|
+
|
|
49168
|
+
/**
|
|
49169
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
49170
|
+
* given reader into the given message object.
|
|
49171
|
+
* @param {!proto.user.UserAntifraudAssessmentHistoryResponse} msg The message object to deserialize into.
|
|
49172
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
49173
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse}
|
|
49174
|
+
*/
|
|
49175
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
49176
|
+
while (reader.nextField()) {
|
|
49177
|
+
if (reader.isEndGroup()) {
|
|
49178
|
+
break;
|
|
49179
|
+
}
|
|
49180
|
+
var field = reader.getFieldNumber();
|
|
49181
|
+
switch (field) {
|
|
49182
|
+
case 1:
|
|
49183
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
49184
|
+
msg.setUserId(value);
|
|
49185
|
+
break;
|
|
49186
|
+
case 2:
|
|
49187
|
+
var value = new proto.user.UserAntifraudAssessmentHistoryItem;
|
|
49188
|
+
reader.readMessage(value,proto.user.UserAntifraudAssessmentHistoryItem.deserializeBinaryFromReader);
|
|
49189
|
+
msg.addItems(value);
|
|
49190
|
+
break;
|
|
49191
|
+
case 3:
|
|
49192
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
49193
|
+
msg.setTotalItems(value);
|
|
49194
|
+
break;
|
|
49195
|
+
case 4:
|
|
49196
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
49197
|
+
msg.setTotalPages(value);
|
|
49198
|
+
break;
|
|
49199
|
+
case 5:
|
|
49200
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
49201
|
+
msg.setLimit(value);
|
|
49202
|
+
break;
|
|
49203
|
+
case 6:
|
|
49204
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
49205
|
+
msg.setOffset(value);
|
|
49206
|
+
break;
|
|
49207
|
+
default:
|
|
49208
|
+
reader.skipField();
|
|
49209
|
+
break;
|
|
49210
|
+
}
|
|
49211
|
+
}
|
|
49212
|
+
return msg;
|
|
49213
|
+
};
|
|
49214
|
+
|
|
49215
|
+
|
|
49216
|
+
/**
|
|
49217
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
49218
|
+
* @return {!Uint8Array}
|
|
49219
|
+
*/
|
|
49220
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.serializeBinary = function() {
|
|
49221
|
+
var writer = new jspb.BinaryWriter();
|
|
49222
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.serializeBinaryToWriter(this, writer);
|
|
49223
|
+
return writer.getResultBuffer();
|
|
49224
|
+
};
|
|
49225
|
+
|
|
49226
|
+
|
|
49227
|
+
/**
|
|
49228
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
49229
|
+
* format), writing to the given BinaryWriter.
|
|
49230
|
+
* @param {!proto.user.UserAntifraudAssessmentHistoryResponse} message
|
|
49231
|
+
* @param {!jspb.BinaryWriter} writer
|
|
49232
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49233
|
+
*/
|
|
49234
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.serializeBinaryToWriter = function(message, writer) {
|
|
49235
|
+
var f = undefined;
|
|
49236
|
+
f = message.getUserId();
|
|
49237
|
+
if (f !== 0) {
|
|
49238
|
+
writer.writeInt32(
|
|
49239
|
+
1,
|
|
49240
|
+
f
|
|
49241
|
+
);
|
|
49242
|
+
}
|
|
49243
|
+
f = message.getItemsList();
|
|
49244
|
+
if (f.length > 0) {
|
|
49245
|
+
writer.writeRepeatedMessage(
|
|
49246
|
+
2,
|
|
49247
|
+
f,
|
|
49248
|
+
proto.user.UserAntifraudAssessmentHistoryItem.serializeBinaryToWriter
|
|
49249
|
+
);
|
|
49250
|
+
}
|
|
49251
|
+
f = message.getTotalItems();
|
|
49252
|
+
if (f !== 0) {
|
|
49253
|
+
writer.writeInt32(
|
|
49254
|
+
3,
|
|
49255
|
+
f
|
|
49256
|
+
);
|
|
49257
|
+
}
|
|
49258
|
+
f = message.getTotalPages();
|
|
49259
|
+
if (f !== 0) {
|
|
49260
|
+
writer.writeInt32(
|
|
49261
|
+
4,
|
|
49262
|
+
f
|
|
49263
|
+
);
|
|
49264
|
+
}
|
|
49265
|
+
f = message.getLimit();
|
|
49266
|
+
if (f !== 0) {
|
|
49267
|
+
writer.writeInt32(
|
|
49268
|
+
5,
|
|
49269
|
+
f
|
|
49270
|
+
);
|
|
49271
|
+
}
|
|
49272
|
+
f = message.getOffset();
|
|
49273
|
+
if (f !== 0) {
|
|
49274
|
+
writer.writeInt32(
|
|
49275
|
+
6,
|
|
49276
|
+
f
|
|
49277
|
+
);
|
|
49278
|
+
}
|
|
49279
|
+
};
|
|
49280
|
+
|
|
49281
|
+
|
|
49282
|
+
/**
|
|
49283
|
+
* optional int32 user_id = 1;
|
|
49284
|
+
* @return {number}
|
|
49285
|
+
*/
|
|
49286
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.getUserId = function() {
|
|
49287
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
49288
|
+
};
|
|
49289
|
+
|
|
49290
|
+
|
|
49291
|
+
/**
|
|
49292
|
+
* @param {number} value
|
|
49293
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse} returns this
|
|
49294
|
+
*/
|
|
49295
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.setUserId = function(value) {
|
|
49296
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
49297
|
+
};
|
|
49298
|
+
|
|
49299
|
+
|
|
49300
|
+
/**
|
|
49301
|
+
* repeated UserAntifraudAssessmentHistoryItem items = 2;
|
|
49302
|
+
* @return {!Array<!proto.user.UserAntifraudAssessmentHistoryItem>}
|
|
49303
|
+
*/
|
|
49304
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.getItemsList = function() {
|
|
49305
|
+
return /** @type{!Array<!proto.user.UserAntifraudAssessmentHistoryItem>} */ (
|
|
49306
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.UserAntifraudAssessmentHistoryItem, 2));
|
|
49307
|
+
};
|
|
49308
|
+
|
|
49309
|
+
|
|
49310
|
+
/**
|
|
49311
|
+
* @param {!Array<!proto.user.UserAntifraudAssessmentHistoryItem>} value
|
|
49312
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse} returns this
|
|
49313
|
+
*/
|
|
49314
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.setItemsList = function(value) {
|
|
49315
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
49316
|
+
};
|
|
49317
|
+
|
|
49318
|
+
|
|
49319
|
+
/**
|
|
49320
|
+
* @param {!proto.user.UserAntifraudAssessmentHistoryItem=} opt_value
|
|
49321
|
+
* @param {number=} opt_index
|
|
49322
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryItem}
|
|
49323
|
+
*/
|
|
49324
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
49325
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.user.UserAntifraudAssessmentHistoryItem, opt_index);
|
|
49326
|
+
};
|
|
49327
|
+
|
|
49328
|
+
|
|
49329
|
+
/**
|
|
49330
|
+
* Clears the list making it empty but non-null.
|
|
49331
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse} returns this
|
|
49332
|
+
*/
|
|
49333
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.clearItemsList = function() {
|
|
49334
|
+
return this.setItemsList([]);
|
|
49335
|
+
};
|
|
49336
|
+
|
|
49337
|
+
|
|
49338
|
+
/**
|
|
49339
|
+
* optional int32 total_items = 3;
|
|
49340
|
+
* @return {number}
|
|
49341
|
+
*/
|
|
49342
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.getTotalItems = function() {
|
|
49343
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
49344
|
+
};
|
|
49345
|
+
|
|
49346
|
+
|
|
49347
|
+
/**
|
|
49348
|
+
* @param {number} value
|
|
49349
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse} returns this
|
|
49350
|
+
*/
|
|
49351
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.setTotalItems = function(value) {
|
|
49352
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
49353
|
+
};
|
|
49354
|
+
|
|
49355
|
+
|
|
49356
|
+
/**
|
|
49357
|
+
* optional int32 total_pages = 4;
|
|
49358
|
+
* @return {number}
|
|
49359
|
+
*/
|
|
49360
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.getTotalPages = function() {
|
|
49361
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
49362
|
+
};
|
|
49363
|
+
|
|
49364
|
+
|
|
49365
|
+
/**
|
|
49366
|
+
* @param {number} value
|
|
49367
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse} returns this
|
|
49368
|
+
*/
|
|
49369
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.setTotalPages = function(value) {
|
|
49370
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
49371
|
+
};
|
|
49372
|
+
|
|
49373
|
+
|
|
49374
|
+
/**
|
|
49375
|
+
* optional int32 limit = 5;
|
|
49376
|
+
* @return {number}
|
|
49377
|
+
*/
|
|
49378
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.getLimit = function() {
|
|
49379
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
49380
|
+
};
|
|
49381
|
+
|
|
49382
|
+
|
|
49383
|
+
/**
|
|
49384
|
+
* @param {number} value
|
|
49385
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse} returns this
|
|
49386
|
+
*/
|
|
49387
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.setLimit = function(value) {
|
|
49388
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
49389
|
+
};
|
|
49390
|
+
|
|
49391
|
+
|
|
49392
|
+
/**
|
|
49393
|
+
* optional int32 offset = 6;
|
|
49394
|
+
* @return {number}
|
|
49395
|
+
*/
|
|
49396
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.getOffset = function() {
|
|
49397
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
49398
|
+
};
|
|
49399
|
+
|
|
49400
|
+
|
|
49401
|
+
/**
|
|
49402
|
+
* @param {number} value
|
|
49403
|
+
* @return {!proto.user.UserAntifraudAssessmentHistoryResponse} returns this
|
|
49404
|
+
*/
|
|
49405
|
+
proto.user.UserAntifraudAssessmentHistoryResponse.prototype.setOffset = function(value) {
|
|
49406
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
49407
|
+
};
|
|
49408
|
+
|
|
49409
|
+
|
|
49410
|
+
|
|
49411
|
+
|
|
49412
|
+
|
|
47933
49413
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
47934
49414
|
/**
|
|
47935
49415
|
* Creates an object representation of this proto.
|