@aldiokta/protocgen 1.1.19 → 1.1.20

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.
Files changed (160) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +199 -0
  3. package/prisca/v1/account_assignment/account_assignment_pb.js +2674 -0
  4. package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
  5. package/prisca/v1/account_group/account_group_pb.js +2937 -0
  6. package/prisca/v1/bidding/bidding_grpc_pb.js +173 -0
  7. package/prisca/v1/bidding/bidding_pb.js +5616 -0
  8. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +199 -0
  9. package/prisca/v1/chart_of_account/chart_of_account_pb.js +2907 -0
  10. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +544 -0
  11. package/prisca/v1/core/access_manager/access_manager_pb.js +9383 -0
  12. package/prisca/v1/core/auth/auth_grpc_pb.js +423 -0
  13. package/prisca/v1/core/auth/auth_pb.js +4497 -0
  14. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
  15. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1531 -0
  16. package/prisca/v1/core/company/company_grpc_pb.js +178 -0
  17. package/prisca/v1/core/company/company_pb.js +3048 -0
  18. package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
  19. package/prisca/v1/core/currency/currency_pb.js +2522 -0
  20. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  21. package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
  22. package/prisca/v1/core/employee/employee_grpc_pb.js +206 -0
  23. package/prisca/v1/core/employee/employee_pb.js +4283 -0
  24. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +44 -0
  25. package/prisca/v1/core/file_upload/file_upload_pb.js +872 -0
  26. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +144 -0
  27. package/prisca/v1/core/incoterm/incoterm_pb.js +2497 -0
  28. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
  29. package/prisca/v1/core/item_transaction/item_transaction_pb.js +3880 -0
  30. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  31. package/prisca/v1/core/job_grade/job_grade_pb.js +2605 -0
  32. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  33. package/prisca/v1/core/job_position/job_position_pb.js +3762 -0
  34. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  35. package/prisca/v1/core/job_title/job_title_pb.js +2958 -0
  36. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +45 -0
  37. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +1188 -0
  38. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +200 -0
  39. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +3191 -0
  40. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
  41. package/prisca/v1/core/link_data_source/link_data_source_pb.js +2612 -0
  42. package/prisca/v1/core/location/location_grpc_pb.js +837 -0
  43. package/prisca/v1/core/location/location_pb.js +10879 -0
  44. package/prisca/v1/core/material/material_grpc_pb.js +182 -0
  45. package/prisca/v1/core/material/material_pb.js +4180 -0
  46. package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
  47. package/prisca/v1/core/material_group/material_group_pb.js +2776 -0
  48. package/prisca/v1/core/material_type/material_type_grpc_pb.js +149 -0
  49. package/prisca/v1/core/material_type/material_type_pb.js +2697 -0
  50. package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
  51. package/prisca/v1/core/messaging/email_template_pb.js +2552 -0
  52. package/prisca/v1/core/messaging/messaging_grpc_pb.js +56 -0
  53. package/prisca/v1/core/messaging/messaging_pb.js +896 -0
  54. package/prisca/v1/core/number_range/number_range_grpc_pb.js +178 -0
  55. package/prisca/v1/core/number_range/number_range_pb.js +2926 -0
  56. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  57. package/prisca/v1/core/organization/organization_pb.js +3032 -0
  58. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
  59. package/prisca/v1/core/organization_level/organization_level_pb.js +2545 -0
  60. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +146 -0
  61. package/prisca/v1/core/price_condition/price_condition_pb.js +2654 -0
  62. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  63. package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
  64. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  65. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
  66. package/prisca/v1/core/report/report_grpc_pb.js +200 -0
  67. package/prisca/v1/core/report/report_pb.js +2822 -0
  68. package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
  69. package/prisca/v1/core/report/user_report_pb.js +2452 -0
  70. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
  71. package/prisca/v1/core/tax_code/tax_code_pb.js +2582 -0
  72. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +144 -0
  73. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2105 -0
  74. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +498 -0
  75. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +10976 -0
  76. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  77. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2798 -0
  78. package/prisca/v1/core/users/users_grpc_pb.js +45 -0
  79. package/prisca/v1/core/users/users_pb.js +1246 -0
  80. package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
  81. package/prisca/v1/core/work_location/work_location_pb.js +3972 -0
  82. package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
  83. package/prisca/v1/core/workflow/workflow_pb.js +7525 -0
  84. package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
  85. package/prisca/v1/document_type/document_type_pb.js +2746 -0
  86. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
  87. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3276 -0
  88. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  89. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  90. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
  91. package/prisca/v1/purchase_order/purchase_order_pb.js +4989 -0
  92. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +512 -0
  93. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +9917 -0
  94. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
  95. package/prisca/v1/purchasing_group/purchasing_group_pb.js +2875 -0
  96. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +145 -0
  97. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2139 -0
  98. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +146 -0
  99. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2183 -0
  100. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
  101. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2543 -0
  102. package/prisca/v1/quotation/quotation_grpc_pb.js +152 -0
  103. package/prisca/v1/quotation/quotation_pb.js +2319 -0
  104. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +192 -0
  105. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5703 -0
  106. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
  107. package/prisca/v1/vendor_domain/vendor_domain_pb.js +6333 -0
  108. package/prisca/v1/account_assignment/account_assignment.proto +0 -79
  109. package/prisca/v1/account_group/account_group.proto +0 -86
  110. package/prisca/v1/bidding/bidding.proto +0 -159
  111. package/prisca/v1/chart_of_account/chart_of_account.proto +0 -87
  112. package/prisca/v1/core/access_manager/access_manager.proto +0 -281
  113. package/prisca/v1/core/auth/auth.proto +0 -150
  114. package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -55
  115. package/prisca/v1/core/company/company.proto +0 -92
  116. package/prisca/v1/core/currency/currency.proto +0 -76
  117. package/prisca/v1/core/department_material/department_material.proto +0 -69
  118. package/prisca/v1/core/employee/employee.proto +0 -129
  119. package/prisca/v1/core/file_upload/file_upload.proto +0 -31
  120. package/prisca/v1/core/incoterm/incoterm.proto +0 -76
  121. package/prisca/v1/core/item_transaction/item_transaction.proto +0 -120
  122. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  123. package/prisca/v1/core/job_position/job_position.proto +0 -113
  124. package/prisca/v1/core/job_title/job_title.proto +0 -89
  125. package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -42
  126. package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -94
  127. package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
  128. package/prisca/v1/core/location/location.proto +0 -289
  129. package/prisca/v1/core/material/material.proto +0 -131
  130. package/prisca/v1/core/material_group/material_group.proto +0 -85
  131. package/prisca/v1/core/material_type/material_type.proto +0 -86
  132. package/prisca/v1/core/messaging/email_template.proto +0 -75
  133. package/prisca/v1/core/messaging/messaging.proto +0 -29
  134. package/prisca/v1/core/number_range/number_range.proto +0 -89
  135. package/prisca/v1/core/organization/organization.proto +0 -94
  136. package/prisca/v1/core/organization_level/organization_level.proto +0 -77
  137. package/prisca/v1/core/price_condition/price_condition.proto +0 -83
  138. package/prisca/v1/core/procurement/procurement.proto +0 -54
  139. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  140. package/prisca/v1/core/report/report.proto +0 -90
  141. package/prisca/v1/core/report/user_report.proto +0 -74
  142. package/prisca/v1/core/tax_code/tax_code.proto +0 -77
  143. package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -64
  144. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -325
  145. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  146. package/prisca/v1/core/users/users.proto +0 -45
  147. package/prisca/v1/core/work_location/work_location.proto +0 -122
  148. package/prisca/v1/core/workflow/workflow.proto +0 -216
  149. package/prisca/v1/document_type/document_type.proto +0 -80
  150. package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -98
  151. package/prisca/v1/global/meta/meta.proto +0 -57
  152. package/prisca/v1/purchase_order/purchase_order.proto +0 -155
  153. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -304
  154. package/prisca/v1/purchasing_group/purchasing_group.proto +0 -87
  155. package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -68
  156. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -70
  157. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
  158. package/prisca/v1/quotation/quotation.proto +0 -82
  159. package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -166
  160. package/prisca/v1/vendor_domain/vendor_domain.proto +0 -225
@@ -0,0 +1,2105 @@
1
+ // source: prisca/v1/core/term_of_payment/term_of_payment.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
+ goog.exportSymbol('proto.CreateTermOfPaymentReq', null, global);
27
+ goog.exportSymbol('proto.CreateTermOfPaymentRes', null, global);
28
+ goog.exportSymbol('proto.GetListTermOfPaymentReq', null, global);
29
+ goog.exportSymbol('proto.GetListTermOfPaymentRes', null, global);
30
+ goog.exportSymbol('proto.GetSingleTermOfPaymentReq', null, global);
31
+ goog.exportSymbol('proto.GetSingleTermOfPaymentRes', null, global);
32
+ goog.exportSymbol('proto.TermOfPayment', null, global);
33
+ goog.exportSymbol('proto.UpdateTermOfPaymentReq', null, global);
34
+ goog.exportSymbol('proto.UpdateTermOfPaymentRes', null, global);
35
+ /**
36
+ * Generated by JsPbCodeGenerator.
37
+ * @param {Array=} opt_data Optional initial data array, typically from a
38
+ * server response, or constructed directly in Javascript. The array is used
39
+ * in place and becomes part of the constructed object. It is not cloned.
40
+ * If no data is provided, the constructed object will be empty, but still
41
+ * valid.
42
+ * @extends {jspb.Message}
43
+ * @constructor
44
+ */
45
+ proto.TermOfPayment = function(opt_data) {
46
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
47
+ };
48
+ goog.inherits(proto.TermOfPayment, jspb.Message);
49
+ if (goog.DEBUG && !COMPILED) {
50
+ /**
51
+ * @public
52
+ * @override
53
+ */
54
+ proto.TermOfPayment.displayName = 'proto.TermOfPayment';
55
+ }
56
+ /**
57
+ * Generated by JsPbCodeGenerator.
58
+ * @param {Array=} opt_data Optional initial data array, typically from a
59
+ * server response, or constructed directly in Javascript. The array is used
60
+ * in place and becomes part of the constructed object. It is not cloned.
61
+ * If no data is provided, the constructed object will be empty, but still
62
+ * valid.
63
+ * @extends {jspb.Message}
64
+ * @constructor
65
+ */
66
+ proto.CreateTermOfPaymentReq = function(opt_data) {
67
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
68
+ };
69
+ goog.inherits(proto.CreateTermOfPaymentReq, jspb.Message);
70
+ if (goog.DEBUG && !COMPILED) {
71
+ /**
72
+ * @public
73
+ * @override
74
+ */
75
+ proto.CreateTermOfPaymentReq.displayName = 'proto.CreateTermOfPaymentReq';
76
+ }
77
+ /**
78
+ * Generated by JsPbCodeGenerator.
79
+ * @param {Array=} opt_data Optional initial data array, typically from a
80
+ * server response, or constructed directly in Javascript. The array is used
81
+ * in place and becomes part of the constructed object. It is not cloned.
82
+ * If no data is provided, the constructed object will be empty, but still
83
+ * valid.
84
+ * @extends {jspb.Message}
85
+ * @constructor
86
+ */
87
+ proto.UpdateTermOfPaymentReq = function(opt_data) {
88
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
89
+ };
90
+ goog.inherits(proto.UpdateTermOfPaymentReq, jspb.Message);
91
+ if (goog.DEBUG && !COMPILED) {
92
+ /**
93
+ * @public
94
+ * @override
95
+ */
96
+ proto.UpdateTermOfPaymentReq.displayName = 'proto.UpdateTermOfPaymentReq';
97
+ }
98
+ /**
99
+ * Generated by JsPbCodeGenerator.
100
+ * @param {Array=} opt_data Optional initial data array, typically from a
101
+ * server response, or constructed directly in Javascript. The array is used
102
+ * in place and becomes part of the constructed object. It is not cloned.
103
+ * If no data is provided, the constructed object will be empty, but still
104
+ * valid.
105
+ * @extends {jspb.Message}
106
+ * @constructor
107
+ */
108
+ proto.GetListTermOfPaymentReq = function(opt_data) {
109
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
110
+ };
111
+ goog.inherits(proto.GetListTermOfPaymentReq, jspb.Message);
112
+ if (goog.DEBUG && !COMPILED) {
113
+ /**
114
+ * @public
115
+ * @override
116
+ */
117
+ proto.GetListTermOfPaymentReq.displayName = 'proto.GetListTermOfPaymentReq';
118
+ }
119
+ /**
120
+ * Generated by JsPbCodeGenerator.
121
+ * @param {Array=} opt_data Optional initial data array, typically from a
122
+ * server response, or constructed directly in Javascript. The array is used
123
+ * in place and becomes part of the constructed object. It is not cloned.
124
+ * If no data is provided, the constructed object will be empty, but still
125
+ * valid.
126
+ * @extends {jspb.Message}
127
+ * @constructor
128
+ */
129
+ proto.GetSingleTermOfPaymentReq = function(opt_data) {
130
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
131
+ };
132
+ goog.inherits(proto.GetSingleTermOfPaymentReq, jspb.Message);
133
+ if (goog.DEBUG && !COMPILED) {
134
+ /**
135
+ * @public
136
+ * @override
137
+ */
138
+ proto.GetSingleTermOfPaymentReq.displayName = 'proto.GetSingleTermOfPaymentReq';
139
+ }
140
+ /**
141
+ * Generated by JsPbCodeGenerator.
142
+ * @param {Array=} opt_data Optional initial data array, typically from a
143
+ * server response, or constructed directly in Javascript. The array is used
144
+ * in place and becomes part of the constructed object. It is not cloned.
145
+ * If no data is provided, the constructed object will be empty, but still
146
+ * valid.
147
+ * @extends {jspb.Message}
148
+ * @constructor
149
+ */
150
+ proto.CreateTermOfPaymentRes = function(opt_data) {
151
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
152
+ };
153
+ goog.inherits(proto.CreateTermOfPaymentRes, jspb.Message);
154
+ if (goog.DEBUG && !COMPILED) {
155
+ /**
156
+ * @public
157
+ * @override
158
+ */
159
+ proto.CreateTermOfPaymentRes.displayName = 'proto.CreateTermOfPaymentRes';
160
+ }
161
+ /**
162
+ * Generated by JsPbCodeGenerator.
163
+ * @param {Array=} opt_data Optional initial data array, typically from a
164
+ * server response, or constructed directly in Javascript. The array is used
165
+ * in place and becomes part of the constructed object. It is not cloned.
166
+ * If no data is provided, the constructed object will be empty, but still
167
+ * valid.
168
+ * @extends {jspb.Message}
169
+ * @constructor
170
+ */
171
+ proto.GetSingleTermOfPaymentRes = function(opt_data) {
172
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
173
+ };
174
+ goog.inherits(proto.GetSingleTermOfPaymentRes, jspb.Message);
175
+ if (goog.DEBUG && !COMPILED) {
176
+ /**
177
+ * @public
178
+ * @override
179
+ */
180
+ proto.GetSingleTermOfPaymentRes.displayName = 'proto.GetSingleTermOfPaymentRes';
181
+ }
182
+ /**
183
+ * Generated by JsPbCodeGenerator.
184
+ * @param {Array=} opt_data Optional initial data array, typically from a
185
+ * server response, or constructed directly in Javascript. The array is used
186
+ * in place and becomes part of the constructed object. It is not cloned.
187
+ * If no data is provided, the constructed object will be empty, but still
188
+ * valid.
189
+ * @extends {jspb.Message}
190
+ * @constructor
191
+ */
192
+ proto.UpdateTermOfPaymentRes = function(opt_data) {
193
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
194
+ };
195
+ goog.inherits(proto.UpdateTermOfPaymentRes, jspb.Message);
196
+ if (goog.DEBUG && !COMPILED) {
197
+ /**
198
+ * @public
199
+ * @override
200
+ */
201
+ proto.UpdateTermOfPaymentRes.displayName = 'proto.UpdateTermOfPaymentRes';
202
+ }
203
+ /**
204
+ * Generated by JsPbCodeGenerator.
205
+ * @param {Array=} opt_data Optional initial data array, typically from a
206
+ * server response, or constructed directly in Javascript. The array is used
207
+ * in place and becomes part of the constructed object. It is not cloned.
208
+ * If no data is provided, the constructed object will be empty, but still
209
+ * valid.
210
+ * @extends {jspb.Message}
211
+ * @constructor
212
+ */
213
+ proto.GetListTermOfPaymentRes = function(opt_data) {
214
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListTermOfPaymentRes.repeatedFields_, null);
215
+ };
216
+ goog.inherits(proto.GetListTermOfPaymentRes, jspb.Message);
217
+ if (goog.DEBUG && !COMPILED) {
218
+ /**
219
+ * @public
220
+ * @override
221
+ */
222
+ proto.GetListTermOfPaymentRes.displayName = 'proto.GetListTermOfPaymentRes';
223
+ }
224
+
225
+
226
+
227
+ if (jspb.Message.GENERATE_TO_OBJECT) {
228
+ /**
229
+ * Creates an object representation of this proto.
230
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
231
+ * Optional fields that are not set will be set to undefined.
232
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
233
+ * For the list of reserved names please see:
234
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
235
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
236
+ * JSPB instance for transitional soy proto support:
237
+ * http://goto/soy-param-migration
238
+ * @return {!Object}
239
+ */
240
+ proto.TermOfPayment.prototype.toObject = function(opt_includeInstance) {
241
+ return proto.TermOfPayment.toObject(opt_includeInstance, this);
242
+ };
243
+
244
+
245
+ /**
246
+ * Static version of the {@see toObject} method.
247
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
248
+ * the JSPB instance for transitional soy proto support:
249
+ * http://goto/soy-param-migration
250
+ * @param {!proto.TermOfPayment} msg The msg instance to transform.
251
+ * @return {!Object}
252
+ * @suppress {unusedLocalVariables} f is only used for nested messages
253
+ */
254
+ proto.TermOfPayment.toObject = function(includeInstance, msg) {
255
+ var f, obj = {
256
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
257
+ code: jspb.Message.getFieldWithDefault(msg, 2, ""),
258
+ days: jspb.Message.getFieldWithDefault(msg, 3, ""),
259
+ description: jspb.Message.getFieldWithDefault(msg, 4, ""),
260
+ referencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
261
+ createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
262
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
263
+ createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
264
+ updatedBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
265
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 11, "")
266
+ };
267
+
268
+ if (includeInstance) {
269
+ obj.$jspbMessageInstance = msg;
270
+ }
271
+ return obj;
272
+ };
273
+ }
274
+
275
+
276
+ /**
277
+ * Deserializes binary data (in protobuf wire format).
278
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
279
+ * @return {!proto.TermOfPayment}
280
+ */
281
+ proto.TermOfPayment.deserializeBinary = function(bytes) {
282
+ var reader = new jspb.BinaryReader(bytes);
283
+ var msg = new proto.TermOfPayment;
284
+ return proto.TermOfPayment.deserializeBinaryFromReader(msg, reader);
285
+ };
286
+
287
+
288
+ /**
289
+ * Deserializes binary data (in protobuf wire format) from the
290
+ * given reader into the given message object.
291
+ * @param {!proto.TermOfPayment} msg The message object to deserialize into.
292
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
293
+ * @return {!proto.TermOfPayment}
294
+ */
295
+ proto.TermOfPayment.deserializeBinaryFromReader = function(msg, reader) {
296
+ while (reader.nextField()) {
297
+ if (reader.isEndGroup()) {
298
+ break;
299
+ }
300
+ var field = reader.getFieldNumber();
301
+ switch (field) {
302
+ case 1:
303
+ var value = /** @type {number} */ (reader.readInt64());
304
+ msg.setId(value);
305
+ break;
306
+ case 2:
307
+ var value = /** @type {string} */ (reader.readString());
308
+ msg.setCode(value);
309
+ break;
310
+ case 3:
311
+ var value = /** @type {string} */ (reader.readString());
312
+ msg.setDays(value);
313
+ break;
314
+ case 4:
315
+ var value = /** @type {string} */ (reader.readString());
316
+ msg.setDescription(value);
317
+ break;
318
+ case 5:
319
+ var value = /** @type {string} */ (reader.readString());
320
+ msg.setReferencesId(value);
321
+ break;
322
+ case 6:
323
+ var value = /** @type {string} */ (reader.readString());
324
+ msg.setCreatedAt(value);
325
+ break;
326
+ case 7:
327
+ var value = /** @type {string} */ (reader.readString());
328
+ msg.setUpdatedAt(value);
329
+ break;
330
+ case 9:
331
+ var value = /** @type {string} */ (reader.readString());
332
+ msg.setCreatedBy(value);
333
+ break;
334
+ case 10:
335
+ var value = /** @type {string} */ (reader.readString());
336
+ msg.setUpdatedBy(value);
337
+ break;
338
+ case 11:
339
+ var value = /** @type {string} */ (reader.readString());
340
+ msg.setCompaniesReferencesId(value);
341
+ break;
342
+ default:
343
+ reader.skipField();
344
+ break;
345
+ }
346
+ }
347
+ return msg;
348
+ };
349
+
350
+
351
+ /**
352
+ * Serializes the message to binary data (in protobuf wire format).
353
+ * @return {!Uint8Array}
354
+ */
355
+ proto.TermOfPayment.prototype.serializeBinary = function() {
356
+ var writer = new jspb.BinaryWriter();
357
+ proto.TermOfPayment.serializeBinaryToWriter(this, writer);
358
+ return writer.getResultBuffer();
359
+ };
360
+
361
+
362
+ /**
363
+ * Serializes the given message to binary data (in protobuf wire
364
+ * format), writing to the given BinaryWriter.
365
+ * @param {!proto.TermOfPayment} message
366
+ * @param {!jspb.BinaryWriter} writer
367
+ * @suppress {unusedLocalVariables} f is only used for nested messages
368
+ */
369
+ proto.TermOfPayment.serializeBinaryToWriter = function(message, writer) {
370
+ var f = undefined;
371
+ f = message.getId();
372
+ if (f !== 0) {
373
+ writer.writeInt64(
374
+ 1,
375
+ f
376
+ );
377
+ }
378
+ f = message.getCode();
379
+ if (f.length > 0) {
380
+ writer.writeString(
381
+ 2,
382
+ f
383
+ );
384
+ }
385
+ f = message.getDays();
386
+ if (f.length > 0) {
387
+ writer.writeString(
388
+ 3,
389
+ f
390
+ );
391
+ }
392
+ f = message.getDescription();
393
+ if (f.length > 0) {
394
+ writer.writeString(
395
+ 4,
396
+ f
397
+ );
398
+ }
399
+ f = message.getReferencesId();
400
+ if (f.length > 0) {
401
+ writer.writeString(
402
+ 5,
403
+ f
404
+ );
405
+ }
406
+ f = message.getCreatedAt();
407
+ if (f.length > 0) {
408
+ writer.writeString(
409
+ 6,
410
+ f
411
+ );
412
+ }
413
+ f = message.getUpdatedAt();
414
+ if (f.length > 0) {
415
+ writer.writeString(
416
+ 7,
417
+ f
418
+ );
419
+ }
420
+ f = message.getCreatedBy();
421
+ if (f.length > 0) {
422
+ writer.writeString(
423
+ 9,
424
+ f
425
+ );
426
+ }
427
+ f = message.getUpdatedBy();
428
+ if (f.length > 0) {
429
+ writer.writeString(
430
+ 10,
431
+ f
432
+ );
433
+ }
434
+ f = message.getCompaniesReferencesId();
435
+ if (f.length > 0) {
436
+ writer.writeString(
437
+ 11,
438
+ f
439
+ );
440
+ }
441
+ };
442
+
443
+
444
+ /**
445
+ * optional int64 id = 1;
446
+ * @return {number}
447
+ */
448
+ proto.TermOfPayment.prototype.getId = function() {
449
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
450
+ };
451
+
452
+
453
+ /**
454
+ * @param {number} value
455
+ * @return {!proto.TermOfPayment} returns this
456
+ */
457
+ proto.TermOfPayment.prototype.setId = function(value) {
458
+ return jspb.Message.setProto3IntField(this, 1, value);
459
+ };
460
+
461
+
462
+ /**
463
+ * optional string code = 2;
464
+ * @return {string}
465
+ */
466
+ proto.TermOfPayment.prototype.getCode = function() {
467
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
468
+ };
469
+
470
+
471
+ /**
472
+ * @param {string} value
473
+ * @return {!proto.TermOfPayment} returns this
474
+ */
475
+ proto.TermOfPayment.prototype.setCode = function(value) {
476
+ return jspb.Message.setProto3StringField(this, 2, value);
477
+ };
478
+
479
+
480
+ /**
481
+ * optional string days = 3;
482
+ * @return {string}
483
+ */
484
+ proto.TermOfPayment.prototype.getDays = function() {
485
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
486
+ };
487
+
488
+
489
+ /**
490
+ * @param {string} value
491
+ * @return {!proto.TermOfPayment} returns this
492
+ */
493
+ proto.TermOfPayment.prototype.setDays = function(value) {
494
+ return jspb.Message.setProto3StringField(this, 3, value);
495
+ };
496
+
497
+
498
+ /**
499
+ * optional string description = 4;
500
+ * @return {string}
501
+ */
502
+ proto.TermOfPayment.prototype.getDescription = function() {
503
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
504
+ };
505
+
506
+
507
+ /**
508
+ * @param {string} value
509
+ * @return {!proto.TermOfPayment} returns this
510
+ */
511
+ proto.TermOfPayment.prototype.setDescription = function(value) {
512
+ return jspb.Message.setProto3StringField(this, 4, value);
513
+ };
514
+
515
+
516
+ /**
517
+ * optional string references_id = 5;
518
+ * @return {string}
519
+ */
520
+ proto.TermOfPayment.prototype.getReferencesId = function() {
521
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
522
+ };
523
+
524
+
525
+ /**
526
+ * @param {string} value
527
+ * @return {!proto.TermOfPayment} returns this
528
+ */
529
+ proto.TermOfPayment.prototype.setReferencesId = function(value) {
530
+ return jspb.Message.setProto3StringField(this, 5, value);
531
+ };
532
+
533
+
534
+ /**
535
+ * optional string created_at = 6;
536
+ * @return {string}
537
+ */
538
+ proto.TermOfPayment.prototype.getCreatedAt = function() {
539
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
540
+ };
541
+
542
+
543
+ /**
544
+ * @param {string} value
545
+ * @return {!proto.TermOfPayment} returns this
546
+ */
547
+ proto.TermOfPayment.prototype.setCreatedAt = function(value) {
548
+ return jspb.Message.setProto3StringField(this, 6, value);
549
+ };
550
+
551
+
552
+ /**
553
+ * optional string updated_at = 7;
554
+ * @return {string}
555
+ */
556
+ proto.TermOfPayment.prototype.getUpdatedAt = function() {
557
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
558
+ };
559
+
560
+
561
+ /**
562
+ * @param {string} value
563
+ * @return {!proto.TermOfPayment} returns this
564
+ */
565
+ proto.TermOfPayment.prototype.setUpdatedAt = function(value) {
566
+ return jspb.Message.setProto3StringField(this, 7, value);
567
+ };
568
+
569
+
570
+ /**
571
+ * optional string created_by = 9;
572
+ * @return {string}
573
+ */
574
+ proto.TermOfPayment.prototype.getCreatedBy = function() {
575
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
576
+ };
577
+
578
+
579
+ /**
580
+ * @param {string} value
581
+ * @return {!proto.TermOfPayment} returns this
582
+ */
583
+ proto.TermOfPayment.prototype.setCreatedBy = function(value) {
584
+ return jspb.Message.setProto3StringField(this, 9, value);
585
+ };
586
+
587
+
588
+ /**
589
+ * optional string updated_by = 10;
590
+ * @return {string}
591
+ */
592
+ proto.TermOfPayment.prototype.getUpdatedBy = function() {
593
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
594
+ };
595
+
596
+
597
+ /**
598
+ * @param {string} value
599
+ * @return {!proto.TermOfPayment} returns this
600
+ */
601
+ proto.TermOfPayment.prototype.setUpdatedBy = function(value) {
602
+ return jspb.Message.setProto3StringField(this, 10, value);
603
+ };
604
+
605
+
606
+ /**
607
+ * optional string companies_references_id = 11;
608
+ * @return {string}
609
+ */
610
+ proto.TermOfPayment.prototype.getCompaniesReferencesId = function() {
611
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
612
+ };
613
+
614
+
615
+ /**
616
+ * @param {string} value
617
+ * @return {!proto.TermOfPayment} returns this
618
+ */
619
+ proto.TermOfPayment.prototype.setCompaniesReferencesId = function(value) {
620
+ return jspb.Message.setProto3StringField(this, 11, value);
621
+ };
622
+
623
+
624
+
625
+
626
+
627
+ if (jspb.Message.GENERATE_TO_OBJECT) {
628
+ /**
629
+ * Creates an object representation of this proto.
630
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
631
+ * Optional fields that are not set will be set to undefined.
632
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
633
+ * For the list of reserved names please see:
634
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
635
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
636
+ * JSPB instance for transitional soy proto support:
637
+ * http://goto/soy-param-migration
638
+ * @return {!Object}
639
+ */
640
+ proto.CreateTermOfPaymentReq.prototype.toObject = function(opt_includeInstance) {
641
+ return proto.CreateTermOfPaymentReq.toObject(opt_includeInstance, this);
642
+ };
643
+
644
+
645
+ /**
646
+ * Static version of the {@see toObject} method.
647
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
648
+ * the JSPB instance for transitional soy proto support:
649
+ * http://goto/soy-param-migration
650
+ * @param {!proto.CreateTermOfPaymentReq} msg The msg instance to transform.
651
+ * @return {!Object}
652
+ * @suppress {unusedLocalVariables} f is only used for nested messages
653
+ */
654
+ proto.CreateTermOfPaymentReq.toObject = function(includeInstance, msg) {
655
+ var f, obj = {
656
+ termOfPayment: (f = msg.getTermOfPayment()) && proto.TermOfPayment.toObject(includeInstance, f)
657
+ };
658
+
659
+ if (includeInstance) {
660
+ obj.$jspbMessageInstance = msg;
661
+ }
662
+ return obj;
663
+ };
664
+ }
665
+
666
+
667
+ /**
668
+ * Deserializes binary data (in protobuf wire format).
669
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
670
+ * @return {!proto.CreateTermOfPaymentReq}
671
+ */
672
+ proto.CreateTermOfPaymentReq.deserializeBinary = function(bytes) {
673
+ var reader = new jspb.BinaryReader(bytes);
674
+ var msg = new proto.CreateTermOfPaymentReq;
675
+ return proto.CreateTermOfPaymentReq.deserializeBinaryFromReader(msg, reader);
676
+ };
677
+
678
+
679
+ /**
680
+ * Deserializes binary data (in protobuf wire format) from the
681
+ * given reader into the given message object.
682
+ * @param {!proto.CreateTermOfPaymentReq} msg The message object to deserialize into.
683
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
684
+ * @return {!proto.CreateTermOfPaymentReq}
685
+ */
686
+ proto.CreateTermOfPaymentReq.deserializeBinaryFromReader = function(msg, reader) {
687
+ while (reader.nextField()) {
688
+ if (reader.isEndGroup()) {
689
+ break;
690
+ }
691
+ var field = reader.getFieldNumber();
692
+ switch (field) {
693
+ case 1:
694
+ var value = new proto.TermOfPayment;
695
+ reader.readMessage(value,proto.TermOfPayment.deserializeBinaryFromReader);
696
+ msg.setTermOfPayment(value);
697
+ break;
698
+ default:
699
+ reader.skipField();
700
+ break;
701
+ }
702
+ }
703
+ return msg;
704
+ };
705
+
706
+
707
+ /**
708
+ * Serializes the message to binary data (in protobuf wire format).
709
+ * @return {!Uint8Array}
710
+ */
711
+ proto.CreateTermOfPaymentReq.prototype.serializeBinary = function() {
712
+ var writer = new jspb.BinaryWriter();
713
+ proto.CreateTermOfPaymentReq.serializeBinaryToWriter(this, writer);
714
+ return writer.getResultBuffer();
715
+ };
716
+
717
+
718
+ /**
719
+ * Serializes the given message to binary data (in protobuf wire
720
+ * format), writing to the given BinaryWriter.
721
+ * @param {!proto.CreateTermOfPaymentReq} message
722
+ * @param {!jspb.BinaryWriter} writer
723
+ * @suppress {unusedLocalVariables} f is only used for nested messages
724
+ */
725
+ proto.CreateTermOfPaymentReq.serializeBinaryToWriter = function(message, writer) {
726
+ var f = undefined;
727
+ f = message.getTermOfPayment();
728
+ if (f != null) {
729
+ writer.writeMessage(
730
+ 1,
731
+ f,
732
+ proto.TermOfPayment.serializeBinaryToWriter
733
+ );
734
+ }
735
+ };
736
+
737
+
738
+ /**
739
+ * optional TermOfPayment term_of_payment = 1;
740
+ * @return {?proto.TermOfPayment}
741
+ */
742
+ proto.CreateTermOfPaymentReq.prototype.getTermOfPayment = function() {
743
+ return /** @type{?proto.TermOfPayment} */ (
744
+ jspb.Message.getWrapperField(this, proto.TermOfPayment, 1));
745
+ };
746
+
747
+
748
+ /**
749
+ * @param {?proto.TermOfPayment|undefined} value
750
+ * @return {!proto.CreateTermOfPaymentReq} returns this
751
+ */
752
+ proto.CreateTermOfPaymentReq.prototype.setTermOfPayment = function(value) {
753
+ return jspb.Message.setWrapperField(this, 1, value);
754
+ };
755
+
756
+
757
+ /**
758
+ * Clears the message field making it undefined.
759
+ * @return {!proto.CreateTermOfPaymentReq} returns this
760
+ */
761
+ proto.CreateTermOfPaymentReq.prototype.clearTermOfPayment = function() {
762
+ return this.setTermOfPayment(undefined);
763
+ };
764
+
765
+
766
+ /**
767
+ * Returns whether this field is set.
768
+ * @return {boolean}
769
+ */
770
+ proto.CreateTermOfPaymentReq.prototype.hasTermOfPayment = function() {
771
+ return jspb.Message.getField(this, 1) != null;
772
+ };
773
+
774
+
775
+
776
+
777
+
778
+ if (jspb.Message.GENERATE_TO_OBJECT) {
779
+ /**
780
+ * Creates an object representation of this proto.
781
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
782
+ * Optional fields that are not set will be set to undefined.
783
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
784
+ * For the list of reserved names please see:
785
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
786
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
787
+ * JSPB instance for transitional soy proto support:
788
+ * http://goto/soy-param-migration
789
+ * @return {!Object}
790
+ */
791
+ proto.UpdateTermOfPaymentReq.prototype.toObject = function(opt_includeInstance) {
792
+ return proto.UpdateTermOfPaymentReq.toObject(opt_includeInstance, this);
793
+ };
794
+
795
+
796
+ /**
797
+ * Static version of the {@see toObject} method.
798
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
799
+ * the JSPB instance for transitional soy proto support:
800
+ * http://goto/soy-param-migration
801
+ * @param {!proto.UpdateTermOfPaymentReq} msg The msg instance to transform.
802
+ * @return {!Object}
803
+ * @suppress {unusedLocalVariables} f is only used for nested messages
804
+ */
805
+ proto.UpdateTermOfPaymentReq.toObject = function(includeInstance, msg) {
806
+ var f, obj = {
807
+ termOfPayment: (f = msg.getTermOfPayment()) && proto.TermOfPayment.toObject(includeInstance, f),
808
+ referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
809
+ };
810
+
811
+ if (includeInstance) {
812
+ obj.$jspbMessageInstance = msg;
813
+ }
814
+ return obj;
815
+ };
816
+ }
817
+
818
+
819
+ /**
820
+ * Deserializes binary data (in protobuf wire format).
821
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
822
+ * @return {!proto.UpdateTermOfPaymentReq}
823
+ */
824
+ proto.UpdateTermOfPaymentReq.deserializeBinary = function(bytes) {
825
+ var reader = new jspb.BinaryReader(bytes);
826
+ var msg = new proto.UpdateTermOfPaymentReq;
827
+ return proto.UpdateTermOfPaymentReq.deserializeBinaryFromReader(msg, reader);
828
+ };
829
+
830
+
831
+ /**
832
+ * Deserializes binary data (in protobuf wire format) from the
833
+ * given reader into the given message object.
834
+ * @param {!proto.UpdateTermOfPaymentReq} msg The message object to deserialize into.
835
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
836
+ * @return {!proto.UpdateTermOfPaymentReq}
837
+ */
838
+ proto.UpdateTermOfPaymentReq.deserializeBinaryFromReader = function(msg, reader) {
839
+ while (reader.nextField()) {
840
+ if (reader.isEndGroup()) {
841
+ break;
842
+ }
843
+ var field = reader.getFieldNumber();
844
+ switch (field) {
845
+ case 1:
846
+ var value = new proto.TermOfPayment;
847
+ reader.readMessage(value,proto.TermOfPayment.deserializeBinaryFromReader);
848
+ msg.setTermOfPayment(value);
849
+ break;
850
+ case 2:
851
+ var value = /** @type {string} */ (reader.readString());
852
+ msg.setReferencesId(value);
853
+ break;
854
+ default:
855
+ reader.skipField();
856
+ break;
857
+ }
858
+ }
859
+ return msg;
860
+ };
861
+
862
+
863
+ /**
864
+ * Serializes the message to binary data (in protobuf wire format).
865
+ * @return {!Uint8Array}
866
+ */
867
+ proto.UpdateTermOfPaymentReq.prototype.serializeBinary = function() {
868
+ var writer = new jspb.BinaryWriter();
869
+ proto.UpdateTermOfPaymentReq.serializeBinaryToWriter(this, writer);
870
+ return writer.getResultBuffer();
871
+ };
872
+
873
+
874
+ /**
875
+ * Serializes the given message to binary data (in protobuf wire
876
+ * format), writing to the given BinaryWriter.
877
+ * @param {!proto.UpdateTermOfPaymentReq} message
878
+ * @param {!jspb.BinaryWriter} writer
879
+ * @suppress {unusedLocalVariables} f is only used for nested messages
880
+ */
881
+ proto.UpdateTermOfPaymentReq.serializeBinaryToWriter = function(message, writer) {
882
+ var f = undefined;
883
+ f = message.getTermOfPayment();
884
+ if (f != null) {
885
+ writer.writeMessage(
886
+ 1,
887
+ f,
888
+ proto.TermOfPayment.serializeBinaryToWriter
889
+ );
890
+ }
891
+ f = message.getReferencesId();
892
+ if (f.length > 0) {
893
+ writer.writeString(
894
+ 2,
895
+ f
896
+ );
897
+ }
898
+ };
899
+
900
+
901
+ /**
902
+ * optional TermOfPayment term_of_payment = 1;
903
+ * @return {?proto.TermOfPayment}
904
+ */
905
+ proto.UpdateTermOfPaymentReq.prototype.getTermOfPayment = function() {
906
+ return /** @type{?proto.TermOfPayment} */ (
907
+ jspb.Message.getWrapperField(this, proto.TermOfPayment, 1));
908
+ };
909
+
910
+
911
+ /**
912
+ * @param {?proto.TermOfPayment|undefined} value
913
+ * @return {!proto.UpdateTermOfPaymentReq} returns this
914
+ */
915
+ proto.UpdateTermOfPaymentReq.prototype.setTermOfPayment = function(value) {
916
+ return jspb.Message.setWrapperField(this, 1, value);
917
+ };
918
+
919
+
920
+ /**
921
+ * Clears the message field making it undefined.
922
+ * @return {!proto.UpdateTermOfPaymentReq} returns this
923
+ */
924
+ proto.UpdateTermOfPaymentReq.prototype.clearTermOfPayment = function() {
925
+ return this.setTermOfPayment(undefined);
926
+ };
927
+
928
+
929
+ /**
930
+ * Returns whether this field is set.
931
+ * @return {boolean}
932
+ */
933
+ proto.UpdateTermOfPaymentReq.prototype.hasTermOfPayment = function() {
934
+ return jspb.Message.getField(this, 1) != null;
935
+ };
936
+
937
+
938
+ /**
939
+ * optional string references_id = 2;
940
+ * @return {string}
941
+ */
942
+ proto.UpdateTermOfPaymentReq.prototype.getReferencesId = function() {
943
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
944
+ };
945
+
946
+
947
+ /**
948
+ * @param {string} value
949
+ * @return {!proto.UpdateTermOfPaymentReq} returns this
950
+ */
951
+ proto.UpdateTermOfPaymentReq.prototype.setReferencesId = function(value) {
952
+ return jspb.Message.setProto3StringField(this, 2, value);
953
+ };
954
+
955
+
956
+
957
+
958
+
959
+ if (jspb.Message.GENERATE_TO_OBJECT) {
960
+ /**
961
+ * Creates an object representation of this proto.
962
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
963
+ * Optional fields that are not set will be set to undefined.
964
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
965
+ * For the list of reserved names please see:
966
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
967
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
968
+ * JSPB instance for transitional soy proto support:
969
+ * http://goto/soy-param-migration
970
+ * @return {!Object}
971
+ */
972
+ proto.GetListTermOfPaymentReq.prototype.toObject = function(opt_includeInstance) {
973
+ return proto.GetListTermOfPaymentReq.toObject(opt_includeInstance, this);
974
+ };
975
+
976
+
977
+ /**
978
+ * Static version of the {@see toObject} method.
979
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
980
+ * the JSPB instance for transitional soy proto support:
981
+ * http://goto/soy-param-migration
982
+ * @param {!proto.GetListTermOfPaymentReq} msg The msg instance to transform.
983
+ * @return {!Object}
984
+ * @suppress {unusedLocalVariables} f is only used for nested messages
985
+ */
986
+ proto.GetListTermOfPaymentReq.toObject = function(includeInstance, msg) {
987
+ var f, obj = {
988
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
989
+ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
990
+ };
991
+
992
+ if (includeInstance) {
993
+ obj.$jspbMessageInstance = msg;
994
+ }
995
+ return obj;
996
+ };
997
+ }
998
+
999
+
1000
+ /**
1001
+ * Deserializes binary data (in protobuf wire format).
1002
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1003
+ * @return {!proto.GetListTermOfPaymentReq}
1004
+ */
1005
+ proto.GetListTermOfPaymentReq.deserializeBinary = function(bytes) {
1006
+ var reader = new jspb.BinaryReader(bytes);
1007
+ var msg = new proto.GetListTermOfPaymentReq;
1008
+ return proto.GetListTermOfPaymentReq.deserializeBinaryFromReader(msg, reader);
1009
+ };
1010
+
1011
+
1012
+ /**
1013
+ * Deserializes binary data (in protobuf wire format) from the
1014
+ * given reader into the given message object.
1015
+ * @param {!proto.GetListTermOfPaymentReq} msg The message object to deserialize into.
1016
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1017
+ * @return {!proto.GetListTermOfPaymentReq}
1018
+ */
1019
+ proto.GetListTermOfPaymentReq.deserializeBinaryFromReader = function(msg, reader) {
1020
+ while (reader.nextField()) {
1021
+ if (reader.isEndGroup()) {
1022
+ break;
1023
+ }
1024
+ var field = reader.getFieldNumber();
1025
+ switch (field) {
1026
+ case 1:
1027
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
1028
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
1029
+ msg.setPagination(value);
1030
+ break;
1031
+ case 2:
1032
+ var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
1033
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
1034
+ msg.setQuery(value);
1035
+ break;
1036
+ default:
1037
+ reader.skipField();
1038
+ break;
1039
+ }
1040
+ }
1041
+ return msg;
1042
+ };
1043
+
1044
+
1045
+ /**
1046
+ * Serializes the message to binary data (in protobuf wire format).
1047
+ * @return {!Uint8Array}
1048
+ */
1049
+ proto.GetListTermOfPaymentReq.prototype.serializeBinary = function() {
1050
+ var writer = new jspb.BinaryWriter();
1051
+ proto.GetListTermOfPaymentReq.serializeBinaryToWriter(this, writer);
1052
+ return writer.getResultBuffer();
1053
+ };
1054
+
1055
+
1056
+ /**
1057
+ * Serializes the given message to binary data (in protobuf wire
1058
+ * format), writing to the given BinaryWriter.
1059
+ * @param {!proto.GetListTermOfPaymentReq} message
1060
+ * @param {!jspb.BinaryWriter} writer
1061
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1062
+ */
1063
+ proto.GetListTermOfPaymentReq.serializeBinaryToWriter = function(message, writer) {
1064
+ var f = undefined;
1065
+ f = message.getPagination();
1066
+ if (f != null) {
1067
+ writer.writeMessage(
1068
+ 1,
1069
+ f,
1070
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
1071
+ );
1072
+ }
1073
+ f = message.getQuery();
1074
+ if (f != null) {
1075
+ writer.writeMessage(
1076
+ 2,
1077
+ f,
1078
+ prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
1079
+ );
1080
+ }
1081
+ };
1082
+
1083
+
1084
+ /**
1085
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
1086
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
1087
+ */
1088
+ proto.GetListTermOfPaymentReq.prototype.getPagination = function() {
1089
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
1090
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
1091
+ };
1092
+
1093
+
1094
+ /**
1095
+ * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
1096
+ * @return {!proto.GetListTermOfPaymentReq} returns this
1097
+ */
1098
+ proto.GetListTermOfPaymentReq.prototype.setPagination = function(value) {
1099
+ return jspb.Message.setWrapperField(this, 1, value);
1100
+ };
1101
+
1102
+
1103
+ /**
1104
+ * Clears the message field making it undefined.
1105
+ * @return {!proto.GetListTermOfPaymentReq} returns this
1106
+ */
1107
+ proto.GetListTermOfPaymentReq.prototype.clearPagination = function() {
1108
+ return this.setPagination(undefined);
1109
+ };
1110
+
1111
+
1112
+ /**
1113
+ * Returns whether this field is set.
1114
+ * @return {boolean}
1115
+ */
1116
+ proto.GetListTermOfPaymentReq.prototype.hasPagination = function() {
1117
+ return jspb.Message.getField(this, 1) != null;
1118
+ };
1119
+
1120
+
1121
+ /**
1122
+ * optional prisca.v1.global.meta.FilterRequest query = 2;
1123
+ * @return {?proto.prisca.v1.global.meta.FilterRequest}
1124
+ */
1125
+ proto.GetListTermOfPaymentReq.prototype.getQuery = function() {
1126
+ return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
1127
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
1128
+ };
1129
+
1130
+
1131
+ /**
1132
+ * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
1133
+ * @return {!proto.GetListTermOfPaymentReq} returns this
1134
+ */
1135
+ proto.GetListTermOfPaymentReq.prototype.setQuery = function(value) {
1136
+ return jspb.Message.setWrapperField(this, 2, value);
1137
+ };
1138
+
1139
+
1140
+ /**
1141
+ * Clears the message field making it undefined.
1142
+ * @return {!proto.GetListTermOfPaymentReq} returns this
1143
+ */
1144
+ proto.GetListTermOfPaymentReq.prototype.clearQuery = function() {
1145
+ return this.setQuery(undefined);
1146
+ };
1147
+
1148
+
1149
+ /**
1150
+ * Returns whether this field is set.
1151
+ * @return {boolean}
1152
+ */
1153
+ proto.GetListTermOfPaymentReq.prototype.hasQuery = function() {
1154
+ return jspb.Message.getField(this, 2) != null;
1155
+ };
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1162
+ /**
1163
+ * Creates an object representation of this proto.
1164
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1165
+ * Optional fields that are not set will be set to undefined.
1166
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1167
+ * For the list of reserved names please see:
1168
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1169
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1170
+ * JSPB instance for transitional soy proto support:
1171
+ * http://goto/soy-param-migration
1172
+ * @return {!Object}
1173
+ */
1174
+ proto.GetSingleTermOfPaymentReq.prototype.toObject = function(opt_includeInstance) {
1175
+ return proto.GetSingleTermOfPaymentReq.toObject(opt_includeInstance, this);
1176
+ };
1177
+
1178
+
1179
+ /**
1180
+ * Static version of the {@see toObject} method.
1181
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1182
+ * the JSPB instance for transitional soy proto support:
1183
+ * http://goto/soy-param-migration
1184
+ * @param {!proto.GetSingleTermOfPaymentReq} msg The msg instance to transform.
1185
+ * @return {!Object}
1186
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1187
+ */
1188
+ proto.GetSingleTermOfPaymentReq.toObject = function(includeInstance, msg) {
1189
+ var f, obj = {
1190
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1191
+ };
1192
+
1193
+ if (includeInstance) {
1194
+ obj.$jspbMessageInstance = msg;
1195
+ }
1196
+ return obj;
1197
+ };
1198
+ }
1199
+
1200
+
1201
+ /**
1202
+ * Deserializes binary data (in protobuf wire format).
1203
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1204
+ * @return {!proto.GetSingleTermOfPaymentReq}
1205
+ */
1206
+ proto.GetSingleTermOfPaymentReq.deserializeBinary = function(bytes) {
1207
+ var reader = new jspb.BinaryReader(bytes);
1208
+ var msg = new proto.GetSingleTermOfPaymentReq;
1209
+ return proto.GetSingleTermOfPaymentReq.deserializeBinaryFromReader(msg, reader);
1210
+ };
1211
+
1212
+
1213
+ /**
1214
+ * Deserializes binary data (in protobuf wire format) from the
1215
+ * given reader into the given message object.
1216
+ * @param {!proto.GetSingleTermOfPaymentReq} msg The message object to deserialize into.
1217
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1218
+ * @return {!proto.GetSingleTermOfPaymentReq}
1219
+ */
1220
+ proto.GetSingleTermOfPaymentReq.deserializeBinaryFromReader = function(msg, reader) {
1221
+ while (reader.nextField()) {
1222
+ if (reader.isEndGroup()) {
1223
+ break;
1224
+ }
1225
+ var field = reader.getFieldNumber();
1226
+ switch (field) {
1227
+ case 1:
1228
+ var value = /** @type {string} */ (reader.readString());
1229
+ msg.setReferencesId(value);
1230
+ break;
1231
+ default:
1232
+ reader.skipField();
1233
+ break;
1234
+ }
1235
+ }
1236
+ return msg;
1237
+ };
1238
+
1239
+
1240
+ /**
1241
+ * Serializes the message to binary data (in protobuf wire format).
1242
+ * @return {!Uint8Array}
1243
+ */
1244
+ proto.GetSingleTermOfPaymentReq.prototype.serializeBinary = function() {
1245
+ var writer = new jspb.BinaryWriter();
1246
+ proto.GetSingleTermOfPaymentReq.serializeBinaryToWriter(this, writer);
1247
+ return writer.getResultBuffer();
1248
+ };
1249
+
1250
+
1251
+ /**
1252
+ * Serializes the given message to binary data (in protobuf wire
1253
+ * format), writing to the given BinaryWriter.
1254
+ * @param {!proto.GetSingleTermOfPaymentReq} message
1255
+ * @param {!jspb.BinaryWriter} writer
1256
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1257
+ */
1258
+ proto.GetSingleTermOfPaymentReq.serializeBinaryToWriter = function(message, writer) {
1259
+ var f = undefined;
1260
+ f = message.getReferencesId();
1261
+ if (f.length > 0) {
1262
+ writer.writeString(
1263
+ 1,
1264
+ f
1265
+ );
1266
+ }
1267
+ };
1268
+
1269
+
1270
+ /**
1271
+ * optional string references_id = 1;
1272
+ * @return {string}
1273
+ */
1274
+ proto.GetSingleTermOfPaymentReq.prototype.getReferencesId = function() {
1275
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1276
+ };
1277
+
1278
+
1279
+ /**
1280
+ * @param {string} value
1281
+ * @return {!proto.GetSingleTermOfPaymentReq} returns this
1282
+ */
1283
+ proto.GetSingleTermOfPaymentReq.prototype.setReferencesId = function(value) {
1284
+ return jspb.Message.setProto3StringField(this, 1, value);
1285
+ };
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1292
+ /**
1293
+ * Creates an object representation of this proto.
1294
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1295
+ * Optional fields that are not set will be set to undefined.
1296
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1297
+ * For the list of reserved names please see:
1298
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1299
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1300
+ * JSPB instance for transitional soy proto support:
1301
+ * http://goto/soy-param-migration
1302
+ * @return {!Object}
1303
+ */
1304
+ proto.CreateTermOfPaymentRes.prototype.toObject = function(opt_includeInstance) {
1305
+ return proto.CreateTermOfPaymentRes.toObject(opt_includeInstance, this);
1306
+ };
1307
+
1308
+
1309
+ /**
1310
+ * Static version of the {@see toObject} method.
1311
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1312
+ * the JSPB instance for transitional soy proto support:
1313
+ * http://goto/soy-param-migration
1314
+ * @param {!proto.CreateTermOfPaymentRes} msg The msg instance to transform.
1315
+ * @return {!Object}
1316
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1317
+ */
1318
+ proto.CreateTermOfPaymentRes.toObject = function(includeInstance, msg) {
1319
+ var f, obj = {
1320
+ termOfPayment: (f = msg.getTermOfPayment()) && proto.TermOfPayment.toObject(includeInstance, f),
1321
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1322
+ };
1323
+
1324
+ if (includeInstance) {
1325
+ obj.$jspbMessageInstance = msg;
1326
+ }
1327
+ return obj;
1328
+ };
1329
+ }
1330
+
1331
+
1332
+ /**
1333
+ * Deserializes binary data (in protobuf wire format).
1334
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1335
+ * @return {!proto.CreateTermOfPaymentRes}
1336
+ */
1337
+ proto.CreateTermOfPaymentRes.deserializeBinary = function(bytes) {
1338
+ var reader = new jspb.BinaryReader(bytes);
1339
+ var msg = new proto.CreateTermOfPaymentRes;
1340
+ return proto.CreateTermOfPaymentRes.deserializeBinaryFromReader(msg, reader);
1341
+ };
1342
+
1343
+
1344
+ /**
1345
+ * Deserializes binary data (in protobuf wire format) from the
1346
+ * given reader into the given message object.
1347
+ * @param {!proto.CreateTermOfPaymentRes} msg The message object to deserialize into.
1348
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1349
+ * @return {!proto.CreateTermOfPaymentRes}
1350
+ */
1351
+ proto.CreateTermOfPaymentRes.deserializeBinaryFromReader = function(msg, reader) {
1352
+ while (reader.nextField()) {
1353
+ if (reader.isEndGroup()) {
1354
+ break;
1355
+ }
1356
+ var field = reader.getFieldNumber();
1357
+ switch (field) {
1358
+ case 1:
1359
+ var value = new proto.TermOfPayment;
1360
+ reader.readMessage(value,proto.TermOfPayment.deserializeBinaryFromReader);
1361
+ msg.setTermOfPayment(value);
1362
+ break;
1363
+ case 2:
1364
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1365
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1366
+ msg.setMeta(value);
1367
+ break;
1368
+ default:
1369
+ reader.skipField();
1370
+ break;
1371
+ }
1372
+ }
1373
+ return msg;
1374
+ };
1375
+
1376
+
1377
+ /**
1378
+ * Serializes the message to binary data (in protobuf wire format).
1379
+ * @return {!Uint8Array}
1380
+ */
1381
+ proto.CreateTermOfPaymentRes.prototype.serializeBinary = function() {
1382
+ var writer = new jspb.BinaryWriter();
1383
+ proto.CreateTermOfPaymentRes.serializeBinaryToWriter(this, writer);
1384
+ return writer.getResultBuffer();
1385
+ };
1386
+
1387
+
1388
+ /**
1389
+ * Serializes the given message to binary data (in protobuf wire
1390
+ * format), writing to the given BinaryWriter.
1391
+ * @param {!proto.CreateTermOfPaymentRes} message
1392
+ * @param {!jspb.BinaryWriter} writer
1393
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1394
+ */
1395
+ proto.CreateTermOfPaymentRes.serializeBinaryToWriter = function(message, writer) {
1396
+ var f = undefined;
1397
+ f = message.getTermOfPayment();
1398
+ if (f != null) {
1399
+ writer.writeMessage(
1400
+ 1,
1401
+ f,
1402
+ proto.TermOfPayment.serializeBinaryToWriter
1403
+ );
1404
+ }
1405
+ f = message.getMeta();
1406
+ if (f != null) {
1407
+ writer.writeMessage(
1408
+ 2,
1409
+ f,
1410
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1411
+ );
1412
+ }
1413
+ };
1414
+
1415
+
1416
+ /**
1417
+ * optional TermOfPayment term_of_payment = 1;
1418
+ * @return {?proto.TermOfPayment}
1419
+ */
1420
+ proto.CreateTermOfPaymentRes.prototype.getTermOfPayment = function() {
1421
+ return /** @type{?proto.TermOfPayment} */ (
1422
+ jspb.Message.getWrapperField(this, proto.TermOfPayment, 1));
1423
+ };
1424
+
1425
+
1426
+ /**
1427
+ * @param {?proto.TermOfPayment|undefined} value
1428
+ * @return {!proto.CreateTermOfPaymentRes} returns this
1429
+ */
1430
+ proto.CreateTermOfPaymentRes.prototype.setTermOfPayment = function(value) {
1431
+ return jspb.Message.setWrapperField(this, 1, value);
1432
+ };
1433
+
1434
+
1435
+ /**
1436
+ * Clears the message field making it undefined.
1437
+ * @return {!proto.CreateTermOfPaymentRes} returns this
1438
+ */
1439
+ proto.CreateTermOfPaymentRes.prototype.clearTermOfPayment = function() {
1440
+ return this.setTermOfPayment(undefined);
1441
+ };
1442
+
1443
+
1444
+ /**
1445
+ * Returns whether this field is set.
1446
+ * @return {boolean}
1447
+ */
1448
+ proto.CreateTermOfPaymentRes.prototype.hasTermOfPayment = function() {
1449
+ return jspb.Message.getField(this, 1) != null;
1450
+ };
1451
+
1452
+
1453
+ /**
1454
+ * optional prisca.v1.global.meta.Meta meta = 2;
1455
+ * @return {?proto.prisca.v1.global.meta.Meta}
1456
+ */
1457
+ proto.CreateTermOfPaymentRes.prototype.getMeta = function() {
1458
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1459
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1460
+ };
1461
+
1462
+
1463
+ /**
1464
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1465
+ * @return {!proto.CreateTermOfPaymentRes} returns this
1466
+ */
1467
+ proto.CreateTermOfPaymentRes.prototype.setMeta = function(value) {
1468
+ return jspb.Message.setWrapperField(this, 2, value);
1469
+ };
1470
+
1471
+
1472
+ /**
1473
+ * Clears the message field making it undefined.
1474
+ * @return {!proto.CreateTermOfPaymentRes} returns this
1475
+ */
1476
+ proto.CreateTermOfPaymentRes.prototype.clearMeta = function() {
1477
+ return this.setMeta(undefined);
1478
+ };
1479
+
1480
+
1481
+ /**
1482
+ * Returns whether this field is set.
1483
+ * @return {boolean}
1484
+ */
1485
+ proto.CreateTermOfPaymentRes.prototype.hasMeta = function() {
1486
+ return jspb.Message.getField(this, 2) != null;
1487
+ };
1488
+
1489
+
1490
+
1491
+
1492
+
1493
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1494
+ /**
1495
+ * Creates an object representation of this proto.
1496
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1497
+ * Optional fields that are not set will be set to undefined.
1498
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1499
+ * For the list of reserved names please see:
1500
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1501
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1502
+ * JSPB instance for transitional soy proto support:
1503
+ * http://goto/soy-param-migration
1504
+ * @return {!Object}
1505
+ */
1506
+ proto.GetSingleTermOfPaymentRes.prototype.toObject = function(opt_includeInstance) {
1507
+ return proto.GetSingleTermOfPaymentRes.toObject(opt_includeInstance, this);
1508
+ };
1509
+
1510
+
1511
+ /**
1512
+ * Static version of the {@see toObject} method.
1513
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1514
+ * the JSPB instance for transitional soy proto support:
1515
+ * http://goto/soy-param-migration
1516
+ * @param {!proto.GetSingleTermOfPaymentRes} msg The msg instance to transform.
1517
+ * @return {!Object}
1518
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1519
+ */
1520
+ proto.GetSingleTermOfPaymentRes.toObject = function(includeInstance, msg) {
1521
+ var f, obj = {
1522
+ termOfPayment: (f = msg.getTermOfPayment()) && proto.TermOfPayment.toObject(includeInstance, f),
1523
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1524
+ };
1525
+
1526
+ if (includeInstance) {
1527
+ obj.$jspbMessageInstance = msg;
1528
+ }
1529
+ return obj;
1530
+ };
1531
+ }
1532
+
1533
+
1534
+ /**
1535
+ * Deserializes binary data (in protobuf wire format).
1536
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1537
+ * @return {!proto.GetSingleTermOfPaymentRes}
1538
+ */
1539
+ proto.GetSingleTermOfPaymentRes.deserializeBinary = function(bytes) {
1540
+ var reader = new jspb.BinaryReader(bytes);
1541
+ var msg = new proto.GetSingleTermOfPaymentRes;
1542
+ return proto.GetSingleTermOfPaymentRes.deserializeBinaryFromReader(msg, reader);
1543
+ };
1544
+
1545
+
1546
+ /**
1547
+ * Deserializes binary data (in protobuf wire format) from the
1548
+ * given reader into the given message object.
1549
+ * @param {!proto.GetSingleTermOfPaymentRes} msg The message object to deserialize into.
1550
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1551
+ * @return {!proto.GetSingleTermOfPaymentRes}
1552
+ */
1553
+ proto.GetSingleTermOfPaymentRes.deserializeBinaryFromReader = function(msg, reader) {
1554
+ while (reader.nextField()) {
1555
+ if (reader.isEndGroup()) {
1556
+ break;
1557
+ }
1558
+ var field = reader.getFieldNumber();
1559
+ switch (field) {
1560
+ case 1:
1561
+ var value = new proto.TermOfPayment;
1562
+ reader.readMessage(value,proto.TermOfPayment.deserializeBinaryFromReader);
1563
+ msg.setTermOfPayment(value);
1564
+ break;
1565
+ case 2:
1566
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1567
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1568
+ msg.setMeta(value);
1569
+ break;
1570
+ default:
1571
+ reader.skipField();
1572
+ break;
1573
+ }
1574
+ }
1575
+ return msg;
1576
+ };
1577
+
1578
+
1579
+ /**
1580
+ * Serializes the message to binary data (in protobuf wire format).
1581
+ * @return {!Uint8Array}
1582
+ */
1583
+ proto.GetSingleTermOfPaymentRes.prototype.serializeBinary = function() {
1584
+ var writer = new jspb.BinaryWriter();
1585
+ proto.GetSingleTermOfPaymentRes.serializeBinaryToWriter(this, writer);
1586
+ return writer.getResultBuffer();
1587
+ };
1588
+
1589
+
1590
+ /**
1591
+ * Serializes the given message to binary data (in protobuf wire
1592
+ * format), writing to the given BinaryWriter.
1593
+ * @param {!proto.GetSingleTermOfPaymentRes} message
1594
+ * @param {!jspb.BinaryWriter} writer
1595
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1596
+ */
1597
+ proto.GetSingleTermOfPaymentRes.serializeBinaryToWriter = function(message, writer) {
1598
+ var f = undefined;
1599
+ f = message.getTermOfPayment();
1600
+ if (f != null) {
1601
+ writer.writeMessage(
1602
+ 1,
1603
+ f,
1604
+ proto.TermOfPayment.serializeBinaryToWriter
1605
+ );
1606
+ }
1607
+ f = message.getMeta();
1608
+ if (f != null) {
1609
+ writer.writeMessage(
1610
+ 2,
1611
+ f,
1612
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1613
+ );
1614
+ }
1615
+ };
1616
+
1617
+
1618
+ /**
1619
+ * optional TermOfPayment term_of_payment = 1;
1620
+ * @return {?proto.TermOfPayment}
1621
+ */
1622
+ proto.GetSingleTermOfPaymentRes.prototype.getTermOfPayment = function() {
1623
+ return /** @type{?proto.TermOfPayment} */ (
1624
+ jspb.Message.getWrapperField(this, proto.TermOfPayment, 1));
1625
+ };
1626
+
1627
+
1628
+ /**
1629
+ * @param {?proto.TermOfPayment|undefined} value
1630
+ * @return {!proto.GetSingleTermOfPaymentRes} returns this
1631
+ */
1632
+ proto.GetSingleTermOfPaymentRes.prototype.setTermOfPayment = function(value) {
1633
+ return jspb.Message.setWrapperField(this, 1, value);
1634
+ };
1635
+
1636
+
1637
+ /**
1638
+ * Clears the message field making it undefined.
1639
+ * @return {!proto.GetSingleTermOfPaymentRes} returns this
1640
+ */
1641
+ proto.GetSingleTermOfPaymentRes.prototype.clearTermOfPayment = function() {
1642
+ return this.setTermOfPayment(undefined);
1643
+ };
1644
+
1645
+
1646
+ /**
1647
+ * Returns whether this field is set.
1648
+ * @return {boolean}
1649
+ */
1650
+ proto.GetSingleTermOfPaymentRes.prototype.hasTermOfPayment = function() {
1651
+ return jspb.Message.getField(this, 1) != null;
1652
+ };
1653
+
1654
+
1655
+ /**
1656
+ * optional prisca.v1.global.meta.Meta meta = 2;
1657
+ * @return {?proto.prisca.v1.global.meta.Meta}
1658
+ */
1659
+ proto.GetSingleTermOfPaymentRes.prototype.getMeta = function() {
1660
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1661
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1662
+ };
1663
+
1664
+
1665
+ /**
1666
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1667
+ * @return {!proto.GetSingleTermOfPaymentRes} returns this
1668
+ */
1669
+ proto.GetSingleTermOfPaymentRes.prototype.setMeta = function(value) {
1670
+ return jspb.Message.setWrapperField(this, 2, value);
1671
+ };
1672
+
1673
+
1674
+ /**
1675
+ * Clears the message field making it undefined.
1676
+ * @return {!proto.GetSingleTermOfPaymentRes} returns this
1677
+ */
1678
+ proto.GetSingleTermOfPaymentRes.prototype.clearMeta = function() {
1679
+ return this.setMeta(undefined);
1680
+ };
1681
+
1682
+
1683
+ /**
1684
+ * Returns whether this field is set.
1685
+ * @return {boolean}
1686
+ */
1687
+ proto.GetSingleTermOfPaymentRes.prototype.hasMeta = function() {
1688
+ return jspb.Message.getField(this, 2) != null;
1689
+ };
1690
+
1691
+
1692
+
1693
+
1694
+
1695
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1696
+ /**
1697
+ * Creates an object representation of this proto.
1698
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1699
+ * Optional fields that are not set will be set to undefined.
1700
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1701
+ * For the list of reserved names please see:
1702
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1703
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1704
+ * JSPB instance for transitional soy proto support:
1705
+ * http://goto/soy-param-migration
1706
+ * @return {!Object}
1707
+ */
1708
+ proto.UpdateTermOfPaymentRes.prototype.toObject = function(opt_includeInstance) {
1709
+ return proto.UpdateTermOfPaymentRes.toObject(opt_includeInstance, this);
1710
+ };
1711
+
1712
+
1713
+ /**
1714
+ * Static version of the {@see toObject} method.
1715
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1716
+ * the JSPB instance for transitional soy proto support:
1717
+ * http://goto/soy-param-migration
1718
+ * @param {!proto.UpdateTermOfPaymentRes} msg The msg instance to transform.
1719
+ * @return {!Object}
1720
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1721
+ */
1722
+ proto.UpdateTermOfPaymentRes.toObject = function(includeInstance, msg) {
1723
+ var f, obj = {
1724
+ termOfPayment: (f = msg.getTermOfPayment()) && proto.TermOfPayment.toObject(includeInstance, f),
1725
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1726
+ };
1727
+
1728
+ if (includeInstance) {
1729
+ obj.$jspbMessageInstance = msg;
1730
+ }
1731
+ return obj;
1732
+ };
1733
+ }
1734
+
1735
+
1736
+ /**
1737
+ * Deserializes binary data (in protobuf wire format).
1738
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1739
+ * @return {!proto.UpdateTermOfPaymentRes}
1740
+ */
1741
+ proto.UpdateTermOfPaymentRes.deserializeBinary = function(bytes) {
1742
+ var reader = new jspb.BinaryReader(bytes);
1743
+ var msg = new proto.UpdateTermOfPaymentRes;
1744
+ return proto.UpdateTermOfPaymentRes.deserializeBinaryFromReader(msg, reader);
1745
+ };
1746
+
1747
+
1748
+ /**
1749
+ * Deserializes binary data (in protobuf wire format) from the
1750
+ * given reader into the given message object.
1751
+ * @param {!proto.UpdateTermOfPaymentRes} msg The message object to deserialize into.
1752
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1753
+ * @return {!proto.UpdateTermOfPaymentRes}
1754
+ */
1755
+ proto.UpdateTermOfPaymentRes.deserializeBinaryFromReader = function(msg, reader) {
1756
+ while (reader.nextField()) {
1757
+ if (reader.isEndGroup()) {
1758
+ break;
1759
+ }
1760
+ var field = reader.getFieldNumber();
1761
+ switch (field) {
1762
+ case 1:
1763
+ var value = new proto.TermOfPayment;
1764
+ reader.readMessage(value,proto.TermOfPayment.deserializeBinaryFromReader);
1765
+ msg.setTermOfPayment(value);
1766
+ break;
1767
+ case 2:
1768
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1769
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1770
+ msg.setMeta(value);
1771
+ break;
1772
+ default:
1773
+ reader.skipField();
1774
+ break;
1775
+ }
1776
+ }
1777
+ return msg;
1778
+ };
1779
+
1780
+
1781
+ /**
1782
+ * Serializes the message to binary data (in protobuf wire format).
1783
+ * @return {!Uint8Array}
1784
+ */
1785
+ proto.UpdateTermOfPaymentRes.prototype.serializeBinary = function() {
1786
+ var writer = new jspb.BinaryWriter();
1787
+ proto.UpdateTermOfPaymentRes.serializeBinaryToWriter(this, writer);
1788
+ return writer.getResultBuffer();
1789
+ };
1790
+
1791
+
1792
+ /**
1793
+ * Serializes the given message to binary data (in protobuf wire
1794
+ * format), writing to the given BinaryWriter.
1795
+ * @param {!proto.UpdateTermOfPaymentRes} message
1796
+ * @param {!jspb.BinaryWriter} writer
1797
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1798
+ */
1799
+ proto.UpdateTermOfPaymentRes.serializeBinaryToWriter = function(message, writer) {
1800
+ var f = undefined;
1801
+ f = message.getTermOfPayment();
1802
+ if (f != null) {
1803
+ writer.writeMessage(
1804
+ 1,
1805
+ f,
1806
+ proto.TermOfPayment.serializeBinaryToWriter
1807
+ );
1808
+ }
1809
+ f = message.getMeta();
1810
+ if (f != null) {
1811
+ writer.writeMessage(
1812
+ 2,
1813
+ f,
1814
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1815
+ );
1816
+ }
1817
+ };
1818
+
1819
+
1820
+ /**
1821
+ * optional TermOfPayment term_of_payment = 1;
1822
+ * @return {?proto.TermOfPayment}
1823
+ */
1824
+ proto.UpdateTermOfPaymentRes.prototype.getTermOfPayment = function() {
1825
+ return /** @type{?proto.TermOfPayment} */ (
1826
+ jspb.Message.getWrapperField(this, proto.TermOfPayment, 1));
1827
+ };
1828
+
1829
+
1830
+ /**
1831
+ * @param {?proto.TermOfPayment|undefined} value
1832
+ * @return {!proto.UpdateTermOfPaymentRes} returns this
1833
+ */
1834
+ proto.UpdateTermOfPaymentRes.prototype.setTermOfPayment = function(value) {
1835
+ return jspb.Message.setWrapperField(this, 1, value);
1836
+ };
1837
+
1838
+
1839
+ /**
1840
+ * Clears the message field making it undefined.
1841
+ * @return {!proto.UpdateTermOfPaymentRes} returns this
1842
+ */
1843
+ proto.UpdateTermOfPaymentRes.prototype.clearTermOfPayment = function() {
1844
+ return this.setTermOfPayment(undefined);
1845
+ };
1846
+
1847
+
1848
+ /**
1849
+ * Returns whether this field is set.
1850
+ * @return {boolean}
1851
+ */
1852
+ proto.UpdateTermOfPaymentRes.prototype.hasTermOfPayment = function() {
1853
+ return jspb.Message.getField(this, 1) != null;
1854
+ };
1855
+
1856
+
1857
+ /**
1858
+ * optional prisca.v1.global.meta.Meta meta = 2;
1859
+ * @return {?proto.prisca.v1.global.meta.Meta}
1860
+ */
1861
+ proto.UpdateTermOfPaymentRes.prototype.getMeta = function() {
1862
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1863
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1864
+ };
1865
+
1866
+
1867
+ /**
1868
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1869
+ * @return {!proto.UpdateTermOfPaymentRes} returns this
1870
+ */
1871
+ proto.UpdateTermOfPaymentRes.prototype.setMeta = function(value) {
1872
+ return jspb.Message.setWrapperField(this, 2, value);
1873
+ };
1874
+
1875
+
1876
+ /**
1877
+ * Clears the message field making it undefined.
1878
+ * @return {!proto.UpdateTermOfPaymentRes} returns this
1879
+ */
1880
+ proto.UpdateTermOfPaymentRes.prototype.clearMeta = function() {
1881
+ return this.setMeta(undefined);
1882
+ };
1883
+
1884
+
1885
+ /**
1886
+ * Returns whether this field is set.
1887
+ * @return {boolean}
1888
+ */
1889
+ proto.UpdateTermOfPaymentRes.prototype.hasMeta = function() {
1890
+ return jspb.Message.getField(this, 2) != null;
1891
+ };
1892
+
1893
+
1894
+
1895
+ /**
1896
+ * List of repeated fields within this message type.
1897
+ * @private {!Array<number>}
1898
+ * @const
1899
+ */
1900
+ proto.GetListTermOfPaymentRes.repeatedFields_ = [1];
1901
+
1902
+
1903
+
1904
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1905
+ /**
1906
+ * Creates an object representation of this proto.
1907
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1908
+ * Optional fields that are not set will be set to undefined.
1909
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1910
+ * For the list of reserved names please see:
1911
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1912
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1913
+ * JSPB instance for transitional soy proto support:
1914
+ * http://goto/soy-param-migration
1915
+ * @return {!Object}
1916
+ */
1917
+ proto.GetListTermOfPaymentRes.prototype.toObject = function(opt_includeInstance) {
1918
+ return proto.GetListTermOfPaymentRes.toObject(opt_includeInstance, this);
1919
+ };
1920
+
1921
+
1922
+ /**
1923
+ * Static version of the {@see toObject} method.
1924
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1925
+ * the JSPB instance for transitional soy proto support:
1926
+ * http://goto/soy-param-migration
1927
+ * @param {!proto.GetListTermOfPaymentRes} msg The msg instance to transform.
1928
+ * @return {!Object}
1929
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1930
+ */
1931
+ proto.GetListTermOfPaymentRes.toObject = function(includeInstance, msg) {
1932
+ var f, obj = {
1933
+ termOfPaymentList: jspb.Message.toObjectList(msg.getTermOfPaymentList(),
1934
+ proto.TermOfPayment.toObject, includeInstance),
1935
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1936
+ };
1937
+
1938
+ if (includeInstance) {
1939
+ obj.$jspbMessageInstance = msg;
1940
+ }
1941
+ return obj;
1942
+ };
1943
+ }
1944
+
1945
+
1946
+ /**
1947
+ * Deserializes binary data (in protobuf wire format).
1948
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1949
+ * @return {!proto.GetListTermOfPaymentRes}
1950
+ */
1951
+ proto.GetListTermOfPaymentRes.deserializeBinary = function(bytes) {
1952
+ var reader = new jspb.BinaryReader(bytes);
1953
+ var msg = new proto.GetListTermOfPaymentRes;
1954
+ return proto.GetListTermOfPaymentRes.deserializeBinaryFromReader(msg, reader);
1955
+ };
1956
+
1957
+
1958
+ /**
1959
+ * Deserializes binary data (in protobuf wire format) from the
1960
+ * given reader into the given message object.
1961
+ * @param {!proto.GetListTermOfPaymentRes} msg The message object to deserialize into.
1962
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1963
+ * @return {!proto.GetListTermOfPaymentRes}
1964
+ */
1965
+ proto.GetListTermOfPaymentRes.deserializeBinaryFromReader = function(msg, reader) {
1966
+ while (reader.nextField()) {
1967
+ if (reader.isEndGroup()) {
1968
+ break;
1969
+ }
1970
+ var field = reader.getFieldNumber();
1971
+ switch (field) {
1972
+ case 1:
1973
+ var value = new proto.TermOfPayment;
1974
+ reader.readMessage(value,proto.TermOfPayment.deserializeBinaryFromReader);
1975
+ msg.addTermOfPayment(value);
1976
+ break;
1977
+ case 2:
1978
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1979
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1980
+ msg.setMeta(value);
1981
+ break;
1982
+ default:
1983
+ reader.skipField();
1984
+ break;
1985
+ }
1986
+ }
1987
+ return msg;
1988
+ };
1989
+
1990
+
1991
+ /**
1992
+ * Serializes the message to binary data (in protobuf wire format).
1993
+ * @return {!Uint8Array}
1994
+ */
1995
+ proto.GetListTermOfPaymentRes.prototype.serializeBinary = function() {
1996
+ var writer = new jspb.BinaryWriter();
1997
+ proto.GetListTermOfPaymentRes.serializeBinaryToWriter(this, writer);
1998
+ return writer.getResultBuffer();
1999
+ };
2000
+
2001
+
2002
+ /**
2003
+ * Serializes the given message to binary data (in protobuf wire
2004
+ * format), writing to the given BinaryWriter.
2005
+ * @param {!proto.GetListTermOfPaymentRes} message
2006
+ * @param {!jspb.BinaryWriter} writer
2007
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2008
+ */
2009
+ proto.GetListTermOfPaymentRes.serializeBinaryToWriter = function(message, writer) {
2010
+ var f = undefined;
2011
+ f = message.getTermOfPaymentList();
2012
+ if (f.length > 0) {
2013
+ writer.writeRepeatedMessage(
2014
+ 1,
2015
+ f,
2016
+ proto.TermOfPayment.serializeBinaryToWriter
2017
+ );
2018
+ }
2019
+ f = message.getMeta();
2020
+ if (f != null) {
2021
+ writer.writeMessage(
2022
+ 2,
2023
+ f,
2024
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2025
+ );
2026
+ }
2027
+ };
2028
+
2029
+
2030
+ /**
2031
+ * repeated TermOfPayment term_of_payment = 1;
2032
+ * @return {!Array<!proto.TermOfPayment>}
2033
+ */
2034
+ proto.GetListTermOfPaymentRes.prototype.getTermOfPaymentList = function() {
2035
+ return /** @type{!Array<!proto.TermOfPayment>} */ (
2036
+ jspb.Message.getRepeatedWrapperField(this, proto.TermOfPayment, 1));
2037
+ };
2038
+
2039
+
2040
+ /**
2041
+ * @param {!Array<!proto.TermOfPayment>} value
2042
+ * @return {!proto.GetListTermOfPaymentRes} returns this
2043
+ */
2044
+ proto.GetListTermOfPaymentRes.prototype.setTermOfPaymentList = function(value) {
2045
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2046
+ };
2047
+
2048
+
2049
+ /**
2050
+ * @param {!proto.TermOfPayment=} opt_value
2051
+ * @param {number=} opt_index
2052
+ * @return {!proto.TermOfPayment}
2053
+ */
2054
+ proto.GetListTermOfPaymentRes.prototype.addTermOfPayment = function(opt_value, opt_index) {
2055
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TermOfPayment, opt_index);
2056
+ };
2057
+
2058
+
2059
+ /**
2060
+ * Clears the list making it empty but non-null.
2061
+ * @return {!proto.GetListTermOfPaymentRes} returns this
2062
+ */
2063
+ proto.GetListTermOfPaymentRes.prototype.clearTermOfPaymentList = function() {
2064
+ return this.setTermOfPaymentList([]);
2065
+ };
2066
+
2067
+
2068
+ /**
2069
+ * optional prisca.v1.global.meta.Meta meta = 2;
2070
+ * @return {?proto.prisca.v1.global.meta.Meta}
2071
+ */
2072
+ proto.GetListTermOfPaymentRes.prototype.getMeta = function() {
2073
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2074
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2075
+ };
2076
+
2077
+
2078
+ /**
2079
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2080
+ * @return {!proto.GetListTermOfPaymentRes} returns this
2081
+ */
2082
+ proto.GetListTermOfPaymentRes.prototype.setMeta = function(value) {
2083
+ return jspb.Message.setWrapperField(this, 2, value);
2084
+ };
2085
+
2086
+
2087
+ /**
2088
+ * Clears the message field making it undefined.
2089
+ * @return {!proto.GetListTermOfPaymentRes} returns this
2090
+ */
2091
+ proto.GetListTermOfPaymentRes.prototype.clearMeta = function() {
2092
+ return this.setMeta(undefined);
2093
+ };
2094
+
2095
+
2096
+ /**
2097
+ * Returns whether this field is set.
2098
+ * @return {boolean}
2099
+ */
2100
+ proto.GetListTermOfPaymentRes.prototype.hasMeta = function() {
2101
+ return jspb.Message.getField(this, 2) != null;
2102
+ };
2103
+
2104
+
2105
+ goog.object.extend(exports, proto);