@aldiokta/protocgen 1.1.49 → 1.1.50
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/bidding/bidding_pb.js +62 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +180 -0
- package/prisca/v1/business_fields/business_fields_pb.js +4372 -0
- package/prisca/v1/core/bank/bank_grpc_pb.js +156 -0
- package/prisca/v1/core/bank/bank_pb.js +1988 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +31 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +1783 -593
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +1 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +102 -1
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_grpc_pb.js +180 -0
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +3707 -0
- package/prisca/v1/core/plant/plant_grpc_pb.js +156 -0
- package/prisca/v1/core/plant/plant_pb.js +2078 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/global/meta/meta_pb.js +452 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +11 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
- package/prisca/v1/invoice/invoice_grpc_pb.js +11 -0
- package/prisca/v1/invoice/invoice_pb.js +55 -2
- package/prisca/v1/invoice_type/invoice_type_grpc_pb.js +202 -0
- package/prisca/v1/invoice_type/invoice_type_pb.js +3598 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +66 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +3670 -2242
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +44 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +1802 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +224 -2
|
@@ -38,6 +38,8 @@ goog.exportSymbol('proto.DeletePurchaseRequisitionResponse', null, global);
|
|
|
38
38
|
goog.exportSymbol('proto.DeletePurchaseRequisitionTemplateRequest', null, global);
|
|
39
39
|
goog.exportSymbol('proto.DeletePurchaseRequisitionTemplateResponse', null, global);
|
|
40
40
|
goog.exportSymbol('proto.GetItemTransactionTrxDetail', null, global);
|
|
41
|
+
goog.exportSymbol('proto.GetPRItemTrackListResponse', null, global);
|
|
42
|
+
goog.exportSymbol('proto.GetPRProgressTrackListResponse', null, global);
|
|
41
43
|
goog.exportSymbol('proto.GetPurchaseRequisitionDetailTrxDetail', null, global);
|
|
42
44
|
goog.exportSymbol('proto.GetPurchaseRequisitionTemplateByIdRequest', null, global);
|
|
43
45
|
goog.exportSymbol('proto.GetPurchaseRequisitionTemplateByIdResponse', null, global);
|
|
@@ -63,6 +65,8 @@ goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListResponse', null, glo
|
|
|
63
65
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListTableResponse', null, global);
|
|
64
66
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxListRequest', null, global);
|
|
65
67
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxListResponse', null, global);
|
|
68
|
+
goog.exportSymbol('proto.PurchaseRequisitionItemTrack', null, global);
|
|
69
|
+
goog.exportSymbol('proto.PurchaseRequisitionProgressTrack', null, global);
|
|
66
70
|
goog.exportSymbol('proto.PurchaseRequisitionTrx', null, global);
|
|
67
71
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionFileReq', null, global);
|
|
68
72
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTemplateRequest', null, global);
|
|
@@ -973,6 +977,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
973
977
|
*/
|
|
974
978
|
proto.DeletePurchaseRequisitionResponse.displayName = 'proto.DeletePurchaseRequisitionResponse';
|
|
975
979
|
}
|
|
980
|
+
/**
|
|
981
|
+
* Generated by JsPbCodeGenerator.
|
|
982
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
983
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
984
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
985
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
986
|
+
* valid.
|
|
987
|
+
* @extends {jspb.Message}
|
|
988
|
+
* @constructor
|
|
989
|
+
*/
|
|
990
|
+
proto.PurchaseRequisitionItemTrack = function(opt_data) {
|
|
991
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
992
|
+
};
|
|
993
|
+
goog.inherits(proto.PurchaseRequisitionItemTrack, jspb.Message);
|
|
994
|
+
if (goog.DEBUG && !COMPILED) {
|
|
995
|
+
/**
|
|
996
|
+
* @public
|
|
997
|
+
* @override
|
|
998
|
+
*/
|
|
999
|
+
proto.PurchaseRequisitionItemTrack.displayName = 'proto.PurchaseRequisitionItemTrack';
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* Generated by JsPbCodeGenerator.
|
|
1003
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1004
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1005
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1006
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1007
|
+
* valid.
|
|
1008
|
+
* @extends {jspb.Message}
|
|
1009
|
+
* @constructor
|
|
1010
|
+
*/
|
|
1011
|
+
proto.GetPRItemTrackListResponse = function(opt_data) {
|
|
1012
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPRItemTrackListResponse.repeatedFields_, null);
|
|
1013
|
+
};
|
|
1014
|
+
goog.inherits(proto.GetPRItemTrackListResponse, jspb.Message);
|
|
1015
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1016
|
+
/**
|
|
1017
|
+
* @public
|
|
1018
|
+
* @override
|
|
1019
|
+
*/
|
|
1020
|
+
proto.GetPRItemTrackListResponse.displayName = 'proto.GetPRItemTrackListResponse';
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
* Generated by JsPbCodeGenerator.
|
|
1024
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1025
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1026
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1027
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1028
|
+
* valid.
|
|
1029
|
+
* @extends {jspb.Message}
|
|
1030
|
+
* @constructor
|
|
1031
|
+
*/
|
|
1032
|
+
proto.PurchaseRequisitionProgressTrack = function(opt_data) {
|
|
1033
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1034
|
+
};
|
|
1035
|
+
goog.inherits(proto.PurchaseRequisitionProgressTrack, jspb.Message);
|
|
1036
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1037
|
+
/**
|
|
1038
|
+
* @public
|
|
1039
|
+
* @override
|
|
1040
|
+
*/
|
|
1041
|
+
proto.PurchaseRequisitionProgressTrack.displayName = 'proto.PurchaseRequisitionProgressTrack';
|
|
1042
|
+
}
|
|
1043
|
+
/**
|
|
1044
|
+
* Generated by JsPbCodeGenerator.
|
|
1045
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1046
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1047
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1048
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1049
|
+
* valid.
|
|
1050
|
+
* @extends {jspb.Message}
|
|
1051
|
+
* @constructor
|
|
1052
|
+
*/
|
|
1053
|
+
proto.GetPRProgressTrackListResponse = function(opt_data) {
|
|
1054
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPRProgressTrackListResponse.repeatedFields_, null);
|
|
1055
|
+
};
|
|
1056
|
+
goog.inherits(proto.GetPRProgressTrackListResponse, jspb.Message);
|
|
1057
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1058
|
+
/**
|
|
1059
|
+
* @public
|
|
1060
|
+
* @override
|
|
1061
|
+
*/
|
|
1062
|
+
proto.GetPRProgressTrackListResponse.displayName = 'proto.GetPRProgressTrackListResponse';
|
|
1063
|
+
}
|
|
976
1064
|
|
|
977
1065
|
/**
|
|
978
1066
|
* List of repeated fields within this message type.
|
|
@@ -10792,4 +10880,1718 @@ proto.DeletePurchaseRequisitionResponse.prototype.hasMeta = function() {
|
|
|
10792
10880
|
};
|
|
10793
10881
|
|
|
10794
10882
|
|
|
10883
|
+
|
|
10884
|
+
|
|
10885
|
+
|
|
10886
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10887
|
+
/**
|
|
10888
|
+
* Creates an object representation of this proto.
|
|
10889
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10890
|
+
* Optional fields that are not set will be set to undefined.
|
|
10891
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10892
|
+
* For the list of reserved names please see:
|
|
10893
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10894
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10895
|
+
* JSPB instance for transitional soy proto support:
|
|
10896
|
+
* http://goto/soy-param-migration
|
|
10897
|
+
* @return {!Object}
|
|
10898
|
+
*/
|
|
10899
|
+
proto.PurchaseRequisitionItemTrack.prototype.toObject = function(opt_includeInstance) {
|
|
10900
|
+
return proto.PurchaseRequisitionItemTrack.toObject(opt_includeInstance, this);
|
|
10901
|
+
};
|
|
10902
|
+
|
|
10903
|
+
|
|
10904
|
+
/**
|
|
10905
|
+
* Static version of the {@see toObject} method.
|
|
10906
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10907
|
+
* the JSPB instance for transitional soy proto support:
|
|
10908
|
+
* http://goto/soy-param-migration
|
|
10909
|
+
* @param {!proto.PurchaseRequisitionItemTrack} msg The msg instance to transform.
|
|
10910
|
+
* @return {!Object}
|
|
10911
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10912
|
+
*/
|
|
10913
|
+
proto.PurchaseRequisitionItemTrack.toObject = function(includeInstance, msg) {
|
|
10914
|
+
var f, obj = {
|
|
10915
|
+
purchaseRequestNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10916
|
+
purchaseRequestItemNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10917
|
+
purchaseRequestType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10918
|
+
purchaseRequestGroup: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10919
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10920
|
+
materialNo: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10921
|
+
description: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
10922
|
+
descriptionDetail: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
10923
|
+
materialGroup: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
10924
|
+
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
10925
|
+
estimatedPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
|
10926
|
+
department: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
10927
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
10928
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
10929
|
+
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
10930
|
+
purchaseOrderQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
10931
|
+
purchaseOrderCreatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
10932
|
+
goodsReceiptNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
10933
|
+
goodsReceiptQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
|
|
10934
|
+
goodsReceiptCreatedAt: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
10935
|
+
createdByUser: (f = msg.getCreatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
|
|
10936
|
+
};
|
|
10937
|
+
|
|
10938
|
+
if (includeInstance) {
|
|
10939
|
+
obj.$jspbMessageInstance = msg;
|
|
10940
|
+
}
|
|
10941
|
+
return obj;
|
|
10942
|
+
};
|
|
10943
|
+
}
|
|
10944
|
+
|
|
10945
|
+
|
|
10946
|
+
/**
|
|
10947
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10948
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10949
|
+
* @return {!proto.PurchaseRequisitionItemTrack}
|
|
10950
|
+
*/
|
|
10951
|
+
proto.PurchaseRequisitionItemTrack.deserializeBinary = function(bytes) {
|
|
10952
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10953
|
+
var msg = new proto.PurchaseRequisitionItemTrack;
|
|
10954
|
+
return proto.PurchaseRequisitionItemTrack.deserializeBinaryFromReader(msg, reader);
|
|
10955
|
+
};
|
|
10956
|
+
|
|
10957
|
+
|
|
10958
|
+
/**
|
|
10959
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10960
|
+
* given reader into the given message object.
|
|
10961
|
+
* @param {!proto.PurchaseRequisitionItemTrack} msg The message object to deserialize into.
|
|
10962
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10963
|
+
* @return {!proto.PurchaseRequisitionItemTrack}
|
|
10964
|
+
*/
|
|
10965
|
+
proto.PurchaseRequisitionItemTrack.deserializeBinaryFromReader = function(msg, reader) {
|
|
10966
|
+
while (reader.nextField()) {
|
|
10967
|
+
if (reader.isEndGroup()) {
|
|
10968
|
+
break;
|
|
10969
|
+
}
|
|
10970
|
+
var field = reader.getFieldNumber();
|
|
10971
|
+
switch (field) {
|
|
10972
|
+
case 1:
|
|
10973
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10974
|
+
msg.setPurchaseRequestNumber(value);
|
|
10975
|
+
break;
|
|
10976
|
+
case 2:
|
|
10977
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10978
|
+
msg.setPurchaseRequestItemNumber(value);
|
|
10979
|
+
break;
|
|
10980
|
+
case 3:
|
|
10981
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10982
|
+
msg.setPurchaseRequestType(value);
|
|
10983
|
+
break;
|
|
10984
|
+
case 4:
|
|
10985
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10986
|
+
msg.setPurchaseRequestGroup(value);
|
|
10987
|
+
break;
|
|
10988
|
+
case 5:
|
|
10989
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10990
|
+
msg.setStatus(value);
|
|
10991
|
+
break;
|
|
10992
|
+
case 6:
|
|
10993
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10994
|
+
msg.setMaterialNo(value);
|
|
10995
|
+
break;
|
|
10996
|
+
case 7:
|
|
10997
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10998
|
+
msg.setDescription(value);
|
|
10999
|
+
break;
|
|
11000
|
+
case 8:
|
|
11001
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11002
|
+
msg.setDescriptionDetail(value);
|
|
11003
|
+
break;
|
|
11004
|
+
case 9:
|
|
11005
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11006
|
+
msg.setMaterialGroup(value);
|
|
11007
|
+
break;
|
|
11008
|
+
case 10:
|
|
11009
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11010
|
+
msg.setQuantity(value);
|
|
11011
|
+
break;
|
|
11012
|
+
case 11:
|
|
11013
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11014
|
+
msg.setEstimatedPrice(value);
|
|
11015
|
+
break;
|
|
11016
|
+
case 12:
|
|
11017
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11018
|
+
msg.setDepartment(value);
|
|
11019
|
+
break;
|
|
11020
|
+
case 13:
|
|
11021
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11022
|
+
msg.setCreatedBy(value);
|
|
11023
|
+
break;
|
|
11024
|
+
case 14:
|
|
11025
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11026
|
+
msg.setCreatedAt(value);
|
|
11027
|
+
break;
|
|
11028
|
+
case 15:
|
|
11029
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11030
|
+
msg.setPurchaseOrderNumber(value);
|
|
11031
|
+
break;
|
|
11032
|
+
case 16:
|
|
11033
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11034
|
+
msg.setPurchaseOrderQuantity(value);
|
|
11035
|
+
break;
|
|
11036
|
+
case 17:
|
|
11037
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11038
|
+
msg.setPurchaseOrderCreatedAt(value);
|
|
11039
|
+
break;
|
|
11040
|
+
case 18:
|
|
11041
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11042
|
+
msg.setGoodsReceiptNumber(value);
|
|
11043
|
+
break;
|
|
11044
|
+
case 19:
|
|
11045
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11046
|
+
msg.setGoodsReceiptQuantity(value);
|
|
11047
|
+
break;
|
|
11048
|
+
case 20:
|
|
11049
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11050
|
+
msg.setGoodsReceiptCreatedAt(value);
|
|
11051
|
+
break;
|
|
11052
|
+
case 21:
|
|
11053
|
+
var value = new prisca_v1_global_meta_meta_pb.Creator;
|
|
11054
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
11055
|
+
msg.setCreatedByUser(value);
|
|
11056
|
+
break;
|
|
11057
|
+
default:
|
|
11058
|
+
reader.skipField();
|
|
11059
|
+
break;
|
|
11060
|
+
}
|
|
11061
|
+
}
|
|
11062
|
+
return msg;
|
|
11063
|
+
};
|
|
11064
|
+
|
|
11065
|
+
|
|
11066
|
+
/**
|
|
11067
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11068
|
+
* @return {!Uint8Array}
|
|
11069
|
+
*/
|
|
11070
|
+
proto.PurchaseRequisitionItemTrack.prototype.serializeBinary = function() {
|
|
11071
|
+
var writer = new jspb.BinaryWriter();
|
|
11072
|
+
proto.PurchaseRequisitionItemTrack.serializeBinaryToWriter(this, writer);
|
|
11073
|
+
return writer.getResultBuffer();
|
|
11074
|
+
};
|
|
11075
|
+
|
|
11076
|
+
|
|
11077
|
+
/**
|
|
11078
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11079
|
+
* format), writing to the given BinaryWriter.
|
|
11080
|
+
* @param {!proto.PurchaseRequisitionItemTrack} message
|
|
11081
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11082
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11083
|
+
*/
|
|
11084
|
+
proto.PurchaseRequisitionItemTrack.serializeBinaryToWriter = function(message, writer) {
|
|
11085
|
+
var f = undefined;
|
|
11086
|
+
f = message.getPurchaseRequestNumber();
|
|
11087
|
+
if (f.length > 0) {
|
|
11088
|
+
writer.writeString(
|
|
11089
|
+
1,
|
|
11090
|
+
f
|
|
11091
|
+
);
|
|
11092
|
+
}
|
|
11093
|
+
f = message.getPurchaseRequestItemNumber();
|
|
11094
|
+
if (f.length > 0) {
|
|
11095
|
+
writer.writeString(
|
|
11096
|
+
2,
|
|
11097
|
+
f
|
|
11098
|
+
);
|
|
11099
|
+
}
|
|
11100
|
+
f = message.getPurchaseRequestType();
|
|
11101
|
+
if (f.length > 0) {
|
|
11102
|
+
writer.writeString(
|
|
11103
|
+
3,
|
|
11104
|
+
f
|
|
11105
|
+
);
|
|
11106
|
+
}
|
|
11107
|
+
f = message.getPurchaseRequestGroup();
|
|
11108
|
+
if (f.length > 0) {
|
|
11109
|
+
writer.writeString(
|
|
11110
|
+
4,
|
|
11111
|
+
f
|
|
11112
|
+
);
|
|
11113
|
+
}
|
|
11114
|
+
f = message.getStatus();
|
|
11115
|
+
if (f.length > 0) {
|
|
11116
|
+
writer.writeString(
|
|
11117
|
+
5,
|
|
11118
|
+
f
|
|
11119
|
+
);
|
|
11120
|
+
}
|
|
11121
|
+
f = message.getMaterialNo();
|
|
11122
|
+
if (f.length > 0) {
|
|
11123
|
+
writer.writeString(
|
|
11124
|
+
6,
|
|
11125
|
+
f
|
|
11126
|
+
);
|
|
11127
|
+
}
|
|
11128
|
+
f = message.getDescription();
|
|
11129
|
+
if (f.length > 0) {
|
|
11130
|
+
writer.writeString(
|
|
11131
|
+
7,
|
|
11132
|
+
f
|
|
11133
|
+
);
|
|
11134
|
+
}
|
|
11135
|
+
f = message.getDescriptionDetail();
|
|
11136
|
+
if (f.length > 0) {
|
|
11137
|
+
writer.writeString(
|
|
11138
|
+
8,
|
|
11139
|
+
f
|
|
11140
|
+
);
|
|
11141
|
+
}
|
|
11142
|
+
f = message.getMaterialGroup();
|
|
11143
|
+
if (f.length > 0) {
|
|
11144
|
+
writer.writeString(
|
|
11145
|
+
9,
|
|
11146
|
+
f
|
|
11147
|
+
);
|
|
11148
|
+
}
|
|
11149
|
+
f = message.getQuantity();
|
|
11150
|
+
if (f !== 0.0) {
|
|
11151
|
+
writer.writeDouble(
|
|
11152
|
+
10,
|
|
11153
|
+
f
|
|
11154
|
+
);
|
|
11155
|
+
}
|
|
11156
|
+
f = message.getEstimatedPrice();
|
|
11157
|
+
if (f !== 0.0) {
|
|
11158
|
+
writer.writeDouble(
|
|
11159
|
+
11,
|
|
11160
|
+
f
|
|
11161
|
+
);
|
|
11162
|
+
}
|
|
11163
|
+
f = message.getDepartment();
|
|
11164
|
+
if (f.length > 0) {
|
|
11165
|
+
writer.writeString(
|
|
11166
|
+
12,
|
|
11167
|
+
f
|
|
11168
|
+
);
|
|
11169
|
+
}
|
|
11170
|
+
f = message.getCreatedBy();
|
|
11171
|
+
if (f.length > 0) {
|
|
11172
|
+
writer.writeString(
|
|
11173
|
+
13,
|
|
11174
|
+
f
|
|
11175
|
+
);
|
|
11176
|
+
}
|
|
11177
|
+
f = message.getCreatedAt();
|
|
11178
|
+
if (f.length > 0) {
|
|
11179
|
+
writer.writeString(
|
|
11180
|
+
14,
|
|
11181
|
+
f
|
|
11182
|
+
);
|
|
11183
|
+
}
|
|
11184
|
+
f = message.getPurchaseOrderNumber();
|
|
11185
|
+
if (f.length > 0) {
|
|
11186
|
+
writer.writeString(
|
|
11187
|
+
15,
|
|
11188
|
+
f
|
|
11189
|
+
);
|
|
11190
|
+
}
|
|
11191
|
+
f = message.getPurchaseOrderQuantity();
|
|
11192
|
+
if (f !== 0.0) {
|
|
11193
|
+
writer.writeDouble(
|
|
11194
|
+
16,
|
|
11195
|
+
f
|
|
11196
|
+
);
|
|
11197
|
+
}
|
|
11198
|
+
f = message.getPurchaseOrderCreatedAt();
|
|
11199
|
+
if (f.length > 0) {
|
|
11200
|
+
writer.writeString(
|
|
11201
|
+
17,
|
|
11202
|
+
f
|
|
11203
|
+
);
|
|
11204
|
+
}
|
|
11205
|
+
f = message.getGoodsReceiptNumber();
|
|
11206
|
+
if (f.length > 0) {
|
|
11207
|
+
writer.writeString(
|
|
11208
|
+
18,
|
|
11209
|
+
f
|
|
11210
|
+
);
|
|
11211
|
+
}
|
|
11212
|
+
f = message.getGoodsReceiptQuantity();
|
|
11213
|
+
if (f !== 0.0) {
|
|
11214
|
+
writer.writeDouble(
|
|
11215
|
+
19,
|
|
11216
|
+
f
|
|
11217
|
+
);
|
|
11218
|
+
}
|
|
11219
|
+
f = message.getGoodsReceiptCreatedAt();
|
|
11220
|
+
if (f.length > 0) {
|
|
11221
|
+
writer.writeString(
|
|
11222
|
+
20,
|
|
11223
|
+
f
|
|
11224
|
+
);
|
|
11225
|
+
}
|
|
11226
|
+
f = message.getCreatedByUser();
|
|
11227
|
+
if (f != null) {
|
|
11228
|
+
writer.writeMessage(
|
|
11229
|
+
21,
|
|
11230
|
+
f,
|
|
11231
|
+
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
11232
|
+
);
|
|
11233
|
+
}
|
|
11234
|
+
};
|
|
11235
|
+
|
|
11236
|
+
|
|
11237
|
+
/**
|
|
11238
|
+
* optional string purchase_request_number = 1;
|
|
11239
|
+
* @return {string}
|
|
11240
|
+
*/
|
|
11241
|
+
proto.PurchaseRequisitionItemTrack.prototype.getPurchaseRequestNumber = function() {
|
|
11242
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11243
|
+
};
|
|
11244
|
+
|
|
11245
|
+
|
|
11246
|
+
/**
|
|
11247
|
+
* @param {string} value
|
|
11248
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11249
|
+
*/
|
|
11250
|
+
proto.PurchaseRequisitionItemTrack.prototype.setPurchaseRequestNumber = function(value) {
|
|
11251
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11252
|
+
};
|
|
11253
|
+
|
|
11254
|
+
|
|
11255
|
+
/**
|
|
11256
|
+
* optional string purchase_request_item_number = 2;
|
|
11257
|
+
* @return {string}
|
|
11258
|
+
*/
|
|
11259
|
+
proto.PurchaseRequisitionItemTrack.prototype.getPurchaseRequestItemNumber = function() {
|
|
11260
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11261
|
+
};
|
|
11262
|
+
|
|
11263
|
+
|
|
11264
|
+
/**
|
|
11265
|
+
* @param {string} value
|
|
11266
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11267
|
+
*/
|
|
11268
|
+
proto.PurchaseRequisitionItemTrack.prototype.setPurchaseRequestItemNumber = function(value) {
|
|
11269
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11270
|
+
};
|
|
11271
|
+
|
|
11272
|
+
|
|
11273
|
+
/**
|
|
11274
|
+
* optional string purchase_request_type = 3;
|
|
11275
|
+
* @return {string}
|
|
11276
|
+
*/
|
|
11277
|
+
proto.PurchaseRequisitionItemTrack.prototype.getPurchaseRequestType = function() {
|
|
11278
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11279
|
+
};
|
|
11280
|
+
|
|
11281
|
+
|
|
11282
|
+
/**
|
|
11283
|
+
* @param {string} value
|
|
11284
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11285
|
+
*/
|
|
11286
|
+
proto.PurchaseRequisitionItemTrack.prototype.setPurchaseRequestType = function(value) {
|
|
11287
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
11288
|
+
};
|
|
11289
|
+
|
|
11290
|
+
|
|
11291
|
+
/**
|
|
11292
|
+
* optional string purchase_request_group = 4;
|
|
11293
|
+
* @return {string}
|
|
11294
|
+
*/
|
|
11295
|
+
proto.PurchaseRequisitionItemTrack.prototype.getPurchaseRequestGroup = function() {
|
|
11296
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11297
|
+
};
|
|
11298
|
+
|
|
11299
|
+
|
|
11300
|
+
/**
|
|
11301
|
+
* @param {string} value
|
|
11302
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11303
|
+
*/
|
|
11304
|
+
proto.PurchaseRequisitionItemTrack.prototype.setPurchaseRequestGroup = function(value) {
|
|
11305
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
11306
|
+
};
|
|
11307
|
+
|
|
11308
|
+
|
|
11309
|
+
/**
|
|
11310
|
+
* optional string status = 5;
|
|
11311
|
+
* @return {string}
|
|
11312
|
+
*/
|
|
11313
|
+
proto.PurchaseRequisitionItemTrack.prototype.getStatus = function() {
|
|
11314
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11315
|
+
};
|
|
11316
|
+
|
|
11317
|
+
|
|
11318
|
+
/**
|
|
11319
|
+
* @param {string} value
|
|
11320
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11321
|
+
*/
|
|
11322
|
+
proto.PurchaseRequisitionItemTrack.prototype.setStatus = function(value) {
|
|
11323
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
11324
|
+
};
|
|
11325
|
+
|
|
11326
|
+
|
|
11327
|
+
/**
|
|
11328
|
+
* optional string material_no = 6;
|
|
11329
|
+
* @return {string}
|
|
11330
|
+
*/
|
|
11331
|
+
proto.PurchaseRequisitionItemTrack.prototype.getMaterialNo = function() {
|
|
11332
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
11333
|
+
};
|
|
11334
|
+
|
|
11335
|
+
|
|
11336
|
+
/**
|
|
11337
|
+
* @param {string} value
|
|
11338
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11339
|
+
*/
|
|
11340
|
+
proto.PurchaseRequisitionItemTrack.prototype.setMaterialNo = function(value) {
|
|
11341
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
11342
|
+
};
|
|
11343
|
+
|
|
11344
|
+
|
|
11345
|
+
/**
|
|
11346
|
+
* optional string description = 7;
|
|
11347
|
+
* @return {string}
|
|
11348
|
+
*/
|
|
11349
|
+
proto.PurchaseRequisitionItemTrack.prototype.getDescription = function() {
|
|
11350
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
11351
|
+
};
|
|
11352
|
+
|
|
11353
|
+
|
|
11354
|
+
/**
|
|
11355
|
+
* @param {string} value
|
|
11356
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11357
|
+
*/
|
|
11358
|
+
proto.PurchaseRequisitionItemTrack.prototype.setDescription = function(value) {
|
|
11359
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
11360
|
+
};
|
|
11361
|
+
|
|
11362
|
+
|
|
11363
|
+
/**
|
|
11364
|
+
* optional string description_detail = 8;
|
|
11365
|
+
* @return {string}
|
|
11366
|
+
*/
|
|
11367
|
+
proto.PurchaseRequisitionItemTrack.prototype.getDescriptionDetail = function() {
|
|
11368
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
11369
|
+
};
|
|
11370
|
+
|
|
11371
|
+
|
|
11372
|
+
/**
|
|
11373
|
+
* @param {string} value
|
|
11374
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11375
|
+
*/
|
|
11376
|
+
proto.PurchaseRequisitionItemTrack.prototype.setDescriptionDetail = function(value) {
|
|
11377
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
11378
|
+
};
|
|
11379
|
+
|
|
11380
|
+
|
|
11381
|
+
/**
|
|
11382
|
+
* optional string material_group = 9;
|
|
11383
|
+
* @return {string}
|
|
11384
|
+
*/
|
|
11385
|
+
proto.PurchaseRequisitionItemTrack.prototype.getMaterialGroup = function() {
|
|
11386
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
11387
|
+
};
|
|
11388
|
+
|
|
11389
|
+
|
|
11390
|
+
/**
|
|
11391
|
+
* @param {string} value
|
|
11392
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11393
|
+
*/
|
|
11394
|
+
proto.PurchaseRequisitionItemTrack.prototype.setMaterialGroup = function(value) {
|
|
11395
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
11396
|
+
};
|
|
11397
|
+
|
|
11398
|
+
|
|
11399
|
+
/**
|
|
11400
|
+
* optional double quantity = 10;
|
|
11401
|
+
* @return {number}
|
|
11402
|
+
*/
|
|
11403
|
+
proto.PurchaseRequisitionItemTrack.prototype.getQuantity = function() {
|
|
11404
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
11405
|
+
};
|
|
11406
|
+
|
|
11407
|
+
|
|
11408
|
+
/**
|
|
11409
|
+
* @param {number} value
|
|
11410
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11411
|
+
*/
|
|
11412
|
+
proto.PurchaseRequisitionItemTrack.prototype.setQuantity = function(value) {
|
|
11413
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
11414
|
+
};
|
|
11415
|
+
|
|
11416
|
+
|
|
11417
|
+
/**
|
|
11418
|
+
* optional double estimated_price = 11;
|
|
11419
|
+
* @return {number}
|
|
11420
|
+
*/
|
|
11421
|
+
proto.PurchaseRequisitionItemTrack.prototype.getEstimatedPrice = function() {
|
|
11422
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
11423
|
+
};
|
|
11424
|
+
|
|
11425
|
+
|
|
11426
|
+
/**
|
|
11427
|
+
* @param {number} value
|
|
11428
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11429
|
+
*/
|
|
11430
|
+
proto.PurchaseRequisitionItemTrack.prototype.setEstimatedPrice = function(value) {
|
|
11431
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
11432
|
+
};
|
|
11433
|
+
|
|
11434
|
+
|
|
11435
|
+
/**
|
|
11436
|
+
* optional string department = 12;
|
|
11437
|
+
* @return {string}
|
|
11438
|
+
*/
|
|
11439
|
+
proto.PurchaseRequisitionItemTrack.prototype.getDepartment = function() {
|
|
11440
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
11441
|
+
};
|
|
11442
|
+
|
|
11443
|
+
|
|
11444
|
+
/**
|
|
11445
|
+
* @param {string} value
|
|
11446
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11447
|
+
*/
|
|
11448
|
+
proto.PurchaseRequisitionItemTrack.prototype.setDepartment = function(value) {
|
|
11449
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
11450
|
+
};
|
|
11451
|
+
|
|
11452
|
+
|
|
11453
|
+
/**
|
|
11454
|
+
* optional string created_by = 13;
|
|
11455
|
+
* @return {string}
|
|
11456
|
+
*/
|
|
11457
|
+
proto.PurchaseRequisitionItemTrack.prototype.getCreatedBy = function() {
|
|
11458
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
11459
|
+
};
|
|
11460
|
+
|
|
11461
|
+
|
|
11462
|
+
/**
|
|
11463
|
+
* @param {string} value
|
|
11464
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11465
|
+
*/
|
|
11466
|
+
proto.PurchaseRequisitionItemTrack.prototype.setCreatedBy = function(value) {
|
|
11467
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
11468
|
+
};
|
|
11469
|
+
|
|
11470
|
+
|
|
11471
|
+
/**
|
|
11472
|
+
* optional string created_at = 14;
|
|
11473
|
+
* @return {string}
|
|
11474
|
+
*/
|
|
11475
|
+
proto.PurchaseRequisitionItemTrack.prototype.getCreatedAt = function() {
|
|
11476
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
11477
|
+
};
|
|
11478
|
+
|
|
11479
|
+
|
|
11480
|
+
/**
|
|
11481
|
+
* @param {string} value
|
|
11482
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11483
|
+
*/
|
|
11484
|
+
proto.PurchaseRequisitionItemTrack.prototype.setCreatedAt = function(value) {
|
|
11485
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
11486
|
+
};
|
|
11487
|
+
|
|
11488
|
+
|
|
11489
|
+
/**
|
|
11490
|
+
* optional string purchase_order_number = 15;
|
|
11491
|
+
* @return {string}
|
|
11492
|
+
*/
|
|
11493
|
+
proto.PurchaseRequisitionItemTrack.prototype.getPurchaseOrderNumber = function() {
|
|
11494
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
11495
|
+
};
|
|
11496
|
+
|
|
11497
|
+
|
|
11498
|
+
/**
|
|
11499
|
+
* @param {string} value
|
|
11500
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11501
|
+
*/
|
|
11502
|
+
proto.PurchaseRequisitionItemTrack.prototype.setPurchaseOrderNumber = function(value) {
|
|
11503
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
11504
|
+
};
|
|
11505
|
+
|
|
11506
|
+
|
|
11507
|
+
/**
|
|
11508
|
+
* optional double purchase_order_quantity = 16;
|
|
11509
|
+
* @return {number}
|
|
11510
|
+
*/
|
|
11511
|
+
proto.PurchaseRequisitionItemTrack.prototype.getPurchaseOrderQuantity = function() {
|
|
11512
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
|
11513
|
+
};
|
|
11514
|
+
|
|
11515
|
+
|
|
11516
|
+
/**
|
|
11517
|
+
* @param {number} value
|
|
11518
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11519
|
+
*/
|
|
11520
|
+
proto.PurchaseRequisitionItemTrack.prototype.setPurchaseOrderQuantity = function(value) {
|
|
11521
|
+
return jspb.Message.setProto3FloatField(this, 16, value);
|
|
11522
|
+
};
|
|
11523
|
+
|
|
11524
|
+
|
|
11525
|
+
/**
|
|
11526
|
+
* optional string purchase_order_created_at = 17;
|
|
11527
|
+
* @return {string}
|
|
11528
|
+
*/
|
|
11529
|
+
proto.PurchaseRequisitionItemTrack.prototype.getPurchaseOrderCreatedAt = function() {
|
|
11530
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
11531
|
+
};
|
|
11532
|
+
|
|
11533
|
+
|
|
11534
|
+
/**
|
|
11535
|
+
* @param {string} value
|
|
11536
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11537
|
+
*/
|
|
11538
|
+
proto.PurchaseRequisitionItemTrack.prototype.setPurchaseOrderCreatedAt = function(value) {
|
|
11539
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
11540
|
+
};
|
|
11541
|
+
|
|
11542
|
+
|
|
11543
|
+
/**
|
|
11544
|
+
* optional string goods_receipt_number = 18;
|
|
11545
|
+
* @return {string}
|
|
11546
|
+
*/
|
|
11547
|
+
proto.PurchaseRequisitionItemTrack.prototype.getGoodsReceiptNumber = function() {
|
|
11548
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
11549
|
+
};
|
|
11550
|
+
|
|
11551
|
+
|
|
11552
|
+
/**
|
|
11553
|
+
* @param {string} value
|
|
11554
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11555
|
+
*/
|
|
11556
|
+
proto.PurchaseRequisitionItemTrack.prototype.setGoodsReceiptNumber = function(value) {
|
|
11557
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
11558
|
+
};
|
|
11559
|
+
|
|
11560
|
+
|
|
11561
|
+
/**
|
|
11562
|
+
* optional double goods_receipt_quantity = 19;
|
|
11563
|
+
* @return {number}
|
|
11564
|
+
*/
|
|
11565
|
+
proto.PurchaseRequisitionItemTrack.prototype.getGoodsReceiptQuantity = function() {
|
|
11566
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
|
|
11567
|
+
};
|
|
11568
|
+
|
|
11569
|
+
|
|
11570
|
+
/**
|
|
11571
|
+
* @param {number} value
|
|
11572
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11573
|
+
*/
|
|
11574
|
+
proto.PurchaseRequisitionItemTrack.prototype.setGoodsReceiptQuantity = function(value) {
|
|
11575
|
+
return jspb.Message.setProto3FloatField(this, 19, value);
|
|
11576
|
+
};
|
|
11577
|
+
|
|
11578
|
+
|
|
11579
|
+
/**
|
|
11580
|
+
* optional string goods_receipt_created_at = 20;
|
|
11581
|
+
* @return {string}
|
|
11582
|
+
*/
|
|
11583
|
+
proto.PurchaseRequisitionItemTrack.prototype.getGoodsReceiptCreatedAt = function() {
|
|
11584
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
11585
|
+
};
|
|
11586
|
+
|
|
11587
|
+
|
|
11588
|
+
/**
|
|
11589
|
+
* @param {string} value
|
|
11590
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11591
|
+
*/
|
|
11592
|
+
proto.PurchaseRequisitionItemTrack.prototype.setGoodsReceiptCreatedAt = function(value) {
|
|
11593
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
11594
|
+
};
|
|
11595
|
+
|
|
11596
|
+
|
|
11597
|
+
/**
|
|
11598
|
+
* optional prisca.v1.global.meta.Creator created_by_user = 21;
|
|
11599
|
+
* @return {?proto.prisca.v1.global.meta.Creator}
|
|
11600
|
+
*/
|
|
11601
|
+
proto.PurchaseRequisitionItemTrack.prototype.getCreatedByUser = function() {
|
|
11602
|
+
return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
|
|
11603
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 21));
|
|
11604
|
+
};
|
|
11605
|
+
|
|
11606
|
+
|
|
11607
|
+
/**
|
|
11608
|
+
* @param {?proto.prisca.v1.global.meta.Creator|undefined} value
|
|
11609
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11610
|
+
*/
|
|
11611
|
+
proto.PurchaseRequisitionItemTrack.prototype.setCreatedByUser = function(value) {
|
|
11612
|
+
return jspb.Message.setWrapperField(this, 21, value);
|
|
11613
|
+
};
|
|
11614
|
+
|
|
11615
|
+
|
|
11616
|
+
/**
|
|
11617
|
+
* Clears the message field making it undefined.
|
|
11618
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11619
|
+
*/
|
|
11620
|
+
proto.PurchaseRequisitionItemTrack.prototype.clearCreatedByUser = function() {
|
|
11621
|
+
return this.setCreatedByUser(undefined);
|
|
11622
|
+
};
|
|
11623
|
+
|
|
11624
|
+
|
|
11625
|
+
/**
|
|
11626
|
+
* Returns whether this field is set.
|
|
11627
|
+
* @return {boolean}
|
|
11628
|
+
*/
|
|
11629
|
+
proto.PurchaseRequisitionItemTrack.prototype.hasCreatedByUser = function() {
|
|
11630
|
+
return jspb.Message.getField(this, 21) != null;
|
|
11631
|
+
};
|
|
11632
|
+
|
|
11633
|
+
|
|
11634
|
+
|
|
11635
|
+
/**
|
|
11636
|
+
* List of repeated fields within this message type.
|
|
11637
|
+
* @private {!Array<number>}
|
|
11638
|
+
* @const
|
|
11639
|
+
*/
|
|
11640
|
+
proto.GetPRItemTrackListResponse.repeatedFields_ = [1];
|
|
11641
|
+
|
|
11642
|
+
|
|
11643
|
+
|
|
11644
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11645
|
+
/**
|
|
11646
|
+
* Creates an object representation of this proto.
|
|
11647
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11648
|
+
* Optional fields that are not set will be set to undefined.
|
|
11649
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11650
|
+
* For the list of reserved names please see:
|
|
11651
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11652
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11653
|
+
* JSPB instance for transitional soy proto support:
|
|
11654
|
+
* http://goto/soy-param-migration
|
|
11655
|
+
* @return {!Object}
|
|
11656
|
+
*/
|
|
11657
|
+
proto.GetPRItemTrackListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
11658
|
+
return proto.GetPRItemTrackListResponse.toObject(opt_includeInstance, this);
|
|
11659
|
+
};
|
|
11660
|
+
|
|
11661
|
+
|
|
11662
|
+
/**
|
|
11663
|
+
* Static version of the {@see toObject} method.
|
|
11664
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11665
|
+
* the JSPB instance for transitional soy proto support:
|
|
11666
|
+
* http://goto/soy-param-migration
|
|
11667
|
+
* @param {!proto.GetPRItemTrackListResponse} msg The msg instance to transform.
|
|
11668
|
+
* @return {!Object}
|
|
11669
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11670
|
+
*/
|
|
11671
|
+
proto.GetPRItemTrackListResponse.toObject = function(includeInstance, msg) {
|
|
11672
|
+
var f, obj = {
|
|
11673
|
+
purchaseRequisitionItemTrackList: jspb.Message.toObjectList(msg.getPurchaseRequisitionItemTrackList(),
|
|
11674
|
+
proto.PurchaseRequisitionItemTrack.toObject, includeInstance),
|
|
11675
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
11676
|
+
};
|
|
11677
|
+
|
|
11678
|
+
if (includeInstance) {
|
|
11679
|
+
obj.$jspbMessageInstance = msg;
|
|
11680
|
+
}
|
|
11681
|
+
return obj;
|
|
11682
|
+
};
|
|
11683
|
+
}
|
|
11684
|
+
|
|
11685
|
+
|
|
11686
|
+
/**
|
|
11687
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11688
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11689
|
+
* @return {!proto.GetPRItemTrackListResponse}
|
|
11690
|
+
*/
|
|
11691
|
+
proto.GetPRItemTrackListResponse.deserializeBinary = function(bytes) {
|
|
11692
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11693
|
+
var msg = new proto.GetPRItemTrackListResponse;
|
|
11694
|
+
return proto.GetPRItemTrackListResponse.deserializeBinaryFromReader(msg, reader);
|
|
11695
|
+
};
|
|
11696
|
+
|
|
11697
|
+
|
|
11698
|
+
/**
|
|
11699
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11700
|
+
* given reader into the given message object.
|
|
11701
|
+
* @param {!proto.GetPRItemTrackListResponse} msg The message object to deserialize into.
|
|
11702
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11703
|
+
* @return {!proto.GetPRItemTrackListResponse}
|
|
11704
|
+
*/
|
|
11705
|
+
proto.GetPRItemTrackListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
11706
|
+
while (reader.nextField()) {
|
|
11707
|
+
if (reader.isEndGroup()) {
|
|
11708
|
+
break;
|
|
11709
|
+
}
|
|
11710
|
+
var field = reader.getFieldNumber();
|
|
11711
|
+
switch (field) {
|
|
11712
|
+
case 1:
|
|
11713
|
+
var value = new proto.PurchaseRequisitionItemTrack;
|
|
11714
|
+
reader.readMessage(value,proto.PurchaseRequisitionItemTrack.deserializeBinaryFromReader);
|
|
11715
|
+
msg.addPurchaseRequisitionItemTrack(value);
|
|
11716
|
+
break;
|
|
11717
|
+
case 2:
|
|
11718
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
11719
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
11720
|
+
msg.setMeta(value);
|
|
11721
|
+
break;
|
|
11722
|
+
default:
|
|
11723
|
+
reader.skipField();
|
|
11724
|
+
break;
|
|
11725
|
+
}
|
|
11726
|
+
}
|
|
11727
|
+
return msg;
|
|
11728
|
+
};
|
|
11729
|
+
|
|
11730
|
+
|
|
11731
|
+
/**
|
|
11732
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11733
|
+
* @return {!Uint8Array}
|
|
11734
|
+
*/
|
|
11735
|
+
proto.GetPRItemTrackListResponse.prototype.serializeBinary = function() {
|
|
11736
|
+
var writer = new jspb.BinaryWriter();
|
|
11737
|
+
proto.GetPRItemTrackListResponse.serializeBinaryToWriter(this, writer);
|
|
11738
|
+
return writer.getResultBuffer();
|
|
11739
|
+
};
|
|
11740
|
+
|
|
11741
|
+
|
|
11742
|
+
/**
|
|
11743
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11744
|
+
* format), writing to the given BinaryWriter.
|
|
11745
|
+
* @param {!proto.GetPRItemTrackListResponse} message
|
|
11746
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11747
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11748
|
+
*/
|
|
11749
|
+
proto.GetPRItemTrackListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
11750
|
+
var f = undefined;
|
|
11751
|
+
f = message.getPurchaseRequisitionItemTrackList();
|
|
11752
|
+
if (f.length > 0) {
|
|
11753
|
+
writer.writeRepeatedMessage(
|
|
11754
|
+
1,
|
|
11755
|
+
f,
|
|
11756
|
+
proto.PurchaseRequisitionItemTrack.serializeBinaryToWriter
|
|
11757
|
+
);
|
|
11758
|
+
}
|
|
11759
|
+
f = message.getMeta();
|
|
11760
|
+
if (f != null) {
|
|
11761
|
+
writer.writeMessage(
|
|
11762
|
+
2,
|
|
11763
|
+
f,
|
|
11764
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
11765
|
+
);
|
|
11766
|
+
}
|
|
11767
|
+
};
|
|
11768
|
+
|
|
11769
|
+
|
|
11770
|
+
/**
|
|
11771
|
+
* repeated PurchaseRequisitionItemTrack purchase_requisition_item_track = 1;
|
|
11772
|
+
* @return {!Array<!proto.PurchaseRequisitionItemTrack>}
|
|
11773
|
+
*/
|
|
11774
|
+
proto.GetPRItemTrackListResponse.prototype.getPurchaseRequisitionItemTrackList = function() {
|
|
11775
|
+
return /** @type{!Array<!proto.PurchaseRequisitionItemTrack>} */ (
|
|
11776
|
+
jspb.Message.getRepeatedWrapperField(this, proto.PurchaseRequisitionItemTrack, 1));
|
|
11777
|
+
};
|
|
11778
|
+
|
|
11779
|
+
|
|
11780
|
+
/**
|
|
11781
|
+
* @param {!Array<!proto.PurchaseRequisitionItemTrack>} value
|
|
11782
|
+
* @return {!proto.GetPRItemTrackListResponse} returns this
|
|
11783
|
+
*/
|
|
11784
|
+
proto.GetPRItemTrackListResponse.prototype.setPurchaseRequisitionItemTrackList = function(value) {
|
|
11785
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
11786
|
+
};
|
|
11787
|
+
|
|
11788
|
+
|
|
11789
|
+
/**
|
|
11790
|
+
* @param {!proto.PurchaseRequisitionItemTrack=} opt_value
|
|
11791
|
+
* @param {number=} opt_index
|
|
11792
|
+
* @return {!proto.PurchaseRequisitionItemTrack}
|
|
11793
|
+
*/
|
|
11794
|
+
proto.GetPRItemTrackListResponse.prototype.addPurchaseRequisitionItemTrack = function(opt_value, opt_index) {
|
|
11795
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PurchaseRequisitionItemTrack, opt_index);
|
|
11796
|
+
};
|
|
11797
|
+
|
|
11798
|
+
|
|
11799
|
+
/**
|
|
11800
|
+
* Clears the list making it empty but non-null.
|
|
11801
|
+
* @return {!proto.GetPRItemTrackListResponse} returns this
|
|
11802
|
+
*/
|
|
11803
|
+
proto.GetPRItemTrackListResponse.prototype.clearPurchaseRequisitionItemTrackList = function() {
|
|
11804
|
+
return this.setPurchaseRequisitionItemTrackList([]);
|
|
11805
|
+
};
|
|
11806
|
+
|
|
11807
|
+
|
|
11808
|
+
/**
|
|
11809
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
11810
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
11811
|
+
*/
|
|
11812
|
+
proto.GetPRItemTrackListResponse.prototype.getMeta = function() {
|
|
11813
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
11814
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
11815
|
+
};
|
|
11816
|
+
|
|
11817
|
+
|
|
11818
|
+
/**
|
|
11819
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
11820
|
+
* @return {!proto.GetPRItemTrackListResponse} returns this
|
|
11821
|
+
*/
|
|
11822
|
+
proto.GetPRItemTrackListResponse.prototype.setMeta = function(value) {
|
|
11823
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
11824
|
+
};
|
|
11825
|
+
|
|
11826
|
+
|
|
11827
|
+
/**
|
|
11828
|
+
* Clears the message field making it undefined.
|
|
11829
|
+
* @return {!proto.GetPRItemTrackListResponse} returns this
|
|
11830
|
+
*/
|
|
11831
|
+
proto.GetPRItemTrackListResponse.prototype.clearMeta = function() {
|
|
11832
|
+
return this.setMeta(undefined);
|
|
11833
|
+
};
|
|
11834
|
+
|
|
11835
|
+
|
|
11836
|
+
/**
|
|
11837
|
+
* Returns whether this field is set.
|
|
11838
|
+
* @return {boolean}
|
|
11839
|
+
*/
|
|
11840
|
+
proto.GetPRItemTrackListResponse.prototype.hasMeta = function() {
|
|
11841
|
+
return jspb.Message.getField(this, 2) != null;
|
|
11842
|
+
};
|
|
11843
|
+
|
|
11844
|
+
|
|
11845
|
+
|
|
11846
|
+
|
|
11847
|
+
|
|
11848
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11849
|
+
/**
|
|
11850
|
+
* Creates an object representation of this proto.
|
|
11851
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11852
|
+
* Optional fields that are not set will be set to undefined.
|
|
11853
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11854
|
+
* For the list of reserved names please see:
|
|
11855
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11856
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11857
|
+
* JSPB instance for transitional soy proto support:
|
|
11858
|
+
* http://goto/soy-param-migration
|
|
11859
|
+
* @return {!Object}
|
|
11860
|
+
*/
|
|
11861
|
+
proto.PurchaseRequisitionProgressTrack.prototype.toObject = function(opt_includeInstance) {
|
|
11862
|
+
return proto.PurchaseRequisitionProgressTrack.toObject(opt_includeInstance, this);
|
|
11863
|
+
};
|
|
11864
|
+
|
|
11865
|
+
|
|
11866
|
+
/**
|
|
11867
|
+
* Static version of the {@see toObject} method.
|
|
11868
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11869
|
+
* the JSPB instance for transitional soy proto support:
|
|
11870
|
+
* http://goto/soy-param-migration
|
|
11871
|
+
* @param {!proto.PurchaseRequisitionProgressTrack} msg The msg instance to transform.
|
|
11872
|
+
* @return {!Object}
|
|
11873
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11874
|
+
*/
|
|
11875
|
+
proto.PurchaseRequisitionProgressTrack.toObject = function(includeInstance, msg) {
|
|
11876
|
+
var f, obj = {
|
|
11877
|
+
purchaseRequestNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11878
|
+
detailDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11879
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11880
|
+
total: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
11881
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
11882
|
+
purchaseRequestCreatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
11883
|
+
purchaseRequestFullyApprovedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11884
|
+
purchaseOrderCreatedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11885
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
11886
|
+
agingWorkdays: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
11887
|
+
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
11888
|
+
createdByUser: (f = msg.getCreatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
|
|
11889
|
+
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
|
11890
|
+
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
11891
|
+
};
|
|
11892
|
+
|
|
11893
|
+
if (includeInstance) {
|
|
11894
|
+
obj.$jspbMessageInstance = msg;
|
|
11895
|
+
}
|
|
11896
|
+
return obj;
|
|
11897
|
+
};
|
|
11898
|
+
}
|
|
11899
|
+
|
|
11900
|
+
|
|
11901
|
+
/**
|
|
11902
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11903
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11904
|
+
* @return {!proto.PurchaseRequisitionProgressTrack}
|
|
11905
|
+
*/
|
|
11906
|
+
proto.PurchaseRequisitionProgressTrack.deserializeBinary = function(bytes) {
|
|
11907
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11908
|
+
var msg = new proto.PurchaseRequisitionProgressTrack;
|
|
11909
|
+
return proto.PurchaseRequisitionProgressTrack.deserializeBinaryFromReader(msg, reader);
|
|
11910
|
+
};
|
|
11911
|
+
|
|
11912
|
+
|
|
11913
|
+
/**
|
|
11914
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11915
|
+
* given reader into the given message object.
|
|
11916
|
+
* @param {!proto.PurchaseRequisitionProgressTrack} msg The message object to deserialize into.
|
|
11917
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11918
|
+
* @return {!proto.PurchaseRequisitionProgressTrack}
|
|
11919
|
+
*/
|
|
11920
|
+
proto.PurchaseRequisitionProgressTrack.deserializeBinaryFromReader = function(msg, reader) {
|
|
11921
|
+
while (reader.nextField()) {
|
|
11922
|
+
if (reader.isEndGroup()) {
|
|
11923
|
+
break;
|
|
11924
|
+
}
|
|
11925
|
+
var field = reader.getFieldNumber();
|
|
11926
|
+
switch (field) {
|
|
11927
|
+
case 1:
|
|
11928
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11929
|
+
msg.setPurchaseRequestNumber(value);
|
|
11930
|
+
break;
|
|
11931
|
+
case 2:
|
|
11932
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11933
|
+
msg.setDetailDescription(value);
|
|
11934
|
+
break;
|
|
11935
|
+
case 3:
|
|
11936
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11937
|
+
msg.setDescription(value);
|
|
11938
|
+
break;
|
|
11939
|
+
case 4:
|
|
11940
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11941
|
+
msg.setTotal(value);
|
|
11942
|
+
break;
|
|
11943
|
+
case 5:
|
|
11944
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11945
|
+
msg.setUnitOfMeasure(value);
|
|
11946
|
+
break;
|
|
11947
|
+
case 6:
|
|
11948
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11949
|
+
msg.setPurchaseRequestCreatedAt(value);
|
|
11950
|
+
break;
|
|
11951
|
+
case 7:
|
|
11952
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11953
|
+
msg.setPurchaseRequestFullyApprovedAt(value);
|
|
11954
|
+
break;
|
|
11955
|
+
case 8:
|
|
11956
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11957
|
+
msg.setPurchaseOrderCreatedAt(value);
|
|
11958
|
+
break;
|
|
11959
|
+
case 9:
|
|
11960
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11961
|
+
msg.setCreatedBy(value);
|
|
11962
|
+
break;
|
|
11963
|
+
case 10:
|
|
11964
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
11965
|
+
msg.setAgingWorkdays(value);
|
|
11966
|
+
break;
|
|
11967
|
+
case 11:
|
|
11968
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11969
|
+
msg.setPurchaseOrderNumber(value);
|
|
11970
|
+
break;
|
|
11971
|
+
case 12:
|
|
11972
|
+
var value = new prisca_v1_global_meta_meta_pb.Creator;
|
|
11973
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
11974
|
+
msg.setCreatedByUser(value);
|
|
11975
|
+
break;
|
|
11976
|
+
case 13:
|
|
11977
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11978
|
+
msg.setQuantity(value);
|
|
11979
|
+
break;
|
|
11980
|
+
case 14:
|
|
11981
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11982
|
+
msg.setPurchasingGroup(value);
|
|
11983
|
+
break;
|
|
11984
|
+
default:
|
|
11985
|
+
reader.skipField();
|
|
11986
|
+
break;
|
|
11987
|
+
}
|
|
11988
|
+
}
|
|
11989
|
+
return msg;
|
|
11990
|
+
};
|
|
11991
|
+
|
|
11992
|
+
|
|
11993
|
+
/**
|
|
11994
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11995
|
+
* @return {!Uint8Array}
|
|
11996
|
+
*/
|
|
11997
|
+
proto.PurchaseRequisitionProgressTrack.prototype.serializeBinary = function() {
|
|
11998
|
+
var writer = new jspb.BinaryWriter();
|
|
11999
|
+
proto.PurchaseRequisitionProgressTrack.serializeBinaryToWriter(this, writer);
|
|
12000
|
+
return writer.getResultBuffer();
|
|
12001
|
+
};
|
|
12002
|
+
|
|
12003
|
+
|
|
12004
|
+
/**
|
|
12005
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12006
|
+
* format), writing to the given BinaryWriter.
|
|
12007
|
+
* @param {!proto.PurchaseRequisitionProgressTrack} message
|
|
12008
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12009
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12010
|
+
*/
|
|
12011
|
+
proto.PurchaseRequisitionProgressTrack.serializeBinaryToWriter = function(message, writer) {
|
|
12012
|
+
var f = undefined;
|
|
12013
|
+
f = message.getPurchaseRequestNumber();
|
|
12014
|
+
if (f.length > 0) {
|
|
12015
|
+
writer.writeString(
|
|
12016
|
+
1,
|
|
12017
|
+
f
|
|
12018
|
+
);
|
|
12019
|
+
}
|
|
12020
|
+
f = message.getDetailDescription();
|
|
12021
|
+
if (f.length > 0) {
|
|
12022
|
+
writer.writeString(
|
|
12023
|
+
2,
|
|
12024
|
+
f
|
|
12025
|
+
);
|
|
12026
|
+
}
|
|
12027
|
+
f = message.getDescription();
|
|
12028
|
+
if (f.length > 0) {
|
|
12029
|
+
writer.writeString(
|
|
12030
|
+
3,
|
|
12031
|
+
f
|
|
12032
|
+
);
|
|
12033
|
+
}
|
|
12034
|
+
f = message.getTotal();
|
|
12035
|
+
if (f !== 0.0) {
|
|
12036
|
+
writer.writeDouble(
|
|
12037
|
+
4,
|
|
12038
|
+
f
|
|
12039
|
+
);
|
|
12040
|
+
}
|
|
12041
|
+
f = message.getUnitOfMeasure();
|
|
12042
|
+
if (f.length > 0) {
|
|
12043
|
+
writer.writeString(
|
|
12044
|
+
5,
|
|
12045
|
+
f
|
|
12046
|
+
);
|
|
12047
|
+
}
|
|
12048
|
+
f = message.getPurchaseRequestCreatedAt();
|
|
12049
|
+
if (f.length > 0) {
|
|
12050
|
+
writer.writeString(
|
|
12051
|
+
6,
|
|
12052
|
+
f
|
|
12053
|
+
);
|
|
12054
|
+
}
|
|
12055
|
+
f = message.getPurchaseRequestFullyApprovedAt();
|
|
12056
|
+
if (f.length > 0) {
|
|
12057
|
+
writer.writeString(
|
|
12058
|
+
7,
|
|
12059
|
+
f
|
|
12060
|
+
);
|
|
12061
|
+
}
|
|
12062
|
+
f = message.getPurchaseOrderCreatedAt();
|
|
12063
|
+
if (f.length > 0) {
|
|
12064
|
+
writer.writeString(
|
|
12065
|
+
8,
|
|
12066
|
+
f
|
|
12067
|
+
);
|
|
12068
|
+
}
|
|
12069
|
+
f = message.getCreatedBy();
|
|
12070
|
+
if (f.length > 0) {
|
|
12071
|
+
writer.writeString(
|
|
12072
|
+
9,
|
|
12073
|
+
f
|
|
12074
|
+
);
|
|
12075
|
+
}
|
|
12076
|
+
f = message.getAgingWorkdays();
|
|
12077
|
+
if (f !== 0) {
|
|
12078
|
+
writer.writeInt32(
|
|
12079
|
+
10,
|
|
12080
|
+
f
|
|
12081
|
+
);
|
|
12082
|
+
}
|
|
12083
|
+
f = message.getPurchaseOrderNumber();
|
|
12084
|
+
if (f.length > 0) {
|
|
12085
|
+
writer.writeString(
|
|
12086
|
+
11,
|
|
12087
|
+
f
|
|
12088
|
+
);
|
|
12089
|
+
}
|
|
12090
|
+
f = message.getCreatedByUser();
|
|
12091
|
+
if (f != null) {
|
|
12092
|
+
writer.writeMessage(
|
|
12093
|
+
12,
|
|
12094
|
+
f,
|
|
12095
|
+
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
12096
|
+
);
|
|
12097
|
+
}
|
|
12098
|
+
f = message.getQuantity();
|
|
12099
|
+
if (f !== 0.0) {
|
|
12100
|
+
writer.writeDouble(
|
|
12101
|
+
13,
|
|
12102
|
+
f
|
|
12103
|
+
);
|
|
12104
|
+
}
|
|
12105
|
+
f = message.getPurchasingGroup();
|
|
12106
|
+
if (f.length > 0) {
|
|
12107
|
+
writer.writeString(
|
|
12108
|
+
14,
|
|
12109
|
+
f
|
|
12110
|
+
);
|
|
12111
|
+
}
|
|
12112
|
+
};
|
|
12113
|
+
|
|
12114
|
+
|
|
12115
|
+
/**
|
|
12116
|
+
* optional string purchase_request_number = 1;
|
|
12117
|
+
* @return {string}
|
|
12118
|
+
*/
|
|
12119
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestNumber = function() {
|
|
12120
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12121
|
+
};
|
|
12122
|
+
|
|
12123
|
+
|
|
12124
|
+
/**
|
|
12125
|
+
* @param {string} value
|
|
12126
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12127
|
+
*/
|
|
12128
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestNumber = function(value) {
|
|
12129
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12130
|
+
};
|
|
12131
|
+
|
|
12132
|
+
|
|
12133
|
+
/**
|
|
12134
|
+
* optional string detail_description = 2;
|
|
12135
|
+
* @return {string}
|
|
12136
|
+
*/
|
|
12137
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getDetailDescription = function() {
|
|
12138
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12139
|
+
};
|
|
12140
|
+
|
|
12141
|
+
|
|
12142
|
+
/**
|
|
12143
|
+
* @param {string} value
|
|
12144
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12145
|
+
*/
|
|
12146
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setDetailDescription = function(value) {
|
|
12147
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12148
|
+
};
|
|
12149
|
+
|
|
12150
|
+
|
|
12151
|
+
/**
|
|
12152
|
+
* optional string description = 3;
|
|
12153
|
+
* @return {string}
|
|
12154
|
+
*/
|
|
12155
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getDescription = function() {
|
|
12156
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12157
|
+
};
|
|
12158
|
+
|
|
12159
|
+
|
|
12160
|
+
/**
|
|
12161
|
+
* @param {string} value
|
|
12162
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12163
|
+
*/
|
|
12164
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setDescription = function(value) {
|
|
12165
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12166
|
+
};
|
|
12167
|
+
|
|
12168
|
+
|
|
12169
|
+
/**
|
|
12170
|
+
* optional double total = 4;
|
|
12171
|
+
* @return {number}
|
|
12172
|
+
*/
|
|
12173
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getTotal = function() {
|
|
12174
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
12175
|
+
};
|
|
12176
|
+
|
|
12177
|
+
|
|
12178
|
+
/**
|
|
12179
|
+
* @param {number} value
|
|
12180
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12181
|
+
*/
|
|
12182
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setTotal = function(value) {
|
|
12183
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
12184
|
+
};
|
|
12185
|
+
|
|
12186
|
+
|
|
12187
|
+
/**
|
|
12188
|
+
* optional string unit_of_measure = 5;
|
|
12189
|
+
* @return {string}
|
|
12190
|
+
*/
|
|
12191
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getUnitOfMeasure = function() {
|
|
12192
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
12193
|
+
};
|
|
12194
|
+
|
|
12195
|
+
|
|
12196
|
+
/**
|
|
12197
|
+
* @param {string} value
|
|
12198
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12199
|
+
*/
|
|
12200
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setUnitOfMeasure = function(value) {
|
|
12201
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
12202
|
+
};
|
|
12203
|
+
|
|
12204
|
+
|
|
12205
|
+
/**
|
|
12206
|
+
* optional string purchase_request_created_at = 6;
|
|
12207
|
+
* @return {string}
|
|
12208
|
+
*/
|
|
12209
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestCreatedAt = function() {
|
|
12210
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
12211
|
+
};
|
|
12212
|
+
|
|
12213
|
+
|
|
12214
|
+
/**
|
|
12215
|
+
* @param {string} value
|
|
12216
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12217
|
+
*/
|
|
12218
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestCreatedAt = function(value) {
|
|
12219
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
12220
|
+
};
|
|
12221
|
+
|
|
12222
|
+
|
|
12223
|
+
/**
|
|
12224
|
+
* optional string purchase_request_fully_approved_at = 7;
|
|
12225
|
+
* @return {string}
|
|
12226
|
+
*/
|
|
12227
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestFullyApprovedAt = function() {
|
|
12228
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
12229
|
+
};
|
|
12230
|
+
|
|
12231
|
+
|
|
12232
|
+
/**
|
|
12233
|
+
* @param {string} value
|
|
12234
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12235
|
+
*/
|
|
12236
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestFullyApprovedAt = function(value) {
|
|
12237
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
12238
|
+
};
|
|
12239
|
+
|
|
12240
|
+
|
|
12241
|
+
/**
|
|
12242
|
+
* optional string purchase_order_created_at = 8;
|
|
12243
|
+
* @return {string}
|
|
12244
|
+
*/
|
|
12245
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseOrderCreatedAt = function() {
|
|
12246
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
12247
|
+
};
|
|
12248
|
+
|
|
12249
|
+
|
|
12250
|
+
/**
|
|
12251
|
+
* @param {string} value
|
|
12252
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12253
|
+
*/
|
|
12254
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseOrderCreatedAt = function(value) {
|
|
12255
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
12256
|
+
};
|
|
12257
|
+
|
|
12258
|
+
|
|
12259
|
+
/**
|
|
12260
|
+
* optional string created_by = 9;
|
|
12261
|
+
* @return {string}
|
|
12262
|
+
*/
|
|
12263
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getCreatedBy = function() {
|
|
12264
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
12265
|
+
};
|
|
12266
|
+
|
|
12267
|
+
|
|
12268
|
+
/**
|
|
12269
|
+
* @param {string} value
|
|
12270
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12271
|
+
*/
|
|
12272
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setCreatedBy = function(value) {
|
|
12273
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
12274
|
+
};
|
|
12275
|
+
|
|
12276
|
+
|
|
12277
|
+
/**
|
|
12278
|
+
* optional int32 aging_workdays = 10;
|
|
12279
|
+
* @return {number}
|
|
12280
|
+
*/
|
|
12281
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getAgingWorkdays = function() {
|
|
12282
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
12283
|
+
};
|
|
12284
|
+
|
|
12285
|
+
|
|
12286
|
+
/**
|
|
12287
|
+
* @param {number} value
|
|
12288
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12289
|
+
*/
|
|
12290
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setAgingWorkdays = function(value) {
|
|
12291
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
12292
|
+
};
|
|
12293
|
+
|
|
12294
|
+
|
|
12295
|
+
/**
|
|
12296
|
+
* optional string purchase_order_number = 11;
|
|
12297
|
+
* @return {string}
|
|
12298
|
+
*/
|
|
12299
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseOrderNumber = function() {
|
|
12300
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
12301
|
+
};
|
|
12302
|
+
|
|
12303
|
+
|
|
12304
|
+
/**
|
|
12305
|
+
* @param {string} value
|
|
12306
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12307
|
+
*/
|
|
12308
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseOrderNumber = function(value) {
|
|
12309
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
12310
|
+
};
|
|
12311
|
+
|
|
12312
|
+
|
|
12313
|
+
/**
|
|
12314
|
+
* optional prisca.v1.global.meta.Creator created_by_user = 12;
|
|
12315
|
+
* @return {?proto.prisca.v1.global.meta.Creator}
|
|
12316
|
+
*/
|
|
12317
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getCreatedByUser = function() {
|
|
12318
|
+
return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
|
|
12319
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 12));
|
|
12320
|
+
};
|
|
12321
|
+
|
|
12322
|
+
|
|
12323
|
+
/**
|
|
12324
|
+
* @param {?proto.prisca.v1.global.meta.Creator|undefined} value
|
|
12325
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12326
|
+
*/
|
|
12327
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setCreatedByUser = function(value) {
|
|
12328
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
12329
|
+
};
|
|
12330
|
+
|
|
12331
|
+
|
|
12332
|
+
/**
|
|
12333
|
+
* Clears the message field making it undefined.
|
|
12334
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12335
|
+
*/
|
|
12336
|
+
proto.PurchaseRequisitionProgressTrack.prototype.clearCreatedByUser = function() {
|
|
12337
|
+
return this.setCreatedByUser(undefined);
|
|
12338
|
+
};
|
|
12339
|
+
|
|
12340
|
+
|
|
12341
|
+
/**
|
|
12342
|
+
* Returns whether this field is set.
|
|
12343
|
+
* @return {boolean}
|
|
12344
|
+
*/
|
|
12345
|
+
proto.PurchaseRequisitionProgressTrack.prototype.hasCreatedByUser = function() {
|
|
12346
|
+
return jspb.Message.getField(this, 12) != null;
|
|
12347
|
+
};
|
|
12348
|
+
|
|
12349
|
+
|
|
12350
|
+
/**
|
|
12351
|
+
* optional double quantity = 13;
|
|
12352
|
+
* @return {number}
|
|
12353
|
+
*/
|
|
12354
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getQuantity = function() {
|
|
12355
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
|
12356
|
+
};
|
|
12357
|
+
|
|
12358
|
+
|
|
12359
|
+
/**
|
|
12360
|
+
* @param {number} value
|
|
12361
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12362
|
+
*/
|
|
12363
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setQuantity = function(value) {
|
|
12364
|
+
return jspb.Message.setProto3FloatField(this, 13, value);
|
|
12365
|
+
};
|
|
12366
|
+
|
|
12367
|
+
|
|
12368
|
+
/**
|
|
12369
|
+
* optional string purchasing_group = 14;
|
|
12370
|
+
* @return {string}
|
|
12371
|
+
*/
|
|
12372
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchasingGroup = function() {
|
|
12373
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
12374
|
+
};
|
|
12375
|
+
|
|
12376
|
+
|
|
12377
|
+
/**
|
|
12378
|
+
* @param {string} value
|
|
12379
|
+
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12380
|
+
*/
|
|
12381
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchasingGroup = function(value) {
|
|
12382
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
12383
|
+
};
|
|
12384
|
+
|
|
12385
|
+
|
|
12386
|
+
|
|
12387
|
+
/**
|
|
12388
|
+
* List of repeated fields within this message type.
|
|
12389
|
+
* @private {!Array<number>}
|
|
12390
|
+
* @const
|
|
12391
|
+
*/
|
|
12392
|
+
proto.GetPRProgressTrackListResponse.repeatedFields_ = [1];
|
|
12393
|
+
|
|
12394
|
+
|
|
12395
|
+
|
|
12396
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12397
|
+
/**
|
|
12398
|
+
* Creates an object representation of this proto.
|
|
12399
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12400
|
+
* Optional fields that are not set will be set to undefined.
|
|
12401
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12402
|
+
* For the list of reserved names please see:
|
|
12403
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12404
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12405
|
+
* JSPB instance for transitional soy proto support:
|
|
12406
|
+
* http://goto/soy-param-migration
|
|
12407
|
+
* @return {!Object}
|
|
12408
|
+
*/
|
|
12409
|
+
proto.GetPRProgressTrackListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
12410
|
+
return proto.GetPRProgressTrackListResponse.toObject(opt_includeInstance, this);
|
|
12411
|
+
};
|
|
12412
|
+
|
|
12413
|
+
|
|
12414
|
+
/**
|
|
12415
|
+
* Static version of the {@see toObject} method.
|
|
12416
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12417
|
+
* the JSPB instance for transitional soy proto support:
|
|
12418
|
+
* http://goto/soy-param-migration
|
|
12419
|
+
* @param {!proto.GetPRProgressTrackListResponse} msg The msg instance to transform.
|
|
12420
|
+
* @return {!Object}
|
|
12421
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12422
|
+
*/
|
|
12423
|
+
proto.GetPRProgressTrackListResponse.toObject = function(includeInstance, msg) {
|
|
12424
|
+
var f, obj = {
|
|
12425
|
+
purchaseRequisitionProgressTrackList: jspb.Message.toObjectList(msg.getPurchaseRequisitionProgressTrackList(),
|
|
12426
|
+
proto.PurchaseRequisitionProgressTrack.toObject, includeInstance),
|
|
12427
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
12428
|
+
};
|
|
12429
|
+
|
|
12430
|
+
if (includeInstance) {
|
|
12431
|
+
obj.$jspbMessageInstance = msg;
|
|
12432
|
+
}
|
|
12433
|
+
return obj;
|
|
12434
|
+
};
|
|
12435
|
+
}
|
|
12436
|
+
|
|
12437
|
+
|
|
12438
|
+
/**
|
|
12439
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12440
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12441
|
+
* @return {!proto.GetPRProgressTrackListResponse}
|
|
12442
|
+
*/
|
|
12443
|
+
proto.GetPRProgressTrackListResponse.deserializeBinary = function(bytes) {
|
|
12444
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12445
|
+
var msg = new proto.GetPRProgressTrackListResponse;
|
|
12446
|
+
return proto.GetPRProgressTrackListResponse.deserializeBinaryFromReader(msg, reader);
|
|
12447
|
+
};
|
|
12448
|
+
|
|
12449
|
+
|
|
12450
|
+
/**
|
|
12451
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12452
|
+
* given reader into the given message object.
|
|
12453
|
+
* @param {!proto.GetPRProgressTrackListResponse} msg The message object to deserialize into.
|
|
12454
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12455
|
+
* @return {!proto.GetPRProgressTrackListResponse}
|
|
12456
|
+
*/
|
|
12457
|
+
proto.GetPRProgressTrackListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12458
|
+
while (reader.nextField()) {
|
|
12459
|
+
if (reader.isEndGroup()) {
|
|
12460
|
+
break;
|
|
12461
|
+
}
|
|
12462
|
+
var field = reader.getFieldNumber();
|
|
12463
|
+
switch (field) {
|
|
12464
|
+
case 1:
|
|
12465
|
+
var value = new proto.PurchaseRequisitionProgressTrack;
|
|
12466
|
+
reader.readMessage(value,proto.PurchaseRequisitionProgressTrack.deserializeBinaryFromReader);
|
|
12467
|
+
msg.addPurchaseRequisitionProgressTrack(value);
|
|
12468
|
+
break;
|
|
12469
|
+
case 2:
|
|
12470
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
12471
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
12472
|
+
msg.setMeta(value);
|
|
12473
|
+
break;
|
|
12474
|
+
default:
|
|
12475
|
+
reader.skipField();
|
|
12476
|
+
break;
|
|
12477
|
+
}
|
|
12478
|
+
}
|
|
12479
|
+
return msg;
|
|
12480
|
+
};
|
|
12481
|
+
|
|
12482
|
+
|
|
12483
|
+
/**
|
|
12484
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12485
|
+
* @return {!Uint8Array}
|
|
12486
|
+
*/
|
|
12487
|
+
proto.GetPRProgressTrackListResponse.prototype.serializeBinary = function() {
|
|
12488
|
+
var writer = new jspb.BinaryWriter();
|
|
12489
|
+
proto.GetPRProgressTrackListResponse.serializeBinaryToWriter(this, writer);
|
|
12490
|
+
return writer.getResultBuffer();
|
|
12491
|
+
};
|
|
12492
|
+
|
|
12493
|
+
|
|
12494
|
+
/**
|
|
12495
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12496
|
+
* format), writing to the given BinaryWriter.
|
|
12497
|
+
* @param {!proto.GetPRProgressTrackListResponse} message
|
|
12498
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12499
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12500
|
+
*/
|
|
12501
|
+
proto.GetPRProgressTrackListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12502
|
+
var f = undefined;
|
|
12503
|
+
f = message.getPurchaseRequisitionProgressTrackList();
|
|
12504
|
+
if (f.length > 0) {
|
|
12505
|
+
writer.writeRepeatedMessage(
|
|
12506
|
+
1,
|
|
12507
|
+
f,
|
|
12508
|
+
proto.PurchaseRequisitionProgressTrack.serializeBinaryToWriter
|
|
12509
|
+
);
|
|
12510
|
+
}
|
|
12511
|
+
f = message.getMeta();
|
|
12512
|
+
if (f != null) {
|
|
12513
|
+
writer.writeMessage(
|
|
12514
|
+
2,
|
|
12515
|
+
f,
|
|
12516
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
12517
|
+
);
|
|
12518
|
+
}
|
|
12519
|
+
};
|
|
12520
|
+
|
|
12521
|
+
|
|
12522
|
+
/**
|
|
12523
|
+
* repeated PurchaseRequisitionProgressTrack purchase_requisition_progress_track = 1;
|
|
12524
|
+
* @return {!Array<!proto.PurchaseRequisitionProgressTrack>}
|
|
12525
|
+
*/
|
|
12526
|
+
proto.GetPRProgressTrackListResponse.prototype.getPurchaseRequisitionProgressTrackList = function() {
|
|
12527
|
+
return /** @type{!Array<!proto.PurchaseRequisitionProgressTrack>} */ (
|
|
12528
|
+
jspb.Message.getRepeatedWrapperField(this, proto.PurchaseRequisitionProgressTrack, 1));
|
|
12529
|
+
};
|
|
12530
|
+
|
|
12531
|
+
|
|
12532
|
+
/**
|
|
12533
|
+
* @param {!Array<!proto.PurchaseRequisitionProgressTrack>} value
|
|
12534
|
+
* @return {!proto.GetPRProgressTrackListResponse} returns this
|
|
12535
|
+
*/
|
|
12536
|
+
proto.GetPRProgressTrackListResponse.prototype.setPurchaseRequisitionProgressTrackList = function(value) {
|
|
12537
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
12538
|
+
};
|
|
12539
|
+
|
|
12540
|
+
|
|
12541
|
+
/**
|
|
12542
|
+
* @param {!proto.PurchaseRequisitionProgressTrack=} opt_value
|
|
12543
|
+
* @param {number=} opt_index
|
|
12544
|
+
* @return {!proto.PurchaseRequisitionProgressTrack}
|
|
12545
|
+
*/
|
|
12546
|
+
proto.GetPRProgressTrackListResponse.prototype.addPurchaseRequisitionProgressTrack = function(opt_value, opt_index) {
|
|
12547
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PurchaseRequisitionProgressTrack, opt_index);
|
|
12548
|
+
};
|
|
12549
|
+
|
|
12550
|
+
|
|
12551
|
+
/**
|
|
12552
|
+
* Clears the list making it empty but non-null.
|
|
12553
|
+
* @return {!proto.GetPRProgressTrackListResponse} returns this
|
|
12554
|
+
*/
|
|
12555
|
+
proto.GetPRProgressTrackListResponse.prototype.clearPurchaseRequisitionProgressTrackList = function() {
|
|
12556
|
+
return this.setPurchaseRequisitionProgressTrackList([]);
|
|
12557
|
+
};
|
|
12558
|
+
|
|
12559
|
+
|
|
12560
|
+
/**
|
|
12561
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
12562
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
12563
|
+
*/
|
|
12564
|
+
proto.GetPRProgressTrackListResponse.prototype.getMeta = function() {
|
|
12565
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
12566
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
12567
|
+
};
|
|
12568
|
+
|
|
12569
|
+
|
|
12570
|
+
/**
|
|
12571
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
12572
|
+
* @return {!proto.GetPRProgressTrackListResponse} returns this
|
|
12573
|
+
*/
|
|
12574
|
+
proto.GetPRProgressTrackListResponse.prototype.setMeta = function(value) {
|
|
12575
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
12576
|
+
};
|
|
12577
|
+
|
|
12578
|
+
|
|
12579
|
+
/**
|
|
12580
|
+
* Clears the message field making it undefined.
|
|
12581
|
+
* @return {!proto.GetPRProgressTrackListResponse} returns this
|
|
12582
|
+
*/
|
|
12583
|
+
proto.GetPRProgressTrackListResponse.prototype.clearMeta = function() {
|
|
12584
|
+
return this.setMeta(undefined);
|
|
12585
|
+
};
|
|
12586
|
+
|
|
12587
|
+
|
|
12588
|
+
/**
|
|
12589
|
+
* Returns whether this field is set.
|
|
12590
|
+
* @return {boolean}
|
|
12591
|
+
*/
|
|
12592
|
+
proto.GetPRProgressTrackListResponse.prototype.hasMeta = function() {
|
|
12593
|
+
return jspb.Message.getField(this, 2) != null;
|
|
12594
|
+
};
|
|
12595
|
+
|
|
12596
|
+
|
|
10795
12597
|
goog.object.extend(exports, proto);
|