@aldiokta/protocgen 1.1.67 → 1.1.68
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/prisca/v1/audit_trail/audit_trail_grpc_pb.js +92 -0
- package/prisca/v1/audit_trail/audit_trail_pb.js +2107 -0
- package/prisca/v1/bidding/bidding_pb.js +61 -1
- package/prisca/v1/business_partner/business_partner_grpc_pb.js +334 -0
- package/prisca/v1/business_partner/business_partner_pb.js +5244 -0
- package/prisca/v1/core/bp_config/bp_config_grpc_pb.js +697 -0
- package/prisca/v1/core/bp_config/bp_config_pb.js +10812 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +340 -10
- package/prisca/v1/core/job_title/job_title_pb.js +31 -1
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +73 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +2027 -0
- package/prisca/v1/core/material_sales/material_account_assignment_group_grpc_pb.js +183 -0
- package/prisca/v1/core/material_sales/material_account_assignment_group_pb.js +2658 -0
- package/prisca/v1/core/material_sales/material_division_grpc_pb.js +199 -0
- package/prisca/v1/core/material_sales/material_division_pb.js +2706 -0
- package/prisca/v1/core/material_sales/material_item_category_group_grpc_pb.js +183 -0
- package/prisca/v1/core/material_sales/material_item_category_group_pb.js +2658 -0
- package/prisca/v1/core/material_sales/material_plant_grpc_pb.js +193 -0
- package/prisca/v1/core/material_sales/material_plant_pb.js +2757 -0
- package/prisca/v1/core/material_sales/material_sales_eligibility_grpc_pb.js +62 -0
- package/prisca/v1/core/material_sales/material_sales_eligibility_pb.js +475 -0
- package/prisca/v1/core/material_sales/material_sales_org_grpc_pb.js +191 -0
- package/prisca/v1/core/material_sales/material_sales_org_pb.js +2937 -0
- package/prisca/v1/core/material_sales/material_tax_classification_grpc_pb.js +193 -0
- package/prisca/v1/core/material_sales/material_tax_classification_pb.js +2817 -0
- package/prisca/v1/core/material_sales/material_tax_classification_value_grpc_pb.js +194 -0
- package/prisca/v1/core/material_sales/material_tax_classification_value_pb.js +2868 -0
- package/prisca/v1/core/material_sales/material_withholding_tax_group_grpc_pb.js +188 -0
- package/prisca/v1/core/material_sales/material_withholding_tax_group_pb.js +2658 -0
- package/prisca/v1/core/sales_org/distribution_channel_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/distribution_channel_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_address_grpc_pb.js +1 -0
- package/prisca/v1/core/sales_org/sales_address_pb.js +380 -0
- package/prisca/v1/core/sales_org/sales_area_grpc_pb.js +157 -0
- package/prisca/v1/core/sales_org/sales_area_pb.js +2381 -0
- package/prisca/v1/core/sales_org/sales_division_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/sales_division_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_group_assignment_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_group_assignment_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_group_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/sales_group_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_office_assignment_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_office_assignment_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_office_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/sales_office_pb.js +2762 -0
- package/prisca/v1/core/sales_org/sales_org_distribution_channel_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_org_distribution_channel_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_org_division_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_org_division_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_org_plant_grpc_pb.js +152 -0
- package/prisca/v1/core/sales_org/sales_org_plant_pb.js +2291 -0
- package/prisca/v1/core/sales_org/sales_organization_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/sales_organization_pb.js +2822 -0
- package/prisca/v1/core/sales_org/shipping_point_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/shipping_point_pb.js +2762 -0
- package/prisca/v1/core/sales_org/shipping_point_plant_grpc_pb.js +152 -0
- package/prisca/v1/core/sales_org/shipping_point_plant_pb.js +2231 -0
- package/prisca/v1/core/transaction_type/transaction_type_grpc_pb.js +147 -0
- package/prisca/v1/core/transaction_type/transaction_type_pb.js +2587 -0
- package/prisca/v1/customer/customer_grpc_pb.js +184 -0
- package/prisca/v1/customer/customer_pb.js +3498 -0
- package/prisca/v1/customer/customer_registration_grpc_pb.js +93 -0
- package/prisca/v1/customer/customer_registration_pb.js +1300 -0
- package/prisca/v1/customer/customer_sales_area_grpc_pb.js +256 -0
- package/prisca/v1/customer/customer_sales_area_pb.js +4681 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +61 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
- package/prisca/v1/invoice/invoice_pb.js +62 -2
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +87 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +1015 -5
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +31 -1
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +152 -2
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +94 -15
|
@@ -21,6 +21,8 @@ var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/em
|
|
|
21
21
|
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
22
22
|
var prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb = require('../../../../prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js');
|
|
23
23
|
goog.object.extend(proto, prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb);
|
|
24
|
+
var prisca_v1_core_workflow_workflow_pb = require('../../../../prisca/v1/core/workflow/workflow_pb.js');
|
|
25
|
+
goog.object.extend(proto, prisca_v1_core_workflow_workflow_pb);
|
|
24
26
|
goog.exportSymbol('proto.BaseLineOfApprovalRequest', null, global);
|
|
25
27
|
goog.exportSymbol('proto.BaseListAllLineOfApproval', null, global);
|
|
26
28
|
goog.exportSymbol('proto.CreateLineOfApprovalRequest', null, global);
|
|
@@ -35,9 +37,15 @@ goog.exportSymbol('proto.GetListLineOfApprovalResponse', null, global);
|
|
|
35
37
|
goog.exportSymbol('proto.GetListOverViewApprovalRes', null, global);
|
|
36
38
|
goog.exportSymbol('proto.GetVendorLineOfApprovalResponse', null, global);
|
|
37
39
|
goog.exportSymbol('proto.LineOfApproval', null, global);
|
|
40
|
+
goog.exportSymbol('proto.MatchWorkflowRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.MatchWorkflowResponse', null, global);
|
|
42
|
+
goog.exportSymbol('proto.PreviewApprover', null, global);
|
|
43
|
+
goog.exportSymbol('proto.PreviewLineOfApprovalRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.PreviewLineOfApprovalResponse', null, global);
|
|
38
45
|
goog.exportSymbol('proto.UpdateLineOfApprovalRequest', null, global);
|
|
39
46
|
goog.exportSymbol('proto.UpdateLineOfApprovalResponse', null, global);
|
|
40
47
|
goog.exportSymbol('proto.VendorLineOfApproval', null, global);
|
|
48
|
+
goog.exportSymbol('proto.WorkflowCandidate', null, global);
|
|
41
49
|
/**
|
|
42
50
|
* Generated by JsPbCodeGenerator.
|
|
43
51
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -395,6 +403,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
395
403
|
*/
|
|
396
404
|
proto.GetListOverViewApprovalRes.displayName = 'proto.GetListOverViewApprovalRes';
|
|
397
405
|
}
|
|
406
|
+
/**
|
|
407
|
+
* Generated by JsPbCodeGenerator.
|
|
408
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
409
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
410
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
411
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
412
|
+
* valid.
|
|
413
|
+
* @extends {jspb.Message}
|
|
414
|
+
* @constructor
|
|
415
|
+
*/
|
|
416
|
+
proto.PreviewLineOfApprovalRequest = function(opt_data) {
|
|
417
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
418
|
+
};
|
|
419
|
+
goog.inherits(proto.PreviewLineOfApprovalRequest, jspb.Message);
|
|
420
|
+
if (goog.DEBUG && !COMPILED) {
|
|
421
|
+
/**
|
|
422
|
+
* @public
|
|
423
|
+
* @override
|
|
424
|
+
*/
|
|
425
|
+
proto.PreviewLineOfApprovalRequest.displayName = 'proto.PreviewLineOfApprovalRequest';
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Generated by JsPbCodeGenerator.
|
|
429
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
430
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
431
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
432
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
433
|
+
* valid.
|
|
434
|
+
* @extends {jspb.Message}
|
|
435
|
+
* @constructor
|
|
436
|
+
*/
|
|
437
|
+
proto.PreviewApprover = function(opt_data) {
|
|
438
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
439
|
+
};
|
|
440
|
+
goog.inherits(proto.PreviewApprover, jspb.Message);
|
|
441
|
+
if (goog.DEBUG && !COMPILED) {
|
|
442
|
+
/**
|
|
443
|
+
* @public
|
|
444
|
+
* @override
|
|
445
|
+
*/
|
|
446
|
+
proto.PreviewApprover.displayName = 'proto.PreviewApprover';
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Generated by JsPbCodeGenerator.
|
|
450
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
451
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
452
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
453
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
454
|
+
* valid.
|
|
455
|
+
* @extends {jspb.Message}
|
|
456
|
+
* @constructor
|
|
457
|
+
*/
|
|
458
|
+
proto.PreviewLineOfApprovalResponse = function(opt_data) {
|
|
459
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.PreviewLineOfApprovalResponse.repeatedFields_, null);
|
|
460
|
+
};
|
|
461
|
+
goog.inherits(proto.PreviewLineOfApprovalResponse, jspb.Message);
|
|
462
|
+
if (goog.DEBUG && !COMPILED) {
|
|
463
|
+
/**
|
|
464
|
+
* @public
|
|
465
|
+
* @override
|
|
466
|
+
*/
|
|
467
|
+
proto.PreviewLineOfApprovalResponse.displayName = 'proto.PreviewLineOfApprovalResponse';
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* Generated by JsPbCodeGenerator.
|
|
471
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
472
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
473
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
474
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
475
|
+
* valid.
|
|
476
|
+
* @extends {jspb.Message}
|
|
477
|
+
* @constructor
|
|
478
|
+
*/
|
|
479
|
+
proto.MatchWorkflowRequest = function(opt_data) {
|
|
480
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
481
|
+
};
|
|
482
|
+
goog.inherits(proto.MatchWorkflowRequest, jspb.Message);
|
|
483
|
+
if (goog.DEBUG && !COMPILED) {
|
|
484
|
+
/**
|
|
485
|
+
* @public
|
|
486
|
+
* @override
|
|
487
|
+
*/
|
|
488
|
+
proto.MatchWorkflowRequest.displayName = 'proto.MatchWorkflowRequest';
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Generated by JsPbCodeGenerator.
|
|
492
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
493
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
494
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
495
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
496
|
+
* valid.
|
|
497
|
+
* @extends {jspb.Message}
|
|
498
|
+
* @constructor
|
|
499
|
+
*/
|
|
500
|
+
proto.WorkflowCandidate = function(opt_data) {
|
|
501
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
502
|
+
};
|
|
503
|
+
goog.inherits(proto.WorkflowCandidate, jspb.Message);
|
|
504
|
+
if (goog.DEBUG && !COMPILED) {
|
|
505
|
+
/**
|
|
506
|
+
* @public
|
|
507
|
+
* @override
|
|
508
|
+
*/
|
|
509
|
+
proto.WorkflowCandidate.displayName = 'proto.WorkflowCandidate';
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Generated by JsPbCodeGenerator.
|
|
513
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
514
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
515
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
516
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
517
|
+
* valid.
|
|
518
|
+
* @extends {jspb.Message}
|
|
519
|
+
* @constructor
|
|
520
|
+
*/
|
|
521
|
+
proto.MatchWorkflowResponse = function(opt_data) {
|
|
522
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.MatchWorkflowResponse.repeatedFields_, null);
|
|
523
|
+
};
|
|
524
|
+
goog.inherits(proto.MatchWorkflowResponse, jspb.Message);
|
|
525
|
+
if (goog.DEBUG && !COMPILED) {
|
|
526
|
+
/**
|
|
527
|
+
* @public
|
|
528
|
+
* @override
|
|
529
|
+
*/
|
|
530
|
+
proto.MatchWorkflowResponse.displayName = 'proto.MatchWorkflowResponse';
|
|
531
|
+
}
|
|
398
532
|
|
|
399
533
|
|
|
400
534
|
|
|
@@ -4201,4 +4335,1897 @@ proto.GetListOverViewApprovalRes.prototype.setTodayApproval = function(value) {
|
|
|
4201
4335
|
};
|
|
4202
4336
|
|
|
4203
4337
|
|
|
4338
|
+
|
|
4339
|
+
|
|
4340
|
+
|
|
4341
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4342
|
+
/**
|
|
4343
|
+
* Creates an object representation of this proto.
|
|
4344
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4345
|
+
* Optional fields that are not set will be set to undefined.
|
|
4346
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4347
|
+
* For the list of reserved names please see:
|
|
4348
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4349
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4350
|
+
* JSPB instance for transitional soy proto support:
|
|
4351
|
+
* http://goto/soy-param-migration
|
|
4352
|
+
* @return {!Object}
|
|
4353
|
+
*/
|
|
4354
|
+
proto.PreviewLineOfApprovalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4355
|
+
return proto.PreviewLineOfApprovalRequest.toObject(opt_includeInstance, this);
|
|
4356
|
+
};
|
|
4357
|
+
|
|
4358
|
+
|
|
4359
|
+
/**
|
|
4360
|
+
* Static version of the {@see toObject} method.
|
|
4361
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4362
|
+
* the JSPB instance for transitional soy proto support:
|
|
4363
|
+
* http://goto/soy-param-migration
|
|
4364
|
+
* @param {!proto.PreviewLineOfApprovalRequest} msg The msg instance to transform.
|
|
4365
|
+
* @return {!Object}
|
|
4366
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4367
|
+
*/
|
|
4368
|
+
proto.PreviewLineOfApprovalRequest.toObject = function(includeInstance, msg) {
|
|
4369
|
+
var f, obj = {
|
|
4370
|
+
transaction: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4371
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4372
|
+
totalNetAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
4373
|
+
currencyCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4374
|
+
tenantReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4375
|
+
requestedBy: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f
|
|
4376
|
+
};
|
|
4377
|
+
|
|
4378
|
+
if (includeInstance) {
|
|
4379
|
+
obj.$jspbMessageInstance = msg;
|
|
4380
|
+
}
|
|
4381
|
+
return obj;
|
|
4382
|
+
};
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
|
|
4386
|
+
/**
|
|
4387
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4388
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4389
|
+
* @return {!proto.PreviewLineOfApprovalRequest}
|
|
4390
|
+
*/
|
|
4391
|
+
proto.PreviewLineOfApprovalRequest.deserializeBinary = function(bytes) {
|
|
4392
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4393
|
+
var msg = new proto.PreviewLineOfApprovalRequest;
|
|
4394
|
+
return proto.PreviewLineOfApprovalRequest.deserializeBinaryFromReader(msg, reader);
|
|
4395
|
+
};
|
|
4396
|
+
|
|
4397
|
+
|
|
4398
|
+
/**
|
|
4399
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4400
|
+
* given reader into the given message object.
|
|
4401
|
+
* @param {!proto.PreviewLineOfApprovalRequest} msg The message object to deserialize into.
|
|
4402
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4403
|
+
* @return {!proto.PreviewLineOfApprovalRequest}
|
|
4404
|
+
*/
|
|
4405
|
+
proto.PreviewLineOfApprovalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4406
|
+
while (reader.nextField()) {
|
|
4407
|
+
if (reader.isEndGroup()) {
|
|
4408
|
+
break;
|
|
4409
|
+
}
|
|
4410
|
+
var field = reader.getFieldNumber();
|
|
4411
|
+
switch (field) {
|
|
4412
|
+
case 1:
|
|
4413
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4414
|
+
msg.setTransaction(value);
|
|
4415
|
+
break;
|
|
4416
|
+
case 2:
|
|
4417
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4418
|
+
msg.setDocumentType(value);
|
|
4419
|
+
break;
|
|
4420
|
+
case 3:
|
|
4421
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
4422
|
+
msg.setTotalNetAmount(value);
|
|
4423
|
+
break;
|
|
4424
|
+
case 4:
|
|
4425
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4426
|
+
msg.setCurrencyCode(value);
|
|
4427
|
+
break;
|
|
4428
|
+
case 5:
|
|
4429
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4430
|
+
msg.setTenantReferencesId(value);
|
|
4431
|
+
break;
|
|
4432
|
+
case 6:
|
|
4433
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4434
|
+
msg.setRequestedBy(value);
|
|
4435
|
+
break;
|
|
4436
|
+
default:
|
|
4437
|
+
reader.skipField();
|
|
4438
|
+
break;
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
return msg;
|
|
4442
|
+
};
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
/**
|
|
4446
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4447
|
+
* @return {!Uint8Array}
|
|
4448
|
+
*/
|
|
4449
|
+
proto.PreviewLineOfApprovalRequest.prototype.serializeBinary = function() {
|
|
4450
|
+
var writer = new jspb.BinaryWriter();
|
|
4451
|
+
proto.PreviewLineOfApprovalRequest.serializeBinaryToWriter(this, writer);
|
|
4452
|
+
return writer.getResultBuffer();
|
|
4453
|
+
};
|
|
4454
|
+
|
|
4455
|
+
|
|
4456
|
+
/**
|
|
4457
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4458
|
+
* format), writing to the given BinaryWriter.
|
|
4459
|
+
* @param {!proto.PreviewLineOfApprovalRequest} message
|
|
4460
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4462
|
+
*/
|
|
4463
|
+
proto.PreviewLineOfApprovalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4464
|
+
var f = undefined;
|
|
4465
|
+
f = message.getTransaction();
|
|
4466
|
+
if (f.length > 0) {
|
|
4467
|
+
writer.writeString(
|
|
4468
|
+
1,
|
|
4469
|
+
f
|
|
4470
|
+
);
|
|
4471
|
+
}
|
|
4472
|
+
f = message.getDocumentType();
|
|
4473
|
+
if (f.length > 0) {
|
|
4474
|
+
writer.writeString(
|
|
4475
|
+
2,
|
|
4476
|
+
f
|
|
4477
|
+
);
|
|
4478
|
+
}
|
|
4479
|
+
f = message.getTotalNetAmount();
|
|
4480
|
+
if (f !== 0.0) {
|
|
4481
|
+
writer.writeDouble(
|
|
4482
|
+
3,
|
|
4483
|
+
f
|
|
4484
|
+
);
|
|
4485
|
+
}
|
|
4486
|
+
f = message.getCurrencyCode();
|
|
4487
|
+
if (f.length > 0) {
|
|
4488
|
+
writer.writeString(
|
|
4489
|
+
4,
|
|
4490
|
+
f
|
|
4491
|
+
);
|
|
4492
|
+
}
|
|
4493
|
+
f = message.getTenantReferencesId();
|
|
4494
|
+
if (f.length > 0) {
|
|
4495
|
+
writer.writeString(
|
|
4496
|
+
5,
|
|
4497
|
+
f
|
|
4498
|
+
);
|
|
4499
|
+
}
|
|
4500
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
4501
|
+
if (f != null) {
|
|
4502
|
+
writer.writeString(
|
|
4503
|
+
6,
|
|
4504
|
+
f
|
|
4505
|
+
);
|
|
4506
|
+
}
|
|
4507
|
+
};
|
|
4508
|
+
|
|
4509
|
+
|
|
4510
|
+
/**
|
|
4511
|
+
* optional string transaction = 1;
|
|
4512
|
+
* @return {string}
|
|
4513
|
+
*/
|
|
4514
|
+
proto.PreviewLineOfApprovalRequest.prototype.getTransaction = function() {
|
|
4515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4516
|
+
};
|
|
4517
|
+
|
|
4518
|
+
|
|
4519
|
+
/**
|
|
4520
|
+
* @param {string} value
|
|
4521
|
+
* @return {!proto.PreviewLineOfApprovalRequest} returns this
|
|
4522
|
+
*/
|
|
4523
|
+
proto.PreviewLineOfApprovalRequest.prototype.setTransaction = function(value) {
|
|
4524
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4525
|
+
};
|
|
4526
|
+
|
|
4527
|
+
|
|
4528
|
+
/**
|
|
4529
|
+
* optional string document_type = 2;
|
|
4530
|
+
* @return {string}
|
|
4531
|
+
*/
|
|
4532
|
+
proto.PreviewLineOfApprovalRequest.prototype.getDocumentType = function() {
|
|
4533
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4534
|
+
};
|
|
4535
|
+
|
|
4536
|
+
|
|
4537
|
+
/**
|
|
4538
|
+
* @param {string} value
|
|
4539
|
+
* @return {!proto.PreviewLineOfApprovalRequest} returns this
|
|
4540
|
+
*/
|
|
4541
|
+
proto.PreviewLineOfApprovalRequest.prototype.setDocumentType = function(value) {
|
|
4542
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4543
|
+
};
|
|
4544
|
+
|
|
4545
|
+
|
|
4546
|
+
/**
|
|
4547
|
+
* optional double total_net_amount = 3;
|
|
4548
|
+
* @return {number}
|
|
4549
|
+
*/
|
|
4550
|
+
proto.PreviewLineOfApprovalRequest.prototype.getTotalNetAmount = function() {
|
|
4551
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
4552
|
+
};
|
|
4553
|
+
|
|
4554
|
+
|
|
4555
|
+
/**
|
|
4556
|
+
* @param {number} value
|
|
4557
|
+
* @return {!proto.PreviewLineOfApprovalRequest} returns this
|
|
4558
|
+
*/
|
|
4559
|
+
proto.PreviewLineOfApprovalRequest.prototype.setTotalNetAmount = function(value) {
|
|
4560
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
4561
|
+
};
|
|
4562
|
+
|
|
4563
|
+
|
|
4564
|
+
/**
|
|
4565
|
+
* optional string currency_code = 4;
|
|
4566
|
+
* @return {string}
|
|
4567
|
+
*/
|
|
4568
|
+
proto.PreviewLineOfApprovalRequest.prototype.getCurrencyCode = function() {
|
|
4569
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4570
|
+
};
|
|
4571
|
+
|
|
4572
|
+
|
|
4573
|
+
/**
|
|
4574
|
+
* @param {string} value
|
|
4575
|
+
* @return {!proto.PreviewLineOfApprovalRequest} returns this
|
|
4576
|
+
*/
|
|
4577
|
+
proto.PreviewLineOfApprovalRequest.prototype.setCurrencyCode = function(value) {
|
|
4578
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4579
|
+
};
|
|
4580
|
+
|
|
4581
|
+
|
|
4582
|
+
/**
|
|
4583
|
+
* optional string tenant_references_id = 5;
|
|
4584
|
+
* @return {string}
|
|
4585
|
+
*/
|
|
4586
|
+
proto.PreviewLineOfApprovalRequest.prototype.getTenantReferencesId = function() {
|
|
4587
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4588
|
+
};
|
|
4589
|
+
|
|
4590
|
+
|
|
4591
|
+
/**
|
|
4592
|
+
* @param {string} value
|
|
4593
|
+
* @return {!proto.PreviewLineOfApprovalRequest} returns this
|
|
4594
|
+
*/
|
|
4595
|
+
proto.PreviewLineOfApprovalRequest.prototype.setTenantReferencesId = function(value) {
|
|
4596
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4597
|
+
};
|
|
4598
|
+
|
|
4599
|
+
|
|
4600
|
+
/**
|
|
4601
|
+
* optional string requested_by = 6;
|
|
4602
|
+
* @return {string}
|
|
4603
|
+
*/
|
|
4604
|
+
proto.PreviewLineOfApprovalRequest.prototype.getRequestedBy = function() {
|
|
4605
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4606
|
+
};
|
|
4607
|
+
|
|
4608
|
+
|
|
4609
|
+
/**
|
|
4610
|
+
* @param {string} value
|
|
4611
|
+
* @return {!proto.PreviewLineOfApprovalRequest} returns this
|
|
4612
|
+
*/
|
|
4613
|
+
proto.PreviewLineOfApprovalRequest.prototype.setRequestedBy = function(value) {
|
|
4614
|
+
return jspb.Message.setField(this, 6, value);
|
|
4615
|
+
};
|
|
4616
|
+
|
|
4617
|
+
|
|
4618
|
+
/**
|
|
4619
|
+
* Clears the field making it undefined.
|
|
4620
|
+
* @return {!proto.PreviewLineOfApprovalRequest} returns this
|
|
4621
|
+
*/
|
|
4622
|
+
proto.PreviewLineOfApprovalRequest.prototype.clearRequestedBy = function() {
|
|
4623
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
4624
|
+
};
|
|
4625
|
+
|
|
4626
|
+
|
|
4627
|
+
/**
|
|
4628
|
+
* Returns whether this field is set.
|
|
4629
|
+
* @return {boolean}
|
|
4630
|
+
*/
|
|
4631
|
+
proto.PreviewLineOfApprovalRequest.prototype.hasRequestedBy = function() {
|
|
4632
|
+
return jspb.Message.getField(this, 6) != null;
|
|
4633
|
+
};
|
|
4634
|
+
|
|
4635
|
+
|
|
4636
|
+
|
|
4637
|
+
|
|
4638
|
+
|
|
4639
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4640
|
+
/**
|
|
4641
|
+
* Creates an object representation of this proto.
|
|
4642
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4643
|
+
* Optional fields that are not set will be set to undefined.
|
|
4644
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4645
|
+
* For the list of reserved names please see:
|
|
4646
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4647
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4648
|
+
* JSPB instance for transitional soy proto support:
|
|
4649
|
+
* http://goto/soy-param-migration
|
|
4650
|
+
* @return {!Object}
|
|
4651
|
+
*/
|
|
4652
|
+
proto.PreviewApprover.prototype.toObject = function(opt_includeInstance) {
|
|
4653
|
+
return proto.PreviewApprover.toObject(opt_includeInstance, this);
|
|
4654
|
+
};
|
|
4655
|
+
|
|
4656
|
+
|
|
4657
|
+
/**
|
|
4658
|
+
* Static version of the {@see toObject} method.
|
|
4659
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4660
|
+
* the JSPB instance for transitional soy proto support:
|
|
4661
|
+
* http://goto/soy-param-migration
|
|
4662
|
+
* @param {!proto.PreviewApprover} msg The msg instance to transform.
|
|
4663
|
+
* @return {!Object}
|
|
4664
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4665
|
+
*/
|
|
4666
|
+
proto.PreviewApprover.toObject = function(includeInstance, msg) {
|
|
4667
|
+
var f, obj = {
|
|
4668
|
+
sequence: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4669
|
+
groupReference: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4670
|
+
employeesRefId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4671
|
+
employeeName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4672
|
+
editAccess: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4673
|
+
stepName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4674
|
+
rolesRefId: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
4675
|
+
isDelegated: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
4676
|
+
delegatedFromEmployeesRefId: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
|
|
4677
|
+
delegatedFromEmployeeName: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f
|
|
4678
|
+
};
|
|
4679
|
+
|
|
4680
|
+
if (includeInstance) {
|
|
4681
|
+
obj.$jspbMessageInstance = msg;
|
|
4682
|
+
}
|
|
4683
|
+
return obj;
|
|
4684
|
+
};
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
|
|
4688
|
+
/**
|
|
4689
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4690
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4691
|
+
* @return {!proto.PreviewApprover}
|
|
4692
|
+
*/
|
|
4693
|
+
proto.PreviewApprover.deserializeBinary = function(bytes) {
|
|
4694
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4695
|
+
var msg = new proto.PreviewApprover;
|
|
4696
|
+
return proto.PreviewApprover.deserializeBinaryFromReader(msg, reader);
|
|
4697
|
+
};
|
|
4698
|
+
|
|
4699
|
+
|
|
4700
|
+
/**
|
|
4701
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4702
|
+
* given reader into the given message object.
|
|
4703
|
+
* @param {!proto.PreviewApprover} msg The message object to deserialize into.
|
|
4704
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4705
|
+
* @return {!proto.PreviewApprover}
|
|
4706
|
+
*/
|
|
4707
|
+
proto.PreviewApprover.deserializeBinaryFromReader = function(msg, reader) {
|
|
4708
|
+
while (reader.nextField()) {
|
|
4709
|
+
if (reader.isEndGroup()) {
|
|
4710
|
+
break;
|
|
4711
|
+
}
|
|
4712
|
+
var field = reader.getFieldNumber();
|
|
4713
|
+
switch (field) {
|
|
4714
|
+
case 1:
|
|
4715
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4716
|
+
msg.setSequence(value);
|
|
4717
|
+
break;
|
|
4718
|
+
case 2:
|
|
4719
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4720
|
+
msg.setGroupReference(value);
|
|
4721
|
+
break;
|
|
4722
|
+
case 3:
|
|
4723
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4724
|
+
msg.setEmployeesRefId(value);
|
|
4725
|
+
break;
|
|
4726
|
+
case 4:
|
|
4727
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4728
|
+
msg.setEmployeeName(value);
|
|
4729
|
+
break;
|
|
4730
|
+
case 5:
|
|
4731
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4732
|
+
msg.setEditAccess(value);
|
|
4733
|
+
break;
|
|
4734
|
+
case 6:
|
|
4735
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4736
|
+
msg.setStepName(value);
|
|
4737
|
+
break;
|
|
4738
|
+
case 7:
|
|
4739
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4740
|
+
msg.setRolesRefId(value);
|
|
4741
|
+
break;
|
|
4742
|
+
case 8:
|
|
4743
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4744
|
+
msg.setIsDelegated(value);
|
|
4745
|
+
break;
|
|
4746
|
+
case 9:
|
|
4747
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4748
|
+
msg.setDelegatedFromEmployeesRefId(value);
|
|
4749
|
+
break;
|
|
4750
|
+
case 10:
|
|
4751
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4752
|
+
msg.setDelegatedFromEmployeeName(value);
|
|
4753
|
+
break;
|
|
4754
|
+
default:
|
|
4755
|
+
reader.skipField();
|
|
4756
|
+
break;
|
|
4757
|
+
}
|
|
4758
|
+
}
|
|
4759
|
+
return msg;
|
|
4760
|
+
};
|
|
4761
|
+
|
|
4762
|
+
|
|
4763
|
+
/**
|
|
4764
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4765
|
+
* @return {!Uint8Array}
|
|
4766
|
+
*/
|
|
4767
|
+
proto.PreviewApprover.prototype.serializeBinary = function() {
|
|
4768
|
+
var writer = new jspb.BinaryWriter();
|
|
4769
|
+
proto.PreviewApprover.serializeBinaryToWriter(this, writer);
|
|
4770
|
+
return writer.getResultBuffer();
|
|
4771
|
+
};
|
|
4772
|
+
|
|
4773
|
+
|
|
4774
|
+
/**
|
|
4775
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4776
|
+
* format), writing to the given BinaryWriter.
|
|
4777
|
+
* @param {!proto.PreviewApprover} message
|
|
4778
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4779
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4780
|
+
*/
|
|
4781
|
+
proto.PreviewApprover.serializeBinaryToWriter = function(message, writer) {
|
|
4782
|
+
var f = undefined;
|
|
4783
|
+
f = message.getSequence();
|
|
4784
|
+
if (f !== 0) {
|
|
4785
|
+
writer.writeInt32(
|
|
4786
|
+
1,
|
|
4787
|
+
f
|
|
4788
|
+
);
|
|
4789
|
+
}
|
|
4790
|
+
f = message.getGroupReference();
|
|
4791
|
+
if (f.length > 0) {
|
|
4792
|
+
writer.writeString(
|
|
4793
|
+
2,
|
|
4794
|
+
f
|
|
4795
|
+
);
|
|
4796
|
+
}
|
|
4797
|
+
f = message.getEmployeesRefId();
|
|
4798
|
+
if (f.length > 0) {
|
|
4799
|
+
writer.writeString(
|
|
4800
|
+
3,
|
|
4801
|
+
f
|
|
4802
|
+
);
|
|
4803
|
+
}
|
|
4804
|
+
f = message.getEmployeeName();
|
|
4805
|
+
if (f.length > 0) {
|
|
4806
|
+
writer.writeString(
|
|
4807
|
+
4,
|
|
4808
|
+
f
|
|
4809
|
+
);
|
|
4810
|
+
}
|
|
4811
|
+
f = message.getEditAccess();
|
|
4812
|
+
if (f.length > 0) {
|
|
4813
|
+
writer.writeString(
|
|
4814
|
+
5,
|
|
4815
|
+
f
|
|
4816
|
+
);
|
|
4817
|
+
}
|
|
4818
|
+
f = message.getStepName();
|
|
4819
|
+
if (f.length > 0) {
|
|
4820
|
+
writer.writeString(
|
|
4821
|
+
6,
|
|
4822
|
+
f
|
|
4823
|
+
);
|
|
4824
|
+
}
|
|
4825
|
+
f = message.getRolesRefId();
|
|
4826
|
+
if (f !== 0) {
|
|
4827
|
+
writer.writeInt32(
|
|
4828
|
+
7,
|
|
4829
|
+
f
|
|
4830
|
+
);
|
|
4831
|
+
}
|
|
4832
|
+
f = message.getIsDelegated();
|
|
4833
|
+
if (f) {
|
|
4834
|
+
writer.writeBool(
|
|
4835
|
+
8,
|
|
4836
|
+
f
|
|
4837
|
+
);
|
|
4838
|
+
}
|
|
4839
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
4840
|
+
if (f != null) {
|
|
4841
|
+
writer.writeString(
|
|
4842
|
+
9,
|
|
4843
|
+
f
|
|
4844
|
+
);
|
|
4845
|
+
}
|
|
4846
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4847
|
+
if (f != null) {
|
|
4848
|
+
writer.writeString(
|
|
4849
|
+
10,
|
|
4850
|
+
f
|
|
4851
|
+
);
|
|
4852
|
+
}
|
|
4853
|
+
};
|
|
4854
|
+
|
|
4855
|
+
|
|
4856
|
+
/**
|
|
4857
|
+
* optional int32 sequence = 1;
|
|
4858
|
+
* @return {number}
|
|
4859
|
+
*/
|
|
4860
|
+
proto.PreviewApprover.prototype.getSequence = function() {
|
|
4861
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4862
|
+
};
|
|
4863
|
+
|
|
4864
|
+
|
|
4865
|
+
/**
|
|
4866
|
+
* @param {number} value
|
|
4867
|
+
* @return {!proto.PreviewApprover} returns this
|
|
4868
|
+
*/
|
|
4869
|
+
proto.PreviewApprover.prototype.setSequence = function(value) {
|
|
4870
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4871
|
+
};
|
|
4872
|
+
|
|
4873
|
+
|
|
4874
|
+
/**
|
|
4875
|
+
* optional string group_reference = 2;
|
|
4876
|
+
* @return {string}
|
|
4877
|
+
*/
|
|
4878
|
+
proto.PreviewApprover.prototype.getGroupReference = function() {
|
|
4879
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4880
|
+
};
|
|
4881
|
+
|
|
4882
|
+
|
|
4883
|
+
/**
|
|
4884
|
+
* @param {string} value
|
|
4885
|
+
* @return {!proto.PreviewApprover} returns this
|
|
4886
|
+
*/
|
|
4887
|
+
proto.PreviewApprover.prototype.setGroupReference = function(value) {
|
|
4888
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4889
|
+
};
|
|
4890
|
+
|
|
4891
|
+
|
|
4892
|
+
/**
|
|
4893
|
+
* optional string employees_ref_id = 3;
|
|
4894
|
+
* @return {string}
|
|
4895
|
+
*/
|
|
4896
|
+
proto.PreviewApprover.prototype.getEmployeesRefId = function() {
|
|
4897
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4898
|
+
};
|
|
4899
|
+
|
|
4900
|
+
|
|
4901
|
+
/**
|
|
4902
|
+
* @param {string} value
|
|
4903
|
+
* @return {!proto.PreviewApprover} returns this
|
|
4904
|
+
*/
|
|
4905
|
+
proto.PreviewApprover.prototype.setEmployeesRefId = function(value) {
|
|
4906
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4907
|
+
};
|
|
4908
|
+
|
|
4909
|
+
|
|
4910
|
+
/**
|
|
4911
|
+
* optional string employee_name = 4;
|
|
4912
|
+
* @return {string}
|
|
4913
|
+
*/
|
|
4914
|
+
proto.PreviewApprover.prototype.getEmployeeName = function() {
|
|
4915
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4916
|
+
};
|
|
4917
|
+
|
|
4918
|
+
|
|
4919
|
+
/**
|
|
4920
|
+
* @param {string} value
|
|
4921
|
+
* @return {!proto.PreviewApprover} returns this
|
|
4922
|
+
*/
|
|
4923
|
+
proto.PreviewApprover.prototype.setEmployeeName = function(value) {
|
|
4924
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4925
|
+
};
|
|
4926
|
+
|
|
4927
|
+
|
|
4928
|
+
/**
|
|
4929
|
+
* optional string edit_access = 5;
|
|
4930
|
+
* @return {string}
|
|
4931
|
+
*/
|
|
4932
|
+
proto.PreviewApprover.prototype.getEditAccess = function() {
|
|
4933
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4934
|
+
};
|
|
4935
|
+
|
|
4936
|
+
|
|
4937
|
+
/**
|
|
4938
|
+
* @param {string} value
|
|
4939
|
+
* @return {!proto.PreviewApprover} returns this
|
|
4940
|
+
*/
|
|
4941
|
+
proto.PreviewApprover.prototype.setEditAccess = function(value) {
|
|
4942
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4943
|
+
};
|
|
4944
|
+
|
|
4945
|
+
|
|
4946
|
+
/**
|
|
4947
|
+
* optional string step_name = 6;
|
|
4948
|
+
* @return {string}
|
|
4949
|
+
*/
|
|
4950
|
+
proto.PreviewApprover.prototype.getStepName = function() {
|
|
4951
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4952
|
+
};
|
|
4953
|
+
|
|
4954
|
+
|
|
4955
|
+
/**
|
|
4956
|
+
* @param {string} value
|
|
4957
|
+
* @return {!proto.PreviewApprover} returns this
|
|
4958
|
+
*/
|
|
4959
|
+
proto.PreviewApprover.prototype.setStepName = function(value) {
|
|
4960
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4961
|
+
};
|
|
4962
|
+
|
|
4963
|
+
|
|
4964
|
+
/**
|
|
4965
|
+
* optional int32 roles_ref_id = 7;
|
|
4966
|
+
* @return {number}
|
|
4967
|
+
*/
|
|
4968
|
+
proto.PreviewApprover.prototype.getRolesRefId = function() {
|
|
4969
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
4970
|
+
};
|
|
4971
|
+
|
|
4972
|
+
|
|
4973
|
+
/**
|
|
4974
|
+
* @param {number} value
|
|
4975
|
+
* @return {!proto.PreviewApprover} returns this
|
|
4976
|
+
*/
|
|
4977
|
+
proto.PreviewApprover.prototype.setRolesRefId = function(value) {
|
|
4978
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
4979
|
+
};
|
|
4980
|
+
|
|
4981
|
+
|
|
4982
|
+
/**
|
|
4983
|
+
* optional bool is_delegated = 8;
|
|
4984
|
+
* @return {boolean}
|
|
4985
|
+
*/
|
|
4986
|
+
proto.PreviewApprover.prototype.getIsDelegated = function() {
|
|
4987
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
4988
|
+
};
|
|
4989
|
+
|
|
4990
|
+
|
|
4991
|
+
/**
|
|
4992
|
+
* @param {boolean} value
|
|
4993
|
+
* @return {!proto.PreviewApprover} returns this
|
|
4994
|
+
*/
|
|
4995
|
+
proto.PreviewApprover.prototype.setIsDelegated = function(value) {
|
|
4996
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
4997
|
+
};
|
|
4998
|
+
|
|
4999
|
+
|
|
5000
|
+
/**
|
|
5001
|
+
* optional string delegated_from_employees_ref_id = 9;
|
|
5002
|
+
* @return {string}
|
|
5003
|
+
*/
|
|
5004
|
+
proto.PreviewApprover.prototype.getDelegatedFromEmployeesRefId = function() {
|
|
5005
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5006
|
+
};
|
|
5007
|
+
|
|
5008
|
+
|
|
5009
|
+
/**
|
|
5010
|
+
* @param {string} value
|
|
5011
|
+
* @return {!proto.PreviewApprover} returns this
|
|
5012
|
+
*/
|
|
5013
|
+
proto.PreviewApprover.prototype.setDelegatedFromEmployeesRefId = function(value) {
|
|
5014
|
+
return jspb.Message.setField(this, 9, value);
|
|
5015
|
+
};
|
|
5016
|
+
|
|
5017
|
+
|
|
5018
|
+
/**
|
|
5019
|
+
* Clears the field making it undefined.
|
|
5020
|
+
* @return {!proto.PreviewApprover} returns this
|
|
5021
|
+
*/
|
|
5022
|
+
proto.PreviewApprover.prototype.clearDelegatedFromEmployeesRefId = function() {
|
|
5023
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
5024
|
+
};
|
|
5025
|
+
|
|
5026
|
+
|
|
5027
|
+
/**
|
|
5028
|
+
* Returns whether this field is set.
|
|
5029
|
+
* @return {boolean}
|
|
5030
|
+
*/
|
|
5031
|
+
proto.PreviewApprover.prototype.hasDelegatedFromEmployeesRefId = function() {
|
|
5032
|
+
return jspb.Message.getField(this, 9) != null;
|
|
5033
|
+
};
|
|
5034
|
+
|
|
5035
|
+
|
|
5036
|
+
/**
|
|
5037
|
+
* optional string delegated_from_employee_name = 10;
|
|
5038
|
+
* @return {string}
|
|
5039
|
+
*/
|
|
5040
|
+
proto.PreviewApprover.prototype.getDelegatedFromEmployeeName = function() {
|
|
5041
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5042
|
+
};
|
|
5043
|
+
|
|
5044
|
+
|
|
5045
|
+
/**
|
|
5046
|
+
* @param {string} value
|
|
5047
|
+
* @return {!proto.PreviewApprover} returns this
|
|
5048
|
+
*/
|
|
5049
|
+
proto.PreviewApprover.prototype.setDelegatedFromEmployeeName = function(value) {
|
|
5050
|
+
return jspb.Message.setField(this, 10, value);
|
|
5051
|
+
};
|
|
5052
|
+
|
|
5053
|
+
|
|
5054
|
+
/**
|
|
5055
|
+
* Clears the field making it undefined.
|
|
5056
|
+
* @return {!proto.PreviewApprover} returns this
|
|
5057
|
+
*/
|
|
5058
|
+
proto.PreviewApprover.prototype.clearDelegatedFromEmployeeName = function() {
|
|
5059
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
5060
|
+
};
|
|
5061
|
+
|
|
5062
|
+
|
|
5063
|
+
/**
|
|
5064
|
+
* Returns whether this field is set.
|
|
5065
|
+
* @return {boolean}
|
|
5066
|
+
*/
|
|
5067
|
+
proto.PreviewApprover.prototype.hasDelegatedFromEmployeeName = function() {
|
|
5068
|
+
return jspb.Message.getField(this, 10) != null;
|
|
5069
|
+
};
|
|
5070
|
+
|
|
5071
|
+
|
|
5072
|
+
|
|
5073
|
+
/**
|
|
5074
|
+
* List of repeated fields within this message type.
|
|
5075
|
+
* @private {!Array<number>}
|
|
5076
|
+
* @const
|
|
5077
|
+
*/
|
|
5078
|
+
proto.PreviewLineOfApprovalResponse.repeatedFields_ = [1];
|
|
5079
|
+
|
|
5080
|
+
|
|
5081
|
+
|
|
5082
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5083
|
+
/**
|
|
5084
|
+
* Creates an object representation of this proto.
|
|
5085
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5086
|
+
* Optional fields that are not set will be set to undefined.
|
|
5087
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5088
|
+
* For the list of reserved names please see:
|
|
5089
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5090
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5091
|
+
* JSPB instance for transitional soy proto support:
|
|
5092
|
+
* http://goto/soy-param-migration
|
|
5093
|
+
* @return {!Object}
|
|
5094
|
+
*/
|
|
5095
|
+
proto.PreviewLineOfApprovalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5096
|
+
return proto.PreviewLineOfApprovalResponse.toObject(opt_includeInstance, this);
|
|
5097
|
+
};
|
|
5098
|
+
|
|
5099
|
+
|
|
5100
|
+
/**
|
|
5101
|
+
* Static version of the {@see toObject} method.
|
|
5102
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5103
|
+
* the JSPB instance for transitional soy proto support:
|
|
5104
|
+
* http://goto/soy-param-migration
|
|
5105
|
+
* @param {!proto.PreviewLineOfApprovalResponse} msg The msg instance to transform.
|
|
5106
|
+
* @return {!Object}
|
|
5107
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5108
|
+
*/
|
|
5109
|
+
proto.PreviewLineOfApprovalResponse.toObject = function(includeInstance, msg) {
|
|
5110
|
+
var f, obj = {
|
|
5111
|
+
approversList: jspb.Message.toObjectList(msg.getApproversList(),
|
|
5112
|
+
proto.PreviewApprover.toObject, includeInstance),
|
|
5113
|
+
workflowRef: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
5114
|
+
workflowName: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
5115
|
+
emptyReason: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5116
|
+
emptyReasonMessage: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5117
|
+
droppedInactiveApprover: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
5118
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
5119
|
+
};
|
|
5120
|
+
|
|
5121
|
+
if (includeInstance) {
|
|
5122
|
+
obj.$jspbMessageInstance = msg;
|
|
5123
|
+
}
|
|
5124
|
+
return obj;
|
|
5125
|
+
};
|
|
5126
|
+
}
|
|
5127
|
+
|
|
5128
|
+
|
|
5129
|
+
/**
|
|
5130
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5131
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5132
|
+
* @return {!proto.PreviewLineOfApprovalResponse}
|
|
5133
|
+
*/
|
|
5134
|
+
proto.PreviewLineOfApprovalResponse.deserializeBinary = function(bytes) {
|
|
5135
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5136
|
+
var msg = new proto.PreviewLineOfApprovalResponse;
|
|
5137
|
+
return proto.PreviewLineOfApprovalResponse.deserializeBinaryFromReader(msg, reader);
|
|
5138
|
+
};
|
|
5139
|
+
|
|
5140
|
+
|
|
5141
|
+
/**
|
|
5142
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5143
|
+
* given reader into the given message object.
|
|
5144
|
+
* @param {!proto.PreviewLineOfApprovalResponse} msg The message object to deserialize into.
|
|
5145
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5146
|
+
* @return {!proto.PreviewLineOfApprovalResponse}
|
|
5147
|
+
*/
|
|
5148
|
+
proto.PreviewLineOfApprovalResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5149
|
+
while (reader.nextField()) {
|
|
5150
|
+
if (reader.isEndGroup()) {
|
|
5151
|
+
break;
|
|
5152
|
+
}
|
|
5153
|
+
var field = reader.getFieldNumber();
|
|
5154
|
+
switch (field) {
|
|
5155
|
+
case 1:
|
|
5156
|
+
var value = new proto.PreviewApprover;
|
|
5157
|
+
reader.readMessage(value,proto.PreviewApprover.deserializeBinaryFromReader);
|
|
5158
|
+
msg.addApprovers(value);
|
|
5159
|
+
break;
|
|
5160
|
+
case 2:
|
|
5161
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5162
|
+
msg.setWorkflowRef(value);
|
|
5163
|
+
break;
|
|
5164
|
+
case 3:
|
|
5165
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5166
|
+
msg.setWorkflowName(value);
|
|
5167
|
+
break;
|
|
5168
|
+
case 4:
|
|
5169
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5170
|
+
msg.setEmptyReason(value);
|
|
5171
|
+
break;
|
|
5172
|
+
case 5:
|
|
5173
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5174
|
+
msg.setEmptyReasonMessage(value);
|
|
5175
|
+
break;
|
|
5176
|
+
case 6:
|
|
5177
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5178
|
+
msg.setDroppedInactiveApprover(value);
|
|
5179
|
+
break;
|
|
5180
|
+
case 7:
|
|
5181
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
5182
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
5183
|
+
msg.setMeta(value);
|
|
5184
|
+
break;
|
|
5185
|
+
default:
|
|
5186
|
+
reader.skipField();
|
|
5187
|
+
break;
|
|
5188
|
+
}
|
|
5189
|
+
}
|
|
5190
|
+
return msg;
|
|
5191
|
+
};
|
|
5192
|
+
|
|
5193
|
+
|
|
5194
|
+
/**
|
|
5195
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5196
|
+
* @return {!Uint8Array}
|
|
5197
|
+
*/
|
|
5198
|
+
proto.PreviewLineOfApprovalResponse.prototype.serializeBinary = function() {
|
|
5199
|
+
var writer = new jspb.BinaryWriter();
|
|
5200
|
+
proto.PreviewLineOfApprovalResponse.serializeBinaryToWriter(this, writer);
|
|
5201
|
+
return writer.getResultBuffer();
|
|
5202
|
+
};
|
|
5203
|
+
|
|
5204
|
+
|
|
5205
|
+
/**
|
|
5206
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5207
|
+
* format), writing to the given BinaryWriter.
|
|
5208
|
+
* @param {!proto.PreviewLineOfApprovalResponse} message
|
|
5209
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5210
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5211
|
+
*/
|
|
5212
|
+
proto.PreviewLineOfApprovalResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5213
|
+
var f = undefined;
|
|
5214
|
+
f = message.getApproversList();
|
|
5215
|
+
if (f.length > 0) {
|
|
5216
|
+
writer.writeRepeatedMessage(
|
|
5217
|
+
1,
|
|
5218
|
+
f,
|
|
5219
|
+
proto.PreviewApprover.serializeBinaryToWriter
|
|
5220
|
+
);
|
|
5221
|
+
}
|
|
5222
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
5223
|
+
if (f != null) {
|
|
5224
|
+
writer.writeString(
|
|
5225
|
+
2,
|
|
5226
|
+
f
|
|
5227
|
+
);
|
|
5228
|
+
}
|
|
5229
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
5230
|
+
if (f != null) {
|
|
5231
|
+
writer.writeString(
|
|
5232
|
+
3,
|
|
5233
|
+
f
|
|
5234
|
+
);
|
|
5235
|
+
}
|
|
5236
|
+
f = message.getEmptyReason();
|
|
5237
|
+
if (f.length > 0) {
|
|
5238
|
+
writer.writeString(
|
|
5239
|
+
4,
|
|
5240
|
+
f
|
|
5241
|
+
);
|
|
5242
|
+
}
|
|
5243
|
+
f = message.getEmptyReasonMessage();
|
|
5244
|
+
if (f.length > 0) {
|
|
5245
|
+
writer.writeString(
|
|
5246
|
+
5,
|
|
5247
|
+
f
|
|
5248
|
+
);
|
|
5249
|
+
}
|
|
5250
|
+
f = message.getDroppedInactiveApprover();
|
|
5251
|
+
if (f) {
|
|
5252
|
+
writer.writeBool(
|
|
5253
|
+
6,
|
|
5254
|
+
f
|
|
5255
|
+
);
|
|
5256
|
+
}
|
|
5257
|
+
f = message.getMeta();
|
|
5258
|
+
if (f != null) {
|
|
5259
|
+
writer.writeMessage(
|
|
5260
|
+
7,
|
|
5261
|
+
f,
|
|
5262
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
5263
|
+
);
|
|
5264
|
+
}
|
|
5265
|
+
};
|
|
5266
|
+
|
|
5267
|
+
|
|
5268
|
+
/**
|
|
5269
|
+
* repeated PreviewApprover approvers = 1;
|
|
5270
|
+
* @return {!Array<!proto.PreviewApprover>}
|
|
5271
|
+
*/
|
|
5272
|
+
proto.PreviewLineOfApprovalResponse.prototype.getApproversList = function() {
|
|
5273
|
+
return /** @type{!Array<!proto.PreviewApprover>} */ (
|
|
5274
|
+
jspb.Message.getRepeatedWrapperField(this, proto.PreviewApprover, 1));
|
|
5275
|
+
};
|
|
5276
|
+
|
|
5277
|
+
|
|
5278
|
+
/**
|
|
5279
|
+
* @param {!Array<!proto.PreviewApprover>} value
|
|
5280
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5281
|
+
*/
|
|
5282
|
+
proto.PreviewLineOfApprovalResponse.prototype.setApproversList = function(value) {
|
|
5283
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
5284
|
+
};
|
|
5285
|
+
|
|
5286
|
+
|
|
5287
|
+
/**
|
|
5288
|
+
* @param {!proto.PreviewApprover=} opt_value
|
|
5289
|
+
* @param {number=} opt_index
|
|
5290
|
+
* @return {!proto.PreviewApprover}
|
|
5291
|
+
*/
|
|
5292
|
+
proto.PreviewLineOfApprovalResponse.prototype.addApprovers = function(opt_value, opt_index) {
|
|
5293
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PreviewApprover, opt_index);
|
|
5294
|
+
};
|
|
5295
|
+
|
|
5296
|
+
|
|
5297
|
+
/**
|
|
5298
|
+
* Clears the list making it empty but non-null.
|
|
5299
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5300
|
+
*/
|
|
5301
|
+
proto.PreviewLineOfApprovalResponse.prototype.clearApproversList = function() {
|
|
5302
|
+
return this.setApproversList([]);
|
|
5303
|
+
};
|
|
5304
|
+
|
|
5305
|
+
|
|
5306
|
+
/**
|
|
5307
|
+
* optional string workflow_ref = 2;
|
|
5308
|
+
* @return {string}
|
|
5309
|
+
*/
|
|
5310
|
+
proto.PreviewLineOfApprovalResponse.prototype.getWorkflowRef = function() {
|
|
5311
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5312
|
+
};
|
|
5313
|
+
|
|
5314
|
+
|
|
5315
|
+
/**
|
|
5316
|
+
* @param {string} value
|
|
5317
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5318
|
+
*/
|
|
5319
|
+
proto.PreviewLineOfApprovalResponse.prototype.setWorkflowRef = function(value) {
|
|
5320
|
+
return jspb.Message.setField(this, 2, value);
|
|
5321
|
+
};
|
|
5322
|
+
|
|
5323
|
+
|
|
5324
|
+
/**
|
|
5325
|
+
* Clears the field making it undefined.
|
|
5326
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5327
|
+
*/
|
|
5328
|
+
proto.PreviewLineOfApprovalResponse.prototype.clearWorkflowRef = function() {
|
|
5329
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
5330
|
+
};
|
|
5331
|
+
|
|
5332
|
+
|
|
5333
|
+
/**
|
|
5334
|
+
* Returns whether this field is set.
|
|
5335
|
+
* @return {boolean}
|
|
5336
|
+
*/
|
|
5337
|
+
proto.PreviewLineOfApprovalResponse.prototype.hasWorkflowRef = function() {
|
|
5338
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5339
|
+
};
|
|
5340
|
+
|
|
5341
|
+
|
|
5342
|
+
/**
|
|
5343
|
+
* optional string workflow_name = 3;
|
|
5344
|
+
* @return {string}
|
|
5345
|
+
*/
|
|
5346
|
+
proto.PreviewLineOfApprovalResponse.prototype.getWorkflowName = function() {
|
|
5347
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5348
|
+
};
|
|
5349
|
+
|
|
5350
|
+
|
|
5351
|
+
/**
|
|
5352
|
+
* @param {string} value
|
|
5353
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5354
|
+
*/
|
|
5355
|
+
proto.PreviewLineOfApprovalResponse.prototype.setWorkflowName = function(value) {
|
|
5356
|
+
return jspb.Message.setField(this, 3, value);
|
|
5357
|
+
};
|
|
5358
|
+
|
|
5359
|
+
|
|
5360
|
+
/**
|
|
5361
|
+
* Clears the field making it undefined.
|
|
5362
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5363
|
+
*/
|
|
5364
|
+
proto.PreviewLineOfApprovalResponse.prototype.clearWorkflowName = function() {
|
|
5365
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
5366
|
+
};
|
|
5367
|
+
|
|
5368
|
+
|
|
5369
|
+
/**
|
|
5370
|
+
* Returns whether this field is set.
|
|
5371
|
+
* @return {boolean}
|
|
5372
|
+
*/
|
|
5373
|
+
proto.PreviewLineOfApprovalResponse.prototype.hasWorkflowName = function() {
|
|
5374
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5375
|
+
};
|
|
5376
|
+
|
|
5377
|
+
|
|
5378
|
+
/**
|
|
5379
|
+
* optional string empty_reason = 4;
|
|
5380
|
+
* @return {string}
|
|
5381
|
+
*/
|
|
5382
|
+
proto.PreviewLineOfApprovalResponse.prototype.getEmptyReason = function() {
|
|
5383
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5384
|
+
};
|
|
5385
|
+
|
|
5386
|
+
|
|
5387
|
+
/**
|
|
5388
|
+
* @param {string} value
|
|
5389
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5390
|
+
*/
|
|
5391
|
+
proto.PreviewLineOfApprovalResponse.prototype.setEmptyReason = function(value) {
|
|
5392
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5393
|
+
};
|
|
5394
|
+
|
|
5395
|
+
|
|
5396
|
+
/**
|
|
5397
|
+
* optional string empty_reason_message = 5;
|
|
5398
|
+
* @return {string}
|
|
5399
|
+
*/
|
|
5400
|
+
proto.PreviewLineOfApprovalResponse.prototype.getEmptyReasonMessage = function() {
|
|
5401
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5402
|
+
};
|
|
5403
|
+
|
|
5404
|
+
|
|
5405
|
+
/**
|
|
5406
|
+
* @param {string} value
|
|
5407
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5408
|
+
*/
|
|
5409
|
+
proto.PreviewLineOfApprovalResponse.prototype.setEmptyReasonMessage = function(value) {
|
|
5410
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5411
|
+
};
|
|
5412
|
+
|
|
5413
|
+
|
|
5414
|
+
/**
|
|
5415
|
+
* optional bool dropped_inactive_approver = 6;
|
|
5416
|
+
* @return {boolean}
|
|
5417
|
+
*/
|
|
5418
|
+
proto.PreviewLineOfApprovalResponse.prototype.getDroppedInactiveApprover = function() {
|
|
5419
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
5420
|
+
};
|
|
5421
|
+
|
|
5422
|
+
|
|
5423
|
+
/**
|
|
5424
|
+
* @param {boolean} value
|
|
5425
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5426
|
+
*/
|
|
5427
|
+
proto.PreviewLineOfApprovalResponse.prototype.setDroppedInactiveApprover = function(value) {
|
|
5428
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
5429
|
+
};
|
|
5430
|
+
|
|
5431
|
+
|
|
5432
|
+
/**
|
|
5433
|
+
* optional prisca.v1.global.meta.Meta meta = 7;
|
|
5434
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
5435
|
+
*/
|
|
5436
|
+
proto.PreviewLineOfApprovalResponse.prototype.getMeta = function() {
|
|
5437
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
5438
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 7));
|
|
5439
|
+
};
|
|
5440
|
+
|
|
5441
|
+
|
|
5442
|
+
/**
|
|
5443
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
5444
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5445
|
+
*/
|
|
5446
|
+
proto.PreviewLineOfApprovalResponse.prototype.setMeta = function(value) {
|
|
5447
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
5448
|
+
};
|
|
5449
|
+
|
|
5450
|
+
|
|
5451
|
+
/**
|
|
5452
|
+
* Clears the message field making it undefined.
|
|
5453
|
+
* @return {!proto.PreviewLineOfApprovalResponse} returns this
|
|
5454
|
+
*/
|
|
5455
|
+
proto.PreviewLineOfApprovalResponse.prototype.clearMeta = function() {
|
|
5456
|
+
return this.setMeta(undefined);
|
|
5457
|
+
};
|
|
5458
|
+
|
|
5459
|
+
|
|
5460
|
+
/**
|
|
5461
|
+
* Returns whether this field is set.
|
|
5462
|
+
* @return {boolean}
|
|
5463
|
+
*/
|
|
5464
|
+
proto.PreviewLineOfApprovalResponse.prototype.hasMeta = function() {
|
|
5465
|
+
return jspb.Message.getField(this, 7) != null;
|
|
5466
|
+
};
|
|
5467
|
+
|
|
5468
|
+
|
|
5469
|
+
|
|
5470
|
+
|
|
5471
|
+
|
|
5472
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5473
|
+
/**
|
|
5474
|
+
* Creates an object representation of this proto.
|
|
5475
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5476
|
+
* Optional fields that are not set will be set to undefined.
|
|
5477
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5478
|
+
* For the list of reserved names please see:
|
|
5479
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5480
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5481
|
+
* JSPB instance for transitional soy proto support:
|
|
5482
|
+
* http://goto/soy-param-migration
|
|
5483
|
+
* @return {!Object}
|
|
5484
|
+
*/
|
|
5485
|
+
proto.MatchWorkflowRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5486
|
+
return proto.MatchWorkflowRequest.toObject(opt_includeInstance, this);
|
|
5487
|
+
};
|
|
5488
|
+
|
|
5489
|
+
|
|
5490
|
+
/**
|
|
5491
|
+
* Static version of the {@see toObject} method.
|
|
5492
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5493
|
+
* the JSPB instance for transitional soy proto support:
|
|
5494
|
+
* http://goto/soy-param-migration
|
|
5495
|
+
* @param {!proto.MatchWorkflowRequest} msg The msg instance to transform.
|
|
5496
|
+
* @return {!Object}
|
|
5497
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5498
|
+
*/
|
|
5499
|
+
proto.MatchWorkflowRequest.toObject = function(includeInstance, msg) {
|
|
5500
|
+
var f, obj = {
|
|
5501
|
+
transaction: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5502
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5503
|
+
totalNetAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
5504
|
+
currencyCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5505
|
+
tenantReferencesId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
5506
|
+
};
|
|
5507
|
+
|
|
5508
|
+
if (includeInstance) {
|
|
5509
|
+
obj.$jspbMessageInstance = msg;
|
|
5510
|
+
}
|
|
5511
|
+
return obj;
|
|
5512
|
+
};
|
|
5513
|
+
}
|
|
5514
|
+
|
|
5515
|
+
|
|
5516
|
+
/**
|
|
5517
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5518
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5519
|
+
* @return {!proto.MatchWorkflowRequest}
|
|
5520
|
+
*/
|
|
5521
|
+
proto.MatchWorkflowRequest.deserializeBinary = function(bytes) {
|
|
5522
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5523
|
+
var msg = new proto.MatchWorkflowRequest;
|
|
5524
|
+
return proto.MatchWorkflowRequest.deserializeBinaryFromReader(msg, reader);
|
|
5525
|
+
};
|
|
5526
|
+
|
|
5527
|
+
|
|
5528
|
+
/**
|
|
5529
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5530
|
+
* given reader into the given message object.
|
|
5531
|
+
* @param {!proto.MatchWorkflowRequest} msg The message object to deserialize into.
|
|
5532
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5533
|
+
* @return {!proto.MatchWorkflowRequest}
|
|
5534
|
+
*/
|
|
5535
|
+
proto.MatchWorkflowRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5536
|
+
while (reader.nextField()) {
|
|
5537
|
+
if (reader.isEndGroup()) {
|
|
5538
|
+
break;
|
|
5539
|
+
}
|
|
5540
|
+
var field = reader.getFieldNumber();
|
|
5541
|
+
switch (field) {
|
|
5542
|
+
case 1:
|
|
5543
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5544
|
+
msg.setTransaction(value);
|
|
5545
|
+
break;
|
|
5546
|
+
case 2:
|
|
5547
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5548
|
+
msg.setDocumentType(value);
|
|
5549
|
+
break;
|
|
5550
|
+
case 3:
|
|
5551
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
5552
|
+
msg.setTotalNetAmount(value);
|
|
5553
|
+
break;
|
|
5554
|
+
case 4:
|
|
5555
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5556
|
+
msg.setCurrencyCode(value);
|
|
5557
|
+
break;
|
|
5558
|
+
case 5:
|
|
5559
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5560
|
+
msg.setTenantReferencesId(value);
|
|
5561
|
+
break;
|
|
5562
|
+
default:
|
|
5563
|
+
reader.skipField();
|
|
5564
|
+
break;
|
|
5565
|
+
}
|
|
5566
|
+
}
|
|
5567
|
+
return msg;
|
|
5568
|
+
};
|
|
5569
|
+
|
|
5570
|
+
|
|
5571
|
+
/**
|
|
5572
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5573
|
+
* @return {!Uint8Array}
|
|
5574
|
+
*/
|
|
5575
|
+
proto.MatchWorkflowRequest.prototype.serializeBinary = function() {
|
|
5576
|
+
var writer = new jspb.BinaryWriter();
|
|
5577
|
+
proto.MatchWorkflowRequest.serializeBinaryToWriter(this, writer);
|
|
5578
|
+
return writer.getResultBuffer();
|
|
5579
|
+
};
|
|
5580
|
+
|
|
5581
|
+
|
|
5582
|
+
/**
|
|
5583
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5584
|
+
* format), writing to the given BinaryWriter.
|
|
5585
|
+
* @param {!proto.MatchWorkflowRequest} message
|
|
5586
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5587
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5588
|
+
*/
|
|
5589
|
+
proto.MatchWorkflowRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5590
|
+
var f = undefined;
|
|
5591
|
+
f = message.getTransaction();
|
|
5592
|
+
if (f.length > 0) {
|
|
5593
|
+
writer.writeString(
|
|
5594
|
+
1,
|
|
5595
|
+
f
|
|
5596
|
+
);
|
|
5597
|
+
}
|
|
5598
|
+
f = message.getDocumentType();
|
|
5599
|
+
if (f.length > 0) {
|
|
5600
|
+
writer.writeString(
|
|
5601
|
+
2,
|
|
5602
|
+
f
|
|
5603
|
+
);
|
|
5604
|
+
}
|
|
5605
|
+
f = message.getTotalNetAmount();
|
|
5606
|
+
if (f !== 0.0) {
|
|
5607
|
+
writer.writeDouble(
|
|
5608
|
+
3,
|
|
5609
|
+
f
|
|
5610
|
+
);
|
|
5611
|
+
}
|
|
5612
|
+
f = message.getCurrencyCode();
|
|
5613
|
+
if (f.length > 0) {
|
|
5614
|
+
writer.writeString(
|
|
5615
|
+
4,
|
|
5616
|
+
f
|
|
5617
|
+
);
|
|
5618
|
+
}
|
|
5619
|
+
f = message.getTenantReferencesId();
|
|
5620
|
+
if (f.length > 0) {
|
|
5621
|
+
writer.writeString(
|
|
5622
|
+
5,
|
|
5623
|
+
f
|
|
5624
|
+
);
|
|
5625
|
+
}
|
|
5626
|
+
};
|
|
5627
|
+
|
|
5628
|
+
|
|
5629
|
+
/**
|
|
5630
|
+
* optional string transaction = 1;
|
|
5631
|
+
* @return {string}
|
|
5632
|
+
*/
|
|
5633
|
+
proto.MatchWorkflowRequest.prototype.getTransaction = function() {
|
|
5634
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5635
|
+
};
|
|
5636
|
+
|
|
5637
|
+
|
|
5638
|
+
/**
|
|
5639
|
+
* @param {string} value
|
|
5640
|
+
* @return {!proto.MatchWorkflowRequest} returns this
|
|
5641
|
+
*/
|
|
5642
|
+
proto.MatchWorkflowRequest.prototype.setTransaction = function(value) {
|
|
5643
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5644
|
+
};
|
|
5645
|
+
|
|
5646
|
+
|
|
5647
|
+
/**
|
|
5648
|
+
* optional string document_type = 2;
|
|
5649
|
+
* @return {string}
|
|
5650
|
+
*/
|
|
5651
|
+
proto.MatchWorkflowRequest.prototype.getDocumentType = function() {
|
|
5652
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5653
|
+
};
|
|
5654
|
+
|
|
5655
|
+
|
|
5656
|
+
/**
|
|
5657
|
+
* @param {string} value
|
|
5658
|
+
* @return {!proto.MatchWorkflowRequest} returns this
|
|
5659
|
+
*/
|
|
5660
|
+
proto.MatchWorkflowRequest.prototype.setDocumentType = function(value) {
|
|
5661
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5662
|
+
};
|
|
5663
|
+
|
|
5664
|
+
|
|
5665
|
+
/**
|
|
5666
|
+
* optional double total_net_amount = 3;
|
|
5667
|
+
* @return {number}
|
|
5668
|
+
*/
|
|
5669
|
+
proto.MatchWorkflowRequest.prototype.getTotalNetAmount = function() {
|
|
5670
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
5671
|
+
};
|
|
5672
|
+
|
|
5673
|
+
|
|
5674
|
+
/**
|
|
5675
|
+
* @param {number} value
|
|
5676
|
+
* @return {!proto.MatchWorkflowRequest} returns this
|
|
5677
|
+
*/
|
|
5678
|
+
proto.MatchWorkflowRequest.prototype.setTotalNetAmount = function(value) {
|
|
5679
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
5680
|
+
};
|
|
5681
|
+
|
|
5682
|
+
|
|
5683
|
+
/**
|
|
5684
|
+
* optional string currency_code = 4;
|
|
5685
|
+
* @return {string}
|
|
5686
|
+
*/
|
|
5687
|
+
proto.MatchWorkflowRequest.prototype.getCurrencyCode = function() {
|
|
5688
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5689
|
+
};
|
|
5690
|
+
|
|
5691
|
+
|
|
5692
|
+
/**
|
|
5693
|
+
* @param {string} value
|
|
5694
|
+
* @return {!proto.MatchWorkflowRequest} returns this
|
|
5695
|
+
*/
|
|
5696
|
+
proto.MatchWorkflowRequest.prototype.setCurrencyCode = function(value) {
|
|
5697
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5698
|
+
};
|
|
5699
|
+
|
|
5700
|
+
|
|
5701
|
+
/**
|
|
5702
|
+
* optional string tenant_references_id = 5;
|
|
5703
|
+
* @return {string}
|
|
5704
|
+
*/
|
|
5705
|
+
proto.MatchWorkflowRequest.prototype.getTenantReferencesId = function() {
|
|
5706
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5707
|
+
};
|
|
5708
|
+
|
|
5709
|
+
|
|
5710
|
+
/**
|
|
5711
|
+
* @param {string} value
|
|
5712
|
+
* @return {!proto.MatchWorkflowRequest} returns this
|
|
5713
|
+
*/
|
|
5714
|
+
proto.MatchWorkflowRequest.prototype.setTenantReferencesId = function(value) {
|
|
5715
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5716
|
+
};
|
|
5717
|
+
|
|
5718
|
+
|
|
5719
|
+
|
|
5720
|
+
|
|
5721
|
+
|
|
5722
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5723
|
+
/**
|
|
5724
|
+
* Creates an object representation of this proto.
|
|
5725
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5726
|
+
* Optional fields that are not set will be set to undefined.
|
|
5727
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5728
|
+
* For the list of reserved names please see:
|
|
5729
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5730
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5731
|
+
* JSPB instance for transitional soy proto support:
|
|
5732
|
+
* http://goto/soy-param-migration
|
|
5733
|
+
* @return {!Object}
|
|
5734
|
+
*/
|
|
5735
|
+
proto.WorkflowCandidate.prototype.toObject = function(opt_includeInstance) {
|
|
5736
|
+
return proto.WorkflowCandidate.toObject(opt_includeInstance, this);
|
|
5737
|
+
};
|
|
5738
|
+
|
|
5739
|
+
|
|
5740
|
+
/**
|
|
5741
|
+
* Static version of the {@see toObject} method.
|
|
5742
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5743
|
+
* the JSPB instance for transitional soy proto support:
|
|
5744
|
+
* http://goto/soy-param-migration
|
|
5745
|
+
* @param {!proto.WorkflowCandidate} msg The msg instance to transform.
|
|
5746
|
+
* @return {!Object}
|
|
5747
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5748
|
+
*/
|
|
5749
|
+
proto.WorkflowCandidate.toObject = function(includeInstance, msg) {
|
|
5750
|
+
var f, obj = {
|
|
5751
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5752
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5753
|
+
};
|
|
5754
|
+
|
|
5755
|
+
if (includeInstance) {
|
|
5756
|
+
obj.$jspbMessageInstance = msg;
|
|
5757
|
+
}
|
|
5758
|
+
return obj;
|
|
5759
|
+
};
|
|
5760
|
+
}
|
|
5761
|
+
|
|
5762
|
+
|
|
5763
|
+
/**
|
|
5764
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5765
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5766
|
+
* @return {!proto.WorkflowCandidate}
|
|
5767
|
+
*/
|
|
5768
|
+
proto.WorkflowCandidate.deserializeBinary = function(bytes) {
|
|
5769
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5770
|
+
var msg = new proto.WorkflowCandidate;
|
|
5771
|
+
return proto.WorkflowCandidate.deserializeBinaryFromReader(msg, reader);
|
|
5772
|
+
};
|
|
5773
|
+
|
|
5774
|
+
|
|
5775
|
+
/**
|
|
5776
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5777
|
+
* given reader into the given message object.
|
|
5778
|
+
* @param {!proto.WorkflowCandidate} msg The message object to deserialize into.
|
|
5779
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5780
|
+
* @return {!proto.WorkflowCandidate}
|
|
5781
|
+
*/
|
|
5782
|
+
proto.WorkflowCandidate.deserializeBinaryFromReader = function(msg, reader) {
|
|
5783
|
+
while (reader.nextField()) {
|
|
5784
|
+
if (reader.isEndGroup()) {
|
|
5785
|
+
break;
|
|
5786
|
+
}
|
|
5787
|
+
var field = reader.getFieldNumber();
|
|
5788
|
+
switch (field) {
|
|
5789
|
+
case 1:
|
|
5790
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5791
|
+
msg.setReferencesId(value);
|
|
5792
|
+
break;
|
|
5793
|
+
case 2:
|
|
5794
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5795
|
+
msg.setName(value);
|
|
5796
|
+
break;
|
|
5797
|
+
default:
|
|
5798
|
+
reader.skipField();
|
|
5799
|
+
break;
|
|
5800
|
+
}
|
|
5801
|
+
}
|
|
5802
|
+
return msg;
|
|
5803
|
+
};
|
|
5804
|
+
|
|
5805
|
+
|
|
5806
|
+
/**
|
|
5807
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5808
|
+
* @return {!Uint8Array}
|
|
5809
|
+
*/
|
|
5810
|
+
proto.WorkflowCandidate.prototype.serializeBinary = function() {
|
|
5811
|
+
var writer = new jspb.BinaryWriter();
|
|
5812
|
+
proto.WorkflowCandidate.serializeBinaryToWriter(this, writer);
|
|
5813
|
+
return writer.getResultBuffer();
|
|
5814
|
+
};
|
|
5815
|
+
|
|
5816
|
+
|
|
5817
|
+
/**
|
|
5818
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5819
|
+
* format), writing to the given BinaryWriter.
|
|
5820
|
+
* @param {!proto.WorkflowCandidate} message
|
|
5821
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5822
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5823
|
+
*/
|
|
5824
|
+
proto.WorkflowCandidate.serializeBinaryToWriter = function(message, writer) {
|
|
5825
|
+
var f = undefined;
|
|
5826
|
+
f = message.getReferencesId();
|
|
5827
|
+
if (f.length > 0) {
|
|
5828
|
+
writer.writeString(
|
|
5829
|
+
1,
|
|
5830
|
+
f
|
|
5831
|
+
);
|
|
5832
|
+
}
|
|
5833
|
+
f = message.getName();
|
|
5834
|
+
if (f.length > 0) {
|
|
5835
|
+
writer.writeString(
|
|
5836
|
+
2,
|
|
5837
|
+
f
|
|
5838
|
+
);
|
|
5839
|
+
}
|
|
5840
|
+
};
|
|
5841
|
+
|
|
5842
|
+
|
|
5843
|
+
/**
|
|
5844
|
+
* optional string references_id = 1;
|
|
5845
|
+
* @return {string}
|
|
5846
|
+
*/
|
|
5847
|
+
proto.WorkflowCandidate.prototype.getReferencesId = function() {
|
|
5848
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5849
|
+
};
|
|
5850
|
+
|
|
5851
|
+
|
|
5852
|
+
/**
|
|
5853
|
+
* @param {string} value
|
|
5854
|
+
* @return {!proto.WorkflowCandidate} returns this
|
|
5855
|
+
*/
|
|
5856
|
+
proto.WorkflowCandidate.prototype.setReferencesId = function(value) {
|
|
5857
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5858
|
+
};
|
|
5859
|
+
|
|
5860
|
+
|
|
5861
|
+
/**
|
|
5862
|
+
* optional string name = 2;
|
|
5863
|
+
* @return {string}
|
|
5864
|
+
*/
|
|
5865
|
+
proto.WorkflowCandidate.prototype.getName = function() {
|
|
5866
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5867
|
+
};
|
|
5868
|
+
|
|
5869
|
+
|
|
5870
|
+
/**
|
|
5871
|
+
* @param {string} value
|
|
5872
|
+
* @return {!proto.WorkflowCandidate} returns this
|
|
5873
|
+
*/
|
|
5874
|
+
proto.WorkflowCandidate.prototype.setName = function(value) {
|
|
5875
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5876
|
+
};
|
|
5877
|
+
|
|
5878
|
+
|
|
5879
|
+
|
|
5880
|
+
/**
|
|
5881
|
+
* List of repeated fields within this message type.
|
|
5882
|
+
* @private {!Array<number>}
|
|
5883
|
+
* @const
|
|
5884
|
+
*/
|
|
5885
|
+
proto.MatchWorkflowResponse.repeatedFields_ = [3];
|
|
5886
|
+
|
|
5887
|
+
|
|
5888
|
+
|
|
5889
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5890
|
+
/**
|
|
5891
|
+
* Creates an object representation of this proto.
|
|
5892
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5893
|
+
* Optional fields that are not set will be set to undefined.
|
|
5894
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5895
|
+
* For the list of reserved names please see:
|
|
5896
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5897
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5898
|
+
* JSPB instance for transitional soy proto support:
|
|
5899
|
+
* http://goto/soy-param-migration
|
|
5900
|
+
* @return {!Object}
|
|
5901
|
+
*/
|
|
5902
|
+
proto.MatchWorkflowResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5903
|
+
return proto.MatchWorkflowResponse.toObject(opt_includeInstance, this);
|
|
5904
|
+
};
|
|
5905
|
+
|
|
5906
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* Static version of the {@see toObject} method.
|
|
5909
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5910
|
+
* the JSPB instance for transitional soy proto support:
|
|
5911
|
+
* http://goto/soy-param-migration
|
|
5912
|
+
* @param {!proto.MatchWorkflowResponse} msg The msg instance to transform.
|
|
5913
|
+
* @return {!Object}
|
|
5914
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5915
|
+
*/
|
|
5916
|
+
proto.MatchWorkflowResponse.toObject = function(includeInstance, msg) {
|
|
5917
|
+
var f, obj = {
|
|
5918
|
+
workflow: (f = msg.getWorkflow()) && prisca_v1_core_workflow_workflow_pb.Workflow.toObject(includeInstance, f),
|
|
5919
|
+
matchedCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5920
|
+
otherCandidatesList: jspb.Message.toObjectList(msg.getOtherCandidatesList(),
|
|
5921
|
+
proto.WorkflowCandidate.toObject, includeInstance),
|
|
5922
|
+
emptyReason: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5923
|
+
emptyReasonMessage: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5924
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
5925
|
+
};
|
|
5926
|
+
|
|
5927
|
+
if (includeInstance) {
|
|
5928
|
+
obj.$jspbMessageInstance = msg;
|
|
5929
|
+
}
|
|
5930
|
+
return obj;
|
|
5931
|
+
};
|
|
5932
|
+
}
|
|
5933
|
+
|
|
5934
|
+
|
|
5935
|
+
/**
|
|
5936
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5937
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5938
|
+
* @return {!proto.MatchWorkflowResponse}
|
|
5939
|
+
*/
|
|
5940
|
+
proto.MatchWorkflowResponse.deserializeBinary = function(bytes) {
|
|
5941
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5942
|
+
var msg = new proto.MatchWorkflowResponse;
|
|
5943
|
+
return proto.MatchWorkflowResponse.deserializeBinaryFromReader(msg, reader);
|
|
5944
|
+
};
|
|
5945
|
+
|
|
5946
|
+
|
|
5947
|
+
/**
|
|
5948
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5949
|
+
* given reader into the given message object.
|
|
5950
|
+
* @param {!proto.MatchWorkflowResponse} msg The message object to deserialize into.
|
|
5951
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5952
|
+
* @return {!proto.MatchWorkflowResponse}
|
|
5953
|
+
*/
|
|
5954
|
+
proto.MatchWorkflowResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5955
|
+
while (reader.nextField()) {
|
|
5956
|
+
if (reader.isEndGroup()) {
|
|
5957
|
+
break;
|
|
5958
|
+
}
|
|
5959
|
+
var field = reader.getFieldNumber();
|
|
5960
|
+
switch (field) {
|
|
5961
|
+
case 1:
|
|
5962
|
+
var value = new prisca_v1_core_workflow_workflow_pb.Workflow;
|
|
5963
|
+
reader.readMessage(value,prisca_v1_core_workflow_workflow_pb.Workflow.deserializeBinaryFromReader);
|
|
5964
|
+
msg.setWorkflow(value);
|
|
5965
|
+
break;
|
|
5966
|
+
case 2:
|
|
5967
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5968
|
+
msg.setMatchedCount(value);
|
|
5969
|
+
break;
|
|
5970
|
+
case 3:
|
|
5971
|
+
var value = new proto.WorkflowCandidate;
|
|
5972
|
+
reader.readMessage(value,proto.WorkflowCandidate.deserializeBinaryFromReader);
|
|
5973
|
+
msg.addOtherCandidates(value);
|
|
5974
|
+
break;
|
|
5975
|
+
case 4:
|
|
5976
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5977
|
+
msg.setEmptyReason(value);
|
|
5978
|
+
break;
|
|
5979
|
+
case 5:
|
|
5980
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5981
|
+
msg.setEmptyReasonMessage(value);
|
|
5982
|
+
break;
|
|
5983
|
+
case 6:
|
|
5984
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
5985
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
5986
|
+
msg.setMeta(value);
|
|
5987
|
+
break;
|
|
5988
|
+
default:
|
|
5989
|
+
reader.skipField();
|
|
5990
|
+
break;
|
|
5991
|
+
}
|
|
5992
|
+
}
|
|
5993
|
+
return msg;
|
|
5994
|
+
};
|
|
5995
|
+
|
|
5996
|
+
|
|
5997
|
+
/**
|
|
5998
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5999
|
+
* @return {!Uint8Array}
|
|
6000
|
+
*/
|
|
6001
|
+
proto.MatchWorkflowResponse.prototype.serializeBinary = function() {
|
|
6002
|
+
var writer = new jspb.BinaryWriter();
|
|
6003
|
+
proto.MatchWorkflowResponse.serializeBinaryToWriter(this, writer);
|
|
6004
|
+
return writer.getResultBuffer();
|
|
6005
|
+
};
|
|
6006
|
+
|
|
6007
|
+
|
|
6008
|
+
/**
|
|
6009
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6010
|
+
* format), writing to the given BinaryWriter.
|
|
6011
|
+
* @param {!proto.MatchWorkflowResponse} message
|
|
6012
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6013
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6014
|
+
*/
|
|
6015
|
+
proto.MatchWorkflowResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6016
|
+
var f = undefined;
|
|
6017
|
+
f = message.getWorkflow();
|
|
6018
|
+
if (f != null) {
|
|
6019
|
+
writer.writeMessage(
|
|
6020
|
+
1,
|
|
6021
|
+
f,
|
|
6022
|
+
prisca_v1_core_workflow_workflow_pb.Workflow.serializeBinaryToWriter
|
|
6023
|
+
);
|
|
6024
|
+
}
|
|
6025
|
+
f = message.getMatchedCount();
|
|
6026
|
+
if (f !== 0) {
|
|
6027
|
+
writer.writeInt32(
|
|
6028
|
+
2,
|
|
6029
|
+
f
|
|
6030
|
+
);
|
|
6031
|
+
}
|
|
6032
|
+
f = message.getOtherCandidatesList();
|
|
6033
|
+
if (f.length > 0) {
|
|
6034
|
+
writer.writeRepeatedMessage(
|
|
6035
|
+
3,
|
|
6036
|
+
f,
|
|
6037
|
+
proto.WorkflowCandidate.serializeBinaryToWriter
|
|
6038
|
+
);
|
|
6039
|
+
}
|
|
6040
|
+
f = message.getEmptyReason();
|
|
6041
|
+
if (f.length > 0) {
|
|
6042
|
+
writer.writeString(
|
|
6043
|
+
4,
|
|
6044
|
+
f
|
|
6045
|
+
);
|
|
6046
|
+
}
|
|
6047
|
+
f = message.getEmptyReasonMessage();
|
|
6048
|
+
if (f.length > 0) {
|
|
6049
|
+
writer.writeString(
|
|
6050
|
+
5,
|
|
6051
|
+
f
|
|
6052
|
+
);
|
|
6053
|
+
}
|
|
6054
|
+
f = message.getMeta();
|
|
6055
|
+
if (f != null) {
|
|
6056
|
+
writer.writeMessage(
|
|
6057
|
+
6,
|
|
6058
|
+
f,
|
|
6059
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
6060
|
+
);
|
|
6061
|
+
}
|
|
6062
|
+
};
|
|
6063
|
+
|
|
6064
|
+
|
|
6065
|
+
/**
|
|
6066
|
+
* optional Workflow workflow = 1;
|
|
6067
|
+
* @return {?proto.Workflow}
|
|
6068
|
+
*/
|
|
6069
|
+
proto.MatchWorkflowResponse.prototype.getWorkflow = function() {
|
|
6070
|
+
return /** @type{?proto.Workflow} */ (
|
|
6071
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_workflow_workflow_pb.Workflow, 1));
|
|
6072
|
+
};
|
|
6073
|
+
|
|
6074
|
+
|
|
6075
|
+
/**
|
|
6076
|
+
* @param {?proto.Workflow|undefined} value
|
|
6077
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6078
|
+
*/
|
|
6079
|
+
proto.MatchWorkflowResponse.prototype.setWorkflow = function(value) {
|
|
6080
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
6081
|
+
};
|
|
6082
|
+
|
|
6083
|
+
|
|
6084
|
+
/**
|
|
6085
|
+
* Clears the message field making it undefined.
|
|
6086
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6087
|
+
*/
|
|
6088
|
+
proto.MatchWorkflowResponse.prototype.clearWorkflow = function() {
|
|
6089
|
+
return this.setWorkflow(undefined);
|
|
6090
|
+
};
|
|
6091
|
+
|
|
6092
|
+
|
|
6093
|
+
/**
|
|
6094
|
+
* Returns whether this field is set.
|
|
6095
|
+
* @return {boolean}
|
|
6096
|
+
*/
|
|
6097
|
+
proto.MatchWorkflowResponse.prototype.hasWorkflow = function() {
|
|
6098
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6099
|
+
};
|
|
6100
|
+
|
|
6101
|
+
|
|
6102
|
+
/**
|
|
6103
|
+
* optional int32 matched_count = 2;
|
|
6104
|
+
* @return {number}
|
|
6105
|
+
*/
|
|
6106
|
+
proto.MatchWorkflowResponse.prototype.getMatchedCount = function() {
|
|
6107
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6108
|
+
};
|
|
6109
|
+
|
|
6110
|
+
|
|
6111
|
+
/**
|
|
6112
|
+
* @param {number} value
|
|
6113
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6114
|
+
*/
|
|
6115
|
+
proto.MatchWorkflowResponse.prototype.setMatchedCount = function(value) {
|
|
6116
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
6117
|
+
};
|
|
6118
|
+
|
|
6119
|
+
|
|
6120
|
+
/**
|
|
6121
|
+
* repeated WorkflowCandidate other_candidates = 3;
|
|
6122
|
+
* @return {!Array<!proto.WorkflowCandidate>}
|
|
6123
|
+
*/
|
|
6124
|
+
proto.MatchWorkflowResponse.prototype.getOtherCandidatesList = function() {
|
|
6125
|
+
return /** @type{!Array<!proto.WorkflowCandidate>} */ (
|
|
6126
|
+
jspb.Message.getRepeatedWrapperField(this, proto.WorkflowCandidate, 3));
|
|
6127
|
+
};
|
|
6128
|
+
|
|
6129
|
+
|
|
6130
|
+
/**
|
|
6131
|
+
* @param {!Array<!proto.WorkflowCandidate>} value
|
|
6132
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6133
|
+
*/
|
|
6134
|
+
proto.MatchWorkflowResponse.prototype.setOtherCandidatesList = function(value) {
|
|
6135
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
6136
|
+
};
|
|
6137
|
+
|
|
6138
|
+
|
|
6139
|
+
/**
|
|
6140
|
+
* @param {!proto.WorkflowCandidate=} opt_value
|
|
6141
|
+
* @param {number=} opt_index
|
|
6142
|
+
* @return {!proto.WorkflowCandidate}
|
|
6143
|
+
*/
|
|
6144
|
+
proto.MatchWorkflowResponse.prototype.addOtherCandidates = function(opt_value, opt_index) {
|
|
6145
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.WorkflowCandidate, opt_index);
|
|
6146
|
+
};
|
|
6147
|
+
|
|
6148
|
+
|
|
6149
|
+
/**
|
|
6150
|
+
* Clears the list making it empty but non-null.
|
|
6151
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6152
|
+
*/
|
|
6153
|
+
proto.MatchWorkflowResponse.prototype.clearOtherCandidatesList = function() {
|
|
6154
|
+
return this.setOtherCandidatesList([]);
|
|
6155
|
+
};
|
|
6156
|
+
|
|
6157
|
+
|
|
6158
|
+
/**
|
|
6159
|
+
* optional string empty_reason = 4;
|
|
6160
|
+
* @return {string}
|
|
6161
|
+
*/
|
|
6162
|
+
proto.MatchWorkflowResponse.prototype.getEmptyReason = function() {
|
|
6163
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6164
|
+
};
|
|
6165
|
+
|
|
6166
|
+
|
|
6167
|
+
/**
|
|
6168
|
+
* @param {string} value
|
|
6169
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6170
|
+
*/
|
|
6171
|
+
proto.MatchWorkflowResponse.prototype.setEmptyReason = function(value) {
|
|
6172
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
6173
|
+
};
|
|
6174
|
+
|
|
6175
|
+
|
|
6176
|
+
/**
|
|
6177
|
+
* optional string empty_reason_message = 5;
|
|
6178
|
+
* @return {string}
|
|
6179
|
+
*/
|
|
6180
|
+
proto.MatchWorkflowResponse.prototype.getEmptyReasonMessage = function() {
|
|
6181
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6182
|
+
};
|
|
6183
|
+
|
|
6184
|
+
|
|
6185
|
+
/**
|
|
6186
|
+
* @param {string} value
|
|
6187
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6188
|
+
*/
|
|
6189
|
+
proto.MatchWorkflowResponse.prototype.setEmptyReasonMessage = function(value) {
|
|
6190
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
6191
|
+
};
|
|
6192
|
+
|
|
6193
|
+
|
|
6194
|
+
/**
|
|
6195
|
+
* optional prisca.v1.global.meta.Meta meta = 6;
|
|
6196
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
6197
|
+
*/
|
|
6198
|
+
proto.MatchWorkflowResponse.prototype.getMeta = function() {
|
|
6199
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
6200
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 6));
|
|
6201
|
+
};
|
|
6202
|
+
|
|
6203
|
+
|
|
6204
|
+
/**
|
|
6205
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
6206
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6207
|
+
*/
|
|
6208
|
+
proto.MatchWorkflowResponse.prototype.setMeta = function(value) {
|
|
6209
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
6210
|
+
};
|
|
6211
|
+
|
|
6212
|
+
|
|
6213
|
+
/**
|
|
6214
|
+
* Clears the message field making it undefined.
|
|
6215
|
+
* @return {!proto.MatchWorkflowResponse} returns this
|
|
6216
|
+
*/
|
|
6217
|
+
proto.MatchWorkflowResponse.prototype.clearMeta = function() {
|
|
6218
|
+
return this.setMeta(undefined);
|
|
6219
|
+
};
|
|
6220
|
+
|
|
6221
|
+
|
|
6222
|
+
/**
|
|
6223
|
+
* Returns whether this field is set.
|
|
6224
|
+
* @return {boolean}
|
|
6225
|
+
*/
|
|
6226
|
+
proto.MatchWorkflowResponse.prototype.hasMeta = function() {
|
|
6227
|
+
return jspb.Message.getField(this, 6) != null;
|
|
6228
|
+
};
|
|
6229
|
+
|
|
6230
|
+
|
|
4204
6231
|
goog.object.extend(exports, proto);
|