@aldiokta/protocgen 1.0.60 → 1.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/core/auth/auth_grpc_pb.js +1 -1
- package/prisca/v1/core/company/company_grpc_pb.js +1 -1
- package/prisca/v1/core/currency/currency_grpc_pb.js +1 -1
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +1 -1
- package/prisca/v1/core/employee/employee_grpc_pb.js +1 -1
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +1 -1
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +1 -1
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +1 -1
- 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 +1158 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +2 -1
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +116 -33
- package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +1 -1
- package/prisca/v1/core/location/location_grpc_pb.js +1 -1
- package/prisca/v1/core/material/material_grpc_pb.js +1 -1
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +1 -1
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +1 -1
- package/prisca/v1/core/material_type/material_type_pb.js +136 -25
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +1 -1
- package/prisca/v1/core/messaging/email_template_pb.js +6 -6
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +1 -1
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +1 -1
- package/prisca/v1/core/organization/organization_grpc_pb.js +1 -1
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +1 -1
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +1 -1
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +1 -1
- package/prisca/v1/core/report/report_grpc_pb.js +178 -0
- package/prisca/v1/core/report/report_pb.js +2642 -0
- package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
- package/prisca/v1/core/report/user_report_pb.js +2516 -0
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +56 -56
- package/prisca/v1/core/tax_code/tax_code_pb.js +402 -402
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +1 -1
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +31 -1
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +1 -1
- package/prisca/v1/core/users_role/users_role_grpc_pb.js +1 -1
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +1 -1
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +1 -1
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +132 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +2556 -941
|
@@ -23,18 +23,18 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
-
goog.exportSymbol('proto.
|
|
27
|
-
goog.exportSymbol('proto.
|
|
28
|
-
goog.exportSymbol('proto.
|
|
29
|
-
goog.exportSymbol('proto.
|
|
30
|
-
goog.exportSymbol('proto.
|
|
31
|
-
goog.exportSymbol('proto.
|
|
32
|
-
goog.exportSymbol('proto.
|
|
33
|
-
goog.exportSymbol('proto.
|
|
34
|
-
goog.exportSymbol('proto.
|
|
35
|
-
goog.exportSymbol('proto.
|
|
36
|
-
goog.exportSymbol('proto.
|
|
37
|
-
goog.exportSymbol('proto.
|
|
26
|
+
goog.exportSymbol('proto.BaseTaxCode', null, global);
|
|
27
|
+
goog.exportSymbol('proto.CreateTaxCodeRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.CreateTaxCodeResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.DeleteTaxCodeRequest', null, global);
|
|
30
|
+
goog.exportSymbol('proto.DeleteTaxCodeResponse', null, global);
|
|
31
|
+
goog.exportSymbol('proto.GetListTaxCodeRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.GetListTaxCodeResponse', null, global);
|
|
33
|
+
goog.exportSymbol('proto.GetTaxCodeByIdRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.GetTaxCodeByIdResponse', null, global);
|
|
35
|
+
goog.exportSymbol('proto.TaxCode', null, global);
|
|
36
|
+
goog.exportSymbol('proto.UpdateTaxCodeRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.UpdateTaxCodeResponse', null, global);
|
|
38
38
|
/**
|
|
39
39
|
* Generated by JsPbCodeGenerator.
|
|
40
40
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -45,16 +45,16 @@ goog.exportSymbol('proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse', null, g
|
|
|
45
45
|
* @extends {jspb.Message}
|
|
46
46
|
* @constructor
|
|
47
47
|
*/
|
|
48
|
-
proto.
|
|
48
|
+
proto.TaxCode = function(opt_data) {
|
|
49
49
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
50
50
|
};
|
|
51
|
-
goog.inherits(proto.
|
|
51
|
+
goog.inherits(proto.TaxCode, jspb.Message);
|
|
52
52
|
if (goog.DEBUG && !COMPILED) {
|
|
53
53
|
/**
|
|
54
54
|
* @public
|
|
55
55
|
* @override
|
|
56
56
|
*/
|
|
57
|
-
proto.
|
|
57
|
+
proto.TaxCode.displayName = 'proto.TaxCode';
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Generated by JsPbCodeGenerator.
|
|
@@ -66,16 +66,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
66
66
|
* @extends {jspb.Message}
|
|
67
67
|
* @constructor
|
|
68
68
|
*/
|
|
69
|
-
proto.
|
|
69
|
+
proto.BaseTaxCode = function(opt_data) {
|
|
70
70
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
71
71
|
};
|
|
72
|
-
goog.inherits(proto.
|
|
72
|
+
goog.inherits(proto.BaseTaxCode, jspb.Message);
|
|
73
73
|
if (goog.DEBUG && !COMPILED) {
|
|
74
74
|
/**
|
|
75
75
|
* @public
|
|
76
76
|
* @override
|
|
77
77
|
*/
|
|
78
|
-
proto.
|
|
78
|
+
proto.BaseTaxCode.displayName = 'proto.BaseTaxCode';
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Generated by JsPbCodeGenerator.
|
|
@@ -87,16 +87,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
87
87
|
* @extends {jspb.Message}
|
|
88
88
|
* @constructor
|
|
89
89
|
*/
|
|
90
|
-
proto.
|
|
90
|
+
proto.CreateTaxCodeRequest = function(opt_data) {
|
|
91
91
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
92
92
|
};
|
|
93
|
-
goog.inherits(proto.
|
|
93
|
+
goog.inherits(proto.CreateTaxCodeRequest, jspb.Message);
|
|
94
94
|
if (goog.DEBUG && !COMPILED) {
|
|
95
95
|
/**
|
|
96
96
|
* @public
|
|
97
97
|
* @override
|
|
98
98
|
*/
|
|
99
|
-
proto.
|
|
99
|
+
proto.CreateTaxCodeRequest.displayName = 'proto.CreateTaxCodeRequest';
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
102
|
* Generated by JsPbCodeGenerator.
|
|
@@ -108,16 +108,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
108
108
|
* @extends {jspb.Message}
|
|
109
109
|
* @constructor
|
|
110
110
|
*/
|
|
111
|
-
proto.
|
|
111
|
+
proto.CreateTaxCodeResponse = function(opt_data) {
|
|
112
112
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
113
113
|
};
|
|
114
|
-
goog.inherits(proto.
|
|
114
|
+
goog.inherits(proto.CreateTaxCodeResponse, jspb.Message);
|
|
115
115
|
if (goog.DEBUG && !COMPILED) {
|
|
116
116
|
/**
|
|
117
117
|
* @public
|
|
118
118
|
* @override
|
|
119
119
|
*/
|
|
120
|
-
proto.
|
|
120
|
+
proto.CreateTaxCodeResponse.displayName = 'proto.CreateTaxCodeResponse';
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* Generated by JsPbCodeGenerator.
|
|
@@ -129,16 +129,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
129
129
|
* @extends {jspb.Message}
|
|
130
130
|
* @constructor
|
|
131
131
|
*/
|
|
132
|
-
proto.
|
|
132
|
+
proto.UpdateTaxCodeRequest = function(opt_data) {
|
|
133
133
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
134
134
|
};
|
|
135
|
-
goog.inherits(proto.
|
|
135
|
+
goog.inherits(proto.UpdateTaxCodeRequest, jspb.Message);
|
|
136
136
|
if (goog.DEBUG && !COMPILED) {
|
|
137
137
|
/**
|
|
138
138
|
* @public
|
|
139
139
|
* @override
|
|
140
140
|
*/
|
|
141
|
-
proto.
|
|
141
|
+
proto.UpdateTaxCodeRequest.displayName = 'proto.UpdateTaxCodeRequest';
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
144
|
* Generated by JsPbCodeGenerator.
|
|
@@ -150,16 +150,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
150
150
|
* @extends {jspb.Message}
|
|
151
151
|
* @constructor
|
|
152
152
|
*/
|
|
153
|
-
proto.
|
|
153
|
+
proto.UpdateTaxCodeResponse = function(opt_data) {
|
|
154
154
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
155
155
|
};
|
|
156
|
-
goog.inherits(proto.
|
|
156
|
+
goog.inherits(proto.UpdateTaxCodeResponse, jspb.Message);
|
|
157
157
|
if (goog.DEBUG && !COMPILED) {
|
|
158
158
|
/**
|
|
159
159
|
* @public
|
|
160
160
|
* @override
|
|
161
161
|
*/
|
|
162
|
-
proto.
|
|
162
|
+
proto.UpdateTaxCodeResponse.displayName = 'proto.UpdateTaxCodeResponse';
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
165
|
* Generated by JsPbCodeGenerator.
|
|
@@ -171,16 +171,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
171
171
|
* @extends {jspb.Message}
|
|
172
172
|
* @constructor
|
|
173
173
|
*/
|
|
174
|
-
proto.
|
|
174
|
+
proto.GetTaxCodeByIdRequest = function(opt_data) {
|
|
175
175
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
176
176
|
};
|
|
177
|
-
goog.inherits(proto.
|
|
177
|
+
goog.inherits(proto.GetTaxCodeByIdRequest, jspb.Message);
|
|
178
178
|
if (goog.DEBUG && !COMPILED) {
|
|
179
179
|
/**
|
|
180
180
|
* @public
|
|
181
181
|
* @override
|
|
182
182
|
*/
|
|
183
|
-
proto.
|
|
183
|
+
proto.GetTaxCodeByIdRequest.displayName = 'proto.GetTaxCodeByIdRequest';
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
186
|
* Generated by JsPbCodeGenerator.
|
|
@@ -192,16 +192,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
192
192
|
* @extends {jspb.Message}
|
|
193
193
|
* @constructor
|
|
194
194
|
*/
|
|
195
|
-
proto.
|
|
195
|
+
proto.GetTaxCodeByIdResponse = function(opt_data) {
|
|
196
196
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
197
197
|
};
|
|
198
|
-
goog.inherits(proto.
|
|
198
|
+
goog.inherits(proto.GetTaxCodeByIdResponse, jspb.Message);
|
|
199
199
|
if (goog.DEBUG && !COMPILED) {
|
|
200
200
|
/**
|
|
201
201
|
* @public
|
|
202
202
|
* @override
|
|
203
203
|
*/
|
|
204
|
-
proto.
|
|
204
|
+
proto.GetTaxCodeByIdResponse.displayName = 'proto.GetTaxCodeByIdResponse';
|
|
205
205
|
}
|
|
206
206
|
/**
|
|
207
207
|
* Generated by JsPbCodeGenerator.
|
|
@@ -213,16 +213,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
213
213
|
* @extends {jspb.Message}
|
|
214
214
|
* @constructor
|
|
215
215
|
*/
|
|
216
|
-
proto.
|
|
216
|
+
proto.GetListTaxCodeRequest = function(opt_data) {
|
|
217
217
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
218
218
|
};
|
|
219
|
-
goog.inherits(proto.
|
|
219
|
+
goog.inherits(proto.GetListTaxCodeRequest, jspb.Message);
|
|
220
220
|
if (goog.DEBUG && !COMPILED) {
|
|
221
221
|
/**
|
|
222
222
|
* @public
|
|
223
223
|
* @override
|
|
224
224
|
*/
|
|
225
|
-
proto.
|
|
225
|
+
proto.GetListTaxCodeRequest.displayName = 'proto.GetListTaxCodeRequest';
|
|
226
226
|
}
|
|
227
227
|
/**
|
|
228
228
|
* Generated by JsPbCodeGenerator.
|
|
@@ -234,16 +234,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
234
234
|
* @extends {jspb.Message}
|
|
235
235
|
* @constructor
|
|
236
236
|
*/
|
|
237
|
-
proto.
|
|
238
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.
|
|
237
|
+
proto.GetListTaxCodeResponse = function(opt_data) {
|
|
238
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListTaxCodeResponse.repeatedFields_, null);
|
|
239
239
|
};
|
|
240
|
-
goog.inherits(proto.
|
|
240
|
+
goog.inherits(proto.GetListTaxCodeResponse, jspb.Message);
|
|
241
241
|
if (goog.DEBUG && !COMPILED) {
|
|
242
242
|
/**
|
|
243
243
|
* @public
|
|
244
244
|
* @override
|
|
245
245
|
*/
|
|
246
|
-
proto.
|
|
246
|
+
proto.GetListTaxCodeResponse.displayName = 'proto.GetListTaxCodeResponse';
|
|
247
247
|
}
|
|
248
248
|
/**
|
|
249
249
|
* Generated by JsPbCodeGenerator.
|
|
@@ -255,16 +255,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
255
255
|
* @extends {jspb.Message}
|
|
256
256
|
* @constructor
|
|
257
257
|
*/
|
|
258
|
-
proto.
|
|
258
|
+
proto.DeleteTaxCodeRequest = function(opt_data) {
|
|
259
259
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
260
260
|
};
|
|
261
|
-
goog.inherits(proto.
|
|
261
|
+
goog.inherits(proto.DeleteTaxCodeRequest, jspb.Message);
|
|
262
262
|
if (goog.DEBUG && !COMPILED) {
|
|
263
263
|
/**
|
|
264
264
|
* @public
|
|
265
265
|
* @override
|
|
266
266
|
*/
|
|
267
|
-
proto.
|
|
267
|
+
proto.DeleteTaxCodeRequest.displayName = 'proto.DeleteTaxCodeRequest';
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
270
|
* Generated by JsPbCodeGenerator.
|
|
@@ -276,16 +276,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
276
276
|
* @extends {jspb.Message}
|
|
277
277
|
* @constructor
|
|
278
278
|
*/
|
|
279
|
-
proto.
|
|
279
|
+
proto.DeleteTaxCodeResponse = function(opt_data) {
|
|
280
280
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
281
281
|
};
|
|
282
|
-
goog.inherits(proto.
|
|
282
|
+
goog.inherits(proto.DeleteTaxCodeResponse, jspb.Message);
|
|
283
283
|
if (goog.DEBUG && !COMPILED) {
|
|
284
284
|
/**
|
|
285
285
|
* @public
|
|
286
286
|
* @override
|
|
287
287
|
*/
|
|
288
|
-
proto.
|
|
288
|
+
proto.DeleteTaxCodeResponse.displayName = 'proto.DeleteTaxCodeResponse';
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
|
|
@@ -303,8 +303,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
303
303
|
* http://goto/soy-param-migration
|
|
304
304
|
* @return {!Object}
|
|
305
305
|
*/
|
|
306
|
-
proto.
|
|
307
|
-
return proto.
|
|
306
|
+
proto.TaxCode.prototype.toObject = function(opt_includeInstance) {
|
|
307
|
+
return proto.TaxCode.toObject(opt_includeInstance, this);
|
|
308
308
|
};
|
|
309
309
|
|
|
310
310
|
|
|
@@ -313,11 +313,11 @@ proto.prisca.v1.core.tax_code.TaxCode.prototype.toObject = function(opt_includeI
|
|
|
313
313
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
314
314
|
* the JSPB instance for transitional soy proto support:
|
|
315
315
|
* http://goto/soy-param-migration
|
|
316
|
-
* @param {!proto.
|
|
316
|
+
* @param {!proto.TaxCode} msg The msg instance to transform.
|
|
317
317
|
* @return {!Object}
|
|
318
318
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
319
319
|
*/
|
|
320
|
-
proto.
|
|
320
|
+
proto.TaxCode.toObject = function(includeInstance, msg) {
|
|
321
321
|
var f, obj = {
|
|
322
322
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
323
323
|
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -339,23 +339,23 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
|
339
339
|
/**
|
|
340
340
|
* Deserializes binary data (in protobuf wire format).
|
|
341
341
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
342
|
-
* @return {!proto.
|
|
342
|
+
* @return {!proto.TaxCode}
|
|
343
343
|
*/
|
|
344
|
-
proto.
|
|
344
|
+
proto.TaxCode.deserializeBinary = function(bytes) {
|
|
345
345
|
var reader = new jspb.BinaryReader(bytes);
|
|
346
|
-
var msg = new proto.
|
|
347
|
-
return proto.
|
|
346
|
+
var msg = new proto.TaxCode;
|
|
347
|
+
return proto.TaxCode.deserializeBinaryFromReader(msg, reader);
|
|
348
348
|
};
|
|
349
349
|
|
|
350
350
|
|
|
351
351
|
/**
|
|
352
352
|
* Deserializes binary data (in protobuf wire format) from the
|
|
353
353
|
* given reader into the given message object.
|
|
354
|
-
* @param {!proto.
|
|
354
|
+
* @param {!proto.TaxCode} msg The message object to deserialize into.
|
|
355
355
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
356
|
-
* @return {!proto.
|
|
356
|
+
* @return {!proto.TaxCode}
|
|
357
357
|
*/
|
|
358
|
-
proto.
|
|
358
|
+
proto.TaxCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
359
359
|
while (reader.nextField()) {
|
|
360
360
|
if (reader.isEndGroup()) {
|
|
361
361
|
break;
|
|
@@ -403,9 +403,9 @@ proto.prisca.v1.core.tax_code.TaxCode.deserializeBinaryFromReader = function(msg
|
|
|
403
403
|
* Serializes the message to binary data (in protobuf wire format).
|
|
404
404
|
* @return {!Uint8Array}
|
|
405
405
|
*/
|
|
406
|
-
proto.
|
|
406
|
+
proto.TaxCode.prototype.serializeBinary = function() {
|
|
407
407
|
var writer = new jspb.BinaryWriter();
|
|
408
|
-
proto.
|
|
408
|
+
proto.TaxCode.serializeBinaryToWriter(this, writer);
|
|
409
409
|
return writer.getResultBuffer();
|
|
410
410
|
};
|
|
411
411
|
|
|
@@ -413,11 +413,11 @@ proto.prisca.v1.core.tax_code.TaxCode.prototype.serializeBinary = function() {
|
|
|
413
413
|
/**
|
|
414
414
|
* Serializes the given message to binary data (in protobuf wire
|
|
415
415
|
* format), writing to the given BinaryWriter.
|
|
416
|
-
* @param {!proto.
|
|
416
|
+
* @param {!proto.TaxCode} message
|
|
417
417
|
* @param {!jspb.BinaryWriter} writer
|
|
418
418
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
419
419
|
*/
|
|
420
|
-
proto.
|
|
420
|
+
proto.TaxCode.serializeBinaryToWriter = function(message, writer) {
|
|
421
421
|
var f = undefined;
|
|
422
422
|
f = message.getId();
|
|
423
423
|
if (f !== 0) {
|
|
@@ -475,16 +475,16 @@ proto.prisca.v1.core.tax_code.TaxCode.serializeBinaryToWriter = function(message
|
|
|
475
475
|
* optional int64 id = 1;
|
|
476
476
|
* @return {number}
|
|
477
477
|
*/
|
|
478
|
-
proto.
|
|
478
|
+
proto.TaxCode.prototype.getId = function() {
|
|
479
479
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
480
480
|
};
|
|
481
481
|
|
|
482
482
|
|
|
483
483
|
/**
|
|
484
484
|
* @param {number} value
|
|
485
|
-
* @return {!proto.
|
|
485
|
+
* @return {!proto.TaxCode} returns this
|
|
486
486
|
*/
|
|
487
|
-
proto.
|
|
487
|
+
proto.TaxCode.prototype.setId = function(value) {
|
|
488
488
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
489
489
|
};
|
|
490
490
|
|
|
@@ -493,16 +493,16 @@ proto.prisca.v1.core.tax_code.TaxCode.prototype.setId = function(value) {
|
|
|
493
493
|
* optional string code = 2;
|
|
494
494
|
* @return {string}
|
|
495
495
|
*/
|
|
496
|
-
proto.
|
|
496
|
+
proto.TaxCode.prototype.getCode = function() {
|
|
497
497
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
498
498
|
};
|
|
499
499
|
|
|
500
500
|
|
|
501
501
|
/**
|
|
502
502
|
* @param {string} value
|
|
503
|
-
* @return {!proto.
|
|
503
|
+
* @return {!proto.TaxCode} returns this
|
|
504
504
|
*/
|
|
505
|
-
proto.
|
|
505
|
+
proto.TaxCode.prototype.setCode = function(value) {
|
|
506
506
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
507
507
|
};
|
|
508
508
|
|
|
@@ -511,16 +511,16 @@ proto.prisca.v1.core.tax_code.TaxCode.prototype.setCode = function(value) {
|
|
|
511
511
|
* optional string code_name = 3;
|
|
512
512
|
* @return {string}
|
|
513
513
|
*/
|
|
514
|
-
proto.
|
|
514
|
+
proto.TaxCode.prototype.getCodeName = function() {
|
|
515
515
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
516
516
|
};
|
|
517
517
|
|
|
518
518
|
|
|
519
519
|
/**
|
|
520
520
|
* @param {string} value
|
|
521
|
-
* @return {!proto.
|
|
521
|
+
* @return {!proto.TaxCode} returns this
|
|
522
522
|
*/
|
|
523
|
-
proto.
|
|
523
|
+
proto.TaxCode.prototype.setCodeName = function(value) {
|
|
524
524
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
525
525
|
};
|
|
526
526
|
|
|
@@ -529,16 +529,16 @@ proto.prisca.v1.core.tax_code.TaxCode.prototype.setCodeName = function(value) {
|
|
|
529
529
|
* optional string procedure = 4;
|
|
530
530
|
* @return {string}
|
|
531
531
|
*/
|
|
532
|
-
proto.
|
|
532
|
+
proto.TaxCode.prototype.getProcedure = function() {
|
|
533
533
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
534
534
|
};
|
|
535
535
|
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* @param {string} value
|
|
539
|
-
* @return {!proto.
|
|
539
|
+
* @return {!proto.TaxCode} returns this
|
|
540
540
|
*/
|
|
541
|
-
proto.
|
|
541
|
+
proto.TaxCode.prototype.setProcedure = function(value) {
|
|
542
542
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
543
543
|
};
|
|
544
544
|
|
|
@@ -547,16 +547,16 @@ proto.prisca.v1.core.tax_code.TaxCode.prototype.setProcedure = function(value) {
|
|
|
547
547
|
* optional string references_id = 5;
|
|
548
548
|
* @return {string}
|
|
549
549
|
*/
|
|
550
|
-
proto.
|
|
550
|
+
proto.TaxCode.prototype.getReferencesId = function() {
|
|
551
551
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
552
552
|
};
|
|
553
553
|
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
556
|
* @param {string} value
|
|
557
|
-
* @return {!proto.
|
|
557
|
+
* @return {!proto.TaxCode} returns this
|
|
558
558
|
*/
|
|
559
|
-
proto.
|
|
559
|
+
proto.TaxCode.prototype.setReferencesId = function(value) {
|
|
560
560
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
561
561
|
};
|
|
562
562
|
|
|
@@ -565,16 +565,16 @@ proto.prisca.v1.core.tax_code.TaxCode.prototype.setReferencesId = function(value
|
|
|
565
565
|
* optional string created_at = 6;
|
|
566
566
|
* @return {string}
|
|
567
567
|
*/
|
|
568
|
-
proto.
|
|
568
|
+
proto.TaxCode.prototype.getCreatedAt = function() {
|
|
569
569
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
570
570
|
};
|
|
571
571
|
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* @param {string} value
|
|
575
|
-
* @return {!proto.
|
|
575
|
+
* @return {!proto.TaxCode} returns this
|
|
576
576
|
*/
|
|
577
|
-
proto.
|
|
577
|
+
proto.TaxCode.prototype.setCreatedAt = function(value) {
|
|
578
578
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
579
579
|
};
|
|
580
580
|
|
|
@@ -583,16 +583,16 @@ proto.prisca.v1.core.tax_code.TaxCode.prototype.setCreatedAt = function(value) {
|
|
|
583
583
|
* optional string updated_at = 7;
|
|
584
584
|
* @return {string}
|
|
585
585
|
*/
|
|
586
|
-
proto.
|
|
586
|
+
proto.TaxCode.prototype.getUpdatedAt = function() {
|
|
587
587
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
588
588
|
};
|
|
589
589
|
|
|
590
590
|
|
|
591
591
|
/**
|
|
592
592
|
* @param {string} value
|
|
593
|
-
* @return {!proto.
|
|
593
|
+
* @return {!proto.TaxCode} returns this
|
|
594
594
|
*/
|
|
595
|
-
proto.
|
|
595
|
+
proto.TaxCode.prototype.setUpdatedAt = function(value) {
|
|
596
596
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
597
597
|
};
|
|
598
598
|
|
|
@@ -613,8 +613,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
613
613
|
* http://goto/soy-param-migration
|
|
614
614
|
* @return {!Object}
|
|
615
615
|
*/
|
|
616
|
-
proto.
|
|
617
|
-
return proto.
|
|
616
|
+
proto.BaseTaxCode.prototype.toObject = function(opt_includeInstance) {
|
|
617
|
+
return proto.BaseTaxCode.toObject(opt_includeInstance, this);
|
|
618
618
|
};
|
|
619
619
|
|
|
620
620
|
|
|
@@ -623,11 +623,11 @@ proto.prisca.v1.core.tax_code.BaseTaxCode.prototype.toObject = function(opt_incl
|
|
|
623
623
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
624
624
|
* the JSPB instance for transitional soy proto support:
|
|
625
625
|
* http://goto/soy-param-migration
|
|
626
|
-
* @param {!proto.
|
|
626
|
+
* @param {!proto.BaseTaxCode} msg The msg instance to transform.
|
|
627
627
|
* @return {!Object}
|
|
628
628
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
629
629
|
*/
|
|
630
|
-
proto.
|
|
630
|
+
proto.BaseTaxCode.toObject = function(includeInstance, msg) {
|
|
631
631
|
var f, obj = {
|
|
632
632
|
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
633
633
|
codeName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -645,23 +645,23 @@ procedure: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
|
645
645
|
/**
|
|
646
646
|
* Deserializes binary data (in protobuf wire format).
|
|
647
647
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
648
|
-
* @return {!proto.
|
|
648
|
+
* @return {!proto.BaseTaxCode}
|
|
649
649
|
*/
|
|
650
|
-
proto.
|
|
650
|
+
proto.BaseTaxCode.deserializeBinary = function(bytes) {
|
|
651
651
|
var reader = new jspb.BinaryReader(bytes);
|
|
652
|
-
var msg = new proto.
|
|
653
|
-
return proto.
|
|
652
|
+
var msg = new proto.BaseTaxCode;
|
|
653
|
+
return proto.BaseTaxCode.deserializeBinaryFromReader(msg, reader);
|
|
654
654
|
};
|
|
655
655
|
|
|
656
656
|
|
|
657
657
|
/**
|
|
658
658
|
* Deserializes binary data (in protobuf wire format) from the
|
|
659
659
|
* given reader into the given message object.
|
|
660
|
-
* @param {!proto.
|
|
660
|
+
* @param {!proto.BaseTaxCode} msg The message object to deserialize into.
|
|
661
661
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
662
|
-
* @return {!proto.
|
|
662
|
+
* @return {!proto.BaseTaxCode}
|
|
663
663
|
*/
|
|
664
|
-
proto.
|
|
664
|
+
proto.BaseTaxCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
665
665
|
while (reader.nextField()) {
|
|
666
666
|
if (reader.isEndGroup()) {
|
|
667
667
|
break;
|
|
@@ -693,9 +693,9 @@ proto.prisca.v1.core.tax_code.BaseTaxCode.deserializeBinaryFromReader = function
|
|
|
693
693
|
* Serializes the message to binary data (in protobuf wire format).
|
|
694
694
|
* @return {!Uint8Array}
|
|
695
695
|
*/
|
|
696
|
-
proto.
|
|
696
|
+
proto.BaseTaxCode.prototype.serializeBinary = function() {
|
|
697
697
|
var writer = new jspb.BinaryWriter();
|
|
698
|
-
proto.
|
|
698
|
+
proto.BaseTaxCode.serializeBinaryToWriter(this, writer);
|
|
699
699
|
return writer.getResultBuffer();
|
|
700
700
|
};
|
|
701
701
|
|
|
@@ -703,11 +703,11 @@ proto.prisca.v1.core.tax_code.BaseTaxCode.prototype.serializeBinary = function()
|
|
|
703
703
|
/**
|
|
704
704
|
* Serializes the given message to binary data (in protobuf wire
|
|
705
705
|
* format), writing to the given BinaryWriter.
|
|
706
|
-
* @param {!proto.
|
|
706
|
+
* @param {!proto.BaseTaxCode} message
|
|
707
707
|
* @param {!jspb.BinaryWriter} writer
|
|
708
708
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
709
709
|
*/
|
|
710
|
-
proto.
|
|
710
|
+
proto.BaseTaxCode.serializeBinaryToWriter = function(message, writer) {
|
|
711
711
|
var f = undefined;
|
|
712
712
|
f = message.getCode();
|
|
713
713
|
if (f.length > 0) {
|
|
@@ -737,16 +737,16 @@ proto.prisca.v1.core.tax_code.BaseTaxCode.serializeBinaryToWriter = function(mes
|
|
|
737
737
|
* optional string code = 1;
|
|
738
738
|
* @return {string}
|
|
739
739
|
*/
|
|
740
|
-
proto.
|
|
740
|
+
proto.BaseTaxCode.prototype.getCode = function() {
|
|
741
741
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
742
742
|
};
|
|
743
743
|
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
746
|
* @param {string} value
|
|
747
|
-
* @return {!proto.
|
|
747
|
+
* @return {!proto.BaseTaxCode} returns this
|
|
748
748
|
*/
|
|
749
|
-
proto.
|
|
749
|
+
proto.BaseTaxCode.prototype.setCode = function(value) {
|
|
750
750
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
751
751
|
};
|
|
752
752
|
|
|
@@ -755,16 +755,16 @@ proto.prisca.v1.core.tax_code.BaseTaxCode.prototype.setCode = function(value) {
|
|
|
755
755
|
* optional string code_name = 2;
|
|
756
756
|
* @return {string}
|
|
757
757
|
*/
|
|
758
|
-
proto.
|
|
758
|
+
proto.BaseTaxCode.prototype.getCodeName = function() {
|
|
759
759
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
760
760
|
};
|
|
761
761
|
|
|
762
762
|
|
|
763
763
|
/**
|
|
764
764
|
* @param {string} value
|
|
765
|
-
* @return {!proto.
|
|
765
|
+
* @return {!proto.BaseTaxCode} returns this
|
|
766
766
|
*/
|
|
767
|
-
proto.
|
|
767
|
+
proto.BaseTaxCode.prototype.setCodeName = function(value) {
|
|
768
768
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
769
769
|
};
|
|
770
770
|
|
|
@@ -773,16 +773,16 @@ proto.prisca.v1.core.tax_code.BaseTaxCode.prototype.setCodeName = function(value
|
|
|
773
773
|
* optional string procedure = 3;
|
|
774
774
|
* @return {string}
|
|
775
775
|
*/
|
|
776
|
-
proto.
|
|
776
|
+
proto.BaseTaxCode.prototype.getProcedure = function() {
|
|
777
777
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
778
778
|
};
|
|
779
779
|
|
|
780
780
|
|
|
781
781
|
/**
|
|
782
782
|
* @param {string} value
|
|
783
|
-
* @return {!proto.
|
|
783
|
+
* @return {!proto.BaseTaxCode} returns this
|
|
784
784
|
*/
|
|
785
|
-
proto.
|
|
785
|
+
proto.BaseTaxCode.prototype.setProcedure = function(value) {
|
|
786
786
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
787
787
|
};
|
|
788
788
|
|
|
@@ -803,8 +803,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
803
803
|
* http://goto/soy-param-migration
|
|
804
804
|
* @return {!Object}
|
|
805
805
|
*/
|
|
806
|
-
proto.
|
|
807
|
-
return proto.
|
|
806
|
+
proto.CreateTaxCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
807
|
+
return proto.CreateTaxCodeRequest.toObject(opt_includeInstance, this);
|
|
808
808
|
};
|
|
809
809
|
|
|
810
810
|
|
|
@@ -813,13 +813,13 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeRequest.prototype.toObject = function
|
|
|
813
813
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
814
814
|
* the JSPB instance for transitional soy proto support:
|
|
815
815
|
* http://goto/soy-param-migration
|
|
816
|
-
* @param {!proto.
|
|
816
|
+
* @param {!proto.CreateTaxCodeRequest} msg The msg instance to transform.
|
|
817
817
|
* @return {!Object}
|
|
818
818
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
819
819
|
*/
|
|
820
|
-
proto.
|
|
820
|
+
proto.CreateTaxCodeRequest.toObject = function(includeInstance, msg) {
|
|
821
821
|
var f, obj = {
|
|
822
|
-
baseTaxCode: (f = msg.getBaseTaxCode()) && proto.
|
|
822
|
+
baseTaxCode: (f = msg.getBaseTaxCode()) && proto.BaseTaxCode.toObject(includeInstance, f)
|
|
823
823
|
};
|
|
824
824
|
|
|
825
825
|
if (includeInstance) {
|
|
@@ -833,23 +833,23 @@ baseTaxCode: (f = msg.getBaseTaxCode()) && proto.prisca.v1.core.tax_code.BaseTax
|
|
|
833
833
|
/**
|
|
834
834
|
* Deserializes binary data (in protobuf wire format).
|
|
835
835
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
836
|
-
* @return {!proto.
|
|
836
|
+
* @return {!proto.CreateTaxCodeRequest}
|
|
837
837
|
*/
|
|
838
|
-
proto.
|
|
838
|
+
proto.CreateTaxCodeRequest.deserializeBinary = function(bytes) {
|
|
839
839
|
var reader = new jspb.BinaryReader(bytes);
|
|
840
|
-
var msg = new proto.
|
|
841
|
-
return proto.
|
|
840
|
+
var msg = new proto.CreateTaxCodeRequest;
|
|
841
|
+
return proto.CreateTaxCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
842
842
|
};
|
|
843
843
|
|
|
844
844
|
|
|
845
845
|
/**
|
|
846
846
|
* Deserializes binary data (in protobuf wire format) from the
|
|
847
847
|
* given reader into the given message object.
|
|
848
|
-
* @param {!proto.
|
|
848
|
+
* @param {!proto.CreateTaxCodeRequest} msg The message object to deserialize into.
|
|
849
849
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
850
|
-
* @return {!proto.
|
|
850
|
+
* @return {!proto.CreateTaxCodeRequest}
|
|
851
851
|
*/
|
|
852
|
-
proto.
|
|
852
|
+
proto.CreateTaxCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
853
853
|
while (reader.nextField()) {
|
|
854
854
|
if (reader.isEndGroup()) {
|
|
855
855
|
break;
|
|
@@ -857,8 +857,8 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeRequest.deserializeBinaryFromReader =
|
|
|
857
857
|
var field = reader.getFieldNumber();
|
|
858
858
|
switch (field) {
|
|
859
859
|
case 1:
|
|
860
|
-
var value = new proto.
|
|
861
|
-
reader.readMessage(value,proto.
|
|
860
|
+
var value = new proto.BaseTaxCode;
|
|
861
|
+
reader.readMessage(value,proto.BaseTaxCode.deserializeBinaryFromReader);
|
|
862
862
|
msg.setBaseTaxCode(value);
|
|
863
863
|
break;
|
|
864
864
|
default:
|
|
@@ -874,9 +874,9 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeRequest.deserializeBinaryFromReader =
|
|
|
874
874
|
* Serializes the message to binary data (in protobuf wire format).
|
|
875
875
|
* @return {!Uint8Array}
|
|
876
876
|
*/
|
|
877
|
-
proto.
|
|
877
|
+
proto.CreateTaxCodeRequest.prototype.serializeBinary = function() {
|
|
878
878
|
var writer = new jspb.BinaryWriter();
|
|
879
|
-
proto.
|
|
879
|
+
proto.CreateTaxCodeRequest.serializeBinaryToWriter(this, writer);
|
|
880
880
|
return writer.getResultBuffer();
|
|
881
881
|
};
|
|
882
882
|
|
|
@@ -884,18 +884,18 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeRequest.prototype.serializeBinary = f
|
|
|
884
884
|
/**
|
|
885
885
|
* Serializes the given message to binary data (in protobuf wire
|
|
886
886
|
* format), writing to the given BinaryWriter.
|
|
887
|
-
* @param {!proto.
|
|
887
|
+
* @param {!proto.CreateTaxCodeRequest} message
|
|
888
888
|
* @param {!jspb.BinaryWriter} writer
|
|
889
889
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
890
890
|
*/
|
|
891
|
-
proto.
|
|
891
|
+
proto.CreateTaxCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
892
892
|
var f = undefined;
|
|
893
893
|
f = message.getBaseTaxCode();
|
|
894
894
|
if (f != null) {
|
|
895
895
|
writer.writeMessage(
|
|
896
896
|
1,
|
|
897
897
|
f,
|
|
898
|
-
proto.
|
|
898
|
+
proto.BaseTaxCode.serializeBinaryToWriter
|
|
899
899
|
);
|
|
900
900
|
}
|
|
901
901
|
};
|
|
@@ -903,28 +903,28 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeRequest.serializeBinaryToWriter = fun
|
|
|
903
903
|
|
|
904
904
|
/**
|
|
905
905
|
* optional BaseTaxCode base_tax_code = 1;
|
|
906
|
-
* @return {?proto.
|
|
906
|
+
* @return {?proto.BaseTaxCode}
|
|
907
907
|
*/
|
|
908
|
-
proto.
|
|
909
|
-
return /** @type{?proto.
|
|
910
|
-
jspb.Message.getWrapperField(this, proto.
|
|
908
|
+
proto.CreateTaxCodeRequest.prototype.getBaseTaxCode = function() {
|
|
909
|
+
return /** @type{?proto.BaseTaxCode} */ (
|
|
910
|
+
jspb.Message.getWrapperField(this, proto.BaseTaxCode, 1));
|
|
911
911
|
};
|
|
912
912
|
|
|
913
913
|
|
|
914
914
|
/**
|
|
915
|
-
* @param {?proto.
|
|
916
|
-
* @return {!proto.
|
|
915
|
+
* @param {?proto.BaseTaxCode|undefined} value
|
|
916
|
+
* @return {!proto.CreateTaxCodeRequest} returns this
|
|
917
917
|
*/
|
|
918
|
-
proto.
|
|
918
|
+
proto.CreateTaxCodeRequest.prototype.setBaseTaxCode = function(value) {
|
|
919
919
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
920
920
|
};
|
|
921
921
|
|
|
922
922
|
|
|
923
923
|
/**
|
|
924
924
|
* Clears the message field making it undefined.
|
|
925
|
-
* @return {!proto.
|
|
925
|
+
* @return {!proto.CreateTaxCodeRequest} returns this
|
|
926
926
|
*/
|
|
927
|
-
proto.
|
|
927
|
+
proto.CreateTaxCodeRequest.prototype.clearBaseTaxCode = function() {
|
|
928
928
|
return this.setBaseTaxCode(undefined);
|
|
929
929
|
};
|
|
930
930
|
|
|
@@ -933,7 +933,7 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeRequest.prototype.clearBaseTaxCode =
|
|
|
933
933
|
* Returns whether this field is set.
|
|
934
934
|
* @return {boolean}
|
|
935
935
|
*/
|
|
936
|
-
proto.
|
|
936
|
+
proto.CreateTaxCodeRequest.prototype.hasBaseTaxCode = function() {
|
|
937
937
|
return jspb.Message.getField(this, 1) != null;
|
|
938
938
|
};
|
|
939
939
|
|
|
@@ -954,8 +954,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
954
954
|
* http://goto/soy-param-migration
|
|
955
955
|
* @return {!Object}
|
|
956
956
|
*/
|
|
957
|
-
proto.
|
|
958
|
-
return proto.
|
|
957
|
+
proto.CreateTaxCodeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
958
|
+
return proto.CreateTaxCodeResponse.toObject(opt_includeInstance, this);
|
|
959
959
|
};
|
|
960
960
|
|
|
961
961
|
|
|
@@ -964,13 +964,13 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.prototype.toObject = functio
|
|
|
964
964
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
965
965
|
* the JSPB instance for transitional soy proto support:
|
|
966
966
|
* http://goto/soy-param-migration
|
|
967
|
-
* @param {!proto.
|
|
967
|
+
* @param {!proto.CreateTaxCodeResponse} msg The msg instance to transform.
|
|
968
968
|
* @return {!Object}
|
|
969
969
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
970
970
|
*/
|
|
971
|
-
proto.
|
|
971
|
+
proto.CreateTaxCodeResponse.toObject = function(includeInstance, msg) {
|
|
972
972
|
var f, obj = {
|
|
973
|
-
taxCode: (f = msg.getTaxCode()) && proto.
|
|
973
|
+
taxCode: (f = msg.getTaxCode()) && proto.TaxCode.toObject(includeInstance, f),
|
|
974
974
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
975
975
|
};
|
|
976
976
|
|
|
@@ -985,23 +985,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
985
985
|
/**
|
|
986
986
|
* Deserializes binary data (in protobuf wire format).
|
|
987
987
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
988
|
-
* @return {!proto.
|
|
988
|
+
* @return {!proto.CreateTaxCodeResponse}
|
|
989
989
|
*/
|
|
990
|
-
proto.
|
|
990
|
+
proto.CreateTaxCodeResponse.deserializeBinary = function(bytes) {
|
|
991
991
|
var reader = new jspb.BinaryReader(bytes);
|
|
992
|
-
var msg = new proto.
|
|
993
|
-
return proto.
|
|
992
|
+
var msg = new proto.CreateTaxCodeResponse;
|
|
993
|
+
return proto.CreateTaxCodeResponse.deserializeBinaryFromReader(msg, reader);
|
|
994
994
|
};
|
|
995
995
|
|
|
996
996
|
|
|
997
997
|
/**
|
|
998
998
|
* Deserializes binary data (in protobuf wire format) from the
|
|
999
999
|
* given reader into the given message object.
|
|
1000
|
-
* @param {!proto.
|
|
1000
|
+
* @param {!proto.CreateTaxCodeResponse} msg The message object to deserialize into.
|
|
1001
1001
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1002
|
-
* @return {!proto.
|
|
1002
|
+
* @return {!proto.CreateTaxCodeResponse}
|
|
1003
1003
|
*/
|
|
1004
|
-
proto.
|
|
1004
|
+
proto.CreateTaxCodeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1005
1005
|
while (reader.nextField()) {
|
|
1006
1006
|
if (reader.isEndGroup()) {
|
|
1007
1007
|
break;
|
|
@@ -1009,8 +1009,8 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.deserializeBinaryFromReader
|
|
|
1009
1009
|
var field = reader.getFieldNumber();
|
|
1010
1010
|
switch (field) {
|
|
1011
1011
|
case 1:
|
|
1012
|
-
var value = new proto.
|
|
1013
|
-
reader.readMessage(value,proto.
|
|
1012
|
+
var value = new proto.TaxCode;
|
|
1013
|
+
reader.readMessage(value,proto.TaxCode.deserializeBinaryFromReader);
|
|
1014
1014
|
msg.setTaxCode(value);
|
|
1015
1015
|
break;
|
|
1016
1016
|
case 2:
|
|
@@ -1031,9 +1031,9 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.deserializeBinaryFromReader
|
|
|
1031
1031
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1032
1032
|
* @return {!Uint8Array}
|
|
1033
1033
|
*/
|
|
1034
|
-
proto.
|
|
1034
|
+
proto.CreateTaxCodeResponse.prototype.serializeBinary = function() {
|
|
1035
1035
|
var writer = new jspb.BinaryWriter();
|
|
1036
|
-
proto.
|
|
1036
|
+
proto.CreateTaxCodeResponse.serializeBinaryToWriter(this, writer);
|
|
1037
1037
|
return writer.getResultBuffer();
|
|
1038
1038
|
};
|
|
1039
1039
|
|
|
@@ -1041,18 +1041,18 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.prototype.serializeBinary =
|
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Serializes the given message to binary data (in protobuf wire
|
|
1043
1043
|
* format), writing to the given BinaryWriter.
|
|
1044
|
-
* @param {!proto.
|
|
1044
|
+
* @param {!proto.CreateTaxCodeResponse} message
|
|
1045
1045
|
* @param {!jspb.BinaryWriter} writer
|
|
1046
1046
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1047
1047
|
*/
|
|
1048
|
-
proto.
|
|
1048
|
+
proto.CreateTaxCodeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1049
1049
|
var f = undefined;
|
|
1050
1050
|
f = message.getTaxCode();
|
|
1051
1051
|
if (f != null) {
|
|
1052
1052
|
writer.writeMessage(
|
|
1053
1053
|
1,
|
|
1054
1054
|
f,
|
|
1055
|
-
proto.
|
|
1055
|
+
proto.TaxCode.serializeBinaryToWriter
|
|
1056
1056
|
);
|
|
1057
1057
|
}
|
|
1058
1058
|
f = message.getMeta();
|
|
@@ -1068,28 +1068,28 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.serializeBinaryToWriter = fu
|
|
|
1068
1068
|
|
|
1069
1069
|
/**
|
|
1070
1070
|
* optional TaxCode tax_code = 1;
|
|
1071
|
-
* @return {?proto.
|
|
1071
|
+
* @return {?proto.TaxCode}
|
|
1072
1072
|
*/
|
|
1073
|
-
proto.
|
|
1074
|
-
return /** @type{?proto.
|
|
1075
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1073
|
+
proto.CreateTaxCodeResponse.prototype.getTaxCode = function() {
|
|
1074
|
+
return /** @type{?proto.TaxCode} */ (
|
|
1075
|
+
jspb.Message.getWrapperField(this, proto.TaxCode, 1));
|
|
1076
1076
|
};
|
|
1077
1077
|
|
|
1078
1078
|
|
|
1079
1079
|
/**
|
|
1080
|
-
* @param {?proto.
|
|
1081
|
-
* @return {!proto.
|
|
1080
|
+
* @param {?proto.TaxCode|undefined} value
|
|
1081
|
+
* @return {!proto.CreateTaxCodeResponse} returns this
|
|
1082
1082
|
*/
|
|
1083
|
-
proto.
|
|
1083
|
+
proto.CreateTaxCodeResponse.prototype.setTaxCode = function(value) {
|
|
1084
1084
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
1085
1085
|
};
|
|
1086
1086
|
|
|
1087
1087
|
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Clears the message field making it undefined.
|
|
1090
|
-
* @return {!proto.
|
|
1090
|
+
* @return {!proto.CreateTaxCodeResponse} returns this
|
|
1091
1091
|
*/
|
|
1092
|
-
proto.
|
|
1092
|
+
proto.CreateTaxCodeResponse.prototype.clearTaxCode = function() {
|
|
1093
1093
|
return this.setTaxCode(undefined);
|
|
1094
1094
|
};
|
|
1095
1095
|
|
|
@@ -1098,7 +1098,7 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.prototype.clearTaxCode = fun
|
|
|
1098
1098
|
* Returns whether this field is set.
|
|
1099
1099
|
* @return {boolean}
|
|
1100
1100
|
*/
|
|
1101
|
-
proto.
|
|
1101
|
+
proto.CreateTaxCodeResponse.prototype.hasTaxCode = function() {
|
|
1102
1102
|
return jspb.Message.getField(this, 1) != null;
|
|
1103
1103
|
};
|
|
1104
1104
|
|
|
@@ -1107,7 +1107,7 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.prototype.hasTaxCode = funct
|
|
|
1107
1107
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1108
1108
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1109
1109
|
*/
|
|
1110
|
-
proto.
|
|
1110
|
+
proto.CreateTaxCodeResponse.prototype.getMeta = function() {
|
|
1111
1111
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1112
1112
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1113
1113
|
};
|
|
@@ -1115,18 +1115,18 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.prototype.getMeta = function
|
|
|
1115
1115
|
|
|
1116
1116
|
/**
|
|
1117
1117
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1118
|
-
* @return {!proto.
|
|
1118
|
+
* @return {!proto.CreateTaxCodeResponse} returns this
|
|
1119
1119
|
*/
|
|
1120
|
-
proto.
|
|
1120
|
+
proto.CreateTaxCodeResponse.prototype.setMeta = function(value) {
|
|
1121
1121
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1122
1122
|
};
|
|
1123
1123
|
|
|
1124
1124
|
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Clears the message field making it undefined.
|
|
1127
|
-
* @return {!proto.
|
|
1127
|
+
* @return {!proto.CreateTaxCodeResponse} returns this
|
|
1128
1128
|
*/
|
|
1129
|
-
proto.
|
|
1129
|
+
proto.CreateTaxCodeResponse.prototype.clearMeta = function() {
|
|
1130
1130
|
return this.setMeta(undefined);
|
|
1131
1131
|
};
|
|
1132
1132
|
|
|
@@ -1135,7 +1135,7 @@ proto.prisca.v1.core.tax_code.CreateTaxCodeResponse.prototype.clearMeta = functi
|
|
|
1135
1135
|
* Returns whether this field is set.
|
|
1136
1136
|
* @return {boolean}
|
|
1137
1137
|
*/
|
|
1138
|
-
proto.
|
|
1138
|
+
proto.CreateTaxCodeResponse.prototype.hasMeta = function() {
|
|
1139
1139
|
return jspb.Message.getField(this, 2) != null;
|
|
1140
1140
|
};
|
|
1141
1141
|
|
|
@@ -1156,8 +1156,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1156
1156
|
* http://goto/soy-param-migration
|
|
1157
1157
|
* @return {!Object}
|
|
1158
1158
|
*/
|
|
1159
|
-
proto.
|
|
1160
|
-
return proto.
|
|
1159
|
+
proto.UpdateTaxCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1160
|
+
return proto.UpdateTaxCodeRequest.toObject(opt_includeInstance, this);
|
|
1161
1161
|
};
|
|
1162
1162
|
|
|
1163
1163
|
|
|
@@ -1166,14 +1166,14 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeRequest.prototype.toObject = function
|
|
|
1166
1166
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1167
1167
|
* the JSPB instance for transitional soy proto support:
|
|
1168
1168
|
* http://goto/soy-param-migration
|
|
1169
|
-
* @param {!proto.
|
|
1169
|
+
* @param {!proto.UpdateTaxCodeRequest} msg The msg instance to transform.
|
|
1170
1170
|
* @return {!Object}
|
|
1171
1171
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1172
1172
|
*/
|
|
1173
|
-
proto.
|
|
1173
|
+
proto.UpdateTaxCodeRequest.toObject = function(includeInstance, msg) {
|
|
1174
1174
|
var f, obj = {
|
|
1175
1175
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1176
|
-
baseTaxCode: (f = msg.getBaseTaxCode()) && proto.
|
|
1176
|
+
baseTaxCode: (f = msg.getBaseTaxCode()) && proto.BaseTaxCode.toObject(includeInstance, f)
|
|
1177
1177
|
};
|
|
1178
1178
|
|
|
1179
1179
|
if (includeInstance) {
|
|
@@ -1187,23 +1187,23 @@ baseTaxCode: (f = msg.getBaseTaxCode()) && proto.prisca.v1.core.tax_code.BaseTax
|
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Deserializes binary data (in protobuf wire format).
|
|
1189
1189
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1190
|
-
* @return {!proto.
|
|
1190
|
+
* @return {!proto.UpdateTaxCodeRequest}
|
|
1191
1191
|
*/
|
|
1192
|
-
proto.
|
|
1192
|
+
proto.UpdateTaxCodeRequest.deserializeBinary = function(bytes) {
|
|
1193
1193
|
var reader = new jspb.BinaryReader(bytes);
|
|
1194
|
-
var msg = new proto.
|
|
1195
|
-
return proto.
|
|
1194
|
+
var msg = new proto.UpdateTaxCodeRequest;
|
|
1195
|
+
return proto.UpdateTaxCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
1196
1196
|
};
|
|
1197
1197
|
|
|
1198
1198
|
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1201
1201
|
* given reader into the given message object.
|
|
1202
|
-
* @param {!proto.
|
|
1202
|
+
* @param {!proto.UpdateTaxCodeRequest} msg The message object to deserialize into.
|
|
1203
1203
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1204
|
-
* @return {!proto.
|
|
1204
|
+
* @return {!proto.UpdateTaxCodeRequest}
|
|
1205
1205
|
*/
|
|
1206
|
-
proto.
|
|
1206
|
+
proto.UpdateTaxCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1207
1207
|
while (reader.nextField()) {
|
|
1208
1208
|
if (reader.isEndGroup()) {
|
|
1209
1209
|
break;
|
|
@@ -1215,8 +1215,8 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeRequest.deserializeBinaryFromReader =
|
|
|
1215
1215
|
msg.setReferencesId(value);
|
|
1216
1216
|
break;
|
|
1217
1217
|
case 2:
|
|
1218
|
-
var value = new proto.
|
|
1219
|
-
reader.readMessage(value,proto.
|
|
1218
|
+
var value = new proto.BaseTaxCode;
|
|
1219
|
+
reader.readMessage(value,proto.BaseTaxCode.deserializeBinaryFromReader);
|
|
1220
1220
|
msg.setBaseTaxCode(value);
|
|
1221
1221
|
break;
|
|
1222
1222
|
default:
|
|
@@ -1232,9 +1232,9 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeRequest.deserializeBinaryFromReader =
|
|
|
1232
1232
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1233
1233
|
* @return {!Uint8Array}
|
|
1234
1234
|
*/
|
|
1235
|
-
proto.
|
|
1235
|
+
proto.UpdateTaxCodeRequest.prototype.serializeBinary = function() {
|
|
1236
1236
|
var writer = new jspb.BinaryWriter();
|
|
1237
|
-
proto.
|
|
1237
|
+
proto.UpdateTaxCodeRequest.serializeBinaryToWriter(this, writer);
|
|
1238
1238
|
return writer.getResultBuffer();
|
|
1239
1239
|
};
|
|
1240
1240
|
|
|
@@ -1242,11 +1242,11 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeRequest.prototype.serializeBinary = f
|
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Serializes the given message to binary data (in protobuf wire
|
|
1244
1244
|
* format), writing to the given BinaryWriter.
|
|
1245
|
-
* @param {!proto.
|
|
1245
|
+
* @param {!proto.UpdateTaxCodeRequest} message
|
|
1246
1246
|
* @param {!jspb.BinaryWriter} writer
|
|
1247
1247
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1248
1248
|
*/
|
|
1249
|
-
proto.
|
|
1249
|
+
proto.UpdateTaxCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1250
1250
|
var f = undefined;
|
|
1251
1251
|
f = message.getReferencesId();
|
|
1252
1252
|
if (f.length > 0) {
|
|
@@ -1260,7 +1260,7 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeRequest.serializeBinaryToWriter = fun
|
|
|
1260
1260
|
writer.writeMessage(
|
|
1261
1261
|
2,
|
|
1262
1262
|
f,
|
|
1263
|
-
proto.
|
|
1263
|
+
proto.BaseTaxCode.serializeBinaryToWriter
|
|
1264
1264
|
);
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
@@ -1270,44 +1270,44 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeRequest.serializeBinaryToWriter = fun
|
|
|
1270
1270
|
* optional string references_id = 1;
|
|
1271
1271
|
* @return {string}
|
|
1272
1272
|
*/
|
|
1273
|
-
proto.
|
|
1273
|
+
proto.UpdateTaxCodeRequest.prototype.getReferencesId = function() {
|
|
1274
1274
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1275
1275
|
};
|
|
1276
1276
|
|
|
1277
1277
|
|
|
1278
1278
|
/**
|
|
1279
1279
|
* @param {string} value
|
|
1280
|
-
* @return {!proto.
|
|
1280
|
+
* @return {!proto.UpdateTaxCodeRequest} returns this
|
|
1281
1281
|
*/
|
|
1282
|
-
proto.
|
|
1282
|
+
proto.UpdateTaxCodeRequest.prototype.setReferencesId = function(value) {
|
|
1283
1283
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1284
1284
|
};
|
|
1285
1285
|
|
|
1286
1286
|
|
|
1287
1287
|
/**
|
|
1288
1288
|
* optional BaseTaxCode base_tax_code = 2;
|
|
1289
|
-
* @return {?proto.
|
|
1289
|
+
* @return {?proto.BaseTaxCode}
|
|
1290
1290
|
*/
|
|
1291
|
-
proto.
|
|
1292
|
-
return /** @type{?proto.
|
|
1293
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1291
|
+
proto.UpdateTaxCodeRequest.prototype.getBaseTaxCode = function() {
|
|
1292
|
+
return /** @type{?proto.BaseTaxCode} */ (
|
|
1293
|
+
jspb.Message.getWrapperField(this, proto.BaseTaxCode, 2));
|
|
1294
1294
|
};
|
|
1295
1295
|
|
|
1296
1296
|
|
|
1297
1297
|
/**
|
|
1298
|
-
* @param {?proto.
|
|
1299
|
-
* @return {!proto.
|
|
1298
|
+
* @param {?proto.BaseTaxCode|undefined} value
|
|
1299
|
+
* @return {!proto.UpdateTaxCodeRequest} returns this
|
|
1300
1300
|
*/
|
|
1301
|
-
proto.
|
|
1301
|
+
proto.UpdateTaxCodeRequest.prototype.setBaseTaxCode = function(value) {
|
|
1302
1302
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1303
1303
|
};
|
|
1304
1304
|
|
|
1305
1305
|
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Clears the message field making it undefined.
|
|
1308
|
-
* @return {!proto.
|
|
1308
|
+
* @return {!proto.UpdateTaxCodeRequest} returns this
|
|
1309
1309
|
*/
|
|
1310
|
-
proto.
|
|
1310
|
+
proto.UpdateTaxCodeRequest.prototype.clearBaseTaxCode = function() {
|
|
1311
1311
|
return this.setBaseTaxCode(undefined);
|
|
1312
1312
|
};
|
|
1313
1313
|
|
|
@@ -1316,7 +1316,7 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeRequest.prototype.clearBaseTaxCode =
|
|
|
1316
1316
|
* Returns whether this field is set.
|
|
1317
1317
|
* @return {boolean}
|
|
1318
1318
|
*/
|
|
1319
|
-
proto.
|
|
1319
|
+
proto.UpdateTaxCodeRequest.prototype.hasBaseTaxCode = function() {
|
|
1320
1320
|
return jspb.Message.getField(this, 2) != null;
|
|
1321
1321
|
};
|
|
1322
1322
|
|
|
@@ -1337,8 +1337,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1337
1337
|
* http://goto/soy-param-migration
|
|
1338
1338
|
* @return {!Object}
|
|
1339
1339
|
*/
|
|
1340
|
-
proto.
|
|
1341
|
-
return proto.
|
|
1340
|
+
proto.UpdateTaxCodeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1341
|
+
return proto.UpdateTaxCodeResponse.toObject(opt_includeInstance, this);
|
|
1342
1342
|
};
|
|
1343
1343
|
|
|
1344
1344
|
|
|
@@ -1347,13 +1347,13 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.prototype.toObject = functio
|
|
|
1347
1347
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1348
1348
|
* the JSPB instance for transitional soy proto support:
|
|
1349
1349
|
* http://goto/soy-param-migration
|
|
1350
|
-
* @param {!proto.
|
|
1350
|
+
* @param {!proto.UpdateTaxCodeResponse} msg The msg instance to transform.
|
|
1351
1351
|
* @return {!Object}
|
|
1352
1352
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1353
1353
|
*/
|
|
1354
|
-
proto.
|
|
1354
|
+
proto.UpdateTaxCodeResponse.toObject = function(includeInstance, msg) {
|
|
1355
1355
|
var f, obj = {
|
|
1356
|
-
taxCode: (f = msg.getTaxCode()) && proto.
|
|
1356
|
+
taxCode: (f = msg.getTaxCode()) && proto.TaxCode.toObject(includeInstance, f),
|
|
1357
1357
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1358
1358
|
};
|
|
1359
1359
|
|
|
@@ -1368,23 +1368,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Deserializes binary data (in protobuf wire format).
|
|
1370
1370
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1371
|
-
* @return {!proto.
|
|
1371
|
+
* @return {!proto.UpdateTaxCodeResponse}
|
|
1372
1372
|
*/
|
|
1373
|
-
proto.
|
|
1373
|
+
proto.UpdateTaxCodeResponse.deserializeBinary = function(bytes) {
|
|
1374
1374
|
var reader = new jspb.BinaryReader(bytes);
|
|
1375
|
-
var msg = new proto.
|
|
1376
|
-
return proto.
|
|
1375
|
+
var msg = new proto.UpdateTaxCodeResponse;
|
|
1376
|
+
return proto.UpdateTaxCodeResponse.deserializeBinaryFromReader(msg, reader);
|
|
1377
1377
|
};
|
|
1378
1378
|
|
|
1379
1379
|
|
|
1380
1380
|
/**
|
|
1381
1381
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1382
1382
|
* given reader into the given message object.
|
|
1383
|
-
* @param {!proto.
|
|
1383
|
+
* @param {!proto.UpdateTaxCodeResponse} msg The message object to deserialize into.
|
|
1384
1384
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1385
|
-
* @return {!proto.
|
|
1385
|
+
* @return {!proto.UpdateTaxCodeResponse}
|
|
1386
1386
|
*/
|
|
1387
|
-
proto.
|
|
1387
|
+
proto.UpdateTaxCodeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1388
1388
|
while (reader.nextField()) {
|
|
1389
1389
|
if (reader.isEndGroup()) {
|
|
1390
1390
|
break;
|
|
@@ -1392,8 +1392,8 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.deserializeBinaryFromReader
|
|
|
1392
1392
|
var field = reader.getFieldNumber();
|
|
1393
1393
|
switch (field) {
|
|
1394
1394
|
case 1:
|
|
1395
|
-
var value = new proto.
|
|
1396
|
-
reader.readMessage(value,proto.
|
|
1395
|
+
var value = new proto.TaxCode;
|
|
1396
|
+
reader.readMessage(value,proto.TaxCode.deserializeBinaryFromReader);
|
|
1397
1397
|
msg.setTaxCode(value);
|
|
1398
1398
|
break;
|
|
1399
1399
|
case 2:
|
|
@@ -1414,9 +1414,9 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.deserializeBinaryFromReader
|
|
|
1414
1414
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1415
1415
|
* @return {!Uint8Array}
|
|
1416
1416
|
*/
|
|
1417
|
-
proto.
|
|
1417
|
+
proto.UpdateTaxCodeResponse.prototype.serializeBinary = function() {
|
|
1418
1418
|
var writer = new jspb.BinaryWriter();
|
|
1419
|
-
proto.
|
|
1419
|
+
proto.UpdateTaxCodeResponse.serializeBinaryToWriter(this, writer);
|
|
1420
1420
|
return writer.getResultBuffer();
|
|
1421
1421
|
};
|
|
1422
1422
|
|
|
@@ -1424,18 +1424,18 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.prototype.serializeBinary =
|
|
|
1424
1424
|
/**
|
|
1425
1425
|
* Serializes the given message to binary data (in protobuf wire
|
|
1426
1426
|
* format), writing to the given BinaryWriter.
|
|
1427
|
-
* @param {!proto.
|
|
1427
|
+
* @param {!proto.UpdateTaxCodeResponse} message
|
|
1428
1428
|
* @param {!jspb.BinaryWriter} writer
|
|
1429
1429
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1430
1430
|
*/
|
|
1431
|
-
proto.
|
|
1431
|
+
proto.UpdateTaxCodeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1432
1432
|
var f = undefined;
|
|
1433
1433
|
f = message.getTaxCode();
|
|
1434
1434
|
if (f != null) {
|
|
1435
1435
|
writer.writeMessage(
|
|
1436
1436
|
1,
|
|
1437
1437
|
f,
|
|
1438
|
-
proto.
|
|
1438
|
+
proto.TaxCode.serializeBinaryToWriter
|
|
1439
1439
|
);
|
|
1440
1440
|
}
|
|
1441
1441
|
f = message.getMeta();
|
|
@@ -1451,28 +1451,28 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.serializeBinaryToWriter = fu
|
|
|
1451
1451
|
|
|
1452
1452
|
/**
|
|
1453
1453
|
* optional TaxCode tax_code = 1;
|
|
1454
|
-
* @return {?proto.
|
|
1454
|
+
* @return {?proto.TaxCode}
|
|
1455
1455
|
*/
|
|
1456
|
-
proto.
|
|
1457
|
-
return /** @type{?proto.
|
|
1458
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1456
|
+
proto.UpdateTaxCodeResponse.prototype.getTaxCode = function() {
|
|
1457
|
+
return /** @type{?proto.TaxCode} */ (
|
|
1458
|
+
jspb.Message.getWrapperField(this, proto.TaxCode, 1));
|
|
1459
1459
|
};
|
|
1460
1460
|
|
|
1461
1461
|
|
|
1462
1462
|
/**
|
|
1463
|
-
* @param {?proto.
|
|
1464
|
-
* @return {!proto.
|
|
1463
|
+
* @param {?proto.TaxCode|undefined} value
|
|
1464
|
+
* @return {!proto.UpdateTaxCodeResponse} returns this
|
|
1465
1465
|
*/
|
|
1466
|
-
proto.
|
|
1466
|
+
proto.UpdateTaxCodeResponse.prototype.setTaxCode = function(value) {
|
|
1467
1467
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
1468
1468
|
};
|
|
1469
1469
|
|
|
1470
1470
|
|
|
1471
1471
|
/**
|
|
1472
1472
|
* Clears the message field making it undefined.
|
|
1473
|
-
* @return {!proto.
|
|
1473
|
+
* @return {!proto.UpdateTaxCodeResponse} returns this
|
|
1474
1474
|
*/
|
|
1475
|
-
proto.
|
|
1475
|
+
proto.UpdateTaxCodeResponse.prototype.clearTaxCode = function() {
|
|
1476
1476
|
return this.setTaxCode(undefined);
|
|
1477
1477
|
};
|
|
1478
1478
|
|
|
@@ -1481,7 +1481,7 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.prototype.clearTaxCode = fun
|
|
|
1481
1481
|
* Returns whether this field is set.
|
|
1482
1482
|
* @return {boolean}
|
|
1483
1483
|
*/
|
|
1484
|
-
proto.
|
|
1484
|
+
proto.UpdateTaxCodeResponse.prototype.hasTaxCode = function() {
|
|
1485
1485
|
return jspb.Message.getField(this, 1) != null;
|
|
1486
1486
|
};
|
|
1487
1487
|
|
|
@@ -1490,7 +1490,7 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.prototype.hasTaxCode = funct
|
|
|
1490
1490
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1491
1491
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1492
1492
|
*/
|
|
1493
|
-
proto.
|
|
1493
|
+
proto.UpdateTaxCodeResponse.prototype.getMeta = function() {
|
|
1494
1494
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1495
1495
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1496
1496
|
};
|
|
@@ -1498,18 +1498,18 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.prototype.getMeta = function
|
|
|
1498
1498
|
|
|
1499
1499
|
/**
|
|
1500
1500
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1501
|
-
* @return {!proto.
|
|
1501
|
+
* @return {!proto.UpdateTaxCodeResponse} returns this
|
|
1502
1502
|
*/
|
|
1503
|
-
proto.
|
|
1503
|
+
proto.UpdateTaxCodeResponse.prototype.setMeta = function(value) {
|
|
1504
1504
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1505
1505
|
};
|
|
1506
1506
|
|
|
1507
1507
|
|
|
1508
1508
|
/**
|
|
1509
1509
|
* Clears the message field making it undefined.
|
|
1510
|
-
* @return {!proto.
|
|
1510
|
+
* @return {!proto.UpdateTaxCodeResponse} returns this
|
|
1511
1511
|
*/
|
|
1512
|
-
proto.
|
|
1512
|
+
proto.UpdateTaxCodeResponse.prototype.clearMeta = function() {
|
|
1513
1513
|
return this.setMeta(undefined);
|
|
1514
1514
|
};
|
|
1515
1515
|
|
|
@@ -1518,7 +1518,7 @@ proto.prisca.v1.core.tax_code.UpdateTaxCodeResponse.prototype.clearMeta = functi
|
|
|
1518
1518
|
* Returns whether this field is set.
|
|
1519
1519
|
* @return {boolean}
|
|
1520
1520
|
*/
|
|
1521
|
-
proto.
|
|
1521
|
+
proto.UpdateTaxCodeResponse.prototype.hasMeta = function() {
|
|
1522
1522
|
return jspb.Message.getField(this, 2) != null;
|
|
1523
1523
|
};
|
|
1524
1524
|
|
|
@@ -1539,8 +1539,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1539
1539
|
* http://goto/soy-param-migration
|
|
1540
1540
|
* @return {!Object}
|
|
1541
1541
|
*/
|
|
1542
|
-
proto.
|
|
1543
|
-
return proto.
|
|
1542
|
+
proto.GetTaxCodeByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1543
|
+
return proto.GetTaxCodeByIdRequest.toObject(opt_includeInstance, this);
|
|
1544
1544
|
};
|
|
1545
1545
|
|
|
1546
1546
|
|
|
@@ -1549,11 +1549,11 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdRequest.prototype.toObject = functio
|
|
|
1549
1549
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1550
1550
|
* the JSPB instance for transitional soy proto support:
|
|
1551
1551
|
* http://goto/soy-param-migration
|
|
1552
|
-
* @param {!proto.
|
|
1552
|
+
* @param {!proto.GetTaxCodeByIdRequest} msg The msg instance to transform.
|
|
1553
1553
|
* @return {!Object}
|
|
1554
1554
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1555
1555
|
*/
|
|
1556
|
-
proto.
|
|
1556
|
+
proto.GetTaxCodeByIdRequest.toObject = function(includeInstance, msg) {
|
|
1557
1557
|
var f, obj = {
|
|
1558
1558
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1559
1559
|
};
|
|
@@ -1569,23 +1569,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
1569
1569
|
/**
|
|
1570
1570
|
* Deserializes binary data (in protobuf wire format).
|
|
1571
1571
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1572
|
-
* @return {!proto.
|
|
1572
|
+
* @return {!proto.GetTaxCodeByIdRequest}
|
|
1573
1573
|
*/
|
|
1574
|
-
proto.
|
|
1574
|
+
proto.GetTaxCodeByIdRequest.deserializeBinary = function(bytes) {
|
|
1575
1575
|
var reader = new jspb.BinaryReader(bytes);
|
|
1576
|
-
var msg = new proto.
|
|
1577
|
-
return proto.
|
|
1576
|
+
var msg = new proto.GetTaxCodeByIdRequest;
|
|
1577
|
+
return proto.GetTaxCodeByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
1578
1578
|
};
|
|
1579
1579
|
|
|
1580
1580
|
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1583
1583
|
* given reader into the given message object.
|
|
1584
|
-
* @param {!proto.
|
|
1584
|
+
* @param {!proto.GetTaxCodeByIdRequest} msg The message object to deserialize into.
|
|
1585
1585
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1586
|
-
* @return {!proto.
|
|
1586
|
+
* @return {!proto.GetTaxCodeByIdRequest}
|
|
1587
1587
|
*/
|
|
1588
|
-
proto.
|
|
1588
|
+
proto.GetTaxCodeByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1589
1589
|
while (reader.nextField()) {
|
|
1590
1590
|
if (reader.isEndGroup()) {
|
|
1591
1591
|
break;
|
|
@@ -1609,9 +1609,9 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdRequest.deserializeBinaryFromReader
|
|
|
1609
1609
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1610
1610
|
* @return {!Uint8Array}
|
|
1611
1611
|
*/
|
|
1612
|
-
proto.
|
|
1612
|
+
proto.GetTaxCodeByIdRequest.prototype.serializeBinary = function() {
|
|
1613
1613
|
var writer = new jspb.BinaryWriter();
|
|
1614
|
-
proto.
|
|
1614
|
+
proto.GetTaxCodeByIdRequest.serializeBinaryToWriter(this, writer);
|
|
1615
1615
|
return writer.getResultBuffer();
|
|
1616
1616
|
};
|
|
1617
1617
|
|
|
@@ -1619,11 +1619,11 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdRequest.prototype.serializeBinary =
|
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Serializes the given message to binary data (in protobuf wire
|
|
1621
1621
|
* format), writing to the given BinaryWriter.
|
|
1622
|
-
* @param {!proto.
|
|
1622
|
+
* @param {!proto.GetTaxCodeByIdRequest} message
|
|
1623
1623
|
* @param {!jspb.BinaryWriter} writer
|
|
1624
1624
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1625
1625
|
*/
|
|
1626
|
-
proto.
|
|
1626
|
+
proto.GetTaxCodeByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1627
1627
|
var f = undefined;
|
|
1628
1628
|
f = message.getReferencesId();
|
|
1629
1629
|
if (f.length > 0) {
|
|
@@ -1639,16 +1639,16 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdRequest.serializeBinaryToWriter = fu
|
|
|
1639
1639
|
* optional string references_id = 1;
|
|
1640
1640
|
* @return {string}
|
|
1641
1641
|
*/
|
|
1642
|
-
proto.
|
|
1642
|
+
proto.GetTaxCodeByIdRequest.prototype.getReferencesId = function() {
|
|
1643
1643
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1644
1644
|
};
|
|
1645
1645
|
|
|
1646
1646
|
|
|
1647
1647
|
/**
|
|
1648
1648
|
* @param {string} value
|
|
1649
|
-
* @return {!proto.
|
|
1649
|
+
* @return {!proto.GetTaxCodeByIdRequest} returns this
|
|
1650
1650
|
*/
|
|
1651
|
-
proto.
|
|
1651
|
+
proto.GetTaxCodeByIdRequest.prototype.setReferencesId = function(value) {
|
|
1652
1652
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1653
1653
|
};
|
|
1654
1654
|
|
|
@@ -1669,8 +1669,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1669
1669
|
* http://goto/soy-param-migration
|
|
1670
1670
|
* @return {!Object}
|
|
1671
1671
|
*/
|
|
1672
|
-
proto.
|
|
1673
|
-
return proto.
|
|
1672
|
+
proto.GetTaxCodeByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1673
|
+
return proto.GetTaxCodeByIdResponse.toObject(opt_includeInstance, this);
|
|
1674
1674
|
};
|
|
1675
1675
|
|
|
1676
1676
|
|
|
@@ -1679,13 +1679,13 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.prototype.toObject = functi
|
|
|
1679
1679
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1680
1680
|
* the JSPB instance for transitional soy proto support:
|
|
1681
1681
|
* http://goto/soy-param-migration
|
|
1682
|
-
* @param {!proto.
|
|
1682
|
+
* @param {!proto.GetTaxCodeByIdResponse} msg The msg instance to transform.
|
|
1683
1683
|
* @return {!Object}
|
|
1684
1684
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1685
1685
|
*/
|
|
1686
|
-
proto.
|
|
1686
|
+
proto.GetTaxCodeByIdResponse.toObject = function(includeInstance, msg) {
|
|
1687
1687
|
var f, obj = {
|
|
1688
|
-
taxCode: (f = msg.getTaxCode()) && proto.
|
|
1688
|
+
taxCode: (f = msg.getTaxCode()) && proto.TaxCode.toObject(includeInstance, f),
|
|
1689
1689
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1690
1690
|
};
|
|
1691
1691
|
|
|
@@ -1700,23 +1700,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Deserializes binary data (in protobuf wire format).
|
|
1702
1702
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1703
|
-
* @return {!proto.
|
|
1703
|
+
* @return {!proto.GetTaxCodeByIdResponse}
|
|
1704
1704
|
*/
|
|
1705
|
-
proto.
|
|
1705
|
+
proto.GetTaxCodeByIdResponse.deserializeBinary = function(bytes) {
|
|
1706
1706
|
var reader = new jspb.BinaryReader(bytes);
|
|
1707
|
-
var msg = new proto.
|
|
1708
|
-
return proto.
|
|
1707
|
+
var msg = new proto.GetTaxCodeByIdResponse;
|
|
1708
|
+
return proto.GetTaxCodeByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
1709
1709
|
};
|
|
1710
1710
|
|
|
1711
1711
|
|
|
1712
1712
|
/**
|
|
1713
1713
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1714
1714
|
* given reader into the given message object.
|
|
1715
|
-
* @param {!proto.
|
|
1715
|
+
* @param {!proto.GetTaxCodeByIdResponse} msg The message object to deserialize into.
|
|
1716
1716
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1717
|
-
* @return {!proto.
|
|
1717
|
+
* @return {!proto.GetTaxCodeByIdResponse}
|
|
1718
1718
|
*/
|
|
1719
|
-
proto.
|
|
1719
|
+
proto.GetTaxCodeByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1720
1720
|
while (reader.nextField()) {
|
|
1721
1721
|
if (reader.isEndGroup()) {
|
|
1722
1722
|
break;
|
|
@@ -1724,8 +1724,8 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.deserializeBinaryFromReader
|
|
|
1724
1724
|
var field = reader.getFieldNumber();
|
|
1725
1725
|
switch (field) {
|
|
1726
1726
|
case 1:
|
|
1727
|
-
var value = new proto.
|
|
1728
|
-
reader.readMessage(value,proto.
|
|
1727
|
+
var value = new proto.TaxCode;
|
|
1728
|
+
reader.readMessage(value,proto.TaxCode.deserializeBinaryFromReader);
|
|
1729
1729
|
msg.setTaxCode(value);
|
|
1730
1730
|
break;
|
|
1731
1731
|
case 2:
|
|
@@ -1746,9 +1746,9 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.deserializeBinaryFromReader
|
|
|
1746
1746
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1747
1747
|
* @return {!Uint8Array}
|
|
1748
1748
|
*/
|
|
1749
|
-
proto.
|
|
1749
|
+
proto.GetTaxCodeByIdResponse.prototype.serializeBinary = function() {
|
|
1750
1750
|
var writer = new jspb.BinaryWriter();
|
|
1751
|
-
proto.
|
|
1751
|
+
proto.GetTaxCodeByIdResponse.serializeBinaryToWriter(this, writer);
|
|
1752
1752
|
return writer.getResultBuffer();
|
|
1753
1753
|
};
|
|
1754
1754
|
|
|
@@ -1756,18 +1756,18 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.prototype.serializeBinary =
|
|
|
1756
1756
|
/**
|
|
1757
1757
|
* Serializes the given message to binary data (in protobuf wire
|
|
1758
1758
|
* format), writing to the given BinaryWriter.
|
|
1759
|
-
* @param {!proto.
|
|
1759
|
+
* @param {!proto.GetTaxCodeByIdResponse} message
|
|
1760
1760
|
* @param {!jspb.BinaryWriter} writer
|
|
1761
1761
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1762
1762
|
*/
|
|
1763
|
-
proto.
|
|
1763
|
+
proto.GetTaxCodeByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1764
1764
|
var f = undefined;
|
|
1765
1765
|
f = message.getTaxCode();
|
|
1766
1766
|
if (f != null) {
|
|
1767
1767
|
writer.writeMessage(
|
|
1768
1768
|
1,
|
|
1769
1769
|
f,
|
|
1770
|
-
proto.
|
|
1770
|
+
proto.TaxCode.serializeBinaryToWriter
|
|
1771
1771
|
);
|
|
1772
1772
|
}
|
|
1773
1773
|
f = message.getMeta();
|
|
@@ -1783,28 +1783,28 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.serializeBinaryToWriter = f
|
|
|
1783
1783
|
|
|
1784
1784
|
/**
|
|
1785
1785
|
* optional TaxCode tax_code = 1;
|
|
1786
|
-
* @return {?proto.
|
|
1786
|
+
* @return {?proto.TaxCode}
|
|
1787
1787
|
*/
|
|
1788
|
-
proto.
|
|
1789
|
-
return /** @type{?proto.
|
|
1790
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1788
|
+
proto.GetTaxCodeByIdResponse.prototype.getTaxCode = function() {
|
|
1789
|
+
return /** @type{?proto.TaxCode} */ (
|
|
1790
|
+
jspb.Message.getWrapperField(this, proto.TaxCode, 1));
|
|
1791
1791
|
};
|
|
1792
1792
|
|
|
1793
1793
|
|
|
1794
1794
|
/**
|
|
1795
|
-
* @param {?proto.
|
|
1796
|
-
* @return {!proto.
|
|
1795
|
+
* @param {?proto.TaxCode|undefined} value
|
|
1796
|
+
* @return {!proto.GetTaxCodeByIdResponse} returns this
|
|
1797
1797
|
*/
|
|
1798
|
-
proto.
|
|
1798
|
+
proto.GetTaxCodeByIdResponse.prototype.setTaxCode = function(value) {
|
|
1799
1799
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
1800
1800
|
};
|
|
1801
1801
|
|
|
1802
1802
|
|
|
1803
1803
|
/**
|
|
1804
1804
|
* Clears the message field making it undefined.
|
|
1805
|
-
* @return {!proto.
|
|
1805
|
+
* @return {!proto.GetTaxCodeByIdResponse} returns this
|
|
1806
1806
|
*/
|
|
1807
|
-
proto.
|
|
1807
|
+
proto.GetTaxCodeByIdResponse.prototype.clearTaxCode = function() {
|
|
1808
1808
|
return this.setTaxCode(undefined);
|
|
1809
1809
|
};
|
|
1810
1810
|
|
|
@@ -1813,7 +1813,7 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.prototype.clearTaxCode = fu
|
|
|
1813
1813
|
* Returns whether this field is set.
|
|
1814
1814
|
* @return {boolean}
|
|
1815
1815
|
*/
|
|
1816
|
-
proto.
|
|
1816
|
+
proto.GetTaxCodeByIdResponse.prototype.hasTaxCode = function() {
|
|
1817
1817
|
return jspb.Message.getField(this, 1) != null;
|
|
1818
1818
|
};
|
|
1819
1819
|
|
|
@@ -1822,7 +1822,7 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.prototype.hasTaxCode = func
|
|
|
1822
1822
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1823
1823
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1824
1824
|
*/
|
|
1825
|
-
proto.
|
|
1825
|
+
proto.GetTaxCodeByIdResponse.prototype.getMeta = function() {
|
|
1826
1826
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1827
1827
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1828
1828
|
};
|
|
@@ -1830,18 +1830,18 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.prototype.getMeta = functio
|
|
|
1830
1830
|
|
|
1831
1831
|
/**
|
|
1832
1832
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1833
|
-
* @return {!proto.
|
|
1833
|
+
* @return {!proto.GetTaxCodeByIdResponse} returns this
|
|
1834
1834
|
*/
|
|
1835
|
-
proto.
|
|
1835
|
+
proto.GetTaxCodeByIdResponse.prototype.setMeta = function(value) {
|
|
1836
1836
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1837
1837
|
};
|
|
1838
1838
|
|
|
1839
1839
|
|
|
1840
1840
|
/**
|
|
1841
1841
|
* Clears the message field making it undefined.
|
|
1842
|
-
* @return {!proto.
|
|
1842
|
+
* @return {!proto.GetTaxCodeByIdResponse} returns this
|
|
1843
1843
|
*/
|
|
1844
|
-
proto.
|
|
1844
|
+
proto.GetTaxCodeByIdResponse.prototype.clearMeta = function() {
|
|
1845
1845
|
return this.setMeta(undefined);
|
|
1846
1846
|
};
|
|
1847
1847
|
|
|
@@ -1850,7 +1850,7 @@ proto.prisca.v1.core.tax_code.GetTaxCodeByIdResponse.prototype.clearMeta = funct
|
|
|
1850
1850
|
* Returns whether this field is set.
|
|
1851
1851
|
* @return {boolean}
|
|
1852
1852
|
*/
|
|
1853
|
-
proto.
|
|
1853
|
+
proto.GetTaxCodeByIdResponse.prototype.hasMeta = function() {
|
|
1854
1854
|
return jspb.Message.getField(this, 2) != null;
|
|
1855
1855
|
};
|
|
1856
1856
|
|
|
@@ -1871,8 +1871,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1871
1871
|
* http://goto/soy-param-migration
|
|
1872
1872
|
* @return {!Object}
|
|
1873
1873
|
*/
|
|
1874
|
-
proto.
|
|
1875
|
-
return proto.
|
|
1874
|
+
proto.GetListTaxCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1875
|
+
return proto.GetListTaxCodeRequest.toObject(opt_includeInstance, this);
|
|
1876
1876
|
};
|
|
1877
1877
|
|
|
1878
1878
|
|
|
@@ -1881,11 +1881,11 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.prototype.toObject = functio
|
|
|
1881
1881
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1882
1882
|
* the JSPB instance for transitional soy proto support:
|
|
1883
1883
|
* http://goto/soy-param-migration
|
|
1884
|
-
* @param {!proto.
|
|
1884
|
+
* @param {!proto.GetListTaxCodeRequest} msg The msg instance to transform.
|
|
1885
1885
|
* @return {!Object}
|
|
1886
1886
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1887
1887
|
*/
|
|
1888
|
-
proto.
|
|
1888
|
+
proto.GetListTaxCodeRequest.toObject = function(includeInstance, msg) {
|
|
1889
1889
|
var f, obj = {
|
|
1890
1890
|
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
1891
1891
|
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
@@ -1902,23 +1902,23 @@ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObj
|
|
|
1902
1902
|
/**
|
|
1903
1903
|
* Deserializes binary data (in protobuf wire format).
|
|
1904
1904
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1905
|
-
* @return {!proto.
|
|
1905
|
+
* @return {!proto.GetListTaxCodeRequest}
|
|
1906
1906
|
*/
|
|
1907
|
-
proto.
|
|
1907
|
+
proto.GetListTaxCodeRequest.deserializeBinary = function(bytes) {
|
|
1908
1908
|
var reader = new jspb.BinaryReader(bytes);
|
|
1909
|
-
var msg = new proto.
|
|
1910
|
-
return proto.
|
|
1909
|
+
var msg = new proto.GetListTaxCodeRequest;
|
|
1910
|
+
return proto.GetListTaxCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
1911
1911
|
};
|
|
1912
1912
|
|
|
1913
1913
|
|
|
1914
1914
|
/**
|
|
1915
1915
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1916
1916
|
* given reader into the given message object.
|
|
1917
|
-
* @param {!proto.
|
|
1917
|
+
* @param {!proto.GetListTaxCodeRequest} msg The message object to deserialize into.
|
|
1918
1918
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1919
|
-
* @return {!proto.
|
|
1919
|
+
* @return {!proto.GetListTaxCodeRequest}
|
|
1920
1920
|
*/
|
|
1921
|
-
proto.
|
|
1921
|
+
proto.GetListTaxCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1922
1922
|
while (reader.nextField()) {
|
|
1923
1923
|
if (reader.isEndGroup()) {
|
|
1924
1924
|
break;
|
|
@@ -1948,9 +1948,9 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.deserializeBinaryFromReader
|
|
|
1948
1948
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1949
1949
|
* @return {!Uint8Array}
|
|
1950
1950
|
*/
|
|
1951
|
-
proto.
|
|
1951
|
+
proto.GetListTaxCodeRequest.prototype.serializeBinary = function() {
|
|
1952
1952
|
var writer = new jspb.BinaryWriter();
|
|
1953
|
-
proto.
|
|
1953
|
+
proto.GetListTaxCodeRequest.serializeBinaryToWriter(this, writer);
|
|
1954
1954
|
return writer.getResultBuffer();
|
|
1955
1955
|
};
|
|
1956
1956
|
|
|
@@ -1958,11 +1958,11 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.prototype.serializeBinary =
|
|
|
1958
1958
|
/**
|
|
1959
1959
|
* Serializes the given message to binary data (in protobuf wire
|
|
1960
1960
|
* format), writing to the given BinaryWriter.
|
|
1961
|
-
* @param {!proto.
|
|
1961
|
+
* @param {!proto.GetListTaxCodeRequest} message
|
|
1962
1962
|
* @param {!jspb.BinaryWriter} writer
|
|
1963
1963
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1964
1964
|
*/
|
|
1965
|
-
proto.
|
|
1965
|
+
proto.GetListTaxCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1966
1966
|
var f = undefined;
|
|
1967
1967
|
f = message.getPagination();
|
|
1968
1968
|
if (f != null) {
|
|
@@ -1987,7 +1987,7 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.serializeBinaryToWriter = fu
|
|
|
1987
1987
|
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
1988
1988
|
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
1989
1989
|
*/
|
|
1990
|
-
proto.
|
|
1990
|
+
proto.GetListTaxCodeRequest.prototype.getPagination = function() {
|
|
1991
1991
|
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
1992
1992
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
1993
1993
|
};
|
|
@@ -1995,18 +1995,18 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.prototype.getPagination = fu
|
|
|
1995
1995
|
|
|
1996
1996
|
/**
|
|
1997
1997
|
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
1998
|
-
* @return {!proto.
|
|
1998
|
+
* @return {!proto.GetListTaxCodeRequest} returns this
|
|
1999
1999
|
*/
|
|
2000
|
-
proto.
|
|
2000
|
+
proto.GetListTaxCodeRequest.prototype.setPagination = function(value) {
|
|
2001
2001
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2002
2002
|
};
|
|
2003
2003
|
|
|
2004
2004
|
|
|
2005
2005
|
/**
|
|
2006
2006
|
* Clears the message field making it undefined.
|
|
2007
|
-
* @return {!proto.
|
|
2007
|
+
* @return {!proto.GetListTaxCodeRequest} returns this
|
|
2008
2008
|
*/
|
|
2009
|
-
proto.
|
|
2009
|
+
proto.GetListTaxCodeRequest.prototype.clearPagination = function() {
|
|
2010
2010
|
return this.setPagination(undefined);
|
|
2011
2011
|
};
|
|
2012
2012
|
|
|
@@ -2015,7 +2015,7 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.prototype.clearPagination =
|
|
|
2015
2015
|
* Returns whether this field is set.
|
|
2016
2016
|
* @return {boolean}
|
|
2017
2017
|
*/
|
|
2018
|
-
proto.
|
|
2018
|
+
proto.GetListTaxCodeRequest.prototype.hasPagination = function() {
|
|
2019
2019
|
return jspb.Message.getField(this, 1) != null;
|
|
2020
2020
|
};
|
|
2021
2021
|
|
|
@@ -2024,7 +2024,7 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.prototype.hasPagination = fu
|
|
|
2024
2024
|
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
2025
2025
|
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
2026
2026
|
*/
|
|
2027
|
-
proto.
|
|
2027
|
+
proto.GetListTaxCodeRequest.prototype.getQuery = function() {
|
|
2028
2028
|
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
2029
2029
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
2030
2030
|
};
|
|
@@ -2032,18 +2032,18 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.prototype.getQuery = functio
|
|
|
2032
2032
|
|
|
2033
2033
|
/**
|
|
2034
2034
|
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
2035
|
-
* @return {!proto.
|
|
2035
|
+
* @return {!proto.GetListTaxCodeRequest} returns this
|
|
2036
2036
|
*/
|
|
2037
|
-
proto.
|
|
2037
|
+
proto.GetListTaxCodeRequest.prototype.setQuery = function(value) {
|
|
2038
2038
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2039
2039
|
};
|
|
2040
2040
|
|
|
2041
2041
|
|
|
2042
2042
|
/**
|
|
2043
2043
|
* Clears the message field making it undefined.
|
|
2044
|
-
* @return {!proto.
|
|
2044
|
+
* @return {!proto.GetListTaxCodeRequest} returns this
|
|
2045
2045
|
*/
|
|
2046
|
-
proto.
|
|
2046
|
+
proto.GetListTaxCodeRequest.prototype.clearQuery = function() {
|
|
2047
2047
|
return this.setQuery(undefined);
|
|
2048
2048
|
};
|
|
2049
2049
|
|
|
@@ -2052,7 +2052,7 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.prototype.clearQuery = funct
|
|
|
2052
2052
|
* Returns whether this field is set.
|
|
2053
2053
|
* @return {boolean}
|
|
2054
2054
|
*/
|
|
2055
|
-
proto.
|
|
2055
|
+
proto.GetListTaxCodeRequest.prototype.hasQuery = function() {
|
|
2056
2056
|
return jspb.Message.getField(this, 2) != null;
|
|
2057
2057
|
};
|
|
2058
2058
|
|
|
@@ -2063,7 +2063,7 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeRequest.prototype.hasQuery = functio
|
|
|
2063
2063
|
* @private {!Array<number>}
|
|
2064
2064
|
* @const
|
|
2065
2065
|
*/
|
|
2066
|
-
proto.
|
|
2066
|
+
proto.GetListTaxCodeResponse.repeatedFields_ = [1];
|
|
2067
2067
|
|
|
2068
2068
|
|
|
2069
2069
|
|
|
@@ -2080,8 +2080,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2080
2080
|
* http://goto/soy-param-migration
|
|
2081
2081
|
* @return {!Object}
|
|
2082
2082
|
*/
|
|
2083
|
-
proto.
|
|
2084
|
-
return proto.
|
|
2083
|
+
proto.GetListTaxCodeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2084
|
+
return proto.GetListTaxCodeResponse.toObject(opt_includeInstance, this);
|
|
2085
2085
|
};
|
|
2086
2086
|
|
|
2087
2087
|
|
|
@@ -2090,14 +2090,14 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeResponse.prototype.toObject = functi
|
|
|
2090
2090
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2091
2091
|
* the JSPB instance for transitional soy proto support:
|
|
2092
2092
|
* http://goto/soy-param-migration
|
|
2093
|
-
* @param {!proto.
|
|
2093
|
+
* @param {!proto.GetListTaxCodeResponse} msg The msg instance to transform.
|
|
2094
2094
|
* @return {!Object}
|
|
2095
2095
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2096
2096
|
*/
|
|
2097
|
-
proto.
|
|
2097
|
+
proto.GetListTaxCodeResponse.toObject = function(includeInstance, msg) {
|
|
2098
2098
|
var f, obj = {
|
|
2099
2099
|
taxCodesList: jspb.Message.toObjectList(msg.getTaxCodesList(),
|
|
2100
|
-
proto.
|
|
2100
|
+
proto.TaxCode.toObject, includeInstance),
|
|
2101
2101
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2102
2102
|
};
|
|
2103
2103
|
|
|
@@ -2112,23 +2112,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
2112
2112
|
/**
|
|
2113
2113
|
* Deserializes binary data (in protobuf wire format).
|
|
2114
2114
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2115
|
-
* @return {!proto.
|
|
2115
|
+
* @return {!proto.GetListTaxCodeResponse}
|
|
2116
2116
|
*/
|
|
2117
|
-
proto.
|
|
2117
|
+
proto.GetListTaxCodeResponse.deserializeBinary = function(bytes) {
|
|
2118
2118
|
var reader = new jspb.BinaryReader(bytes);
|
|
2119
|
-
var msg = new proto.
|
|
2120
|
-
return proto.
|
|
2119
|
+
var msg = new proto.GetListTaxCodeResponse;
|
|
2120
|
+
return proto.GetListTaxCodeResponse.deserializeBinaryFromReader(msg, reader);
|
|
2121
2121
|
};
|
|
2122
2122
|
|
|
2123
2123
|
|
|
2124
2124
|
/**
|
|
2125
2125
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2126
2126
|
* given reader into the given message object.
|
|
2127
|
-
* @param {!proto.
|
|
2127
|
+
* @param {!proto.GetListTaxCodeResponse} msg The message object to deserialize into.
|
|
2128
2128
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2129
|
-
* @return {!proto.
|
|
2129
|
+
* @return {!proto.GetListTaxCodeResponse}
|
|
2130
2130
|
*/
|
|
2131
|
-
proto.
|
|
2131
|
+
proto.GetListTaxCodeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2132
2132
|
while (reader.nextField()) {
|
|
2133
2133
|
if (reader.isEndGroup()) {
|
|
2134
2134
|
break;
|
|
@@ -2136,8 +2136,8 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeResponse.deserializeBinaryFromReader
|
|
|
2136
2136
|
var field = reader.getFieldNumber();
|
|
2137
2137
|
switch (field) {
|
|
2138
2138
|
case 1:
|
|
2139
|
-
var value = new proto.
|
|
2140
|
-
reader.readMessage(value,proto.
|
|
2139
|
+
var value = new proto.TaxCode;
|
|
2140
|
+
reader.readMessage(value,proto.TaxCode.deserializeBinaryFromReader);
|
|
2141
2141
|
msg.addTaxCodes(value);
|
|
2142
2142
|
break;
|
|
2143
2143
|
case 2:
|
|
@@ -2158,9 +2158,9 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeResponse.deserializeBinaryFromReader
|
|
|
2158
2158
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2159
2159
|
* @return {!Uint8Array}
|
|
2160
2160
|
*/
|
|
2161
|
-
proto.
|
|
2161
|
+
proto.GetListTaxCodeResponse.prototype.serializeBinary = function() {
|
|
2162
2162
|
var writer = new jspb.BinaryWriter();
|
|
2163
|
-
proto.
|
|
2163
|
+
proto.GetListTaxCodeResponse.serializeBinaryToWriter(this, writer);
|
|
2164
2164
|
return writer.getResultBuffer();
|
|
2165
2165
|
};
|
|
2166
2166
|
|
|
@@ -2168,18 +2168,18 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeResponse.prototype.serializeBinary =
|
|
|
2168
2168
|
/**
|
|
2169
2169
|
* Serializes the given message to binary data (in protobuf wire
|
|
2170
2170
|
* format), writing to the given BinaryWriter.
|
|
2171
|
-
* @param {!proto.
|
|
2171
|
+
* @param {!proto.GetListTaxCodeResponse} message
|
|
2172
2172
|
* @param {!jspb.BinaryWriter} writer
|
|
2173
2173
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2174
2174
|
*/
|
|
2175
|
-
proto.
|
|
2175
|
+
proto.GetListTaxCodeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2176
2176
|
var f = undefined;
|
|
2177
2177
|
f = message.getTaxCodesList();
|
|
2178
2178
|
if (f.length > 0) {
|
|
2179
2179
|
writer.writeRepeatedMessage(
|
|
2180
2180
|
1,
|
|
2181
2181
|
f,
|
|
2182
|
-
proto.
|
|
2182
|
+
proto.TaxCode.serializeBinaryToWriter
|
|
2183
2183
|
);
|
|
2184
2184
|
}
|
|
2185
2185
|
f = message.getMeta();
|
|
@@ -2195,38 +2195,38 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeResponse.serializeBinaryToWriter = f
|
|
|
2195
2195
|
|
|
2196
2196
|
/**
|
|
2197
2197
|
* repeated TaxCode tax_codes = 1;
|
|
2198
|
-
* @return {!Array<!proto.
|
|
2198
|
+
* @return {!Array<!proto.TaxCode>}
|
|
2199
2199
|
*/
|
|
2200
|
-
proto.
|
|
2201
|
-
return /** @type{!Array<!proto.
|
|
2202
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
2200
|
+
proto.GetListTaxCodeResponse.prototype.getTaxCodesList = function() {
|
|
2201
|
+
return /** @type{!Array<!proto.TaxCode>} */ (
|
|
2202
|
+
jspb.Message.getRepeatedWrapperField(this, proto.TaxCode, 1));
|
|
2203
2203
|
};
|
|
2204
2204
|
|
|
2205
2205
|
|
|
2206
2206
|
/**
|
|
2207
|
-
* @param {!Array<!proto.
|
|
2208
|
-
* @return {!proto.
|
|
2207
|
+
* @param {!Array<!proto.TaxCode>} value
|
|
2208
|
+
* @return {!proto.GetListTaxCodeResponse} returns this
|
|
2209
2209
|
*/
|
|
2210
|
-
proto.
|
|
2210
|
+
proto.GetListTaxCodeResponse.prototype.setTaxCodesList = function(value) {
|
|
2211
2211
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2212
2212
|
};
|
|
2213
2213
|
|
|
2214
2214
|
|
|
2215
2215
|
/**
|
|
2216
|
-
* @param {!proto.
|
|
2216
|
+
* @param {!proto.TaxCode=} opt_value
|
|
2217
2217
|
* @param {number=} opt_index
|
|
2218
|
-
* @return {!proto.
|
|
2218
|
+
* @return {!proto.TaxCode}
|
|
2219
2219
|
*/
|
|
2220
|
-
proto.
|
|
2221
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
2220
|
+
proto.GetListTaxCodeResponse.prototype.addTaxCodes = function(opt_value, opt_index) {
|
|
2221
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TaxCode, opt_index);
|
|
2222
2222
|
};
|
|
2223
2223
|
|
|
2224
2224
|
|
|
2225
2225
|
/**
|
|
2226
2226
|
* Clears the list making it empty but non-null.
|
|
2227
|
-
* @return {!proto.
|
|
2227
|
+
* @return {!proto.GetListTaxCodeResponse} returns this
|
|
2228
2228
|
*/
|
|
2229
|
-
proto.
|
|
2229
|
+
proto.GetListTaxCodeResponse.prototype.clearTaxCodesList = function() {
|
|
2230
2230
|
return this.setTaxCodesList([]);
|
|
2231
2231
|
};
|
|
2232
2232
|
|
|
@@ -2235,7 +2235,7 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeResponse.prototype.clearTaxCodesList
|
|
|
2235
2235
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2236
2236
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2237
2237
|
*/
|
|
2238
|
-
proto.
|
|
2238
|
+
proto.GetListTaxCodeResponse.prototype.getMeta = function() {
|
|
2239
2239
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2240
2240
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2241
2241
|
};
|
|
@@ -2243,18 +2243,18 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeResponse.prototype.getMeta = functio
|
|
|
2243
2243
|
|
|
2244
2244
|
/**
|
|
2245
2245
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2246
|
-
* @return {!proto.
|
|
2246
|
+
* @return {!proto.GetListTaxCodeResponse} returns this
|
|
2247
2247
|
*/
|
|
2248
|
-
proto.
|
|
2248
|
+
proto.GetListTaxCodeResponse.prototype.setMeta = function(value) {
|
|
2249
2249
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2250
2250
|
};
|
|
2251
2251
|
|
|
2252
2252
|
|
|
2253
2253
|
/**
|
|
2254
2254
|
* Clears the message field making it undefined.
|
|
2255
|
-
* @return {!proto.
|
|
2255
|
+
* @return {!proto.GetListTaxCodeResponse} returns this
|
|
2256
2256
|
*/
|
|
2257
|
-
proto.
|
|
2257
|
+
proto.GetListTaxCodeResponse.prototype.clearMeta = function() {
|
|
2258
2258
|
return this.setMeta(undefined);
|
|
2259
2259
|
};
|
|
2260
2260
|
|
|
@@ -2263,7 +2263,7 @@ proto.prisca.v1.core.tax_code.GetListTaxCodeResponse.prototype.clearMeta = funct
|
|
|
2263
2263
|
* Returns whether this field is set.
|
|
2264
2264
|
* @return {boolean}
|
|
2265
2265
|
*/
|
|
2266
|
-
proto.
|
|
2266
|
+
proto.GetListTaxCodeResponse.prototype.hasMeta = function() {
|
|
2267
2267
|
return jspb.Message.getField(this, 2) != null;
|
|
2268
2268
|
};
|
|
2269
2269
|
|
|
@@ -2284,8 +2284,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2284
2284
|
* http://goto/soy-param-migration
|
|
2285
2285
|
* @return {!Object}
|
|
2286
2286
|
*/
|
|
2287
|
-
proto.
|
|
2288
|
-
return proto.
|
|
2287
|
+
proto.DeleteTaxCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2288
|
+
return proto.DeleteTaxCodeRequest.toObject(opt_includeInstance, this);
|
|
2289
2289
|
};
|
|
2290
2290
|
|
|
2291
2291
|
|
|
@@ -2294,11 +2294,11 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeRequest.prototype.toObject = function
|
|
|
2294
2294
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2295
2295
|
* the JSPB instance for transitional soy proto support:
|
|
2296
2296
|
* http://goto/soy-param-migration
|
|
2297
|
-
* @param {!proto.
|
|
2297
|
+
* @param {!proto.DeleteTaxCodeRequest} msg The msg instance to transform.
|
|
2298
2298
|
* @return {!Object}
|
|
2299
2299
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2300
2300
|
*/
|
|
2301
|
-
proto.
|
|
2301
|
+
proto.DeleteTaxCodeRequest.toObject = function(includeInstance, msg) {
|
|
2302
2302
|
var f, obj = {
|
|
2303
2303
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2304
2304
|
};
|
|
@@ -2314,23 +2314,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
2314
2314
|
/**
|
|
2315
2315
|
* Deserializes binary data (in protobuf wire format).
|
|
2316
2316
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2317
|
-
* @return {!proto.
|
|
2317
|
+
* @return {!proto.DeleteTaxCodeRequest}
|
|
2318
2318
|
*/
|
|
2319
|
-
proto.
|
|
2319
|
+
proto.DeleteTaxCodeRequest.deserializeBinary = function(bytes) {
|
|
2320
2320
|
var reader = new jspb.BinaryReader(bytes);
|
|
2321
|
-
var msg = new proto.
|
|
2322
|
-
return proto.
|
|
2321
|
+
var msg = new proto.DeleteTaxCodeRequest;
|
|
2322
|
+
return proto.DeleteTaxCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
2323
2323
|
};
|
|
2324
2324
|
|
|
2325
2325
|
|
|
2326
2326
|
/**
|
|
2327
2327
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2328
2328
|
* given reader into the given message object.
|
|
2329
|
-
* @param {!proto.
|
|
2329
|
+
* @param {!proto.DeleteTaxCodeRequest} msg The message object to deserialize into.
|
|
2330
2330
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2331
|
-
* @return {!proto.
|
|
2331
|
+
* @return {!proto.DeleteTaxCodeRequest}
|
|
2332
2332
|
*/
|
|
2333
|
-
proto.
|
|
2333
|
+
proto.DeleteTaxCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2334
2334
|
while (reader.nextField()) {
|
|
2335
2335
|
if (reader.isEndGroup()) {
|
|
2336
2336
|
break;
|
|
@@ -2354,9 +2354,9 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeRequest.deserializeBinaryFromReader =
|
|
|
2354
2354
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2355
2355
|
* @return {!Uint8Array}
|
|
2356
2356
|
*/
|
|
2357
|
-
proto.
|
|
2357
|
+
proto.DeleteTaxCodeRequest.prototype.serializeBinary = function() {
|
|
2358
2358
|
var writer = new jspb.BinaryWriter();
|
|
2359
|
-
proto.
|
|
2359
|
+
proto.DeleteTaxCodeRequest.serializeBinaryToWriter(this, writer);
|
|
2360
2360
|
return writer.getResultBuffer();
|
|
2361
2361
|
};
|
|
2362
2362
|
|
|
@@ -2364,11 +2364,11 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeRequest.prototype.serializeBinary = f
|
|
|
2364
2364
|
/**
|
|
2365
2365
|
* Serializes the given message to binary data (in protobuf wire
|
|
2366
2366
|
* format), writing to the given BinaryWriter.
|
|
2367
|
-
* @param {!proto.
|
|
2367
|
+
* @param {!proto.DeleteTaxCodeRequest} message
|
|
2368
2368
|
* @param {!jspb.BinaryWriter} writer
|
|
2369
2369
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2370
2370
|
*/
|
|
2371
|
-
proto.
|
|
2371
|
+
proto.DeleteTaxCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2372
2372
|
var f = undefined;
|
|
2373
2373
|
f = message.getReferencesId();
|
|
2374
2374
|
if (f.length > 0) {
|
|
@@ -2384,16 +2384,16 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeRequest.serializeBinaryToWriter = fun
|
|
|
2384
2384
|
* optional string references_id = 1;
|
|
2385
2385
|
* @return {string}
|
|
2386
2386
|
*/
|
|
2387
|
-
proto.
|
|
2387
|
+
proto.DeleteTaxCodeRequest.prototype.getReferencesId = function() {
|
|
2388
2388
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2389
2389
|
};
|
|
2390
2390
|
|
|
2391
2391
|
|
|
2392
2392
|
/**
|
|
2393
2393
|
* @param {string} value
|
|
2394
|
-
* @return {!proto.
|
|
2394
|
+
* @return {!proto.DeleteTaxCodeRequest} returns this
|
|
2395
2395
|
*/
|
|
2396
|
-
proto.
|
|
2396
|
+
proto.DeleteTaxCodeRequest.prototype.setReferencesId = function(value) {
|
|
2397
2397
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2398
2398
|
};
|
|
2399
2399
|
|
|
@@ -2414,8 +2414,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2414
2414
|
* http://goto/soy-param-migration
|
|
2415
2415
|
* @return {!Object}
|
|
2416
2416
|
*/
|
|
2417
|
-
proto.
|
|
2418
|
-
return proto.
|
|
2417
|
+
proto.DeleteTaxCodeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2418
|
+
return proto.DeleteTaxCodeResponse.toObject(opt_includeInstance, this);
|
|
2419
2419
|
};
|
|
2420
2420
|
|
|
2421
2421
|
|
|
@@ -2424,11 +2424,11 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeResponse.prototype.toObject = functio
|
|
|
2424
2424
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2425
2425
|
* the JSPB instance for transitional soy proto support:
|
|
2426
2426
|
* http://goto/soy-param-migration
|
|
2427
|
-
* @param {!proto.
|
|
2427
|
+
* @param {!proto.DeleteTaxCodeResponse} msg The msg instance to transform.
|
|
2428
2428
|
* @return {!Object}
|
|
2429
2429
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2430
2430
|
*/
|
|
2431
|
-
proto.
|
|
2431
|
+
proto.DeleteTaxCodeResponse.toObject = function(includeInstance, msg) {
|
|
2432
2432
|
var f, obj = {
|
|
2433
2433
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2434
2434
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
@@ -2445,23 +2445,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
2445
2445
|
/**
|
|
2446
2446
|
* Deserializes binary data (in protobuf wire format).
|
|
2447
2447
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2448
|
-
* @return {!proto.
|
|
2448
|
+
* @return {!proto.DeleteTaxCodeResponse}
|
|
2449
2449
|
*/
|
|
2450
|
-
proto.
|
|
2450
|
+
proto.DeleteTaxCodeResponse.deserializeBinary = function(bytes) {
|
|
2451
2451
|
var reader = new jspb.BinaryReader(bytes);
|
|
2452
|
-
var msg = new proto.
|
|
2453
|
-
return proto.
|
|
2452
|
+
var msg = new proto.DeleteTaxCodeResponse;
|
|
2453
|
+
return proto.DeleteTaxCodeResponse.deserializeBinaryFromReader(msg, reader);
|
|
2454
2454
|
};
|
|
2455
2455
|
|
|
2456
2456
|
|
|
2457
2457
|
/**
|
|
2458
2458
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2459
2459
|
* given reader into the given message object.
|
|
2460
|
-
* @param {!proto.
|
|
2460
|
+
* @param {!proto.DeleteTaxCodeResponse} msg The message object to deserialize into.
|
|
2461
2461
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2462
|
-
* @return {!proto.
|
|
2462
|
+
* @return {!proto.DeleteTaxCodeResponse}
|
|
2463
2463
|
*/
|
|
2464
|
-
proto.
|
|
2464
|
+
proto.DeleteTaxCodeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2465
2465
|
while (reader.nextField()) {
|
|
2466
2466
|
if (reader.isEndGroup()) {
|
|
2467
2467
|
break;
|
|
@@ -2490,9 +2490,9 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeResponse.deserializeBinaryFromReader
|
|
|
2490
2490
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2491
2491
|
* @return {!Uint8Array}
|
|
2492
2492
|
*/
|
|
2493
|
-
proto.
|
|
2493
|
+
proto.DeleteTaxCodeResponse.prototype.serializeBinary = function() {
|
|
2494
2494
|
var writer = new jspb.BinaryWriter();
|
|
2495
|
-
proto.
|
|
2495
|
+
proto.DeleteTaxCodeResponse.serializeBinaryToWriter(this, writer);
|
|
2496
2496
|
return writer.getResultBuffer();
|
|
2497
2497
|
};
|
|
2498
2498
|
|
|
@@ -2500,11 +2500,11 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeResponse.prototype.serializeBinary =
|
|
|
2500
2500
|
/**
|
|
2501
2501
|
* Serializes the given message to binary data (in protobuf wire
|
|
2502
2502
|
* format), writing to the given BinaryWriter.
|
|
2503
|
-
* @param {!proto.
|
|
2503
|
+
* @param {!proto.DeleteTaxCodeResponse} message
|
|
2504
2504
|
* @param {!jspb.BinaryWriter} writer
|
|
2505
2505
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2506
2506
|
*/
|
|
2507
|
-
proto.
|
|
2507
|
+
proto.DeleteTaxCodeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2508
2508
|
var f = undefined;
|
|
2509
2509
|
f = message.getReferencesId();
|
|
2510
2510
|
if (f.length > 0) {
|
|
@@ -2528,16 +2528,16 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeResponse.serializeBinaryToWriter = fu
|
|
|
2528
2528
|
* optional string references_id = 1;
|
|
2529
2529
|
* @return {string}
|
|
2530
2530
|
*/
|
|
2531
|
-
proto.
|
|
2531
|
+
proto.DeleteTaxCodeResponse.prototype.getReferencesId = function() {
|
|
2532
2532
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2533
2533
|
};
|
|
2534
2534
|
|
|
2535
2535
|
|
|
2536
2536
|
/**
|
|
2537
2537
|
* @param {string} value
|
|
2538
|
-
* @return {!proto.
|
|
2538
|
+
* @return {!proto.DeleteTaxCodeResponse} returns this
|
|
2539
2539
|
*/
|
|
2540
|
-
proto.
|
|
2540
|
+
proto.DeleteTaxCodeResponse.prototype.setReferencesId = function(value) {
|
|
2541
2541
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2542
2542
|
};
|
|
2543
2543
|
|
|
@@ -2546,7 +2546,7 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeResponse.prototype.setReferencesId =
|
|
|
2546
2546
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2547
2547
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2548
2548
|
*/
|
|
2549
|
-
proto.
|
|
2549
|
+
proto.DeleteTaxCodeResponse.prototype.getMeta = function() {
|
|
2550
2550
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2551
2551
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2552
2552
|
};
|
|
@@ -2554,18 +2554,18 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeResponse.prototype.getMeta = function
|
|
|
2554
2554
|
|
|
2555
2555
|
/**
|
|
2556
2556
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2557
|
-
* @return {!proto.
|
|
2557
|
+
* @return {!proto.DeleteTaxCodeResponse} returns this
|
|
2558
2558
|
*/
|
|
2559
|
-
proto.
|
|
2559
|
+
proto.DeleteTaxCodeResponse.prototype.setMeta = function(value) {
|
|
2560
2560
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2561
2561
|
};
|
|
2562
2562
|
|
|
2563
2563
|
|
|
2564
2564
|
/**
|
|
2565
2565
|
* Clears the message field making it undefined.
|
|
2566
|
-
* @return {!proto.
|
|
2566
|
+
* @return {!proto.DeleteTaxCodeResponse} returns this
|
|
2567
2567
|
*/
|
|
2568
|
-
proto.
|
|
2568
|
+
proto.DeleteTaxCodeResponse.prototype.clearMeta = function() {
|
|
2569
2569
|
return this.setMeta(undefined);
|
|
2570
2570
|
};
|
|
2571
2571
|
|
|
@@ -2574,9 +2574,9 @@ proto.prisca.v1.core.tax_code.DeleteTaxCodeResponse.prototype.clearMeta = functi
|
|
|
2574
2574
|
* Returns whether this field is set.
|
|
2575
2575
|
* @return {boolean}
|
|
2576
2576
|
*/
|
|
2577
|
-
proto.
|
|
2577
|
+
proto.DeleteTaxCodeResponse.prototype.hasMeta = function() {
|
|
2578
2578
|
return jspb.Message.getField(this, 2) != null;
|
|
2579
2579
|
};
|
|
2580
2580
|
|
|
2581
2581
|
|
|
2582
|
-
goog.object.extend(exports, proto
|
|
2582
|
+
goog.object.extend(exports, proto);
|