@aldiokta/protocgen 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/bidding/bidding_grpc_pb.js +55 -0
- package/prisca/v1/bidding/bidding_pb.js +769 -128
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +4989 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +42 -42
- package/prisca/v1/quotation/quotation_pb.js +31 -1
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +6333 -0
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
|
@@ -40,6 +40,8 @@ goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_
|
|
|
40
40
|
var prisca_v1_quotation_quotation_pb = require('../../../prisca/v1/quotation/quotation_pb.js');
|
|
41
41
|
goog.object.extend(proto, prisca_v1_quotation_quotation_pb);
|
|
42
42
|
goog.exportSymbol('proto.Bidding', null, global);
|
|
43
|
+
goog.exportSymbol('proto.GetBiddingByIdRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.GetBiddingByIdResponse', null, global);
|
|
43
45
|
goog.exportSymbol('proto.GetBiddingDetailResponse', null, global);
|
|
44
46
|
goog.exportSymbol('proto.GetDetailBiddingByReferences', null, global);
|
|
45
47
|
goog.exportSymbol('proto.GetQuotationDetailPreload', null, global);
|
|
@@ -49,6 +51,7 @@ goog.exportSymbol('proto.RequestGetListBidding', null, global);
|
|
|
49
51
|
goog.exportSymbol('proto.ResponseBidding', null, global);
|
|
50
52
|
goog.exportSymbol('proto.ResponseDetailBiddingByReferences', null, global);
|
|
51
53
|
goog.exportSymbol('proto.ResponseGetListBidding', null, global);
|
|
54
|
+
goog.exportSymbol('proto.UpdateBiddingReq', null, global);
|
|
52
55
|
/**
|
|
53
56
|
* Generated by JsPbCodeGenerator.
|
|
54
57
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -112,6 +115,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
112
115
|
*/
|
|
113
116
|
proto.RequestBidding.displayName = 'proto.RequestBidding';
|
|
114
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* Generated by JsPbCodeGenerator.
|
|
120
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
121
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
122
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
123
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
124
|
+
* valid.
|
|
125
|
+
* @extends {jspb.Message}
|
|
126
|
+
* @constructor
|
|
127
|
+
*/
|
|
128
|
+
proto.GetBiddingByIdRequest = function(opt_data) {
|
|
129
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
130
|
+
};
|
|
131
|
+
goog.inherits(proto.GetBiddingByIdRequest, jspb.Message);
|
|
132
|
+
if (goog.DEBUG && !COMPILED) {
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
* @override
|
|
136
|
+
*/
|
|
137
|
+
proto.GetBiddingByIdRequest.displayName = 'proto.GetBiddingByIdRequest';
|
|
138
|
+
}
|
|
115
139
|
/**
|
|
116
140
|
* Generated by JsPbCodeGenerator.
|
|
117
141
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -133,6 +157,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
133
157
|
*/
|
|
134
158
|
proto.GetDetailBiddingByReferences.displayName = 'proto.GetDetailBiddingByReferences';
|
|
135
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Generated by JsPbCodeGenerator.
|
|
162
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
163
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
164
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
165
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
166
|
+
* valid.
|
|
167
|
+
* @extends {jspb.Message}
|
|
168
|
+
* @constructor
|
|
169
|
+
*/
|
|
170
|
+
proto.UpdateBiddingReq = function(opt_data) {
|
|
171
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
172
|
+
};
|
|
173
|
+
goog.inherits(proto.UpdateBiddingReq, jspb.Message);
|
|
174
|
+
if (goog.DEBUG && !COMPILED) {
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* @override
|
|
178
|
+
*/
|
|
179
|
+
proto.UpdateBiddingReq.displayName = 'proto.UpdateBiddingReq';
|
|
180
|
+
}
|
|
136
181
|
/**
|
|
137
182
|
* Generated by JsPbCodeGenerator.
|
|
138
183
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -175,6 +220,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
175
220
|
*/
|
|
176
221
|
proto.ResponseBidding.displayName = 'proto.ResponseBidding';
|
|
177
222
|
}
|
|
223
|
+
/**
|
|
224
|
+
* Generated by JsPbCodeGenerator.
|
|
225
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
226
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
227
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
228
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
229
|
+
* valid.
|
|
230
|
+
* @extends {jspb.Message}
|
|
231
|
+
* @constructor
|
|
232
|
+
*/
|
|
233
|
+
proto.GetBiddingByIdResponse = function(opt_data) {
|
|
234
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
235
|
+
};
|
|
236
|
+
goog.inherits(proto.GetBiddingByIdResponse, jspb.Message);
|
|
237
|
+
if (goog.DEBUG && !COMPILED) {
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
* @override
|
|
241
|
+
*/
|
|
242
|
+
proto.GetBiddingByIdResponse.displayName = 'proto.GetBiddingByIdResponse';
|
|
243
|
+
}
|
|
178
244
|
/**
|
|
179
245
|
* Generated by JsPbCodeGenerator.
|
|
180
246
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -318,7 +384,10 @@ createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
|
318
384
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
319
385
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
320
386
|
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
321
|
-
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f)
|
|
387
|
+
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
388
|
+
status: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
389
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
390
|
+
groupReferences: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
322
391
|
};
|
|
323
392
|
|
|
324
393
|
if (includeInstance) {
|
|
@@ -438,6 +507,18 @@ proto.Bidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
438
507
|
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
439
508
|
msg.setUpdatedByEmployee(value);
|
|
440
509
|
break;
|
|
510
|
+
case 21:
|
|
511
|
+
var value = /** @type {string} */ (reader.readString());
|
|
512
|
+
msg.setStatus(value);
|
|
513
|
+
break;
|
|
514
|
+
case 22:
|
|
515
|
+
var value = /** @type {string} */ (reader.readString());
|
|
516
|
+
msg.setCompaniesReferencesId(value);
|
|
517
|
+
break;
|
|
518
|
+
case 23:
|
|
519
|
+
var value = /** @type {string} */ (reader.readString());
|
|
520
|
+
msg.setGroupReferences(value);
|
|
521
|
+
break;
|
|
441
522
|
default:
|
|
442
523
|
reader.skipField();
|
|
443
524
|
break;
|
|
@@ -610,6 +691,27 @@ proto.Bidding.serializeBinaryToWriter = function(message, writer) {
|
|
|
610
691
|
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
611
692
|
);
|
|
612
693
|
}
|
|
694
|
+
f = message.getStatus();
|
|
695
|
+
if (f.length > 0) {
|
|
696
|
+
writer.writeString(
|
|
697
|
+
21,
|
|
698
|
+
f
|
|
699
|
+
);
|
|
700
|
+
}
|
|
701
|
+
f = message.getCompaniesReferencesId();
|
|
702
|
+
if (f.length > 0) {
|
|
703
|
+
writer.writeString(
|
|
704
|
+
22,
|
|
705
|
+
f
|
|
706
|
+
);
|
|
707
|
+
}
|
|
708
|
+
f = message.getGroupReferences();
|
|
709
|
+
if (f.length > 0) {
|
|
710
|
+
writer.writeString(
|
|
711
|
+
23,
|
|
712
|
+
f
|
|
713
|
+
);
|
|
714
|
+
}
|
|
613
715
|
};
|
|
614
716
|
|
|
615
717
|
|
|
@@ -1031,13 +1133,67 @@ proto.Bidding.prototype.hasUpdatedByEmployee = function() {
|
|
|
1031
1133
|
};
|
|
1032
1134
|
|
|
1033
1135
|
|
|
1136
|
+
/**
|
|
1137
|
+
* optional string status = 21;
|
|
1138
|
+
* @return {string}
|
|
1139
|
+
*/
|
|
1140
|
+
proto.Bidding.prototype.getStatus = function() {
|
|
1141
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* @param {string} value
|
|
1147
|
+
* @return {!proto.Bidding} returns this
|
|
1148
|
+
*/
|
|
1149
|
+
proto.Bidding.prototype.setStatus = function(value) {
|
|
1150
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* optional string companies_references_id = 22;
|
|
1156
|
+
* @return {string}
|
|
1157
|
+
*/
|
|
1158
|
+
proto.Bidding.prototype.getCompaniesReferencesId = function() {
|
|
1159
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* @param {string} value
|
|
1165
|
+
* @return {!proto.Bidding} returns this
|
|
1166
|
+
*/
|
|
1167
|
+
proto.Bidding.prototype.setCompaniesReferencesId = function(value) {
|
|
1168
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* optional string group_references = 23;
|
|
1174
|
+
* @return {string}
|
|
1175
|
+
*/
|
|
1176
|
+
proto.Bidding.prototype.getGroupReferences = function() {
|
|
1177
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* @param {string} value
|
|
1183
|
+
* @return {!proto.Bidding} returns this
|
|
1184
|
+
*/
|
|
1185
|
+
proto.Bidding.prototype.setGroupReferences = function(value) {
|
|
1186
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
|
|
1034
1190
|
|
|
1035
1191
|
/**
|
|
1036
1192
|
* List of repeated fields within this message type.
|
|
1037
1193
|
* @private {!Array<number>}
|
|
1038
1194
|
* @const
|
|
1039
1195
|
*/
|
|
1040
|
-
proto.RequestBiddingBase.repeatedFields_ = [13];
|
|
1196
|
+
proto.RequestBiddingBase.repeatedFields_ = [11,13];
|
|
1041
1197
|
|
|
1042
1198
|
|
|
1043
1199
|
|
|
@@ -1073,17 +1229,17 @@ proto.RequestBiddingBase.toObject = function(includeInstance, msg) {
|
|
|
1073
1229
|
biddingNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1074
1230
|
requestForQuotationReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1075
1231
|
requestForQuotationNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1076
|
-
department: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1077
1232
|
biddingStartDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1078
1233
|
biddingEndDate: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1079
1234
|
title: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1080
1235
|
termOfPayment: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1081
1236
|
maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1082
1237
|
remarks: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1083
|
-
|
|
1084
|
-
|
|
1238
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1239
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
1085
1240
|
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
1086
|
-
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance)
|
|
1241
|
+
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
|
|
1242
|
+
status: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
1087
1243
|
};
|
|
1088
1244
|
|
|
1089
1245
|
if (includeInstance) {
|
|
@@ -1132,10 +1288,6 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1132
1288
|
var value = /** @type {string} */ (reader.readString());
|
|
1133
1289
|
msg.setRequestForQuotationNumber(value);
|
|
1134
1290
|
break;
|
|
1135
|
-
case 4:
|
|
1136
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1137
|
-
msg.setDepartment(value);
|
|
1138
|
-
break;
|
|
1139
1291
|
case 5:
|
|
1140
1292
|
var value = /** @type {string} */ (reader.readString());
|
|
1141
1293
|
msg.setBiddingStartDate(value);
|
|
@@ -1161,19 +1313,19 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1161
1313
|
msg.setRemarks(value);
|
|
1162
1314
|
break;
|
|
1163
1315
|
case 11:
|
|
1164
|
-
var value =
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
case 12:
|
|
1168
|
-
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReq;
|
|
1169
|
-
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.deserializeBinaryFromReader);
|
|
1170
|
-
msg.setFiles(value);
|
|
1316
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
1317
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
1318
|
+
msg.addFiles(value);
|
|
1171
1319
|
break;
|
|
1172
1320
|
case 13:
|
|
1173
1321
|
var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
|
|
1174
1322
|
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
|
|
1175
1323
|
msg.addItemTransactions(value);
|
|
1176
1324
|
break;
|
|
1325
|
+
case 14:
|
|
1326
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1327
|
+
msg.setStatus(value);
|
|
1328
|
+
break;
|
|
1177
1329
|
default:
|
|
1178
1330
|
reader.skipField();
|
|
1179
1331
|
break;
|
|
@@ -1224,13 +1376,6 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
|
|
|
1224
1376
|
f
|
|
1225
1377
|
);
|
|
1226
1378
|
}
|
|
1227
|
-
f = message.getDepartment();
|
|
1228
|
-
if (f.length > 0) {
|
|
1229
|
-
writer.writeString(
|
|
1230
|
-
4,
|
|
1231
|
-
f
|
|
1232
|
-
);
|
|
1233
|
-
}
|
|
1234
1379
|
f = message.getBiddingStartDate();
|
|
1235
1380
|
if (f.length > 0) {
|
|
1236
1381
|
writer.writeString(
|
|
@@ -1273,19 +1418,12 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
|
|
|
1273
1418
|
f
|
|
1274
1419
|
);
|
|
1275
1420
|
}
|
|
1276
|
-
f = message.
|
|
1421
|
+
f = message.getFilesList();
|
|
1277
1422
|
if (f.length > 0) {
|
|
1278
|
-
writer.
|
|
1423
|
+
writer.writeRepeatedMessage(
|
|
1279
1424
|
11,
|
|
1280
|
-
f
|
|
1281
|
-
);
|
|
1282
|
-
}
|
|
1283
|
-
f = message.getFiles();
|
|
1284
|
-
if (f != null) {
|
|
1285
|
-
writer.writeMessage(
|
|
1286
|
-
12,
|
|
1287
1425
|
f,
|
|
1288
|
-
prisca_v1_core_file_upload_file_upload_pb.
|
|
1426
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
1289
1427
|
);
|
|
1290
1428
|
}
|
|
1291
1429
|
f = message.getItemTransactionsList();
|
|
@@ -1296,6 +1434,13 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
|
|
|
1296
1434
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
|
|
1297
1435
|
);
|
|
1298
1436
|
}
|
|
1437
|
+
f = message.getStatus();
|
|
1438
|
+
if (f.length > 0) {
|
|
1439
|
+
writer.writeString(
|
|
1440
|
+
14,
|
|
1441
|
+
f
|
|
1442
|
+
);
|
|
1443
|
+
}
|
|
1299
1444
|
};
|
|
1300
1445
|
|
|
1301
1446
|
|
|
@@ -1353,24 +1498,6 @@ proto.RequestBiddingBase.prototype.setRequestForQuotationNumber = function(value
|
|
|
1353
1498
|
};
|
|
1354
1499
|
|
|
1355
1500
|
|
|
1356
|
-
/**
|
|
1357
|
-
* optional string department = 4;
|
|
1358
|
-
* @return {string}
|
|
1359
|
-
*/
|
|
1360
|
-
proto.RequestBiddingBase.prototype.getDepartment = function() {
|
|
1361
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1362
|
-
};
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
/**
|
|
1366
|
-
* @param {string} value
|
|
1367
|
-
* @return {!proto.RequestBiddingBase} returns this
|
|
1368
|
-
*/
|
|
1369
|
-
proto.RequestBiddingBase.prototype.setDepartment = function(value) {
|
|
1370
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1371
|
-
};
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
1501
|
/**
|
|
1375
1502
|
* optional string bidding_start_date = 5;
|
|
1376
1503
|
* @return {string}
|
|
@@ -1480,57 +1607,40 @@ proto.RequestBiddingBase.prototype.setRemarks = function(value) {
|
|
|
1480
1607
|
|
|
1481
1608
|
|
|
1482
1609
|
/**
|
|
1483
|
-
*
|
|
1484
|
-
* @return {
|
|
1485
|
-
*/
|
|
1486
|
-
proto.RequestBiddingBase.prototype.getFileIds = function() {
|
|
1487
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1488
|
-
};
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* @param {string} value
|
|
1493
|
-
* @return {!proto.RequestBiddingBase} returns this
|
|
1494
|
-
*/
|
|
1495
|
-
proto.RequestBiddingBase.prototype.setFileIds = function(value) {
|
|
1496
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1497
|
-
};
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
/**
|
|
1501
|
-
* optional FileUploadReq files = 12;
|
|
1502
|
-
* @return {?proto.FileUploadReq}
|
|
1610
|
+
* repeated FileUploadReferencesReq files = 11;
|
|
1611
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
1503
1612
|
*/
|
|
1504
|
-
proto.RequestBiddingBase.prototype.
|
|
1505
|
-
return /** @type{
|
|
1506
|
-
jspb.Message.
|
|
1613
|
+
proto.RequestBiddingBase.prototype.getFilesList = function() {
|
|
1614
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
1615
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 11));
|
|
1507
1616
|
};
|
|
1508
1617
|
|
|
1509
1618
|
|
|
1510
1619
|
/**
|
|
1511
|
-
* @param {
|
|
1620
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
1512
1621
|
* @return {!proto.RequestBiddingBase} returns this
|
|
1513
1622
|
*/
|
|
1514
|
-
proto.RequestBiddingBase.prototype.
|
|
1515
|
-
return jspb.Message.
|
|
1623
|
+
proto.RequestBiddingBase.prototype.setFilesList = function(value) {
|
|
1624
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
1516
1625
|
};
|
|
1517
1626
|
|
|
1518
1627
|
|
|
1519
1628
|
/**
|
|
1520
|
-
*
|
|
1521
|
-
* @
|
|
1629
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
1630
|
+
* @param {number=} opt_index
|
|
1631
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
1522
1632
|
*/
|
|
1523
|
-
proto.RequestBiddingBase.prototype.
|
|
1524
|
-
return this.
|
|
1633
|
+
proto.RequestBiddingBase.prototype.addFiles = function(opt_value, opt_index) {
|
|
1634
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
1525
1635
|
};
|
|
1526
1636
|
|
|
1527
1637
|
|
|
1528
1638
|
/**
|
|
1529
|
-
*
|
|
1530
|
-
* @return {
|
|
1639
|
+
* Clears the list making it empty but non-null.
|
|
1640
|
+
* @return {!proto.RequestBiddingBase} returns this
|
|
1531
1641
|
*/
|
|
1532
|
-
proto.RequestBiddingBase.prototype.
|
|
1533
|
-
return
|
|
1642
|
+
proto.RequestBiddingBase.prototype.clearFilesList = function() {
|
|
1643
|
+
return this.setFilesList([]);
|
|
1534
1644
|
};
|
|
1535
1645
|
|
|
1536
1646
|
|
|
@@ -1572,6 +1682,24 @@ proto.RequestBiddingBase.prototype.clearItemTransactionsList = function() {
|
|
|
1572
1682
|
};
|
|
1573
1683
|
|
|
1574
1684
|
|
|
1685
|
+
/**
|
|
1686
|
+
* optional string status = 14;
|
|
1687
|
+
* @return {string}
|
|
1688
|
+
*/
|
|
1689
|
+
proto.RequestBiddingBase.prototype.getStatus = function() {
|
|
1690
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* @param {string} value
|
|
1696
|
+
* @return {!proto.RequestBiddingBase} returns this
|
|
1697
|
+
*/
|
|
1698
|
+
proto.RequestBiddingBase.prototype.setStatus = function(value) {
|
|
1699
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
1700
|
+
};
|
|
1701
|
+
|
|
1702
|
+
|
|
1575
1703
|
|
|
1576
1704
|
|
|
1577
1705
|
|
|
@@ -1739,8 +1867,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1739
1867
|
* http://goto/soy-param-migration
|
|
1740
1868
|
* @return {!Object}
|
|
1741
1869
|
*/
|
|
1742
|
-
proto.
|
|
1743
|
-
return proto.
|
|
1870
|
+
proto.GetBiddingByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1871
|
+
return proto.GetBiddingByIdRequest.toObject(opt_includeInstance, this);
|
|
1744
1872
|
};
|
|
1745
1873
|
|
|
1746
1874
|
|
|
@@ -1749,11 +1877,11 @@ proto.GetDetailBiddingByReferences.prototype.toObject = function(opt_includeInst
|
|
|
1749
1877
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1750
1878
|
* the JSPB instance for transitional soy proto support:
|
|
1751
1879
|
* http://goto/soy-param-migration
|
|
1752
|
-
* @param {!proto.
|
|
1880
|
+
* @param {!proto.GetBiddingByIdRequest} msg The msg instance to transform.
|
|
1753
1881
|
* @return {!Object}
|
|
1754
1882
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1755
1883
|
*/
|
|
1756
|
-
proto.
|
|
1884
|
+
proto.GetBiddingByIdRequest.toObject = function(includeInstance, msg) {
|
|
1757
1885
|
var f, obj = {
|
|
1758
1886
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1759
1887
|
};
|
|
@@ -1769,23 +1897,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
1769
1897
|
/**
|
|
1770
1898
|
* Deserializes binary data (in protobuf wire format).
|
|
1771
1899
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1772
|
-
* @return {!proto.
|
|
1900
|
+
* @return {!proto.GetBiddingByIdRequest}
|
|
1773
1901
|
*/
|
|
1774
|
-
proto.
|
|
1902
|
+
proto.GetBiddingByIdRequest.deserializeBinary = function(bytes) {
|
|
1775
1903
|
var reader = new jspb.BinaryReader(bytes);
|
|
1776
|
-
var msg = new proto.
|
|
1777
|
-
return proto.
|
|
1904
|
+
var msg = new proto.GetBiddingByIdRequest;
|
|
1905
|
+
return proto.GetBiddingByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
1778
1906
|
};
|
|
1779
1907
|
|
|
1780
1908
|
|
|
1781
1909
|
/**
|
|
1782
1910
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1783
1911
|
* given reader into the given message object.
|
|
1784
|
-
* @param {!proto.
|
|
1912
|
+
* @param {!proto.GetBiddingByIdRequest} msg The message object to deserialize into.
|
|
1785
1913
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1786
|
-
* @return {!proto.
|
|
1914
|
+
* @return {!proto.GetBiddingByIdRequest}
|
|
1787
1915
|
*/
|
|
1788
|
-
proto.
|
|
1916
|
+
proto.GetBiddingByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1789
1917
|
while (reader.nextField()) {
|
|
1790
1918
|
if (reader.isEndGroup()) {
|
|
1791
1919
|
break;
|
|
@@ -1809,9 +1937,9 @@ proto.GetDetailBiddingByReferences.deserializeBinaryFromReader = function(msg, r
|
|
|
1809
1937
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1810
1938
|
* @return {!Uint8Array}
|
|
1811
1939
|
*/
|
|
1812
|
-
proto.
|
|
1940
|
+
proto.GetBiddingByIdRequest.prototype.serializeBinary = function() {
|
|
1813
1941
|
var writer = new jspb.BinaryWriter();
|
|
1814
|
-
proto.
|
|
1942
|
+
proto.GetBiddingByIdRequest.serializeBinaryToWriter(this, writer);
|
|
1815
1943
|
return writer.getResultBuffer();
|
|
1816
1944
|
};
|
|
1817
1945
|
|
|
@@ -1819,11 +1947,11 @@ proto.GetDetailBiddingByReferences.prototype.serializeBinary = function() {
|
|
|
1819
1947
|
/**
|
|
1820
1948
|
* Serializes the given message to binary data (in protobuf wire
|
|
1821
1949
|
* format), writing to the given BinaryWriter.
|
|
1822
|
-
* @param {!proto.
|
|
1950
|
+
* @param {!proto.GetBiddingByIdRequest} message
|
|
1823
1951
|
* @param {!jspb.BinaryWriter} writer
|
|
1824
1952
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1825
1953
|
*/
|
|
1826
|
-
proto.
|
|
1954
|
+
proto.GetBiddingByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1827
1955
|
var f = undefined;
|
|
1828
1956
|
f = message.getReferencesId();
|
|
1829
1957
|
if (f.length > 0) {
|
|
@@ -1839,16 +1967,16 @@ proto.GetDetailBiddingByReferences.serializeBinaryToWriter = function(message, w
|
|
|
1839
1967
|
* optional string references_id = 1;
|
|
1840
1968
|
* @return {string}
|
|
1841
1969
|
*/
|
|
1842
|
-
proto.
|
|
1970
|
+
proto.GetBiddingByIdRequest.prototype.getReferencesId = function() {
|
|
1843
1971
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1844
1972
|
};
|
|
1845
1973
|
|
|
1846
1974
|
|
|
1847
1975
|
/**
|
|
1848
1976
|
* @param {string} value
|
|
1849
|
-
* @return {!proto.
|
|
1977
|
+
* @return {!proto.GetBiddingByIdRequest} returns this
|
|
1850
1978
|
*/
|
|
1851
|
-
proto.
|
|
1979
|
+
proto.GetBiddingByIdRequest.prototype.setReferencesId = function(value) {
|
|
1852
1980
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1853
1981
|
};
|
|
1854
1982
|
|
|
@@ -1869,8 +1997,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1869
1997
|
* http://goto/soy-param-migration
|
|
1870
1998
|
* @return {!Object}
|
|
1871
1999
|
*/
|
|
1872
|
-
proto.
|
|
1873
|
-
return proto.
|
|
2000
|
+
proto.GetDetailBiddingByReferences.prototype.toObject = function(opt_includeInstance) {
|
|
2001
|
+
return proto.GetDetailBiddingByReferences.toObject(opt_includeInstance, this);
|
|
1874
2002
|
};
|
|
1875
2003
|
|
|
1876
2004
|
|
|
@@ -1879,14 +2007,13 @@ proto.RequestGetListBidding.prototype.toObject = function(opt_includeInstance) {
|
|
|
1879
2007
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1880
2008
|
* the JSPB instance for transitional soy proto support:
|
|
1881
2009
|
* http://goto/soy-param-migration
|
|
1882
|
-
* @param {!proto.
|
|
2010
|
+
* @param {!proto.GetDetailBiddingByReferences} msg The msg instance to transform.
|
|
1883
2011
|
* @return {!Object}
|
|
1884
2012
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1885
2013
|
*/
|
|
1886
|
-
proto.
|
|
2014
|
+
proto.GetDetailBiddingByReferences.toObject = function(includeInstance, msg) {
|
|
1887
2015
|
var f, obj = {
|
|
1888
|
-
|
|
1889
|
-
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
2016
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1890
2017
|
};
|
|
1891
2018
|
|
|
1892
2019
|
if (includeInstance) {
|
|
@@ -1900,23 +2027,23 @@ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObj
|
|
|
1900
2027
|
/**
|
|
1901
2028
|
* Deserializes binary data (in protobuf wire format).
|
|
1902
2029
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1903
|
-
* @return {!proto.
|
|
2030
|
+
* @return {!proto.GetDetailBiddingByReferences}
|
|
1904
2031
|
*/
|
|
1905
|
-
proto.
|
|
2032
|
+
proto.GetDetailBiddingByReferences.deserializeBinary = function(bytes) {
|
|
1906
2033
|
var reader = new jspb.BinaryReader(bytes);
|
|
1907
|
-
var msg = new proto.
|
|
1908
|
-
return proto.
|
|
2034
|
+
var msg = new proto.GetDetailBiddingByReferences;
|
|
2035
|
+
return proto.GetDetailBiddingByReferences.deserializeBinaryFromReader(msg, reader);
|
|
1909
2036
|
};
|
|
1910
2037
|
|
|
1911
2038
|
|
|
1912
2039
|
/**
|
|
1913
2040
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1914
2041
|
* given reader into the given message object.
|
|
1915
|
-
* @param {!proto.
|
|
2042
|
+
* @param {!proto.GetDetailBiddingByReferences} msg The message object to deserialize into.
|
|
1916
2043
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1917
|
-
* @return {!proto.
|
|
2044
|
+
* @return {!proto.GetDetailBiddingByReferences}
|
|
1918
2045
|
*/
|
|
1919
|
-
proto.
|
|
2046
|
+
proto.GetDetailBiddingByReferences.deserializeBinaryFromReader = function(msg, reader) {
|
|
1920
2047
|
while (reader.nextField()) {
|
|
1921
2048
|
if (reader.isEndGroup()) {
|
|
1922
2049
|
break;
|
|
@@ -1924,14 +2051,8 @@ proto.RequestGetListBidding.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1924
2051
|
var field = reader.getFieldNumber();
|
|
1925
2052
|
switch (field) {
|
|
1926
2053
|
case 1:
|
|
1927
|
-
var value =
|
|
1928
|
-
|
|
1929
|
-
msg.setPagination(value);
|
|
1930
|
-
break;
|
|
1931
|
-
case 2:
|
|
1932
|
-
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
1933
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
1934
|
-
msg.setQuery(value);
|
|
2054
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2055
|
+
msg.setReferencesId(value);
|
|
1935
2056
|
break;
|
|
1936
2057
|
default:
|
|
1937
2058
|
reader.skipField();
|
|
@@ -1946,9 +2067,9 @@ proto.RequestGetListBidding.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1946
2067
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1947
2068
|
* @return {!Uint8Array}
|
|
1948
2069
|
*/
|
|
1949
|
-
proto.
|
|
2070
|
+
proto.GetDetailBiddingByReferences.prototype.serializeBinary = function() {
|
|
1950
2071
|
var writer = new jspb.BinaryWriter();
|
|
1951
|
-
proto.
|
|
2072
|
+
proto.GetDetailBiddingByReferences.serializeBinaryToWriter(this, writer);
|
|
1952
2073
|
return writer.getResultBuffer();
|
|
1953
2074
|
};
|
|
1954
2075
|
|
|
@@ -1956,7 +2077,325 @@ proto.RequestGetListBidding.prototype.serializeBinary = function() {
|
|
|
1956
2077
|
/**
|
|
1957
2078
|
* Serializes the given message to binary data (in protobuf wire
|
|
1958
2079
|
* format), writing to the given BinaryWriter.
|
|
1959
|
-
* @param {!proto.
|
|
2080
|
+
* @param {!proto.GetDetailBiddingByReferences} message
|
|
2081
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2082
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2083
|
+
*/
|
|
2084
|
+
proto.GetDetailBiddingByReferences.serializeBinaryToWriter = function(message, writer) {
|
|
2085
|
+
var f = undefined;
|
|
2086
|
+
f = message.getReferencesId();
|
|
2087
|
+
if (f.length > 0) {
|
|
2088
|
+
writer.writeString(
|
|
2089
|
+
1,
|
|
2090
|
+
f
|
|
2091
|
+
);
|
|
2092
|
+
}
|
|
2093
|
+
};
|
|
2094
|
+
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* optional string references_id = 1;
|
|
2098
|
+
* @return {string}
|
|
2099
|
+
*/
|
|
2100
|
+
proto.GetDetailBiddingByReferences.prototype.getReferencesId = function() {
|
|
2101
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2102
|
+
};
|
|
2103
|
+
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* @param {string} value
|
|
2107
|
+
* @return {!proto.GetDetailBiddingByReferences} returns this
|
|
2108
|
+
*/
|
|
2109
|
+
proto.GetDetailBiddingByReferences.prototype.setReferencesId = function(value) {
|
|
2110
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2111
|
+
};
|
|
2112
|
+
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2118
|
+
/**
|
|
2119
|
+
* Creates an object representation of this proto.
|
|
2120
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2121
|
+
* Optional fields that are not set will be set to undefined.
|
|
2122
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2123
|
+
* For the list of reserved names please see:
|
|
2124
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2125
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2126
|
+
* JSPB instance for transitional soy proto support:
|
|
2127
|
+
* http://goto/soy-param-migration
|
|
2128
|
+
* @return {!Object}
|
|
2129
|
+
*/
|
|
2130
|
+
proto.UpdateBiddingReq.prototype.toObject = function(opt_includeInstance) {
|
|
2131
|
+
return proto.UpdateBiddingReq.toObject(opt_includeInstance, this);
|
|
2132
|
+
};
|
|
2133
|
+
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* Static version of the {@see toObject} method.
|
|
2137
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2138
|
+
* the JSPB instance for transitional soy proto support:
|
|
2139
|
+
* http://goto/soy-param-migration
|
|
2140
|
+
* @param {!proto.UpdateBiddingReq} msg The msg instance to transform.
|
|
2141
|
+
* @return {!Object}
|
|
2142
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2143
|
+
*/
|
|
2144
|
+
proto.UpdateBiddingReq.toObject = function(includeInstance, msg) {
|
|
2145
|
+
var f, obj = {
|
|
2146
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2147
|
+
requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObject(includeInstance, f)
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
if (includeInstance) {
|
|
2151
|
+
obj.$jspbMessageInstance = msg;
|
|
2152
|
+
}
|
|
2153
|
+
return obj;
|
|
2154
|
+
};
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2160
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2161
|
+
* @return {!proto.UpdateBiddingReq}
|
|
2162
|
+
*/
|
|
2163
|
+
proto.UpdateBiddingReq.deserializeBinary = function(bytes) {
|
|
2164
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2165
|
+
var msg = new proto.UpdateBiddingReq;
|
|
2166
|
+
return proto.UpdateBiddingReq.deserializeBinaryFromReader(msg, reader);
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2172
|
+
* given reader into the given message object.
|
|
2173
|
+
* @param {!proto.UpdateBiddingReq} msg The message object to deserialize into.
|
|
2174
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2175
|
+
* @return {!proto.UpdateBiddingReq}
|
|
2176
|
+
*/
|
|
2177
|
+
proto.UpdateBiddingReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
2178
|
+
while (reader.nextField()) {
|
|
2179
|
+
if (reader.isEndGroup()) {
|
|
2180
|
+
break;
|
|
2181
|
+
}
|
|
2182
|
+
var field = reader.getFieldNumber();
|
|
2183
|
+
switch (field) {
|
|
2184
|
+
case 1:
|
|
2185
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2186
|
+
msg.setReferencesId(value);
|
|
2187
|
+
break;
|
|
2188
|
+
case 2:
|
|
2189
|
+
var value = new proto.RequestBiddingBase;
|
|
2190
|
+
reader.readMessage(value,proto.RequestBiddingBase.deserializeBinaryFromReader);
|
|
2191
|
+
msg.setRequestBidding(value);
|
|
2192
|
+
break;
|
|
2193
|
+
default:
|
|
2194
|
+
reader.skipField();
|
|
2195
|
+
break;
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
return msg;
|
|
2199
|
+
};
|
|
2200
|
+
|
|
2201
|
+
|
|
2202
|
+
/**
|
|
2203
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2204
|
+
* @return {!Uint8Array}
|
|
2205
|
+
*/
|
|
2206
|
+
proto.UpdateBiddingReq.prototype.serializeBinary = function() {
|
|
2207
|
+
var writer = new jspb.BinaryWriter();
|
|
2208
|
+
proto.UpdateBiddingReq.serializeBinaryToWriter(this, writer);
|
|
2209
|
+
return writer.getResultBuffer();
|
|
2210
|
+
};
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2215
|
+
* format), writing to the given BinaryWriter.
|
|
2216
|
+
* @param {!proto.UpdateBiddingReq} message
|
|
2217
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2218
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2219
|
+
*/
|
|
2220
|
+
proto.UpdateBiddingReq.serializeBinaryToWriter = function(message, writer) {
|
|
2221
|
+
var f = undefined;
|
|
2222
|
+
f = message.getReferencesId();
|
|
2223
|
+
if (f.length > 0) {
|
|
2224
|
+
writer.writeString(
|
|
2225
|
+
1,
|
|
2226
|
+
f
|
|
2227
|
+
);
|
|
2228
|
+
}
|
|
2229
|
+
f = message.getRequestBidding();
|
|
2230
|
+
if (f != null) {
|
|
2231
|
+
writer.writeMessage(
|
|
2232
|
+
2,
|
|
2233
|
+
f,
|
|
2234
|
+
proto.RequestBiddingBase.serializeBinaryToWriter
|
|
2235
|
+
);
|
|
2236
|
+
}
|
|
2237
|
+
};
|
|
2238
|
+
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* optional string references_id = 1;
|
|
2242
|
+
* @return {string}
|
|
2243
|
+
*/
|
|
2244
|
+
proto.UpdateBiddingReq.prototype.getReferencesId = function() {
|
|
2245
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2246
|
+
};
|
|
2247
|
+
|
|
2248
|
+
|
|
2249
|
+
/**
|
|
2250
|
+
* @param {string} value
|
|
2251
|
+
* @return {!proto.UpdateBiddingReq} returns this
|
|
2252
|
+
*/
|
|
2253
|
+
proto.UpdateBiddingReq.prototype.setReferencesId = function(value) {
|
|
2254
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2255
|
+
};
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* optional RequestBiddingBase request_bidding = 2;
|
|
2260
|
+
* @return {?proto.RequestBiddingBase}
|
|
2261
|
+
*/
|
|
2262
|
+
proto.UpdateBiddingReq.prototype.getRequestBidding = function() {
|
|
2263
|
+
return /** @type{?proto.RequestBiddingBase} */ (
|
|
2264
|
+
jspb.Message.getWrapperField(this, proto.RequestBiddingBase, 2));
|
|
2265
|
+
};
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* @param {?proto.RequestBiddingBase|undefined} value
|
|
2270
|
+
* @return {!proto.UpdateBiddingReq} returns this
|
|
2271
|
+
*/
|
|
2272
|
+
proto.UpdateBiddingReq.prototype.setRequestBidding = function(value) {
|
|
2273
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* Clears the message field making it undefined.
|
|
2279
|
+
* @return {!proto.UpdateBiddingReq} returns this
|
|
2280
|
+
*/
|
|
2281
|
+
proto.UpdateBiddingReq.prototype.clearRequestBidding = function() {
|
|
2282
|
+
return this.setRequestBidding(undefined);
|
|
2283
|
+
};
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
/**
|
|
2287
|
+
* Returns whether this field is set.
|
|
2288
|
+
* @return {boolean}
|
|
2289
|
+
*/
|
|
2290
|
+
proto.UpdateBiddingReq.prototype.hasRequestBidding = function() {
|
|
2291
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2299
|
+
/**
|
|
2300
|
+
* Creates an object representation of this proto.
|
|
2301
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2302
|
+
* Optional fields that are not set will be set to undefined.
|
|
2303
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2304
|
+
* For the list of reserved names please see:
|
|
2305
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2306
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2307
|
+
* JSPB instance for transitional soy proto support:
|
|
2308
|
+
* http://goto/soy-param-migration
|
|
2309
|
+
* @return {!Object}
|
|
2310
|
+
*/
|
|
2311
|
+
proto.RequestGetListBidding.prototype.toObject = function(opt_includeInstance) {
|
|
2312
|
+
return proto.RequestGetListBidding.toObject(opt_includeInstance, this);
|
|
2313
|
+
};
|
|
2314
|
+
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* Static version of the {@see toObject} method.
|
|
2318
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2319
|
+
* the JSPB instance for transitional soy proto support:
|
|
2320
|
+
* http://goto/soy-param-migration
|
|
2321
|
+
* @param {!proto.RequestGetListBidding} msg The msg instance to transform.
|
|
2322
|
+
* @return {!Object}
|
|
2323
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2324
|
+
*/
|
|
2325
|
+
proto.RequestGetListBidding.toObject = function(includeInstance, msg) {
|
|
2326
|
+
var f, obj = {
|
|
2327
|
+
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2328
|
+
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
2329
|
+
};
|
|
2330
|
+
|
|
2331
|
+
if (includeInstance) {
|
|
2332
|
+
obj.$jspbMessageInstance = msg;
|
|
2333
|
+
}
|
|
2334
|
+
return obj;
|
|
2335
|
+
};
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
/**
|
|
2340
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2341
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2342
|
+
* @return {!proto.RequestGetListBidding}
|
|
2343
|
+
*/
|
|
2344
|
+
proto.RequestGetListBidding.deserializeBinary = function(bytes) {
|
|
2345
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2346
|
+
var msg = new proto.RequestGetListBidding;
|
|
2347
|
+
return proto.RequestGetListBidding.deserializeBinaryFromReader(msg, reader);
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2353
|
+
* given reader into the given message object.
|
|
2354
|
+
* @param {!proto.RequestGetListBidding} msg The message object to deserialize into.
|
|
2355
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2356
|
+
* @return {!proto.RequestGetListBidding}
|
|
2357
|
+
*/
|
|
2358
|
+
proto.RequestGetListBidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
2359
|
+
while (reader.nextField()) {
|
|
2360
|
+
if (reader.isEndGroup()) {
|
|
2361
|
+
break;
|
|
2362
|
+
}
|
|
2363
|
+
var field = reader.getFieldNumber();
|
|
2364
|
+
switch (field) {
|
|
2365
|
+
case 1:
|
|
2366
|
+
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2367
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2368
|
+
msg.setPagination(value);
|
|
2369
|
+
break;
|
|
2370
|
+
case 2:
|
|
2371
|
+
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
2372
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
2373
|
+
msg.setQuery(value);
|
|
2374
|
+
break;
|
|
2375
|
+
default:
|
|
2376
|
+
reader.skipField();
|
|
2377
|
+
break;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
return msg;
|
|
2381
|
+
};
|
|
2382
|
+
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2386
|
+
* @return {!Uint8Array}
|
|
2387
|
+
*/
|
|
2388
|
+
proto.RequestGetListBidding.prototype.serializeBinary = function() {
|
|
2389
|
+
var writer = new jspb.BinaryWriter();
|
|
2390
|
+
proto.RequestGetListBidding.serializeBinaryToWriter(this, writer);
|
|
2391
|
+
return writer.getResultBuffer();
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
/**
|
|
2396
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2397
|
+
* format), writing to the given BinaryWriter.
|
|
2398
|
+
* @param {!proto.RequestGetListBidding} message
|
|
1960
2399
|
* @param {!jspb.BinaryWriter} writer
|
|
1961
2400
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1962
2401
|
*/
|
|
@@ -2260,6 +2699,208 @@ proto.ResponseBidding.prototype.hasMeta = function() {
|
|
|
2260
2699
|
|
|
2261
2700
|
|
|
2262
2701
|
|
|
2702
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2703
|
+
/**
|
|
2704
|
+
* Creates an object representation of this proto.
|
|
2705
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2706
|
+
* Optional fields that are not set will be set to undefined.
|
|
2707
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2708
|
+
* For the list of reserved names please see:
|
|
2709
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2710
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2711
|
+
* JSPB instance for transitional soy proto support:
|
|
2712
|
+
* http://goto/soy-param-migration
|
|
2713
|
+
* @return {!Object}
|
|
2714
|
+
*/
|
|
2715
|
+
proto.GetBiddingByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2716
|
+
return proto.GetBiddingByIdResponse.toObject(opt_includeInstance, this);
|
|
2717
|
+
};
|
|
2718
|
+
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* Static version of the {@see toObject} method.
|
|
2722
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2723
|
+
* the JSPB instance for transitional soy proto support:
|
|
2724
|
+
* http://goto/soy-param-migration
|
|
2725
|
+
* @param {!proto.GetBiddingByIdResponse} msg The msg instance to transform.
|
|
2726
|
+
* @return {!Object}
|
|
2727
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2728
|
+
*/
|
|
2729
|
+
proto.GetBiddingByIdResponse.toObject = function(includeInstance, msg) {
|
|
2730
|
+
var f, obj = {
|
|
2731
|
+
bidding: (f = msg.getBidding()) && proto.Bidding.toObject(includeInstance, f),
|
|
2732
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2733
|
+
};
|
|
2734
|
+
|
|
2735
|
+
if (includeInstance) {
|
|
2736
|
+
obj.$jspbMessageInstance = msg;
|
|
2737
|
+
}
|
|
2738
|
+
return obj;
|
|
2739
|
+
};
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
/**
|
|
2744
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2745
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2746
|
+
* @return {!proto.GetBiddingByIdResponse}
|
|
2747
|
+
*/
|
|
2748
|
+
proto.GetBiddingByIdResponse.deserializeBinary = function(bytes) {
|
|
2749
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2750
|
+
var msg = new proto.GetBiddingByIdResponse;
|
|
2751
|
+
return proto.GetBiddingByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
/**
|
|
2756
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2757
|
+
* given reader into the given message object.
|
|
2758
|
+
* @param {!proto.GetBiddingByIdResponse} msg The message object to deserialize into.
|
|
2759
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2760
|
+
* @return {!proto.GetBiddingByIdResponse}
|
|
2761
|
+
*/
|
|
2762
|
+
proto.GetBiddingByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2763
|
+
while (reader.nextField()) {
|
|
2764
|
+
if (reader.isEndGroup()) {
|
|
2765
|
+
break;
|
|
2766
|
+
}
|
|
2767
|
+
var field = reader.getFieldNumber();
|
|
2768
|
+
switch (field) {
|
|
2769
|
+
case 1:
|
|
2770
|
+
var value = new proto.Bidding;
|
|
2771
|
+
reader.readMessage(value,proto.Bidding.deserializeBinaryFromReader);
|
|
2772
|
+
msg.setBidding(value);
|
|
2773
|
+
break;
|
|
2774
|
+
case 2:
|
|
2775
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2776
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2777
|
+
msg.setMeta(value);
|
|
2778
|
+
break;
|
|
2779
|
+
default:
|
|
2780
|
+
reader.skipField();
|
|
2781
|
+
break;
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
return msg;
|
|
2785
|
+
};
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
/**
|
|
2789
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2790
|
+
* @return {!Uint8Array}
|
|
2791
|
+
*/
|
|
2792
|
+
proto.GetBiddingByIdResponse.prototype.serializeBinary = function() {
|
|
2793
|
+
var writer = new jspb.BinaryWriter();
|
|
2794
|
+
proto.GetBiddingByIdResponse.serializeBinaryToWriter(this, writer);
|
|
2795
|
+
return writer.getResultBuffer();
|
|
2796
|
+
};
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
/**
|
|
2800
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2801
|
+
* format), writing to the given BinaryWriter.
|
|
2802
|
+
* @param {!proto.GetBiddingByIdResponse} message
|
|
2803
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2804
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2805
|
+
*/
|
|
2806
|
+
proto.GetBiddingByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2807
|
+
var f = undefined;
|
|
2808
|
+
f = message.getBidding();
|
|
2809
|
+
if (f != null) {
|
|
2810
|
+
writer.writeMessage(
|
|
2811
|
+
1,
|
|
2812
|
+
f,
|
|
2813
|
+
proto.Bidding.serializeBinaryToWriter
|
|
2814
|
+
);
|
|
2815
|
+
}
|
|
2816
|
+
f = message.getMeta();
|
|
2817
|
+
if (f != null) {
|
|
2818
|
+
writer.writeMessage(
|
|
2819
|
+
2,
|
|
2820
|
+
f,
|
|
2821
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2822
|
+
);
|
|
2823
|
+
}
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* optional Bidding bidding = 1;
|
|
2829
|
+
* @return {?proto.Bidding}
|
|
2830
|
+
*/
|
|
2831
|
+
proto.GetBiddingByIdResponse.prototype.getBidding = function() {
|
|
2832
|
+
return /** @type{?proto.Bidding} */ (
|
|
2833
|
+
jspb.Message.getWrapperField(this, proto.Bidding, 1));
|
|
2834
|
+
};
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* @param {?proto.Bidding|undefined} value
|
|
2839
|
+
* @return {!proto.GetBiddingByIdResponse} returns this
|
|
2840
|
+
*/
|
|
2841
|
+
proto.GetBiddingByIdResponse.prototype.setBidding = function(value) {
|
|
2842
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2843
|
+
};
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Clears the message field making it undefined.
|
|
2848
|
+
* @return {!proto.GetBiddingByIdResponse} returns this
|
|
2849
|
+
*/
|
|
2850
|
+
proto.GetBiddingByIdResponse.prototype.clearBidding = function() {
|
|
2851
|
+
return this.setBidding(undefined);
|
|
2852
|
+
};
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* Returns whether this field is set.
|
|
2857
|
+
* @return {boolean}
|
|
2858
|
+
*/
|
|
2859
|
+
proto.GetBiddingByIdResponse.prototype.hasBidding = function() {
|
|
2860
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2861
|
+
};
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2866
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2867
|
+
*/
|
|
2868
|
+
proto.GetBiddingByIdResponse.prototype.getMeta = function() {
|
|
2869
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2870
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2871
|
+
};
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2876
|
+
* @return {!proto.GetBiddingByIdResponse} returns this
|
|
2877
|
+
*/
|
|
2878
|
+
proto.GetBiddingByIdResponse.prototype.setMeta = function(value) {
|
|
2879
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2880
|
+
};
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
/**
|
|
2884
|
+
* Clears the message field making it undefined.
|
|
2885
|
+
* @return {!proto.GetBiddingByIdResponse} returns this
|
|
2886
|
+
*/
|
|
2887
|
+
proto.GetBiddingByIdResponse.prototype.clearMeta = function() {
|
|
2888
|
+
return this.setMeta(undefined);
|
|
2889
|
+
};
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* Returns whether this field is set.
|
|
2894
|
+
* @return {boolean}
|
|
2895
|
+
*/
|
|
2896
|
+
proto.GetBiddingByIdResponse.prototype.hasMeta = function() {
|
|
2897
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2898
|
+
};
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2263
2904
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2264
2905
|
/**
|
|
2265
2906
|
* Creates an object representation of this proto.
|