@aldiokta/protocgen 1.0.88 → 1.0.89
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/core/access_manager/access_manager.proto +273 -0
- package/prisca/v1/core/auth/auth.proto +142 -0
- package/prisca/v1/core/company/company.proto +86 -0
- package/prisca/v1/core/currency/currency.proto +76 -0
- package/prisca/v1/core/department_material/department_material.proto +69 -0
- package/prisca/v1/core/employee/employee.proto +129 -0
- package/prisca/v1/core/file_upload/file_upload.proto +31 -0
- package/prisca/v1/core/job_grade/job_grade.proto +79 -0
- package/prisca/v1/core/job_position/job_position.proto +113 -0
- package/prisca/v1/core/job_title/job_title.proto +89 -0
- package/prisca/v1/core/line_of_activity/line_of_activity.proto +42 -0
- package/prisca/v1/core/line_of_approval/line_of_approval.proto +82 -0
- package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
- package/prisca/v1/core/location/location.proto +289 -0
- package/prisca/v1/core/material/material.proto +131 -0
- package/prisca/v1/core/material_group/material_group.proto +85 -0
- package/prisca/v1/core/material_type/material_type.proto +86 -0
- package/prisca/v1/core/messaging/email_template.proto +75 -0
- package/prisca/v1/core/messaging/messaging.proto +28 -0
- package/prisca/v1/core/number_range/number_range.proto +89 -0
- package/prisca/v1/core/organization/organization.proto +94 -0
- package/prisca/v1/core/organization_level/organization_level.proto +77 -0
- package/prisca/v1/core/procurement/procurement.proto +54 -0
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +131 -0
- package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
- package/prisca/v1/core/report/report.proto +86 -0
- package/prisca/v1/core/report/user_report.proto +74 -0
- package/prisca/v1/core/tax_code/tax_code.proto +77 -0
- package/prisca/v1/core/transaction_builder/transaction_builder.proto +314 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
- package/prisca/v1/core/users/users.proto +45 -0
- package/prisca/v1/core/work_location/work_location.proto +122 -0
- package/prisca/v1/core/workflow/workflow.proto +219 -0
- package/prisca/v1/global/meta/meta.proto +57 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
- package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9000
- package/prisca/v1/core/auth/auth_grpc_pb.js +0 -400
- package/prisca/v1/core/auth/auth_pb.js +0 -4253
- package/prisca/v1/core/company/company_grpc_pb.js +0 -177
- package/prisca/v1/core/company/company_pb.js +0 -2875
- package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
- package/prisca/v1/core/currency/currency_pb.js +0 -2522
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
- package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
- package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
- package/prisca/v1/core/employee/employee_pb.js +0 -4283
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -66
- package/prisca/v1/core/file_upload/file_upload_pb.js +0 -864
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
- package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
- package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
- package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
- package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1158
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -178
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -2695
- package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
- package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
- package/prisca/v1/core/location/location_grpc_pb.js +0 -837
- package/prisca/v1/core/location/location_pb.js +0 -10879
- package/prisca/v1/core/material/material_grpc_pb.js +0 -182
- package/prisca/v1/core/material/material_pb.js +0 -4180
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
- package/prisca/v1/core/material_group/material_group_pb.js +0 -2776
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -149
- package/prisca/v1/core/material_type/material_type_pb.js +0 -2697
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
- package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -45
- package/prisca/v1/core/messaging/messaging_pb.js +0 -896
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
- package/prisca/v1/core/number_range/number_range_pb.js +0 -2926
- package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
- package/prisca/v1/core/organization/organization_pb.js +0 -3032
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
- package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
- package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
- package/prisca/v1/core/report/report_grpc_pb.js +0 -189
- package/prisca/v1/core/report/report_pb.js +0 -2732
- package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
- package/prisca/v1/core/report/user_report_pb.js +0 -2452
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
- package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -465
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10591
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
- package/prisca/v1/core/users/users_grpc_pb.js +0 -45
- package/prisca/v1/core/users/users_pb.js +0 -1246
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
- package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -202
- package/prisca/v1/core/workflow/workflow_pb.js +0 -7376
- package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
- package/prisca/v1/global/meta/meta_pb.js +0 -1179
|
@@ -1,4429 +0,0 @@
|
|
|
1
|
-
// source: prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto
|
|
2
|
-
/**
|
|
3
|
-
* @fileoverview
|
|
4
|
-
* @enhanceable
|
|
5
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
// @ts-nocheck
|
|
13
|
-
|
|
14
|
-
var jspb = require('google-protobuf');
|
|
15
|
-
var goog = jspb;
|
|
16
|
-
var global =
|
|
17
|
-
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
-
(typeof window !== 'undefined' && window) ||
|
|
19
|
-
(typeof global !== 'undefined' && global) ||
|
|
20
|
-
(typeof self !== 'undefined' && self) ||
|
|
21
|
-
(function () { return this; }).call(null) ||
|
|
22
|
-
Function('return this')();
|
|
23
|
-
|
|
24
|
-
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
|
-
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
-
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
27
|
-
goog.object.extend(proto, prisca_v1_core_transaction_builder_transaction_builder_pb);
|
|
28
|
-
goog.exportSymbol('proto.BasePurchaseRequisitionTrx', null, global);
|
|
29
|
-
goog.exportSymbol('proto.CreatePurchaseRequisitionTrxRequest', null, global);
|
|
30
|
-
goog.exportSymbol('proto.CreatePurchaseRequisitionTrxResponse', null, global);
|
|
31
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByIdRequest', null, global);
|
|
32
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByIdResponse', null, global);
|
|
33
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailByIdRequest', null, global);
|
|
34
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailByIdResponse', null, global);
|
|
35
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListDetailRequest', null, global);
|
|
36
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListDetailResponse', null, global);
|
|
37
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListRequest', null, global);
|
|
38
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListResponse', null, global);
|
|
39
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListTableResponse', null, global);
|
|
40
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxListRequest', null, global);
|
|
41
|
-
goog.exportSymbol('proto.GetPurchaseRequisitionTrxListResponse', null, global);
|
|
42
|
-
goog.exportSymbol('proto.PurchaseRequisitionTrx', null, global);
|
|
43
|
-
goog.exportSymbol('proto.UpdatePurchaseRequisitionTrxRequest', null, global);
|
|
44
|
-
goog.exportSymbol('proto.UpdatePurchaseRequisitionTrxResponse', null, global);
|
|
45
|
-
goog.exportSymbol('proto.Value', null, global);
|
|
46
|
-
/**
|
|
47
|
-
* Generated by JsPbCodeGenerator.
|
|
48
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
49
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
50
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
51
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
52
|
-
* valid.
|
|
53
|
-
* @extends {jspb.Message}
|
|
54
|
-
* @constructor
|
|
55
|
-
*/
|
|
56
|
-
proto.Value = function(opt_data) {
|
|
57
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
58
|
-
};
|
|
59
|
-
goog.inherits(proto.Value, jspb.Message);
|
|
60
|
-
if (goog.DEBUG && !COMPILED) {
|
|
61
|
-
/**
|
|
62
|
-
* @public
|
|
63
|
-
* @override
|
|
64
|
-
*/
|
|
65
|
-
proto.Value.displayName = 'proto.Value';
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Generated by JsPbCodeGenerator.
|
|
69
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
70
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
71
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
72
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
73
|
-
* valid.
|
|
74
|
-
* @extends {jspb.Message}
|
|
75
|
-
* @constructor
|
|
76
|
-
*/
|
|
77
|
-
proto.PurchaseRequisitionTrx = function(opt_data) {
|
|
78
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.PurchaseRequisitionTrx.repeatedFields_, null);
|
|
79
|
-
};
|
|
80
|
-
goog.inherits(proto.PurchaseRequisitionTrx, jspb.Message);
|
|
81
|
-
if (goog.DEBUG && !COMPILED) {
|
|
82
|
-
/**
|
|
83
|
-
* @public
|
|
84
|
-
* @override
|
|
85
|
-
*/
|
|
86
|
-
proto.PurchaseRequisitionTrx.displayName = 'proto.PurchaseRequisitionTrx';
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Generated by JsPbCodeGenerator.
|
|
90
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
91
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
92
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
93
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
94
|
-
* valid.
|
|
95
|
-
* @extends {jspb.Message}
|
|
96
|
-
* @constructor
|
|
97
|
-
*/
|
|
98
|
-
proto.BasePurchaseRequisitionTrx = function(opt_data) {
|
|
99
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.BasePurchaseRequisitionTrx.repeatedFields_, null);
|
|
100
|
-
};
|
|
101
|
-
goog.inherits(proto.BasePurchaseRequisitionTrx, jspb.Message);
|
|
102
|
-
if (goog.DEBUG && !COMPILED) {
|
|
103
|
-
/**
|
|
104
|
-
* @public
|
|
105
|
-
* @override
|
|
106
|
-
*/
|
|
107
|
-
proto.BasePurchaseRequisitionTrx.displayName = 'proto.BasePurchaseRequisitionTrx';
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Generated by JsPbCodeGenerator.
|
|
111
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
112
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
113
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
114
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
115
|
-
* valid.
|
|
116
|
-
* @extends {jspb.Message}
|
|
117
|
-
* @constructor
|
|
118
|
-
*/
|
|
119
|
-
proto.CreatePurchaseRequisitionTrxRequest = function(opt_data) {
|
|
120
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
121
|
-
};
|
|
122
|
-
goog.inherits(proto.CreatePurchaseRequisitionTrxRequest, jspb.Message);
|
|
123
|
-
if (goog.DEBUG && !COMPILED) {
|
|
124
|
-
/**
|
|
125
|
-
* @public
|
|
126
|
-
* @override
|
|
127
|
-
*/
|
|
128
|
-
proto.CreatePurchaseRequisitionTrxRequest.displayName = 'proto.CreatePurchaseRequisitionTrxRequest';
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Generated by JsPbCodeGenerator.
|
|
132
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
133
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
134
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
135
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
136
|
-
* valid.
|
|
137
|
-
* @extends {jspb.Message}
|
|
138
|
-
* @constructor
|
|
139
|
-
*/
|
|
140
|
-
proto.UpdatePurchaseRequisitionTrxRequest = function(opt_data) {
|
|
141
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
142
|
-
};
|
|
143
|
-
goog.inherits(proto.UpdatePurchaseRequisitionTrxRequest, jspb.Message);
|
|
144
|
-
if (goog.DEBUG && !COMPILED) {
|
|
145
|
-
/**
|
|
146
|
-
* @public
|
|
147
|
-
* @override
|
|
148
|
-
*/
|
|
149
|
-
proto.UpdatePurchaseRequisitionTrxRequest.displayName = 'proto.UpdatePurchaseRequisitionTrxRequest';
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Generated by JsPbCodeGenerator.
|
|
153
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
154
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
155
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
156
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
157
|
-
* valid.
|
|
158
|
-
* @extends {jspb.Message}
|
|
159
|
-
* @constructor
|
|
160
|
-
*/
|
|
161
|
-
proto.GetPurchaseRequisitionTrxByIdRequest = function(opt_data) {
|
|
162
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
163
|
-
};
|
|
164
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxByIdRequest, jspb.Message);
|
|
165
|
-
if (goog.DEBUG && !COMPILED) {
|
|
166
|
-
/**
|
|
167
|
-
* @public
|
|
168
|
-
* @override
|
|
169
|
-
*/
|
|
170
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.displayName = 'proto.GetPurchaseRequisitionTrxByIdRequest';
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Generated by JsPbCodeGenerator.
|
|
174
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
175
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
176
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
177
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
178
|
-
* valid.
|
|
179
|
-
* @extends {jspb.Message}
|
|
180
|
-
* @constructor
|
|
181
|
-
*/
|
|
182
|
-
proto.GetPurchaseRequisitionTrxListRequest = function(opt_data) {
|
|
183
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
184
|
-
};
|
|
185
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxListRequest, jspb.Message);
|
|
186
|
-
if (goog.DEBUG && !COMPILED) {
|
|
187
|
-
/**
|
|
188
|
-
* @public
|
|
189
|
-
* @override
|
|
190
|
-
*/
|
|
191
|
-
proto.GetPurchaseRequisitionTrxListRequest.displayName = 'proto.GetPurchaseRequisitionTrxListRequest';
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* Generated by JsPbCodeGenerator.
|
|
195
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
196
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
197
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
198
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
199
|
-
* valid.
|
|
200
|
-
* @extends {jspb.Message}
|
|
201
|
-
* @constructor
|
|
202
|
-
*/
|
|
203
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest = function(opt_data) {
|
|
204
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
205
|
-
};
|
|
206
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxDetailByIdRequest, jspb.Message);
|
|
207
|
-
if (goog.DEBUG && !COMPILED) {
|
|
208
|
-
/**
|
|
209
|
-
* @public
|
|
210
|
-
* @override
|
|
211
|
-
*/
|
|
212
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.displayName = 'proto.GetPurchaseRequisitionTrxDetailByIdRequest';
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Generated by JsPbCodeGenerator.
|
|
216
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
217
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
218
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
219
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
220
|
-
* valid.
|
|
221
|
-
* @extends {jspb.Message}
|
|
222
|
-
* @constructor
|
|
223
|
-
*/
|
|
224
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest = function(opt_data) {
|
|
225
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
226
|
-
};
|
|
227
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxDetailListRequest, jspb.Message);
|
|
228
|
-
if (goog.DEBUG && !COMPILED) {
|
|
229
|
-
/**
|
|
230
|
-
* @public
|
|
231
|
-
* @override
|
|
232
|
-
*/
|
|
233
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.displayName = 'proto.GetPurchaseRequisitionTrxDetailListRequest';
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* Generated by JsPbCodeGenerator.
|
|
237
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
238
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
239
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
240
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
241
|
-
* valid.
|
|
242
|
-
* @extends {jspb.Message}
|
|
243
|
-
* @constructor
|
|
244
|
-
*/
|
|
245
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest = function(opt_data) {
|
|
246
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
247
|
-
};
|
|
248
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxDetailListDetailRequest, jspb.Message);
|
|
249
|
-
if (goog.DEBUG && !COMPILED) {
|
|
250
|
-
/**
|
|
251
|
-
* @public
|
|
252
|
-
* @override
|
|
253
|
-
*/
|
|
254
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.displayName = 'proto.GetPurchaseRequisitionTrxDetailListDetailRequest';
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* Generated by JsPbCodeGenerator.
|
|
258
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
259
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
260
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
261
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
262
|
-
* valid.
|
|
263
|
-
* @extends {jspb.Message}
|
|
264
|
-
* @constructor
|
|
265
|
-
*/
|
|
266
|
-
proto.CreatePurchaseRequisitionTrxResponse = function(opt_data) {
|
|
267
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
268
|
-
};
|
|
269
|
-
goog.inherits(proto.CreatePurchaseRequisitionTrxResponse, jspb.Message);
|
|
270
|
-
if (goog.DEBUG && !COMPILED) {
|
|
271
|
-
/**
|
|
272
|
-
* @public
|
|
273
|
-
* @override
|
|
274
|
-
*/
|
|
275
|
-
proto.CreatePurchaseRequisitionTrxResponse.displayName = 'proto.CreatePurchaseRequisitionTrxResponse';
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* Generated by JsPbCodeGenerator.
|
|
279
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
280
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
281
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
282
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
283
|
-
* valid.
|
|
284
|
-
* @extends {jspb.Message}
|
|
285
|
-
* @constructor
|
|
286
|
-
*/
|
|
287
|
-
proto.UpdatePurchaseRequisitionTrxResponse = function(opt_data) {
|
|
288
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
289
|
-
};
|
|
290
|
-
goog.inherits(proto.UpdatePurchaseRequisitionTrxResponse, jspb.Message);
|
|
291
|
-
if (goog.DEBUG && !COMPILED) {
|
|
292
|
-
/**
|
|
293
|
-
* @public
|
|
294
|
-
* @override
|
|
295
|
-
*/
|
|
296
|
-
proto.UpdatePurchaseRequisitionTrxResponse.displayName = 'proto.UpdatePurchaseRequisitionTrxResponse';
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* Generated by JsPbCodeGenerator.
|
|
300
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
301
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
302
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
303
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
304
|
-
* valid.
|
|
305
|
-
* @extends {jspb.Message}
|
|
306
|
-
* @constructor
|
|
307
|
-
*/
|
|
308
|
-
proto.GetPurchaseRequisitionTrxByIdResponse = function(opt_data) {
|
|
309
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
310
|
-
};
|
|
311
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxByIdResponse, jspb.Message);
|
|
312
|
-
if (goog.DEBUG && !COMPILED) {
|
|
313
|
-
/**
|
|
314
|
-
* @public
|
|
315
|
-
* @override
|
|
316
|
-
*/
|
|
317
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.displayName = 'proto.GetPurchaseRequisitionTrxByIdResponse';
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* Generated by JsPbCodeGenerator.
|
|
321
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
322
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
323
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
324
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
325
|
-
* valid.
|
|
326
|
-
* @extends {jspb.Message}
|
|
327
|
-
* @constructor
|
|
328
|
-
*/
|
|
329
|
-
proto.GetPurchaseRequisitionTrxListResponse = function(opt_data) {
|
|
330
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseRequisitionTrxListResponse.repeatedFields_, null);
|
|
331
|
-
};
|
|
332
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxListResponse, jspb.Message);
|
|
333
|
-
if (goog.DEBUG && !COMPILED) {
|
|
334
|
-
/**
|
|
335
|
-
* @public
|
|
336
|
-
* @override
|
|
337
|
-
*/
|
|
338
|
-
proto.GetPurchaseRequisitionTrxListResponse.displayName = 'proto.GetPurchaseRequisitionTrxListResponse';
|
|
339
|
-
}
|
|
340
|
-
/**
|
|
341
|
-
* Generated by JsPbCodeGenerator.
|
|
342
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
343
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
344
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
345
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
346
|
-
* valid.
|
|
347
|
-
* @extends {jspb.Message}
|
|
348
|
-
* @constructor
|
|
349
|
-
*/
|
|
350
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse = function(opt_data) {
|
|
351
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseRequisitionTrxDetailByIdResponse.repeatedFields_, null);
|
|
352
|
-
};
|
|
353
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxDetailByIdResponse, jspb.Message);
|
|
354
|
-
if (goog.DEBUG && !COMPILED) {
|
|
355
|
-
/**
|
|
356
|
-
* @public
|
|
357
|
-
* @override
|
|
358
|
-
*/
|
|
359
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.displayName = 'proto.GetPurchaseRequisitionTrxDetailByIdResponse';
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* Generated by JsPbCodeGenerator.
|
|
363
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
364
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
365
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
366
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
367
|
-
* valid.
|
|
368
|
-
* @extends {jspb.Message}
|
|
369
|
-
* @constructor
|
|
370
|
-
*/
|
|
371
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse = function(opt_data) {
|
|
372
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseRequisitionTrxDetailListResponse.repeatedFields_, null);
|
|
373
|
-
};
|
|
374
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxDetailListResponse, jspb.Message);
|
|
375
|
-
if (goog.DEBUG && !COMPILED) {
|
|
376
|
-
/**
|
|
377
|
-
* @public
|
|
378
|
-
* @override
|
|
379
|
-
*/
|
|
380
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.displayName = 'proto.GetPurchaseRequisitionTrxDetailListResponse';
|
|
381
|
-
}
|
|
382
|
-
/**
|
|
383
|
-
* Generated by JsPbCodeGenerator.
|
|
384
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
385
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
386
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
387
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
388
|
-
* valid.
|
|
389
|
-
* @extends {jspb.Message}
|
|
390
|
-
* @constructor
|
|
391
|
-
*/
|
|
392
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse = function(opt_data) {
|
|
393
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseRequisitionTrxDetailListTableResponse.repeatedFields_, null);
|
|
394
|
-
};
|
|
395
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxDetailListTableResponse, jspb.Message);
|
|
396
|
-
if (goog.DEBUG && !COMPILED) {
|
|
397
|
-
/**
|
|
398
|
-
* @public
|
|
399
|
-
* @override
|
|
400
|
-
*/
|
|
401
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.displayName = 'proto.GetPurchaseRequisitionTrxDetailListTableResponse';
|
|
402
|
-
}
|
|
403
|
-
/**
|
|
404
|
-
* Generated by JsPbCodeGenerator.
|
|
405
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
406
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
407
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
408
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
409
|
-
* valid.
|
|
410
|
-
* @extends {jspb.Message}
|
|
411
|
-
* @constructor
|
|
412
|
-
*/
|
|
413
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse = function(opt_data) {
|
|
414
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseRequisitionTrxDetailListDetailResponse.repeatedFields_, null);
|
|
415
|
-
};
|
|
416
|
-
goog.inherits(proto.GetPurchaseRequisitionTrxDetailListDetailResponse, jspb.Message);
|
|
417
|
-
if (goog.DEBUG && !COMPILED) {
|
|
418
|
-
/**
|
|
419
|
-
* @public
|
|
420
|
-
* @override
|
|
421
|
-
*/
|
|
422
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.displayName = 'proto.GetPurchaseRequisitionTrxDetailListDetailResponse';
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
428
|
-
/**
|
|
429
|
-
* Creates an object representation of this proto.
|
|
430
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
431
|
-
* Optional fields that are not set will be set to undefined.
|
|
432
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
433
|
-
* For the list of reserved names please see:
|
|
434
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
435
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
436
|
-
* JSPB instance for transitional soy proto support:
|
|
437
|
-
* http://goto/soy-param-migration
|
|
438
|
-
* @return {!Object}
|
|
439
|
-
*/
|
|
440
|
-
proto.Value.prototype.toObject = function(opt_includeInstance) {
|
|
441
|
-
return proto.Value.toObject(opt_includeInstance, this);
|
|
442
|
-
};
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Static version of the {@see toObject} method.
|
|
447
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
448
|
-
* the JSPB instance for transitional soy proto support:
|
|
449
|
-
* http://goto/soy-param-migration
|
|
450
|
-
* @param {!proto.Value} msg The msg instance to transform.
|
|
451
|
-
* @return {!Object}
|
|
452
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
453
|
-
*/
|
|
454
|
-
proto.Value.toObject = function(includeInstance, msg) {
|
|
455
|
-
var f, obj = {
|
|
456
|
-
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
457
|
-
value: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
458
|
-
};
|
|
459
|
-
|
|
460
|
-
if (includeInstance) {
|
|
461
|
-
obj.$jspbMessageInstance = msg;
|
|
462
|
-
}
|
|
463
|
-
return obj;
|
|
464
|
-
};
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* Deserializes binary data (in protobuf wire format).
|
|
470
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
471
|
-
* @return {!proto.Value}
|
|
472
|
-
*/
|
|
473
|
-
proto.Value.deserializeBinary = function(bytes) {
|
|
474
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
475
|
-
var msg = new proto.Value;
|
|
476
|
-
return proto.Value.deserializeBinaryFromReader(msg, reader);
|
|
477
|
-
};
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
482
|
-
* given reader into the given message object.
|
|
483
|
-
* @param {!proto.Value} msg The message object to deserialize into.
|
|
484
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
485
|
-
* @return {!proto.Value}
|
|
486
|
-
*/
|
|
487
|
-
proto.Value.deserializeBinaryFromReader = function(msg, reader) {
|
|
488
|
-
while (reader.nextField()) {
|
|
489
|
-
if (reader.isEndGroup()) {
|
|
490
|
-
break;
|
|
491
|
-
}
|
|
492
|
-
var field = reader.getFieldNumber();
|
|
493
|
-
switch (field) {
|
|
494
|
-
case 1:
|
|
495
|
-
var value = /** @type {string} */ (reader.readString());
|
|
496
|
-
msg.setKey(value);
|
|
497
|
-
break;
|
|
498
|
-
case 2:
|
|
499
|
-
var value = /** @type {string} */ (reader.readString());
|
|
500
|
-
msg.setValue(value);
|
|
501
|
-
break;
|
|
502
|
-
default:
|
|
503
|
-
reader.skipField();
|
|
504
|
-
break;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
return msg;
|
|
508
|
-
};
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
513
|
-
* @return {!Uint8Array}
|
|
514
|
-
*/
|
|
515
|
-
proto.Value.prototype.serializeBinary = function() {
|
|
516
|
-
var writer = new jspb.BinaryWriter();
|
|
517
|
-
proto.Value.serializeBinaryToWriter(this, writer);
|
|
518
|
-
return writer.getResultBuffer();
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
/**
|
|
523
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
524
|
-
* format), writing to the given BinaryWriter.
|
|
525
|
-
* @param {!proto.Value} message
|
|
526
|
-
* @param {!jspb.BinaryWriter} writer
|
|
527
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
528
|
-
*/
|
|
529
|
-
proto.Value.serializeBinaryToWriter = function(message, writer) {
|
|
530
|
-
var f = undefined;
|
|
531
|
-
f = message.getKey();
|
|
532
|
-
if (f.length > 0) {
|
|
533
|
-
writer.writeString(
|
|
534
|
-
1,
|
|
535
|
-
f
|
|
536
|
-
);
|
|
537
|
-
}
|
|
538
|
-
f = message.getValue();
|
|
539
|
-
if (f.length > 0) {
|
|
540
|
-
writer.writeString(
|
|
541
|
-
2,
|
|
542
|
-
f
|
|
543
|
-
);
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* optional string key = 1;
|
|
550
|
-
* @return {string}
|
|
551
|
-
*/
|
|
552
|
-
proto.Value.prototype.getKey = function() {
|
|
553
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
* @param {string} value
|
|
559
|
-
* @return {!proto.Value} returns this
|
|
560
|
-
*/
|
|
561
|
-
proto.Value.prototype.setKey = function(value) {
|
|
562
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
563
|
-
};
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* optional string value = 2;
|
|
568
|
-
* @return {string}
|
|
569
|
-
*/
|
|
570
|
-
proto.Value.prototype.getValue = function() {
|
|
571
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
572
|
-
};
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* @param {string} value
|
|
577
|
-
* @return {!proto.Value} returns this
|
|
578
|
-
*/
|
|
579
|
-
proto.Value.prototype.setValue = function(value) {
|
|
580
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
581
|
-
};
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* List of repeated fields within this message type.
|
|
587
|
-
* @private {!Array<number>}
|
|
588
|
-
* @const
|
|
589
|
-
*/
|
|
590
|
-
proto.PurchaseRequisitionTrx.repeatedFields_ = [13];
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
595
|
-
/**
|
|
596
|
-
* Creates an object representation of this proto.
|
|
597
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
598
|
-
* Optional fields that are not set will be set to undefined.
|
|
599
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
600
|
-
* For the list of reserved names please see:
|
|
601
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
602
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
603
|
-
* JSPB instance for transitional soy proto support:
|
|
604
|
-
* http://goto/soy-param-migration
|
|
605
|
-
* @return {!Object}
|
|
606
|
-
*/
|
|
607
|
-
proto.PurchaseRequisitionTrx.prototype.toObject = function(opt_includeInstance) {
|
|
608
|
-
return proto.PurchaseRequisitionTrx.toObject(opt_includeInstance, this);
|
|
609
|
-
};
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* Static version of the {@see toObject} method.
|
|
614
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
615
|
-
* the JSPB instance for transitional soy proto support:
|
|
616
|
-
* http://goto/soy-param-migration
|
|
617
|
-
* @param {!proto.PurchaseRequisitionTrx} msg The msg instance to transform.
|
|
618
|
-
* @return {!Object}
|
|
619
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
620
|
-
*/
|
|
621
|
-
proto.PurchaseRequisitionTrx.toObject = function(includeInstance, msg) {
|
|
622
|
-
var f, obj = {
|
|
623
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
624
|
-
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
625
|
-
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
626
|
-
itemCategoryRef: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
627
|
-
accountAssigmentRef: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
628
|
-
currencyRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
629
|
-
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
630
|
-
department: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
631
|
-
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
632
|
-
emailCc: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
633
|
-
plantRef: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
634
|
-
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
635
|
-
customTransactionList: jspb.Message.toObjectList(msg.getCustomTransactionList(),
|
|
636
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.Value.toObject, includeInstance),
|
|
637
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
638
|
-
createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
639
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
640
|
-
};
|
|
641
|
-
|
|
642
|
-
if (includeInstance) {
|
|
643
|
-
obj.$jspbMessageInstance = msg;
|
|
644
|
-
}
|
|
645
|
-
return obj;
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* Deserializes binary data (in protobuf wire format).
|
|
652
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
653
|
-
* @return {!proto.PurchaseRequisitionTrx}
|
|
654
|
-
*/
|
|
655
|
-
proto.PurchaseRequisitionTrx.deserializeBinary = function(bytes) {
|
|
656
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
657
|
-
var msg = new proto.PurchaseRequisitionTrx;
|
|
658
|
-
return proto.PurchaseRequisitionTrx.deserializeBinaryFromReader(msg, reader);
|
|
659
|
-
};
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
664
|
-
* given reader into the given message object.
|
|
665
|
-
* @param {!proto.PurchaseRequisitionTrx} msg The message object to deserialize into.
|
|
666
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
667
|
-
* @return {!proto.PurchaseRequisitionTrx}
|
|
668
|
-
*/
|
|
669
|
-
proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader) {
|
|
670
|
-
while (reader.nextField()) {
|
|
671
|
-
if (reader.isEndGroup()) {
|
|
672
|
-
break;
|
|
673
|
-
}
|
|
674
|
-
var field = reader.getFieldNumber();
|
|
675
|
-
switch (field) {
|
|
676
|
-
case 1:
|
|
677
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
678
|
-
msg.setId(value);
|
|
679
|
-
break;
|
|
680
|
-
case 2:
|
|
681
|
-
var value = /** @type {string} */ (reader.readString());
|
|
682
|
-
msg.setTitle(value);
|
|
683
|
-
break;
|
|
684
|
-
case 3:
|
|
685
|
-
var value = /** @type {string} */ (reader.readString());
|
|
686
|
-
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
687
|
-
break;
|
|
688
|
-
case 4:
|
|
689
|
-
var value = /** @type {string} */ (reader.readString());
|
|
690
|
-
msg.setItemCategoryRef(value);
|
|
691
|
-
break;
|
|
692
|
-
case 5:
|
|
693
|
-
var value = /** @type {string} */ (reader.readString());
|
|
694
|
-
msg.setAccountAssigmentRef(value);
|
|
695
|
-
break;
|
|
696
|
-
case 6:
|
|
697
|
-
var value = /** @type {string} */ (reader.readString());
|
|
698
|
-
msg.setCurrencyRef(value);
|
|
699
|
-
break;
|
|
700
|
-
case 7:
|
|
701
|
-
var value = /** @type {string} */ (reader.readString());
|
|
702
|
-
msg.setPurchaseRequisitionType(value);
|
|
703
|
-
break;
|
|
704
|
-
case 8:
|
|
705
|
-
var value = /** @type {string} */ (reader.readString());
|
|
706
|
-
msg.setDepartment(value);
|
|
707
|
-
break;
|
|
708
|
-
case 9:
|
|
709
|
-
var value = /** @type {string} */ (reader.readString());
|
|
710
|
-
msg.setPurchasingOrganization(value);
|
|
711
|
-
break;
|
|
712
|
-
case 10:
|
|
713
|
-
var value = /** @type {string} */ (reader.readString());
|
|
714
|
-
msg.setEmailCc(value);
|
|
715
|
-
break;
|
|
716
|
-
case 11:
|
|
717
|
-
var value = /** @type {string} */ (reader.readString());
|
|
718
|
-
msg.setPlantRef(value);
|
|
719
|
-
break;
|
|
720
|
-
case 12:
|
|
721
|
-
var value = /** @type {string} */ (reader.readString());
|
|
722
|
-
msg.setPurchasingGroup(value);
|
|
723
|
-
break;
|
|
724
|
-
case 13:
|
|
725
|
-
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.Value;
|
|
726
|
-
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.Value.deserializeBinaryFromReader);
|
|
727
|
-
msg.addCustomTransaction(value);
|
|
728
|
-
break;
|
|
729
|
-
case 14:
|
|
730
|
-
var value = /** @type {string} */ (reader.readString());
|
|
731
|
-
msg.setReferencesId(value);
|
|
732
|
-
break;
|
|
733
|
-
case 15:
|
|
734
|
-
var value = /** @type {string} */ (reader.readString());
|
|
735
|
-
msg.setCreatedAt(value);
|
|
736
|
-
break;
|
|
737
|
-
case 16:
|
|
738
|
-
var value = /** @type {string} */ (reader.readString());
|
|
739
|
-
msg.setUpdatedAt(value);
|
|
740
|
-
break;
|
|
741
|
-
default:
|
|
742
|
-
reader.skipField();
|
|
743
|
-
break;
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
return msg;
|
|
747
|
-
};
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
752
|
-
* @return {!Uint8Array}
|
|
753
|
-
*/
|
|
754
|
-
proto.PurchaseRequisitionTrx.prototype.serializeBinary = function() {
|
|
755
|
-
var writer = new jspb.BinaryWriter();
|
|
756
|
-
proto.PurchaseRequisitionTrx.serializeBinaryToWriter(this, writer);
|
|
757
|
-
return writer.getResultBuffer();
|
|
758
|
-
};
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
763
|
-
* format), writing to the given BinaryWriter.
|
|
764
|
-
* @param {!proto.PurchaseRequisitionTrx} message
|
|
765
|
-
* @param {!jspb.BinaryWriter} writer
|
|
766
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
767
|
-
*/
|
|
768
|
-
proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer) {
|
|
769
|
-
var f = undefined;
|
|
770
|
-
f = message.getId();
|
|
771
|
-
if (f !== 0) {
|
|
772
|
-
writer.writeInt64(
|
|
773
|
-
1,
|
|
774
|
-
f
|
|
775
|
-
);
|
|
776
|
-
}
|
|
777
|
-
f = message.getTitle();
|
|
778
|
-
if (f.length > 0) {
|
|
779
|
-
writer.writeString(
|
|
780
|
-
2,
|
|
781
|
-
f
|
|
782
|
-
);
|
|
783
|
-
}
|
|
784
|
-
f = message.getPurchaseRequisitionTransactionNumber();
|
|
785
|
-
if (f.length > 0) {
|
|
786
|
-
writer.writeString(
|
|
787
|
-
3,
|
|
788
|
-
f
|
|
789
|
-
);
|
|
790
|
-
}
|
|
791
|
-
f = message.getItemCategoryRef();
|
|
792
|
-
if (f.length > 0) {
|
|
793
|
-
writer.writeString(
|
|
794
|
-
4,
|
|
795
|
-
f
|
|
796
|
-
);
|
|
797
|
-
}
|
|
798
|
-
f = message.getAccountAssigmentRef();
|
|
799
|
-
if (f.length > 0) {
|
|
800
|
-
writer.writeString(
|
|
801
|
-
5,
|
|
802
|
-
f
|
|
803
|
-
);
|
|
804
|
-
}
|
|
805
|
-
f = message.getCurrencyRef();
|
|
806
|
-
if (f.length > 0) {
|
|
807
|
-
writer.writeString(
|
|
808
|
-
6,
|
|
809
|
-
f
|
|
810
|
-
);
|
|
811
|
-
}
|
|
812
|
-
f = message.getPurchaseRequisitionType();
|
|
813
|
-
if (f.length > 0) {
|
|
814
|
-
writer.writeString(
|
|
815
|
-
7,
|
|
816
|
-
f
|
|
817
|
-
);
|
|
818
|
-
}
|
|
819
|
-
f = message.getDepartment();
|
|
820
|
-
if (f.length > 0) {
|
|
821
|
-
writer.writeString(
|
|
822
|
-
8,
|
|
823
|
-
f
|
|
824
|
-
);
|
|
825
|
-
}
|
|
826
|
-
f = message.getPurchasingOrganization();
|
|
827
|
-
if (f.length > 0) {
|
|
828
|
-
writer.writeString(
|
|
829
|
-
9,
|
|
830
|
-
f
|
|
831
|
-
);
|
|
832
|
-
}
|
|
833
|
-
f = message.getEmailCc();
|
|
834
|
-
if (f.length > 0) {
|
|
835
|
-
writer.writeString(
|
|
836
|
-
10,
|
|
837
|
-
f
|
|
838
|
-
);
|
|
839
|
-
}
|
|
840
|
-
f = message.getPlantRef();
|
|
841
|
-
if (f.length > 0) {
|
|
842
|
-
writer.writeString(
|
|
843
|
-
11,
|
|
844
|
-
f
|
|
845
|
-
);
|
|
846
|
-
}
|
|
847
|
-
f = message.getPurchasingGroup();
|
|
848
|
-
if (f.length > 0) {
|
|
849
|
-
writer.writeString(
|
|
850
|
-
12,
|
|
851
|
-
f
|
|
852
|
-
);
|
|
853
|
-
}
|
|
854
|
-
f = message.getCustomTransactionList();
|
|
855
|
-
if (f.length > 0) {
|
|
856
|
-
writer.writeRepeatedMessage(
|
|
857
|
-
13,
|
|
858
|
-
f,
|
|
859
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.Value.serializeBinaryToWriter
|
|
860
|
-
);
|
|
861
|
-
}
|
|
862
|
-
f = message.getReferencesId();
|
|
863
|
-
if (f.length > 0) {
|
|
864
|
-
writer.writeString(
|
|
865
|
-
14,
|
|
866
|
-
f
|
|
867
|
-
);
|
|
868
|
-
}
|
|
869
|
-
f = message.getCreatedAt();
|
|
870
|
-
if (f.length > 0) {
|
|
871
|
-
writer.writeString(
|
|
872
|
-
15,
|
|
873
|
-
f
|
|
874
|
-
);
|
|
875
|
-
}
|
|
876
|
-
f = message.getUpdatedAt();
|
|
877
|
-
if (f.length > 0) {
|
|
878
|
-
writer.writeString(
|
|
879
|
-
16,
|
|
880
|
-
f
|
|
881
|
-
);
|
|
882
|
-
}
|
|
883
|
-
};
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
/**
|
|
887
|
-
* optional int64 id = 1;
|
|
888
|
-
* @return {number}
|
|
889
|
-
*/
|
|
890
|
-
proto.PurchaseRequisitionTrx.prototype.getId = function() {
|
|
891
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
892
|
-
};
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* @param {number} value
|
|
897
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
898
|
-
*/
|
|
899
|
-
proto.PurchaseRequisitionTrx.prototype.setId = function(value) {
|
|
900
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
901
|
-
};
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
/**
|
|
905
|
-
* optional string title = 2;
|
|
906
|
-
* @return {string}
|
|
907
|
-
*/
|
|
908
|
-
proto.PurchaseRequisitionTrx.prototype.getTitle = function() {
|
|
909
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
910
|
-
};
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* @param {string} value
|
|
915
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
916
|
-
*/
|
|
917
|
-
proto.PurchaseRequisitionTrx.prototype.setTitle = function(value) {
|
|
918
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
919
|
-
};
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
* optional string purchase_requisition_transaction_number = 3;
|
|
924
|
-
* @return {string}
|
|
925
|
-
*/
|
|
926
|
-
proto.PurchaseRequisitionTrx.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
927
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
928
|
-
};
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
/**
|
|
932
|
-
* @param {string} value
|
|
933
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
934
|
-
*/
|
|
935
|
-
proto.PurchaseRequisitionTrx.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
936
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* optional string item_category_ref = 4;
|
|
942
|
-
* @return {string}
|
|
943
|
-
*/
|
|
944
|
-
proto.PurchaseRequisitionTrx.prototype.getItemCategoryRef = function() {
|
|
945
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
946
|
-
};
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* @param {string} value
|
|
951
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
952
|
-
*/
|
|
953
|
-
proto.PurchaseRequisitionTrx.prototype.setItemCategoryRef = function(value) {
|
|
954
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
955
|
-
};
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
/**
|
|
959
|
-
* optional string account_assigment_ref = 5;
|
|
960
|
-
* @return {string}
|
|
961
|
-
*/
|
|
962
|
-
proto.PurchaseRequisitionTrx.prototype.getAccountAssigmentRef = function() {
|
|
963
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
964
|
-
};
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* @param {string} value
|
|
969
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
970
|
-
*/
|
|
971
|
-
proto.PurchaseRequisitionTrx.prototype.setAccountAssigmentRef = function(value) {
|
|
972
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
973
|
-
};
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
* optional string currency_ref = 6;
|
|
978
|
-
* @return {string}
|
|
979
|
-
*/
|
|
980
|
-
proto.PurchaseRequisitionTrx.prototype.getCurrencyRef = function() {
|
|
981
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
982
|
-
};
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* @param {string} value
|
|
987
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
988
|
-
*/
|
|
989
|
-
proto.PurchaseRequisitionTrx.prototype.setCurrencyRef = function(value) {
|
|
990
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
991
|
-
};
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* optional string purchase_requisition_type = 7;
|
|
996
|
-
* @return {string}
|
|
997
|
-
*/
|
|
998
|
-
proto.PurchaseRequisitionTrx.prototype.getPurchaseRequisitionType = function() {
|
|
999
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1000
|
-
};
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
/**
|
|
1004
|
-
* @param {string} value
|
|
1005
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1006
|
-
*/
|
|
1007
|
-
proto.PurchaseRequisitionTrx.prototype.setPurchaseRequisitionType = function(value) {
|
|
1008
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1009
|
-
};
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* optional string department = 8;
|
|
1014
|
-
* @return {string}
|
|
1015
|
-
*/
|
|
1016
|
-
proto.PurchaseRequisitionTrx.prototype.getDepartment = function() {
|
|
1017
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1018
|
-
};
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* @param {string} value
|
|
1023
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1024
|
-
*/
|
|
1025
|
-
proto.PurchaseRequisitionTrx.prototype.setDepartment = function(value) {
|
|
1026
|
-
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1027
|
-
};
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* optional string purchasing_organization = 9;
|
|
1032
|
-
* @return {string}
|
|
1033
|
-
*/
|
|
1034
|
-
proto.PurchaseRequisitionTrx.prototype.getPurchasingOrganization = function() {
|
|
1035
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* @param {string} value
|
|
1041
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1042
|
-
*/
|
|
1043
|
-
proto.PurchaseRequisitionTrx.prototype.setPurchasingOrganization = function(value) {
|
|
1044
|
-
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1045
|
-
};
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* optional string email_cc = 10;
|
|
1050
|
-
* @return {string}
|
|
1051
|
-
*/
|
|
1052
|
-
proto.PurchaseRequisitionTrx.prototype.getEmailCc = function() {
|
|
1053
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1054
|
-
};
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* @param {string} value
|
|
1059
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1060
|
-
*/
|
|
1061
|
-
proto.PurchaseRequisitionTrx.prototype.setEmailCc = function(value) {
|
|
1062
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1063
|
-
};
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* optional string plant_ref = 11;
|
|
1068
|
-
* @return {string}
|
|
1069
|
-
*/
|
|
1070
|
-
proto.PurchaseRequisitionTrx.prototype.getPlantRef = function() {
|
|
1071
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1072
|
-
};
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
/**
|
|
1076
|
-
* @param {string} value
|
|
1077
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1078
|
-
*/
|
|
1079
|
-
proto.PurchaseRequisitionTrx.prototype.setPlantRef = function(value) {
|
|
1080
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1081
|
-
};
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
/**
|
|
1085
|
-
* optional string purchasing_group = 12;
|
|
1086
|
-
* @return {string}
|
|
1087
|
-
*/
|
|
1088
|
-
proto.PurchaseRequisitionTrx.prototype.getPurchasingGroup = function() {
|
|
1089
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1090
|
-
};
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
/**
|
|
1094
|
-
* @param {string} value
|
|
1095
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1096
|
-
*/
|
|
1097
|
-
proto.PurchaseRequisitionTrx.prototype.setPurchasingGroup = function(value) {
|
|
1098
|
-
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1099
|
-
};
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* repeated prisca.v1.core.transaction_builder.Value custom_transaction = 13;
|
|
1104
|
-
* @return {!Array<!proto.prisca.v1.core.transaction_builder.Value>}
|
|
1105
|
-
*/
|
|
1106
|
-
proto.PurchaseRequisitionTrx.prototype.getCustomTransactionList = function() {
|
|
1107
|
-
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.Value>} */ (
|
|
1108
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.Value, 13));
|
|
1109
|
-
};
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
/**
|
|
1113
|
-
* @param {!Array<!proto.prisca.v1.core.transaction_builder.Value>} value
|
|
1114
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1115
|
-
*/
|
|
1116
|
-
proto.PurchaseRequisitionTrx.prototype.setCustomTransactionList = function(value) {
|
|
1117
|
-
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
1118
|
-
};
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
/**
|
|
1122
|
-
* @param {!proto.prisca.v1.core.transaction_builder.Value=} opt_value
|
|
1123
|
-
* @param {number=} opt_index
|
|
1124
|
-
* @return {!proto.prisca.v1.core.transaction_builder.Value}
|
|
1125
|
-
*/
|
|
1126
|
-
proto.PurchaseRequisitionTrx.prototype.addCustomTransaction = function(opt_value, opt_index) {
|
|
1127
|
-
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.prisca.v1.core.transaction_builder.Value, opt_index);
|
|
1128
|
-
};
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
/**
|
|
1132
|
-
* Clears the list making it empty but non-null.
|
|
1133
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1134
|
-
*/
|
|
1135
|
-
proto.PurchaseRequisitionTrx.prototype.clearCustomTransactionList = function() {
|
|
1136
|
-
return this.setCustomTransactionList([]);
|
|
1137
|
-
};
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* optional string references_id = 14;
|
|
1142
|
-
* @return {string}
|
|
1143
|
-
*/
|
|
1144
|
-
proto.PurchaseRequisitionTrx.prototype.getReferencesId = function() {
|
|
1145
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
1146
|
-
};
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
* @param {string} value
|
|
1151
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1152
|
-
*/
|
|
1153
|
-
proto.PurchaseRequisitionTrx.prototype.setReferencesId = function(value) {
|
|
1154
|
-
return jspb.Message.setProto3StringField(this, 14, value);
|
|
1155
|
-
};
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
* optional string created_at = 15;
|
|
1160
|
-
* @return {string}
|
|
1161
|
-
*/
|
|
1162
|
-
proto.PurchaseRequisitionTrx.prototype.getCreatedAt = function() {
|
|
1163
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
1164
|
-
};
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
/**
|
|
1168
|
-
* @param {string} value
|
|
1169
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1170
|
-
*/
|
|
1171
|
-
proto.PurchaseRequisitionTrx.prototype.setCreatedAt = function(value) {
|
|
1172
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
1173
|
-
};
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
/**
|
|
1177
|
-
* optional string updated_at = 16;
|
|
1178
|
-
* @return {string}
|
|
1179
|
-
*/
|
|
1180
|
-
proto.PurchaseRequisitionTrx.prototype.getUpdatedAt = function() {
|
|
1181
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
1182
|
-
};
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* @param {string} value
|
|
1187
|
-
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1188
|
-
*/
|
|
1189
|
-
proto.PurchaseRequisitionTrx.prototype.setUpdatedAt = function(value) {
|
|
1190
|
-
return jspb.Message.setProto3StringField(this, 16, value);
|
|
1191
|
-
};
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
* List of repeated fields within this message type.
|
|
1197
|
-
* @private {!Array<number>}
|
|
1198
|
-
* @const
|
|
1199
|
-
*/
|
|
1200
|
-
proto.BasePurchaseRequisitionTrx.repeatedFields_ = [12];
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1205
|
-
/**
|
|
1206
|
-
* Creates an object representation of this proto.
|
|
1207
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1208
|
-
* Optional fields that are not set will be set to undefined.
|
|
1209
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1210
|
-
* For the list of reserved names please see:
|
|
1211
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1212
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1213
|
-
* JSPB instance for transitional soy proto support:
|
|
1214
|
-
* http://goto/soy-param-migration
|
|
1215
|
-
* @return {!Object}
|
|
1216
|
-
*/
|
|
1217
|
-
proto.BasePurchaseRequisitionTrx.prototype.toObject = function(opt_includeInstance) {
|
|
1218
|
-
return proto.BasePurchaseRequisitionTrx.toObject(opt_includeInstance, this);
|
|
1219
|
-
};
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* Static version of the {@see toObject} method.
|
|
1224
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1225
|
-
* the JSPB instance for transitional soy proto support:
|
|
1226
|
-
* http://goto/soy-param-migration
|
|
1227
|
-
* @param {!proto.BasePurchaseRequisitionTrx} msg The msg instance to transform.
|
|
1228
|
-
* @return {!Object}
|
|
1229
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1230
|
-
*/
|
|
1231
|
-
proto.BasePurchaseRequisitionTrx.toObject = function(includeInstance, msg) {
|
|
1232
|
-
var f, obj = {
|
|
1233
|
-
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1234
|
-
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1235
|
-
itemCategoryRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1236
|
-
accountAssigmentRef: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1237
|
-
currencyRef: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1238
|
-
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1239
|
-
department: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1240
|
-
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1241
|
-
emailCc: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1242
|
-
plantRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1243
|
-
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1244
|
-
customTransactionList: jspb.Message.toObjectList(msg.getCustomTransactionList(),
|
|
1245
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.Value.toObject, includeInstance)
|
|
1246
|
-
};
|
|
1247
|
-
|
|
1248
|
-
if (includeInstance) {
|
|
1249
|
-
obj.$jspbMessageInstance = msg;
|
|
1250
|
-
}
|
|
1251
|
-
return obj;
|
|
1252
|
-
};
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
/**
|
|
1257
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1258
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1259
|
-
* @return {!proto.BasePurchaseRequisitionTrx}
|
|
1260
|
-
*/
|
|
1261
|
-
proto.BasePurchaseRequisitionTrx.deserializeBinary = function(bytes) {
|
|
1262
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1263
|
-
var msg = new proto.BasePurchaseRequisitionTrx;
|
|
1264
|
-
return proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader(msg, reader);
|
|
1265
|
-
};
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
/**
|
|
1269
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1270
|
-
* given reader into the given message object.
|
|
1271
|
-
* @param {!proto.BasePurchaseRequisitionTrx} msg The message object to deserialize into.
|
|
1272
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1273
|
-
* @return {!proto.BasePurchaseRequisitionTrx}
|
|
1274
|
-
*/
|
|
1275
|
-
proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader) {
|
|
1276
|
-
while (reader.nextField()) {
|
|
1277
|
-
if (reader.isEndGroup()) {
|
|
1278
|
-
break;
|
|
1279
|
-
}
|
|
1280
|
-
var field = reader.getFieldNumber();
|
|
1281
|
-
switch (field) {
|
|
1282
|
-
case 1:
|
|
1283
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1284
|
-
msg.setTitle(value);
|
|
1285
|
-
break;
|
|
1286
|
-
case 2:
|
|
1287
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1288
|
-
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
1289
|
-
break;
|
|
1290
|
-
case 3:
|
|
1291
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1292
|
-
msg.setItemCategoryRef(value);
|
|
1293
|
-
break;
|
|
1294
|
-
case 4:
|
|
1295
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1296
|
-
msg.setAccountAssigmentRef(value);
|
|
1297
|
-
break;
|
|
1298
|
-
case 5:
|
|
1299
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1300
|
-
msg.setCurrencyRef(value);
|
|
1301
|
-
break;
|
|
1302
|
-
case 6:
|
|
1303
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1304
|
-
msg.setPurchaseRequisitionType(value);
|
|
1305
|
-
break;
|
|
1306
|
-
case 7:
|
|
1307
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1308
|
-
msg.setDepartment(value);
|
|
1309
|
-
break;
|
|
1310
|
-
case 8:
|
|
1311
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1312
|
-
msg.setPurchasingOrganization(value);
|
|
1313
|
-
break;
|
|
1314
|
-
case 9:
|
|
1315
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1316
|
-
msg.setEmailCc(value);
|
|
1317
|
-
break;
|
|
1318
|
-
case 10:
|
|
1319
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1320
|
-
msg.setPlantRef(value);
|
|
1321
|
-
break;
|
|
1322
|
-
case 11:
|
|
1323
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1324
|
-
msg.setPurchasingGroup(value);
|
|
1325
|
-
break;
|
|
1326
|
-
case 12:
|
|
1327
|
-
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.Value;
|
|
1328
|
-
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.Value.deserializeBinaryFromReader);
|
|
1329
|
-
msg.addCustomTransaction(value);
|
|
1330
|
-
break;
|
|
1331
|
-
default:
|
|
1332
|
-
reader.skipField();
|
|
1333
|
-
break;
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
return msg;
|
|
1337
|
-
};
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
/**
|
|
1341
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1342
|
-
* @return {!Uint8Array}
|
|
1343
|
-
*/
|
|
1344
|
-
proto.BasePurchaseRequisitionTrx.prototype.serializeBinary = function() {
|
|
1345
|
-
var writer = new jspb.BinaryWriter();
|
|
1346
|
-
proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter(this, writer);
|
|
1347
|
-
return writer.getResultBuffer();
|
|
1348
|
-
};
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
/**
|
|
1352
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1353
|
-
* format), writing to the given BinaryWriter.
|
|
1354
|
-
* @param {!proto.BasePurchaseRequisitionTrx} message
|
|
1355
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1356
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1357
|
-
*/
|
|
1358
|
-
proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer) {
|
|
1359
|
-
var f = undefined;
|
|
1360
|
-
f = message.getTitle();
|
|
1361
|
-
if (f.length > 0) {
|
|
1362
|
-
writer.writeString(
|
|
1363
|
-
1,
|
|
1364
|
-
f
|
|
1365
|
-
);
|
|
1366
|
-
}
|
|
1367
|
-
f = message.getPurchaseRequisitionTransactionNumber();
|
|
1368
|
-
if (f.length > 0) {
|
|
1369
|
-
writer.writeString(
|
|
1370
|
-
2,
|
|
1371
|
-
f
|
|
1372
|
-
);
|
|
1373
|
-
}
|
|
1374
|
-
f = message.getItemCategoryRef();
|
|
1375
|
-
if (f.length > 0) {
|
|
1376
|
-
writer.writeString(
|
|
1377
|
-
3,
|
|
1378
|
-
f
|
|
1379
|
-
);
|
|
1380
|
-
}
|
|
1381
|
-
f = message.getAccountAssigmentRef();
|
|
1382
|
-
if (f.length > 0) {
|
|
1383
|
-
writer.writeString(
|
|
1384
|
-
4,
|
|
1385
|
-
f
|
|
1386
|
-
);
|
|
1387
|
-
}
|
|
1388
|
-
f = message.getCurrencyRef();
|
|
1389
|
-
if (f.length > 0) {
|
|
1390
|
-
writer.writeString(
|
|
1391
|
-
5,
|
|
1392
|
-
f
|
|
1393
|
-
);
|
|
1394
|
-
}
|
|
1395
|
-
f = message.getPurchaseRequisitionType();
|
|
1396
|
-
if (f.length > 0) {
|
|
1397
|
-
writer.writeString(
|
|
1398
|
-
6,
|
|
1399
|
-
f
|
|
1400
|
-
);
|
|
1401
|
-
}
|
|
1402
|
-
f = message.getDepartment();
|
|
1403
|
-
if (f.length > 0) {
|
|
1404
|
-
writer.writeString(
|
|
1405
|
-
7,
|
|
1406
|
-
f
|
|
1407
|
-
);
|
|
1408
|
-
}
|
|
1409
|
-
f = message.getPurchasingOrganization();
|
|
1410
|
-
if (f.length > 0) {
|
|
1411
|
-
writer.writeString(
|
|
1412
|
-
8,
|
|
1413
|
-
f
|
|
1414
|
-
);
|
|
1415
|
-
}
|
|
1416
|
-
f = message.getEmailCc();
|
|
1417
|
-
if (f.length > 0) {
|
|
1418
|
-
writer.writeString(
|
|
1419
|
-
9,
|
|
1420
|
-
f
|
|
1421
|
-
);
|
|
1422
|
-
}
|
|
1423
|
-
f = message.getPlantRef();
|
|
1424
|
-
if (f.length > 0) {
|
|
1425
|
-
writer.writeString(
|
|
1426
|
-
10,
|
|
1427
|
-
f
|
|
1428
|
-
);
|
|
1429
|
-
}
|
|
1430
|
-
f = message.getPurchasingGroup();
|
|
1431
|
-
if (f.length > 0) {
|
|
1432
|
-
writer.writeString(
|
|
1433
|
-
11,
|
|
1434
|
-
f
|
|
1435
|
-
);
|
|
1436
|
-
}
|
|
1437
|
-
f = message.getCustomTransactionList();
|
|
1438
|
-
if (f.length > 0) {
|
|
1439
|
-
writer.writeRepeatedMessage(
|
|
1440
|
-
12,
|
|
1441
|
-
f,
|
|
1442
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.Value.serializeBinaryToWriter
|
|
1443
|
-
);
|
|
1444
|
-
}
|
|
1445
|
-
};
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
/**
|
|
1449
|
-
* optional string title = 1;
|
|
1450
|
-
* @return {string}
|
|
1451
|
-
*/
|
|
1452
|
-
proto.BasePurchaseRequisitionTrx.prototype.getTitle = function() {
|
|
1453
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1454
|
-
};
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
/**
|
|
1458
|
-
* @param {string} value
|
|
1459
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1460
|
-
*/
|
|
1461
|
-
proto.BasePurchaseRequisitionTrx.prototype.setTitle = function(value) {
|
|
1462
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1463
|
-
};
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
/**
|
|
1467
|
-
* optional string purchase_requisition_transaction_number = 2;
|
|
1468
|
-
* @return {string}
|
|
1469
|
-
*/
|
|
1470
|
-
proto.BasePurchaseRequisitionTrx.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
1471
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1472
|
-
};
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* @param {string} value
|
|
1477
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1478
|
-
*/
|
|
1479
|
-
proto.BasePurchaseRequisitionTrx.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
1480
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1481
|
-
};
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
/**
|
|
1485
|
-
* optional string item_category_ref = 3;
|
|
1486
|
-
* @return {string}
|
|
1487
|
-
*/
|
|
1488
|
-
proto.BasePurchaseRequisitionTrx.prototype.getItemCategoryRef = function() {
|
|
1489
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1490
|
-
};
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
/**
|
|
1494
|
-
* @param {string} value
|
|
1495
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1496
|
-
*/
|
|
1497
|
-
proto.BasePurchaseRequisitionTrx.prototype.setItemCategoryRef = function(value) {
|
|
1498
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1499
|
-
};
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* optional string account_assigment_ref = 4;
|
|
1504
|
-
* @return {string}
|
|
1505
|
-
*/
|
|
1506
|
-
proto.BasePurchaseRequisitionTrx.prototype.getAccountAssigmentRef = function() {
|
|
1507
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1508
|
-
};
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
/**
|
|
1512
|
-
* @param {string} value
|
|
1513
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1514
|
-
*/
|
|
1515
|
-
proto.BasePurchaseRequisitionTrx.prototype.setAccountAssigmentRef = function(value) {
|
|
1516
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1517
|
-
};
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
/**
|
|
1521
|
-
* optional string currency_ref = 5;
|
|
1522
|
-
* @return {string}
|
|
1523
|
-
*/
|
|
1524
|
-
proto.BasePurchaseRequisitionTrx.prototype.getCurrencyRef = function() {
|
|
1525
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1526
|
-
};
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
/**
|
|
1530
|
-
* @param {string} value
|
|
1531
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1532
|
-
*/
|
|
1533
|
-
proto.BasePurchaseRequisitionTrx.prototype.setCurrencyRef = function(value) {
|
|
1534
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1535
|
-
};
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
/**
|
|
1539
|
-
* optional string purchase_requisition_type = 6;
|
|
1540
|
-
* @return {string}
|
|
1541
|
-
*/
|
|
1542
|
-
proto.BasePurchaseRequisitionTrx.prototype.getPurchaseRequisitionType = function() {
|
|
1543
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1544
|
-
};
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
/**
|
|
1548
|
-
* @param {string} value
|
|
1549
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1550
|
-
*/
|
|
1551
|
-
proto.BasePurchaseRequisitionTrx.prototype.setPurchaseRequisitionType = function(value) {
|
|
1552
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1553
|
-
};
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
/**
|
|
1557
|
-
* optional string department = 7;
|
|
1558
|
-
* @return {string}
|
|
1559
|
-
*/
|
|
1560
|
-
proto.BasePurchaseRequisitionTrx.prototype.getDepartment = function() {
|
|
1561
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1562
|
-
};
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
/**
|
|
1566
|
-
* @param {string} value
|
|
1567
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1568
|
-
*/
|
|
1569
|
-
proto.BasePurchaseRequisitionTrx.prototype.setDepartment = function(value) {
|
|
1570
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1571
|
-
};
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
/**
|
|
1575
|
-
* optional string purchasing_organization = 8;
|
|
1576
|
-
* @return {string}
|
|
1577
|
-
*/
|
|
1578
|
-
proto.BasePurchaseRequisitionTrx.prototype.getPurchasingOrganization = function() {
|
|
1579
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1580
|
-
};
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
/**
|
|
1584
|
-
* @param {string} value
|
|
1585
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1586
|
-
*/
|
|
1587
|
-
proto.BasePurchaseRequisitionTrx.prototype.setPurchasingOrganization = function(value) {
|
|
1588
|
-
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1589
|
-
};
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
/**
|
|
1593
|
-
* optional string email_cc = 9;
|
|
1594
|
-
* @return {string}
|
|
1595
|
-
*/
|
|
1596
|
-
proto.BasePurchaseRequisitionTrx.prototype.getEmailCc = function() {
|
|
1597
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1598
|
-
};
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* @param {string} value
|
|
1603
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1604
|
-
*/
|
|
1605
|
-
proto.BasePurchaseRequisitionTrx.prototype.setEmailCc = function(value) {
|
|
1606
|
-
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1607
|
-
};
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
/**
|
|
1611
|
-
* optional string plant_ref = 10;
|
|
1612
|
-
* @return {string}
|
|
1613
|
-
*/
|
|
1614
|
-
proto.BasePurchaseRequisitionTrx.prototype.getPlantRef = function() {
|
|
1615
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1616
|
-
};
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
/**
|
|
1620
|
-
* @param {string} value
|
|
1621
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1622
|
-
*/
|
|
1623
|
-
proto.BasePurchaseRequisitionTrx.prototype.setPlantRef = function(value) {
|
|
1624
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1625
|
-
};
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
/**
|
|
1629
|
-
* optional string purchasing_group = 11;
|
|
1630
|
-
* @return {string}
|
|
1631
|
-
*/
|
|
1632
|
-
proto.BasePurchaseRequisitionTrx.prototype.getPurchasingGroup = function() {
|
|
1633
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1634
|
-
};
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
/**
|
|
1638
|
-
* @param {string} value
|
|
1639
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1640
|
-
*/
|
|
1641
|
-
proto.BasePurchaseRequisitionTrx.prototype.setPurchasingGroup = function(value) {
|
|
1642
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1643
|
-
};
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
/**
|
|
1647
|
-
* repeated prisca.v1.core.transaction_builder.Value custom_transaction = 12;
|
|
1648
|
-
* @return {!Array<!proto.prisca.v1.core.transaction_builder.Value>}
|
|
1649
|
-
*/
|
|
1650
|
-
proto.BasePurchaseRequisitionTrx.prototype.getCustomTransactionList = function() {
|
|
1651
|
-
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.Value>} */ (
|
|
1652
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.Value, 12));
|
|
1653
|
-
};
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* @param {!Array<!proto.prisca.v1.core.transaction_builder.Value>} value
|
|
1658
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1659
|
-
*/
|
|
1660
|
-
proto.BasePurchaseRequisitionTrx.prototype.setCustomTransactionList = function(value) {
|
|
1661
|
-
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
1662
|
-
};
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
/**
|
|
1666
|
-
* @param {!proto.prisca.v1.core.transaction_builder.Value=} opt_value
|
|
1667
|
-
* @param {number=} opt_index
|
|
1668
|
-
* @return {!proto.prisca.v1.core.transaction_builder.Value}
|
|
1669
|
-
*/
|
|
1670
|
-
proto.BasePurchaseRequisitionTrx.prototype.addCustomTransaction = function(opt_value, opt_index) {
|
|
1671
|
-
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.prisca.v1.core.transaction_builder.Value, opt_index);
|
|
1672
|
-
};
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
/**
|
|
1676
|
-
* Clears the list making it empty but non-null.
|
|
1677
|
-
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1678
|
-
*/
|
|
1679
|
-
proto.BasePurchaseRequisitionTrx.prototype.clearCustomTransactionList = function() {
|
|
1680
|
-
return this.setCustomTransactionList([]);
|
|
1681
|
-
};
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1688
|
-
/**
|
|
1689
|
-
* Creates an object representation of this proto.
|
|
1690
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1691
|
-
* Optional fields that are not set will be set to undefined.
|
|
1692
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1693
|
-
* For the list of reserved names please see:
|
|
1694
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1695
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1696
|
-
* JSPB instance for transitional soy proto support:
|
|
1697
|
-
* http://goto/soy-param-migration
|
|
1698
|
-
* @return {!Object}
|
|
1699
|
-
*/
|
|
1700
|
-
proto.CreatePurchaseRequisitionTrxRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1701
|
-
return proto.CreatePurchaseRequisitionTrxRequest.toObject(opt_includeInstance, this);
|
|
1702
|
-
};
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
/**
|
|
1706
|
-
* Static version of the {@see toObject} method.
|
|
1707
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1708
|
-
* the JSPB instance for transitional soy proto support:
|
|
1709
|
-
* http://goto/soy-param-migration
|
|
1710
|
-
* @param {!proto.CreatePurchaseRequisitionTrxRequest} msg The msg instance to transform.
|
|
1711
|
-
* @return {!Object}
|
|
1712
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1713
|
-
*/
|
|
1714
|
-
proto.CreatePurchaseRequisitionTrxRequest.toObject = function(includeInstance, msg) {
|
|
1715
|
-
var f, obj = {
|
|
1716
|
-
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.BasePurchaseRequisitionTrx.toObject(includeInstance, f)
|
|
1717
|
-
};
|
|
1718
|
-
|
|
1719
|
-
if (includeInstance) {
|
|
1720
|
-
obj.$jspbMessageInstance = msg;
|
|
1721
|
-
}
|
|
1722
|
-
return obj;
|
|
1723
|
-
};
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
/**
|
|
1728
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1729
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1730
|
-
* @return {!proto.CreatePurchaseRequisitionTrxRequest}
|
|
1731
|
-
*/
|
|
1732
|
-
proto.CreatePurchaseRequisitionTrxRequest.deserializeBinary = function(bytes) {
|
|
1733
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1734
|
-
var msg = new proto.CreatePurchaseRequisitionTrxRequest;
|
|
1735
|
-
return proto.CreatePurchaseRequisitionTrxRequest.deserializeBinaryFromReader(msg, reader);
|
|
1736
|
-
};
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
/**
|
|
1740
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1741
|
-
* given reader into the given message object.
|
|
1742
|
-
* @param {!proto.CreatePurchaseRequisitionTrxRequest} msg The message object to deserialize into.
|
|
1743
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1744
|
-
* @return {!proto.CreatePurchaseRequisitionTrxRequest}
|
|
1745
|
-
*/
|
|
1746
|
-
proto.CreatePurchaseRequisitionTrxRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1747
|
-
while (reader.nextField()) {
|
|
1748
|
-
if (reader.isEndGroup()) {
|
|
1749
|
-
break;
|
|
1750
|
-
}
|
|
1751
|
-
var field = reader.getFieldNumber();
|
|
1752
|
-
switch (field) {
|
|
1753
|
-
case 1:
|
|
1754
|
-
var value = new proto.BasePurchaseRequisitionTrx;
|
|
1755
|
-
reader.readMessage(value,proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
1756
|
-
msg.setPurchaseRequisitionTransaction(value);
|
|
1757
|
-
break;
|
|
1758
|
-
default:
|
|
1759
|
-
reader.skipField();
|
|
1760
|
-
break;
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
return msg;
|
|
1764
|
-
};
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
/**
|
|
1768
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1769
|
-
* @return {!Uint8Array}
|
|
1770
|
-
*/
|
|
1771
|
-
proto.CreatePurchaseRequisitionTrxRequest.prototype.serializeBinary = function() {
|
|
1772
|
-
var writer = new jspb.BinaryWriter();
|
|
1773
|
-
proto.CreatePurchaseRequisitionTrxRequest.serializeBinaryToWriter(this, writer);
|
|
1774
|
-
return writer.getResultBuffer();
|
|
1775
|
-
};
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
/**
|
|
1779
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1780
|
-
* format), writing to the given BinaryWriter.
|
|
1781
|
-
* @param {!proto.CreatePurchaseRequisitionTrxRequest} message
|
|
1782
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1783
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1784
|
-
*/
|
|
1785
|
-
proto.CreatePurchaseRequisitionTrxRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1786
|
-
var f = undefined;
|
|
1787
|
-
f = message.getPurchaseRequisitionTransaction();
|
|
1788
|
-
if (f != null) {
|
|
1789
|
-
writer.writeMessage(
|
|
1790
|
-
1,
|
|
1791
|
-
f,
|
|
1792
|
-
proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter
|
|
1793
|
-
);
|
|
1794
|
-
}
|
|
1795
|
-
};
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
/**
|
|
1799
|
-
* optional BasePurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
1800
|
-
* @return {?proto.BasePurchaseRequisitionTrx}
|
|
1801
|
-
*/
|
|
1802
|
-
proto.CreatePurchaseRequisitionTrxRequest.prototype.getPurchaseRequisitionTransaction = function() {
|
|
1803
|
-
return /** @type{?proto.BasePurchaseRequisitionTrx} */ (
|
|
1804
|
-
jspb.Message.getWrapperField(this, proto.BasePurchaseRequisitionTrx, 1));
|
|
1805
|
-
};
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
/**
|
|
1809
|
-
* @param {?proto.BasePurchaseRequisitionTrx|undefined} value
|
|
1810
|
-
* @return {!proto.CreatePurchaseRequisitionTrxRequest} returns this
|
|
1811
|
-
*/
|
|
1812
|
-
proto.CreatePurchaseRequisitionTrxRequest.prototype.setPurchaseRequisitionTransaction = function(value) {
|
|
1813
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1814
|
-
};
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
/**
|
|
1818
|
-
* Clears the message field making it undefined.
|
|
1819
|
-
* @return {!proto.CreatePurchaseRequisitionTrxRequest} returns this
|
|
1820
|
-
*/
|
|
1821
|
-
proto.CreatePurchaseRequisitionTrxRequest.prototype.clearPurchaseRequisitionTransaction = function() {
|
|
1822
|
-
return this.setPurchaseRequisitionTransaction(undefined);
|
|
1823
|
-
};
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
/**
|
|
1827
|
-
* Returns whether this field is set.
|
|
1828
|
-
* @return {boolean}
|
|
1829
|
-
*/
|
|
1830
|
-
proto.CreatePurchaseRequisitionTrxRequest.prototype.hasPurchaseRequisitionTransaction = function() {
|
|
1831
|
-
return jspb.Message.getField(this, 1) != null;
|
|
1832
|
-
};
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1839
|
-
/**
|
|
1840
|
-
* Creates an object representation of this proto.
|
|
1841
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1842
|
-
* Optional fields that are not set will be set to undefined.
|
|
1843
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1844
|
-
* For the list of reserved names please see:
|
|
1845
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1846
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1847
|
-
* JSPB instance for transitional soy proto support:
|
|
1848
|
-
* http://goto/soy-param-migration
|
|
1849
|
-
* @return {!Object}
|
|
1850
|
-
*/
|
|
1851
|
-
proto.UpdatePurchaseRequisitionTrxRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1852
|
-
return proto.UpdatePurchaseRequisitionTrxRequest.toObject(opt_includeInstance, this);
|
|
1853
|
-
};
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
/**
|
|
1857
|
-
* Static version of the {@see toObject} method.
|
|
1858
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1859
|
-
* the JSPB instance for transitional soy proto support:
|
|
1860
|
-
* http://goto/soy-param-migration
|
|
1861
|
-
* @param {!proto.UpdatePurchaseRequisitionTrxRequest} msg The msg instance to transform.
|
|
1862
|
-
* @return {!Object}
|
|
1863
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1864
|
-
*/
|
|
1865
|
-
proto.UpdatePurchaseRequisitionTrxRequest.toObject = function(includeInstance, msg) {
|
|
1866
|
-
var f, obj = {
|
|
1867
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1868
|
-
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.BasePurchaseRequisitionTrx.toObject(includeInstance, f)
|
|
1869
|
-
};
|
|
1870
|
-
|
|
1871
|
-
if (includeInstance) {
|
|
1872
|
-
obj.$jspbMessageInstance = msg;
|
|
1873
|
-
}
|
|
1874
|
-
return obj;
|
|
1875
|
-
};
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
/**
|
|
1880
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1881
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1882
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxRequest}
|
|
1883
|
-
*/
|
|
1884
|
-
proto.UpdatePurchaseRequisitionTrxRequest.deserializeBinary = function(bytes) {
|
|
1885
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1886
|
-
var msg = new proto.UpdatePurchaseRequisitionTrxRequest;
|
|
1887
|
-
return proto.UpdatePurchaseRequisitionTrxRequest.deserializeBinaryFromReader(msg, reader);
|
|
1888
|
-
};
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
/**
|
|
1892
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1893
|
-
* given reader into the given message object.
|
|
1894
|
-
* @param {!proto.UpdatePurchaseRequisitionTrxRequest} msg The message object to deserialize into.
|
|
1895
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1896
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxRequest}
|
|
1897
|
-
*/
|
|
1898
|
-
proto.UpdatePurchaseRequisitionTrxRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1899
|
-
while (reader.nextField()) {
|
|
1900
|
-
if (reader.isEndGroup()) {
|
|
1901
|
-
break;
|
|
1902
|
-
}
|
|
1903
|
-
var field = reader.getFieldNumber();
|
|
1904
|
-
switch (field) {
|
|
1905
|
-
case 1:
|
|
1906
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1907
|
-
msg.setId(value);
|
|
1908
|
-
break;
|
|
1909
|
-
case 2:
|
|
1910
|
-
var value = new proto.BasePurchaseRequisitionTrx;
|
|
1911
|
-
reader.readMessage(value,proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
1912
|
-
msg.setPurchaseRequisitionTransaction(value);
|
|
1913
|
-
break;
|
|
1914
|
-
default:
|
|
1915
|
-
reader.skipField();
|
|
1916
|
-
break;
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
return msg;
|
|
1920
|
-
};
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
/**
|
|
1924
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1925
|
-
* @return {!Uint8Array}
|
|
1926
|
-
*/
|
|
1927
|
-
proto.UpdatePurchaseRequisitionTrxRequest.prototype.serializeBinary = function() {
|
|
1928
|
-
var writer = new jspb.BinaryWriter();
|
|
1929
|
-
proto.UpdatePurchaseRequisitionTrxRequest.serializeBinaryToWriter(this, writer);
|
|
1930
|
-
return writer.getResultBuffer();
|
|
1931
|
-
};
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
/**
|
|
1935
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1936
|
-
* format), writing to the given BinaryWriter.
|
|
1937
|
-
* @param {!proto.UpdatePurchaseRequisitionTrxRequest} message
|
|
1938
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1939
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1940
|
-
*/
|
|
1941
|
-
proto.UpdatePurchaseRequisitionTrxRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1942
|
-
var f = undefined;
|
|
1943
|
-
f = message.getId();
|
|
1944
|
-
if (f !== 0) {
|
|
1945
|
-
writer.writeInt64(
|
|
1946
|
-
1,
|
|
1947
|
-
f
|
|
1948
|
-
);
|
|
1949
|
-
}
|
|
1950
|
-
f = message.getPurchaseRequisitionTransaction();
|
|
1951
|
-
if (f != null) {
|
|
1952
|
-
writer.writeMessage(
|
|
1953
|
-
2,
|
|
1954
|
-
f,
|
|
1955
|
-
proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter
|
|
1956
|
-
);
|
|
1957
|
-
}
|
|
1958
|
-
};
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
/**
|
|
1962
|
-
* optional int64 id = 1;
|
|
1963
|
-
* @return {number}
|
|
1964
|
-
*/
|
|
1965
|
-
proto.UpdatePurchaseRequisitionTrxRequest.prototype.getId = function() {
|
|
1966
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1967
|
-
};
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
/**
|
|
1971
|
-
* @param {number} value
|
|
1972
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxRequest} returns this
|
|
1973
|
-
*/
|
|
1974
|
-
proto.UpdatePurchaseRequisitionTrxRequest.prototype.setId = function(value) {
|
|
1975
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1976
|
-
};
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
/**
|
|
1980
|
-
* optional BasePurchaseRequisitionTrx purchase_requisition_transaction = 2;
|
|
1981
|
-
* @return {?proto.BasePurchaseRequisitionTrx}
|
|
1982
|
-
*/
|
|
1983
|
-
proto.UpdatePurchaseRequisitionTrxRequest.prototype.getPurchaseRequisitionTransaction = function() {
|
|
1984
|
-
return /** @type{?proto.BasePurchaseRequisitionTrx} */ (
|
|
1985
|
-
jspb.Message.getWrapperField(this, proto.BasePurchaseRequisitionTrx, 2));
|
|
1986
|
-
};
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
/**
|
|
1990
|
-
* @param {?proto.BasePurchaseRequisitionTrx|undefined} value
|
|
1991
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxRequest} returns this
|
|
1992
|
-
*/
|
|
1993
|
-
proto.UpdatePurchaseRequisitionTrxRequest.prototype.setPurchaseRequisitionTransaction = function(value) {
|
|
1994
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
1995
|
-
};
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* Clears the message field making it undefined.
|
|
2000
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxRequest} returns this
|
|
2001
|
-
*/
|
|
2002
|
-
proto.UpdatePurchaseRequisitionTrxRequest.prototype.clearPurchaseRequisitionTransaction = function() {
|
|
2003
|
-
return this.setPurchaseRequisitionTransaction(undefined);
|
|
2004
|
-
};
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
/**
|
|
2008
|
-
* Returns whether this field is set.
|
|
2009
|
-
* @return {boolean}
|
|
2010
|
-
*/
|
|
2011
|
-
proto.UpdatePurchaseRequisitionTrxRequest.prototype.hasPurchaseRequisitionTransaction = function() {
|
|
2012
|
-
return jspb.Message.getField(this, 2) != null;
|
|
2013
|
-
};
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2020
|
-
/**
|
|
2021
|
-
* Creates an object representation of this proto.
|
|
2022
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2023
|
-
* Optional fields that are not set will be set to undefined.
|
|
2024
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2025
|
-
* For the list of reserved names please see:
|
|
2026
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2027
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2028
|
-
* JSPB instance for transitional soy proto support:
|
|
2029
|
-
* http://goto/soy-param-migration
|
|
2030
|
-
* @return {!Object}
|
|
2031
|
-
*/
|
|
2032
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2033
|
-
return proto.GetPurchaseRequisitionTrxByIdRequest.toObject(opt_includeInstance, this);
|
|
2034
|
-
};
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
/**
|
|
2038
|
-
* Static version of the {@see toObject} method.
|
|
2039
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2040
|
-
* the JSPB instance for transitional soy proto support:
|
|
2041
|
-
* http://goto/soy-param-migration
|
|
2042
|
-
* @param {!proto.GetPurchaseRequisitionTrxByIdRequest} msg The msg instance to transform.
|
|
2043
|
-
* @return {!Object}
|
|
2044
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2045
|
-
*/
|
|
2046
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.toObject = function(includeInstance, msg) {
|
|
2047
|
-
var f, obj = {
|
|
2048
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
2049
|
-
};
|
|
2050
|
-
|
|
2051
|
-
if (includeInstance) {
|
|
2052
|
-
obj.$jspbMessageInstance = msg;
|
|
2053
|
-
}
|
|
2054
|
-
return obj;
|
|
2055
|
-
};
|
|
2056
|
-
}
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
/**
|
|
2060
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2061
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2062
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdRequest}
|
|
2063
|
-
*/
|
|
2064
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.deserializeBinary = function(bytes) {
|
|
2065
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2066
|
-
var msg = new proto.GetPurchaseRequisitionTrxByIdRequest;
|
|
2067
|
-
return proto.GetPurchaseRequisitionTrxByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2068
|
-
};
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
/**
|
|
2072
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2073
|
-
* given reader into the given message object.
|
|
2074
|
-
* @param {!proto.GetPurchaseRequisitionTrxByIdRequest} msg The message object to deserialize into.
|
|
2075
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2076
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdRequest}
|
|
2077
|
-
*/
|
|
2078
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2079
|
-
while (reader.nextField()) {
|
|
2080
|
-
if (reader.isEndGroup()) {
|
|
2081
|
-
break;
|
|
2082
|
-
}
|
|
2083
|
-
var field = reader.getFieldNumber();
|
|
2084
|
-
switch (field) {
|
|
2085
|
-
case 1:
|
|
2086
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2087
|
-
msg.setId(value);
|
|
2088
|
-
break;
|
|
2089
|
-
default:
|
|
2090
|
-
reader.skipField();
|
|
2091
|
-
break;
|
|
2092
|
-
}
|
|
2093
|
-
}
|
|
2094
|
-
return msg;
|
|
2095
|
-
};
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
/**
|
|
2099
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2100
|
-
* @return {!Uint8Array}
|
|
2101
|
-
*/
|
|
2102
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.prototype.serializeBinary = function() {
|
|
2103
|
-
var writer = new jspb.BinaryWriter();
|
|
2104
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.serializeBinaryToWriter(this, writer);
|
|
2105
|
-
return writer.getResultBuffer();
|
|
2106
|
-
};
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2111
|
-
* format), writing to the given BinaryWriter.
|
|
2112
|
-
* @param {!proto.GetPurchaseRequisitionTrxByIdRequest} message
|
|
2113
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2114
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2115
|
-
*/
|
|
2116
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2117
|
-
var f = undefined;
|
|
2118
|
-
f = message.getId();
|
|
2119
|
-
if (f !== 0) {
|
|
2120
|
-
writer.writeInt64(
|
|
2121
|
-
1,
|
|
2122
|
-
f
|
|
2123
|
-
);
|
|
2124
|
-
}
|
|
2125
|
-
};
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
/**
|
|
2129
|
-
* optional int64 id = 1;
|
|
2130
|
-
* @return {number}
|
|
2131
|
-
*/
|
|
2132
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.prototype.getId = function() {
|
|
2133
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2134
|
-
};
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
/**
|
|
2138
|
-
* @param {number} value
|
|
2139
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdRequest} returns this
|
|
2140
|
-
*/
|
|
2141
|
-
proto.GetPurchaseRequisitionTrxByIdRequest.prototype.setId = function(value) {
|
|
2142
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2143
|
-
};
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2150
|
-
/**
|
|
2151
|
-
* Creates an object representation of this proto.
|
|
2152
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2153
|
-
* Optional fields that are not set will be set to undefined.
|
|
2154
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2155
|
-
* For the list of reserved names please see:
|
|
2156
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2157
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2158
|
-
* JSPB instance for transitional soy proto support:
|
|
2159
|
-
* http://goto/soy-param-migration
|
|
2160
|
-
* @return {!Object}
|
|
2161
|
-
*/
|
|
2162
|
-
proto.GetPurchaseRequisitionTrxListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2163
|
-
return proto.GetPurchaseRequisitionTrxListRequest.toObject(opt_includeInstance, this);
|
|
2164
|
-
};
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
/**
|
|
2168
|
-
* Static version of the {@see toObject} method.
|
|
2169
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2170
|
-
* the JSPB instance for transitional soy proto support:
|
|
2171
|
-
* http://goto/soy-param-migration
|
|
2172
|
-
* @param {!proto.GetPurchaseRequisitionTrxListRequest} msg The msg instance to transform.
|
|
2173
|
-
* @return {!Object}
|
|
2174
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2175
|
-
*/
|
|
2176
|
-
proto.GetPurchaseRequisitionTrxListRequest.toObject = function(includeInstance, msg) {
|
|
2177
|
-
var f, obj = {
|
|
2178
|
-
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f)
|
|
2179
|
-
};
|
|
2180
|
-
|
|
2181
|
-
if (includeInstance) {
|
|
2182
|
-
obj.$jspbMessageInstance = msg;
|
|
2183
|
-
}
|
|
2184
|
-
return obj;
|
|
2185
|
-
};
|
|
2186
|
-
}
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
/**
|
|
2190
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2191
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2192
|
-
* @return {!proto.GetPurchaseRequisitionTrxListRequest}
|
|
2193
|
-
*/
|
|
2194
|
-
proto.GetPurchaseRequisitionTrxListRequest.deserializeBinary = function(bytes) {
|
|
2195
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2196
|
-
var msg = new proto.GetPurchaseRequisitionTrxListRequest;
|
|
2197
|
-
return proto.GetPurchaseRequisitionTrxListRequest.deserializeBinaryFromReader(msg, reader);
|
|
2198
|
-
};
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
/**
|
|
2202
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2203
|
-
* given reader into the given message object.
|
|
2204
|
-
* @param {!proto.GetPurchaseRequisitionTrxListRequest} msg The message object to deserialize into.
|
|
2205
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2206
|
-
* @return {!proto.GetPurchaseRequisitionTrxListRequest}
|
|
2207
|
-
*/
|
|
2208
|
-
proto.GetPurchaseRequisitionTrxListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2209
|
-
while (reader.nextField()) {
|
|
2210
|
-
if (reader.isEndGroup()) {
|
|
2211
|
-
break;
|
|
2212
|
-
}
|
|
2213
|
-
var field = reader.getFieldNumber();
|
|
2214
|
-
switch (field) {
|
|
2215
|
-
case 1:
|
|
2216
|
-
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2217
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2218
|
-
msg.setPagination(value);
|
|
2219
|
-
break;
|
|
2220
|
-
default:
|
|
2221
|
-
reader.skipField();
|
|
2222
|
-
break;
|
|
2223
|
-
}
|
|
2224
|
-
}
|
|
2225
|
-
return msg;
|
|
2226
|
-
};
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
/**
|
|
2230
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2231
|
-
* @return {!Uint8Array}
|
|
2232
|
-
*/
|
|
2233
|
-
proto.GetPurchaseRequisitionTrxListRequest.prototype.serializeBinary = function() {
|
|
2234
|
-
var writer = new jspb.BinaryWriter();
|
|
2235
|
-
proto.GetPurchaseRequisitionTrxListRequest.serializeBinaryToWriter(this, writer);
|
|
2236
|
-
return writer.getResultBuffer();
|
|
2237
|
-
};
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
/**
|
|
2241
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2242
|
-
* format), writing to the given BinaryWriter.
|
|
2243
|
-
* @param {!proto.GetPurchaseRequisitionTrxListRequest} message
|
|
2244
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2245
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2246
|
-
*/
|
|
2247
|
-
proto.GetPurchaseRequisitionTrxListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2248
|
-
var f = undefined;
|
|
2249
|
-
f = message.getPagination();
|
|
2250
|
-
if (f != null) {
|
|
2251
|
-
writer.writeMessage(
|
|
2252
|
-
1,
|
|
2253
|
-
f,
|
|
2254
|
-
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
2255
|
-
);
|
|
2256
|
-
}
|
|
2257
|
-
};
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
/**
|
|
2261
|
-
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
2262
|
-
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
2263
|
-
*/
|
|
2264
|
-
proto.GetPurchaseRequisitionTrxListRequest.prototype.getPagination = function() {
|
|
2265
|
-
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
2266
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
2267
|
-
};
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
/**
|
|
2271
|
-
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
2272
|
-
* @return {!proto.GetPurchaseRequisitionTrxListRequest} returns this
|
|
2273
|
-
*/
|
|
2274
|
-
proto.GetPurchaseRequisitionTrxListRequest.prototype.setPagination = function(value) {
|
|
2275
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2276
|
-
};
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
/**
|
|
2280
|
-
* Clears the message field making it undefined.
|
|
2281
|
-
* @return {!proto.GetPurchaseRequisitionTrxListRequest} returns this
|
|
2282
|
-
*/
|
|
2283
|
-
proto.GetPurchaseRequisitionTrxListRequest.prototype.clearPagination = function() {
|
|
2284
|
-
return this.setPagination(undefined);
|
|
2285
|
-
};
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
/**
|
|
2289
|
-
* Returns whether this field is set.
|
|
2290
|
-
* @return {boolean}
|
|
2291
|
-
*/
|
|
2292
|
-
proto.GetPurchaseRequisitionTrxListRequest.prototype.hasPagination = function() {
|
|
2293
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2294
|
-
};
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2301
|
-
/**
|
|
2302
|
-
* Creates an object representation of this proto.
|
|
2303
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2304
|
-
* Optional fields that are not set will be set to undefined.
|
|
2305
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2306
|
-
* For the list of reserved names please see:
|
|
2307
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2308
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2309
|
-
* JSPB instance for transitional soy proto support:
|
|
2310
|
-
* http://goto/soy-param-migration
|
|
2311
|
-
* @return {!Object}
|
|
2312
|
-
*/
|
|
2313
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2314
|
-
return proto.GetPurchaseRequisitionTrxDetailByIdRequest.toObject(opt_includeInstance, this);
|
|
2315
|
-
};
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
/**
|
|
2319
|
-
* Static version of the {@see toObject} method.
|
|
2320
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2321
|
-
* the JSPB instance for transitional soy proto support:
|
|
2322
|
-
* http://goto/soy-param-migration
|
|
2323
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailByIdRequest} msg The msg instance to transform.
|
|
2324
|
-
* @return {!Object}
|
|
2325
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2326
|
-
*/
|
|
2327
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.toObject = function(includeInstance, msg) {
|
|
2328
|
-
var f, obj = {
|
|
2329
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2330
|
-
trxBuilderId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2331
|
-
};
|
|
2332
|
-
|
|
2333
|
-
if (includeInstance) {
|
|
2334
|
-
obj.$jspbMessageInstance = msg;
|
|
2335
|
-
}
|
|
2336
|
-
return obj;
|
|
2337
|
-
};
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
/**
|
|
2342
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2343
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2344
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdRequest}
|
|
2345
|
-
*/
|
|
2346
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.deserializeBinary = function(bytes) {
|
|
2347
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2348
|
-
var msg = new proto.GetPurchaseRequisitionTrxDetailByIdRequest;
|
|
2349
|
-
return proto.GetPurchaseRequisitionTrxDetailByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2350
|
-
};
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
/**
|
|
2354
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2355
|
-
* given reader into the given message object.
|
|
2356
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailByIdRequest} msg The message object to deserialize into.
|
|
2357
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2358
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdRequest}
|
|
2359
|
-
*/
|
|
2360
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2361
|
-
while (reader.nextField()) {
|
|
2362
|
-
if (reader.isEndGroup()) {
|
|
2363
|
-
break;
|
|
2364
|
-
}
|
|
2365
|
-
var field = reader.getFieldNumber();
|
|
2366
|
-
switch (field) {
|
|
2367
|
-
case 1:
|
|
2368
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2369
|
-
msg.setId(value);
|
|
2370
|
-
break;
|
|
2371
|
-
case 2:
|
|
2372
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2373
|
-
msg.setTrxBuilderId(value);
|
|
2374
|
-
break;
|
|
2375
|
-
default:
|
|
2376
|
-
reader.skipField();
|
|
2377
|
-
break;
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
return msg;
|
|
2381
|
-
};
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
/**
|
|
2385
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2386
|
-
* @return {!Uint8Array}
|
|
2387
|
-
*/
|
|
2388
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.serializeBinary = function() {
|
|
2389
|
-
var writer = new jspb.BinaryWriter();
|
|
2390
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.serializeBinaryToWriter(this, writer);
|
|
2391
|
-
return writer.getResultBuffer();
|
|
2392
|
-
};
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
/**
|
|
2396
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2397
|
-
* format), writing to the given BinaryWriter.
|
|
2398
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailByIdRequest} message
|
|
2399
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2400
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2401
|
-
*/
|
|
2402
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2403
|
-
var f = undefined;
|
|
2404
|
-
f = message.getId();
|
|
2405
|
-
if (f !== 0) {
|
|
2406
|
-
writer.writeInt64(
|
|
2407
|
-
1,
|
|
2408
|
-
f
|
|
2409
|
-
);
|
|
2410
|
-
}
|
|
2411
|
-
f = message.getTrxBuilderId();
|
|
2412
|
-
if (f !== 0) {
|
|
2413
|
-
writer.writeInt64(
|
|
2414
|
-
2,
|
|
2415
|
-
f
|
|
2416
|
-
);
|
|
2417
|
-
}
|
|
2418
|
-
};
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
/**
|
|
2422
|
-
* optional int64 id = 1;
|
|
2423
|
-
* @return {number}
|
|
2424
|
-
*/
|
|
2425
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.getId = function() {
|
|
2426
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2427
|
-
};
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
/**
|
|
2431
|
-
* @param {number} value
|
|
2432
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdRequest} returns this
|
|
2433
|
-
*/
|
|
2434
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.setId = function(value) {
|
|
2435
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2436
|
-
};
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
/**
|
|
2440
|
-
* optional int64 trx_builder_id = 2;
|
|
2441
|
-
* @return {number}
|
|
2442
|
-
*/
|
|
2443
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.getTrxBuilderId = function() {
|
|
2444
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2445
|
-
};
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
/**
|
|
2449
|
-
* @param {number} value
|
|
2450
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdRequest} returns this
|
|
2451
|
-
*/
|
|
2452
|
-
proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.setTrxBuilderId = function(value) {
|
|
2453
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2454
|
-
};
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2461
|
-
/**
|
|
2462
|
-
* Creates an object representation of this proto.
|
|
2463
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2464
|
-
* Optional fields that are not set will be set to undefined.
|
|
2465
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2466
|
-
* For the list of reserved names please see:
|
|
2467
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2468
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2469
|
-
* JSPB instance for transitional soy proto support:
|
|
2470
|
-
* http://goto/soy-param-migration
|
|
2471
|
-
* @return {!Object}
|
|
2472
|
-
*/
|
|
2473
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2474
|
-
return proto.GetPurchaseRequisitionTrxDetailListRequest.toObject(opt_includeInstance, this);
|
|
2475
|
-
};
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
/**
|
|
2479
|
-
* Static version of the {@see toObject} method.
|
|
2480
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2481
|
-
* the JSPB instance for transitional soy proto support:
|
|
2482
|
-
* http://goto/soy-param-migration
|
|
2483
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListRequest} msg The msg instance to transform.
|
|
2484
|
-
* @return {!Object}
|
|
2485
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2486
|
-
*/
|
|
2487
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.toObject = function(includeInstance, msg) {
|
|
2488
|
-
var f, obj = {
|
|
2489
|
-
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2490
|
-
trxBuilderId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2491
|
-
};
|
|
2492
|
-
|
|
2493
|
-
if (includeInstance) {
|
|
2494
|
-
obj.$jspbMessageInstance = msg;
|
|
2495
|
-
}
|
|
2496
|
-
return obj;
|
|
2497
|
-
};
|
|
2498
|
-
}
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
/**
|
|
2502
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2503
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2504
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListRequest}
|
|
2505
|
-
*/
|
|
2506
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.deserializeBinary = function(bytes) {
|
|
2507
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2508
|
-
var msg = new proto.GetPurchaseRequisitionTrxDetailListRequest;
|
|
2509
|
-
return proto.GetPurchaseRequisitionTrxDetailListRequest.deserializeBinaryFromReader(msg, reader);
|
|
2510
|
-
};
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
/**
|
|
2514
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2515
|
-
* given reader into the given message object.
|
|
2516
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListRequest} msg The message object to deserialize into.
|
|
2517
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2518
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListRequest}
|
|
2519
|
-
*/
|
|
2520
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2521
|
-
while (reader.nextField()) {
|
|
2522
|
-
if (reader.isEndGroup()) {
|
|
2523
|
-
break;
|
|
2524
|
-
}
|
|
2525
|
-
var field = reader.getFieldNumber();
|
|
2526
|
-
switch (field) {
|
|
2527
|
-
case 1:
|
|
2528
|
-
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2529
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2530
|
-
msg.setPagination(value);
|
|
2531
|
-
break;
|
|
2532
|
-
case 2:
|
|
2533
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2534
|
-
msg.setTrxBuilderId(value);
|
|
2535
|
-
break;
|
|
2536
|
-
default:
|
|
2537
|
-
reader.skipField();
|
|
2538
|
-
break;
|
|
2539
|
-
}
|
|
2540
|
-
}
|
|
2541
|
-
return msg;
|
|
2542
|
-
};
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
/**
|
|
2546
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2547
|
-
* @return {!Uint8Array}
|
|
2548
|
-
*/
|
|
2549
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.prototype.serializeBinary = function() {
|
|
2550
|
-
var writer = new jspb.BinaryWriter();
|
|
2551
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.serializeBinaryToWriter(this, writer);
|
|
2552
|
-
return writer.getResultBuffer();
|
|
2553
|
-
};
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
/**
|
|
2557
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2558
|
-
* format), writing to the given BinaryWriter.
|
|
2559
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListRequest} message
|
|
2560
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2561
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2562
|
-
*/
|
|
2563
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2564
|
-
var f = undefined;
|
|
2565
|
-
f = message.getPagination();
|
|
2566
|
-
if (f != null) {
|
|
2567
|
-
writer.writeMessage(
|
|
2568
|
-
1,
|
|
2569
|
-
f,
|
|
2570
|
-
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
2571
|
-
);
|
|
2572
|
-
}
|
|
2573
|
-
f = message.getTrxBuilderId();
|
|
2574
|
-
if (f !== 0) {
|
|
2575
|
-
writer.writeInt64(
|
|
2576
|
-
2,
|
|
2577
|
-
f
|
|
2578
|
-
);
|
|
2579
|
-
}
|
|
2580
|
-
};
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
/**
|
|
2584
|
-
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
2585
|
-
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
2586
|
-
*/
|
|
2587
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.prototype.getPagination = function() {
|
|
2588
|
-
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
2589
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
2590
|
-
};
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
/**
|
|
2594
|
-
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
2595
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListRequest} returns this
|
|
2596
|
-
*/
|
|
2597
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.prototype.setPagination = function(value) {
|
|
2598
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2599
|
-
};
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
/**
|
|
2603
|
-
* Clears the message field making it undefined.
|
|
2604
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListRequest} returns this
|
|
2605
|
-
*/
|
|
2606
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.prototype.clearPagination = function() {
|
|
2607
|
-
return this.setPagination(undefined);
|
|
2608
|
-
};
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
/**
|
|
2612
|
-
* Returns whether this field is set.
|
|
2613
|
-
* @return {boolean}
|
|
2614
|
-
*/
|
|
2615
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.prototype.hasPagination = function() {
|
|
2616
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2617
|
-
};
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
/**
|
|
2621
|
-
* optional int64 trx_builder_id = 2;
|
|
2622
|
-
* @return {number}
|
|
2623
|
-
*/
|
|
2624
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.prototype.getTrxBuilderId = function() {
|
|
2625
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2626
|
-
};
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
/**
|
|
2630
|
-
* @param {number} value
|
|
2631
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListRequest} returns this
|
|
2632
|
-
*/
|
|
2633
|
-
proto.GetPurchaseRequisitionTrxDetailListRequest.prototype.setTrxBuilderId = function(value) {
|
|
2634
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2635
|
-
};
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2642
|
-
/**
|
|
2643
|
-
* Creates an object representation of this proto.
|
|
2644
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2645
|
-
* Optional fields that are not set will be set to undefined.
|
|
2646
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2647
|
-
* For the list of reserved names please see:
|
|
2648
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2649
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2650
|
-
* JSPB instance for transitional soy proto support:
|
|
2651
|
-
* http://goto/soy-param-migration
|
|
2652
|
-
* @return {!Object}
|
|
2653
|
-
*/
|
|
2654
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2655
|
-
return proto.GetPurchaseRequisitionTrxDetailListDetailRequest.toObject(opt_includeInstance, this);
|
|
2656
|
-
};
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
/**
|
|
2660
|
-
* Static version of the {@see toObject} method.
|
|
2661
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2662
|
-
* the JSPB instance for transitional soy proto support:
|
|
2663
|
-
* http://goto/soy-param-migration
|
|
2664
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailRequest} msg The msg instance to transform.
|
|
2665
|
-
* @return {!Object}
|
|
2666
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2667
|
-
*/
|
|
2668
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.toObject = function(includeInstance, msg) {
|
|
2669
|
-
var f, obj = {
|
|
2670
|
-
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2671
|
-
trxBuilderId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2672
|
-
};
|
|
2673
|
-
|
|
2674
|
-
if (includeInstance) {
|
|
2675
|
-
obj.$jspbMessageInstance = msg;
|
|
2676
|
-
}
|
|
2677
|
-
return obj;
|
|
2678
|
-
};
|
|
2679
|
-
}
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
/**
|
|
2683
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2684
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2685
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailRequest}
|
|
2686
|
-
*/
|
|
2687
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.deserializeBinary = function(bytes) {
|
|
2688
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2689
|
-
var msg = new proto.GetPurchaseRequisitionTrxDetailListDetailRequest;
|
|
2690
|
-
return proto.GetPurchaseRequisitionTrxDetailListDetailRequest.deserializeBinaryFromReader(msg, reader);
|
|
2691
|
-
};
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
/**
|
|
2695
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2696
|
-
* given reader into the given message object.
|
|
2697
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailRequest} msg The message object to deserialize into.
|
|
2698
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2699
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailRequest}
|
|
2700
|
-
*/
|
|
2701
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2702
|
-
while (reader.nextField()) {
|
|
2703
|
-
if (reader.isEndGroup()) {
|
|
2704
|
-
break;
|
|
2705
|
-
}
|
|
2706
|
-
var field = reader.getFieldNumber();
|
|
2707
|
-
switch (field) {
|
|
2708
|
-
case 1:
|
|
2709
|
-
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2710
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2711
|
-
msg.setPagination(value);
|
|
2712
|
-
break;
|
|
2713
|
-
case 2:
|
|
2714
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2715
|
-
msg.setTrxBuilderId(value);
|
|
2716
|
-
break;
|
|
2717
|
-
default:
|
|
2718
|
-
reader.skipField();
|
|
2719
|
-
break;
|
|
2720
|
-
}
|
|
2721
|
-
}
|
|
2722
|
-
return msg;
|
|
2723
|
-
};
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
/**
|
|
2727
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2728
|
-
* @return {!Uint8Array}
|
|
2729
|
-
*/
|
|
2730
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.prototype.serializeBinary = function() {
|
|
2731
|
-
var writer = new jspb.BinaryWriter();
|
|
2732
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.serializeBinaryToWriter(this, writer);
|
|
2733
|
-
return writer.getResultBuffer();
|
|
2734
|
-
};
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
/**
|
|
2738
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2739
|
-
* format), writing to the given BinaryWriter.
|
|
2740
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailRequest} message
|
|
2741
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2742
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2743
|
-
*/
|
|
2744
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2745
|
-
var f = undefined;
|
|
2746
|
-
f = message.getPagination();
|
|
2747
|
-
if (f != null) {
|
|
2748
|
-
writer.writeMessage(
|
|
2749
|
-
1,
|
|
2750
|
-
f,
|
|
2751
|
-
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
2752
|
-
);
|
|
2753
|
-
}
|
|
2754
|
-
f = message.getTrxBuilderId();
|
|
2755
|
-
if (f !== 0) {
|
|
2756
|
-
writer.writeInt64(
|
|
2757
|
-
2,
|
|
2758
|
-
f
|
|
2759
|
-
);
|
|
2760
|
-
}
|
|
2761
|
-
};
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
/**
|
|
2765
|
-
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
2766
|
-
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
2767
|
-
*/
|
|
2768
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.prototype.getPagination = function() {
|
|
2769
|
-
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
2770
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
2771
|
-
};
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
/**
|
|
2775
|
-
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
2776
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailRequest} returns this
|
|
2777
|
-
*/
|
|
2778
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.prototype.setPagination = function(value) {
|
|
2779
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2780
|
-
};
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
/**
|
|
2784
|
-
* Clears the message field making it undefined.
|
|
2785
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailRequest} returns this
|
|
2786
|
-
*/
|
|
2787
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.prototype.clearPagination = function() {
|
|
2788
|
-
return this.setPagination(undefined);
|
|
2789
|
-
};
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
/**
|
|
2793
|
-
* Returns whether this field is set.
|
|
2794
|
-
* @return {boolean}
|
|
2795
|
-
*/
|
|
2796
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.prototype.hasPagination = function() {
|
|
2797
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2798
|
-
};
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
/**
|
|
2802
|
-
* optional int64 trx_builder_id = 2;
|
|
2803
|
-
* @return {number}
|
|
2804
|
-
*/
|
|
2805
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.prototype.getTrxBuilderId = function() {
|
|
2806
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2807
|
-
};
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
/**
|
|
2811
|
-
* @param {number} value
|
|
2812
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailRequest} returns this
|
|
2813
|
-
*/
|
|
2814
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailRequest.prototype.setTrxBuilderId = function(value) {
|
|
2815
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2816
|
-
};
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2823
|
-
/**
|
|
2824
|
-
* Creates an object representation of this proto.
|
|
2825
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2826
|
-
* Optional fields that are not set will be set to undefined.
|
|
2827
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2828
|
-
* For the list of reserved names please see:
|
|
2829
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2830
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2831
|
-
* JSPB instance for transitional soy proto support:
|
|
2832
|
-
* http://goto/soy-param-migration
|
|
2833
|
-
* @return {!Object}
|
|
2834
|
-
*/
|
|
2835
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2836
|
-
return proto.CreatePurchaseRequisitionTrxResponse.toObject(opt_includeInstance, this);
|
|
2837
|
-
};
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
/**
|
|
2841
|
-
* Static version of the {@see toObject} method.
|
|
2842
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2843
|
-
* the JSPB instance for transitional soy proto support:
|
|
2844
|
-
* http://goto/soy-param-migration
|
|
2845
|
-
* @param {!proto.CreatePurchaseRequisitionTrxResponse} msg The msg instance to transform.
|
|
2846
|
-
* @return {!Object}
|
|
2847
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2848
|
-
*/
|
|
2849
|
-
proto.CreatePurchaseRequisitionTrxResponse.toObject = function(includeInstance, msg) {
|
|
2850
|
-
var f, obj = {
|
|
2851
|
-
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.PurchaseRequisitionTrx.toObject(includeInstance, f),
|
|
2852
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2853
|
-
};
|
|
2854
|
-
|
|
2855
|
-
if (includeInstance) {
|
|
2856
|
-
obj.$jspbMessageInstance = msg;
|
|
2857
|
-
}
|
|
2858
|
-
return obj;
|
|
2859
|
-
};
|
|
2860
|
-
}
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
/**
|
|
2864
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2865
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2866
|
-
* @return {!proto.CreatePurchaseRequisitionTrxResponse}
|
|
2867
|
-
*/
|
|
2868
|
-
proto.CreatePurchaseRequisitionTrxResponse.deserializeBinary = function(bytes) {
|
|
2869
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2870
|
-
var msg = new proto.CreatePurchaseRequisitionTrxResponse;
|
|
2871
|
-
return proto.CreatePurchaseRequisitionTrxResponse.deserializeBinaryFromReader(msg, reader);
|
|
2872
|
-
};
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
/**
|
|
2876
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2877
|
-
* given reader into the given message object.
|
|
2878
|
-
* @param {!proto.CreatePurchaseRequisitionTrxResponse} msg The message object to deserialize into.
|
|
2879
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2880
|
-
* @return {!proto.CreatePurchaseRequisitionTrxResponse}
|
|
2881
|
-
*/
|
|
2882
|
-
proto.CreatePurchaseRequisitionTrxResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2883
|
-
while (reader.nextField()) {
|
|
2884
|
-
if (reader.isEndGroup()) {
|
|
2885
|
-
break;
|
|
2886
|
-
}
|
|
2887
|
-
var field = reader.getFieldNumber();
|
|
2888
|
-
switch (field) {
|
|
2889
|
-
case 1:
|
|
2890
|
-
var value = new proto.PurchaseRequisitionTrx;
|
|
2891
|
-
reader.readMessage(value,proto.PurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
2892
|
-
msg.setPurchaseRequisitionTransaction(value);
|
|
2893
|
-
break;
|
|
2894
|
-
case 2:
|
|
2895
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2896
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2897
|
-
msg.setMeta(value);
|
|
2898
|
-
break;
|
|
2899
|
-
default:
|
|
2900
|
-
reader.skipField();
|
|
2901
|
-
break;
|
|
2902
|
-
}
|
|
2903
|
-
}
|
|
2904
|
-
return msg;
|
|
2905
|
-
};
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
/**
|
|
2909
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2910
|
-
* @return {!Uint8Array}
|
|
2911
|
-
*/
|
|
2912
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.serializeBinary = function() {
|
|
2913
|
-
var writer = new jspb.BinaryWriter();
|
|
2914
|
-
proto.CreatePurchaseRequisitionTrxResponse.serializeBinaryToWriter(this, writer);
|
|
2915
|
-
return writer.getResultBuffer();
|
|
2916
|
-
};
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
/**
|
|
2920
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2921
|
-
* format), writing to the given BinaryWriter.
|
|
2922
|
-
* @param {!proto.CreatePurchaseRequisitionTrxResponse} message
|
|
2923
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2924
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2925
|
-
*/
|
|
2926
|
-
proto.CreatePurchaseRequisitionTrxResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2927
|
-
var f = undefined;
|
|
2928
|
-
f = message.getPurchaseRequisitionTransaction();
|
|
2929
|
-
if (f != null) {
|
|
2930
|
-
writer.writeMessage(
|
|
2931
|
-
1,
|
|
2932
|
-
f,
|
|
2933
|
-
proto.PurchaseRequisitionTrx.serializeBinaryToWriter
|
|
2934
|
-
);
|
|
2935
|
-
}
|
|
2936
|
-
f = message.getMeta();
|
|
2937
|
-
if (f != null) {
|
|
2938
|
-
writer.writeMessage(
|
|
2939
|
-
2,
|
|
2940
|
-
f,
|
|
2941
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2942
|
-
);
|
|
2943
|
-
}
|
|
2944
|
-
};
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
/**
|
|
2948
|
-
* optional PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
2949
|
-
* @return {?proto.PurchaseRequisitionTrx}
|
|
2950
|
-
*/
|
|
2951
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.getPurchaseRequisitionTransaction = function() {
|
|
2952
|
-
return /** @type{?proto.PurchaseRequisitionTrx} */ (
|
|
2953
|
-
jspb.Message.getWrapperField(this, proto.PurchaseRequisitionTrx, 1));
|
|
2954
|
-
};
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
/**
|
|
2958
|
-
* @param {?proto.PurchaseRequisitionTrx|undefined} value
|
|
2959
|
-
* @return {!proto.CreatePurchaseRequisitionTrxResponse} returns this
|
|
2960
|
-
*/
|
|
2961
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.setPurchaseRequisitionTransaction = function(value) {
|
|
2962
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2963
|
-
};
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
/**
|
|
2967
|
-
* Clears the message field making it undefined.
|
|
2968
|
-
* @return {!proto.CreatePurchaseRequisitionTrxResponse} returns this
|
|
2969
|
-
*/
|
|
2970
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.clearPurchaseRequisitionTransaction = function() {
|
|
2971
|
-
return this.setPurchaseRequisitionTransaction(undefined);
|
|
2972
|
-
};
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
/**
|
|
2976
|
-
* Returns whether this field is set.
|
|
2977
|
-
* @return {boolean}
|
|
2978
|
-
*/
|
|
2979
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.hasPurchaseRequisitionTransaction = function() {
|
|
2980
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2981
|
-
};
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
/**
|
|
2985
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2986
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2987
|
-
*/
|
|
2988
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.getMeta = function() {
|
|
2989
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2990
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2991
|
-
};
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
/**
|
|
2995
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2996
|
-
* @return {!proto.CreatePurchaseRequisitionTrxResponse} returns this
|
|
2997
|
-
*/
|
|
2998
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.setMeta = function(value) {
|
|
2999
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3000
|
-
};
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
/**
|
|
3004
|
-
* Clears the message field making it undefined.
|
|
3005
|
-
* @return {!proto.CreatePurchaseRequisitionTrxResponse} returns this
|
|
3006
|
-
*/
|
|
3007
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.clearMeta = function() {
|
|
3008
|
-
return this.setMeta(undefined);
|
|
3009
|
-
};
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
/**
|
|
3013
|
-
* Returns whether this field is set.
|
|
3014
|
-
* @return {boolean}
|
|
3015
|
-
*/
|
|
3016
|
-
proto.CreatePurchaseRequisitionTrxResponse.prototype.hasMeta = function() {
|
|
3017
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3018
|
-
};
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3025
|
-
/**
|
|
3026
|
-
* Creates an object representation of this proto.
|
|
3027
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3028
|
-
* Optional fields that are not set will be set to undefined.
|
|
3029
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3030
|
-
* For the list of reserved names please see:
|
|
3031
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3032
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3033
|
-
* JSPB instance for transitional soy proto support:
|
|
3034
|
-
* http://goto/soy-param-migration
|
|
3035
|
-
* @return {!Object}
|
|
3036
|
-
*/
|
|
3037
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3038
|
-
return proto.UpdatePurchaseRequisitionTrxResponse.toObject(opt_includeInstance, this);
|
|
3039
|
-
};
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
/**
|
|
3043
|
-
* Static version of the {@see toObject} method.
|
|
3044
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3045
|
-
* the JSPB instance for transitional soy proto support:
|
|
3046
|
-
* http://goto/soy-param-migration
|
|
3047
|
-
* @param {!proto.UpdatePurchaseRequisitionTrxResponse} msg The msg instance to transform.
|
|
3048
|
-
* @return {!Object}
|
|
3049
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3050
|
-
*/
|
|
3051
|
-
proto.UpdatePurchaseRequisitionTrxResponse.toObject = function(includeInstance, msg) {
|
|
3052
|
-
var f, obj = {
|
|
3053
|
-
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.PurchaseRequisitionTrx.toObject(includeInstance, f),
|
|
3054
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3055
|
-
};
|
|
3056
|
-
|
|
3057
|
-
if (includeInstance) {
|
|
3058
|
-
obj.$jspbMessageInstance = msg;
|
|
3059
|
-
}
|
|
3060
|
-
return obj;
|
|
3061
|
-
};
|
|
3062
|
-
}
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
/**
|
|
3066
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3067
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3068
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxResponse}
|
|
3069
|
-
*/
|
|
3070
|
-
proto.UpdatePurchaseRequisitionTrxResponse.deserializeBinary = function(bytes) {
|
|
3071
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3072
|
-
var msg = new proto.UpdatePurchaseRequisitionTrxResponse;
|
|
3073
|
-
return proto.UpdatePurchaseRequisitionTrxResponse.deserializeBinaryFromReader(msg, reader);
|
|
3074
|
-
};
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
/**
|
|
3078
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3079
|
-
* given reader into the given message object.
|
|
3080
|
-
* @param {!proto.UpdatePurchaseRequisitionTrxResponse} msg The message object to deserialize into.
|
|
3081
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3082
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxResponse}
|
|
3083
|
-
*/
|
|
3084
|
-
proto.UpdatePurchaseRequisitionTrxResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3085
|
-
while (reader.nextField()) {
|
|
3086
|
-
if (reader.isEndGroup()) {
|
|
3087
|
-
break;
|
|
3088
|
-
}
|
|
3089
|
-
var field = reader.getFieldNumber();
|
|
3090
|
-
switch (field) {
|
|
3091
|
-
case 1:
|
|
3092
|
-
var value = new proto.PurchaseRequisitionTrx;
|
|
3093
|
-
reader.readMessage(value,proto.PurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
3094
|
-
msg.setPurchaseRequisitionTransaction(value);
|
|
3095
|
-
break;
|
|
3096
|
-
case 2:
|
|
3097
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3098
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3099
|
-
msg.setMeta(value);
|
|
3100
|
-
break;
|
|
3101
|
-
default:
|
|
3102
|
-
reader.skipField();
|
|
3103
|
-
break;
|
|
3104
|
-
}
|
|
3105
|
-
}
|
|
3106
|
-
return msg;
|
|
3107
|
-
};
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
/**
|
|
3111
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3112
|
-
* @return {!Uint8Array}
|
|
3113
|
-
*/
|
|
3114
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.serializeBinary = function() {
|
|
3115
|
-
var writer = new jspb.BinaryWriter();
|
|
3116
|
-
proto.UpdatePurchaseRequisitionTrxResponse.serializeBinaryToWriter(this, writer);
|
|
3117
|
-
return writer.getResultBuffer();
|
|
3118
|
-
};
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
/**
|
|
3122
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3123
|
-
* format), writing to the given BinaryWriter.
|
|
3124
|
-
* @param {!proto.UpdatePurchaseRequisitionTrxResponse} message
|
|
3125
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3126
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3127
|
-
*/
|
|
3128
|
-
proto.UpdatePurchaseRequisitionTrxResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3129
|
-
var f = undefined;
|
|
3130
|
-
f = message.getPurchaseRequisitionTransaction();
|
|
3131
|
-
if (f != null) {
|
|
3132
|
-
writer.writeMessage(
|
|
3133
|
-
1,
|
|
3134
|
-
f,
|
|
3135
|
-
proto.PurchaseRequisitionTrx.serializeBinaryToWriter
|
|
3136
|
-
);
|
|
3137
|
-
}
|
|
3138
|
-
f = message.getMeta();
|
|
3139
|
-
if (f != null) {
|
|
3140
|
-
writer.writeMessage(
|
|
3141
|
-
2,
|
|
3142
|
-
f,
|
|
3143
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3144
|
-
);
|
|
3145
|
-
}
|
|
3146
|
-
};
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
/**
|
|
3150
|
-
* optional PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
3151
|
-
* @return {?proto.PurchaseRequisitionTrx}
|
|
3152
|
-
*/
|
|
3153
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.getPurchaseRequisitionTransaction = function() {
|
|
3154
|
-
return /** @type{?proto.PurchaseRequisitionTrx} */ (
|
|
3155
|
-
jspb.Message.getWrapperField(this, proto.PurchaseRequisitionTrx, 1));
|
|
3156
|
-
};
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
/**
|
|
3160
|
-
* @param {?proto.PurchaseRequisitionTrx|undefined} value
|
|
3161
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxResponse} returns this
|
|
3162
|
-
*/
|
|
3163
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.setPurchaseRequisitionTransaction = function(value) {
|
|
3164
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
3165
|
-
};
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
/**
|
|
3169
|
-
* Clears the message field making it undefined.
|
|
3170
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxResponse} returns this
|
|
3171
|
-
*/
|
|
3172
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.clearPurchaseRequisitionTransaction = function() {
|
|
3173
|
-
return this.setPurchaseRequisitionTransaction(undefined);
|
|
3174
|
-
};
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
/**
|
|
3178
|
-
* Returns whether this field is set.
|
|
3179
|
-
* @return {boolean}
|
|
3180
|
-
*/
|
|
3181
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.hasPurchaseRequisitionTransaction = function() {
|
|
3182
|
-
return jspb.Message.getField(this, 1) != null;
|
|
3183
|
-
};
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
/**
|
|
3187
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3188
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3189
|
-
*/
|
|
3190
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.getMeta = function() {
|
|
3191
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3192
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3193
|
-
};
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
/**
|
|
3197
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3198
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxResponse} returns this
|
|
3199
|
-
*/
|
|
3200
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.setMeta = function(value) {
|
|
3201
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3202
|
-
};
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
/**
|
|
3206
|
-
* Clears the message field making it undefined.
|
|
3207
|
-
* @return {!proto.UpdatePurchaseRequisitionTrxResponse} returns this
|
|
3208
|
-
*/
|
|
3209
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.clearMeta = function() {
|
|
3210
|
-
return this.setMeta(undefined);
|
|
3211
|
-
};
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
/**
|
|
3215
|
-
* Returns whether this field is set.
|
|
3216
|
-
* @return {boolean}
|
|
3217
|
-
*/
|
|
3218
|
-
proto.UpdatePurchaseRequisitionTrxResponse.prototype.hasMeta = function() {
|
|
3219
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3220
|
-
};
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3227
|
-
/**
|
|
3228
|
-
* Creates an object representation of this proto.
|
|
3229
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3230
|
-
* Optional fields that are not set will be set to undefined.
|
|
3231
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3232
|
-
* For the list of reserved names please see:
|
|
3233
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3234
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3235
|
-
* JSPB instance for transitional soy proto support:
|
|
3236
|
-
* http://goto/soy-param-migration
|
|
3237
|
-
* @return {!Object}
|
|
3238
|
-
*/
|
|
3239
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3240
|
-
return proto.GetPurchaseRequisitionTrxByIdResponse.toObject(opt_includeInstance, this);
|
|
3241
|
-
};
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
/**
|
|
3245
|
-
* Static version of the {@see toObject} method.
|
|
3246
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3247
|
-
* the JSPB instance for transitional soy proto support:
|
|
3248
|
-
* http://goto/soy-param-migration
|
|
3249
|
-
* @param {!proto.GetPurchaseRequisitionTrxByIdResponse} msg The msg instance to transform.
|
|
3250
|
-
* @return {!Object}
|
|
3251
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3252
|
-
*/
|
|
3253
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.toObject = function(includeInstance, msg) {
|
|
3254
|
-
var f, obj = {
|
|
3255
|
-
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.PurchaseRequisitionTrx.toObject(includeInstance, f),
|
|
3256
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3257
|
-
};
|
|
3258
|
-
|
|
3259
|
-
if (includeInstance) {
|
|
3260
|
-
obj.$jspbMessageInstance = msg;
|
|
3261
|
-
}
|
|
3262
|
-
return obj;
|
|
3263
|
-
};
|
|
3264
|
-
}
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
/**
|
|
3268
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3269
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3270
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdResponse}
|
|
3271
|
-
*/
|
|
3272
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.deserializeBinary = function(bytes) {
|
|
3273
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3274
|
-
var msg = new proto.GetPurchaseRequisitionTrxByIdResponse;
|
|
3275
|
-
return proto.GetPurchaseRequisitionTrxByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
3276
|
-
};
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
/**
|
|
3280
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3281
|
-
* given reader into the given message object.
|
|
3282
|
-
* @param {!proto.GetPurchaseRequisitionTrxByIdResponse} msg The message object to deserialize into.
|
|
3283
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3284
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdResponse}
|
|
3285
|
-
*/
|
|
3286
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3287
|
-
while (reader.nextField()) {
|
|
3288
|
-
if (reader.isEndGroup()) {
|
|
3289
|
-
break;
|
|
3290
|
-
}
|
|
3291
|
-
var field = reader.getFieldNumber();
|
|
3292
|
-
switch (field) {
|
|
3293
|
-
case 1:
|
|
3294
|
-
var value = new proto.PurchaseRequisitionTrx;
|
|
3295
|
-
reader.readMessage(value,proto.PurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
3296
|
-
msg.setPurchaseRequisitionTransaction(value);
|
|
3297
|
-
break;
|
|
3298
|
-
case 2:
|
|
3299
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3300
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3301
|
-
msg.setMeta(value);
|
|
3302
|
-
break;
|
|
3303
|
-
default:
|
|
3304
|
-
reader.skipField();
|
|
3305
|
-
break;
|
|
3306
|
-
}
|
|
3307
|
-
}
|
|
3308
|
-
return msg;
|
|
3309
|
-
};
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
/**
|
|
3313
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3314
|
-
* @return {!Uint8Array}
|
|
3315
|
-
*/
|
|
3316
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.serializeBinary = function() {
|
|
3317
|
-
var writer = new jspb.BinaryWriter();
|
|
3318
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.serializeBinaryToWriter(this, writer);
|
|
3319
|
-
return writer.getResultBuffer();
|
|
3320
|
-
};
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
/**
|
|
3324
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3325
|
-
* format), writing to the given BinaryWriter.
|
|
3326
|
-
* @param {!proto.GetPurchaseRequisitionTrxByIdResponse} message
|
|
3327
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3328
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3329
|
-
*/
|
|
3330
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3331
|
-
var f = undefined;
|
|
3332
|
-
f = message.getPurchaseRequisitionTransaction();
|
|
3333
|
-
if (f != null) {
|
|
3334
|
-
writer.writeMessage(
|
|
3335
|
-
1,
|
|
3336
|
-
f,
|
|
3337
|
-
proto.PurchaseRequisitionTrx.serializeBinaryToWriter
|
|
3338
|
-
);
|
|
3339
|
-
}
|
|
3340
|
-
f = message.getMeta();
|
|
3341
|
-
if (f != null) {
|
|
3342
|
-
writer.writeMessage(
|
|
3343
|
-
2,
|
|
3344
|
-
f,
|
|
3345
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3346
|
-
);
|
|
3347
|
-
}
|
|
3348
|
-
};
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
/**
|
|
3352
|
-
* optional PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
3353
|
-
* @return {?proto.PurchaseRequisitionTrx}
|
|
3354
|
-
*/
|
|
3355
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.getPurchaseRequisitionTransaction = function() {
|
|
3356
|
-
return /** @type{?proto.PurchaseRequisitionTrx} */ (
|
|
3357
|
-
jspb.Message.getWrapperField(this, proto.PurchaseRequisitionTrx, 1));
|
|
3358
|
-
};
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
/**
|
|
3362
|
-
* @param {?proto.PurchaseRequisitionTrx|undefined} value
|
|
3363
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdResponse} returns this
|
|
3364
|
-
*/
|
|
3365
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.setPurchaseRequisitionTransaction = function(value) {
|
|
3366
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
3367
|
-
};
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
/**
|
|
3371
|
-
* Clears the message field making it undefined.
|
|
3372
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdResponse} returns this
|
|
3373
|
-
*/
|
|
3374
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.clearPurchaseRequisitionTransaction = function() {
|
|
3375
|
-
return this.setPurchaseRequisitionTransaction(undefined);
|
|
3376
|
-
};
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
/**
|
|
3380
|
-
* Returns whether this field is set.
|
|
3381
|
-
* @return {boolean}
|
|
3382
|
-
*/
|
|
3383
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.hasPurchaseRequisitionTransaction = function() {
|
|
3384
|
-
return jspb.Message.getField(this, 1) != null;
|
|
3385
|
-
};
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
/**
|
|
3389
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3390
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3391
|
-
*/
|
|
3392
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.getMeta = function() {
|
|
3393
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3394
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3395
|
-
};
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
/**
|
|
3399
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3400
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdResponse} returns this
|
|
3401
|
-
*/
|
|
3402
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.setMeta = function(value) {
|
|
3403
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3404
|
-
};
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
/**
|
|
3408
|
-
* Clears the message field making it undefined.
|
|
3409
|
-
* @return {!proto.GetPurchaseRequisitionTrxByIdResponse} returns this
|
|
3410
|
-
*/
|
|
3411
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.clearMeta = function() {
|
|
3412
|
-
return this.setMeta(undefined);
|
|
3413
|
-
};
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
/**
|
|
3417
|
-
* Returns whether this field is set.
|
|
3418
|
-
* @return {boolean}
|
|
3419
|
-
*/
|
|
3420
|
-
proto.GetPurchaseRequisitionTrxByIdResponse.prototype.hasMeta = function() {
|
|
3421
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3422
|
-
};
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
/**
|
|
3427
|
-
* List of repeated fields within this message type.
|
|
3428
|
-
* @private {!Array<number>}
|
|
3429
|
-
* @const
|
|
3430
|
-
*/
|
|
3431
|
-
proto.GetPurchaseRequisitionTrxListResponse.repeatedFields_ = [1];
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3436
|
-
/**
|
|
3437
|
-
* Creates an object representation of this proto.
|
|
3438
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3439
|
-
* Optional fields that are not set will be set to undefined.
|
|
3440
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3441
|
-
* For the list of reserved names please see:
|
|
3442
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3443
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3444
|
-
* JSPB instance for transitional soy proto support:
|
|
3445
|
-
* http://goto/soy-param-migration
|
|
3446
|
-
* @return {!Object}
|
|
3447
|
-
*/
|
|
3448
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3449
|
-
return proto.GetPurchaseRequisitionTrxListResponse.toObject(opt_includeInstance, this);
|
|
3450
|
-
};
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
/**
|
|
3454
|
-
* Static version of the {@see toObject} method.
|
|
3455
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3456
|
-
* the JSPB instance for transitional soy proto support:
|
|
3457
|
-
* http://goto/soy-param-migration
|
|
3458
|
-
* @param {!proto.GetPurchaseRequisitionTrxListResponse} msg The msg instance to transform.
|
|
3459
|
-
* @return {!Object}
|
|
3460
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3461
|
-
*/
|
|
3462
|
-
proto.GetPurchaseRequisitionTrxListResponse.toObject = function(includeInstance, msg) {
|
|
3463
|
-
var f, obj = {
|
|
3464
|
-
purchaseRequisitionTransactionList: jspb.Message.toObjectList(msg.getPurchaseRequisitionTransactionList(),
|
|
3465
|
-
proto.PurchaseRequisitionTrx.toObject, includeInstance),
|
|
3466
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3467
|
-
};
|
|
3468
|
-
|
|
3469
|
-
if (includeInstance) {
|
|
3470
|
-
obj.$jspbMessageInstance = msg;
|
|
3471
|
-
}
|
|
3472
|
-
return obj;
|
|
3473
|
-
};
|
|
3474
|
-
}
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
/**
|
|
3478
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3479
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3480
|
-
* @return {!proto.GetPurchaseRequisitionTrxListResponse}
|
|
3481
|
-
*/
|
|
3482
|
-
proto.GetPurchaseRequisitionTrxListResponse.deserializeBinary = function(bytes) {
|
|
3483
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3484
|
-
var msg = new proto.GetPurchaseRequisitionTrxListResponse;
|
|
3485
|
-
return proto.GetPurchaseRequisitionTrxListResponse.deserializeBinaryFromReader(msg, reader);
|
|
3486
|
-
};
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
/**
|
|
3490
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3491
|
-
* given reader into the given message object.
|
|
3492
|
-
* @param {!proto.GetPurchaseRequisitionTrxListResponse} msg The message object to deserialize into.
|
|
3493
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3494
|
-
* @return {!proto.GetPurchaseRequisitionTrxListResponse}
|
|
3495
|
-
*/
|
|
3496
|
-
proto.GetPurchaseRequisitionTrxListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3497
|
-
while (reader.nextField()) {
|
|
3498
|
-
if (reader.isEndGroup()) {
|
|
3499
|
-
break;
|
|
3500
|
-
}
|
|
3501
|
-
var field = reader.getFieldNumber();
|
|
3502
|
-
switch (field) {
|
|
3503
|
-
case 1:
|
|
3504
|
-
var value = new proto.PurchaseRequisitionTrx;
|
|
3505
|
-
reader.readMessage(value,proto.PurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
3506
|
-
msg.addPurchaseRequisitionTransaction(value);
|
|
3507
|
-
break;
|
|
3508
|
-
case 2:
|
|
3509
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3510
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3511
|
-
msg.setMeta(value);
|
|
3512
|
-
break;
|
|
3513
|
-
default:
|
|
3514
|
-
reader.skipField();
|
|
3515
|
-
break;
|
|
3516
|
-
}
|
|
3517
|
-
}
|
|
3518
|
-
return msg;
|
|
3519
|
-
};
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
/**
|
|
3523
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3524
|
-
* @return {!Uint8Array}
|
|
3525
|
-
*/
|
|
3526
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.serializeBinary = function() {
|
|
3527
|
-
var writer = new jspb.BinaryWriter();
|
|
3528
|
-
proto.GetPurchaseRequisitionTrxListResponse.serializeBinaryToWriter(this, writer);
|
|
3529
|
-
return writer.getResultBuffer();
|
|
3530
|
-
};
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
/**
|
|
3534
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3535
|
-
* format), writing to the given BinaryWriter.
|
|
3536
|
-
* @param {!proto.GetPurchaseRequisitionTrxListResponse} message
|
|
3537
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3538
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3539
|
-
*/
|
|
3540
|
-
proto.GetPurchaseRequisitionTrxListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3541
|
-
var f = undefined;
|
|
3542
|
-
f = message.getPurchaseRequisitionTransactionList();
|
|
3543
|
-
if (f.length > 0) {
|
|
3544
|
-
writer.writeRepeatedMessage(
|
|
3545
|
-
1,
|
|
3546
|
-
f,
|
|
3547
|
-
proto.PurchaseRequisitionTrx.serializeBinaryToWriter
|
|
3548
|
-
);
|
|
3549
|
-
}
|
|
3550
|
-
f = message.getMeta();
|
|
3551
|
-
if (f != null) {
|
|
3552
|
-
writer.writeMessage(
|
|
3553
|
-
2,
|
|
3554
|
-
f,
|
|
3555
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3556
|
-
);
|
|
3557
|
-
}
|
|
3558
|
-
};
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
/**
|
|
3562
|
-
* repeated PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
3563
|
-
* @return {!Array<!proto.PurchaseRequisitionTrx>}
|
|
3564
|
-
*/
|
|
3565
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.getPurchaseRequisitionTransactionList = function() {
|
|
3566
|
-
return /** @type{!Array<!proto.PurchaseRequisitionTrx>} */ (
|
|
3567
|
-
jspb.Message.getRepeatedWrapperField(this, proto.PurchaseRequisitionTrx, 1));
|
|
3568
|
-
};
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
/**
|
|
3572
|
-
* @param {!Array<!proto.PurchaseRequisitionTrx>} value
|
|
3573
|
-
* @return {!proto.GetPurchaseRequisitionTrxListResponse} returns this
|
|
3574
|
-
*/
|
|
3575
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.setPurchaseRequisitionTransactionList = function(value) {
|
|
3576
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3577
|
-
};
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
/**
|
|
3581
|
-
* @param {!proto.PurchaseRequisitionTrx=} opt_value
|
|
3582
|
-
* @param {number=} opt_index
|
|
3583
|
-
* @return {!proto.PurchaseRequisitionTrx}
|
|
3584
|
-
*/
|
|
3585
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.addPurchaseRequisitionTransaction = function(opt_value, opt_index) {
|
|
3586
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PurchaseRequisitionTrx, opt_index);
|
|
3587
|
-
};
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
/**
|
|
3591
|
-
* Clears the list making it empty but non-null.
|
|
3592
|
-
* @return {!proto.GetPurchaseRequisitionTrxListResponse} returns this
|
|
3593
|
-
*/
|
|
3594
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.clearPurchaseRequisitionTransactionList = function() {
|
|
3595
|
-
return this.setPurchaseRequisitionTransactionList([]);
|
|
3596
|
-
};
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
/**
|
|
3600
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3601
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3602
|
-
*/
|
|
3603
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.getMeta = function() {
|
|
3604
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3605
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3606
|
-
};
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
/**
|
|
3610
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3611
|
-
* @return {!proto.GetPurchaseRequisitionTrxListResponse} returns this
|
|
3612
|
-
*/
|
|
3613
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.setMeta = function(value) {
|
|
3614
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3615
|
-
};
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
/**
|
|
3619
|
-
* Clears the message field making it undefined.
|
|
3620
|
-
* @return {!proto.GetPurchaseRequisitionTrxListResponse} returns this
|
|
3621
|
-
*/
|
|
3622
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.clearMeta = function() {
|
|
3623
|
-
return this.setMeta(undefined);
|
|
3624
|
-
};
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
/**
|
|
3628
|
-
* Returns whether this field is set.
|
|
3629
|
-
* @return {boolean}
|
|
3630
|
-
*/
|
|
3631
|
-
proto.GetPurchaseRequisitionTrxListResponse.prototype.hasMeta = function() {
|
|
3632
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3633
|
-
};
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
/**
|
|
3638
|
-
* List of repeated fields within this message type.
|
|
3639
|
-
* @private {!Array<number>}
|
|
3640
|
-
* @const
|
|
3641
|
-
*/
|
|
3642
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.repeatedFields_ = [3];
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3647
|
-
/**
|
|
3648
|
-
* Creates an object representation of this proto.
|
|
3649
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3650
|
-
* Optional fields that are not set will be set to undefined.
|
|
3651
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3652
|
-
* For the list of reserved names please see:
|
|
3653
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3654
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3655
|
-
* JSPB instance for transitional soy proto support:
|
|
3656
|
-
* http://goto/soy-param-migration
|
|
3657
|
-
* @return {!Object}
|
|
3658
|
-
*/
|
|
3659
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3660
|
-
return proto.GetPurchaseRequisitionTrxDetailByIdResponse.toObject(opt_includeInstance, this);
|
|
3661
|
-
};
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
/**
|
|
3665
|
-
* Static version of the {@see toObject} method.
|
|
3666
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3667
|
-
* the JSPB instance for transitional soy proto support:
|
|
3668
|
-
* http://goto/soy-param-migration
|
|
3669
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} msg The msg instance to transform.
|
|
3670
|
-
* @return {!Object}
|
|
3671
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3672
|
-
*/
|
|
3673
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.toObject = function(includeInstance, msg) {
|
|
3674
|
-
var f, obj = {
|
|
3675
|
-
dataList: jspb.Message.toObjectList(msg.getDataList(),
|
|
3676
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
|
|
3677
|
-
};
|
|
3678
|
-
|
|
3679
|
-
if (includeInstance) {
|
|
3680
|
-
obj.$jspbMessageInstance = msg;
|
|
3681
|
-
}
|
|
3682
|
-
return obj;
|
|
3683
|
-
};
|
|
3684
|
-
}
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
/**
|
|
3688
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3689
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3690
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdResponse}
|
|
3691
|
-
*/
|
|
3692
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.deserializeBinary = function(bytes) {
|
|
3693
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3694
|
-
var msg = new proto.GetPurchaseRequisitionTrxDetailByIdResponse;
|
|
3695
|
-
return proto.GetPurchaseRequisitionTrxDetailByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
3696
|
-
};
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
/**
|
|
3700
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3701
|
-
* given reader into the given message object.
|
|
3702
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} msg The message object to deserialize into.
|
|
3703
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3704
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdResponse}
|
|
3705
|
-
*/
|
|
3706
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3707
|
-
while (reader.nextField()) {
|
|
3708
|
-
if (reader.isEndGroup()) {
|
|
3709
|
-
break;
|
|
3710
|
-
}
|
|
3711
|
-
var field = reader.getFieldNumber();
|
|
3712
|
-
switch (field) {
|
|
3713
|
-
case 3:
|
|
3714
|
-
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
|
|
3715
|
-
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
|
|
3716
|
-
msg.addData(value);
|
|
3717
|
-
break;
|
|
3718
|
-
default:
|
|
3719
|
-
reader.skipField();
|
|
3720
|
-
break;
|
|
3721
|
-
}
|
|
3722
|
-
}
|
|
3723
|
-
return msg;
|
|
3724
|
-
};
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
/**
|
|
3728
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3729
|
-
* @return {!Uint8Array}
|
|
3730
|
-
*/
|
|
3731
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.serializeBinary = function() {
|
|
3732
|
-
var writer = new jspb.BinaryWriter();
|
|
3733
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.serializeBinaryToWriter(this, writer);
|
|
3734
|
-
return writer.getResultBuffer();
|
|
3735
|
-
};
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
/**
|
|
3739
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3740
|
-
* format), writing to the given BinaryWriter.
|
|
3741
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} message
|
|
3742
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3743
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3744
|
-
*/
|
|
3745
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3746
|
-
var f = undefined;
|
|
3747
|
-
f = message.getDataList();
|
|
3748
|
-
if (f.length > 0) {
|
|
3749
|
-
writer.writeRepeatedMessage(
|
|
3750
|
-
3,
|
|
3751
|
-
f,
|
|
3752
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
|
|
3753
|
-
);
|
|
3754
|
-
}
|
|
3755
|
-
};
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
/**
|
|
3759
|
-
* repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail data = 3;
|
|
3760
|
-
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
|
|
3761
|
-
*/
|
|
3762
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.getDataList = function() {
|
|
3763
|
-
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
|
|
3764
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 3));
|
|
3765
|
-
};
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
/**
|
|
3769
|
-
* @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
|
|
3770
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} returns this
|
|
3771
|
-
*/
|
|
3772
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.setDataList = function(value) {
|
|
3773
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
3774
|
-
};
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
/**
|
|
3778
|
-
* @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
|
|
3779
|
-
* @param {number=} opt_index
|
|
3780
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
|
|
3781
|
-
*/
|
|
3782
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.addData = function(opt_value, opt_index) {
|
|
3783
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
|
|
3784
|
-
};
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
/**
|
|
3788
|
-
* Clears the list making it empty but non-null.
|
|
3789
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} returns this
|
|
3790
|
-
*/
|
|
3791
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.clearDataList = function() {
|
|
3792
|
-
return this.setDataList([]);
|
|
3793
|
-
};
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
/**
|
|
3798
|
-
* List of repeated fields within this message type.
|
|
3799
|
-
* @private {!Array<number>}
|
|
3800
|
-
* @const
|
|
3801
|
-
*/
|
|
3802
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.repeatedFields_ = [1];
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3807
|
-
/**
|
|
3808
|
-
* Creates an object representation of this proto.
|
|
3809
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3810
|
-
* Optional fields that are not set will be set to undefined.
|
|
3811
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3812
|
-
* For the list of reserved names please see:
|
|
3813
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3814
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3815
|
-
* JSPB instance for transitional soy proto support:
|
|
3816
|
-
* http://goto/soy-param-migration
|
|
3817
|
-
* @return {!Object}
|
|
3818
|
-
*/
|
|
3819
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3820
|
-
return proto.GetPurchaseRequisitionTrxDetailListResponse.toObject(opt_includeInstance, this);
|
|
3821
|
-
};
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
/**
|
|
3825
|
-
* Static version of the {@see toObject} method.
|
|
3826
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3827
|
-
* the JSPB instance for transitional soy proto support:
|
|
3828
|
-
* http://goto/soy-param-migration
|
|
3829
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListResponse} msg The msg instance to transform.
|
|
3830
|
-
* @return {!Object}
|
|
3831
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3832
|
-
*/
|
|
3833
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.toObject = function(includeInstance, msg) {
|
|
3834
|
-
var f, obj = {
|
|
3835
|
-
dataList: jspb.Message.toObjectList(msg.getDataList(),
|
|
3836
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetails.toObject, includeInstance),
|
|
3837
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3838
|
-
};
|
|
3839
|
-
|
|
3840
|
-
if (includeInstance) {
|
|
3841
|
-
obj.$jspbMessageInstance = msg;
|
|
3842
|
-
}
|
|
3843
|
-
return obj;
|
|
3844
|
-
};
|
|
3845
|
-
}
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
/**
|
|
3849
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3850
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3851
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListResponse}
|
|
3852
|
-
*/
|
|
3853
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.deserializeBinary = function(bytes) {
|
|
3854
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3855
|
-
var msg = new proto.GetPurchaseRequisitionTrxDetailListResponse;
|
|
3856
|
-
return proto.GetPurchaseRequisitionTrxDetailListResponse.deserializeBinaryFromReader(msg, reader);
|
|
3857
|
-
};
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
/**
|
|
3861
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3862
|
-
* given reader into the given message object.
|
|
3863
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListResponse} msg The message object to deserialize into.
|
|
3864
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3865
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListResponse}
|
|
3866
|
-
*/
|
|
3867
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3868
|
-
while (reader.nextField()) {
|
|
3869
|
-
if (reader.isEndGroup()) {
|
|
3870
|
-
break;
|
|
3871
|
-
}
|
|
3872
|
-
var field = reader.getFieldNumber();
|
|
3873
|
-
switch (field) {
|
|
3874
|
-
case 1:
|
|
3875
|
-
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetails;
|
|
3876
|
-
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetails.deserializeBinaryFromReader);
|
|
3877
|
-
msg.addData(value);
|
|
3878
|
-
break;
|
|
3879
|
-
case 2:
|
|
3880
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3881
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3882
|
-
msg.setMeta(value);
|
|
3883
|
-
break;
|
|
3884
|
-
default:
|
|
3885
|
-
reader.skipField();
|
|
3886
|
-
break;
|
|
3887
|
-
}
|
|
3888
|
-
}
|
|
3889
|
-
return msg;
|
|
3890
|
-
};
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
/**
|
|
3894
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3895
|
-
* @return {!Uint8Array}
|
|
3896
|
-
*/
|
|
3897
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.serializeBinary = function() {
|
|
3898
|
-
var writer = new jspb.BinaryWriter();
|
|
3899
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.serializeBinaryToWriter(this, writer);
|
|
3900
|
-
return writer.getResultBuffer();
|
|
3901
|
-
};
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
/**
|
|
3905
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3906
|
-
* format), writing to the given BinaryWriter.
|
|
3907
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListResponse} message
|
|
3908
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3909
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3910
|
-
*/
|
|
3911
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3912
|
-
var f = undefined;
|
|
3913
|
-
f = message.getDataList();
|
|
3914
|
-
if (f.length > 0) {
|
|
3915
|
-
writer.writeRepeatedMessage(
|
|
3916
|
-
1,
|
|
3917
|
-
f,
|
|
3918
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetails.serializeBinaryToWriter
|
|
3919
|
-
);
|
|
3920
|
-
}
|
|
3921
|
-
f = message.getMeta();
|
|
3922
|
-
if (f != null) {
|
|
3923
|
-
writer.writeMessage(
|
|
3924
|
-
2,
|
|
3925
|
-
f,
|
|
3926
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3927
|
-
);
|
|
3928
|
-
}
|
|
3929
|
-
};
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
/**
|
|
3933
|
-
* repeated prisca.v1.core.transaction_builder.TransactionBuilderWithDetails data = 1;
|
|
3934
|
-
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetails>}
|
|
3935
|
-
*/
|
|
3936
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.getDataList = function() {
|
|
3937
|
-
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetails>} */ (
|
|
3938
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetails, 1));
|
|
3939
|
-
};
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
/**
|
|
3943
|
-
* @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetails>} value
|
|
3944
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListResponse} returns this
|
|
3945
|
-
*/
|
|
3946
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.setDataList = function(value) {
|
|
3947
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3948
|
-
};
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
/**
|
|
3952
|
-
* @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetails=} opt_value
|
|
3953
|
-
* @param {number=} opt_index
|
|
3954
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetails}
|
|
3955
|
-
*/
|
|
3956
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.addData = function(opt_value, opt_index) {
|
|
3957
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetails, opt_index);
|
|
3958
|
-
};
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
/**
|
|
3962
|
-
* Clears the list making it empty but non-null.
|
|
3963
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListResponse} returns this
|
|
3964
|
-
*/
|
|
3965
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.clearDataList = function() {
|
|
3966
|
-
return this.setDataList([]);
|
|
3967
|
-
};
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
/**
|
|
3971
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3972
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3973
|
-
*/
|
|
3974
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.getMeta = function() {
|
|
3975
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3976
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3977
|
-
};
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
/**
|
|
3981
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3982
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListResponse} returns this
|
|
3983
|
-
*/
|
|
3984
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.setMeta = function(value) {
|
|
3985
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3986
|
-
};
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
/**
|
|
3990
|
-
* Clears the message field making it undefined.
|
|
3991
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListResponse} returns this
|
|
3992
|
-
*/
|
|
3993
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.clearMeta = function() {
|
|
3994
|
-
return this.setMeta(undefined);
|
|
3995
|
-
};
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
/**
|
|
3999
|
-
* Returns whether this field is set.
|
|
4000
|
-
* @return {boolean}
|
|
4001
|
-
*/
|
|
4002
|
-
proto.GetPurchaseRequisitionTrxDetailListResponse.prototype.hasMeta = function() {
|
|
4003
|
-
return jspb.Message.getField(this, 2) != null;
|
|
4004
|
-
};
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
/**
|
|
4009
|
-
* List of repeated fields within this message type.
|
|
4010
|
-
* @private {!Array<number>}
|
|
4011
|
-
* @const
|
|
4012
|
-
*/
|
|
4013
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.repeatedFields_ = [1];
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4018
|
-
/**
|
|
4019
|
-
* Creates an object representation of this proto.
|
|
4020
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4021
|
-
* Optional fields that are not set will be set to undefined.
|
|
4022
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4023
|
-
* For the list of reserved names please see:
|
|
4024
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4025
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4026
|
-
* JSPB instance for transitional soy proto support:
|
|
4027
|
-
* http://goto/soy-param-migration
|
|
4028
|
-
* @return {!Object}
|
|
4029
|
-
*/
|
|
4030
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4031
|
-
return proto.GetPurchaseRequisitionTrxDetailListTableResponse.toObject(opt_includeInstance, this);
|
|
4032
|
-
};
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
/**
|
|
4036
|
-
* Static version of the {@see toObject} method.
|
|
4037
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4038
|
-
* the JSPB instance for transitional soy proto support:
|
|
4039
|
-
* http://goto/soy-param-migration
|
|
4040
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListTableResponse} msg The msg instance to transform.
|
|
4041
|
-
* @return {!Object}
|
|
4042
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4043
|
-
*/
|
|
4044
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.toObject = function(includeInstance, msg) {
|
|
4045
|
-
var f, obj = {
|
|
4046
|
-
dataList: jspb.Message.toObjectList(msg.getDataList(),
|
|
4047
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailTableRes.toObject, includeInstance),
|
|
4048
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
4049
|
-
};
|
|
4050
|
-
|
|
4051
|
-
if (includeInstance) {
|
|
4052
|
-
obj.$jspbMessageInstance = msg;
|
|
4053
|
-
}
|
|
4054
|
-
return obj;
|
|
4055
|
-
};
|
|
4056
|
-
}
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
/**
|
|
4060
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4061
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4062
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListTableResponse}
|
|
4063
|
-
*/
|
|
4064
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.deserializeBinary = function(bytes) {
|
|
4065
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4066
|
-
var msg = new proto.GetPurchaseRequisitionTrxDetailListTableResponse;
|
|
4067
|
-
return proto.GetPurchaseRequisitionTrxDetailListTableResponse.deserializeBinaryFromReader(msg, reader);
|
|
4068
|
-
};
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
/**
|
|
4072
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4073
|
-
* given reader into the given message object.
|
|
4074
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListTableResponse} msg The message object to deserialize into.
|
|
4075
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4076
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListTableResponse}
|
|
4077
|
-
*/
|
|
4078
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4079
|
-
while (reader.nextField()) {
|
|
4080
|
-
if (reader.isEndGroup()) {
|
|
4081
|
-
break;
|
|
4082
|
-
}
|
|
4083
|
-
var field = reader.getFieldNumber();
|
|
4084
|
-
switch (field) {
|
|
4085
|
-
case 1:
|
|
4086
|
-
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailTableRes;
|
|
4087
|
-
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailTableRes.deserializeBinaryFromReader);
|
|
4088
|
-
msg.addData(value);
|
|
4089
|
-
break;
|
|
4090
|
-
case 2:
|
|
4091
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4092
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4093
|
-
msg.setMeta(value);
|
|
4094
|
-
break;
|
|
4095
|
-
default:
|
|
4096
|
-
reader.skipField();
|
|
4097
|
-
break;
|
|
4098
|
-
}
|
|
4099
|
-
}
|
|
4100
|
-
return msg;
|
|
4101
|
-
};
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
/**
|
|
4105
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4106
|
-
* @return {!Uint8Array}
|
|
4107
|
-
*/
|
|
4108
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.serializeBinary = function() {
|
|
4109
|
-
var writer = new jspb.BinaryWriter();
|
|
4110
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.serializeBinaryToWriter(this, writer);
|
|
4111
|
-
return writer.getResultBuffer();
|
|
4112
|
-
};
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
/**
|
|
4116
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4117
|
-
* format), writing to the given BinaryWriter.
|
|
4118
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListTableResponse} message
|
|
4119
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4120
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4121
|
-
*/
|
|
4122
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4123
|
-
var f = undefined;
|
|
4124
|
-
f = message.getDataList();
|
|
4125
|
-
if (f.length > 0) {
|
|
4126
|
-
writer.writeRepeatedMessage(
|
|
4127
|
-
1,
|
|
4128
|
-
f,
|
|
4129
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailTableRes.serializeBinaryToWriter
|
|
4130
|
-
);
|
|
4131
|
-
}
|
|
4132
|
-
f = message.getMeta();
|
|
4133
|
-
if (f != null) {
|
|
4134
|
-
writer.writeMessage(
|
|
4135
|
-
2,
|
|
4136
|
-
f,
|
|
4137
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4138
|
-
);
|
|
4139
|
-
}
|
|
4140
|
-
};
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
/**
|
|
4144
|
-
* repeated prisca.v1.core.transaction_builder.TransactionBuilderWithDetailTableRes data = 1;
|
|
4145
|
-
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailTableRes>}
|
|
4146
|
-
*/
|
|
4147
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.getDataList = function() {
|
|
4148
|
-
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailTableRes>} */ (
|
|
4149
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailTableRes, 1));
|
|
4150
|
-
};
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
/**
|
|
4154
|
-
* @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailTableRes>} value
|
|
4155
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListTableResponse} returns this
|
|
4156
|
-
*/
|
|
4157
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.setDataList = function(value) {
|
|
4158
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4159
|
-
};
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
/**
|
|
4163
|
-
* @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailTableRes=} opt_value
|
|
4164
|
-
* @param {number=} opt_index
|
|
4165
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailTableRes}
|
|
4166
|
-
*/
|
|
4167
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.addData = function(opt_value, opt_index) {
|
|
4168
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailTableRes, opt_index);
|
|
4169
|
-
};
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
/**
|
|
4173
|
-
* Clears the list making it empty but non-null.
|
|
4174
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListTableResponse} returns this
|
|
4175
|
-
*/
|
|
4176
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.clearDataList = function() {
|
|
4177
|
-
return this.setDataList([]);
|
|
4178
|
-
};
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
/**
|
|
4182
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4183
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4184
|
-
*/
|
|
4185
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.getMeta = function() {
|
|
4186
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4187
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4188
|
-
};
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
/**
|
|
4192
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4193
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListTableResponse} returns this
|
|
4194
|
-
*/
|
|
4195
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.setMeta = function(value) {
|
|
4196
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
4197
|
-
};
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
/**
|
|
4201
|
-
* Clears the message field making it undefined.
|
|
4202
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListTableResponse} returns this
|
|
4203
|
-
*/
|
|
4204
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.clearMeta = function() {
|
|
4205
|
-
return this.setMeta(undefined);
|
|
4206
|
-
};
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
/**
|
|
4210
|
-
* Returns whether this field is set.
|
|
4211
|
-
* @return {boolean}
|
|
4212
|
-
*/
|
|
4213
|
-
proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.hasMeta = function() {
|
|
4214
|
-
return jspb.Message.getField(this, 2) != null;
|
|
4215
|
-
};
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
/**
|
|
4220
|
-
* List of repeated fields within this message type.
|
|
4221
|
-
* @private {!Array<number>}
|
|
4222
|
-
* @const
|
|
4223
|
-
*/
|
|
4224
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.repeatedFields_ = [1];
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4229
|
-
/**
|
|
4230
|
-
* Creates an object representation of this proto.
|
|
4231
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4232
|
-
* Optional fields that are not set will be set to undefined.
|
|
4233
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4234
|
-
* For the list of reserved names please see:
|
|
4235
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4236
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4237
|
-
* JSPB instance for transitional soy proto support:
|
|
4238
|
-
* http://goto/soy-param-migration
|
|
4239
|
-
* @return {!Object}
|
|
4240
|
-
*/
|
|
4241
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4242
|
-
return proto.GetPurchaseRequisitionTrxDetailListDetailResponse.toObject(opt_includeInstance, this);
|
|
4243
|
-
};
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
/**
|
|
4247
|
-
* Static version of the {@see toObject} method.
|
|
4248
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4249
|
-
* the JSPB instance for transitional soy proto support:
|
|
4250
|
-
* http://goto/soy-param-migration
|
|
4251
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} msg The msg instance to transform.
|
|
4252
|
-
* @return {!Object}
|
|
4253
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4254
|
-
*/
|
|
4255
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.toObject = function(includeInstance, msg) {
|
|
4256
|
-
var f, obj = {
|
|
4257
|
-
dataList: jspb.Message.toObjectList(msg.getDataList(),
|
|
4258
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes.toObject, includeInstance),
|
|
4259
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
4260
|
-
};
|
|
4261
|
-
|
|
4262
|
-
if (includeInstance) {
|
|
4263
|
-
obj.$jspbMessageInstance = msg;
|
|
4264
|
-
}
|
|
4265
|
-
return obj;
|
|
4266
|
-
};
|
|
4267
|
-
}
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
/**
|
|
4271
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4272
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4273
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse}
|
|
4274
|
-
*/
|
|
4275
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.deserializeBinary = function(bytes) {
|
|
4276
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4277
|
-
var msg = new proto.GetPurchaseRequisitionTrxDetailListDetailResponse;
|
|
4278
|
-
return proto.GetPurchaseRequisitionTrxDetailListDetailResponse.deserializeBinaryFromReader(msg, reader);
|
|
4279
|
-
};
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
/**
|
|
4283
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4284
|
-
* given reader into the given message object.
|
|
4285
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} msg The message object to deserialize into.
|
|
4286
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4287
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse}
|
|
4288
|
-
*/
|
|
4289
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4290
|
-
while (reader.nextField()) {
|
|
4291
|
-
if (reader.isEndGroup()) {
|
|
4292
|
-
break;
|
|
4293
|
-
}
|
|
4294
|
-
var field = reader.getFieldNumber();
|
|
4295
|
-
switch (field) {
|
|
4296
|
-
case 1:
|
|
4297
|
-
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes;
|
|
4298
|
-
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes.deserializeBinaryFromReader);
|
|
4299
|
-
msg.addData(value);
|
|
4300
|
-
break;
|
|
4301
|
-
case 2:
|
|
4302
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4303
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4304
|
-
msg.setMeta(value);
|
|
4305
|
-
break;
|
|
4306
|
-
default:
|
|
4307
|
-
reader.skipField();
|
|
4308
|
-
break;
|
|
4309
|
-
}
|
|
4310
|
-
}
|
|
4311
|
-
return msg;
|
|
4312
|
-
};
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
/**
|
|
4316
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4317
|
-
* @return {!Uint8Array}
|
|
4318
|
-
*/
|
|
4319
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.serializeBinary = function() {
|
|
4320
|
-
var writer = new jspb.BinaryWriter();
|
|
4321
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.serializeBinaryToWriter(this, writer);
|
|
4322
|
-
return writer.getResultBuffer();
|
|
4323
|
-
};
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
/**
|
|
4327
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4328
|
-
* format), writing to the given BinaryWriter.
|
|
4329
|
-
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} message
|
|
4330
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4331
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4332
|
-
*/
|
|
4333
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4334
|
-
var f = undefined;
|
|
4335
|
-
f = message.getDataList();
|
|
4336
|
-
if (f.length > 0) {
|
|
4337
|
-
writer.writeRepeatedMessage(
|
|
4338
|
-
1,
|
|
4339
|
-
f,
|
|
4340
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes.serializeBinaryToWriter
|
|
4341
|
-
);
|
|
4342
|
-
}
|
|
4343
|
-
f = message.getMeta();
|
|
4344
|
-
if (f != null) {
|
|
4345
|
-
writer.writeMessage(
|
|
4346
|
-
2,
|
|
4347
|
-
f,
|
|
4348
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4349
|
-
);
|
|
4350
|
-
}
|
|
4351
|
-
};
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
/**
|
|
4355
|
-
* repeated prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes data = 1;
|
|
4356
|
-
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>}
|
|
4357
|
-
*/
|
|
4358
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.getDataList = function() {
|
|
4359
|
-
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>} */ (
|
|
4360
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes, 1));
|
|
4361
|
-
};
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
/**
|
|
4365
|
-
* @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>} value
|
|
4366
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} returns this
|
|
4367
|
-
*/
|
|
4368
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.setDataList = function(value) {
|
|
4369
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4370
|
-
};
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
/**
|
|
4374
|
-
* @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes=} opt_value
|
|
4375
|
-
* @param {number=} opt_index
|
|
4376
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes}
|
|
4377
|
-
*/
|
|
4378
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.addData = function(opt_value, opt_index) {
|
|
4379
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes, opt_index);
|
|
4380
|
-
};
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
/**
|
|
4384
|
-
* Clears the list making it empty but non-null.
|
|
4385
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} returns this
|
|
4386
|
-
*/
|
|
4387
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.clearDataList = function() {
|
|
4388
|
-
return this.setDataList([]);
|
|
4389
|
-
};
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
/**
|
|
4393
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4394
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4395
|
-
*/
|
|
4396
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.getMeta = function() {
|
|
4397
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4398
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4399
|
-
};
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
/**
|
|
4403
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4404
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} returns this
|
|
4405
|
-
*/
|
|
4406
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.setMeta = function(value) {
|
|
4407
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
4408
|
-
};
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
/**
|
|
4412
|
-
* Clears the message field making it undefined.
|
|
4413
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} returns this
|
|
4414
|
-
*/
|
|
4415
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.clearMeta = function() {
|
|
4416
|
-
return this.setMeta(undefined);
|
|
4417
|
-
};
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
/**
|
|
4421
|
-
* Returns whether this field is set.
|
|
4422
|
-
* @return {boolean}
|
|
4423
|
-
*/
|
|
4424
|
-
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.hasMeta = function() {
|
|
4425
|
-
return jspb.Message.getField(this, 2) != null;
|
|
4426
|
-
};
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
goog.object.extend(exports, proto);
|