@aldiokta/protocgen 1.1.19 → 1.1.21
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/account_assignment/account_assignment_grpc_pb.js +199 -0
- package/prisca/v1/account_assignment/account_assignment_pb.js +2674 -0
- package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
- package/prisca/v1/account_group/account_group_pb.js +2937 -0
- package/prisca/v1/bidding/bidding_grpc_pb.js +229 -0
- package/prisca/v1/bidding/bidding_pb.js +6335 -0
- package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +199 -0
- package/prisca/v1/chart_of_account/chart_of_account_pb.js +2907 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +544 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +9383 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +423 -0
- package/prisca/v1/core/auth/auth_pb.js +4497 -0
- package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
- package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1531 -0
- package/prisca/v1/core/company/company_grpc_pb.js +178 -0
- package/prisca/v1/core/company/company_pb.js +3048 -0
- package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
- package/prisca/v1/core/currency/currency_pb.js +2522 -0
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
- package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +206 -0
- package/prisca/v1/core/employee/employee_pb.js +4283 -0
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +44 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +1052 -0
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +144 -0
- package/prisca/v1/core/incoterm/incoterm_pb.js +2497 -0
- package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +3910 -0
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +2605 -0
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
- package/prisca/v1/core/job_position/job_position_pb.js +3762 -0
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
- package/prisca/v1/core/job_title/job_title_pb.js +2958 -0
- package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +45 -0
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +1188 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +200 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +3191 -0
- package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
- package/prisca/v1/core/link_data_source/link_data_source_pb.js +2612 -0
- package/prisca/v1/core/location/location_grpc_pb.js +837 -0
- package/prisca/v1/core/location/location_pb.js +10879 -0
- package/prisca/v1/core/material/material_grpc_pb.js +182 -0
- package/prisca/v1/core/material/material_pb.js +4180 -0
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
- package/prisca/v1/core/material_group/material_group_pb.js +2776 -0
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +149 -0
- package/prisca/v1/core/material_type/material_type_pb.js +2697 -0
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
- package/prisca/v1/core/messaging/email_template_pb.js +2552 -0
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +56 -0
- package/prisca/v1/core/messaging/messaging_pb.js +896 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +178 -0
- package/prisca/v1/core/number_range/number_range_pb.js +2926 -0
- package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
- package/prisca/v1/core/organization/organization_pb.js +3032 -0
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
- package/prisca/v1/core/organization_level/organization_level_pb.js +2545 -0
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +146 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +2654 -0
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
- package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
- package/prisca/v1/core/report/report_grpc_pb.js +200 -0
- package/prisca/v1/core/report/report_pb.js +2822 -0
- package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
- package/prisca/v1/core/report/user_report_pb.js +2452 -0
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
- package/prisca/v1/core/tax_code/tax_code_pb.js +2582 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +144 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2105 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +498 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +10976 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2798 -0
- package/prisca/v1/core/users/users_grpc_pb.js +45 -0
- package/prisca/v1/core/users/users_pb.js +1246 -0
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
- package/prisca/v1/core/work_location/work_location_pb.js +3972 -0
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
- package/prisca/v1/core/workflow/workflow_pb.js +7525 -0
- package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
- package/prisca/v1/document_type/document_type_pb.js +2746 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3276 -0
- package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
- package/prisca/v1/global/meta/meta_pb.js +1179 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +4959 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +523 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +9917 -0
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +2875 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +145 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2139 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +146 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2183 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2543 -0
- package/prisca/v1/quotation/quotation_grpc_pb.js +152 -0
- package/prisca/v1/quotation/quotation_pb.js +2319 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +192 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5703 -0
- package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
- package/prisca/v1/valuation/valuation_pb.js +7729 -0
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +6333 -0
- package/prisca/v1/account_assignment/account_assignment.proto +0 -79
- package/prisca/v1/account_group/account_group.proto +0 -86
- package/prisca/v1/bidding/bidding.proto +0 -159
- package/prisca/v1/chart_of_account/chart_of_account.proto +0 -87
- package/prisca/v1/core/access_manager/access_manager.proto +0 -281
- package/prisca/v1/core/auth/auth.proto +0 -150
- package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -55
- package/prisca/v1/core/company/company.proto +0 -92
- package/prisca/v1/core/currency/currency.proto +0 -76
- package/prisca/v1/core/department_material/department_material.proto +0 -69
- package/prisca/v1/core/employee/employee.proto +0 -129
- package/prisca/v1/core/file_upload/file_upload.proto +0 -31
- package/prisca/v1/core/incoterm/incoterm.proto +0 -76
- package/prisca/v1/core/item_transaction/item_transaction.proto +0 -120
- package/prisca/v1/core/job_grade/job_grade.proto +0 -79
- package/prisca/v1/core/job_position/job_position.proto +0 -113
- package/prisca/v1/core/job_title/job_title.proto +0 -89
- package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -42
- package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -94
- package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
- package/prisca/v1/core/location/location.proto +0 -289
- package/prisca/v1/core/material/material.proto +0 -131
- package/prisca/v1/core/material_group/material_group.proto +0 -85
- package/prisca/v1/core/material_type/material_type.proto +0 -86
- package/prisca/v1/core/messaging/email_template.proto +0 -75
- package/prisca/v1/core/messaging/messaging.proto +0 -29
- package/prisca/v1/core/number_range/number_range.proto +0 -89
- package/prisca/v1/core/organization/organization.proto +0 -94
- package/prisca/v1/core/organization_level/organization_level.proto +0 -77
- package/prisca/v1/core/price_condition/price_condition.proto +0 -83
- package/prisca/v1/core/procurement/procurement.proto +0 -54
- package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
- package/prisca/v1/core/report/report.proto +0 -90
- package/prisca/v1/core/report/user_report.proto +0 -74
- package/prisca/v1/core/tax_code/tax_code.proto +0 -77
- package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -64
- package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -325
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
- package/prisca/v1/core/users/users.proto +0 -45
- package/prisca/v1/core/work_location/work_location.proto +0 -122
- package/prisca/v1/core/workflow/workflow.proto +0 -216
- package/prisca/v1/document_type/document_type.proto +0 -80
- package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -98
- package/prisca/v1/global/meta/meta.proto +0 -57
- package/prisca/v1/purchase_order/purchase_order.proto +0 -155
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -304
- package/prisca/v1/purchasing_group/purchasing_group.proto +0 -87
- package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -68
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -70
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
- package/prisca/v1/quotation/quotation.proto +0 -82
- package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -166
- package/prisca/v1/vendor_domain/vendor_domain.proto +0 -225
|
@@ -0,0 +1,3276 @@
|
|
|
1
|
+
// source: prisca/v1/general_ledger_account/general_ledger_account.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_account_group_account_group_pb = require('../../../prisca/v1/account_group/account_group_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_account_group_account_group_pb);
|
|
28
|
+
var prisca_v1_chart_of_account_chart_of_account_pb = require('../../../prisca/v1/chart_of_account/chart_of_account_pb.js');
|
|
29
|
+
goog.object.extend(proto, prisca_v1_chart_of_account_chart_of_account_pb);
|
|
30
|
+
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
31
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
32
|
+
var prisca_v1_core_currency_currency_pb = require('../../../prisca/v1/core/currency/currency_pb.js');
|
|
33
|
+
goog.object.extend(proto, prisca_v1_core_currency_currency_pb);
|
|
34
|
+
goog.exportSymbol('proto.BaseGeneralLedgerAccount', null, global);
|
|
35
|
+
goog.exportSymbol('proto.CreateGeneralLedgerAccountRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.CreateGeneralLedgerAccountResponse', null, global);
|
|
37
|
+
goog.exportSymbol('proto.DeleteGeneralLedgerAccountRequest', null, global);
|
|
38
|
+
goog.exportSymbol('proto.DeleteGeneralLedgerAccountResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.GeneralLedgerAccount', null, global);
|
|
40
|
+
goog.exportSymbol('proto.GeneralLedgerLanguage', null, global);
|
|
41
|
+
goog.exportSymbol('proto.GetGeneralLedgerAccountByIdRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.GetGeneralLedgerAccountByIdResponse', null, global);
|
|
43
|
+
goog.exportSymbol('proto.GetListGeneralLedgerAccountRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.GetListGeneralLedgerAccountResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.UpdateGeneralLedgerAccountRequest', null, global);
|
|
46
|
+
goog.exportSymbol('proto.UpdateGeneralLedgerAccountResponse', null, global);
|
|
47
|
+
/**
|
|
48
|
+
* Generated by JsPbCodeGenerator.
|
|
49
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
50
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
51
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
52
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
53
|
+
* valid.
|
|
54
|
+
* @extends {jspb.Message}
|
|
55
|
+
* @constructor
|
|
56
|
+
*/
|
|
57
|
+
proto.GeneralLedgerAccount = function(opt_data) {
|
|
58
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GeneralLedgerAccount.repeatedFields_, null);
|
|
59
|
+
};
|
|
60
|
+
goog.inherits(proto.GeneralLedgerAccount, jspb.Message);
|
|
61
|
+
if (goog.DEBUG && !COMPILED) {
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @override
|
|
65
|
+
*/
|
|
66
|
+
proto.GeneralLedgerAccount.displayName = 'proto.GeneralLedgerAccount';
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Generated by JsPbCodeGenerator.
|
|
70
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
71
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
72
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
73
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
74
|
+
* valid.
|
|
75
|
+
* @extends {jspb.Message}
|
|
76
|
+
* @constructor
|
|
77
|
+
*/
|
|
78
|
+
proto.GeneralLedgerLanguage = function(opt_data) {
|
|
79
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
80
|
+
};
|
|
81
|
+
goog.inherits(proto.GeneralLedgerLanguage, jspb.Message);
|
|
82
|
+
if (goog.DEBUG && !COMPILED) {
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* @override
|
|
86
|
+
*/
|
|
87
|
+
proto.GeneralLedgerLanguage.displayName = 'proto.GeneralLedgerLanguage';
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Generated by JsPbCodeGenerator.
|
|
91
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
92
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
93
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
94
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
95
|
+
* valid.
|
|
96
|
+
* @extends {jspb.Message}
|
|
97
|
+
* @constructor
|
|
98
|
+
*/
|
|
99
|
+
proto.BaseGeneralLedgerAccount = function(opt_data) {
|
|
100
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.BaseGeneralLedgerAccount.repeatedFields_, null);
|
|
101
|
+
};
|
|
102
|
+
goog.inherits(proto.BaseGeneralLedgerAccount, jspb.Message);
|
|
103
|
+
if (goog.DEBUG && !COMPILED) {
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* @override
|
|
107
|
+
*/
|
|
108
|
+
proto.BaseGeneralLedgerAccount.displayName = 'proto.BaseGeneralLedgerAccount';
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Generated by JsPbCodeGenerator.
|
|
112
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
113
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
114
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
115
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
116
|
+
* valid.
|
|
117
|
+
* @extends {jspb.Message}
|
|
118
|
+
* @constructor
|
|
119
|
+
*/
|
|
120
|
+
proto.CreateGeneralLedgerAccountRequest = function(opt_data) {
|
|
121
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
122
|
+
};
|
|
123
|
+
goog.inherits(proto.CreateGeneralLedgerAccountRequest, jspb.Message);
|
|
124
|
+
if (goog.DEBUG && !COMPILED) {
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @override
|
|
128
|
+
*/
|
|
129
|
+
proto.CreateGeneralLedgerAccountRequest.displayName = 'proto.CreateGeneralLedgerAccountRequest';
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Generated by JsPbCodeGenerator.
|
|
133
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
134
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
135
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
136
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
137
|
+
* valid.
|
|
138
|
+
* @extends {jspb.Message}
|
|
139
|
+
* @constructor
|
|
140
|
+
*/
|
|
141
|
+
proto.CreateGeneralLedgerAccountResponse = function(opt_data) {
|
|
142
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
143
|
+
};
|
|
144
|
+
goog.inherits(proto.CreateGeneralLedgerAccountResponse, jspb.Message);
|
|
145
|
+
if (goog.DEBUG && !COMPILED) {
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* @override
|
|
149
|
+
*/
|
|
150
|
+
proto.CreateGeneralLedgerAccountResponse.displayName = 'proto.CreateGeneralLedgerAccountResponse';
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Generated by JsPbCodeGenerator.
|
|
154
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
155
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
156
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
157
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
158
|
+
* valid.
|
|
159
|
+
* @extends {jspb.Message}
|
|
160
|
+
* @constructor
|
|
161
|
+
*/
|
|
162
|
+
proto.UpdateGeneralLedgerAccountRequest = function(opt_data) {
|
|
163
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
164
|
+
};
|
|
165
|
+
goog.inherits(proto.UpdateGeneralLedgerAccountRequest, jspb.Message);
|
|
166
|
+
if (goog.DEBUG && !COMPILED) {
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
* @override
|
|
170
|
+
*/
|
|
171
|
+
proto.UpdateGeneralLedgerAccountRequest.displayName = 'proto.UpdateGeneralLedgerAccountRequest';
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Generated by JsPbCodeGenerator.
|
|
175
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
176
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
177
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
178
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
179
|
+
* valid.
|
|
180
|
+
* @extends {jspb.Message}
|
|
181
|
+
* @constructor
|
|
182
|
+
*/
|
|
183
|
+
proto.UpdateGeneralLedgerAccountResponse = function(opt_data) {
|
|
184
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
185
|
+
};
|
|
186
|
+
goog.inherits(proto.UpdateGeneralLedgerAccountResponse, jspb.Message);
|
|
187
|
+
if (goog.DEBUG && !COMPILED) {
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
* @override
|
|
191
|
+
*/
|
|
192
|
+
proto.UpdateGeneralLedgerAccountResponse.displayName = 'proto.UpdateGeneralLedgerAccountResponse';
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Generated by JsPbCodeGenerator.
|
|
196
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
197
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
198
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
199
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
200
|
+
* valid.
|
|
201
|
+
* @extends {jspb.Message}
|
|
202
|
+
* @constructor
|
|
203
|
+
*/
|
|
204
|
+
proto.GetGeneralLedgerAccountByIdRequest = function(opt_data) {
|
|
205
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
206
|
+
};
|
|
207
|
+
goog.inherits(proto.GetGeneralLedgerAccountByIdRequest, jspb.Message);
|
|
208
|
+
if (goog.DEBUG && !COMPILED) {
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
* @override
|
|
212
|
+
*/
|
|
213
|
+
proto.GetGeneralLedgerAccountByIdRequest.displayName = 'proto.GetGeneralLedgerAccountByIdRequest';
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Generated by JsPbCodeGenerator.
|
|
217
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
218
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
219
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
220
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
221
|
+
* valid.
|
|
222
|
+
* @extends {jspb.Message}
|
|
223
|
+
* @constructor
|
|
224
|
+
*/
|
|
225
|
+
proto.GetGeneralLedgerAccountByIdResponse = function(opt_data) {
|
|
226
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
227
|
+
};
|
|
228
|
+
goog.inherits(proto.GetGeneralLedgerAccountByIdResponse, jspb.Message);
|
|
229
|
+
if (goog.DEBUG && !COMPILED) {
|
|
230
|
+
/**
|
|
231
|
+
* @public
|
|
232
|
+
* @override
|
|
233
|
+
*/
|
|
234
|
+
proto.GetGeneralLedgerAccountByIdResponse.displayName = 'proto.GetGeneralLedgerAccountByIdResponse';
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Generated by JsPbCodeGenerator.
|
|
238
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
239
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
240
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
241
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
242
|
+
* valid.
|
|
243
|
+
* @extends {jspb.Message}
|
|
244
|
+
* @constructor
|
|
245
|
+
*/
|
|
246
|
+
proto.GetListGeneralLedgerAccountRequest = function(opt_data) {
|
|
247
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
248
|
+
};
|
|
249
|
+
goog.inherits(proto.GetListGeneralLedgerAccountRequest, jspb.Message);
|
|
250
|
+
if (goog.DEBUG && !COMPILED) {
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
* @override
|
|
254
|
+
*/
|
|
255
|
+
proto.GetListGeneralLedgerAccountRequest.displayName = 'proto.GetListGeneralLedgerAccountRequest';
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Generated by JsPbCodeGenerator.
|
|
259
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
260
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
261
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
262
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
263
|
+
* valid.
|
|
264
|
+
* @extends {jspb.Message}
|
|
265
|
+
* @constructor
|
|
266
|
+
*/
|
|
267
|
+
proto.GetListGeneralLedgerAccountResponse = function(opt_data) {
|
|
268
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListGeneralLedgerAccountResponse.repeatedFields_, null);
|
|
269
|
+
};
|
|
270
|
+
goog.inherits(proto.GetListGeneralLedgerAccountResponse, jspb.Message);
|
|
271
|
+
if (goog.DEBUG && !COMPILED) {
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
* @override
|
|
275
|
+
*/
|
|
276
|
+
proto.GetListGeneralLedgerAccountResponse.displayName = 'proto.GetListGeneralLedgerAccountResponse';
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Generated by JsPbCodeGenerator.
|
|
280
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
281
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
282
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
283
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
284
|
+
* valid.
|
|
285
|
+
* @extends {jspb.Message}
|
|
286
|
+
* @constructor
|
|
287
|
+
*/
|
|
288
|
+
proto.DeleteGeneralLedgerAccountRequest = function(opt_data) {
|
|
289
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
290
|
+
};
|
|
291
|
+
goog.inherits(proto.DeleteGeneralLedgerAccountRequest, jspb.Message);
|
|
292
|
+
if (goog.DEBUG && !COMPILED) {
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
* @override
|
|
296
|
+
*/
|
|
297
|
+
proto.DeleteGeneralLedgerAccountRequest.displayName = 'proto.DeleteGeneralLedgerAccountRequest';
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Generated by JsPbCodeGenerator.
|
|
301
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
302
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
303
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
304
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
305
|
+
* valid.
|
|
306
|
+
* @extends {jspb.Message}
|
|
307
|
+
* @constructor
|
|
308
|
+
*/
|
|
309
|
+
proto.DeleteGeneralLedgerAccountResponse = function(opt_data) {
|
|
310
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
311
|
+
};
|
|
312
|
+
goog.inherits(proto.DeleteGeneralLedgerAccountResponse, jspb.Message);
|
|
313
|
+
if (goog.DEBUG && !COMPILED) {
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
* @override
|
|
317
|
+
*/
|
|
318
|
+
proto.DeleteGeneralLedgerAccountResponse.displayName = 'proto.DeleteGeneralLedgerAccountResponse';
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* List of repeated fields within this message type.
|
|
323
|
+
* @private {!Array<number>}
|
|
324
|
+
* @const
|
|
325
|
+
*/
|
|
326
|
+
proto.GeneralLedgerAccount.repeatedFields_ = [3];
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
331
|
+
/**
|
|
332
|
+
* Creates an object representation of this proto.
|
|
333
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
334
|
+
* Optional fields that are not set will be set to undefined.
|
|
335
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
336
|
+
* For the list of reserved names please see:
|
|
337
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
338
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
339
|
+
* JSPB instance for transitional soy proto support:
|
|
340
|
+
* http://goto/soy-param-migration
|
|
341
|
+
* @return {!Object}
|
|
342
|
+
*/
|
|
343
|
+
proto.GeneralLedgerAccount.prototype.toObject = function(opt_includeInstance) {
|
|
344
|
+
return proto.GeneralLedgerAccount.toObject(opt_includeInstance, this);
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Static version of the {@see toObject} method.
|
|
350
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
351
|
+
* the JSPB instance for transitional soy proto support:
|
|
352
|
+
* http://goto/soy-param-migration
|
|
353
|
+
* @param {!proto.GeneralLedgerAccount} msg The msg instance to transform.
|
|
354
|
+
* @return {!Object}
|
|
355
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
356
|
+
*/
|
|
357
|
+
proto.GeneralLedgerAccount.toObject = function(includeInstance, msg) {
|
|
358
|
+
var f, obj = {
|
|
359
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
360
|
+
accountType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
361
|
+
languageDescriptionList: jspb.Message.toObjectList(msg.getLanguageDescriptionList(),
|
|
362
|
+
proto.GeneralLedgerLanguage.toObject, includeInstance),
|
|
363
|
+
chartOfAccountRef: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
364
|
+
accountGroupRef: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
365
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
366
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
367
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
368
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
369
|
+
accountId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
370
|
+
currencyRef: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
371
|
+
accountGroup: (f = msg.getAccountGroup()) && prisca_v1_account_group_account_group_pb.AccountGroup.toObject(includeInstance, f),
|
|
372
|
+
chartOfAccount: (f = msg.getChartOfAccount()) && prisca_v1_chart_of_account_chart_of_account_pb.ChartOfAccount.toObject(includeInstance, f),
|
|
373
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.Company.toObject(includeInstance, f),
|
|
374
|
+
currency: (f = msg.getCurrency()) && prisca_v1_core_currency_currency_pb.Currency.toObject(includeInstance, f)
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
if (includeInstance) {
|
|
378
|
+
obj.$jspbMessageInstance = msg;
|
|
379
|
+
}
|
|
380
|
+
return obj;
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Deserializes binary data (in protobuf wire format).
|
|
387
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
388
|
+
* @return {!proto.GeneralLedgerAccount}
|
|
389
|
+
*/
|
|
390
|
+
proto.GeneralLedgerAccount.deserializeBinary = function(bytes) {
|
|
391
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
392
|
+
var msg = new proto.GeneralLedgerAccount;
|
|
393
|
+
return proto.GeneralLedgerAccount.deserializeBinaryFromReader(msg, reader);
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
399
|
+
* given reader into the given message object.
|
|
400
|
+
* @param {!proto.GeneralLedgerAccount} msg The message object to deserialize into.
|
|
401
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
402
|
+
* @return {!proto.GeneralLedgerAccount}
|
|
403
|
+
*/
|
|
404
|
+
proto.GeneralLedgerAccount.deserializeBinaryFromReader = function(msg, reader) {
|
|
405
|
+
while (reader.nextField()) {
|
|
406
|
+
if (reader.isEndGroup()) {
|
|
407
|
+
break;
|
|
408
|
+
}
|
|
409
|
+
var field = reader.getFieldNumber();
|
|
410
|
+
switch (field) {
|
|
411
|
+
case 1:
|
|
412
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
413
|
+
msg.setId(value);
|
|
414
|
+
break;
|
|
415
|
+
case 2:
|
|
416
|
+
var value = /** @type {string} */ (reader.readString());
|
|
417
|
+
msg.setAccountType(value);
|
|
418
|
+
break;
|
|
419
|
+
case 3:
|
|
420
|
+
var value = new proto.GeneralLedgerLanguage;
|
|
421
|
+
reader.readMessage(value,proto.GeneralLedgerLanguage.deserializeBinaryFromReader);
|
|
422
|
+
msg.addLanguageDescription(value);
|
|
423
|
+
break;
|
|
424
|
+
case 4:
|
|
425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
426
|
+
msg.setChartOfAccountRef(value);
|
|
427
|
+
break;
|
|
428
|
+
case 5:
|
|
429
|
+
var value = /** @type {string} */ (reader.readString());
|
|
430
|
+
msg.setAccountGroupRef(value);
|
|
431
|
+
break;
|
|
432
|
+
case 6:
|
|
433
|
+
var value = /** @type {string} */ (reader.readString());
|
|
434
|
+
msg.setReferencesId(value);
|
|
435
|
+
break;
|
|
436
|
+
case 7:
|
|
437
|
+
var value = /** @type {string} */ (reader.readString());
|
|
438
|
+
msg.setCreatedAt(value);
|
|
439
|
+
break;
|
|
440
|
+
case 8:
|
|
441
|
+
var value = /** @type {string} */ (reader.readString());
|
|
442
|
+
msg.setUpdatedAt(value);
|
|
443
|
+
break;
|
|
444
|
+
case 9:
|
|
445
|
+
var value = /** @type {string} */ (reader.readString());
|
|
446
|
+
msg.setCompaniesReferencesId(value);
|
|
447
|
+
break;
|
|
448
|
+
case 10:
|
|
449
|
+
var value = /** @type {string} */ (reader.readString());
|
|
450
|
+
msg.setAccountId(value);
|
|
451
|
+
break;
|
|
452
|
+
case 11:
|
|
453
|
+
var value = /** @type {string} */ (reader.readString());
|
|
454
|
+
msg.setCurrencyRef(value);
|
|
455
|
+
break;
|
|
456
|
+
case 12:
|
|
457
|
+
var value = new prisca_v1_account_group_account_group_pb.AccountGroup;
|
|
458
|
+
reader.readMessage(value,prisca_v1_account_group_account_group_pb.AccountGroup.deserializeBinaryFromReader);
|
|
459
|
+
msg.setAccountGroup(value);
|
|
460
|
+
break;
|
|
461
|
+
case 13:
|
|
462
|
+
var value = new prisca_v1_chart_of_account_chart_of_account_pb.ChartOfAccount;
|
|
463
|
+
reader.readMessage(value,prisca_v1_chart_of_account_chart_of_account_pb.ChartOfAccount.deserializeBinaryFromReader);
|
|
464
|
+
msg.setChartOfAccount(value);
|
|
465
|
+
break;
|
|
466
|
+
case 14:
|
|
467
|
+
var value = new prisca_v1_core_company_company_pb.Company;
|
|
468
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.Company.deserializeBinaryFromReader);
|
|
469
|
+
msg.setCompanies(value);
|
|
470
|
+
break;
|
|
471
|
+
case 15:
|
|
472
|
+
var value = new prisca_v1_core_currency_currency_pb.Currency;
|
|
473
|
+
reader.readMessage(value,prisca_v1_core_currency_currency_pb.Currency.deserializeBinaryFromReader);
|
|
474
|
+
msg.setCurrency(value);
|
|
475
|
+
break;
|
|
476
|
+
default:
|
|
477
|
+
reader.skipField();
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
return msg;
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
487
|
+
* @return {!Uint8Array}
|
|
488
|
+
*/
|
|
489
|
+
proto.GeneralLedgerAccount.prototype.serializeBinary = function() {
|
|
490
|
+
var writer = new jspb.BinaryWriter();
|
|
491
|
+
proto.GeneralLedgerAccount.serializeBinaryToWriter(this, writer);
|
|
492
|
+
return writer.getResultBuffer();
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
498
|
+
* format), writing to the given BinaryWriter.
|
|
499
|
+
* @param {!proto.GeneralLedgerAccount} message
|
|
500
|
+
* @param {!jspb.BinaryWriter} writer
|
|
501
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
502
|
+
*/
|
|
503
|
+
proto.GeneralLedgerAccount.serializeBinaryToWriter = function(message, writer) {
|
|
504
|
+
var f = undefined;
|
|
505
|
+
f = message.getId();
|
|
506
|
+
if (f !== 0) {
|
|
507
|
+
writer.writeInt64(
|
|
508
|
+
1,
|
|
509
|
+
f
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
f = message.getAccountType();
|
|
513
|
+
if (f.length > 0) {
|
|
514
|
+
writer.writeString(
|
|
515
|
+
2,
|
|
516
|
+
f
|
|
517
|
+
);
|
|
518
|
+
}
|
|
519
|
+
f = message.getLanguageDescriptionList();
|
|
520
|
+
if (f.length > 0) {
|
|
521
|
+
writer.writeRepeatedMessage(
|
|
522
|
+
3,
|
|
523
|
+
f,
|
|
524
|
+
proto.GeneralLedgerLanguage.serializeBinaryToWriter
|
|
525
|
+
);
|
|
526
|
+
}
|
|
527
|
+
f = message.getChartOfAccountRef();
|
|
528
|
+
if (f.length > 0) {
|
|
529
|
+
writer.writeString(
|
|
530
|
+
4,
|
|
531
|
+
f
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
f = message.getAccountGroupRef();
|
|
535
|
+
if (f.length > 0) {
|
|
536
|
+
writer.writeString(
|
|
537
|
+
5,
|
|
538
|
+
f
|
|
539
|
+
);
|
|
540
|
+
}
|
|
541
|
+
f = message.getReferencesId();
|
|
542
|
+
if (f.length > 0) {
|
|
543
|
+
writer.writeString(
|
|
544
|
+
6,
|
|
545
|
+
f
|
|
546
|
+
);
|
|
547
|
+
}
|
|
548
|
+
f = message.getCreatedAt();
|
|
549
|
+
if (f.length > 0) {
|
|
550
|
+
writer.writeString(
|
|
551
|
+
7,
|
|
552
|
+
f
|
|
553
|
+
);
|
|
554
|
+
}
|
|
555
|
+
f = message.getUpdatedAt();
|
|
556
|
+
if (f.length > 0) {
|
|
557
|
+
writer.writeString(
|
|
558
|
+
8,
|
|
559
|
+
f
|
|
560
|
+
);
|
|
561
|
+
}
|
|
562
|
+
f = message.getCompaniesReferencesId();
|
|
563
|
+
if (f.length > 0) {
|
|
564
|
+
writer.writeString(
|
|
565
|
+
9,
|
|
566
|
+
f
|
|
567
|
+
);
|
|
568
|
+
}
|
|
569
|
+
f = message.getAccountId();
|
|
570
|
+
if (f.length > 0) {
|
|
571
|
+
writer.writeString(
|
|
572
|
+
10,
|
|
573
|
+
f
|
|
574
|
+
);
|
|
575
|
+
}
|
|
576
|
+
f = message.getCurrencyRef();
|
|
577
|
+
if (f.length > 0) {
|
|
578
|
+
writer.writeString(
|
|
579
|
+
11,
|
|
580
|
+
f
|
|
581
|
+
);
|
|
582
|
+
}
|
|
583
|
+
f = message.getAccountGroup();
|
|
584
|
+
if (f != null) {
|
|
585
|
+
writer.writeMessage(
|
|
586
|
+
12,
|
|
587
|
+
f,
|
|
588
|
+
prisca_v1_account_group_account_group_pb.AccountGroup.serializeBinaryToWriter
|
|
589
|
+
);
|
|
590
|
+
}
|
|
591
|
+
f = message.getChartOfAccount();
|
|
592
|
+
if (f != null) {
|
|
593
|
+
writer.writeMessage(
|
|
594
|
+
13,
|
|
595
|
+
f,
|
|
596
|
+
prisca_v1_chart_of_account_chart_of_account_pb.ChartOfAccount.serializeBinaryToWriter
|
|
597
|
+
);
|
|
598
|
+
}
|
|
599
|
+
f = message.getCompanies();
|
|
600
|
+
if (f != null) {
|
|
601
|
+
writer.writeMessage(
|
|
602
|
+
14,
|
|
603
|
+
f,
|
|
604
|
+
prisca_v1_core_company_company_pb.Company.serializeBinaryToWriter
|
|
605
|
+
);
|
|
606
|
+
}
|
|
607
|
+
f = message.getCurrency();
|
|
608
|
+
if (f != null) {
|
|
609
|
+
writer.writeMessage(
|
|
610
|
+
15,
|
|
611
|
+
f,
|
|
612
|
+
prisca_v1_core_currency_currency_pb.Currency.serializeBinaryToWriter
|
|
613
|
+
);
|
|
614
|
+
}
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* optional int64 id = 1;
|
|
620
|
+
* @return {number}
|
|
621
|
+
*/
|
|
622
|
+
proto.GeneralLedgerAccount.prototype.getId = function() {
|
|
623
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* @param {number} value
|
|
629
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
630
|
+
*/
|
|
631
|
+
proto.GeneralLedgerAccount.prototype.setId = function(value) {
|
|
632
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* optional string account_type = 2;
|
|
638
|
+
* @return {string}
|
|
639
|
+
*/
|
|
640
|
+
proto.GeneralLedgerAccount.prototype.getAccountType = function() {
|
|
641
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* @param {string} value
|
|
647
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
648
|
+
*/
|
|
649
|
+
proto.GeneralLedgerAccount.prototype.setAccountType = function(value) {
|
|
650
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* repeated GeneralLedgerLanguage language_description = 3;
|
|
656
|
+
* @return {!Array<!proto.GeneralLedgerLanguage>}
|
|
657
|
+
*/
|
|
658
|
+
proto.GeneralLedgerAccount.prototype.getLanguageDescriptionList = function() {
|
|
659
|
+
return /** @type{!Array<!proto.GeneralLedgerLanguage>} */ (
|
|
660
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GeneralLedgerLanguage, 3));
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* @param {!Array<!proto.GeneralLedgerLanguage>} value
|
|
666
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
667
|
+
*/
|
|
668
|
+
proto.GeneralLedgerAccount.prototype.setLanguageDescriptionList = function(value) {
|
|
669
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* @param {!proto.GeneralLedgerLanguage=} opt_value
|
|
675
|
+
* @param {number=} opt_index
|
|
676
|
+
* @return {!proto.GeneralLedgerLanguage}
|
|
677
|
+
*/
|
|
678
|
+
proto.GeneralLedgerAccount.prototype.addLanguageDescription = function(opt_value, opt_index) {
|
|
679
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.GeneralLedgerLanguage, opt_index);
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Clears the list making it empty but non-null.
|
|
685
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
686
|
+
*/
|
|
687
|
+
proto.GeneralLedgerAccount.prototype.clearLanguageDescriptionList = function() {
|
|
688
|
+
return this.setLanguageDescriptionList([]);
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* optional string chart_of_account_ref = 4;
|
|
694
|
+
* @return {string}
|
|
695
|
+
*/
|
|
696
|
+
proto.GeneralLedgerAccount.prototype.getChartOfAccountRef = function() {
|
|
697
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* @param {string} value
|
|
703
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
704
|
+
*/
|
|
705
|
+
proto.GeneralLedgerAccount.prototype.setChartOfAccountRef = function(value) {
|
|
706
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* optional string account_group_ref = 5;
|
|
712
|
+
* @return {string}
|
|
713
|
+
*/
|
|
714
|
+
proto.GeneralLedgerAccount.prototype.getAccountGroupRef = function() {
|
|
715
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* @param {string} value
|
|
721
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
722
|
+
*/
|
|
723
|
+
proto.GeneralLedgerAccount.prototype.setAccountGroupRef = function(value) {
|
|
724
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* optional string references_id = 6;
|
|
730
|
+
* @return {string}
|
|
731
|
+
*/
|
|
732
|
+
proto.GeneralLedgerAccount.prototype.getReferencesId = function() {
|
|
733
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* @param {string} value
|
|
739
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
740
|
+
*/
|
|
741
|
+
proto.GeneralLedgerAccount.prototype.setReferencesId = function(value) {
|
|
742
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* optional string created_at = 7;
|
|
748
|
+
* @return {string}
|
|
749
|
+
*/
|
|
750
|
+
proto.GeneralLedgerAccount.prototype.getCreatedAt = function() {
|
|
751
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* @param {string} value
|
|
757
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
758
|
+
*/
|
|
759
|
+
proto.GeneralLedgerAccount.prototype.setCreatedAt = function(value) {
|
|
760
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* optional string updated_at = 8;
|
|
766
|
+
* @return {string}
|
|
767
|
+
*/
|
|
768
|
+
proto.GeneralLedgerAccount.prototype.getUpdatedAt = function() {
|
|
769
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* @param {string} value
|
|
775
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
776
|
+
*/
|
|
777
|
+
proto.GeneralLedgerAccount.prototype.setUpdatedAt = function(value) {
|
|
778
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* optional string companies_references_id = 9;
|
|
784
|
+
* @return {string}
|
|
785
|
+
*/
|
|
786
|
+
proto.GeneralLedgerAccount.prototype.getCompaniesReferencesId = function() {
|
|
787
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* @param {string} value
|
|
793
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
794
|
+
*/
|
|
795
|
+
proto.GeneralLedgerAccount.prototype.setCompaniesReferencesId = function(value) {
|
|
796
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* optional string account_id = 10;
|
|
802
|
+
* @return {string}
|
|
803
|
+
*/
|
|
804
|
+
proto.GeneralLedgerAccount.prototype.getAccountId = function() {
|
|
805
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* @param {string} value
|
|
811
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
812
|
+
*/
|
|
813
|
+
proto.GeneralLedgerAccount.prototype.setAccountId = function(value) {
|
|
814
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* optional string currency_ref = 11;
|
|
820
|
+
* @return {string}
|
|
821
|
+
*/
|
|
822
|
+
proto.GeneralLedgerAccount.prototype.getCurrencyRef = function() {
|
|
823
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* @param {string} value
|
|
829
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
830
|
+
*/
|
|
831
|
+
proto.GeneralLedgerAccount.prototype.setCurrencyRef = function(value) {
|
|
832
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* optional AccountGroup account_group = 12;
|
|
838
|
+
* @return {?proto.AccountGroup}
|
|
839
|
+
*/
|
|
840
|
+
proto.GeneralLedgerAccount.prototype.getAccountGroup = function() {
|
|
841
|
+
return /** @type{?proto.AccountGroup} */ (
|
|
842
|
+
jspb.Message.getWrapperField(this, prisca_v1_account_group_account_group_pb.AccountGroup, 12));
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* @param {?proto.AccountGroup|undefined} value
|
|
848
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
849
|
+
*/
|
|
850
|
+
proto.GeneralLedgerAccount.prototype.setAccountGroup = function(value) {
|
|
851
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Clears the message field making it undefined.
|
|
857
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
858
|
+
*/
|
|
859
|
+
proto.GeneralLedgerAccount.prototype.clearAccountGroup = function() {
|
|
860
|
+
return this.setAccountGroup(undefined);
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Returns whether this field is set.
|
|
866
|
+
* @return {boolean}
|
|
867
|
+
*/
|
|
868
|
+
proto.GeneralLedgerAccount.prototype.hasAccountGroup = function() {
|
|
869
|
+
return jspb.Message.getField(this, 12) != null;
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* optional ChartOfAccount chart_of_account = 13;
|
|
875
|
+
* @return {?proto.ChartOfAccount}
|
|
876
|
+
*/
|
|
877
|
+
proto.GeneralLedgerAccount.prototype.getChartOfAccount = function() {
|
|
878
|
+
return /** @type{?proto.ChartOfAccount} */ (
|
|
879
|
+
jspb.Message.getWrapperField(this, prisca_v1_chart_of_account_chart_of_account_pb.ChartOfAccount, 13));
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* @param {?proto.ChartOfAccount|undefined} value
|
|
885
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
886
|
+
*/
|
|
887
|
+
proto.GeneralLedgerAccount.prototype.setChartOfAccount = function(value) {
|
|
888
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Clears the message field making it undefined.
|
|
894
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
895
|
+
*/
|
|
896
|
+
proto.GeneralLedgerAccount.prototype.clearChartOfAccount = function() {
|
|
897
|
+
return this.setChartOfAccount(undefined);
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Returns whether this field is set.
|
|
903
|
+
* @return {boolean}
|
|
904
|
+
*/
|
|
905
|
+
proto.GeneralLedgerAccount.prototype.hasChartOfAccount = function() {
|
|
906
|
+
return jspb.Message.getField(this, 13) != null;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* optional Company companies = 14;
|
|
912
|
+
* @return {?proto.Company}
|
|
913
|
+
*/
|
|
914
|
+
proto.GeneralLedgerAccount.prototype.getCompanies = function() {
|
|
915
|
+
return /** @type{?proto.Company} */ (
|
|
916
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.Company, 14));
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @param {?proto.Company|undefined} value
|
|
922
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
923
|
+
*/
|
|
924
|
+
proto.GeneralLedgerAccount.prototype.setCompanies = function(value) {
|
|
925
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Clears the message field making it undefined.
|
|
931
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
932
|
+
*/
|
|
933
|
+
proto.GeneralLedgerAccount.prototype.clearCompanies = function() {
|
|
934
|
+
return this.setCompanies(undefined);
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Returns whether this field is set.
|
|
940
|
+
* @return {boolean}
|
|
941
|
+
*/
|
|
942
|
+
proto.GeneralLedgerAccount.prototype.hasCompanies = function() {
|
|
943
|
+
return jspb.Message.getField(this, 14) != null;
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* optional Currency currency = 15;
|
|
949
|
+
* @return {?proto.Currency}
|
|
950
|
+
*/
|
|
951
|
+
proto.GeneralLedgerAccount.prototype.getCurrency = function() {
|
|
952
|
+
return /** @type{?proto.Currency} */ (
|
|
953
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_currency_currency_pb.Currency, 15));
|
|
954
|
+
};
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* @param {?proto.Currency|undefined} value
|
|
959
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
960
|
+
*/
|
|
961
|
+
proto.GeneralLedgerAccount.prototype.setCurrency = function(value) {
|
|
962
|
+
return jspb.Message.setWrapperField(this, 15, value);
|
|
963
|
+
};
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Clears the message field making it undefined.
|
|
968
|
+
* @return {!proto.GeneralLedgerAccount} returns this
|
|
969
|
+
*/
|
|
970
|
+
proto.GeneralLedgerAccount.prototype.clearCurrency = function() {
|
|
971
|
+
return this.setCurrency(undefined);
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Returns whether this field is set.
|
|
977
|
+
* @return {boolean}
|
|
978
|
+
*/
|
|
979
|
+
proto.GeneralLedgerAccount.prototype.hasCurrency = function() {
|
|
980
|
+
return jspb.Message.getField(this, 15) != null;
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
988
|
+
/**
|
|
989
|
+
* Creates an object representation of this proto.
|
|
990
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
991
|
+
* Optional fields that are not set will be set to undefined.
|
|
992
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
993
|
+
* For the list of reserved names please see:
|
|
994
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
995
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
996
|
+
* JSPB instance for transitional soy proto support:
|
|
997
|
+
* http://goto/soy-param-migration
|
|
998
|
+
* @return {!Object}
|
|
999
|
+
*/
|
|
1000
|
+
proto.GeneralLedgerLanguage.prototype.toObject = function(opt_includeInstance) {
|
|
1001
|
+
return proto.GeneralLedgerLanguage.toObject(opt_includeInstance, this);
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Static version of the {@see toObject} method.
|
|
1007
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1008
|
+
* the JSPB instance for transitional soy proto support:
|
|
1009
|
+
* http://goto/soy-param-migration
|
|
1010
|
+
* @param {!proto.GeneralLedgerLanguage} msg The msg instance to transform.
|
|
1011
|
+
* @return {!Object}
|
|
1012
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1013
|
+
*/
|
|
1014
|
+
proto.GeneralLedgerLanguage.toObject = function(includeInstance, msg) {
|
|
1015
|
+
var f, obj = {
|
|
1016
|
+
languageKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1017
|
+
shortText: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1018
|
+
longText: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
if (includeInstance) {
|
|
1022
|
+
obj.$jspbMessageInstance = msg;
|
|
1023
|
+
}
|
|
1024
|
+
return obj;
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1031
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1032
|
+
* @return {!proto.GeneralLedgerLanguage}
|
|
1033
|
+
*/
|
|
1034
|
+
proto.GeneralLedgerLanguage.deserializeBinary = function(bytes) {
|
|
1035
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1036
|
+
var msg = new proto.GeneralLedgerLanguage;
|
|
1037
|
+
return proto.GeneralLedgerLanguage.deserializeBinaryFromReader(msg, reader);
|
|
1038
|
+
};
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1043
|
+
* given reader into the given message object.
|
|
1044
|
+
* @param {!proto.GeneralLedgerLanguage} msg The message object to deserialize into.
|
|
1045
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1046
|
+
* @return {!proto.GeneralLedgerLanguage}
|
|
1047
|
+
*/
|
|
1048
|
+
proto.GeneralLedgerLanguage.deserializeBinaryFromReader = function(msg, reader) {
|
|
1049
|
+
while (reader.nextField()) {
|
|
1050
|
+
if (reader.isEndGroup()) {
|
|
1051
|
+
break;
|
|
1052
|
+
}
|
|
1053
|
+
var field = reader.getFieldNumber();
|
|
1054
|
+
switch (field) {
|
|
1055
|
+
case 1:
|
|
1056
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1057
|
+
msg.setLanguageKey(value);
|
|
1058
|
+
break;
|
|
1059
|
+
case 2:
|
|
1060
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1061
|
+
msg.setShortText(value);
|
|
1062
|
+
break;
|
|
1063
|
+
case 3:
|
|
1064
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1065
|
+
msg.setLongText(value);
|
|
1066
|
+
break;
|
|
1067
|
+
default:
|
|
1068
|
+
reader.skipField();
|
|
1069
|
+
break;
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
return msg;
|
|
1073
|
+
};
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1078
|
+
* @return {!Uint8Array}
|
|
1079
|
+
*/
|
|
1080
|
+
proto.GeneralLedgerLanguage.prototype.serializeBinary = function() {
|
|
1081
|
+
var writer = new jspb.BinaryWriter();
|
|
1082
|
+
proto.GeneralLedgerLanguage.serializeBinaryToWriter(this, writer);
|
|
1083
|
+
return writer.getResultBuffer();
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1089
|
+
* format), writing to the given BinaryWriter.
|
|
1090
|
+
* @param {!proto.GeneralLedgerLanguage} message
|
|
1091
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1092
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1093
|
+
*/
|
|
1094
|
+
proto.GeneralLedgerLanguage.serializeBinaryToWriter = function(message, writer) {
|
|
1095
|
+
var f = undefined;
|
|
1096
|
+
f = message.getLanguageKey();
|
|
1097
|
+
if (f.length > 0) {
|
|
1098
|
+
writer.writeString(
|
|
1099
|
+
1,
|
|
1100
|
+
f
|
|
1101
|
+
);
|
|
1102
|
+
}
|
|
1103
|
+
f = message.getShortText();
|
|
1104
|
+
if (f.length > 0) {
|
|
1105
|
+
writer.writeString(
|
|
1106
|
+
2,
|
|
1107
|
+
f
|
|
1108
|
+
);
|
|
1109
|
+
}
|
|
1110
|
+
f = message.getLongText();
|
|
1111
|
+
if (f.length > 0) {
|
|
1112
|
+
writer.writeString(
|
|
1113
|
+
3,
|
|
1114
|
+
f
|
|
1115
|
+
);
|
|
1116
|
+
}
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* optional string language_key = 1;
|
|
1122
|
+
* @return {string}
|
|
1123
|
+
*/
|
|
1124
|
+
proto.GeneralLedgerLanguage.prototype.getLanguageKey = function() {
|
|
1125
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* @param {string} value
|
|
1131
|
+
* @return {!proto.GeneralLedgerLanguage} returns this
|
|
1132
|
+
*/
|
|
1133
|
+
proto.GeneralLedgerLanguage.prototype.setLanguageKey = function(value) {
|
|
1134
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* optional string short_text = 2;
|
|
1140
|
+
* @return {string}
|
|
1141
|
+
*/
|
|
1142
|
+
proto.GeneralLedgerLanguage.prototype.getShortText = function() {
|
|
1143
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* @param {string} value
|
|
1149
|
+
* @return {!proto.GeneralLedgerLanguage} returns this
|
|
1150
|
+
*/
|
|
1151
|
+
proto.GeneralLedgerLanguage.prototype.setShortText = function(value) {
|
|
1152
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* optional string long_text = 3;
|
|
1158
|
+
* @return {string}
|
|
1159
|
+
*/
|
|
1160
|
+
proto.GeneralLedgerLanguage.prototype.getLongText = function() {
|
|
1161
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1162
|
+
};
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* @param {string} value
|
|
1167
|
+
* @return {!proto.GeneralLedgerLanguage} returns this
|
|
1168
|
+
*/
|
|
1169
|
+
proto.GeneralLedgerLanguage.prototype.setLongText = function(value) {
|
|
1170
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* List of repeated fields within this message type.
|
|
1177
|
+
* @private {!Array<number>}
|
|
1178
|
+
* @const
|
|
1179
|
+
*/
|
|
1180
|
+
proto.BaseGeneralLedgerAccount.repeatedFields_ = [2];
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1185
|
+
/**
|
|
1186
|
+
* Creates an object representation of this proto.
|
|
1187
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1188
|
+
* Optional fields that are not set will be set to undefined.
|
|
1189
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1190
|
+
* For the list of reserved names please see:
|
|
1191
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1192
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1193
|
+
* JSPB instance for transitional soy proto support:
|
|
1194
|
+
* http://goto/soy-param-migration
|
|
1195
|
+
* @return {!Object}
|
|
1196
|
+
*/
|
|
1197
|
+
proto.BaseGeneralLedgerAccount.prototype.toObject = function(opt_includeInstance) {
|
|
1198
|
+
return proto.BaseGeneralLedgerAccount.toObject(opt_includeInstance, this);
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Static version of the {@see toObject} method.
|
|
1204
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1205
|
+
* the JSPB instance for transitional soy proto support:
|
|
1206
|
+
* http://goto/soy-param-migration
|
|
1207
|
+
* @param {!proto.BaseGeneralLedgerAccount} msg The msg instance to transform.
|
|
1208
|
+
* @return {!Object}
|
|
1209
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1210
|
+
*/
|
|
1211
|
+
proto.BaseGeneralLedgerAccount.toObject = function(includeInstance, msg) {
|
|
1212
|
+
var f, obj = {
|
|
1213
|
+
accountType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1214
|
+
languageDescriptionList: jspb.Message.toObjectList(msg.getLanguageDescriptionList(),
|
|
1215
|
+
proto.GeneralLedgerLanguage.toObject, includeInstance),
|
|
1216
|
+
chartOfAccountRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1217
|
+
accountGroupRef: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1218
|
+
accountId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1219
|
+
currencyRef: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
if (includeInstance) {
|
|
1223
|
+
obj.$jspbMessageInstance = msg;
|
|
1224
|
+
}
|
|
1225
|
+
return obj;
|
|
1226
|
+
};
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1232
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1233
|
+
* @return {!proto.BaseGeneralLedgerAccount}
|
|
1234
|
+
*/
|
|
1235
|
+
proto.BaseGeneralLedgerAccount.deserializeBinary = function(bytes) {
|
|
1236
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1237
|
+
var msg = new proto.BaseGeneralLedgerAccount;
|
|
1238
|
+
return proto.BaseGeneralLedgerAccount.deserializeBinaryFromReader(msg, reader);
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1244
|
+
* given reader into the given message object.
|
|
1245
|
+
* @param {!proto.BaseGeneralLedgerAccount} msg The message object to deserialize into.
|
|
1246
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1247
|
+
* @return {!proto.BaseGeneralLedgerAccount}
|
|
1248
|
+
*/
|
|
1249
|
+
proto.BaseGeneralLedgerAccount.deserializeBinaryFromReader = function(msg, reader) {
|
|
1250
|
+
while (reader.nextField()) {
|
|
1251
|
+
if (reader.isEndGroup()) {
|
|
1252
|
+
break;
|
|
1253
|
+
}
|
|
1254
|
+
var field = reader.getFieldNumber();
|
|
1255
|
+
switch (field) {
|
|
1256
|
+
case 1:
|
|
1257
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1258
|
+
msg.setAccountType(value);
|
|
1259
|
+
break;
|
|
1260
|
+
case 2:
|
|
1261
|
+
var value = new proto.GeneralLedgerLanguage;
|
|
1262
|
+
reader.readMessage(value,proto.GeneralLedgerLanguage.deserializeBinaryFromReader);
|
|
1263
|
+
msg.addLanguageDescription(value);
|
|
1264
|
+
break;
|
|
1265
|
+
case 3:
|
|
1266
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1267
|
+
msg.setChartOfAccountRef(value);
|
|
1268
|
+
break;
|
|
1269
|
+
case 4:
|
|
1270
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1271
|
+
msg.setAccountGroupRef(value);
|
|
1272
|
+
break;
|
|
1273
|
+
case 5:
|
|
1274
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1275
|
+
msg.setAccountId(value);
|
|
1276
|
+
break;
|
|
1277
|
+
case 6:
|
|
1278
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1279
|
+
msg.setCurrencyRef(value);
|
|
1280
|
+
break;
|
|
1281
|
+
default:
|
|
1282
|
+
reader.skipField();
|
|
1283
|
+
break;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
return msg;
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1292
|
+
* @return {!Uint8Array}
|
|
1293
|
+
*/
|
|
1294
|
+
proto.BaseGeneralLedgerAccount.prototype.serializeBinary = function() {
|
|
1295
|
+
var writer = new jspb.BinaryWriter();
|
|
1296
|
+
proto.BaseGeneralLedgerAccount.serializeBinaryToWriter(this, writer);
|
|
1297
|
+
return writer.getResultBuffer();
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1303
|
+
* format), writing to the given BinaryWriter.
|
|
1304
|
+
* @param {!proto.BaseGeneralLedgerAccount} message
|
|
1305
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1306
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1307
|
+
*/
|
|
1308
|
+
proto.BaseGeneralLedgerAccount.serializeBinaryToWriter = function(message, writer) {
|
|
1309
|
+
var f = undefined;
|
|
1310
|
+
f = message.getAccountType();
|
|
1311
|
+
if (f.length > 0) {
|
|
1312
|
+
writer.writeString(
|
|
1313
|
+
1,
|
|
1314
|
+
f
|
|
1315
|
+
);
|
|
1316
|
+
}
|
|
1317
|
+
f = message.getLanguageDescriptionList();
|
|
1318
|
+
if (f.length > 0) {
|
|
1319
|
+
writer.writeRepeatedMessage(
|
|
1320
|
+
2,
|
|
1321
|
+
f,
|
|
1322
|
+
proto.GeneralLedgerLanguage.serializeBinaryToWriter
|
|
1323
|
+
);
|
|
1324
|
+
}
|
|
1325
|
+
f = message.getChartOfAccountRef();
|
|
1326
|
+
if (f.length > 0) {
|
|
1327
|
+
writer.writeString(
|
|
1328
|
+
3,
|
|
1329
|
+
f
|
|
1330
|
+
);
|
|
1331
|
+
}
|
|
1332
|
+
f = message.getAccountGroupRef();
|
|
1333
|
+
if (f.length > 0) {
|
|
1334
|
+
writer.writeString(
|
|
1335
|
+
4,
|
|
1336
|
+
f
|
|
1337
|
+
);
|
|
1338
|
+
}
|
|
1339
|
+
f = message.getAccountId();
|
|
1340
|
+
if (f.length > 0) {
|
|
1341
|
+
writer.writeString(
|
|
1342
|
+
5,
|
|
1343
|
+
f
|
|
1344
|
+
);
|
|
1345
|
+
}
|
|
1346
|
+
f = message.getCurrencyRef();
|
|
1347
|
+
if (f.length > 0) {
|
|
1348
|
+
writer.writeString(
|
|
1349
|
+
6,
|
|
1350
|
+
f
|
|
1351
|
+
);
|
|
1352
|
+
}
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* optional string account_type = 1;
|
|
1358
|
+
* @return {string}
|
|
1359
|
+
*/
|
|
1360
|
+
proto.BaseGeneralLedgerAccount.prototype.getAccountType = function() {
|
|
1361
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* @param {string} value
|
|
1367
|
+
* @return {!proto.BaseGeneralLedgerAccount} returns this
|
|
1368
|
+
*/
|
|
1369
|
+
proto.BaseGeneralLedgerAccount.prototype.setAccountType = function(value) {
|
|
1370
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* repeated GeneralLedgerLanguage language_description = 2;
|
|
1376
|
+
* @return {!Array<!proto.GeneralLedgerLanguage>}
|
|
1377
|
+
*/
|
|
1378
|
+
proto.BaseGeneralLedgerAccount.prototype.getLanguageDescriptionList = function() {
|
|
1379
|
+
return /** @type{!Array<!proto.GeneralLedgerLanguage>} */ (
|
|
1380
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GeneralLedgerLanguage, 2));
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* @param {!Array<!proto.GeneralLedgerLanguage>} value
|
|
1386
|
+
* @return {!proto.BaseGeneralLedgerAccount} returns this
|
|
1387
|
+
*/
|
|
1388
|
+
proto.BaseGeneralLedgerAccount.prototype.setLanguageDescriptionList = function(value) {
|
|
1389
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* @param {!proto.GeneralLedgerLanguage=} opt_value
|
|
1395
|
+
* @param {number=} opt_index
|
|
1396
|
+
* @return {!proto.GeneralLedgerLanguage}
|
|
1397
|
+
*/
|
|
1398
|
+
proto.BaseGeneralLedgerAccount.prototype.addLanguageDescription = function(opt_value, opt_index) {
|
|
1399
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.GeneralLedgerLanguage, opt_index);
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* Clears the list making it empty but non-null.
|
|
1405
|
+
* @return {!proto.BaseGeneralLedgerAccount} returns this
|
|
1406
|
+
*/
|
|
1407
|
+
proto.BaseGeneralLedgerAccount.prototype.clearLanguageDescriptionList = function() {
|
|
1408
|
+
return this.setLanguageDescriptionList([]);
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* optional string chart_of_account_ref = 3;
|
|
1414
|
+
* @return {string}
|
|
1415
|
+
*/
|
|
1416
|
+
proto.BaseGeneralLedgerAccount.prototype.getChartOfAccountRef = function() {
|
|
1417
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* @param {string} value
|
|
1423
|
+
* @return {!proto.BaseGeneralLedgerAccount} returns this
|
|
1424
|
+
*/
|
|
1425
|
+
proto.BaseGeneralLedgerAccount.prototype.setChartOfAccountRef = function(value) {
|
|
1426
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1427
|
+
};
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* optional string account_group_ref = 4;
|
|
1432
|
+
* @return {string}
|
|
1433
|
+
*/
|
|
1434
|
+
proto.BaseGeneralLedgerAccount.prototype.getAccountGroupRef = function() {
|
|
1435
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* @param {string} value
|
|
1441
|
+
* @return {!proto.BaseGeneralLedgerAccount} returns this
|
|
1442
|
+
*/
|
|
1443
|
+
proto.BaseGeneralLedgerAccount.prototype.setAccountGroupRef = function(value) {
|
|
1444
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* optional string account_id = 5;
|
|
1450
|
+
* @return {string}
|
|
1451
|
+
*/
|
|
1452
|
+
proto.BaseGeneralLedgerAccount.prototype.getAccountId = function() {
|
|
1453
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* @param {string} value
|
|
1459
|
+
* @return {!proto.BaseGeneralLedgerAccount} returns this
|
|
1460
|
+
*/
|
|
1461
|
+
proto.BaseGeneralLedgerAccount.prototype.setAccountId = function(value) {
|
|
1462
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* optional string currency_ref = 6;
|
|
1468
|
+
* @return {string}
|
|
1469
|
+
*/
|
|
1470
|
+
proto.BaseGeneralLedgerAccount.prototype.getCurrencyRef = function() {
|
|
1471
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* @param {string} value
|
|
1477
|
+
* @return {!proto.BaseGeneralLedgerAccount} returns this
|
|
1478
|
+
*/
|
|
1479
|
+
proto.BaseGeneralLedgerAccount.prototype.setCurrencyRef = function(value) {
|
|
1480
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
|
|
1487
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1488
|
+
/**
|
|
1489
|
+
* Creates an object representation of this proto.
|
|
1490
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1491
|
+
* Optional fields that are not set will be set to undefined.
|
|
1492
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1493
|
+
* For the list of reserved names please see:
|
|
1494
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1495
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1496
|
+
* JSPB instance for transitional soy proto support:
|
|
1497
|
+
* http://goto/soy-param-migration
|
|
1498
|
+
* @return {!Object}
|
|
1499
|
+
*/
|
|
1500
|
+
proto.CreateGeneralLedgerAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1501
|
+
return proto.CreateGeneralLedgerAccountRequest.toObject(opt_includeInstance, this);
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* Static version of the {@see toObject} method.
|
|
1507
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1508
|
+
* the JSPB instance for transitional soy proto support:
|
|
1509
|
+
* http://goto/soy-param-migration
|
|
1510
|
+
* @param {!proto.CreateGeneralLedgerAccountRequest} msg The msg instance to transform.
|
|
1511
|
+
* @return {!Object}
|
|
1512
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1513
|
+
*/
|
|
1514
|
+
proto.CreateGeneralLedgerAccountRequest.toObject = function(includeInstance, msg) {
|
|
1515
|
+
var f, obj = {
|
|
1516
|
+
baseGeneralLedgerAccount: (f = msg.getBaseGeneralLedgerAccount()) && proto.BaseGeneralLedgerAccount.toObject(includeInstance, f)
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
if (includeInstance) {
|
|
1520
|
+
obj.$jspbMessageInstance = msg;
|
|
1521
|
+
}
|
|
1522
|
+
return obj;
|
|
1523
|
+
};
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1529
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1530
|
+
* @return {!proto.CreateGeneralLedgerAccountRequest}
|
|
1531
|
+
*/
|
|
1532
|
+
proto.CreateGeneralLedgerAccountRequest.deserializeBinary = function(bytes) {
|
|
1533
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1534
|
+
var msg = new proto.CreateGeneralLedgerAccountRequest;
|
|
1535
|
+
return proto.CreateGeneralLedgerAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
1536
|
+
};
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1541
|
+
* given reader into the given message object.
|
|
1542
|
+
* @param {!proto.CreateGeneralLedgerAccountRequest} msg The message object to deserialize into.
|
|
1543
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1544
|
+
* @return {!proto.CreateGeneralLedgerAccountRequest}
|
|
1545
|
+
*/
|
|
1546
|
+
proto.CreateGeneralLedgerAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1547
|
+
while (reader.nextField()) {
|
|
1548
|
+
if (reader.isEndGroup()) {
|
|
1549
|
+
break;
|
|
1550
|
+
}
|
|
1551
|
+
var field = reader.getFieldNumber();
|
|
1552
|
+
switch (field) {
|
|
1553
|
+
case 1:
|
|
1554
|
+
var value = new proto.BaseGeneralLedgerAccount;
|
|
1555
|
+
reader.readMessage(value,proto.BaseGeneralLedgerAccount.deserializeBinaryFromReader);
|
|
1556
|
+
msg.setBaseGeneralLedgerAccount(value);
|
|
1557
|
+
break;
|
|
1558
|
+
default:
|
|
1559
|
+
reader.skipField();
|
|
1560
|
+
break;
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
return msg;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1569
|
+
* @return {!Uint8Array}
|
|
1570
|
+
*/
|
|
1571
|
+
proto.CreateGeneralLedgerAccountRequest.prototype.serializeBinary = function() {
|
|
1572
|
+
var writer = new jspb.BinaryWriter();
|
|
1573
|
+
proto.CreateGeneralLedgerAccountRequest.serializeBinaryToWriter(this, writer);
|
|
1574
|
+
return writer.getResultBuffer();
|
|
1575
|
+
};
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1580
|
+
* format), writing to the given BinaryWriter.
|
|
1581
|
+
* @param {!proto.CreateGeneralLedgerAccountRequest} message
|
|
1582
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1583
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1584
|
+
*/
|
|
1585
|
+
proto.CreateGeneralLedgerAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1586
|
+
var f = undefined;
|
|
1587
|
+
f = message.getBaseGeneralLedgerAccount();
|
|
1588
|
+
if (f != null) {
|
|
1589
|
+
writer.writeMessage(
|
|
1590
|
+
1,
|
|
1591
|
+
f,
|
|
1592
|
+
proto.BaseGeneralLedgerAccount.serializeBinaryToWriter
|
|
1593
|
+
);
|
|
1594
|
+
}
|
|
1595
|
+
};
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
/**
|
|
1599
|
+
* optional BaseGeneralLedgerAccount base_general_ledger_account = 1;
|
|
1600
|
+
* @return {?proto.BaseGeneralLedgerAccount}
|
|
1601
|
+
*/
|
|
1602
|
+
proto.CreateGeneralLedgerAccountRequest.prototype.getBaseGeneralLedgerAccount = function() {
|
|
1603
|
+
return /** @type{?proto.BaseGeneralLedgerAccount} */ (
|
|
1604
|
+
jspb.Message.getWrapperField(this, proto.BaseGeneralLedgerAccount, 1));
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* @param {?proto.BaseGeneralLedgerAccount|undefined} value
|
|
1610
|
+
* @return {!proto.CreateGeneralLedgerAccountRequest} returns this
|
|
1611
|
+
*/
|
|
1612
|
+
proto.CreateGeneralLedgerAccountRequest.prototype.setBaseGeneralLedgerAccount = function(value) {
|
|
1613
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1614
|
+
};
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* Clears the message field making it undefined.
|
|
1619
|
+
* @return {!proto.CreateGeneralLedgerAccountRequest} returns this
|
|
1620
|
+
*/
|
|
1621
|
+
proto.CreateGeneralLedgerAccountRequest.prototype.clearBaseGeneralLedgerAccount = function() {
|
|
1622
|
+
return this.setBaseGeneralLedgerAccount(undefined);
|
|
1623
|
+
};
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* Returns whether this field is set.
|
|
1628
|
+
* @return {boolean}
|
|
1629
|
+
*/
|
|
1630
|
+
proto.CreateGeneralLedgerAccountRequest.prototype.hasBaseGeneralLedgerAccount = function() {
|
|
1631
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1639
|
+
/**
|
|
1640
|
+
* Creates an object representation of this proto.
|
|
1641
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1642
|
+
* Optional fields that are not set will be set to undefined.
|
|
1643
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1644
|
+
* For the list of reserved names please see:
|
|
1645
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1646
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1647
|
+
* JSPB instance for transitional soy proto support:
|
|
1648
|
+
* http://goto/soy-param-migration
|
|
1649
|
+
* @return {!Object}
|
|
1650
|
+
*/
|
|
1651
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1652
|
+
return proto.CreateGeneralLedgerAccountResponse.toObject(opt_includeInstance, this);
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* Static version of the {@see toObject} method.
|
|
1658
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1659
|
+
* the JSPB instance for transitional soy proto support:
|
|
1660
|
+
* http://goto/soy-param-migration
|
|
1661
|
+
* @param {!proto.CreateGeneralLedgerAccountResponse} msg The msg instance to transform.
|
|
1662
|
+
* @return {!Object}
|
|
1663
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1664
|
+
*/
|
|
1665
|
+
proto.CreateGeneralLedgerAccountResponse.toObject = function(includeInstance, msg) {
|
|
1666
|
+
var f, obj = {
|
|
1667
|
+
generalLedgerAccount: (f = msg.getGeneralLedgerAccount()) && proto.GeneralLedgerAccount.toObject(includeInstance, f),
|
|
1668
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1669
|
+
};
|
|
1670
|
+
|
|
1671
|
+
if (includeInstance) {
|
|
1672
|
+
obj.$jspbMessageInstance = msg;
|
|
1673
|
+
}
|
|
1674
|
+
return obj;
|
|
1675
|
+
};
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1681
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1682
|
+
* @return {!proto.CreateGeneralLedgerAccountResponse}
|
|
1683
|
+
*/
|
|
1684
|
+
proto.CreateGeneralLedgerAccountResponse.deserializeBinary = function(bytes) {
|
|
1685
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1686
|
+
var msg = new proto.CreateGeneralLedgerAccountResponse;
|
|
1687
|
+
return proto.CreateGeneralLedgerAccountResponse.deserializeBinaryFromReader(msg, reader);
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1693
|
+
* given reader into the given message object.
|
|
1694
|
+
* @param {!proto.CreateGeneralLedgerAccountResponse} msg The message object to deserialize into.
|
|
1695
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1696
|
+
* @return {!proto.CreateGeneralLedgerAccountResponse}
|
|
1697
|
+
*/
|
|
1698
|
+
proto.CreateGeneralLedgerAccountResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1699
|
+
while (reader.nextField()) {
|
|
1700
|
+
if (reader.isEndGroup()) {
|
|
1701
|
+
break;
|
|
1702
|
+
}
|
|
1703
|
+
var field = reader.getFieldNumber();
|
|
1704
|
+
switch (field) {
|
|
1705
|
+
case 1:
|
|
1706
|
+
var value = new proto.GeneralLedgerAccount;
|
|
1707
|
+
reader.readMessage(value,proto.GeneralLedgerAccount.deserializeBinaryFromReader);
|
|
1708
|
+
msg.setGeneralLedgerAccount(value);
|
|
1709
|
+
break;
|
|
1710
|
+
case 2:
|
|
1711
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1712
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1713
|
+
msg.setMeta(value);
|
|
1714
|
+
break;
|
|
1715
|
+
default:
|
|
1716
|
+
reader.skipField();
|
|
1717
|
+
break;
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
return msg;
|
|
1721
|
+
};
|
|
1722
|
+
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1726
|
+
* @return {!Uint8Array}
|
|
1727
|
+
*/
|
|
1728
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.serializeBinary = function() {
|
|
1729
|
+
var writer = new jspb.BinaryWriter();
|
|
1730
|
+
proto.CreateGeneralLedgerAccountResponse.serializeBinaryToWriter(this, writer);
|
|
1731
|
+
return writer.getResultBuffer();
|
|
1732
|
+
};
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
/**
|
|
1736
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1737
|
+
* format), writing to the given BinaryWriter.
|
|
1738
|
+
* @param {!proto.CreateGeneralLedgerAccountResponse} message
|
|
1739
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1740
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1741
|
+
*/
|
|
1742
|
+
proto.CreateGeneralLedgerAccountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1743
|
+
var f = undefined;
|
|
1744
|
+
f = message.getGeneralLedgerAccount();
|
|
1745
|
+
if (f != null) {
|
|
1746
|
+
writer.writeMessage(
|
|
1747
|
+
1,
|
|
1748
|
+
f,
|
|
1749
|
+
proto.GeneralLedgerAccount.serializeBinaryToWriter
|
|
1750
|
+
);
|
|
1751
|
+
}
|
|
1752
|
+
f = message.getMeta();
|
|
1753
|
+
if (f != null) {
|
|
1754
|
+
writer.writeMessage(
|
|
1755
|
+
2,
|
|
1756
|
+
f,
|
|
1757
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1758
|
+
);
|
|
1759
|
+
}
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* optional GeneralLedgerAccount general_ledger_account = 1;
|
|
1765
|
+
* @return {?proto.GeneralLedgerAccount}
|
|
1766
|
+
*/
|
|
1767
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.getGeneralLedgerAccount = function() {
|
|
1768
|
+
return /** @type{?proto.GeneralLedgerAccount} */ (
|
|
1769
|
+
jspb.Message.getWrapperField(this, proto.GeneralLedgerAccount, 1));
|
|
1770
|
+
};
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* @param {?proto.GeneralLedgerAccount|undefined} value
|
|
1775
|
+
* @return {!proto.CreateGeneralLedgerAccountResponse} returns this
|
|
1776
|
+
*/
|
|
1777
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.setGeneralLedgerAccount = function(value) {
|
|
1778
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* Clears the message field making it undefined.
|
|
1784
|
+
* @return {!proto.CreateGeneralLedgerAccountResponse} returns this
|
|
1785
|
+
*/
|
|
1786
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.clearGeneralLedgerAccount = function() {
|
|
1787
|
+
return this.setGeneralLedgerAccount(undefined);
|
|
1788
|
+
};
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* Returns whether this field is set.
|
|
1793
|
+
* @return {boolean}
|
|
1794
|
+
*/
|
|
1795
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.hasGeneralLedgerAccount = function() {
|
|
1796
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1802
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1803
|
+
*/
|
|
1804
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.getMeta = function() {
|
|
1805
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1806
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1807
|
+
};
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
/**
|
|
1811
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1812
|
+
* @return {!proto.CreateGeneralLedgerAccountResponse} returns this
|
|
1813
|
+
*/
|
|
1814
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.setMeta = function(value) {
|
|
1815
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1816
|
+
};
|
|
1817
|
+
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* Clears the message field making it undefined.
|
|
1821
|
+
* @return {!proto.CreateGeneralLedgerAccountResponse} returns this
|
|
1822
|
+
*/
|
|
1823
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.clearMeta = function() {
|
|
1824
|
+
return this.setMeta(undefined);
|
|
1825
|
+
};
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* Returns whether this field is set.
|
|
1830
|
+
* @return {boolean}
|
|
1831
|
+
*/
|
|
1832
|
+
proto.CreateGeneralLedgerAccountResponse.prototype.hasMeta = function() {
|
|
1833
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1841
|
+
/**
|
|
1842
|
+
* Creates an object representation of this proto.
|
|
1843
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1844
|
+
* Optional fields that are not set will be set to undefined.
|
|
1845
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1846
|
+
* For the list of reserved names please see:
|
|
1847
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1848
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1849
|
+
* JSPB instance for transitional soy proto support:
|
|
1850
|
+
* http://goto/soy-param-migration
|
|
1851
|
+
* @return {!Object}
|
|
1852
|
+
*/
|
|
1853
|
+
proto.UpdateGeneralLedgerAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1854
|
+
return proto.UpdateGeneralLedgerAccountRequest.toObject(opt_includeInstance, this);
|
|
1855
|
+
};
|
|
1856
|
+
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* Static version of the {@see toObject} method.
|
|
1860
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1861
|
+
* the JSPB instance for transitional soy proto support:
|
|
1862
|
+
* http://goto/soy-param-migration
|
|
1863
|
+
* @param {!proto.UpdateGeneralLedgerAccountRequest} msg The msg instance to transform.
|
|
1864
|
+
* @return {!Object}
|
|
1865
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1866
|
+
*/
|
|
1867
|
+
proto.UpdateGeneralLedgerAccountRequest.toObject = function(includeInstance, msg) {
|
|
1868
|
+
var f, obj = {
|
|
1869
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1870
|
+
baseGeneralLedgerAccount: (f = msg.getBaseGeneralLedgerAccount()) && proto.BaseGeneralLedgerAccount.toObject(includeInstance, f)
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1873
|
+
if (includeInstance) {
|
|
1874
|
+
obj.$jspbMessageInstance = msg;
|
|
1875
|
+
}
|
|
1876
|
+
return obj;
|
|
1877
|
+
};
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1883
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1884
|
+
* @return {!proto.UpdateGeneralLedgerAccountRequest}
|
|
1885
|
+
*/
|
|
1886
|
+
proto.UpdateGeneralLedgerAccountRequest.deserializeBinary = function(bytes) {
|
|
1887
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1888
|
+
var msg = new proto.UpdateGeneralLedgerAccountRequest;
|
|
1889
|
+
return proto.UpdateGeneralLedgerAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
1890
|
+
};
|
|
1891
|
+
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1895
|
+
* given reader into the given message object.
|
|
1896
|
+
* @param {!proto.UpdateGeneralLedgerAccountRequest} msg The message object to deserialize into.
|
|
1897
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1898
|
+
* @return {!proto.UpdateGeneralLedgerAccountRequest}
|
|
1899
|
+
*/
|
|
1900
|
+
proto.UpdateGeneralLedgerAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1901
|
+
while (reader.nextField()) {
|
|
1902
|
+
if (reader.isEndGroup()) {
|
|
1903
|
+
break;
|
|
1904
|
+
}
|
|
1905
|
+
var field = reader.getFieldNumber();
|
|
1906
|
+
switch (field) {
|
|
1907
|
+
case 1:
|
|
1908
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1909
|
+
msg.setReferencesId(value);
|
|
1910
|
+
break;
|
|
1911
|
+
case 2:
|
|
1912
|
+
var value = new proto.BaseGeneralLedgerAccount;
|
|
1913
|
+
reader.readMessage(value,proto.BaseGeneralLedgerAccount.deserializeBinaryFromReader);
|
|
1914
|
+
msg.setBaseGeneralLedgerAccount(value);
|
|
1915
|
+
break;
|
|
1916
|
+
default:
|
|
1917
|
+
reader.skipField();
|
|
1918
|
+
break;
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
return msg;
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1927
|
+
* @return {!Uint8Array}
|
|
1928
|
+
*/
|
|
1929
|
+
proto.UpdateGeneralLedgerAccountRequest.prototype.serializeBinary = function() {
|
|
1930
|
+
var writer = new jspb.BinaryWriter();
|
|
1931
|
+
proto.UpdateGeneralLedgerAccountRequest.serializeBinaryToWriter(this, writer);
|
|
1932
|
+
return writer.getResultBuffer();
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1938
|
+
* format), writing to the given BinaryWriter.
|
|
1939
|
+
* @param {!proto.UpdateGeneralLedgerAccountRequest} message
|
|
1940
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1941
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1942
|
+
*/
|
|
1943
|
+
proto.UpdateGeneralLedgerAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1944
|
+
var f = undefined;
|
|
1945
|
+
f = message.getReferencesId();
|
|
1946
|
+
if (f.length > 0) {
|
|
1947
|
+
writer.writeString(
|
|
1948
|
+
1,
|
|
1949
|
+
f
|
|
1950
|
+
);
|
|
1951
|
+
}
|
|
1952
|
+
f = message.getBaseGeneralLedgerAccount();
|
|
1953
|
+
if (f != null) {
|
|
1954
|
+
writer.writeMessage(
|
|
1955
|
+
2,
|
|
1956
|
+
f,
|
|
1957
|
+
proto.BaseGeneralLedgerAccount.serializeBinaryToWriter
|
|
1958
|
+
);
|
|
1959
|
+
}
|
|
1960
|
+
};
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* optional string references_id = 1;
|
|
1965
|
+
* @return {string}
|
|
1966
|
+
*/
|
|
1967
|
+
proto.UpdateGeneralLedgerAccountRequest.prototype.getReferencesId = function() {
|
|
1968
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1969
|
+
};
|
|
1970
|
+
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* @param {string} value
|
|
1974
|
+
* @return {!proto.UpdateGeneralLedgerAccountRequest} returns this
|
|
1975
|
+
*/
|
|
1976
|
+
proto.UpdateGeneralLedgerAccountRequest.prototype.setReferencesId = function(value) {
|
|
1977
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1978
|
+
};
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
/**
|
|
1982
|
+
* optional BaseGeneralLedgerAccount base_general_ledger_account = 2;
|
|
1983
|
+
* @return {?proto.BaseGeneralLedgerAccount}
|
|
1984
|
+
*/
|
|
1985
|
+
proto.UpdateGeneralLedgerAccountRequest.prototype.getBaseGeneralLedgerAccount = function() {
|
|
1986
|
+
return /** @type{?proto.BaseGeneralLedgerAccount} */ (
|
|
1987
|
+
jspb.Message.getWrapperField(this, proto.BaseGeneralLedgerAccount, 2));
|
|
1988
|
+
};
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* @param {?proto.BaseGeneralLedgerAccount|undefined} value
|
|
1993
|
+
* @return {!proto.UpdateGeneralLedgerAccountRequest} returns this
|
|
1994
|
+
*/
|
|
1995
|
+
proto.UpdateGeneralLedgerAccountRequest.prototype.setBaseGeneralLedgerAccount = function(value) {
|
|
1996
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1997
|
+
};
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
/**
|
|
2001
|
+
* Clears the message field making it undefined.
|
|
2002
|
+
* @return {!proto.UpdateGeneralLedgerAccountRequest} returns this
|
|
2003
|
+
*/
|
|
2004
|
+
proto.UpdateGeneralLedgerAccountRequest.prototype.clearBaseGeneralLedgerAccount = function() {
|
|
2005
|
+
return this.setBaseGeneralLedgerAccount(undefined);
|
|
2006
|
+
};
|
|
2007
|
+
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* Returns whether this field is set.
|
|
2011
|
+
* @return {boolean}
|
|
2012
|
+
*/
|
|
2013
|
+
proto.UpdateGeneralLedgerAccountRequest.prototype.hasBaseGeneralLedgerAccount = function() {
|
|
2014
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2015
|
+
};
|
|
2016
|
+
|
|
2017
|
+
|
|
2018
|
+
|
|
2019
|
+
|
|
2020
|
+
|
|
2021
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2022
|
+
/**
|
|
2023
|
+
* Creates an object representation of this proto.
|
|
2024
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2025
|
+
* Optional fields that are not set will be set to undefined.
|
|
2026
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2027
|
+
* For the list of reserved names please see:
|
|
2028
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2029
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2030
|
+
* JSPB instance for transitional soy proto support:
|
|
2031
|
+
* http://goto/soy-param-migration
|
|
2032
|
+
* @return {!Object}
|
|
2033
|
+
*/
|
|
2034
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2035
|
+
return proto.UpdateGeneralLedgerAccountResponse.toObject(opt_includeInstance, this);
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
|
|
2039
|
+
/**
|
|
2040
|
+
* Static version of the {@see toObject} method.
|
|
2041
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2042
|
+
* the JSPB instance for transitional soy proto support:
|
|
2043
|
+
* http://goto/soy-param-migration
|
|
2044
|
+
* @param {!proto.UpdateGeneralLedgerAccountResponse} msg The msg instance to transform.
|
|
2045
|
+
* @return {!Object}
|
|
2046
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2047
|
+
*/
|
|
2048
|
+
proto.UpdateGeneralLedgerAccountResponse.toObject = function(includeInstance, msg) {
|
|
2049
|
+
var f, obj = {
|
|
2050
|
+
generalLedgerAccount: (f = msg.getGeneralLedgerAccount()) && proto.GeneralLedgerAccount.toObject(includeInstance, f),
|
|
2051
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
if (includeInstance) {
|
|
2055
|
+
obj.$jspbMessageInstance = msg;
|
|
2056
|
+
}
|
|
2057
|
+
return obj;
|
|
2058
|
+
};
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2064
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2065
|
+
* @return {!proto.UpdateGeneralLedgerAccountResponse}
|
|
2066
|
+
*/
|
|
2067
|
+
proto.UpdateGeneralLedgerAccountResponse.deserializeBinary = function(bytes) {
|
|
2068
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2069
|
+
var msg = new proto.UpdateGeneralLedgerAccountResponse;
|
|
2070
|
+
return proto.UpdateGeneralLedgerAccountResponse.deserializeBinaryFromReader(msg, reader);
|
|
2071
|
+
};
|
|
2072
|
+
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2076
|
+
* given reader into the given message object.
|
|
2077
|
+
* @param {!proto.UpdateGeneralLedgerAccountResponse} msg The message object to deserialize into.
|
|
2078
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2079
|
+
* @return {!proto.UpdateGeneralLedgerAccountResponse}
|
|
2080
|
+
*/
|
|
2081
|
+
proto.UpdateGeneralLedgerAccountResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2082
|
+
while (reader.nextField()) {
|
|
2083
|
+
if (reader.isEndGroup()) {
|
|
2084
|
+
break;
|
|
2085
|
+
}
|
|
2086
|
+
var field = reader.getFieldNumber();
|
|
2087
|
+
switch (field) {
|
|
2088
|
+
case 1:
|
|
2089
|
+
var value = new proto.GeneralLedgerAccount;
|
|
2090
|
+
reader.readMessage(value,proto.GeneralLedgerAccount.deserializeBinaryFromReader);
|
|
2091
|
+
msg.setGeneralLedgerAccount(value);
|
|
2092
|
+
break;
|
|
2093
|
+
case 2:
|
|
2094
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2095
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2096
|
+
msg.setMeta(value);
|
|
2097
|
+
break;
|
|
2098
|
+
default:
|
|
2099
|
+
reader.skipField();
|
|
2100
|
+
break;
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
return msg;
|
|
2104
|
+
};
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2109
|
+
* @return {!Uint8Array}
|
|
2110
|
+
*/
|
|
2111
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.serializeBinary = function() {
|
|
2112
|
+
var writer = new jspb.BinaryWriter();
|
|
2113
|
+
proto.UpdateGeneralLedgerAccountResponse.serializeBinaryToWriter(this, writer);
|
|
2114
|
+
return writer.getResultBuffer();
|
|
2115
|
+
};
|
|
2116
|
+
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2120
|
+
* format), writing to the given BinaryWriter.
|
|
2121
|
+
* @param {!proto.UpdateGeneralLedgerAccountResponse} message
|
|
2122
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2123
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2124
|
+
*/
|
|
2125
|
+
proto.UpdateGeneralLedgerAccountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2126
|
+
var f = undefined;
|
|
2127
|
+
f = message.getGeneralLedgerAccount();
|
|
2128
|
+
if (f != null) {
|
|
2129
|
+
writer.writeMessage(
|
|
2130
|
+
1,
|
|
2131
|
+
f,
|
|
2132
|
+
proto.GeneralLedgerAccount.serializeBinaryToWriter
|
|
2133
|
+
);
|
|
2134
|
+
}
|
|
2135
|
+
f = message.getMeta();
|
|
2136
|
+
if (f != null) {
|
|
2137
|
+
writer.writeMessage(
|
|
2138
|
+
2,
|
|
2139
|
+
f,
|
|
2140
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2141
|
+
);
|
|
2142
|
+
}
|
|
2143
|
+
};
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* optional GeneralLedgerAccount general_ledger_account = 1;
|
|
2148
|
+
* @return {?proto.GeneralLedgerAccount}
|
|
2149
|
+
*/
|
|
2150
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.getGeneralLedgerAccount = function() {
|
|
2151
|
+
return /** @type{?proto.GeneralLedgerAccount} */ (
|
|
2152
|
+
jspb.Message.getWrapperField(this, proto.GeneralLedgerAccount, 1));
|
|
2153
|
+
};
|
|
2154
|
+
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* @param {?proto.GeneralLedgerAccount|undefined} value
|
|
2158
|
+
* @return {!proto.UpdateGeneralLedgerAccountResponse} returns this
|
|
2159
|
+
*/
|
|
2160
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.setGeneralLedgerAccount = function(value) {
|
|
2161
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2162
|
+
};
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* Clears the message field making it undefined.
|
|
2167
|
+
* @return {!proto.UpdateGeneralLedgerAccountResponse} returns this
|
|
2168
|
+
*/
|
|
2169
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.clearGeneralLedgerAccount = function() {
|
|
2170
|
+
return this.setGeneralLedgerAccount(undefined);
|
|
2171
|
+
};
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* Returns whether this field is set.
|
|
2176
|
+
* @return {boolean}
|
|
2177
|
+
*/
|
|
2178
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.hasGeneralLedgerAccount = function() {
|
|
2179
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2180
|
+
};
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
/**
|
|
2184
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2185
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2186
|
+
*/
|
|
2187
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.getMeta = function() {
|
|
2188
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2189
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2190
|
+
};
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2195
|
+
* @return {!proto.UpdateGeneralLedgerAccountResponse} returns this
|
|
2196
|
+
*/
|
|
2197
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.setMeta = function(value) {
|
|
2198
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2199
|
+
};
|
|
2200
|
+
|
|
2201
|
+
|
|
2202
|
+
/**
|
|
2203
|
+
* Clears the message field making it undefined.
|
|
2204
|
+
* @return {!proto.UpdateGeneralLedgerAccountResponse} returns this
|
|
2205
|
+
*/
|
|
2206
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.clearMeta = function() {
|
|
2207
|
+
return this.setMeta(undefined);
|
|
2208
|
+
};
|
|
2209
|
+
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
* Returns whether this field is set.
|
|
2213
|
+
* @return {boolean}
|
|
2214
|
+
*/
|
|
2215
|
+
proto.UpdateGeneralLedgerAccountResponse.prototype.hasMeta = function() {
|
|
2216
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2224
|
+
/**
|
|
2225
|
+
* Creates an object representation of this proto.
|
|
2226
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2227
|
+
* Optional fields that are not set will be set to undefined.
|
|
2228
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2229
|
+
* For the list of reserved names please see:
|
|
2230
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2231
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2232
|
+
* JSPB instance for transitional soy proto support:
|
|
2233
|
+
* http://goto/soy-param-migration
|
|
2234
|
+
* @return {!Object}
|
|
2235
|
+
*/
|
|
2236
|
+
proto.GetGeneralLedgerAccountByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2237
|
+
return proto.GetGeneralLedgerAccountByIdRequest.toObject(opt_includeInstance, this);
|
|
2238
|
+
};
|
|
2239
|
+
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* Static version of the {@see toObject} method.
|
|
2243
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2244
|
+
* the JSPB instance for transitional soy proto support:
|
|
2245
|
+
* http://goto/soy-param-migration
|
|
2246
|
+
* @param {!proto.GetGeneralLedgerAccountByIdRequest} msg The msg instance to transform.
|
|
2247
|
+
* @return {!Object}
|
|
2248
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2249
|
+
*/
|
|
2250
|
+
proto.GetGeneralLedgerAccountByIdRequest.toObject = function(includeInstance, msg) {
|
|
2251
|
+
var f, obj = {
|
|
2252
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2253
|
+
};
|
|
2254
|
+
|
|
2255
|
+
if (includeInstance) {
|
|
2256
|
+
obj.$jspbMessageInstance = msg;
|
|
2257
|
+
}
|
|
2258
|
+
return obj;
|
|
2259
|
+
};
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2265
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2266
|
+
* @return {!proto.GetGeneralLedgerAccountByIdRequest}
|
|
2267
|
+
*/
|
|
2268
|
+
proto.GetGeneralLedgerAccountByIdRequest.deserializeBinary = function(bytes) {
|
|
2269
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2270
|
+
var msg = new proto.GetGeneralLedgerAccountByIdRequest;
|
|
2271
|
+
return proto.GetGeneralLedgerAccountByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2277
|
+
* given reader into the given message object.
|
|
2278
|
+
* @param {!proto.GetGeneralLedgerAccountByIdRequest} msg The message object to deserialize into.
|
|
2279
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2280
|
+
* @return {!proto.GetGeneralLedgerAccountByIdRequest}
|
|
2281
|
+
*/
|
|
2282
|
+
proto.GetGeneralLedgerAccountByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2283
|
+
while (reader.nextField()) {
|
|
2284
|
+
if (reader.isEndGroup()) {
|
|
2285
|
+
break;
|
|
2286
|
+
}
|
|
2287
|
+
var field = reader.getFieldNumber();
|
|
2288
|
+
switch (field) {
|
|
2289
|
+
case 1:
|
|
2290
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2291
|
+
msg.setReferencesId(value);
|
|
2292
|
+
break;
|
|
2293
|
+
default:
|
|
2294
|
+
reader.skipField();
|
|
2295
|
+
break;
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
return msg;
|
|
2299
|
+
};
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
/**
|
|
2303
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2304
|
+
* @return {!Uint8Array}
|
|
2305
|
+
*/
|
|
2306
|
+
proto.GetGeneralLedgerAccountByIdRequest.prototype.serializeBinary = function() {
|
|
2307
|
+
var writer = new jspb.BinaryWriter();
|
|
2308
|
+
proto.GetGeneralLedgerAccountByIdRequest.serializeBinaryToWriter(this, writer);
|
|
2309
|
+
return writer.getResultBuffer();
|
|
2310
|
+
};
|
|
2311
|
+
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2315
|
+
* format), writing to the given BinaryWriter.
|
|
2316
|
+
* @param {!proto.GetGeneralLedgerAccountByIdRequest} message
|
|
2317
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2318
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2319
|
+
*/
|
|
2320
|
+
proto.GetGeneralLedgerAccountByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2321
|
+
var f = undefined;
|
|
2322
|
+
f = message.getReferencesId();
|
|
2323
|
+
if (f.length > 0) {
|
|
2324
|
+
writer.writeString(
|
|
2325
|
+
1,
|
|
2326
|
+
f
|
|
2327
|
+
);
|
|
2328
|
+
}
|
|
2329
|
+
};
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* optional string references_id = 1;
|
|
2334
|
+
* @return {string}
|
|
2335
|
+
*/
|
|
2336
|
+
proto.GetGeneralLedgerAccountByIdRequest.prototype.getReferencesId = function() {
|
|
2337
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2338
|
+
};
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* @param {string} value
|
|
2343
|
+
* @return {!proto.GetGeneralLedgerAccountByIdRequest} returns this
|
|
2344
|
+
*/
|
|
2345
|
+
proto.GetGeneralLedgerAccountByIdRequest.prototype.setReferencesId = function(value) {
|
|
2346
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2347
|
+
};
|
|
2348
|
+
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2354
|
+
/**
|
|
2355
|
+
* Creates an object representation of this proto.
|
|
2356
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2357
|
+
* Optional fields that are not set will be set to undefined.
|
|
2358
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2359
|
+
* For the list of reserved names please see:
|
|
2360
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2361
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2362
|
+
* JSPB instance for transitional soy proto support:
|
|
2363
|
+
* http://goto/soy-param-migration
|
|
2364
|
+
* @return {!Object}
|
|
2365
|
+
*/
|
|
2366
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2367
|
+
return proto.GetGeneralLedgerAccountByIdResponse.toObject(opt_includeInstance, this);
|
|
2368
|
+
};
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
* Static version of the {@see toObject} method.
|
|
2373
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2374
|
+
* the JSPB instance for transitional soy proto support:
|
|
2375
|
+
* http://goto/soy-param-migration
|
|
2376
|
+
* @param {!proto.GetGeneralLedgerAccountByIdResponse} msg The msg instance to transform.
|
|
2377
|
+
* @return {!Object}
|
|
2378
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2379
|
+
*/
|
|
2380
|
+
proto.GetGeneralLedgerAccountByIdResponse.toObject = function(includeInstance, msg) {
|
|
2381
|
+
var f, obj = {
|
|
2382
|
+
generalLedgerAccount: (f = msg.getGeneralLedgerAccount()) && proto.GeneralLedgerAccount.toObject(includeInstance, f),
|
|
2383
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2384
|
+
};
|
|
2385
|
+
|
|
2386
|
+
if (includeInstance) {
|
|
2387
|
+
obj.$jspbMessageInstance = msg;
|
|
2388
|
+
}
|
|
2389
|
+
return obj;
|
|
2390
|
+
};
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2396
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2397
|
+
* @return {!proto.GetGeneralLedgerAccountByIdResponse}
|
|
2398
|
+
*/
|
|
2399
|
+
proto.GetGeneralLedgerAccountByIdResponse.deserializeBinary = function(bytes) {
|
|
2400
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2401
|
+
var msg = new proto.GetGeneralLedgerAccountByIdResponse;
|
|
2402
|
+
return proto.GetGeneralLedgerAccountByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
2403
|
+
};
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2408
|
+
* given reader into the given message object.
|
|
2409
|
+
* @param {!proto.GetGeneralLedgerAccountByIdResponse} msg The message object to deserialize into.
|
|
2410
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2411
|
+
* @return {!proto.GetGeneralLedgerAccountByIdResponse}
|
|
2412
|
+
*/
|
|
2413
|
+
proto.GetGeneralLedgerAccountByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2414
|
+
while (reader.nextField()) {
|
|
2415
|
+
if (reader.isEndGroup()) {
|
|
2416
|
+
break;
|
|
2417
|
+
}
|
|
2418
|
+
var field = reader.getFieldNumber();
|
|
2419
|
+
switch (field) {
|
|
2420
|
+
case 1:
|
|
2421
|
+
var value = new proto.GeneralLedgerAccount;
|
|
2422
|
+
reader.readMessage(value,proto.GeneralLedgerAccount.deserializeBinaryFromReader);
|
|
2423
|
+
msg.setGeneralLedgerAccount(value);
|
|
2424
|
+
break;
|
|
2425
|
+
case 2:
|
|
2426
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2427
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2428
|
+
msg.setMeta(value);
|
|
2429
|
+
break;
|
|
2430
|
+
default:
|
|
2431
|
+
reader.skipField();
|
|
2432
|
+
break;
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
return msg;
|
|
2436
|
+
};
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2441
|
+
* @return {!Uint8Array}
|
|
2442
|
+
*/
|
|
2443
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.serializeBinary = function() {
|
|
2444
|
+
var writer = new jspb.BinaryWriter();
|
|
2445
|
+
proto.GetGeneralLedgerAccountByIdResponse.serializeBinaryToWriter(this, writer);
|
|
2446
|
+
return writer.getResultBuffer();
|
|
2447
|
+
};
|
|
2448
|
+
|
|
2449
|
+
|
|
2450
|
+
/**
|
|
2451
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2452
|
+
* format), writing to the given BinaryWriter.
|
|
2453
|
+
* @param {!proto.GetGeneralLedgerAccountByIdResponse} message
|
|
2454
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2455
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2456
|
+
*/
|
|
2457
|
+
proto.GetGeneralLedgerAccountByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2458
|
+
var f = undefined;
|
|
2459
|
+
f = message.getGeneralLedgerAccount();
|
|
2460
|
+
if (f != null) {
|
|
2461
|
+
writer.writeMessage(
|
|
2462
|
+
1,
|
|
2463
|
+
f,
|
|
2464
|
+
proto.GeneralLedgerAccount.serializeBinaryToWriter
|
|
2465
|
+
);
|
|
2466
|
+
}
|
|
2467
|
+
f = message.getMeta();
|
|
2468
|
+
if (f != null) {
|
|
2469
|
+
writer.writeMessage(
|
|
2470
|
+
2,
|
|
2471
|
+
f,
|
|
2472
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2473
|
+
);
|
|
2474
|
+
}
|
|
2475
|
+
};
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* optional GeneralLedgerAccount general_ledger_account = 1;
|
|
2480
|
+
* @return {?proto.GeneralLedgerAccount}
|
|
2481
|
+
*/
|
|
2482
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.getGeneralLedgerAccount = function() {
|
|
2483
|
+
return /** @type{?proto.GeneralLedgerAccount} */ (
|
|
2484
|
+
jspb.Message.getWrapperField(this, proto.GeneralLedgerAccount, 1));
|
|
2485
|
+
};
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* @param {?proto.GeneralLedgerAccount|undefined} value
|
|
2490
|
+
* @return {!proto.GetGeneralLedgerAccountByIdResponse} returns this
|
|
2491
|
+
*/
|
|
2492
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.setGeneralLedgerAccount = function(value) {
|
|
2493
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2494
|
+
};
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
/**
|
|
2498
|
+
* Clears the message field making it undefined.
|
|
2499
|
+
* @return {!proto.GetGeneralLedgerAccountByIdResponse} returns this
|
|
2500
|
+
*/
|
|
2501
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.clearGeneralLedgerAccount = function() {
|
|
2502
|
+
return this.setGeneralLedgerAccount(undefined);
|
|
2503
|
+
};
|
|
2504
|
+
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* Returns whether this field is set.
|
|
2508
|
+
* @return {boolean}
|
|
2509
|
+
*/
|
|
2510
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.hasGeneralLedgerAccount = function() {
|
|
2511
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2512
|
+
};
|
|
2513
|
+
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2517
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2518
|
+
*/
|
|
2519
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.getMeta = function() {
|
|
2520
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2521
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2522
|
+
};
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2527
|
+
* @return {!proto.GetGeneralLedgerAccountByIdResponse} returns this
|
|
2528
|
+
*/
|
|
2529
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.setMeta = function(value) {
|
|
2530
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2531
|
+
};
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
/**
|
|
2535
|
+
* Clears the message field making it undefined.
|
|
2536
|
+
* @return {!proto.GetGeneralLedgerAccountByIdResponse} returns this
|
|
2537
|
+
*/
|
|
2538
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.clearMeta = function() {
|
|
2539
|
+
return this.setMeta(undefined);
|
|
2540
|
+
};
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* Returns whether this field is set.
|
|
2545
|
+
* @return {boolean}
|
|
2546
|
+
*/
|
|
2547
|
+
proto.GetGeneralLedgerAccountByIdResponse.prototype.hasMeta = function() {
|
|
2548
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2549
|
+
};
|
|
2550
|
+
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
|
|
2554
|
+
|
|
2555
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2556
|
+
/**
|
|
2557
|
+
* Creates an object representation of this proto.
|
|
2558
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2559
|
+
* Optional fields that are not set will be set to undefined.
|
|
2560
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2561
|
+
* For the list of reserved names please see:
|
|
2562
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2563
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2564
|
+
* JSPB instance for transitional soy proto support:
|
|
2565
|
+
* http://goto/soy-param-migration
|
|
2566
|
+
* @return {!Object}
|
|
2567
|
+
*/
|
|
2568
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2569
|
+
return proto.GetListGeneralLedgerAccountRequest.toObject(opt_includeInstance, this);
|
|
2570
|
+
};
|
|
2571
|
+
|
|
2572
|
+
|
|
2573
|
+
/**
|
|
2574
|
+
* Static version of the {@see toObject} method.
|
|
2575
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2576
|
+
* the JSPB instance for transitional soy proto support:
|
|
2577
|
+
* http://goto/soy-param-migration
|
|
2578
|
+
* @param {!proto.GetListGeneralLedgerAccountRequest} msg The msg instance to transform.
|
|
2579
|
+
* @return {!Object}
|
|
2580
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2581
|
+
*/
|
|
2582
|
+
proto.GetListGeneralLedgerAccountRequest.toObject = function(includeInstance, msg) {
|
|
2583
|
+
var f, obj = {
|
|
2584
|
+
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2585
|
+
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
2586
|
+
};
|
|
2587
|
+
|
|
2588
|
+
if (includeInstance) {
|
|
2589
|
+
obj.$jspbMessageInstance = msg;
|
|
2590
|
+
}
|
|
2591
|
+
return obj;
|
|
2592
|
+
};
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
|
|
2596
|
+
/**
|
|
2597
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2598
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2599
|
+
* @return {!proto.GetListGeneralLedgerAccountRequest}
|
|
2600
|
+
*/
|
|
2601
|
+
proto.GetListGeneralLedgerAccountRequest.deserializeBinary = function(bytes) {
|
|
2602
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2603
|
+
var msg = new proto.GetListGeneralLedgerAccountRequest;
|
|
2604
|
+
return proto.GetListGeneralLedgerAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
2605
|
+
};
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2610
|
+
* given reader into the given message object.
|
|
2611
|
+
* @param {!proto.GetListGeneralLedgerAccountRequest} msg The message object to deserialize into.
|
|
2612
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2613
|
+
* @return {!proto.GetListGeneralLedgerAccountRequest}
|
|
2614
|
+
*/
|
|
2615
|
+
proto.GetListGeneralLedgerAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2616
|
+
while (reader.nextField()) {
|
|
2617
|
+
if (reader.isEndGroup()) {
|
|
2618
|
+
break;
|
|
2619
|
+
}
|
|
2620
|
+
var field = reader.getFieldNumber();
|
|
2621
|
+
switch (field) {
|
|
2622
|
+
case 1:
|
|
2623
|
+
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2624
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2625
|
+
msg.setPagination(value);
|
|
2626
|
+
break;
|
|
2627
|
+
case 2:
|
|
2628
|
+
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
2629
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
2630
|
+
msg.setQuery(value);
|
|
2631
|
+
break;
|
|
2632
|
+
default:
|
|
2633
|
+
reader.skipField();
|
|
2634
|
+
break;
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
return msg;
|
|
2638
|
+
};
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2643
|
+
* @return {!Uint8Array}
|
|
2644
|
+
*/
|
|
2645
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.serializeBinary = function() {
|
|
2646
|
+
var writer = new jspb.BinaryWriter();
|
|
2647
|
+
proto.GetListGeneralLedgerAccountRequest.serializeBinaryToWriter(this, writer);
|
|
2648
|
+
return writer.getResultBuffer();
|
|
2649
|
+
};
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
/**
|
|
2653
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2654
|
+
* format), writing to the given BinaryWriter.
|
|
2655
|
+
* @param {!proto.GetListGeneralLedgerAccountRequest} message
|
|
2656
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2657
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2658
|
+
*/
|
|
2659
|
+
proto.GetListGeneralLedgerAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2660
|
+
var f = undefined;
|
|
2661
|
+
f = message.getPagination();
|
|
2662
|
+
if (f != null) {
|
|
2663
|
+
writer.writeMessage(
|
|
2664
|
+
1,
|
|
2665
|
+
f,
|
|
2666
|
+
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
2667
|
+
);
|
|
2668
|
+
}
|
|
2669
|
+
f = message.getQuery();
|
|
2670
|
+
if (f != null) {
|
|
2671
|
+
writer.writeMessage(
|
|
2672
|
+
2,
|
|
2673
|
+
f,
|
|
2674
|
+
prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
|
|
2675
|
+
);
|
|
2676
|
+
}
|
|
2677
|
+
};
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
2682
|
+
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
2683
|
+
*/
|
|
2684
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.getPagination = function() {
|
|
2685
|
+
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
2686
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
2687
|
+
};
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
2692
|
+
* @return {!proto.GetListGeneralLedgerAccountRequest} returns this
|
|
2693
|
+
*/
|
|
2694
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.setPagination = function(value) {
|
|
2695
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2696
|
+
};
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* Clears the message field making it undefined.
|
|
2701
|
+
* @return {!proto.GetListGeneralLedgerAccountRequest} returns this
|
|
2702
|
+
*/
|
|
2703
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.clearPagination = function() {
|
|
2704
|
+
return this.setPagination(undefined);
|
|
2705
|
+
};
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* Returns whether this field is set.
|
|
2710
|
+
* @return {boolean}
|
|
2711
|
+
*/
|
|
2712
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.hasPagination = function() {
|
|
2713
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
/**
|
|
2718
|
+
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
2719
|
+
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
2720
|
+
*/
|
|
2721
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.getQuery = function() {
|
|
2722
|
+
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
2723
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
2724
|
+
};
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
/**
|
|
2728
|
+
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
2729
|
+
* @return {!proto.GetListGeneralLedgerAccountRequest} returns this
|
|
2730
|
+
*/
|
|
2731
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.setQuery = function(value) {
|
|
2732
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2733
|
+
};
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
* Clears the message field making it undefined.
|
|
2738
|
+
* @return {!proto.GetListGeneralLedgerAccountRequest} returns this
|
|
2739
|
+
*/
|
|
2740
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.clearQuery = function() {
|
|
2741
|
+
return this.setQuery(undefined);
|
|
2742
|
+
};
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* Returns whether this field is set.
|
|
2747
|
+
* @return {boolean}
|
|
2748
|
+
*/
|
|
2749
|
+
proto.GetListGeneralLedgerAccountRequest.prototype.hasQuery = function() {
|
|
2750
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2751
|
+
};
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
/**
|
|
2756
|
+
* List of repeated fields within this message type.
|
|
2757
|
+
* @private {!Array<number>}
|
|
2758
|
+
* @const
|
|
2759
|
+
*/
|
|
2760
|
+
proto.GetListGeneralLedgerAccountResponse.repeatedFields_ = [1];
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2765
|
+
/**
|
|
2766
|
+
* Creates an object representation of this proto.
|
|
2767
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2768
|
+
* Optional fields that are not set will be set to undefined.
|
|
2769
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2770
|
+
* For the list of reserved names please see:
|
|
2771
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2772
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2773
|
+
* JSPB instance for transitional soy proto support:
|
|
2774
|
+
* http://goto/soy-param-migration
|
|
2775
|
+
* @return {!Object}
|
|
2776
|
+
*/
|
|
2777
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2778
|
+
return proto.GetListGeneralLedgerAccountResponse.toObject(opt_includeInstance, this);
|
|
2779
|
+
};
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* Static version of the {@see toObject} method.
|
|
2784
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2785
|
+
* the JSPB instance for transitional soy proto support:
|
|
2786
|
+
* http://goto/soy-param-migration
|
|
2787
|
+
* @param {!proto.GetListGeneralLedgerAccountResponse} msg The msg instance to transform.
|
|
2788
|
+
* @return {!Object}
|
|
2789
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2790
|
+
*/
|
|
2791
|
+
proto.GetListGeneralLedgerAccountResponse.toObject = function(includeInstance, msg) {
|
|
2792
|
+
var f, obj = {
|
|
2793
|
+
generalLedgerAccountsList: jspb.Message.toObjectList(msg.getGeneralLedgerAccountsList(),
|
|
2794
|
+
proto.GeneralLedgerAccount.toObject, includeInstance),
|
|
2795
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2796
|
+
};
|
|
2797
|
+
|
|
2798
|
+
if (includeInstance) {
|
|
2799
|
+
obj.$jspbMessageInstance = msg;
|
|
2800
|
+
}
|
|
2801
|
+
return obj;
|
|
2802
|
+
};
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2808
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2809
|
+
* @return {!proto.GetListGeneralLedgerAccountResponse}
|
|
2810
|
+
*/
|
|
2811
|
+
proto.GetListGeneralLedgerAccountResponse.deserializeBinary = function(bytes) {
|
|
2812
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2813
|
+
var msg = new proto.GetListGeneralLedgerAccountResponse;
|
|
2814
|
+
return proto.GetListGeneralLedgerAccountResponse.deserializeBinaryFromReader(msg, reader);
|
|
2815
|
+
};
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2820
|
+
* given reader into the given message object.
|
|
2821
|
+
* @param {!proto.GetListGeneralLedgerAccountResponse} msg The message object to deserialize into.
|
|
2822
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2823
|
+
* @return {!proto.GetListGeneralLedgerAccountResponse}
|
|
2824
|
+
*/
|
|
2825
|
+
proto.GetListGeneralLedgerAccountResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2826
|
+
while (reader.nextField()) {
|
|
2827
|
+
if (reader.isEndGroup()) {
|
|
2828
|
+
break;
|
|
2829
|
+
}
|
|
2830
|
+
var field = reader.getFieldNumber();
|
|
2831
|
+
switch (field) {
|
|
2832
|
+
case 1:
|
|
2833
|
+
var value = new proto.GeneralLedgerAccount;
|
|
2834
|
+
reader.readMessage(value,proto.GeneralLedgerAccount.deserializeBinaryFromReader);
|
|
2835
|
+
msg.addGeneralLedgerAccounts(value);
|
|
2836
|
+
break;
|
|
2837
|
+
case 2:
|
|
2838
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2839
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2840
|
+
msg.setMeta(value);
|
|
2841
|
+
break;
|
|
2842
|
+
default:
|
|
2843
|
+
reader.skipField();
|
|
2844
|
+
break;
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
return msg;
|
|
2848
|
+
};
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2853
|
+
* @return {!Uint8Array}
|
|
2854
|
+
*/
|
|
2855
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.serializeBinary = function() {
|
|
2856
|
+
var writer = new jspb.BinaryWriter();
|
|
2857
|
+
proto.GetListGeneralLedgerAccountResponse.serializeBinaryToWriter(this, writer);
|
|
2858
|
+
return writer.getResultBuffer();
|
|
2859
|
+
};
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
/**
|
|
2863
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2864
|
+
* format), writing to the given BinaryWriter.
|
|
2865
|
+
* @param {!proto.GetListGeneralLedgerAccountResponse} message
|
|
2866
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2867
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2868
|
+
*/
|
|
2869
|
+
proto.GetListGeneralLedgerAccountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2870
|
+
var f = undefined;
|
|
2871
|
+
f = message.getGeneralLedgerAccountsList();
|
|
2872
|
+
if (f.length > 0) {
|
|
2873
|
+
writer.writeRepeatedMessage(
|
|
2874
|
+
1,
|
|
2875
|
+
f,
|
|
2876
|
+
proto.GeneralLedgerAccount.serializeBinaryToWriter
|
|
2877
|
+
);
|
|
2878
|
+
}
|
|
2879
|
+
f = message.getMeta();
|
|
2880
|
+
if (f != null) {
|
|
2881
|
+
writer.writeMessage(
|
|
2882
|
+
2,
|
|
2883
|
+
f,
|
|
2884
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2885
|
+
);
|
|
2886
|
+
}
|
|
2887
|
+
};
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* repeated GeneralLedgerAccount general_ledger_accounts = 1;
|
|
2892
|
+
* @return {!Array<!proto.GeneralLedgerAccount>}
|
|
2893
|
+
*/
|
|
2894
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.getGeneralLedgerAccountsList = function() {
|
|
2895
|
+
return /** @type{!Array<!proto.GeneralLedgerAccount>} */ (
|
|
2896
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GeneralLedgerAccount, 1));
|
|
2897
|
+
};
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* @param {!Array<!proto.GeneralLedgerAccount>} value
|
|
2902
|
+
* @return {!proto.GetListGeneralLedgerAccountResponse} returns this
|
|
2903
|
+
*/
|
|
2904
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.setGeneralLedgerAccountsList = function(value) {
|
|
2905
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2906
|
+
};
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
/**
|
|
2910
|
+
* @param {!proto.GeneralLedgerAccount=} opt_value
|
|
2911
|
+
* @param {number=} opt_index
|
|
2912
|
+
* @return {!proto.GeneralLedgerAccount}
|
|
2913
|
+
*/
|
|
2914
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.addGeneralLedgerAccounts = function(opt_value, opt_index) {
|
|
2915
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.GeneralLedgerAccount, opt_index);
|
|
2916
|
+
};
|
|
2917
|
+
|
|
2918
|
+
|
|
2919
|
+
/**
|
|
2920
|
+
* Clears the list making it empty but non-null.
|
|
2921
|
+
* @return {!proto.GetListGeneralLedgerAccountResponse} returns this
|
|
2922
|
+
*/
|
|
2923
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.clearGeneralLedgerAccountsList = function() {
|
|
2924
|
+
return this.setGeneralLedgerAccountsList([]);
|
|
2925
|
+
};
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2930
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2931
|
+
*/
|
|
2932
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.getMeta = function() {
|
|
2933
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2934
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2935
|
+
};
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
/**
|
|
2939
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2940
|
+
* @return {!proto.GetListGeneralLedgerAccountResponse} returns this
|
|
2941
|
+
*/
|
|
2942
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.setMeta = function(value) {
|
|
2943
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
|
|
2947
|
+
/**
|
|
2948
|
+
* Clears the message field making it undefined.
|
|
2949
|
+
* @return {!proto.GetListGeneralLedgerAccountResponse} returns this
|
|
2950
|
+
*/
|
|
2951
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.clearMeta = function() {
|
|
2952
|
+
return this.setMeta(undefined);
|
|
2953
|
+
};
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
/**
|
|
2957
|
+
* Returns whether this field is set.
|
|
2958
|
+
* @return {boolean}
|
|
2959
|
+
*/
|
|
2960
|
+
proto.GetListGeneralLedgerAccountResponse.prototype.hasMeta = function() {
|
|
2961
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2962
|
+
};
|
|
2963
|
+
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2969
|
+
/**
|
|
2970
|
+
* Creates an object representation of this proto.
|
|
2971
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2972
|
+
* Optional fields that are not set will be set to undefined.
|
|
2973
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2974
|
+
* For the list of reserved names please see:
|
|
2975
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2976
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2977
|
+
* JSPB instance for transitional soy proto support:
|
|
2978
|
+
* http://goto/soy-param-migration
|
|
2979
|
+
* @return {!Object}
|
|
2980
|
+
*/
|
|
2981
|
+
proto.DeleteGeneralLedgerAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2982
|
+
return proto.DeleteGeneralLedgerAccountRequest.toObject(opt_includeInstance, this);
|
|
2983
|
+
};
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
/**
|
|
2987
|
+
* Static version of the {@see toObject} method.
|
|
2988
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2989
|
+
* the JSPB instance for transitional soy proto support:
|
|
2990
|
+
* http://goto/soy-param-migration
|
|
2991
|
+
* @param {!proto.DeleteGeneralLedgerAccountRequest} msg The msg instance to transform.
|
|
2992
|
+
* @return {!Object}
|
|
2993
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2994
|
+
*/
|
|
2995
|
+
proto.DeleteGeneralLedgerAccountRequest.toObject = function(includeInstance, msg) {
|
|
2996
|
+
var f, obj = {
|
|
2997
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
if (includeInstance) {
|
|
3001
|
+
obj.$jspbMessageInstance = msg;
|
|
3002
|
+
}
|
|
3003
|
+
return obj;
|
|
3004
|
+
};
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3010
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3011
|
+
* @return {!proto.DeleteGeneralLedgerAccountRequest}
|
|
3012
|
+
*/
|
|
3013
|
+
proto.DeleteGeneralLedgerAccountRequest.deserializeBinary = function(bytes) {
|
|
3014
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3015
|
+
var msg = new proto.DeleteGeneralLedgerAccountRequest;
|
|
3016
|
+
return proto.DeleteGeneralLedgerAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
3017
|
+
};
|
|
3018
|
+
|
|
3019
|
+
|
|
3020
|
+
/**
|
|
3021
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3022
|
+
* given reader into the given message object.
|
|
3023
|
+
* @param {!proto.DeleteGeneralLedgerAccountRequest} msg The message object to deserialize into.
|
|
3024
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3025
|
+
* @return {!proto.DeleteGeneralLedgerAccountRequest}
|
|
3026
|
+
*/
|
|
3027
|
+
proto.DeleteGeneralLedgerAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3028
|
+
while (reader.nextField()) {
|
|
3029
|
+
if (reader.isEndGroup()) {
|
|
3030
|
+
break;
|
|
3031
|
+
}
|
|
3032
|
+
var field = reader.getFieldNumber();
|
|
3033
|
+
switch (field) {
|
|
3034
|
+
case 1:
|
|
3035
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3036
|
+
msg.setReferencesId(value);
|
|
3037
|
+
break;
|
|
3038
|
+
default:
|
|
3039
|
+
reader.skipField();
|
|
3040
|
+
break;
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
return msg;
|
|
3044
|
+
};
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
/**
|
|
3048
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3049
|
+
* @return {!Uint8Array}
|
|
3050
|
+
*/
|
|
3051
|
+
proto.DeleteGeneralLedgerAccountRequest.prototype.serializeBinary = function() {
|
|
3052
|
+
var writer = new jspb.BinaryWriter();
|
|
3053
|
+
proto.DeleteGeneralLedgerAccountRequest.serializeBinaryToWriter(this, writer);
|
|
3054
|
+
return writer.getResultBuffer();
|
|
3055
|
+
};
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
/**
|
|
3059
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3060
|
+
* format), writing to the given BinaryWriter.
|
|
3061
|
+
* @param {!proto.DeleteGeneralLedgerAccountRequest} message
|
|
3062
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3063
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3064
|
+
*/
|
|
3065
|
+
proto.DeleteGeneralLedgerAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3066
|
+
var f = undefined;
|
|
3067
|
+
f = message.getReferencesId();
|
|
3068
|
+
if (f.length > 0) {
|
|
3069
|
+
writer.writeString(
|
|
3070
|
+
1,
|
|
3071
|
+
f
|
|
3072
|
+
);
|
|
3073
|
+
}
|
|
3074
|
+
};
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
/**
|
|
3078
|
+
* optional string references_id = 1;
|
|
3079
|
+
* @return {string}
|
|
3080
|
+
*/
|
|
3081
|
+
proto.DeleteGeneralLedgerAccountRequest.prototype.getReferencesId = function() {
|
|
3082
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3083
|
+
};
|
|
3084
|
+
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* @param {string} value
|
|
3088
|
+
* @return {!proto.DeleteGeneralLedgerAccountRequest} returns this
|
|
3089
|
+
*/
|
|
3090
|
+
proto.DeleteGeneralLedgerAccountRequest.prototype.setReferencesId = function(value) {
|
|
3091
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3092
|
+
};
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3099
|
+
/**
|
|
3100
|
+
* Creates an object representation of this proto.
|
|
3101
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3102
|
+
* Optional fields that are not set will be set to undefined.
|
|
3103
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3104
|
+
* For the list of reserved names please see:
|
|
3105
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3106
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3107
|
+
* JSPB instance for transitional soy proto support:
|
|
3108
|
+
* http://goto/soy-param-migration
|
|
3109
|
+
* @return {!Object}
|
|
3110
|
+
*/
|
|
3111
|
+
proto.DeleteGeneralLedgerAccountResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3112
|
+
return proto.DeleteGeneralLedgerAccountResponse.toObject(opt_includeInstance, this);
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* Static version of the {@see toObject} method.
|
|
3118
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3119
|
+
* the JSPB instance for transitional soy proto support:
|
|
3120
|
+
* http://goto/soy-param-migration
|
|
3121
|
+
* @param {!proto.DeleteGeneralLedgerAccountResponse} msg The msg instance to transform.
|
|
3122
|
+
* @return {!Object}
|
|
3123
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3124
|
+
*/
|
|
3125
|
+
proto.DeleteGeneralLedgerAccountResponse.toObject = function(includeInstance, msg) {
|
|
3126
|
+
var f, obj = {
|
|
3127
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3128
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3129
|
+
};
|
|
3130
|
+
|
|
3131
|
+
if (includeInstance) {
|
|
3132
|
+
obj.$jspbMessageInstance = msg;
|
|
3133
|
+
}
|
|
3134
|
+
return obj;
|
|
3135
|
+
};
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
/**
|
|
3140
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3141
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3142
|
+
* @return {!proto.DeleteGeneralLedgerAccountResponse}
|
|
3143
|
+
*/
|
|
3144
|
+
proto.DeleteGeneralLedgerAccountResponse.deserializeBinary = function(bytes) {
|
|
3145
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3146
|
+
var msg = new proto.DeleteGeneralLedgerAccountResponse;
|
|
3147
|
+
return proto.DeleteGeneralLedgerAccountResponse.deserializeBinaryFromReader(msg, reader);
|
|
3148
|
+
};
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3153
|
+
* given reader into the given message object.
|
|
3154
|
+
* @param {!proto.DeleteGeneralLedgerAccountResponse} msg The message object to deserialize into.
|
|
3155
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3156
|
+
* @return {!proto.DeleteGeneralLedgerAccountResponse}
|
|
3157
|
+
*/
|
|
3158
|
+
proto.DeleteGeneralLedgerAccountResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3159
|
+
while (reader.nextField()) {
|
|
3160
|
+
if (reader.isEndGroup()) {
|
|
3161
|
+
break;
|
|
3162
|
+
}
|
|
3163
|
+
var field = reader.getFieldNumber();
|
|
3164
|
+
switch (field) {
|
|
3165
|
+
case 1:
|
|
3166
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3167
|
+
msg.setReferencesId(value);
|
|
3168
|
+
break;
|
|
3169
|
+
case 2:
|
|
3170
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3171
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3172
|
+
msg.setMeta(value);
|
|
3173
|
+
break;
|
|
3174
|
+
default:
|
|
3175
|
+
reader.skipField();
|
|
3176
|
+
break;
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
return msg;
|
|
3180
|
+
};
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
/**
|
|
3184
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3185
|
+
* @return {!Uint8Array}
|
|
3186
|
+
*/
|
|
3187
|
+
proto.DeleteGeneralLedgerAccountResponse.prototype.serializeBinary = function() {
|
|
3188
|
+
var writer = new jspb.BinaryWriter();
|
|
3189
|
+
proto.DeleteGeneralLedgerAccountResponse.serializeBinaryToWriter(this, writer);
|
|
3190
|
+
return writer.getResultBuffer();
|
|
3191
|
+
};
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3196
|
+
* format), writing to the given BinaryWriter.
|
|
3197
|
+
* @param {!proto.DeleteGeneralLedgerAccountResponse} message
|
|
3198
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3199
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3200
|
+
*/
|
|
3201
|
+
proto.DeleteGeneralLedgerAccountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3202
|
+
var f = undefined;
|
|
3203
|
+
f = message.getReferencesId();
|
|
3204
|
+
if (f.length > 0) {
|
|
3205
|
+
writer.writeString(
|
|
3206
|
+
1,
|
|
3207
|
+
f
|
|
3208
|
+
);
|
|
3209
|
+
}
|
|
3210
|
+
f = message.getMeta();
|
|
3211
|
+
if (f != null) {
|
|
3212
|
+
writer.writeMessage(
|
|
3213
|
+
2,
|
|
3214
|
+
f,
|
|
3215
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3216
|
+
);
|
|
3217
|
+
}
|
|
3218
|
+
};
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
/**
|
|
3222
|
+
* optional string references_id = 1;
|
|
3223
|
+
* @return {string}
|
|
3224
|
+
*/
|
|
3225
|
+
proto.DeleteGeneralLedgerAccountResponse.prototype.getReferencesId = function() {
|
|
3226
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3227
|
+
};
|
|
3228
|
+
|
|
3229
|
+
|
|
3230
|
+
/**
|
|
3231
|
+
* @param {string} value
|
|
3232
|
+
* @return {!proto.DeleteGeneralLedgerAccountResponse} returns this
|
|
3233
|
+
*/
|
|
3234
|
+
proto.DeleteGeneralLedgerAccountResponse.prototype.setReferencesId = function(value) {
|
|
3235
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3236
|
+
};
|
|
3237
|
+
|
|
3238
|
+
|
|
3239
|
+
/**
|
|
3240
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3241
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3242
|
+
*/
|
|
3243
|
+
proto.DeleteGeneralLedgerAccountResponse.prototype.getMeta = function() {
|
|
3244
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3245
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3246
|
+
};
|
|
3247
|
+
|
|
3248
|
+
|
|
3249
|
+
/**
|
|
3250
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3251
|
+
* @return {!proto.DeleteGeneralLedgerAccountResponse} returns this
|
|
3252
|
+
*/
|
|
3253
|
+
proto.DeleteGeneralLedgerAccountResponse.prototype.setMeta = function(value) {
|
|
3254
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3255
|
+
};
|
|
3256
|
+
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* Clears the message field making it undefined.
|
|
3260
|
+
* @return {!proto.DeleteGeneralLedgerAccountResponse} returns this
|
|
3261
|
+
*/
|
|
3262
|
+
proto.DeleteGeneralLedgerAccountResponse.prototype.clearMeta = function() {
|
|
3263
|
+
return this.setMeta(undefined);
|
|
3264
|
+
};
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
/**
|
|
3268
|
+
* Returns whether this field is set.
|
|
3269
|
+
* @return {boolean}
|
|
3270
|
+
*/
|
|
3271
|
+
proto.DeleteGeneralLedgerAccountResponse.prototype.hasMeta = function() {
|
|
3272
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3273
|
+
};
|
|
3274
|
+
|
|
3275
|
+
|
|
3276
|
+
goog.object.extend(exports, proto);
|