@aldiokta/protocgen 1.1.9 → 1.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,39 +37,16 @@ var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core
|
|
|
37
37
|
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
38
38
|
var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
|
|
39
39
|
goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_pb);
|
|
40
|
+
var prisca_v1_bidding_bidding_pb = require('../../../prisca/v1/bidding/bidding_pb.js');
|
|
41
|
+
goog.object.extend(proto, prisca_v1_bidding_bidding_pb);
|
|
40
42
|
goog.exportSymbol('proto.BaseQuotationRequest', null, global);
|
|
41
43
|
goog.exportSymbol('proto.GetListQuotationRequest', null, global);
|
|
42
44
|
goog.exportSymbol('proto.GetListQuotationResponse', null, global);
|
|
43
45
|
goog.exportSymbol('proto.GetQuotationByIdRequest', null, global);
|
|
44
46
|
goog.exportSymbol('proto.GetQuotationByIdResponse', null, global);
|
|
45
47
|
goog.exportSymbol('proto.GetQuotationDetailResponse', null, global);
|
|
46
|
-
goog.exportSymbol('proto.GetQuotationItemDetailPreload', null, global);
|
|
47
|
-
goog.exportSymbol('proto.GetQuotationItemPreload', null, global);
|
|
48
|
-
goog.exportSymbol('proto.GetQuotationVendorPreload', null, global);
|
|
49
|
-
goog.exportSymbol('proto.Quotation', null, global);
|
|
50
48
|
goog.exportSymbol('proto.UpdateQuotationRequest', null, global);
|
|
51
49
|
goog.exportSymbol('proto.UpdateQuotationResponse', null, global);
|
|
52
|
-
/**
|
|
53
|
-
* Generated by JsPbCodeGenerator.
|
|
54
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
55
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
56
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
57
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
58
|
-
* valid.
|
|
59
|
-
* @extends {jspb.Message}
|
|
60
|
-
* @constructor
|
|
61
|
-
*/
|
|
62
|
-
proto.Quotation = function(opt_data) {
|
|
63
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.Quotation.repeatedFields_, null);
|
|
64
|
-
};
|
|
65
|
-
goog.inherits(proto.Quotation, jspb.Message);
|
|
66
|
-
if (goog.DEBUG && !COMPILED) {
|
|
67
|
-
/**
|
|
68
|
-
* @public
|
|
69
|
-
* @override
|
|
70
|
-
*/
|
|
71
|
-
proto.Quotation.displayName = 'proto.Quotation';
|
|
72
|
-
}
|
|
73
50
|
/**
|
|
74
51
|
* Generated by JsPbCodeGenerator.
|
|
75
52
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -196,69 +173,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
196
173
|
*/
|
|
197
174
|
proto.GetQuotationDetailResponse.displayName = 'proto.GetQuotationDetailResponse';
|
|
198
175
|
}
|
|
199
|
-
/**
|
|
200
|
-
* Generated by JsPbCodeGenerator.
|
|
201
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
202
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
203
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
204
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
205
|
-
* valid.
|
|
206
|
-
* @extends {jspb.Message}
|
|
207
|
-
* @constructor
|
|
208
|
-
*/
|
|
209
|
-
proto.GetQuotationItemPreload = function(opt_data) {
|
|
210
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetQuotationItemPreload.repeatedFields_, null);
|
|
211
|
-
};
|
|
212
|
-
goog.inherits(proto.GetQuotationItemPreload, jspb.Message);
|
|
213
|
-
if (goog.DEBUG && !COMPILED) {
|
|
214
|
-
/**
|
|
215
|
-
* @public
|
|
216
|
-
* @override
|
|
217
|
-
*/
|
|
218
|
-
proto.GetQuotationItemPreload.displayName = 'proto.GetQuotationItemPreload';
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* Generated by JsPbCodeGenerator.
|
|
222
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
223
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
224
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
225
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
226
|
-
* valid.
|
|
227
|
-
* @extends {jspb.Message}
|
|
228
|
-
* @constructor
|
|
229
|
-
*/
|
|
230
|
-
proto.GetQuotationItemDetailPreload = function(opt_data) {
|
|
231
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetQuotationItemDetailPreload.repeatedFields_, null);
|
|
232
|
-
};
|
|
233
|
-
goog.inherits(proto.GetQuotationItemDetailPreload, jspb.Message);
|
|
234
|
-
if (goog.DEBUG && !COMPILED) {
|
|
235
|
-
/**
|
|
236
|
-
* @public
|
|
237
|
-
* @override
|
|
238
|
-
*/
|
|
239
|
-
proto.GetQuotationItemDetailPreload.displayName = 'proto.GetQuotationItemDetailPreload';
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Generated by JsPbCodeGenerator.
|
|
243
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
244
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
245
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
246
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
247
|
-
* valid.
|
|
248
|
-
* @extends {jspb.Message}
|
|
249
|
-
* @constructor
|
|
250
|
-
*/
|
|
251
|
-
proto.GetQuotationVendorPreload = function(opt_data) {
|
|
252
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetQuotationVendorPreload.repeatedFields_, null);
|
|
253
|
-
};
|
|
254
|
-
goog.inherits(proto.GetQuotationVendorPreload, jspb.Message);
|
|
255
|
-
if (goog.DEBUG && !COMPILED) {
|
|
256
|
-
/**
|
|
257
|
-
* @public
|
|
258
|
-
* @override
|
|
259
|
-
*/
|
|
260
|
-
proto.GetQuotationVendorPreload.displayName = 'proto.GetQuotationVendorPreload';
|
|
261
|
-
}
|
|
262
176
|
/**
|
|
263
177
|
* Generated by JsPbCodeGenerator.
|
|
264
178
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -307,7 +221,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
307
221
|
* @private {!Array<number>}
|
|
308
222
|
* @const
|
|
309
223
|
*/
|
|
310
|
-
proto.
|
|
224
|
+
proto.BaseQuotationRequest.repeatedFields_ = [20];
|
|
311
225
|
|
|
312
226
|
|
|
313
227
|
|
|
@@ -324,8 +238,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
324
238
|
* http://goto/soy-param-migration
|
|
325
239
|
* @return {!Object}
|
|
326
240
|
*/
|
|
327
|
-
proto.
|
|
328
|
-
return proto.
|
|
241
|
+
proto.BaseQuotationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
242
|
+
return proto.BaseQuotationRequest.toObject(opt_includeInstance, this);
|
|
329
243
|
};
|
|
330
244
|
|
|
331
245
|
|
|
@@ -334,42 +248,34 @@ proto.Quotation.prototype.toObject = function(opt_includeInstance) {
|
|
|
334
248
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
335
249
|
* the JSPB instance for transitional soy proto support:
|
|
336
250
|
* http://goto/soy-param-migration
|
|
337
|
-
* @param {!proto.
|
|
251
|
+
* @param {!proto.BaseQuotationRequest} msg The msg instance to transform.
|
|
338
252
|
* @return {!Object}
|
|
339
253
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
340
254
|
*/
|
|
341
|
-
proto.
|
|
255
|
+
proto.BaseQuotationRequest.toObject = function(includeInstance, msg) {
|
|
342
256
|
var f, obj = {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
363
|
-
createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
364
|
-
updatedBy: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
365
|
-
createdAt: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
366
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
257
|
+
description: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
258
|
+
detail: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
259
|
+
prQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
260
|
+
remainingQuantityPo: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
261
|
+
replacement: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
262
|
+
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
263
|
+
price: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
264
|
+
vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
265
|
+
biddingReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
266
|
+
termOfPayment: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
267
|
+
deliveryDate: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
268
|
+
deliveryPoint: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
269
|
+
vendorSource: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
270
|
+
setWinner: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
271
|
+
notesForVendor: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
272
|
+
termOfCondition: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
273
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
274
|
+
plant: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
275
|
+
department: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
367
276
|
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
368
277
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
|
|
369
|
-
|
|
370
|
-
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
371
|
-
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
372
|
-
visible: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
|
|
278
|
+
visible: jspb.Message.getBooleanFieldWithDefault(msg, 21, false)
|
|
373
279
|
};
|
|
374
280
|
|
|
375
281
|
if (includeInstance) {
|
|
@@ -383,23 +289,23 @@ visible: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
|
|
|
383
289
|
/**
|
|
384
290
|
* Deserializes binary data (in protobuf wire format).
|
|
385
291
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
386
|
-
* @return {!proto.
|
|
292
|
+
* @return {!proto.BaseQuotationRequest}
|
|
387
293
|
*/
|
|
388
|
-
proto.
|
|
294
|
+
proto.BaseQuotationRequest.deserializeBinary = function(bytes) {
|
|
389
295
|
var reader = new jspb.BinaryReader(bytes);
|
|
390
|
-
var msg = new proto.
|
|
391
|
-
return proto.
|
|
296
|
+
var msg = new proto.BaseQuotationRequest;
|
|
297
|
+
return proto.BaseQuotationRequest.deserializeBinaryFromReader(msg, reader);
|
|
392
298
|
};
|
|
393
299
|
|
|
394
300
|
|
|
395
301
|
/**
|
|
396
302
|
* Deserializes binary data (in protobuf wire format) from the
|
|
397
303
|
* given reader into the given message object.
|
|
398
|
-
* @param {!proto.
|
|
304
|
+
* @param {!proto.BaseQuotationRequest} msg The message object to deserialize into.
|
|
399
305
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
400
|
-
* @return {!proto.
|
|
306
|
+
* @return {!proto.BaseQuotationRequest}
|
|
401
307
|
*/
|
|
402
|
-
proto.
|
|
308
|
+
proto.BaseQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
403
309
|
while (reader.nextField()) {
|
|
404
310
|
if (reader.isEndGroup()) {
|
|
405
311
|
break;
|
|
@@ -407,122 +313,87 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
407
313
|
var field = reader.getFieldNumber();
|
|
408
314
|
switch (field) {
|
|
409
315
|
case 1:
|
|
410
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
411
|
-
msg.setId(value);
|
|
412
|
-
break;
|
|
413
|
-
case 2:
|
|
414
316
|
var value = /** @type {string} */ (reader.readString());
|
|
415
317
|
msg.setDescription(value);
|
|
416
318
|
break;
|
|
417
|
-
case
|
|
319
|
+
case 2:
|
|
418
320
|
var value = /** @type {string} */ (reader.readString());
|
|
419
321
|
msg.setDetail(value);
|
|
420
322
|
break;
|
|
421
|
-
case
|
|
323
|
+
case 3:
|
|
422
324
|
var value = /** @type {number} */ (reader.readFloat());
|
|
423
325
|
msg.setPrQuantity(value);
|
|
424
326
|
break;
|
|
425
|
-
case
|
|
327
|
+
case 4:
|
|
426
328
|
var value = /** @type {number} */ (reader.readFloat());
|
|
427
329
|
msg.setRemainingQuantityPo(value);
|
|
428
330
|
break;
|
|
429
|
-
case
|
|
331
|
+
case 5:
|
|
430
332
|
var value = /** @type {string} */ (reader.readString());
|
|
431
333
|
msg.setReplacement(value);
|
|
432
334
|
break;
|
|
433
|
-
case
|
|
335
|
+
case 6:
|
|
434
336
|
var value = /** @type {number} */ (reader.readFloat());
|
|
435
337
|
msg.setQuantity(value);
|
|
436
338
|
break;
|
|
437
|
-
case
|
|
339
|
+
case 7:
|
|
438
340
|
var value = /** @type {number} */ (reader.readFloat());
|
|
439
341
|
msg.setPrice(value);
|
|
440
342
|
break;
|
|
441
|
-
case
|
|
343
|
+
case 8:
|
|
442
344
|
var value = /** @type {string} */ (reader.readString());
|
|
443
345
|
msg.setVendorReferencesId(value);
|
|
444
346
|
break;
|
|
445
|
-
case
|
|
347
|
+
case 9:
|
|
446
348
|
var value = /** @type {string} */ (reader.readString());
|
|
447
349
|
msg.setBiddingReferencesId(value);
|
|
448
350
|
break;
|
|
449
|
-
case
|
|
450
|
-
var value = /** @type {string} */ (reader.readString());
|
|
451
|
-
msg.setQuotationNumber(value);
|
|
452
|
-
break;
|
|
453
|
-
case 12:
|
|
351
|
+
case 10:
|
|
454
352
|
var value = /** @type {string} */ (reader.readString());
|
|
455
353
|
msg.setTermOfPayment(value);
|
|
456
354
|
break;
|
|
457
|
-
case
|
|
355
|
+
case 11:
|
|
458
356
|
var value = /** @type {string} */ (reader.readString());
|
|
459
357
|
msg.setDeliveryDate(value);
|
|
460
358
|
break;
|
|
461
|
-
case
|
|
359
|
+
case 12:
|
|
462
360
|
var value = /** @type {string} */ (reader.readString());
|
|
463
361
|
msg.setDeliveryPoint(value);
|
|
464
362
|
break;
|
|
465
|
-
case
|
|
363
|
+
case 13:
|
|
466
364
|
var value = /** @type {string} */ (reader.readString());
|
|
467
365
|
msg.setVendorSource(value);
|
|
468
366
|
break;
|
|
469
|
-
case
|
|
367
|
+
case 14:
|
|
470
368
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
471
369
|
msg.setSetWinner(value);
|
|
472
370
|
break;
|
|
473
|
-
case
|
|
371
|
+
case 15:
|
|
474
372
|
var value = /** @type {string} */ (reader.readString());
|
|
475
373
|
msg.setNotesForVendor(value);
|
|
476
374
|
break;
|
|
477
|
-
case
|
|
375
|
+
case 16:
|
|
478
376
|
var value = /** @type {string} */ (reader.readString());
|
|
479
377
|
msg.setTermOfCondition(value);
|
|
480
378
|
break;
|
|
481
|
-
case
|
|
379
|
+
case 17:
|
|
482
380
|
var value = /** @type {string} */ (reader.readString());
|
|
483
381
|
msg.setCustomTransaction(value);
|
|
484
382
|
break;
|
|
485
|
-
case
|
|
486
|
-
var value = /** @type {string} */ (reader.readString());
|
|
487
|
-
msg.setReferencesId(value);
|
|
488
|
-
break;
|
|
489
|
-
case 21:
|
|
490
|
-
var value = /** @type {string} */ (reader.readString());
|
|
491
|
-
msg.setCreatedBy(value);
|
|
492
|
-
break;
|
|
493
|
-
case 22:
|
|
494
|
-
var value = /** @type {string} */ (reader.readString());
|
|
495
|
-
msg.setUpdatedBy(value);
|
|
496
|
-
break;
|
|
497
|
-
case 23:
|
|
383
|
+
case 18:
|
|
498
384
|
var value = /** @type {string} */ (reader.readString());
|
|
499
|
-
msg.
|
|
385
|
+
msg.setPlant(value);
|
|
500
386
|
break;
|
|
501
|
-
case
|
|
387
|
+
case 19:
|
|
502
388
|
var value = /** @type {string} */ (reader.readString());
|
|
503
|
-
msg.
|
|
389
|
+
msg.setDepartment(value);
|
|
504
390
|
break;
|
|
505
|
-
case
|
|
391
|
+
case 20:
|
|
506
392
|
var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
|
|
507
393
|
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
|
|
508
394
|
msg.addItemTransactions(value);
|
|
509
395
|
break;
|
|
510
|
-
case
|
|
511
|
-
var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
|
|
512
|
-
reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
|
|
513
|
-
msg.setVendor(value);
|
|
514
|
-
break;
|
|
515
|
-
case 27:
|
|
516
|
-
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
517
|
-
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
518
|
-
msg.setCreatedByEmployee(value);
|
|
519
|
-
break;
|
|
520
|
-
case 28:
|
|
521
|
-
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
522
|
-
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
523
|
-
msg.setUpdatedByEmployee(value);
|
|
524
|
-
break;
|
|
525
|
-
case 29:
|
|
396
|
+
case 21:
|
|
526
397
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
527
398
|
msg.setVisible(value);
|
|
528
399
|
break;
|
|
@@ -539,9 +410,9 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
539
410
|
* Serializes the message to binary data (in protobuf wire format).
|
|
540
411
|
* @return {!Uint8Array}
|
|
541
412
|
*/
|
|
542
|
-
proto.
|
|
413
|
+
proto.BaseQuotationRequest.prototype.serializeBinary = function() {
|
|
543
414
|
var writer = new jspb.BinaryWriter();
|
|
544
|
-
proto.
|
|
415
|
+
proto.BaseQuotationRequest.serializeBinaryToWriter(this, writer);
|
|
545
416
|
return writer.getResultBuffer();
|
|
546
417
|
};
|
|
547
418
|
|
|
@@ -549,216 +420,157 @@ proto.Quotation.prototype.serializeBinary = function() {
|
|
|
549
420
|
/**
|
|
550
421
|
* Serializes the given message to binary data (in protobuf wire
|
|
551
422
|
* format), writing to the given BinaryWriter.
|
|
552
|
-
* @param {!proto.
|
|
423
|
+
* @param {!proto.BaseQuotationRequest} message
|
|
553
424
|
* @param {!jspb.BinaryWriter} writer
|
|
554
425
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
555
426
|
*/
|
|
556
|
-
proto.
|
|
427
|
+
proto.BaseQuotationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
557
428
|
var f = undefined;
|
|
558
|
-
f = message.getId();
|
|
559
|
-
if (f !== 0) {
|
|
560
|
-
writer.writeInt64(
|
|
561
|
-
1,
|
|
562
|
-
f
|
|
563
|
-
);
|
|
564
|
-
}
|
|
565
429
|
f = message.getDescription();
|
|
566
430
|
if (f.length > 0) {
|
|
567
431
|
writer.writeString(
|
|
568
|
-
|
|
432
|
+
1,
|
|
569
433
|
f
|
|
570
434
|
);
|
|
571
435
|
}
|
|
572
436
|
f = message.getDetail();
|
|
573
437
|
if (f.length > 0) {
|
|
574
438
|
writer.writeString(
|
|
575
|
-
|
|
439
|
+
2,
|
|
576
440
|
f
|
|
577
441
|
);
|
|
578
442
|
}
|
|
579
443
|
f = message.getPrQuantity();
|
|
580
444
|
if (f !== 0.0) {
|
|
581
445
|
writer.writeFloat(
|
|
582
|
-
|
|
446
|
+
3,
|
|
583
447
|
f
|
|
584
448
|
);
|
|
585
449
|
}
|
|
586
450
|
f = message.getRemainingQuantityPo();
|
|
587
451
|
if (f !== 0.0) {
|
|
588
452
|
writer.writeFloat(
|
|
589
|
-
|
|
453
|
+
4,
|
|
590
454
|
f
|
|
591
455
|
);
|
|
592
456
|
}
|
|
593
457
|
f = message.getReplacement();
|
|
594
458
|
if (f.length > 0) {
|
|
595
459
|
writer.writeString(
|
|
596
|
-
|
|
460
|
+
5,
|
|
597
461
|
f
|
|
598
462
|
);
|
|
599
463
|
}
|
|
600
464
|
f = message.getQuantity();
|
|
601
465
|
if (f !== 0.0) {
|
|
602
466
|
writer.writeFloat(
|
|
603
|
-
|
|
467
|
+
6,
|
|
604
468
|
f
|
|
605
469
|
);
|
|
606
470
|
}
|
|
607
471
|
f = message.getPrice();
|
|
608
472
|
if (f !== 0.0) {
|
|
609
473
|
writer.writeFloat(
|
|
610
|
-
|
|
474
|
+
7,
|
|
611
475
|
f
|
|
612
476
|
);
|
|
613
477
|
}
|
|
614
478
|
f = message.getVendorReferencesId();
|
|
615
479
|
if (f.length > 0) {
|
|
616
480
|
writer.writeString(
|
|
617
|
-
|
|
481
|
+
8,
|
|
618
482
|
f
|
|
619
483
|
);
|
|
620
484
|
}
|
|
621
485
|
f = message.getBiddingReferencesId();
|
|
622
486
|
if (f.length > 0) {
|
|
623
487
|
writer.writeString(
|
|
624
|
-
|
|
625
|
-
f
|
|
626
|
-
);
|
|
627
|
-
}
|
|
628
|
-
f = message.getQuotationNumber();
|
|
629
|
-
if (f.length > 0) {
|
|
630
|
-
writer.writeString(
|
|
631
|
-
11,
|
|
488
|
+
9,
|
|
632
489
|
f
|
|
633
490
|
);
|
|
634
491
|
}
|
|
635
492
|
f = message.getTermOfPayment();
|
|
636
493
|
if (f.length > 0) {
|
|
637
494
|
writer.writeString(
|
|
638
|
-
|
|
495
|
+
10,
|
|
639
496
|
f
|
|
640
497
|
);
|
|
641
498
|
}
|
|
642
499
|
f = message.getDeliveryDate();
|
|
643
500
|
if (f.length > 0) {
|
|
644
501
|
writer.writeString(
|
|
645
|
-
|
|
502
|
+
11,
|
|
646
503
|
f
|
|
647
504
|
);
|
|
648
505
|
}
|
|
649
506
|
f = message.getDeliveryPoint();
|
|
650
507
|
if (f.length > 0) {
|
|
651
508
|
writer.writeString(
|
|
652
|
-
|
|
509
|
+
12,
|
|
653
510
|
f
|
|
654
511
|
);
|
|
655
512
|
}
|
|
656
513
|
f = message.getVendorSource();
|
|
657
514
|
if (f.length > 0) {
|
|
658
515
|
writer.writeString(
|
|
659
|
-
|
|
516
|
+
13,
|
|
660
517
|
f
|
|
661
518
|
);
|
|
662
519
|
}
|
|
663
520
|
f = message.getSetWinner();
|
|
664
521
|
if (f) {
|
|
665
522
|
writer.writeBool(
|
|
666
|
-
|
|
523
|
+
14,
|
|
667
524
|
f
|
|
668
525
|
);
|
|
669
526
|
}
|
|
670
527
|
f = message.getNotesForVendor();
|
|
671
528
|
if (f.length > 0) {
|
|
672
529
|
writer.writeString(
|
|
673
|
-
|
|
530
|
+
15,
|
|
674
531
|
f
|
|
675
532
|
);
|
|
676
533
|
}
|
|
677
534
|
f = message.getTermOfCondition();
|
|
678
535
|
if (f.length > 0) {
|
|
679
536
|
writer.writeString(
|
|
680
|
-
|
|
537
|
+
16,
|
|
681
538
|
f
|
|
682
539
|
);
|
|
683
540
|
}
|
|
684
541
|
f = message.getCustomTransaction();
|
|
685
542
|
if (f.length > 0) {
|
|
686
543
|
writer.writeString(
|
|
687
|
-
|
|
688
|
-
f
|
|
689
|
-
);
|
|
690
|
-
}
|
|
691
|
-
f = message.getReferencesId();
|
|
692
|
-
if (f.length > 0) {
|
|
693
|
-
writer.writeString(
|
|
694
|
-
20,
|
|
695
|
-
f
|
|
696
|
-
);
|
|
697
|
-
}
|
|
698
|
-
f = message.getCreatedBy();
|
|
699
|
-
if (f.length > 0) {
|
|
700
|
-
writer.writeString(
|
|
701
|
-
21,
|
|
702
|
-
f
|
|
703
|
-
);
|
|
704
|
-
}
|
|
705
|
-
f = message.getUpdatedBy();
|
|
706
|
-
if (f.length > 0) {
|
|
707
|
-
writer.writeString(
|
|
708
|
-
22,
|
|
544
|
+
17,
|
|
709
545
|
f
|
|
710
546
|
);
|
|
711
547
|
}
|
|
712
|
-
f = message.
|
|
548
|
+
f = message.getPlant();
|
|
713
549
|
if (f.length > 0) {
|
|
714
550
|
writer.writeString(
|
|
715
|
-
|
|
551
|
+
18,
|
|
716
552
|
f
|
|
717
553
|
);
|
|
718
554
|
}
|
|
719
|
-
f = message.
|
|
555
|
+
f = message.getDepartment();
|
|
720
556
|
if (f.length > 0) {
|
|
721
557
|
writer.writeString(
|
|
722
|
-
|
|
558
|
+
19,
|
|
723
559
|
f
|
|
724
560
|
);
|
|
725
561
|
}
|
|
726
562
|
f = message.getItemTransactionsList();
|
|
727
563
|
if (f.length > 0) {
|
|
728
564
|
writer.writeRepeatedMessage(
|
|
729
|
-
|
|
565
|
+
20,
|
|
730
566
|
f,
|
|
731
567
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
|
|
732
568
|
);
|
|
733
569
|
}
|
|
734
|
-
f = message.getVendor();
|
|
735
|
-
if (f != null) {
|
|
736
|
-
writer.writeMessage(
|
|
737
|
-
26,
|
|
738
|
-
f,
|
|
739
|
-
prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
|
|
740
|
-
);
|
|
741
|
-
}
|
|
742
|
-
f = message.getCreatedByEmployee();
|
|
743
|
-
if (f != null) {
|
|
744
|
-
writer.writeMessage(
|
|
745
|
-
27,
|
|
746
|
-
f,
|
|
747
|
-
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
748
|
-
);
|
|
749
|
-
}
|
|
750
|
-
f = message.getUpdatedByEmployee();
|
|
751
|
-
if (f != null) {
|
|
752
|
-
writer.writeMessage(
|
|
753
|
-
28,
|
|
754
|
-
f,
|
|
755
|
-
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
756
|
-
);
|
|
757
|
-
}
|
|
758
570
|
f = message.getVisible();
|
|
759
571
|
if (f) {
|
|
760
572
|
writer.writeBool(
|
|
761
|
-
|
|
573
|
+
21,
|
|
762
574
|
f
|
|
763
575
|
);
|
|
764
576
|
}
|
|
@@ -766,2056 +578,533 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
766
578
|
|
|
767
579
|
|
|
768
580
|
/**
|
|
769
|
-
* optional
|
|
770
|
-
* @return {
|
|
581
|
+
* optional string description = 1;
|
|
582
|
+
* @return {string}
|
|
771
583
|
*/
|
|
772
|
-
proto.
|
|
773
|
-
return /** @type {
|
|
584
|
+
proto.BaseQuotationRequest.prototype.getDescription = function() {
|
|
585
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
774
586
|
};
|
|
775
587
|
|
|
776
588
|
|
|
777
589
|
/**
|
|
778
|
-
* @param {
|
|
779
|
-
* @return {!proto.
|
|
590
|
+
* @param {string} value
|
|
591
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
780
592
|
*/
|
|
781
|
-
proto.
|
|
782
|
-
return jspb.Message.
|
|
593
|
+
proto.BaseQuotationRequest.prototype.setDescription = function(value) {
|
|
594
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
783
595
|
};
|
|
784
596
|
|
|
785
597
|
|
|
786
598
|
/**
|
|
787
|
-
* optional string
|
|
599
|
+
* optional string detail = 2;
|
|
788
600
|
* @return {string}
|
|
789
601
|
*/
|
|
790
|
-
proto.
|
|
602
|
+
proto.BaseQuotationRequest.prototype.getDetail = function() {
|
|
791
603
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
792
604
|
};
|
|
793
605
|
|
|
794
606
|
|
|
795
607
|
/**
|
|
796
608
|
* @param {string} value
|
|
797
|
-
* @return {!proto.
|
|
609
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
798
610
|
*/
|
|
799
|
-
proto.
|
|
611
|
+
proto.BaseQuotationRequest.prototype.setDetail = function(value) {
|
|
800
612
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
801
613
|
};
|
|
802
614
|
|
|
803
615
|
|
|
804
616
|
/**
|
|
805
|
-
* optional
|
|
806
|
-
* @return {
|
|
617
|
+
* optional float pr_quantity = 3;
|
|
618
|
+
* @return {number}
|
|
807
619
|
*/
|
|
808
|
-
proto.
|
|
809
|
-
return /** @type {
|
|
620
|
+
proto.BaseQuotationRequest.prototype.getPrQuantity = function() {
|
|
621
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
810
622
|
};
|
|
811
623
|
|
|
812
624
|
|
|
813
625
|
/**
|
|
814
|
-
* @param {
|
|
815
|
-
* @return {!proto.
|
|
626
|
+
* @param {number} value
|
|
627
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
816
628
|
*/
|
|
817
|
-
proto.
|
|
818
|
-
return jspb.Message.
|
|
629
|
+
proto.BaseQuotationRequest.prototype.setPrQuantity = function(value) {
|
|
630
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
819
631
|
};
|
|
820
632
|
|
|
821
633
|
|
|
822
634
|
/**
|
|
823
|
-
* optional float
|
|
635
|
+
* optional float remaining_quantity_po = 4;
|
|
824
636
|
* @return {number}
|
|
825
637
|
*/
|
|
826
|
-
proto.
|
|
638
|
+
proto.BaseQuotationRequest.prototype.getRemainingQuantityPo = function() {
|
|
827
639
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
828
640
|
};
|
|
829
641
|
|
|
830
642
|
|
|
831
643
|
/**
|
|
832
644
|
* @param {number} value
|
|
833
|
-
* @return {!proto.
|
|
645
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
834
646
|
*/
|
|
835
|
-
proto.
|
|
647
|
+
proto.BaseQuotationRequest.prototype.setRemainingQuantityPo = function(value) {
|
|
836
648
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
837
649
|
};
|
|
838
650
|
|
|
839
651
|
|
|
840
652
|
/**
|
|
841
|
-
* optional
|
|
842
|
-
* @return {
|
|
653
|
+
* optional string replacement = 5;
|
|
654
|
+
* @return {string}
|
|
843
655
|
*/
|
|
844
|
-
proto.
|
|
845
|
-
return /** @type {
|
|
656
|
+
proto.BaseQuotationRequest.prototype.getReplacement = function() {
|
|
657
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
846
658
|
};
|
|
847
659
|
|
|
848
660
|
|
|
849
661
|
/**
|
|
850
|
-
* @param {
|
|
851
|
-
* @return {!proto.
|
|
662
|
+
* @param {string} value
|
|
663
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
852
664
|
*/
|
|
853
|
-
proto.
|
|
854
|
-
return jspb.Message.
|
|
665
|
+
proto.BaseQuotationRequest.prototype.setReplacement = function(value) {
|
|
666
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
855
667
|
};
|
|
856
668
|
|
|
857
669
|
|
|
858
670
|
/**
|
|
859
|
-
* optional
|
|
860
|
-
* @return {
|
|
671
|
+
* optional float quantity = 6;
|
|
672
|
+
* @return {number}
|
|
861
673
|
*/
|
|
862
|
-
proto.
|
|
863
|
-
return /** @type {
|
|
674
|
+
proto.BaseQuotationRequest.prototype.getQuantity = function() {
|
|
675
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
864
676
|
};
|
|
865
677
|
|
|
866
678
|
|
|
867
679
|
/**
|
|
868
|
-
* @param {
|
|
869
|
-
* @return {!proto.
|
|
680
|
+
* @param {number} value
|
|
681
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
870
682
|
*/
|
|
871
|
-
proto.
|
|
872
|
-
return jspb.Message.
|
|
683
|
+
proto.BaseQuotationRequest.prototype.setQuantity = function(value) {
|
|
684
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
873
685
|
};
|
|
874
686
|
|
|
875
687
|
|
|
876
688
|
/**
|
|
877
|
-
* optional float
|
|
689
|
+
* optional float price = 7;
|
|
878
690
|
* @return {number}
|
|
879
691
|
*/
|
|
880
|
-
proto.
|
|
692
|
+
proto.BaseQuotationRequest.prototype.getPrice = function() {
|
|
881
693
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
882
694
|
};
|
|
883
695
|
|
|
884
696
|
|
|
885
697
|
/**
|
|
886
698
|
* @param {number} value
|
|
887
|
-
* @return {!proto.
|
|
699
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
888
700
|
*/
|
|
889
|
-
proto.
|
|
701
|
+
proto.BaseQuotationRequest.prototype.setPrice = function(value) {
|
|
890
702
|
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
891
703
|
};
|
|
892
704
|
|
|
893
705
|
|
|
894
706
|
/**
|
|
895
|
-
* optional
|
|
896
|
-
* @return {
|
|
707
|
+
* optional string vendor_references_id = 8;
|
|
708
|
+
* @return {string}
|
|
897
709
|
*/
|
|
898
|
-
proto.
|
|
899
|
-
return /** @type {
|
|
710
|
+
proto.BaseQuotationRequest.prototype.getVendorReferencesId = function() {
|
|
711
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
900
712
|
};
|
|
901
713
|
|
|
902
714
|
|
|
903
715
|
/**
|
|
904
|
-
* @param {
|
|
905
|
-
* @return {!proto.
|
|
716
|
+
* @param {string} value
|
|
717
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
906
718
|
*/
|
|
907
|
-
proto.
|
|
908
|
-
return jspb.Message.
|
|
719
|
+
proto.BaseQuotationRequest.prototype.setVendorReferencesId = function(value) {
|
|
720
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
909
721
|
};
|
|
910
722
|
|
|
911
723
|
|
|
912
724
|
/**
|
|
913
|
-
* optional string
|
|
725
|
+
* optional string bidding_references_id = 9;
|
|
914
726
|
* @return {string}
|
|
915
727
|
*/
|
|
916
|
-
proto.
|
|
728
|
+
proto.BaseQuotationRequest.prototype.getBiddingReferencesId = function() {
|
|
917
729
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
918
730
|
};
|
|
919
731
|
|
|
920
732
|
|
|
921
733
|
/**
|
|
922
734
|
* @param {string} value
|
|
923
|
-
* @return {!proto.
|
|
735
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
924
736
|
*/
|
|
925
|
-
proto.
|
|
737
|
+
proto.BaseQuotationRequest.prototype.setBiddingReferencesId = function(value) {
|
|
926
738
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
927
739
|
};
|
|
928
740
|
|
|
929
741
|
|
|
930
742
|
/**
|
|
931
|
-
* optional string
|
|
743
|
+
* optional string term_of_payment = 10;
|
|
932
744
|
* @return {string}
|
|
933
745
|
*/
|
|
934
|
-
proto.
|
|
746
|
+
proto.BaseQuotationRequest.prototype.getTermOfPayment = function() {
|
|
935
747
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
936
748
|
};
|
|
937
749
|
|
|
938
750
|
|
|
939
751
|
/**
|
|
940
752
|
* @param {string} value
|
|
941
|
-
* @return {!proto.
|
|
753
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
942
754
|
*/
|
|
943
|
-
proto.
|
|
755
|
+
proto.BaseQuotationRequest.prototype.setTermOfPayment = function(value) {
|
|
944
756
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
945
757
|
};
|
|
946
758
|
|
|
947
759
|
|
|
948
760
|
/**
|
|
949
|
-
* optional string
|
|
761
|
+
* optional string delivery_date = 11;
|
|
950
762
|
* @return {string}
|
|
951
763
|
*/
|
|
952
|
-
proto.
|
|
764
|
+
proto.BaseQuotationRequest.prototype.getDeliveryDate = function() {
|
|
953
765
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
954
766
|
};
|
|
955
767
|
|
|
956
768
|
|
|
957
769
|
/**
|
|
958
770
|
* @param {string} value
|
|
959
|
-
* @return {!proto.
|
|
771
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
960
772
|
*/
|
|
961
|
-
proto.
|
|
773
|
+
proto.BaseQuotationRequest.prototype.setDeliveryDate = function(value) {
|
|
962
774
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
963
775
|
};
|
|
964
776
|
|
|
965
777
|
|
|
966
778
|
/**
|
|
967
|
-
* optional string
|
|
779
|
+
* optional string delivery_point = 12;
|
|
968
780
|
* @return {string}
|
|
969
781
|
*/
|
|
970
|
-
proto.
|
|
782
|
+
proto.BaseQuotationRequest.prototype.getDeliveryPoint = function() {
|
|
971
783
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
972
784
|
};
|
|
973
785
|
|
|
974
786
|
|
|
975
787
|
/**
|
|
976
788
|
* @param {string} value
|
|
977
|
-
* @return {!proto.
|
|
789
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
978
790
|
*/
|
|
979
|
-
proto.
|
|
791
|
+
proto.BaseQuotationRequest.prototype.setDeliveryPoint = function(value) {
|
|
980
792
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
981
793
|
};
|
|
982
794
|
|
|
983
795
|
|
|
984
796
|
/**
|
|
985
|
-
* optional string
|
|
797
|
+
* optional string vendor_source = 13;
|
|
986
798
|
* @return {string}
|
|
987
799
|
*/
|
|
988
|
-
proto.
|
|
800
|
+
proto.BaseQuotationRequest.prototype.getVendorSource = function() {
|
|
989
801
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
990
802
|
};
|
|
991
803
|
|
|
992
804
|
|
|
993
805
|
/**
|
|
994
806
|
* @param {string} value
|
|
995
|
-
* @return {!proto.
|
|
807
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
996
808
|
*/
|
|
997
|
-
proto.
|
|
809
|
+
proto.BaseQuotationRequest.prototype.setVendorSource = function(value) {
|
|
998
810
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
999
811
|
};
|
|
1000
812
|
|
|
1001
813
|
|
|
1002
814
|
/**
|
|
1003
|
-
* optional
|
|
1004
|
-
* @return {
|
|
815
|
+
* optional bool set_winner = 14;
|
|
816
|
+
* @return {boolean}
|
|
1005
817
|
*/
|
|
1006
|
-
proto.
|
|
1007
|
-
return /** @type {
|
|
818
|
+
proto.BaseQuotationRequest.prototype.getSetWinner = function() {
|
|
819
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
1008
820
|
};
|
|
1009
821
|
|
|
1010
822
|
|
|
1011
823
|
/**
|
|
1012
|
-
* @param {
|
|
1013
|
-
* @return {!proto.
|
|
824
|
+
* @param {boolean} value
|
|
825
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1014
826
|
*/
|
|
1015
|
-
proto.
|
|
1016
|
-
return jspb.Message.
|
|
827
|
+
proto.BaseQuotationRequest.prototype.setSetWinner = function(value) {
|
|
828
|
+
return jspb.Message.setProto3BooleanField(this, 14, value);
|
|
1017
829
|
};
|
|
1018
830
|
|
|
1019
831
|
|
|
1020
832
|
/**
|
|
1021
|
-
* optional string
|
|
833
|
+
* optional string notes_for_vendor = 15;
|
|
1022
834
|
* @return {string}
|
|
1023
835
|
*/
|
|
1024
|
-
proto.
|
|
836
|
+
proto.BaseQuotationRequest.prototype.getNotesForVendor = function() {
|
|
1025
837
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
1026
838
|
};
|
|
1027
839
|
|
|
1028
840
|
|
|
1029
841
|
/**
|
|
1030
842
|
* @param {string} value
|
|
1031
|
-
* @return {!proto.
|
|
843
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1032
844
|
*/
|
|
1033
|
-
proto.
|
|
845
|
+
proto.BaseQuotationRequest.prototype.setNotesForVendor = function(value) {
|
|
1034
846
|
return jspb.Message.setProto3StringField(this, 15, value);
|
|
1035
847
|
};
|
|
1036
848
|
|
|
1037
849
|
|
|
1038
850
|
/**
|
|
1039
|
-
* optional
|
|
1040
|
-
* @return {
|
|
851
|
+
* optional string term_of_condition = 16;
|
|
852
|
+
* @return {string}
|
|
1041
853
|
*/
|
|
1042
|
-
proto.
|
|
1043
|
-
return /** @type {
|
|
854
|
+
proto.BaseQuotationRequest.prototype.getTermOfCondition = function() {
|
|
855
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
1044
856
|
};
|
|
1045
857
|
|
|
1046
858
|
|
|
1047
859
|
/**
|
|
1048
|
-
* @param {
|
|
1049
|
-
* @return {!proto.
|
|
860
|
+
* @param {string} value
|
|
861
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1050
862
|
*/
|
|
1051
|
-
proto.
|
|
1052
|
-
return jspb.Message.
|
|
863
|
+
proto.BaseQuotationRequest.prototype.setTermOfCondition = function(value) {
|
|
864
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
1053
865
|
};
|
|
1054
866
|
|
|
1055
867
|
|
|
1056
868
|
/**
|
|
1057
|
-
* optional string
|
|
869
|
+
* optional string custom_transaction = 17;
|
|
1058
870
|
* @return {string}
|
|
1059
871
|
*/
|
|
1060
|
-
proto.
|
|
872
|
+
proto.BaseQuotationRequest.prototype.getCustomTransaction = function() {
|
|
1061
873
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
1062
874
|
};
|
|
1063
875
|
|
|
1064
876
|
|
|
1065
877
|
/**
|
|
1066
878
|
* @param {string} value
|
|
1067
|
-
* @return {!proto.
|
|
879
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1068
880
|
*/
|
|
1069
|
-
proto.
|
|
881
|
+
proto.BaseQuotationRequest.prototype.setCustomTransaction = function(value) {
|
|
1070
882
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
1071
883
|
};
|
|
1072
884
|
|
|
1073
885
|
|
|
1074
886
|
/**
|
|
1075
|
-
* optional string
|
|
887
|
+
* optional string plant = 18;
|
|
1076
888
|
* @return {string}
|
|
1077
889
|
*/
|
|
1078
|
-
proto.
|
|
890
|
+
proto.BaseQuotationRequest.prototype.getPlant = function() {
|
|
1079
891
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
1080
892
|
};
|
|
1081
893
|
|
|
1082
894
|
|
|
1083
895
|
/**
|
|
1084
896
|
* @param {string} value
|
|
1085
|
-
* @return {!proto.
|
|
897
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1086
898
|
*/
|
|
1087
|
-
proto.
|
|
899
|
+
proto.BaseQuotationRequest.prototype.setPlant = function(value) {
|
|
1088
900
|
return jspb.Message.setProto3StringField(this, 18, value);
|
|
1089
901
|
};
|
|
1090
902
|
|
|
1091
903
|
|
|
1092
904
|
/**
|
|
1093
|
-
* optional string
|
|
905
|
+
* optional string department = 19;
|
|
1094
906
|
* @return {string}
|
|
1095
907
|
*/
|
|
1096
|
-
proto.
|
|
908
|
+
proto.BaseQuotationRequest.prototype.getDepartment = function() {
|
|
1097
909
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
1098
910
|
};
|
|
1099
911
|
|
|
1100
912
|
|
|
1101
913
|
/**
|
|
1102
914
|
* @param {string} value
|
|
1103
|
-
* @return {!proto.
|
|
915
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1104
916
|
*/
|
|
1105
|
-
proto.
|
|
917
|
+
proto.BaseQuotationRequest.prototype.setDepartment = function(value) {
|
|
1106
918
|
return jspb.Message.setProto3StringField(this, 19, value);
|
|
1107
919
|
};
|
|
1108
920
|
|
|
1109
921
|
|
|
1110
922
|
/**
|
|
1111
|
-
*
|
|
1112
|
-
* @return {
|
|
1113
|
-
*/
|
|
1114
|
-
proto.Quotation.prototype.getReferencesId = function() {
|
|
1115
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
1116
|
-
};
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
/**
|
|
1120
|
-
* @param {string} value
|
|
1121
|
-
* @return {!proto.Quotation} returns this
|
|
923
|
+
* repeated ItemTransaction item_transactions = 20;
|
|
924
|
+
* @return {!Array<!proto.ItemTransaction>}
|
|
1122
925
|
*/
|
|
1123
|
-
proto.
|
|
1124
|
-
return
|
|
926
|
+
proto.BaseQuotationRequest.prototype.getItemTransactionsList = function() {
|
|
927
|
+
return /** @type{!Array<!proto.ItemTransaction>} */ (
|
|
928
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 20));
|
|
1125
929
|
};
|
|
1126
930
|
|
|
1127
931
|
|
|
1128
932
|
/**
|
|
1129
|
-
*
|
|
1130
|
-
* @return {
|
|
1131
|
-
|
|
1132
|
-
proto.
|
|
1133
|
-
return
|
|
933
|
+
* @param {!Array<!proto.ItemTransaction>} value
|
|
934
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
935
|
+
*/
|
|
936
|
+
proto.BaseQuotationRequest.prototype.setItemTransactionsList = function(value) {
|
|
937
|
+
return jspb.Message.setRepeatedWrapperField(this, 20, value);
|
|
1134
938
|
};
|
|
1135
939
|
|
|
1136
940
|
|
|
1137
941
|
/**
|
|
1138
|
-
* @param {
|
|
1139
|
-
* @
|
|
942
|
+
* @param {!proto.ItemTransaction=} opt_value
|
|
943
|
+
* @param {number=} opt_index
|
|
944
|
+
* @return {!proto.ItemTransaction}
|
|
1140
945
|
*/
|
|
1141
|
-
proto.
|
|
1142
|
-
return jspb.Message.
|
|
946
|
+
proto.BaseQuotationRequest.prototype.addItemTransactions = function(opt_value, opt_index) {
|
|
947
|
+
return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.ItemTransaction, opt_index);
|
|
1143
948
|
};
|
|
1144
949
|
|
|
1145
950
|
|
|
1146
951
|
/**
|
|
1147
|
-
*
|
|
1148
|
-
* @return {
|
|
952
|
+
* Clears the list making it empty but non-null.
|
|
953
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1149
954
|
*/
|
|
1150
|
-
proto.
|
|
1151
|
-
return
|
|
955
|
+
proto.BaseQuotationRequest.prototype.clearItemTransactionsList = function() {
|
|
956
|
+
return this.setItemTransactionsList([]);
|
|
1152
957
|
};
|
|
1153
958
|
|
|
1154
959
|
|
|
1155
960
|
/**
|
|
1156
|
-
*
|
|
1157
|
-
* @return {
|
|
961
|
+
* optional bool visible = 21;
|
|
962
|
+
* @return {boolean}
|
|
1158
963
|
*/
|
|
1159
|
-
proto.
|
|
1160
|
-
return jspb.Message.
|
|
964
|
+
proto.BaseQuotationRequest.prototype.getVisible = function() {
|
|
965
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
|
|
1161
966
|
};
|
|
1162
967
|
|
|
1163
968
|
|
|
1164
969
|
/**
|
|
1165
|
-
*
|
|
1166
|
-
* @return {
|
|
970
|
+
* @param {boolean} value
|
|
971
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1167
972
|
*/
|
|
1168
|
-
proto.
|
|
1169
|
-
return
|
|
973
|
+
proto.BaseQuotationRequest.prototype.setVisible = function(value) {
|
|
974
|
+
return jspb.Message.setProto3BooleanField(this, 21, value);
|
|
1170
975
|
};
|
|
1171
976
|
|
|
1172
977
|
|
|
1173
|
-
/**
|
|
1174
|
-
* @param {string} value
|
|
1175
|
-
* @return {!proto.Quotation} returns this
|
|
1176
|
-
*/
|
|
1177
|
-
proto.Quotation.prototype.setCreatedAt = function(value) {
|
|
1178
|
-
return jspb.Message.setProto3StringField(this, 23, value);
|
|
1179
|
-
};
|
|
1180
|
-
|
|
1181
978
|
|
|
1182
|
-
/**
|
|
1183
|
-
* optional string updated_at = 24;
|
|
1184
|
-
* @return {string}
|
|
1185
|
-
*/
|
|
1186
|
-
proto.Quotation.prototype.getUpdatedAt = function() {
|
|
1187
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
1188
|
-
};
|
|
1189
979
|
|
|
1190
980
|
|
|
981
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1191
982
|
/**
|
|
1192
|
-
*
|
|
1193
|
-
*
|
|
983
|
+
* Creates an object representation of this proto.
|
|
984
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
985
|
+
* Optional fields that are not set will be set to undefined.
|
|
986
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
987
|
+
* For the list of reserved names please see:
|
|
988
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
989
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
990
|
+
* JSPB instance for transitional soy proto support:
|
|
991
|
+
* http://goto/soy-param-migration
|
|
992
|
+
* @return {!Object}
|
|
1194
993
|
*/
|
|
1195
|
-
proto.
|
|
1196
|
-
return
|
|
994
|
+
proto.GetQuotationByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
995
|
+
return proto.GetQuotationByIdRequest.toObject(opt_includeInstance, this);
|
|
1197
996
|
};
|
|
1198
997
|
|
|
1199
998
|
|
|
1200
999
|
/**
|
|
1201
|
-
*
|
|
1202
|
-
* @
|
|
1000
|
+
* Static version of the {@see toObject} method.
|
|
1001
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1002
|
+
* the JSPB instance for transitional soy proto support:
|
|
1003
|
+
* http://goto/soy-param-migration
|
|
1004
|
+
* @param {!proto.GetQuotationByIdRequest} msg The msg instance to transform.
|
|
1005
|
+
* @return {!Object}
|
|
1006
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1203
1007
|
*/
|
|
1204
|
-
proto.
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
};
|
|
1208
|
-
|
|
1008
|
+
proto.GetQuotationByIdRequest.toObject = function(includeInstance, msg) {
|
|
1009
|
+
var f, obj = {
|
|
1010
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1011
|
+
};
|
|
1209
1012
|
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
proto.Quotation.prototype.setItemTransactionsList = function(value) {
|
|
1215
|
-
return jspb.Message.setRepeatedWrapperField(this, 25, value);
|
|
1013
|
+
if (includeInstance) {
|
|
1014
|
+
obj.$jspbMessageInstance = msg;
|
|
1015
|
+
}
|
|
1016
|
+
return obj;
|
|
1216
1017
|
};
|
|
1018
|
+
}
|
|
1217
1019
|
|
|
1218
1020
|
|
|
1219
1021
|
/**
|
|
1220
|
-
*
|
|
1221
|
-
* @param {
|
|
1222
|
-
* @return {!proto.
|
|
1022
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1023
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1024
|
+
* @return {!proto.GetQuotationByIdRequest}
|
|
1223
1025
|
*/
|
|
1224
|
-
proto.
|
|
1225
|
-
|
|
1026
|
+
proto.GetQuotationByIdRequest.deserializeBinary = function(bytes) {
|
|
1027
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1028
|
+
var msg = new proto.GetQuotationByIdRequest;
|
|
1029
|
+
return proto.GetQuotationByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
1226
1030
|
};
|
|
1227
1031
|
|
|
1228
1032
|
|
|
1229
1033
|
/**
|
|
1230
|
-
*
|
|
1231
|
-
*
|
|
1034
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1035
|
+
* given reader into the given message object.
|
|
1036
|
+
* @param {!proto.GetQuotationByIdRequest} msg The message object to deserialize into.
|
|
1037
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1038
|
+
* @return {!proto.GetQuotationByIdRequest}
|
|
1232
1039
|
*/
|
|
1233
|
-
proto.
|
|
1234
|
-
|
|
1040
|
+
proto.GetQuotationByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1041
|
+
while (reader.nextField()) {
|
|
1042
|
+
if (reader.isEndGroup()) {
|
|
1043
|
+
break;
|
|
1044
|
+
}
|
|
1045
|
+
var field = reader.getFieldNumber();
|
|
1046
|
+
switch (field) {
|
|
1047
|
+
case 1:
|
|
1048
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1049
|
+
msg.setReferencesId(value);
|
|
1050
|
+
break;
|
|
1051
|
+
default:
|
|
1052
|
+
reader.skipField();
|
|
1053
|
+
break;
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
return msg;
|
|
1235
1057
|
};
|
|
1236
1058
|
|
|
1237
1059
|
|
|
1238
1060
|
/**
|
|
1239
|
-
*
|
|
1240
|
-
* @return {
|
|
1061
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1062
|
+
* @return {!Uint8Array}
|
|
1241
1063
|
*/
|
|
1242
|
-
proto.
|
|
1243
|
-
|
|
1244
|
-
|
|
1064
|
+
proto.GetQuotationByIdRequest.prototype.serializeBinary = function() {
|
|
1065
|
+
var writer = new jspb.BinaryWriter();
|
|
1066
|
+
proto.GetQuotationByIdRequest.serializeBinaryToWriter(this, writer);
|
|
1067
|
+
return writer.getResultBuffer();
|
|
1245
1068
|
};
|
|
1246
1069
|
|
|
1247
1070
|
|
|
1248
1071
|
/**
|
|
1249
|
-
*
|
|
1250
|
-
*
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1072
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1073
|
+
* format), writing to the given BinaryWriter.
|
|
1074
|
+
* @param {!proto.GetQuotationByIdRequest} message
|
|
1075
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1076
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1077
|
+
*/
|
|
1078
|
+
proto.GetQuotationByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1079
|
+
var f = undefined;
|
|
1080
|
+
f = message.getReferencesId();
|
|
1081
|
+
if (f.length > 0) {
|
|
1082
|
+
writer.writeString(
|
|
1083
|
+
1,
|
|
1084
|
+
f
|
|
1085
|
+
);
|
|
1086
|
+
}
|
|
1254
1087
|
};
|
|
1255
1088
|
|
|
1256
1089
|
|
|
1257
1090
|
/**
|
|
1258
|
-
*
|
|
1259
|
-
* @return {
|
|
1091
|
+
* optional string references_id = 1;
|
|
1092
|
+
* @return {string}
|
|
1260
1093
|
*/
|
|
1261
|
-
proto.
|
|
1262
|
-
return
|
|
1094
|
+
proto.GetQuotationByIdRequest.prototype.getReferencesId = function() {
|
|
1095
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1263
1096
|
};
|
|
1264
1097
|
|
|
1265
1098
|
|
|
1266
1099
|
/**
|
|
1267
|
-
*
|
|
1268
|
-
* @return {
|
|
1100
|
+
* @param {string} value
|
|
1101
|
+
* @return {!proto.GetQuotationByIdRequest} returns this
|
|
1269
1102
|
*/
|
|
1270
|
-
proto.
|
|
1271
|
-
return jspb.Message.
|
|
1103
|
+
proto.GetQuotationByIdRequest.prototype.setReferencesId = function(value) {
|
|
1104
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1272
1105
|
};
|
|
1273
1106
|
|
|
1274
1107
|
|
|
1275
|
-
/**
|
|
1276
|
-
* optional Employee created_by_employee = 27;
|
|
1277
|
-
* @return {?proto.Employee}
|
|
1278
|
-
*/
|
|
1279
|
-
proto.Quotation.prototype.getCreatedByEmployee = function() {
|
|
1280
|
-
return /** @type{?proto.Employee} */ (
|
|
1281
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 27));
|
|
1282
|
-
};
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
/**
|
|
1286
|
-
* @param {?proto.Employee|undefined} value
|
|
1287
|
-
* @return {!proto.Quotation} returns this
|
|
1288
|
-
*/
|
|
1289
|
-
proto.Quotation.prototype.setCreatedByEmployee = function(value) {
|
|
1290
|
-
return jspb.Message.setWrapperField(this, 27, value);
|
|
1291
|
-
};
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* Clears the message field making it undefined.
|
|
1296
|
-
* @return {!proto.Quotation} returns this
|
|
1297
|
-
*/
|
|
1298
|
-
proto.Quotation.prototype.clearCreatedByEmployee = function() {
|
|
1299
|
-
return this.setCreatedByEmployee(undefined);
|
|
1300
|
-
};
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* Returns whether this field is set.
|
|
1305
|
-
* @return {boolean}
|
|
1306
|
-
*/
|
|
1307
|
-
proto.Quotation.prototype.hasCreatedByEmployee = function() {
|
|
1308
|
-
return jspb.Message.getField(this, 27) != null;
|
|
1309
|
-
};
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
/**
|
|
1313
|
-
* optional Employee updated_by_employee = 28;
|
|
1314
|
-
* @return {?proto.Employee}
|
|
1315
|
-
*/
|
|
1316
|
-
proto.Quotation.prototype.getUpdatedByEmployee = function() {
|
|
1317
|
-
return /** @type{?proto.Employee} */ (
|
|
1318
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 28));
|
|
1319
|
-
};
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
/**
|
|
1323
|
-
* @param {?proto.Employee|undefined} value
|
|
1324
|
-
* @return {!proto.Quotation} returns this
|
|
1325
|
-
*/
|
|
1326
|
-
proto.Quotation.prototype.setUpdatedByEmployee = function(value) {
|
|
1327
|
-
return jspb.Message.setWrapperField(this, 28, value);
|
|
1328
|
-
};
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
* Clears the message field making it undefined.
|
|
1333
|
-
* @return {!proto.Quotation} returns this
|
|
1334
|
-
*/
|
|
1335
|
-
proto.Quotation.prototype.clearUpdatedByEmployee = function() {
|
|
1336
|
-
return this.setUpdatedByEmployee(undefined);
|
|
1337
|
-
};
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
/**
|
|
1341
|
-
* Returns whether this field is set.
|
|
1342
|
-
* @return {boolean}
|
|
1343
|
-
*/
|
|
1344
|
-
proto.Quotation.prototype.hasUpdatedByEmployee = function() {
|
|
1345
|
-
return jspb.Message.getField(this, 28) != null;
|
|
1346
|
-
};
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* optional bool visible = 29;
|
|
1351
|
-
* @return {boolean}
|
|
1352
|
-
*/
|
|
1353
|
-
proto.Quotation.prototype.getVisible = function() {
|
|
1354
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 29, false));
|
|
1355
|
-
};
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
/**
|
|
1359
|
-
* @param {boolean} value
|
|
1360
|
-
* @return {!proto.Quotation} returns this
|
|
1361
|
-
*/
|
|
1362
|
-
proto.Quotation.prototype.setVisible = function(value) {
|
|
1363
|
-
return jspb.Message.setProto3BooleanField(this, 29, value);
|
|
1364
|
-
};
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
/**
|
|
1369
|
-
* List of repeated fields within this message type.
|
|
1370
|
-
* @private {!Array<number>}
|
|
1371
|
-
* @const
|
|
1372
|
-
*/
|
|
1373
|
-
proto.BaseQuotationRequest.repeatedFields_ = [20];
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1378
|
-
/**
|
|
1379
|
-
* Creates an object representation of this proto.
|
|
1380
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1381
|
-
* Optional fields that are not set will be set to undefined.
|
|
1382
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1383
|
-
* For the list of reserved names please see:
|
|
1384
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1385
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1386
|
-
* JSPB instance for transitional soy proto support:
|
|
1387
|
-
* http://goto/soy-param-migration
|
|
1388
|
-
* @return {!Object}
|
|
1389
|
-
*/
|
|
1390
|
-
proto.BaseQuotationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1391
|
-
return proto.BaseQuotationRequest.toObject(opt_includeInstance, this);
|
|
1392
|
-
};
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
1396
|
-
* Static version of the {@see toObject} method.
|
|
1397
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1398
|
-
* the JSPB instance for transitional soy proto support:
|
|
1399
|
-
* http://goto/soy-param-migration
|
|
1400
|
-
* @param {!proto.BaseQuotationRequest} msg The msg instance to transform.
|
|
1401
|
-
* @return {!Object}
|
|
1402
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1403
|
-
*/
|
|
1404
|
-
proto.BaseQuotationRequest.toObject = function(includeInstance, msg) {
|
|
1405
|
-
var f, obj = {
|
|
1406
|
-
description: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1407
|
-
detail: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1408
|
-
prQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
1409
|
-
remainingQuantityPo: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
1410
|
-
replacement: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1411
|
-
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
1412
|
-
price: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
1413
|
-
vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1414
|
-
biddingReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1415
|
-
termOfPayment: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1416
|
-
deliveryDate: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1417
|
-
deliveryPoint: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1418
|
-
vendorSource: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
1419
|
-
setWinner: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
1420
|
-
notesForVendor: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1421
|
-
termOfCondition: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
1422
|
-
customTransaction: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
1423
|
-
plant: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1424
|
-
department: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
1425
|
-
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
1426
|
-
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance)
|
|
1427
|
-
};
|
|
1428
|
-
|
|
1429
|
-
if (includeInstance) {
|
|
1430
|
-
obj.$jspbMessageInstance = msg;
|
|
1431
|
-
}
|
|
1432
|
-
return obj;
|
|
1433
|
-
};
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1439
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1440
|
-
* @return {!proto.BaseQuotationRequest}
|
|
1441
|
-
*/
|
|
1442
|
-
proto.BaseQuotationRequest.deserializeBinary = function(bytes) {
|
|
1443
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1444
|
-
var msg = new proto.BaseQuotationRequest;
|
|
1445
|
-
return proto.BaseQuotationRequest.deserializeBinaryFromReader(msg, reader);
|
|
1446
|
-
};
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
/**
|
|
1450
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1451
|
-
* given reader into the given message object.
|
|
1452
|
-
* @param {!proto.BaseQuotationRequest} msg The message object to deserialize into.
|
|
1453
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1454
|
-
* @return {!proto.BaseQuotationRequest}
|
|
1455
|
-
*/
|
|
1456
|
-
proto.BaseQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1457
|
-
while (reader.nextField()) {
|
|
1458
|
-
if (reader.isEndGroup()) {
|
|
1459
|
-
break;
|
|
1460
|
-
}
|
|
1461
|
-
var field = reader.getFieldNumber();
|
|
1462
|
-
switch (field) {
|
|
1463
|
-
case 1:
|
|
1464
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1465
|
-
msg.setDescription(value);
|
|
1466
|
-
break;
|
|
1467
|
-
case 2:
|
|
1468
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1469
|
-
msg.setDetail(value);
|
|
1470
|
-
break;
|
|
1471
|
-
case 3:
|
|
1472
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
1473
|
-
msg.setPrQuantity(value);
|
|
1474
|
-
break;
|
|
1475
|
-
case 4:
|
|
1476
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
1477
|
-
msg.setRemainingQuantityPo(value);
|
|
1478
|
-
break;
|
|
1479
|
-
case 5:
|
|
1480
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1481
|
-
msg.setReplacement(value);
|
|
1482
|
-
break;
|
|
1483
|
-
case 6:
|
|
1484
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
1485
|
-
msg.setQuantity(value);
|
|
1486
|
-
break;
|
|
1487
|
-
case 7:
|
|
1488
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
1489
|
-
msg.setPrice(value);
|
|
1490
|
-
break;
|
|
1491
|
-
case 8:
|
|
1492
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1493
|
-
msg.setVendorReferencesId(value);
|
|
1494
|
-
break;
|
|
1495
|
-
case 9:
|
|
1496
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1497
|
-
msg.setBiddingReferencesId(value);
|
|
1498
|
-
break;
|
|
1499
|
-
case 10:
|
|
1500
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1501
|
-
msg.setTermOfPayment(value);
|
|
1502
|
-
break;
|
|
1503
|
-
case 11:
|
|
1504
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1505
|
-
msg.setDeliveryDate(value);
|
|
1506
|
-
break;
|
|
1507
|
-
case 12:
|
|
1508
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1509
|
-
msg.setDeliveryPoint(value);
|
|
1510
|
-
break;
|
|
1511
|
-
case 13:
|
|
1512
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1513
|
-
msg.setVendorSource(value);
|
|
1514
|
-
break;
|
|
1515
|
-
case 14:
|
|
1516
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
1517
|
-
msg.setSetWinner(value);
|
|
1518
|
-
break;
|
|
1519
|
-
case 15:
|
|
1520
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1521
|
-
msg.setNotesForVendor(value);
|
|
1522
|
-
break;
|
|
1523
|
-
case 16:
|
|
1524
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1525
|
-
msg.setTermOfCondition(value);
|
|
1526
|
-
break;
|
|
1527
|
-
case 17:
|
|
1528
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1529
|
-
msg.setCustomTransaction(value);
|
|
1530
|
-
break;
|
|
1531
|
-
case 18:
|
|
1532
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1533
|
-
msg.setPlant(value);
|
|
1534
|
-
break;
|
|
1535
|
-
case 19:
|
|
1536
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1537
|
-
msg.setDepartment(value);
|
|
1538
|
-
break;
|
|
1539
|
-
case 20:
|
|
1540
|
-
var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
|
|
1541
|
-
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
|
|
1542
|
-
msg.addItemTransactions(value);
|
|
1543
|
-
break;
|
|
1544
|
-
default:
|
|
1545
|
-
reader.skipField();
|
|
1546
|
-
break;
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
return msg;
|
|
1550
|
-
};
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
/**
|
|
1554
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1555
|
-
* @return {!Uint8Array}
|
|
1556
|
-
*/
|
|
1557
|
-
proto.BaseQuotationRequest.prototype.serializeBinary = function() {
|
|
1558
|
-
var writer = new jspb.BinaryWriter();
|
|
1559
|
-
proto.BaseQuotationRequest.serializeBinaryToWriter(this, writer);
|
|
1560
|
-
return writer.getResultBuffer();
|
|
1561
|
-
};
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
/**
|
|
1565
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1566
|
-
* format), writing to the given BinaryWriter.
|
|
1567
|
-
* @param {!proto.BaseQuotationRequest} message
|
|
1568
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1569
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1570
|
-
*/
|
|
1571
|
-
proto.BaseQuotationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1572
|
-
var f = undefined;
|
|
1573
|
-
f = message.getDescription();
|
|
1574
|
-
if (f.length > 0) {
|
|
1575
|
-
writer.writeString(
|
|
1576
|
-
1,
|
|
1577
|
-
f
|
|
1578
|
-
);
|
|
1579
|
-
}
|
|
1580
|
-
f = message.getDetail();
|
|
1581
|
-
if (f.length > 0) {
|
|
1582
|
-
writer.writeString(
|
|
1583
|
-
2,
|
|
1584
|
-
f
|
|
1585
|
-
);
|
|
1586
|
-
}
|
|
1587
|
-
f = message.getPrQuantity();
|
|
1588
|
-
if (f !== 0.0) {
|
|
1589
|
-
writer.writeFloat(
|
|
1590
|
-
3,
|
|
1591
|
-
f
|
|
1592
|
-
);
|
|
1593
|
-
}
|
|
1594
|
-
f = message.getRemainingQuantityPo();
|
|
1595
|
-
if (f !== 0.0) {
|
|
1596
|
-
writer.writeFloat(
|
|
1597
|
-
4,
|
|
1598
|
-
f
|
|
1599
|
-
);
|
|
1600
|
-
}
|
|
1601
|
-
f = message.getReplacement();
|
|
1602
|
-
if (f.length > 0) {
|
|
1603
|
-
writer.writeString(
|
|
1604
|
-
5,
|
|
1605
|
-
f
|
|
1606
|
-
);
|
|
1607
|
-
}
|
|
1608
|
-
f = message.getQuantity();
|
|
1609
|
-
if (f !== 0.0) {
|
|
1610
|
-
writer.writeFloat(
|
|
1611
|
-
6,
|
|
1612
|
-
f
|
|
1613
|
-
);
|
|
1614
|
-
}
|
|
1615
|
-
f = message.getPrice();
|
|
1616
|
-
if (f !== 0.0) {
|
|
1617
|
-
writer.writeFloat(
|
|
1618
|
-
7,
|
|
1619
|
-
f
|
|
1620
|
-
);
|
|
1621
|
-
}
|
|
1622
|
-
f = message.getVendorReferencesId();
|
|
1623
|
-
if (f.length > 0) {
|
|
1624
|
-
writer.writeString(
|
|
1625
|
-
8,
|
|
1626
|
-
f
|
|
1627
|
-
);
|
|
1628
|
-
}
|
|
1629
|
-
f = message.getBiddingReferencesId();
|
|
1630
|
-
if (f.length > 0) {
|
|
1631
|
-
writer.writeString(
|
|
1632
|
-
9,
|
|
1633
|
-
f
|
|
1634
|
-
);
|
|
1635
|
-
}
|
|
1636
|
-
f = message.getTermOfPayment();
|
|
1637
|
-
if (f.length > 0) {
|
|
1638
|
-
writer.writeString(
|
|
1639
|
-
10,
|
|
1640
|
-
f
|
|
1641
|
-
);
|
|
1642
|
-
}
|
|
1643
|
-
f = message.getDeliveryDate();
|
|
1644
|
-
if (f.length > 0) {
|
|
1645
|
-
writer.writeString(
|
|
1646
|
-
11,
|
|
1647
|
-
f
|
|
1648
|
-
);
|
|
1649
|
-
}
|
|
1650
|
-
f = message.getDeliveryPoint();
|
|
1651
|
-
if (f.length > 0) {
|
|
1652
|
-
writer.writeString(
|
|
1653
|
-
12,
|
|
1654
|
-
f
|
|
1655
|
-
);
|
|
1656
|
-
}
|
|
1657
|
-
f = message.getVendorSource();
|
|
1658
|
-
if (f.length > 0) {
|
|
1659
|
-
writer.writeString(
|
|
1660
|
-
13,
|
|
1661
|
-
f
|
|
1662
|
-
);
|
|
1663
|
-
}
|
|
1664
|
-
f = message.getSetWinner();
|
|
1665
|
-
if (f) {
|
|
1666
|
-
writer.writeBool(
|
|
1667
|
-
14,
|
|
1668
|
-
f
|
|
1669
|
-
);
|
|
1670
|
-
}
|
|
1671
|
-
f = message.getNotesForVendor();
|
|
1672
|
-
if (f.length > 0) {
|
|
1673
|
-
writer.writeString(
|
|
1674
|
-
15,
|
|
1675
|
-
f
|
|
1676
|
-
);
|
|
1677
|
-
}
|
|
1678
|
-
f = message.getTermOfCondition();
|
|
1679
|
-
if (f.length > 0) {
|
|
1680
|
-
writer.writeString(
|
|
1681
|
-
16,
|
|
1682
|
-
f
|
|
1683
|
-
);
|
|
1684
|
-
}
|
|
1685
|
-
f = message.getCustomTransaction();
|
|
1686
|
-
if (f.length > 0) {
|
|
1687
|
-
writer.writeString(
|
|
1688
|
-
17,
|
|
1689
|
-
f
|
|
1690
|
-
);
|
|
1691
|
-
}
|
|
1692
|
-
f = message.getPlant();
|
|
1693
|
-
if (f.length > 0) {
|
|
1694
|
-
writer.writeString(
|
|
1695
|
-
18,
|
|
1696
|
-
f
|
|
1697
|
-
);
|
|
1698
|
-
}
|
|
1699
|
-
f = message.getDepartment();
|
|
1700
|
-
if (f.length > 0) {
|
|
1701
|
-
writer.writeString(
|
|
1702
|
-
19,
|
|
1703
|
-
f
|
|
1704
|
-
);
|
|
1705
|
-
}
|
|
1706
|
-
f = message.getItemTransactionsList();
|
|
1707
|
-
if (f.length > 0) {
|
|
1708
|
-
writer.writeRepeatedMessage(
|
|
1709
|
-
20,
|
|
1710
|
-
f,
|
|
1711
|
-
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
|
|
1712
|
-
);
|
|
1713
|
-
}
|
|
1714
|
-
};
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
/**
|
|
1718
|
-
* optional string description = 1;
|
|
1719
|
-
* @return {string}
|
|
1720
|
-
*/
|
|
1721
|
-
proto.BaseQuotationRequest.prototype.getDescription = function() {
|
|
1722
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1723
|
-
};
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
/**
|
|
1727
|
-
* @param {string} value
|
|
1728
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1729
|
-
*/
|
|
1730
|
-
proto.BaseQuotationRequest.prototype.setDescription = function(value) {
|
|
1731
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1732
|
-
};
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* optional string detail = 2;
|
|
1737
|
-
* @return {string}
|
|
1738
|
-
*/
|
|
1739
|
-
proto.BaseQuotationRequest.prototype.getDetail = function() {
|
|
1740
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1741
|
-
};
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
/**
|
|
1745
|
-
* @param {string} value
|
|
1746
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1747
|
-
*/
|
|
1748
|
-
proto.BaseQuotationRequest.prototype.setDetail = function(value) {
|
|
1749
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1750
|
-
};
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
/**
|
|
1754
|
-
* optional float pr_quantity = 3;
|
|
1755
|
-
* @return {number}
|
|
1756
|
-
*/
|
|
1757
|
-
proto.BaseQuotationRequest.prototype.getPrQuantity = function() {
|
|
1758
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
1759
|
-
};
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
/**
|
|
1763
|
-
* @param {number} value
|
|
1764
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1765
|
-
*/
|
|
1766
|
-
proto.BaseQuotationRequest.prototype.setPrQuantity = function(value) {
|
|
1767
|
-
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
1768
|
-
};
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
/**
|
|
1772
|
-
* optional float remaining_quantity_po = 4;
|
|
1773
|
-
* @return {number}
|
|
1774
|
-
*/
|
|
1775
|
-
proto.BaseQuotationRequest.prototype.getRemainingQuantityPo = function() {
|
|
1776
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
1777
|
-
};
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
/**
|
|
1781
|
-
* @param {number} value
|
|
1782
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1783
|
-
*/
|
|
1784
|
-
proto.BaseQuotationRequest.prototype.setRemainingQuantityPo = function(value) {
|
|
1785
|
-
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
1786
|
-
};
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
/**
|
|
1790
|
-
* optional string replacement = 5;
|
|
1791
|
-
* @return {string}
|
|
1792
|
-
*/
|
|
1793
|
-
proto.BaseQuotationRequest.prototype.getReplacement = function() {
|
|
1794
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1795
|
-
};
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
/**
|
|
1799
|
-
* @param {string} value
|
|
1800
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1801
|
-
*/
|
|
1802
|
-
proto.BaseQuotationRequest.prototype.setReplacement = function(value) {
|
|
1803
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1804
|
-
};
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
/**
|
|
1808
|
-
* optional float quantity = 6;
|
|
1809
|
-
* @return {number}
|
|
1810
|
-
*/
|
|
1811
|
-
proto.BaseQuotationRequest.prototype.getQuantity = function() {
|
|
1812
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
1813
|
-
};
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
/**
|
|
1817
|
-
* @param {number} value
|
|
1818
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1819
|
-
*/
|
|
1820
|
-
proto.BaseQuotationRequest.prototype.setQuantity = function(value) {
|
|
1821
|
-
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
1822
|
-
};
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
/**
|
|
1826
|
-
* optional float price = 7;
|
|
1827
|
-
* @return {number}
|
|
1828
|
-
*/
|
|
1829
|
-
proto.BaseQuotationRequest.prototype.getPrice = function() {
|
|
1830
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
1831
|
-
};
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
/**
|
|
1835
|
-
* @param {number} value
|
|
1836
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1837
|
-
*/
|
|
1838
|
-
proto.BaseQuotationRequest.prototype.setPrice = function(value) {
|
|
1839
|
-
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
1840
|
-
};
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
/**
|
|
1844
|
-
* optional string vendor_references_id = 8;
|
|
1845
|
-
* @return {string}
|
|
1846
|
-
*/
|
|
1847
|
-
proto.BaseQuotationRequest.prototype.getVendorReferencesId = function() {
|
|
1848
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1849
|
-
};
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
/**
|
|
1853
|
-
* @param {string} value
|
|
1854
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1855
|
-
*/
|
|
1856
|
-
proto.BaseQuotationRequest.prototype.setVendorReferencesId = function(value) {
|
|
1857
|
-
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1858
|
-
};
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
/**
|
|
1862
|
-
* optional string bidding_references_id = 9;
|
|
1863
|
-
* @return {string}
|
|
1864
|
-
*/
|
|
1865
|
-
proto.BaseQuotationRequest.prototype.getBiddingReferencesId = function() {
|
|
1866
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1867
|
-
};
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
/**
|
|
1871
|
-
* @param {string} value
|
|
1872
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1873
|
-
*/
|
|
1874
|
-
proto.BaseQuotationRequest.prototype.setBiddingReferencesId = function(value) {
|
|
1875
|
-
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1876
|
-
};
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
/**
|
|
1880
|
-
* optional string term_of_payment = 10;
|
|
1881
|
-
* @return {string}
|
|
1882
|
-
*/
|
|
1883
|
-
proto.BaseQuotationRequest.prototype.getTermOfPayment = function() {
|
|
1884
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1885
|
-
};
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
* @param {string} value
|
|
1890
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1891
|
-
*/
|
|
1892
|
-
proto.BaseQuotationRequest.prototype.setTermOfPayment = function(value) {
|
|
1893
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1894
|
-
};
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
/**
|
|
1898
|
-
* optional string delivery_date = 11;
|
|
1899
|
-
* @return {string}
|
|
1900
|
-
*/
|
|
1901
|
-
proto.BaseQuotationRequest.prototype.getDeliveryDate = function() {
|
|
1902
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1903
|
-
};
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
/**
|
|
1907
|
-
* @param {string} value
|
|
1908
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1909
|
-
*/
|
|
1910
|
-
proto.BaseQuotationRequest.prototype.setDeliveryDate = function(value) {
|
|
1911
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1912
|
-
};
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
/**
|
|
1916
|
-
* optional string delivery_point = 12;
|
|
1917
|
-
* @return {string}
|
|
1918
|
-
*/
|
|
1919
|
-
proto.BaseQuotationRequest.prototype.getDeliveryPoint = function() {
|
|
1920
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1921
|
-
};
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
/**
|
|
1925
|
-
* @param {string} value
|
|
1926
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1927
|
-
*/
|
|
1928
|
-
proto.BaseQuotationRequest.prototype.setDeliveryPoint = function(value) {
|
|
1929
|
-
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1930
|
-
};
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
/**
|
|
1934
|
-
* optional string vendor_source = 13;
|
|
1935
|
-
* @return {string}
|
|
1936
|
-
*/
|
|
1937
|
-
proto.BaseQuotationRequest.prototype.getVendorSource = function() {
|
|
1938
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
1939
|
-
};
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
/**
|
|
1943
|
-
* @param {string} value
|
|
1944
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1945
|
-
*/
|
|
1946
|
-
proto.BaseQuotationRequest.prototype.setVendorSource = function(value) {
|
|
1947
|
-
return jspb.Message.setProto3StringField(this, 13, value);
|
|
1948
|
-
};
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
/**
|
|
1952
|
-
* optional bool set_winner = 14;
|
|
1953
|
-
* @return {boolean}
|
|
1954
|
-
*/
|
|
1955
|
-
proto.BaseQuotationRequest.prototype.getSetWinner = function() {
|
|
1956
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
1957
|
-
};
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
/**
|
|
1961
|
-
* @param {boolean} value
|
|
1962
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1963
|
-
*/
|
|
1964
|
-
proto.BaseQuotationRequest.prototype.setSetWinner = function(value) {
|
|
1965
|
-
return jspb.Message.setProto3BooleanField(this, 14, value);
|
|
1966
|
-
};
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
/**
|
|
1970
|
-
* optional string notes_for_vendor = 15;
|
|
1971
|
-
* @return {string}
|
|
1972
|
-
*/
|
|
1973
|
-
proto.BaseQuotationRequest.prototype.getNotesForVendor = function() {
|
|
1974
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
1975
|
-
};
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
/**
|
|
1979
|
-
* @param {string} value
|
|
1980
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1981
|
-
*/
|
|
1982
|
-
proto.BaseQuotationRequest.prototype.setNotesForVendor = function(value) {
|
|
1983
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
1984
|
-
};
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
/**
|
|
1988
|
-
* optional string term_of_condition = 16;
|
|
1989
|
-
* @return {string}
|
|
1990
|
-
*/
|
|
1991
|
-
proto.BaseQuotationRequest.prototype.getTermOfCondition = function() {
|
|
1992
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
1993
|
-
};
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
/**
|
|
1997
|
-
* @param {string} value
|
|
1998
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
1999
|
-
*/
|
|
2000
|
-
proto.BaseQuotationRequest.prototype.setTermOfCondition = function(value) {
|
|
2001
|
-
return jspb.Message.setProto3StringField(this, 16, value);
|
|
2002
|
-
};
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
/**
|
|
2006
|
-
* optional string custom_transaction = 17;
|
|
2007
|
-
* @return {string}
|
|
2008
|
-
*/
|
|
2009
|
-
proto.BaseQuotationRequest.prototype.getCustomTransaction = function() {
|
|
2010
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
2011
|
-
};
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
/**
|
|
2015
|
-
* @param {string} value
|
|
2016
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
2017
|
-
*/
|
|
2018
|
-
proto.BaseQuotationRequest.prototype.setCustomTransaction = function(value) {
|
|
2019
|
-
return jspb.Message.setProto3StringField(this, 17, value);
|
|
2020
|
-
};
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
/**
|
|
2024
|
-
* optional string plant = 18;
|
|
2025
|
-
* @return {string}
|
|
2026
|
-
*/
|
|
2027
|
-
proto.BaseQuotationRequest.prototype.getPlant = function() {
|
|
2028
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
2029
|
-
};
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
/**
|
|
2033
|
-
* @param {string} value
|
|
2034
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
2035
|
-
*/
|
|
2036
|
-
proto.BaseQuotationRequest.prototype.setPlant = function(value) {
|
|
2037
|
-
return jspb.Message.setProto3StringField(this, 18, value);
|
|
2038
|
-
};
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* optional string department = 19;
|
|
2043
|
-
* @return {string}
|
|
2044
|
-
*/
|
|
2045
|
-
proto.BaseQuotationRequest.prototype.getDepartment = function() {
|
|
2046
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
2047
|
-
};
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
/**
|
|
2051
|
-
* @param {string} value
|
|
2052
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
2053
|
-
*/
|
|
2054
|
-
proto.BaseQuotationRequest.prototype.setDepartment = function(value) {
|
|
2055
|
-
return jspb.Message.setProto3StringField(this, 19, value);
|
|
2056
|
-
};
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
/**
|
|
2060
|
-
* repeated ItemTransaction item_transactions = 20;
|
|
2061
|
-
* @return {!Array<!proto.ItemTransaction>}
|
|
2062
|
-
*/
|
|
2063
|
-
proto.BaseQuotationRequest.prototype.getItemTransactionsList = function() {
|
|
2064
|
-
return /** @type{!Array<!proto.ItemTransaction>} */ (
|
|
2065
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 20));
|
|
2066
|
-
};
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
/**
|
|
2070
|
-
* @param {!Array<!proto.ItemTransaction>} value
|
|
2071
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
2072
|
-
*/
|
|
2073
|
-
proto.BaseQuotationRequest.prototype.setItemTransactionsList = function(value) {
|
|
2074
|
-
return jspb.Message.setRepeatedWrapperField(this, 20, value);
|
|
2075
|
-
};
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
/**
|
|
2079
|
-
* @param {!proto.ItemTransaction=} opt_value
|
|
2080
|
-
* @param {number=} opt_index
|
|
2081
|
-
* @return {!proto.ItemTransaction}
|
|
2082
|
-
*/
|
|
2083
|
-
proto.BaseQuotationRequest.prototype.addItemTransactions = function(opt_value, opt_index) {
|
|
2084
|
-
return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.ItemTransaction, opt_index);
|
|
2085
|
-
};
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
/**
|
|
2089
|
-
* Clears the list making it empty but non-null.
|
|
2090
|
-
* @return {!proto.BaseQuotationRequest} returns this
|
|
2091
|
-
*/
|
|
2092
|
-
proto.BaseQuotationRequest.prototype.clearItemTransactionsList = function() {
|
|
2093
|
-
return this.setItemTransactionsList([]);
|
|
2094
|
-
};
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2101
|
-
/**
|
|
2102
|
-
* Creates an object representation of this proto.
|
|
2103
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2104
|
-
* Optional fields that are not set will be set to undefined.
|
|
2105
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2106
|
-
* For the list of reserved names please see:
|
|
2107
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2108
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2109
|
-
* JSPB instance for transitional soy proto support:
|
|
2110
|
-
* http://goto/soy-param-migration
|
|
2111
|
-
* @return {!Object}
|
|
2112
|
-
*/
|
|
2113
|
-
proto.GetQuotationByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2114
|
-
return proto.GetQuotationByIdRequest.toObject(opt_includeInstance, this);
|
|
2115
|
-
};
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
/**
|
|
2119
|
-
* Static version of the {@see toObject} method.
|
|
2120
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2121
|
-
* the JSPB instance for transitional soy proto support:
|
|
2122
|
-
* http://goto/soy-param-migration
|
|
2123
|
-
* @param {!proto.GetQuotationByIdRequest} msg The msg instance to transform.
|
|
2124
|
-
* @return {!Object}
|
|
2125
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2126
|
-
*/
|
|
2127
|
-
proto.GetQuotationByIdRequest.toObject = function(includeInstance, msg) {
|
|
2128
|
-
var f, obj = {
|
|
2129
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2130
|
-
};
|
|
2131
|
-
|
|
2132
|
-
if (includeInstance) {
|
|
2133
|
-
obj.$jspbMessageInstance = msg;
|
|
2134
|
-
}
|
|
2135
|
-
return obj;
|
|
2136
|
-
};
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
/**
|
|
2141
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2142
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2143
|
-
* @return {!proto.GetQuotationByIdRequest}
|
|
2144
|
-
*/
|
|
2145
|
-
proto.GetQuotationByIdRequest.deserializeBinary = function(bytes) {
|
|
2146
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2147
|
-
var msg = new proto.GetQuotationByIdRequest;
|
|
2148
|
-
return proto.GetQuotationByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2149
|
-
};
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
/**
|
|
2153
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2154
|
-
* given reader into the given message object.
|
|
2155
|
-
* @param {!proto.GetQuotationByIdRequest} msg The message object to deserialize into.
|
|
2156
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2157
|
-
* @return {!proto.GetQuotationByIdRequest}
|
|
2158
|
-
*/
|
|
2159
|
-
proto.GetQuotationByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2160
|
-
while (reader.nextField()) {
|
|
2161
|
-
if (reader.isEndGroup()) {
|
|
2162
|
-
break;
|
|
2163
|
-
}
|
|
2164
|
-
var field = reader.getFieldNumber();
|
|
2165
|
-
switch (field) {
|
|
2166
|
-
case 1:
|
|
2167
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2168
|
-
msg.setReferencesId(value);
|
|
2169
|
-
break;
|
|
2170
|
-
default:
|
|
2171
|
-
reader.skipField();
|
|
2172
|
-
break;
|
|
2173
|
-
}
|
|
2174
|
-
}
|
|
2175
|
-
return msg;
|
|
2176
|
-
};
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
/**
|
|
2180
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2181
|
-
* @return {!Uint8Array}
|
|
2182
|
-
*/
|
|
2183
|
-
proto.GetQuotationByIdRequest.prototype.serializeBinary = function() {
|
|
2184
|
-
var writer = new jspb.BinaryWriter();
|
|
2185
|
-
proto.GetQuotationByIdRequest.serializeBinaryToWriter(this, writer);
|
|
2186
|
-
return writer.getResultBuffer();
|
|
2187
|
-
};
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
/**
|
|
2191
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2192
|
-
* format), writing to the given BinaryWriter.
|
|
2193
|
-
* @param {!proto.GetQuotationByIdRequest} message
|
|
2194
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2195
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2196
|
-
*/
|
|
2197
|
-
proto.GetQuotationByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2198
|
-
var f = undefined;
|
|
2199
|
-
f = message.getReferencesId();
|
|
2200
|
-
if (f.length > 0) {
|
|
2201
|
-
writer.writeString(
|
|
2202
|
-
1,
|
|
2203
|
-
f
|
|
2204
|
-
);
|
|
2205
|
-
}
|
|
2206
|
-
};
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
/**
|
|
2210
|
-
* optional string references_id = 1;
|
|
2211
|
-
* @return {string}
|
|
2212
|
-
*/
|
|
2213
|
-
proto.GetQuotationByIdRequest.prototype.getReferencesId = function() {
|
|
2214
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2215
|
-
};
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
/**
|
|
2219
|
-
* @param {string} value
|
|
2220
|
-
* @return {!proto.GetQuotationByIdRequest} returns this
|
|
2221
|
-
*/
|
|
2222
|
-
proto.GetQuotationByIdRequest.prototype.setReferencesId = function(value) {
|
|
2223
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2224
|
-
};
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2231
|
-
/**
|
|
2232
|
-
* Creates an object representation of this proto.
|
|
2233
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2234
|
-
* Optional fields that are not set will be set to undefined.
|
|
2235
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2236
|
-
* For the list of reserved names please see:
|
|
2237
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2238
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2239
|
-
* JSPB instance for transitional soy proto support:
|
|
2240
|
-
* http://goto/soy-param-migration
|
|
2241
|
-
* @return {!Object}
|
|
2242
|
-
*/
|
|
2243
|
-
proto.UpdateQuotationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2244
|
-
return proto.UpdateQuotationRequest.toObject(opt_includeInstance, this);
|
|
2245
|
-
};
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
/**
|
|
2249
|
-
* Static version of the {@see toObject} method.
|
|
2250
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2251
|
-
* the JSPB instance for transitional soy proto support:
|
|
2252
|
-
* http://goto/soy-param-migration
|
|
2253
|
-
* @param {!proto.UpdateQuotationRequest} msg The msg instance to transform.
|
|
2254
|
-
* @return {!Object}
|
|
2255
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2256
|
-
*/
|
|
2257
|
-
proto.UpdateQuotationRequest.toObject = function(includeInstance, msg) {
|
|
2258
|
-
var f, obj = {
|
|
2259
|
-
baseQuotation: (f = msg.getBaseQuotation()) && proto.BaseQuotationRequest.toObject(includeInstance, f),
|
|
2260
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2261
|
-
};
|
|
2262
|
-
|
|
2263
|
-
if (includeInstance) {
|
|
2264
|
-
obj.$jspbMessageInstance = msg;
|
|
2265
|
-
}
|
|
2266
|
-
return obj;
|
|
2267
|
-
};
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
/**
|
|
2272
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2273
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2274
|
-
* @return {!proto.UpdateQuotationRequest}
|
|
2275
|
-
*/
|
|
2276
|
-
proto.UpdateQuotationRequest.deserializeBinary = function(bytes) {
|
|
2277
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2278
|
-
var msg = new proto.UpdateQuotationRequest;
|
|
2279
|
-
return proto.UpdateQuotationRequest.deserializeBinaryFromReader(msg, reader);
|
|
2280
|
-
};
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
/**
|
|
2284
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2285
|
-
* given reader into the given message object.
|
|
2286
|
-
* @param {!proto.UpdateQuotationRequest} msg The message object to deserialize into.
|
|
2287
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2288
|
-
* @return {!proto.UpdateQuotationRequest}
|
|
2289
|
-
*/
|
|
2290
|
-
proto.UpdateQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2291
|
-
while (reader.nextField()) {
|
|
2292
|
-
if (reader.isEndGroup()) {
|
|
2293
|
-
break;
|
|
2294
|
-
}
|
|
2295
|
-
var field = reader.getFieldNumber();
|
|
2296
|
-
switch (field) {
|
|
2297
|
-
case 1:
|
|
2298
|
-
var value = new proto.BaseQuotationRequest;
|
|
2299
|
-
reader.readMessage(value,proto.BaseQuotationRequest.deserializeBinaryFromReader);
|
|
2300
|
-
msg.setBaseQuotation(value);
|
|
2301
|
-
break;
|
|
2302
|
-
case 2:
|
|
2303
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2304
|
-
msg.setReferencesId(value);
|
|
2305
|
-
break;
|
|
2306
|
-
default:
|
|
2307
|
-
reader.skipField();
|
|
2308
|
-
break;
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
return msg;
|
|
2312
|
-
};
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
/**
|
|
2316
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2317
|
-
* @return {!Uint8Array}
|
|
2318
|
-
*/
|
|
2319
|
-
proto.UpdateQuotationRequest.prototype.serializeBinary = function() {
|
|
2320
|
-
var writer = new jspb.BinaryWriter();
|
|
2321
|
-
proto.UpdateQuotationRequest.serializeBinaryToWriter(this, writer);
|
|
2322
|
-
return writer.getResultBuffer();
|
|
2323
|
-
};
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
/**
|
|
2327
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2328
|
-
* format), writing to the given BinaryWriter.
|
|
2329
|
-
* @param {!proto.UpdateQuotationRequest} message
|
|
2330
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2331
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2332
|
-
*/
|
|
2333
|
-
proto.UpdateQuotationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2334
|
-
var f = undefined;
|
|
2335
|
-
f = message.getBaseQuotation();
|
|
2336
|
-
if (f != null) {
|
|
2337
|
-
writer.writeMessage(
|
|
2338
|
-
1,
|
|
2339
|
-
f,
|
|
2340
|
-
proto.BaseQuotationRequest.serializeBinaryToWriter
|
|
2341
|
-
);
|
|
2342
|
-
}
|
|
2343
|
-
f = message.getReferencesId();
|
|
2344
|
-
if (f.length > 0) {
|
|
2345
|
-
writer.writeString(
|
|
2346
|
-
2,
|
|
2347
|
-
f
|
|
2348
|
-
);
|
|
2349
|
-
}
|
|
2350
|
-
};
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
/**
|
|
2354
|
-
* optional BaseQuotationRequest base_quotation = 1;
|
|
2355
|
-
* @return {?proto.BaseQuotationRequest}
|
|
2356
|
-
*/
|
|
2357
|
-
proto.UpdateQuotationRequest.prototype.getBaseQuotation = function() {
|
|
2358
|
-
return /** @type{?proto.BaseQuotationRequest} */ (
|
|
2359
|
-
jspb.Message.getWrapperField(this, proto.BaseQuotationRequest, 1));
|
|
2360
|
-
};
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
/**
|
|
2364
|
-
* @param {?proto.BaseQuotationRequest|undefined} value
|
|
2365
|
-
* @return {!proto.UpdateQuotationRequest} returns this
|
|
2366
|
-
*/
|
|
2367
|
-
proto.UpdateQuotationRequest.prototype.setBaseQuotation = function(value) {
|
|
2368
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2369
|
-
};
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
/**
|
|
2373
|
-
* Clears the message field making it undefined.
|
|
2374
|
-
* @return {!proto.UpdateQuotationRequest} returns this
|
|
2375
|
-
*/
|
|
2376
|
-
proto.UpdateQuotationRequest.prototype.clearBaseQuotation = function() {
|
|
2377
|
-
return this.setBaseQuotation(undefined);
|
|
2378
|
-
};
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
/**
|
|
2382
|
-
* Returns whether this field is set.
|
|
2383
|
-
* @return {boolean}
|
|
2384
|
-
*/
|
|
2385
|
-
proto.UpdateQuotationRequest.prototype.hasBaseQuotation = function() {
|
|
2386
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2387
|
-
};
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
/**
|
|
2391
|
-
* optional string references_id = 2;
|
|
2392
|
-
* @return {string}
|
|
2393
|
-
*/
|
|
2394
|
-
proto.UpdateQuotationRequest.prototype.getReferencesId = function() {
|
|
2395
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2396
|
-
};
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
/**
|
|
2400
|
-
* @param {string} value
|
|
2401
|
-
* @return {!proto.UpdateQuotationRequest} returns this
|
|
2402
|
-
*/
|
|
2403
|
-
proto.UpdateQuotationRequest.prototype.setReferencesId = function(value) {
|
|
2404
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2405
|
-
};
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2412
|
-
/**
|
|
2413
|
-
* Creates an object representation of this proto.
|
|
2414
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2415
|
-
* Optional fields that are not set will be set to undefined.
|
|
2416
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2417
|
-
* For the list of reserved names please see:
|
|
2418
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2419
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2420
|
-
* JSPB instance for transitional soy proto support:
|
|
2421
|
-
* http://goto/soy-param-migration
|
|
2422
|
-
* @return {!Object}
|
|
2423
|
-
*/
|
|
2424
|
-
proto.GetListQuotationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2425
|
-
return proto.GetListQuotationRequest.toObject(opt_includeInstance, this);
|
|
2426
|
-
};
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
/**
|
|
2430
|
-
* Static version of the {@see toObject} method.
|
|
2431
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2432
|
-
* the JSPB instance for transitional soy proto support:
|
|
2433
|
-
* http://goto/soy-param-migration
|
|
2434
|
-
* @param {!proto.GetListQuotationRequest} msg The msg instance to transform.
|
|
2435
|
-
* @return {!Object}
|
|
2436
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2437
|
-
*/
|
|
2438
|
-
proto.GetListQuotationRequest.toObject = function(includeInstance, msg) {
|
|
2439
|
-
var f, obj = {
|
|
2440
|
-
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2441
|
-
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
2442
|
-
};
|
|
2443
|
-
|
|
2444
|
-
if (includeInstance) {
|
|
2445
|
-
obj.$jspbMessageInstance = msg;
|
|
2446
|
-
}
|
|
2447
|
-
return obj;
|
|
2448
|
-
};
|
|
2449
|
-
}
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
/**
|
|
2453
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2454
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2455
|
-
* @return {!proto.GetListQuotationRequest}
|
|
2456
|
-
*/
|
|
2457
|
-
proto.GetListQuotationRequest.deserializeBinary = function(bytes) {
|
|
2458
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2459
|
-
var msg = new proto.GetListQuotationRequest;
|
|
2460
|
-
return proto.GetListQuotationRequest.deserializeBinaryFromReader(msg, reader);
|
|
2461
|
-
};
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
/**
|
|
2465
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2466
|
-
* given reader into the given message object.
|
|
2467
|
-
* @param {!proto.GetListQuotationRequest} msg The message object to deserialize into.
|
|
2468
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2469
|
-
* @return {!proto.GetListQuotationRequest}
|
|
2470
|
-
*/
|
|
2471
|
-
proto.GetListQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2472
|
-
while (reader.nextField()) {
|
|
2473
|
-
if (reader.isEndGroup()) {
|
|
2474
|
-
break;
|
|
2475
|
-
}
|
|
2476
|
-
var field = reader.getFieldNumber();
|
|
2477
|
-
switch (field) {
|
|
2478
|
-
case 1:
|
|
2479
|
-
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2480
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2481
|
-
msg.setPagination(value);
|
|
2482
|
-
break;
|
|
2483
|
-
case 2:
|
|
2484
|
-
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
2485
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
2486
|
-
msg.setQuery(value);
|
|
2487
|
-
break;
|
|
2488
|
-
default:
|
|
2489
|
-
reader.skipField();
|
|
2490
|
-
break;
|
|
2491
|
-
}
|
|
2492
|
-
}
|
|
2493
|
-
return msg;
|
|
2494
|
-
};
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
/**
|
|
2498
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2499
|
-
* @return {!Uint8Array}
|
|
2500
|
-
*/
|
|
2501
|
-
proto.GetListQuotationRequest.prototype.serializeBinary = function() {
|
|
2502
|
-
var writer = new jspb.BinaryWriter();
|
|
2503
|
-
proto.GetListQuotationRequest.serializeBinaryToWriter(this, writer);
|
|
2504
|
-
return writer.getResultBuffer();
|
|
2505
|
-
};
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
/**
|
|
2509
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2510
|
-
* format), writing to the given BinaryWriter.
|
|
2511
|
-
* @param {!proto.GetListQuotationRequest} message
|
|
2512
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2513
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2514
|
-
*/
|
|
2515
|
-
proto.GetListQuotationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2516
|
-
var f = undefined;
|
|
2517
|
-
f = message.getPagination();
|
|
2518
|
-
if (f != null) {
|
|
2519
|
-
writer.writeMessage(
|
|
2520
|
-
1,
|
|
2521
|
-
f,
|
|
2522
|
-
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
2523
|
-
);
|
|
2524
|
-
}
|
|
2525
|
-
f = message.getQuery();
|
|
2526
|
-
if (f != null) {
|
|
2527
|
-
writer.writeMessage(
|
|
2528
|
-
2,
|
|
2529
|
-
f,
|
|
2530
|
-
prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
|
|
2531
|
-
);
|
|
2532
|
-
}
|
|
2533
|
-
};
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
/**
|
|
2537
|
-
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
2538
|
-
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
2539
|
-
*/
|
|
2540
|
-
proto.GetListQuotationRequest.prototype.getPagination = function() {
|
|
2541
|
-
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
2542
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
2543
|
-
};
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
/**
|
|
2547
|
-
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
2548
|
-
* @return {!proto.GetListQuotationRequest} returns this
|
|
2549
|
-
*/
|
|
2550
|
-
proto.GetListQuotationRequest.prototype.setPagination = function(value) {
|
|
2551
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2552
|
-
};
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
/**
|
|
2556
|
-
* Clears the message field making it undefined.
|
|
2557
|
-
* @return {!proto.GetListQuotationRequest} returns this
|
|
2558
|
-
*/
|
|
2559
|
-
proto.GetListQuotationRequest.prototype.clearPagination = function() {
|
|
2560
|
-
return this.setPagination(undefined);
|
|
2561
|
-
};
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
/**
|
|
2565
|
-
* Returns whether this field is set.
|
|
2566
|
-
* @return {boolean}
|
|
2567
|
-
*/
|
|
2568
|
-
proto.GetListQuotationRequest.prototype.hasPagination = function() {
|
|
2569
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2570
|
-
};
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
/**
|
|
2574
|
-
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
2575
|
-
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
2576
|
-
*/
|
|
2577
|
-
proto.GetListQuotationRequest.prototype.getQuery = function() {
|
|
2578
|
-
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
2579
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
2580
|
-
};
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
/**
|
|
2584
|
-
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
2585
|
-
* @return {!proto.GetListQuotationRequest} returns this
|
|
2586
|
-
*/
|
|
2587
|
-
proto.GetListQuotationRequest.prototype.setQuery = function(value) {
|
|
2588
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
2589
|
-
};
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
/**
|
|
2593
|
-
* Clears the message field making it undefined.
|
|
2594
|
-
* @return {!proto.GetListQuotationRequest} returns this
|
|
2595
|
-
*/
|
|
2596
|
-
proto.GetListQuotationRequest.prototype.clearQuery = function() {
|
|
2597
|
-
return this.setQuery(undefined);
|
|
2598
|
-
};
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
/**
|
|
2602
|
-
* Returns whether this field is set.
|
|
2603
|
-
* @return {boolean}
|
|
2604
|
-
*/
|
|
2605
|
-
proto.GetListQuotationRequest.prototype.hasQuery = function() {
|
|
2606
|
-
return jspb.Message.getField(this, 2) != null;
|
|
2607
|
-
};
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2614
|
-
/**
|
|
2615
|
-
* Creates an object representation of this proto.
|
|
2616
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2617
|
-
* Optional fields that are not set will be set to undefined.
|
|
2618
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2619
|
-
* For the list of reserved names please see:
|
|
2620
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2621
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2622
|
-
* JSPB instance for transitional soy proto support:
|
|
2623
|
-
* http://goto/soy-param-migration
|
|
2624
|
-
* @return {!Object}
|
|
2625
|
-
*/
|
|
2626
|
-
proto.GetQuotationByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2627
|
-
return proto.GetQuotationByIdResponse.toObject(opt_includeInstance, this);
|
|
2628
|
-
};
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
/**
|
|
2632
|
-
* Static version of the {@see toObject} method.
|
|
2633
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2634
|
-
* the JSPB instance for transitional soy proto support:
|
|
2635
|
-
* http://goto/soy-param-migration
|
|
2636
|
-
* @param {!proto.GetQuotationByIdResponse} msg The msg instance to transform.
|
|
2637
|
-
* @return {!Object}
|
|
2638
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2639
|
-
*/
|
|
2640
|
-
proto.GetQuotationByIdResponse.toObject = function(includeInstance, msg) {
|
|
2641
|
-
var f, obj = {
|
|
2642
|
-
quotation: (f = msg.getQuotation()) && proto.Quotation.toObject(includeInstance, f),
|
|
2643
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2644
|
-
};
|
|
2645
|
-
|
|
2646
|
-
if (includeInstance) {
|
|
2647
|
-
obj.$jspbMessageInstance = msg;
|
|
2648
|
-
}
|
|
2649
|
-
return obj;
|
|
2650
|
-
};
|
|
2651
|
-
}
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
/**
|
|
2655
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2656
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2657
|
-
* @return {!proto.GetQuotationByIdResponse}
|
|
2658
|
-
*/
|
|
2659
|
-
proto.GetQuotationByIdResponse.deserializeBinary = function(bytes) {
|
|
2660
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2661
|
-
var msg = new proto.GetQuotationByIdResponse;
|
|
2662
|
-
return proto.GetQuotationByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
2663
|
-
};
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
/**
|
|
2667
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2668
|
-
* given reader into the given message object.
|
|
2669
|
-
* @param {!proto.GetQuotationByIdResponse} msg The message object to deserialize into.
|
|
2670
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2671
|
-
* @return {!proto.GetQuotationByIdResponse}
|
|
2672
|
-
*/
|
|
2673
|
-
proto.GetQuotationByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2674
|
-
while (reader.nextField()) {
|
|
2675
|
-
if (reader.isEndGroup()) {
|
|
2676
|
-
break;
|
|
2677
|
-
}
|
|
2678
|
-
var field = reader.getFieldNumber();
|
|
2679
|
-
switch (field) {
|
|
2680
|
-
case 1:
|
|
2681
|
-
var value = new proto.Quotation;
|
|
2682
|
-
reader.readMessage(value,proto.Quotation.deserializeBinaryFromReader);
|
|
2683
|
-
msg.setQuotation(value);
|
|
2684
|
-
break;
|
|
2685
|
-
case 2:
|
|
2686
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2687
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2688
|
-
msg.setMeta(value);
|
|
2689
|
-
break;
|
|
2690
|
-
default:
|
|
2691
|
-
reader.skipField();
|
|
2692
|
-
break;
|
|
2693
|
-
}
|
|
2694
|
-
}
|
|
2695
|
-
return msg;
|
|
2696
|
-
};
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
/**
|
|
2700
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2701
|
-
* @return {!Uint8Array}
|
|
2702
|
-
*/
|
|
2703
|
-
proto.GetQuotationByIdResponse.prototype.serializeBinary = function() {
|
|
2704
|
-
var writer = new jspb.BinaryWriter();
|
|
2705
|
-
proto.GetQuotationByIdResponse.serializeBinaryToWriter(this, writer);
|
|
2706
|
-
return writer.getResultBuffer();
|
|
2707
|
-
};
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
/**
|
|
2711
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2712
|
-
* format), writing to the given BinaryWriter.
|
|
2713
|
-
* @param {!proto.GetQuotationByIdResponse} message
|
|
2714
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2715
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2716
|
-
*/
|
|
2717
|
-
proto.GetQuotationByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2718
|
-
var f = undefined;
|
|
2719
|
-
f = message.getQuotation();
|
|
2720
|
-
if (f != null) {
|
|
2721
|
-
writer.writeMessage(
|
|
2722
|
-
1,
|
|
2723
|
-
f,
|
|
2724
|
-
proto.Quotation.serializeBinaryToWriter
|
|
2725
|
-
);
|
|
2726
|
-
}
|
|
2727
|
-
f = message.getMeta();
|
|
2728
|
-
if (f != null) {
|
|
2729
|
-
writer.writeMessage(
|
|
2730
|
-
2,
|
|
2731
|
-
f,
|
|
2732
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2733
|
-
);
|
|
2734
|
-
}
|
|
2735
|
-
};
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
/**
|
|
2739
|
-
* optional Quotation quotation = 1;
|
|
2740
|
-
* @return {?proto.Quotation}
|
|
2741
|
-
*/
|
|
2742
|
-
proto.GetQuotationByIdResponse.prototype.getQuotation = function() {
|
|
2743
|
-
return /** @type{?proto.Quotation} */ (
|
|
2744
|
-
jspb.Message.getWrapperField(this, proto.Quotation, 1));
|
|
2745
|
-
};
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
/**
|
|
2749
|
-
* @param {?proto.Quotation|undefined} value
|
|
2750
|
-
* @return {!proto.GetQuotationByIdResponse} returns this
|
|
2751
|
-
*/
|
|
2752
|
-
proto.GetQuotationByIdResponse.prototype.setQuotation = function(value) {
|
|
2753
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2754
|
-
};
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
/**
|
|
2758
|
-
* Clears the message field making it undefined.
|
|
2759
|
-
* @return {!proto.GetQuotationByIdResponse} returns this
|
|
2760
|
-
*/
|
|
2761
|
-
proto.GetQuotationByIdResponse.prototype.clearQuotation = function() {
|
|
2762
|
-
return this.setQuotation(undefined);
|
|
2763
|
-
};
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
/**
|
|
2767
|
-
* Returns whether this field is set.
|
|
2768
|
-
* @return {boolean}
|
|
2769
|
-
*/
|
|
2770
|
-
proto.GetQuotationByIdResponse.prototype.hasQuotation = function() {
|
|
2771
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2772
|
-
};
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
/**
|
|
2776
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2777
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2778
|
-
*/
|
|
2779
|
-
proto.GetQuotationByIdResponse.prototype.getMeta = function() {
|
|
2780
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2781
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2782
|
-
};
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
/**
|
|
2786
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2787
|
-
* @return {!proto.GetQuotationByIdResponse} returns this
|
|
2788
|
-
*/
|
|
2789
|
-
proto.GetQuotationByIdResponse.prototype.setMeta = function(value) {
|
|
2790
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
2791
|
-
};
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
/**
|
|
2795
|
-
* Clears the message field making it undefined.
|
|
2796
|
-
* @return {!proto.GetQuotationByIdResponse} returns this
|
|
2797
|
-
*/
|
|
2798
|
-
proto.GetQuotationByIdResponse.prototype.clearMeta = function() {
|
|
2799
|
-
return this.setMeta(undefined);
|
|
2800
|
-
};
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
/**
|
|
2804
|
-
* Returns whether this field is set.
|
|
2805
|
-
* @return {boolean}
|
|
2806
|
-
*/
|
|
2807
|
-
proto.GetQuotationByIdResponse.prototype.hasMeta = function() {
|
|
2808
|
-
return jspb.Message.getField(this, 2) != null;
|
|
2809
|
-
};
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
/**
|
|
2814
|
-
* List of repeated fields within this message type.
|
|
2815
|
-
* @private {!Array<number>}
|
|
2816
|
-
* @const
|
|
2817
|
-
*/
|
|
2818
|
-
proto.GetQuotationDetailResponse.repeatedFields_ = [1,2];
|
|
2819
1108
|
|
|
2820
1109
|
|
|
2821
1110
|
|
|
@@ -2832,8 +1121,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2832
1121
|
* http://goto/soy-param-migration
|
|
2833
1122
|
* @return {!Object}
|
|
2834
1123
|
*/
|
|
2835
|
-
proto.
|
|
2836
|
-
return proto.
|
|
1124
|
+
proto.UpdateQuotationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1125
|
+
return proto.UpdateQuotationRequest.toObject(opt_includeInstance, this);
|
|
2837
1126
|
};
|
|
2838
1127
|
|
|
2839
1128
|
|
|
@@ -2842,16 +1131,14 @@ proto.GetQuotationDetailResponse.prototype.toObject = function(opt_includeInstan
|
|
|
2842
1131
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2843
1132
|
* the JSPB instance for transitional soy proto support:
|
|
2844
1133
|
* http://goto/soy-param-migration
|
|
2845
|
-
* @param {!proto.
|
|
1134
|
+
* @param {!proto.UpdateQuotationRequest} msg The msg instance to transform.
|
|
2846
1135
|
* @return {!Object}
|
|
2847
1136
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2848
1137
|
*/
|
|
2849
|
-
proto.
|
|
1138
|
+
proto.UpdateQuotationRequest.toObject = function(includeInstance, msg) {
|
|
2850
1139
|
var f, obj = {
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
transactionBuilderItemsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemsList(),
|
|
2854
|
-
proto.GetQuotationItemPreload.toObject, includeInstance)
|
|
1140
|
+
baseQuotation: (f = msg.getBaseQuotation()) && proto.BaseQuotationRequest.toObject(includeInstance, f),
|
|
1141
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2855
1142
|
};
|
|
2856
1143
|
|
|
2857
1144
|
if (includeInstance) {
|
|
@@ -2865,23 +1152,23 @@ transactionBuilderItemsList: jspb.Message.toObjectList(msg.getTransactionBuilder
|
|
|
2865
1152
|
/**
|
|
2866
1153
|
* Deserializes binary data (in protobuf wire format).
|
|
2867
1154
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2868
|
-
* @return {!proto.
|
|
1155
|
+
* @return {!proto.UpdateQuotationRequest}
|
|
2869
1156
|
*/
|
|
2870
|
-
proto.
|
|
1157
|
+
proto.UpdateQuotationRequest.deserializeBinary = function(bytes) {
|
|
2871
1158
|
var reader = new jspb.BinaryReader(bytes);
|
|
2872
|
-
var msg = new proto.
|
|
2873
|
-
return proto.
|
|
1159
|
+
var msg = new proto.UpdateQuotationRequest;
|
|
1160
|
+
return proto.UpdateQuotationRequest.deserializeBinaryFromReader(msg, reader);
|
|
2874
1161
|
};
|
|
2875
1162
|
|
|
2876
1163
|
|
|
2877
1164
|
/**
|
|
2878
1165
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2879
1166
|
* given reader into the given message object.
|
|
2880
|
-
* @param {!proto.
|
|
1167
|
+
* @param {!proto.UpdateQuotationRequest} msg The message object to deserialize into.
|
|
2881
1168
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2882
|
-
* @return {!proto.
|
|
1169
|
+
* @return {!proto.UpdateQuotationRequest}
|
|
2883
1170
|
*/
|
|
2884
|
-
proto.
|
|
1171
|
+
proto.UpdateQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2885
1172
|
while (reader.nextField()) {
|
|
2886
1173
|
if (reader.isEndGroup()) {
|
|
2887
1174
|
break;
|
|
@@ -2889,14 +1176,13 @@ proto.GetQuotationDetailResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
2889
1176
|
var field = reader.getFieldNumber();
|
|
2890
1177
|
switch (field) {
|
|
2891
1178
|
case 1:
|
|
2892
|
-
var value = new
|
|
2893
|
-
reader.readMessage(value,
|
|
2894
|
-
msg.
|
|
1179
|
+
var value = new proto.BaseQuotationRequest;
|
|
1180
|
+
reader.readMessage(value,proto.BaseQuotationRequest.deserializeBinaryFromReader);
|
|
1181
|
+
msg.setBaseQuotation(value);
|
|
2895
1182
|
break;
|
|
2896
1183
|
case 2:
|
|
2897
|
-
var value =
|
|
2898
|
-
|
|
2899
|
-
msg.addTransactionBuilderItems(value);
|
|
1184
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1185
|
+
msg.setReferencesId(value);
|
|
2900
1186
|
break;
|
|
2901
1187
|
default:
|
|
2902
1188
|
reader.skipField();
|
|
@@ -2911,9 +1197,9 @@ proto.GetQuotationDetailResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
2911
1197
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2912
1198
|
* @return {!Uint8Array}
|
|
2913
1199
|
*/
|
|
2914
|
-
proto.
|
|
1200
|
+
proto.UpdateQuotationRequest.prototype.serializeBinary = function() {
|
|
2915
1201
|
var writer = new jspb.BinaryWriter();
|
|
2916
|
-
proto.
|
|
1202
|
+
proto.UpdateQuotationRequest.serializeBinaryToWriter(this, writer);
|
|
2917
1203
|
return writer.getResultBuffer();
|
|
2918
1204
|
};
|
|
2919
1205
|
|
|
@@ -2921,115 +1207,86 @@ proto.GetQuotationDetailResponse.prototype.serializeBinary = function() {
|
|
|
2921
1207
|
/**
|
|
2922
1208
|
* Serializes the given message to binary data (in protobuf wire
|
|
2923
1209
|
* format), writing to the given BinaryWriter.
|
|
2924
|
-
* @param {!proto.
|
|
1210
|
+
* @param {!proto.UpdateQuotationRequest} message
|
|
2925
1211
|
* @param {!jspb.BinaryWriter} writer
|
|
2926
1212
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2927
1213
|
*/
|
|
2928
|
-
proto.
|
|
1214
|
+
proto.UpdateQuotationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2929
1215
|
var f = undefined;
|
|
2930
|
-
f = message.
|
|
2931
|
-
if (f
|
|
2932
|
-
writer.
|
|
1216
|
+
f = message.getBaseQuotation();
|
|
1217
|
+
if (f != null) {
|
|
1218
|
+
writer.writeMessage(
|
|
2933
1219
|
1,
|
|
2934
1220
|
f,
|
|
2935
|
-
|
|
1221
|
+
proto.BaseQuotationRequest.serializeBinaryToWriter
|
|
2936
1222
|
);
|
|
2937
1223
|
}
|
|
2938
|
-
f = message.
|
|
1224
|
+
f = message.getReferencesId();
|
|
2939
1225
|
if (f.length > 0) {
|
|
2940
|
-
writer.
|
|
1226
|
+
writer.writeString(
|
|
2941
1227
|
2,
|
|
2942
|
-
f
|
|
2943
|
-
proto.GetQuotationItemPreload.serializeBinaryToWriter
|
|
1228
|
+
f
|
|
2944
1229
|
);
|
|
2945
1230
|
}
|
|
2946
1231
|
};
|
|
2947
1232
|
|
|
2948
1233
|
|
|
2949
1234
|
/**
|
|
2950
|
-
*
|
|
2951
|
-
* @return {
|
|
1235
|
+
* optional BaseQuotationRequest base_quotation = 1;
|
|
1236
|
+
* @return {?proto.BaseQuotationRequest}
|
|
2952
1237
|
*/
|
|
2953
|
-
proto.
|
|
2954
|
-
return /** @type{
|
|
2955
|
-
jspb.Message.
|
|
1238
|
+
proto.UpdateQuotationRequest.prototype.getBaseQuotation = function() {
|
|
1239
|
+
return /** @type{?proto.BaseQuotationRequest} */ (
|
|
1240
|
+
jspb.Message.getWrapperField(this, proto.BaseQuotationRequest, 1));
|
|
2956
1241
|
};
|
|
2957
1242
|
|
|
2958
1243
|
|
|
2959
1244
|
/**
|
|
2960
|
-
* @param {
|
|
2961
|
-
* @return {!proto.
|
|
1245
|
+
* @param {?proto.BaseQuotationRequest|undefined} value
|
|
1246
|
+
* @return {!proto.UpdateQuotationRequest} returns this
|
|
2962
1247
|
*/
|
|
2963
|
-
proto.
|
|
2964
|
-
return jspb.Message.
|
|
2965
|
-
};
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
/**
|
|
2969
|
-
* @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
|
|
2970
|
-
* @param {number=} opt_index
|
|
2971
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
|
|
2972
|
-
*/
|
|
2973
|
-
proto.GetQuotationDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
|
|
2974
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
|
|
1248
|
+
proto.UpdateQuotationRequest.prototype.setBaseQuotation = function(value) {
|
|
1249
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2975
1250
|
};
|
|
2976
1251
|
|
|
2977
1252
|
|
|
2978
1253
|
/**
|
|
2979
|
-
* Clears the
|
|
2980
|
-
* @return {!proto.
|
|
1254
|
+
* Clears the message field making it undefined.
|
|
1255
|
+
* @return {!proto.UpdateQuotationRequest} returns this
|
|
2981
1256
|
*/
|
|
2982
|
-
proto.
|
|
2983
|
-
return this.
|
|
1257
|
+
proto.UpdateQuotationRequest.prototype.clearBaseQuotation = function() {
|
|
1258
|
+
return this.setBaseQuotation(undefined);
|
|
2984
1259
|
};
|
|
2985
1260
|
|
|
2986
1261
|
|
|
2987
1262
|
/**
|
|
2988
|
-
*
|
|
2989
|
-
* @return {
|
|
1263
|
+
* Returns whether this field is set.
|
|
1264
|
+
* @return {boolean}
|
|
2990
1265
|
*/
|
|
2991
|
-
proto.
|
|
2992
|
-
return
|
|
2993
|
-
jspb.Message.getRepeatedWrapperField(this, proto.GetQuotationItemPreload, 2));
|
|
2994
|
-
};
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
/**
|
|
2998
|
-
* @param {!Array<!proto.GetQuotationItemPreload>} value
|
|
2999
|
-
* @return {!proto.GetQuotationDetailResponse} returns this
|
|
3000
|
-
*/
|
|
3001
|
-
proto.GetQuotationDetailResponse.prototype.setTransactionBuilderItemsList = function(value) {
|
|
3002
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
1266
|
+
proto.UpdateQuotationRequest.prototype.hasBaseQuotation = function() {
|
|
1267
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3003
1268
|
};
|
|
3004
1269
|
|
|
3005
1270
|
|
|
3006
1271
|
/**
|
|
3007
|
-
*
|
|
3008
|
-
* @
|
|
3009
|
-
* @return {!proto.GetQuotationItemPreload}
|
|
1272
|
+
* optional string references_id = 2;
|
|
1273
|
+
* @return {string}
|
|
3010
1274
|
*/
|
|
3011
|
-
proto.
|
|
3012
|
-
return jspb.Message.
|
|
1275
|
+
proto.UpdateQuotationRequest.prototype.getReferencesId = function() {
|
|
1276
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3013
1277
|
};
|
|
3014
1278
|
|
|
3015
1279
|
|
|
3016
1280
|
/**
|
|
3017
|
-
*
|
|
3018
|
-
* @return {!proto.
|
|
1281
|
+
* @param {string} value
|
|
1282
|
+
* @return {!proto.UpdateQuotationRequest} returns this
|
|
3019
1283
|
*/
|
|
3020
|
-
proto.
|
|
3021
|
-
return
|
|
1284
|
+
proto.UpdateQuotationRequest.prototype.setReferencesId = function(value) {
|
|
1285
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3022
1286
|
};
|
|
3023
1287
|
|
|
3024
1288
|
|
|
3025
1289
|
|
|
3026
|
-
/**
|
|
3027
|
-
* List of repeated fields within this message type.
|
|
3028
|
-
* @private {!Array<number>}
|
|
3029
|
-
* @const
|
|
3030
|
-
*/
|
|
3031
|
-
proto.GetQuotationItemPreload.repeatedFields_ = [1,2];
|
|
3032
|
-
|
|
3033
1290
|
|
|
3034
1291
|
|
|
3035
1292
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3045,8 +1302,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3045
1302
|
* http://goto/soy-param-migration
|
|
3046
1303
|
* @return {!Object}
|
|
3047
1304
|
*/
|
|
3048
|
-
proto.
|
|
3049
|
-
return proto.
|
|
1305
|
+
proto.GetListQuotationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1306
|
+
return proto.GetListQuotationRequest.toObject(opt_includeInstance, this);
|
|
3050
1307
|
};
|
|
3051
1308
|
|
|
3052
1309
|
|
|
@@ -3055,16 +1312,14 @@ proto.GetQuotationItemPreload.prototype.toObject = function(opt_includeInstance)
|
|
|
3055
1312
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3056
1313
|
* the JSPB instance for transitional soy proto support:
|
|
3057
1314
|
* http://goto/soy-param-migration
|
|
3058
|
-
* @param {!proto.
|
|
1315
|
+
* @param {!proto.GetListQuotationRequest} msg The msg instance to transform.
|
|
3059
1316
|
* @return {!Object}
|
|
3060
1317
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3061
1318
|
*/
|
|
3062
|
-
proto.
|
|
1319
|
+
proto.GetListQuotationRequest.toObject = function(includeInstance, msg) {
|
|
3063
1320
|
var f, obj = {
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
transactionBuilderItemDetailsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemDetailsList(),
|
|
3067
|
-
proto.GetQuotationItemDetailPreload.toObject, includeInstance)
|
|
1321
|
+
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
1322
|
+
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
3068
1323
|
};
|
|
3069
1324
|
|
|
3070
1325
|
if (includeInstance) {
|
|
@@ -3078,23 +1333,23 @@ transactionBuilderItemDetailsList: jspb.Message.toObjectList(msg.getTransactionB
|
|
|
3078
1333
|
/**
|
|
3079
1334
|
* Deserializes binary data (in protobuf wire format).
|
|
3080
1335
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3081
|
-
* @return {!proto.
|
|
1336
|
+
* @return {!proto.GetListQuotationRequest}
|
|
3082
1337
|
*/
|
|
3083
|
-
proto.
|
|
1338
|
+
proto.GetListQuotationRequest.deserializeBinary = function(bytes) {
|
|
3084
1339
|
var reader = new jspb.BinaryReader(bytes);
|
|
3085
|
-
var msg = new proto.
|
|
3086
|
-
return proto.
|
|
1340
|
+
var msg = new proto.GetListQuotationRequest;
|
|
1341
|
+
return proto.GetListQuotationRequest.deserializeBinaryFromReader(msg, reader);
|
|
3087
1342
|
};
|
|
3088
1343
|
|
|
3089
1344
|
|
|
3090
1345
|
/**
|
|
3091
1346
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3092
1347
|
* given reader into the given message object.
|
|
3093
|
-
* @param {!proto.
|
|
1348
|
+
* @param {!proto.GetListQuotationRequest} msg The message object to deserialize into.
|
|
3094
1349
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3095
|
-
* @return {!proto.
|
|
1350
|
+
* @return {!proto.GetListQuotationRequest}
|
|
3096
1351
|
*/
|
|
3097
|
-
proto.
|
|
1352
|
+
proto.GetListQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3098
1353
|
while (reader.nextField()) {
|
|
3099
1354
|
if (reader.isEndGroup()) {
|
|
3100
1355
|
break;
|
|
@@ -3102,14 +1357,14 @@ proto.GetQuotationItemPreload.deserializeBinaryFromReader = function(msg, reader
|
|
|
3102
1357
|
var field = reader.getFieldNumber();
|
|
3103
1358
|
switch (field) {
|
|
3104
1359
|
case 1:
|
|
3105
|
-
var value = new
|
|
3106
|
-
reader.readMessage(value,
|
|
3107
|
-
msg.
|
|
1360
|
+
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
1361
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
1362
|
+
msg.setPagination(value);
|
|
3108
1363
|
break;
|
|
3109
1364
|
case 2:
|
|
3110
|
-
var value = new
|
|
3111
|
-
reader.readMessage(value,
|
|
3112
|
-
msg.
|
|
1365
|
+
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
1366
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
1367
|
+
msg.setQuery(value);
|
|
3113
1368
|
break;
|
|
3114
1369
|
default:
|
|
3115
1370
|
reader.skipField();
|
|
@@ -3124,9 +1379,9 @@ proto.GetQuotationItemPreload.deserializeBinaryFromReader = function(msg, reader
|
|
|
3124
1379
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3125
1380
|
* @return {!Uint8Array}
|
|
3126
1381
|
*/
|
|
3127
|
-
proto.
|
|
1382
|
+
proto.GetListQuotationRequest.prototype.serializeBinary = function() {
|
|
3128
1383
|
var writer = new jspb.BinaryWriter();
|
|
3129
|
-
proto.
|
|
1384
|
+
proto.GetListQuotationRequest.serializeBinaryToWriter(this, writer);
|
|
3130
1385
|
return writer.getResultBuffer();
|
|
3131
1386
|
};
|
|
3132
1387
|
|
|
@@ -3134,115 +1389,106 @@ proto.GetQuotationItemPreload.prototype.serializeBinary = function() {
|
|
|
3134
1389
|
/**
|
|
3135
1390
|
* Serializes the given message to binary data (in protobuf wire
|
|
3136
1391
|
* format), writing to the given BinaryWriter.
|
|
3137
|
-
* @param {!proto.
|
|
1392
|
+
* @param {!proto.GetListQuotationRequest} message
|
|
3138
1393
|
* @param {!jspb.BinaryWriter} writer
|
|
3139
1394
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3140
1395
|
*/
|
|
3141
|
-
proto.
|
|
1396
|
+
proto.GetListQuotationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3142
1397
|
var f = undefined;
|
|
3143
|
-
f = message.
|
|
3144
|
-
if (f
|
|
3145
|
-
writer.
|
|
1398
|
+
f = message.getPagination();
|
|
1399
|
+
if (f != null) {
|
|
1400
|
+
writer.writeMessage(
|
|
3146
1401
|
1,
|
|
3147
1402
|
f,
|
|
3148
|
-
|
|
1403
|
+
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
3149
1404
|
);
|
|
3150
1405
|
}
|
|
3151
|
-
f = message.
|
|
3152
|
-
if (f
|
|
3153
|
-
writer.
|
|
1406
|
+
f = message.getQuery();
|
|
1407
|
+
if (f != null) {
|
|
1408
|
+
writer.writeMessage(
|
|
3154
1409
|
2,
|
|
3155
1410
|
f,
|
|
3156
|
-
|
|
1411
|
+
prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
|
|
3157
1412
|
);
|
|
3158
1413
|
}
|
|
3159
1414
|
};
|
|
3160
1415
|
|
|
3161
1416
|
|
|
3162
1417
|
/**
|
|
3163
|
-
*
|
|
3164
|
-
* @return {
|
|
1418
|
+
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
1419
|
+
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
3165
1420
|
*/
|
|
3166
|
-
proto.
|
|
3167
|
-
return /** @type{
|
|
3168
|
-
jspb.Message.
|
|
1421
|
+
proto.GetListQuotationRequest.prototype.getPagination = function() {
|
|
1422
|
+
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
1423
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
3169
1424
|
};
|
|
3170
1425
|
|
|
3171
1426
|
|
|
3172
1427
|
/**
|
|
3173
|
-
* @param {
|
|
3174
|
-
* @return {!proto.
|
|
1428
|
+
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
1429
|
+
* @return {!proto.GetListQuotationRequest} returns this
|
|
3175
1430
|
*/
|
|
3176
|
-
proto.
|
|
3177
|
-
return jspb.Message.
|
|
1431
|
+
proto.GetListQuotationRequest.prototype.setPagination = function(value) {
|
|
1432
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3178
1433
|
};
|
|
3179
1434
|
|
|
3180
1435
|
|
|
3181
1436
|
/**
|
|
3182
|
-
*
|
|
3183
|
-
* @
|
|
3184
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
|
|
1437
|
+
* Clears the message field making it undefined.
|
|
1438
|
+
* @return {!proto.GetListQuotationRequest} returns this
|
|
3185
1439
|
*/
|
|
3186
|
-
proto.
|
|
3187
|
-
return
|
|
1440
|
+
proto.GetListQuotationRequest.prototype.clearPagination = function() {
|
|
1441
|
+
return this.setPagination(undefined);
|
|
3188
1442
|
};
|
|
3189
1443
|
|
|
3190
1444
|
|
|
3191
1445
|
/**
|
|
3192
|
-
*
|
|
3193
|
-
* @return {
|
|
1446
|
+
* Returns whether this field is set.
|
|
1447
|
+
* @return {boolean}
|
|
3194
1448
|
*/
|
|
3195
|
-
proto.
|
|
3196
|
-
return
|
|
1449
|
+
proto.GetListQuotationRequest.prototype.hasPagination = function() {
|
|
1450
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3197
1451
|
};
|
|
3198
1452
|
|
|
3199
1453
|
|
|
3200
1454
|
/**
|
|
3201
|
-
*
|
|
3202
|
-
* @return {
|
|
1455
|
+
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
1456
|
+
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
3203
1457
|
*/
|
|
3204
|
-
proto.
|
|
3205
|
-
return /** @type{
|
|
3206
|
-
jspb.Message.
|
|
1458
|
+
proto.GetListQuotationRequest.prototype.getQuery = function() {
|
|
1459
|
+
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
1460
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
3207
1461
|
};
|
|
3208
1462
|
|
|
3209
1463
|
|
|
3210
1464
|
/**
|
|
3211
|
-
* @param {
|
|
3212
|
-
* @return {!proto.
|
|
1465
|
+
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
1466
|
+
* @return {!proto.GetListQuotationRequest} returns this
|
|
3213
1467
|
*/
|
|
3214
|
-
proto.
|
|
3215
|
-
return jspb.Message.
|
|
1468
|
+
proto.GetListQuotationRequest.prototype.setQuery = function(value) {
|
|
1469
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3216
1470
|
};
|
|
3217
1471
|
|
|
3218
1472
|
|
|
3219
1473
|
/**
|
|
3220
|
-
*
|
|
3221
|
-
* @
|
|
3222
|
-
* @return {!proto.GetQuotationItemDetailPreload}
|
|
1474
|
+
* Clears the message field making it undefined.
|
|
1475
|
+
* @return {!proto.GetListQuotationRequest} returns this
|
|
3223
1476
|
*/
|
|
3224
|
-
proto.
|
|
3225
|
-
return
|
|
1477
|
+
proto.GetListQuotationRequest.prototype.clearQuery = function() {
|
|
1478
|
+
return this.setQuery(undefined);
|
|
3226
1479
|
};
|
|
3227
1480
|
|
|
3228
1481
|
|
|
3229
1482
|
/**
|
|
3230
|
-
*
|
|
3231
|
-
* @return {
|
|
1483
|
+
* Returns whether this field is set.
|
|
1484
|
+
* @return {boolean}
|
|
3232
1485
|
*/
|
|
3233
|
-
proto.
|
|
3234
|
-
return
|
|
1486
|
+
proto.GetListQuotationRequest.prototype.hasQuery = function() {
|
|
1487
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3235
1488
|
};
|
|
3236
1489
|
|
|
3237
1490
|
|
|
3238
1491
|
|
|
3239
|
-
/**
|
|
3240
|
-
* List of repeated fields within this message type.
|
|
3241
|
-
* @private {!Array<number>}
|
|
3242
|
-
* @const
|
|
3243
|
-
*/
|
|
3244
|
-
proto.GetQuotationItemDetailPreload.repeatedFields_ = [1];
|
|
3245
|
-
|
|
3246
1492
|
|
|
3247
1493
|
|
|
3248
1494
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3258,8 +1504,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3258
1504
|
* http://goto/soy-param-migration
|
|
3259
1505
|
* @return {!Object}
|
|
3260
1506
|
*/
|
|
3261
|
-
proto.
|
|
3262
|
-
return proto.
|
|
1507
|
+
proto.GetQuotationByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1508
|
+
return proto.GetQuotationByIdResponse.toObject(opt_includeInstance, this);
|
|
3263
1509
|
};
|
|
3264
1510
|
|
|
3265
1511
|
|
|
@@ -3268,14 +1514,14 @@ proto.GetQuotationItemDetailPreload.prototype.toObject = function(opt_includeIns
|
|
|
3268
1514
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3269
1515
|
* the JSPB instance for transitional soy proto support:
|
|
3270
1516
|
* http://goto/soy-param-migration
|
|
3271
|
-
* @param {!proto.
|
|
1517
|
+
* @param {!proto.GetQuotationByIdResponse} msg The msg instance to transform.
|
|
3272
1518
|
* @return {!Object}
|
|
3273
1519
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3274
1520
|
*/
|
|
3275
|
-
proto.
|
|
1521
|
+
proto.GetQuotationByIdResponse.toObject = function(includeInstance, msg) {
|
|
3276
1522
|
var f, obj = {
|
|
3277
|
-
|
|
3278
|
-
|
|
1523
|
+
quotation: (f = msg.getQuotation()) && prisca_v1_bidding_bidding_pb.Quotation.toObject(includeInstance, f),
|
|
1524
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3279
1525
|
};
|
|
3280
1526
|
|
|
3281
1527
|
if (includeInstance) {
|
|
@@ -3289,23 +1535,23 @@ transactionBuilderItemDetailList: jspb.Message.toObjectList(msg.getTransactionBu
|
|
|
3289
1535
|
/**
|
|
3290
1536
|
* Deserializes binary data (in protobuf wire format).
|
|
3291
1537
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3292
|
-
* @return {!proto.
|
|
1538
|
+
* @return {!proto.GetQuotationByIdResponse}
|
|
3293
1539
|
*/
|
|
3294
|
-
proto.
|
|
1540
|
+
proto.GetQuotationByIdResponse.deserializeBinary = function(bytes) {
|
|
3295
1541
|
var reader = new jspb.BinaryReader(bytes);
|
|
3296
|
-
var msg = new proto.
|
|
3297
|
-
return proto.
|
|
1542
|
+
var msg = new proto.GetQuotationByIdResponse;
|
|
1543
|
+
return proto.GetQuotationByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
3298
1544
|
};
|
|
3299
1545
|
|
|
3300
1546
|
|
|
3301
1547
|
/**
|
|
3302
1548
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3303
1549
|
* given reader into the given message object.
|
|
3304
|
-
* @param {!proto.
|
|
1550
|
+
* @param {!proto.GetQuotationByIdResponse} msg The message object to deserialize into.
|
|
3305
1551
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3306
|
-
* @return {!proto.
|
|
1552
|
+
* @return {!proto.GetQuotationByIdResponse}
|
|
3307
1553
|
*/
|
|
3308
|
-
proto.
|
|
1554
|
+
proto.GetQuotationByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3309
1555
|
while (reader.nextField()) {
|
|
3310
1556
|
if (reader.isEndGroup()) {
|
|
3311
1557
|
break;
|
|
@@ -3313,9 +1559,14 @@ proto.GetQuotationItemDetailPreload.deserializeBinaryFromReader = function(msg,
|
|
|
3313
1559
|
var field = reader.getFieldNumber();
|
|
3314
1560
|
switch (field) {
|
|
3315
1561
|
case 1:
|
|
3316
|
-
var value = new
|
|
3317
|
-
reader.readMessage(value,
|
|
3318
|
-
msg.
|
|
1562
|
+
var value = new prisca_v1_bidding_bidding_pb.Quotation;
|
|
1563
|
+
reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
|
|
1564
|
+
msg.setQuotation(value);
|
|
1565
|
+
break;
|
|
1566
|
+
case 2:
|
|
1567
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1568
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1569
|
+
msg.setMeta(value);
|
|
3319
1570
|
break;
|
|
3320
1571
|
default:
|
|
3321
1572
|
reader.skipField();
|
|
@@ -3330,9 +1581,9 @@ proto.GetQuotationItemDetailPreload.deserializeBinaryFromReader = function(msg,
|
|
|
3330
1581
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3331
1582
|
* @return {!Uint8Array}
|
|
3332
1583
|
*/
|
|
3333
|
-
proto.
|
|
1584
|
+
proto.GetQuotationByIdResponse.prototype.serializeBinary = function() {
|
|
3334
1585
|
var writer = new jspb.BinaryWriter();
|
|
3335
|
-
proto.
|
|
1586
|
+
proto.GetQuotationByIdResponse.serializeBinaryToWriter(this, writer);
|
|
3336
1587
|
return writer.getResultBuffer();
|
|
3337
1588
|
};
|
|
3338
1589
|
|
|
@@ -3340,58 +1591,102 @@ proto.GetQuotationItemDetailPreload.prototype.serializeBinary = function() {
|
|
|
3340
1591
|
/**
|
|
3341
1592
|
* Serializes the given message to binary data (in protobuf wire
|
|
3342
1593
|
* format), writing to the given BinaryWriter.
|
|
3343
|
-
* @param {!proto.
|
|
1594
|
+
* @param {!proto.GetQuotationByIdResponse} message
|
|
3344
1595
|
* @param {!jspb.BinaryWriter} writer
|
|
3345
1596
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3346
1597
|
*/
|
|
3347
|
-
proto.
|
|
1598
|
+
proto.GetQuotationByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3348
1599
|
var f = undefined;
|
|
3349
|
-
f = message.
|
|
3350
|
-
if (f
|
|
3351
|
-
writer.
|
|
1600
|
+
f = message.getQuotation();
|
|
1601
|
+
if (f != null) {
|
|
1602
|
+
writer.writeMessage(
|
|
3352
1603
|
1,
|
|
3353
1604
|
f,
|
|
3354
|
-
|
|
1605
|
+
prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
|
|
1606
|
+
);
|
|
1607
|
+
}
|
|
1608
|
+
f = message.getMeta();
|
|
1609
|
+
if (f != null) {
|
|
1610
|
+
writer.writeMessage(
|
|
1611
|
+
2,
|
|
1612
|
+
f,
|
|
1613
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3355
1614
|
);
|
|
3356
1615
|
}
|
|
3357
1616
|
};
|
|
3358
1617
|
|
|
3359
1618
|
|
|
3360
1619
|
/**
|
|
3361
|
-
*
|
|
3362
|
-
* @return {
|
|
1620
|
+
* optional Quotation quotation = 1;
|
|
1621
|
+
* @return {?proto.Quotation}
|
|
3363
1622
|
*/
|
|
3364
|
-
proto.
|
|
3365
|
-
return /** @type{
|
|
3366
|
-
jspb.Message.
|
|
1623
|
+
proto.GetQuotationByIdResponse.prototype.getQuotation = function() {
|
|
1624
|
+
return /** @type{?proto.Quotation} */ (
|
|
1625
|
+
jspb.Message.getWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
|
|
3367
1626
|
};
|
|
3368
1627
|
|
|
3369
1628
|
|
|
3370
1629
|
/**
|
|
3371
|
-
* @param {
|
|
3372
|
-
* @return {!proto.
|
|
1630
|
+
* @param {?proto.Quotation|undefined} value
|
|
1631
|
+
* @return {!proto.GetQuotationByIdResponse} returns this
|
|
3373
1632
|
*/
|
|
3374
|
-
proto.
|
|
3375
|
-
return jspb.Message.
|
|
1633
|
+
proto.GetQuotationByIdResponse.prototype.setQuotation = function(value) {
|
|
1634
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3376
1635
|
};
|
|
3377
1636
|
|
|
3378
1637
|
|
|
3379
1638
|
/**
|
|
3380
|
-
*
|
|
3381
|
-
* @
|
|
3382
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
|
|
1639
|
+
* Clears the message field making it undefined.
|
|
1640
|
+
* @return {!proto.GetQuotationByIdResponse} returns this
|
|
3383
1641
|
*/
|
|
3384
|
-
proto.
|
|
3385
|
-
return
|
|
1642
|
+
proto.GetQuotationByIdResponse.prototype.clearQuotation = function() {
|
|
1643
|
+
return this.setQuotation(undefined);
|
|
3386
1644
|
};
|
|
3387
1645
|
|
|
3388
1646
|
|
|
3389
1647
|
/**
|
|
3390
|
-
*
|
|
3391
|
-
* @return {
|
|
1648
|
+
* Returns whether this field is set.
|
|
1649
|
+
* @return {boolean}
|
|
1650
|
+
*/
|
|
1651
|
+
proto.GetQuotationByIdResponse.prototype.hasQuotation = function() {
|
|
1652
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1658
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1659
|
+
*/
|
|
1660
|
+
proto.GetQuotationByIdResponse.prototype.getMeta = function() {
|
|
1661
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1662
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1668
|
+
* @return {!proto.GetQuotationByIdResponse} returns this
|
|
1669
|
+
*/
|
|
1670
|
+
proto.GetQuotationByIdResponse.prototype.setMeta = function(value) {
|
|
1671
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1672
|
+
};
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Clears the message field making it undefined.
|
|
1677
|
+
* @return {!proto.GetQuotationByIdResponse} returns this
|
|
1678
|
+
*/
|
|
1679
|
+
proto.GetQuotationByIdResponse.prototype.clearMeta = function() {
|
|
1680
|
+
return this.setMeta(undefined);
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* Returns whether this field is set.
|
|
1686
|
+
* @return {boolean}
|
|
3392
1687
|
*/
|
|
3393
|
-
proto.
|
|
3394
|
-
return
|
|
1688
|
+
proto.GetQuotationByIdResponse.prototype.hasMeta = function() {
|
|
1689
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3395
1690
|
};
|
|
3396
1691
|
|
|
3397
1692
|
|
|
@@ -3401,7 +1696,7 @@ proto.GetQuotationItemDetailPreload.prototype.clearTransactionBuilderItemDetailL
|
|
|
3401
1696
|
* @private {!Array<number>}
|
|
3402
1697
|
* @const
|
|
3403
1698
|
*/
|
|
3404
|
-
proto.
|
|
1699
|
+
proto.GetQuotationDetailResponse.repeatedFields_ = [1,2];
|
|
3405
1700
|
|
|
3406
1701
|
|
|
3407
1702
|
|
|
@@ -3418,8 +1713,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3418
1713
|
* http://goto/soy-param-migration
|
|
3419
1714
|
* @return {!Object}
|
|
3420
1715
|
*/
|
|
3421
|
-
proto.
|
|
3422
|
-
return proto.
|
|
1716
|
+
proto.GetQuotationDetailResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1717
|
+
return proto.GetQuotationDetailResponse.toObject(opt_includeInstance, this);
|
|
3423
1718
|
};
|
|
3424
1719
|
|
|
3425
1720
|
|
|
@@ -3428,14 +1723,16 @@ proto.GetQuotationVendorPreload.prototype.toObject = function(opt_includeInstanc
|
|
|
3428
1723
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3429
1724
|
* the JSPB instance for transitional soy proto support:
|
|
3430
1725
|
* http://goto/soy-param-migration
|
|
3431
|
-
* @param {!proto.
|
|
1726
|
+
* @param {!proto.GetQuotationDetailResponse} msg The msg instance to transform.
|
|
3432
1727
|
* @return {!Object}
|
|
3433
1728
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3434
1729
|
*/
|
|
3435
|
-
proto.
|
|
1730
|
+
proto.GetQuotationDetailResponse.toObject = function(includeInstance, msg) {
|
|
3436
1731
|
var f, obj = {
|
|
3437
|
-
|
|
3438
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
|
|
1732
|
+
transactionBuilderList: jspb.Message.toObjectList(msg.getTransactionBuilderList(),
|
|
1733
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
|
|
1734
|
+
transactionBuilderItemsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemsList(),
|
|
1735
|
+
prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.toObject, includeInstance)
|
|
3439
1736
|
};
|
|
3440
1737
|
|
|
3441
1738
|
if (includeInstance) {
|
|
@@ -3449,23 +1746,23 @@ transactionBuilderVendorList: jspb.Message.toObjectList(msg.getTransactionBuilde
|
|
|
3449
1746
|
/**
|
|
3450
1747
|
* Deserializes binary data (in protobuf wire format).
|
|
3451
1748
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3452
|
-
* @return {!proto.
|
|
1749
|
+
* @return {!proto.GetQuotationDetailResponse}
|
|
3453
1750
|
*/
|
|
3454
|
-
proto.
|
|
1751
|
+
proto.GetQuotationDetailResponse.deserializeBinary = function(bytes) {
|
|
3455
1752
|
var reader = new jspb.BinaryReader(bytes);
|
|
3456
|
-
var msg = new proto.
|
|
3457
|
-
return proto.
|
|
1753
|
+
var msg = new proto.GetQuotationDetailResponse;
|
|
1754
|
+
return proto.GetQuotationDetailResponse.deserializeBinaryFromReader(msg, reader);
|
|
3458
1755
|
};
|
|
3459
1756
|
|
|
3460
1757
|
|
|
3461
1758
|
/**
|
|
3462
1759
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3463
1760
|
* given reader into the given message object.
|
|
3464
|
-
* @param {!proto.
|
|
1761
|
+
* @param {!proto.GetQuotationDetailResponse} msg The message object to deserialize into.
|
|
3465
1762
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3466
|
-
* @return {!proto.
|
|
1763
|
+
* @return {!proto.GetQuotationDetailResponse}
|
|
3467
1764
|
*/
|
|
3468
|
-
proto.
|
|
1765
|
+
proto.GetQuotationDetailResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3469
1766
|
while (reader.nextField()) {
|
|
3470
1767
|
if (reader.isEndGroup()) {
|
|
3471
1768
|
break;
|
|
@@ -3475,7 +1772,12 @@ proto.GetQuotationVendorPreload.deserializeBinaryFromReader = function(msg, read
|
|
|
3475
1772
|
case 1:
|
|
3476
1773
|
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
|
|
3477
1774
|
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
|
|
3478
|
-
msg.
|
|
1775
|
+
msg.addTransactionBuilder(value);
|
|
1776
|
+
break;
|
|
1777
|
+
case 2:
|
|
1778
|
+
var value = new prisca_v1_bidding_bidding_pb.GetQuotationItemPreload;
|
|
1779
|
+
reader.readMessage(value,prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.deserializeBinaryFromReader);
|
|
1780
|
+
msg.addTransactionBuilderItems(value);
|
|
3479
1781
|
break;
|
|
3480
1782
|
default:
|
|
3481
1783
|
reader.skipField();
|
|
@@ -3490,9 +1792,9 @@ proto.GetQuotationVendorPreload.deserializeBinaryFromReader = function(msg, read
|
|
|
3490
1792
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3491
1793
|
* @return {!Uint8Array}
|
|
3492
1794
|
*/
|
|
3493
|
-
proto.
|
|
1795
|
+
proto.GetQuotationDetailResponse.prototype.serializeBinary = function() {
|
|
3494
1796
|
var writer = new jspb.BinaryWriter();
|
|
3495
|
-
proto.
|
|
1797
|
+
proto.GetQuotationDetailResponse.serializeBinaryToWriter(this, writer);
|
|
3496
1798
|
return writer.getResultBuffer();
|
|
3497
1799
|
};
|
|
3498
1800
|
|
|
@@ -3500,13 +1802,13 @@ proto.GetQuotationVendorPreload.prototype.serializeBinary = function() {
|
|
|
3500
1802
|
/**
|
|
3501
1803
|
* Serializes the given message to binary data (in protobuf wire
|
|
3502
1804
|
* format), writing to the given BinaryWriter.
|
|
3503
|
-
* @param {!proto.
|
|
1805
|
+
* @param {!proto.GetQuotationDetailResponse} message
|
|
3504
1806
|
* @param {!jspb.BinaryWriter} writer
|
|
3505
1807
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3506
1808
|
*/
|
|
3507
|
-
proto.
|
|
1809
|
+
proto.GetQuotationDetailResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3508
1810
|
var f = undefined;
|
|
3509
|
-
f = message.
|
|
1811
|
+
f = message.getTransactionBuilderList();
|
|
3510
1812
|
if (f.length > 0) {
|
|
3511
1813
|
writer.writeRepeatedMessage(
|
|
3512
1814
|
1,
|
|
@@ -3514,14 +1816,22 @@ proto.GetQuotationVendorPreload.serializeBinaryToWriter = function(message, writ
|
|
|
3514
1816
|
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
|
|
3515
1817
|
);
|
|
3516
1818
|
}
|
|
1819
|
+
f = message.getTransactionBuilderItemsList();
|
|
1820
|
+
if (f.length > 0) {
|
|
1821
|
+
writer.writeRepeatedMessage(
|
|
1822
|
+
2,
|
|
1823
|
+
f,
|
|
1824
|
+
prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.serializeBinaryToWriter
|
|
1825
|
+
);
|
|
1826
|
+
}
|
|
3517
1827
|
};
|
|
3518
1828
|
|
|
3519
1829
|
|
|
3520
1830
|
/**
|
|
3521
|
-
* repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail
|
|
1831
|
+
* repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
|
|
3522
1832
|
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
|
|
3523
1833
|
*/
|
|
3524
|
-
proto.
|
|
1834
|
+
proto.GetQuotationDetailResponse.prototype.getTransactionBuilderList = function() {
|
|
3525
1835
|
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
|
|
3526
1836
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
3527
1837
|
};
|
|
@@ -3529,9 +1839,9 @@ proto.GetQuotationVendorPreload.prototype.getTransactionBuilderVendorList = func
|
|
|
3529
1839
|
|
|
3530
1840
|
/**
|
|
3531
1841
|
* @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
|
|
3532
|
-
* @return {!proto.
|
|
1842
|
+
* @return {!proto.GetQuotationDetailResponse} returns this
|
|
3533
1843
|
*/
|
|
3534
|
-
proto.
|
|
1844
|
+
proto.GetQuotationDetailResponse.prototype.setTransactionBuilderList = function(value) {
|
|
3535
1845
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3536
1846
|
};
|
|
3537
1847
|
|
|
@@ -3541,17 +1851,55 @@ proto.GetQuotationVendorPreload.prototype.setTransactionBuilderVendorList = func
|
|
|
3541
1851
|
* @param {number=} opt_index
|
|
3542
1852
|
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
|
|
3543
1853
|
*/
|
|
3544
|
-
proto.
|
|
1854
|
+
proto.GetQuotationDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
|
|
3545
1855
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
|
|
3546
1856
|
};
|
|
3547
1857
|
|
|
3548
1858
|
|
|
3549
1859
|
/**
|
|
3550
1860
|
* Clears the list making it empty but non-null.
|
|
3551
|
-
* @return {!proto.
|
|
1861
|
+
* @return {!proto.GetQuotationDetailResponse} returns this
|
|
1862
|
+
*/
|
|
1863
|
+
proto.GetQuotationDetailResponse.prototype.clearTransactionBuilderList = function() {
|
|
1864
|
+
return this.setTransactionBuilderList([]);
|
|
1865
|
+
};
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* repeated GetQuotationItemPreload transaction_builder_items = 2;
|
|
1870
|
+
* @return {!Array<!proto.GetQuotationItemPreload>}
|
|
1871
|
+
*/
|
|
1872
|
+
proto.GetQuotationDetailResponse.prototype.getTransactionBuilderItemsList = function() {
|
|
1873
|
+
return /** @type{!Array<!proto.GetQuotationItemPreload>} */ (
|
|
1874
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_bidding_bidding_pb.GetQuotationItemPreload, 2));
|
|
1875
|
+
};
|
|
1876
|
+
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* @param {!Array<!proto.GetQuotationItemPreload>} value
|
|
1880
|
+
* @return {!proto.GetQuotationDetailResponse} returns this
|
|
1881
|
+
*/
|
|
1882
|
+
proto.GetQuotationDetailResponse.prototype.setTransactionBuilderItemsList = function(value) {
|
|
1883
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
1884
|
+
};
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* @param {!proto.GetQuotationItemPreload=} opt_value
|
|
1889
|
+
* @param {number=} opt_index
|
|
1890
|
+
* @return {!proto.GetQuotationItemPreload}
|
|
1891
|
+
*/
|
|
1892
|
+
proto.GetQuotationDetailResponse.prototype.addTransactionBuilderItems = function(opt_value, opt_index) {
|
|
1893
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.GetQuotationItemPreload, opt_index);
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* Clears the list making it empty but non-null.
|
|
1899
|
+
* @return {!proto.GetQuotationDetailResponse} returns this
|
|
3552
1900
|
*/
|
|
3553
|
-
proto.
|
|
3554
|
-
return this.
|
|
1901
|
+
proto.GetQuotationDetailResponse.prototype.clearTransactionBuilderItemsList = function() {
|
|
1902
|
+
return this.setTransactionBuilderItemsList([]);
|
|
3555
1903
|
};
|
|
3556
1904
|
|
|
3557
1905
|
|
|
@@ -3595,7 +1943,7 @@ proto.GetListQuotationResponse.prototype.toObject = function(opt_includeInstance
|
|
|
3595
1943
|
proto.GetListQuotationResponse.toObject = function(includeInstance, msg) {
|
|
3596
1944
|
var f, obj = {
|
|
3597
1945
|
quotationsList: jspb.Message.toObjectList(msg.getQuotationsList(),
|
|
3598
|
-
|
|
1946
|
+
prisca_v1_bidding_bidding_pb.Quotation.toObject, includeInstance),
|
|
3599
1947
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3600
1948
|
};
|
|
3601
1949
|
|
|
@@ -3634,8 +1982,8 @@ proto.GetListQuotationResponse.deserializeBinaryFromReader = function(msg, reade
|
|
|
3634
1982
|
var field = reader.getFieldNumber();
|
|
3635
1983
|
switch (field) {
|
|
3636
1984
|
case 1:
|
|
3637
|
-
var value = new
|
|
3638
|
-
reader.readMessage(value,
|
|
1985
|
+
var value = new prisca_v1_bidding_bidding_pb.Quotation;
|
|
1986
|
+
reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
|
|
3639
1987
|
msg.addQuotations(value);
|
|
3640
1988
|
break;
|
|
3641
1989
|
case 2:
|
|
@@ -3677,7 +2025,7 @@ proto.GetListQuotationResponse.serializeBinaryToWriter = function(message, write
|
|
|
3677
2025
|
writer.writeRepeatedMessage(
|
|
3678
2026
|
1,
|
|
3679
2027
|
f,
|
|
3680
|
-
|
|
2028
|
+
prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
|
|
3681
2029
|
);
|
|
3682
2030
|
}
|
|
3683
2031
|
f = message.getMeta();
|
|
@@ -3697,7 +2045,7 @@ proto.GetListQuotationResponse.serializeBinaryToWriter = function(message, write
|
|
|
3697
2045
|
*/
|
|
3698
2046
|
proto.GetListQuotationResponse.prototype.getQuotationsList = function() {
|
|
3699
2047
|
return /** @type{!Array<!proto.Quotation>} */ (
|
|
3700
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
2048
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
|
|
3701
2049
|
};
|
|
3702
2050
|
|
|
3703
2051
|
|
|
@@ -3798,7 +2146,7 @@ proto.UpdateQuotationResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
3798
2146
|
*/
|
|
3799
2147
|
proto.UpdateQuotationResponse.toObject = function(includeInstance, msg) {
|
|
3800
2148
|
var f, obj = {
|
|
3801
|
-
quotation: (f = msg.getQuotation()) &&
|
|
2149
|
+
quotation: (f = msg.getQuotation()) && prisca_v1_bidding_bidding_pb.Quotation.toObject(includeInstance, f),
|
|
3802
2150
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3803
2151
|
};
|
|
3804
2152
|
|
|
@@ -3837,8 +2185,8 @@ proto.UpdateQuotationResponse.deserializeBinaryFromReader = function(msg, reader
|
|
|
3837
2185
|
var field = reader.getFieldNumber();
|
|
3838
2186
|
switch (field) {
|
|
3839
2187
|
case 1:
|
|
3840
|
-
var value = new
|
|
3841
|
-
reader.readMessage(value,
|
|
2188
|
+
var value = new prisca_v1_bidding_bidding_pb.Quotation;
|
|
2189
|
+
reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
|
|
3842
2190
|
msg.setQuotation(value);
|
|
3843
2191
|
break;
|
|
3844
2192
|
case 2:
|
|
@@ -3880,7 +2228,7 @@ proto.UpdateQuotationResponse.serializeBinaryToWriter = function(message, writer
|
|
|
3880
2228
|
writer.writeMessage(
|
|
3881
2229
|
1,
|
|
3882
2230
|
f,
|
|
3883
|
-
|
|
2231
|
+
prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
|
|
3884
2232
|
);
|
|
3885
2233
|
}
|
|
3886
2234
|
f = message.getMeta();
|
|
@@ -3900,7 +2248,7 @@ proto.UpdateQuotationResponse.serializeBinaryToWriter = function(message, writer
|
|
|
3900
2248
|
*/
|
|
3901
2249
|
proto.UpdateQuotationResponse.prototype.getQuotation = function() {
|
|
3902
2250
|
return /** @type{?proto.Quotation} */ (
|
|
3903
|
-
jspb.Message.getWrapperField(this,
|
|
2251
|
+
jspb.Message.getWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
|
|
3904
2252
|
};
|
|
3905
2253
|
|
|
3906
2254
|
|