@aldiokta/protocgen 1.1.25 → 1.1.27
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 +22 -0
- package/prisca/v1/bidding/bidding_pb.js +421 -3
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +33 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +385 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +102 -3
- package/prisca/v1/core/auth/auth_pb.js +2602 -1054
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +2036 -816
- package/prisca/v1/core/messaging/notification_grpc_pb.js +188 -0
- package/prisca/v1/core/messaging/notification_pb.js +2780 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +62 -2
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +31 -1
- package/prisca/v1/delivery_order/delivery_order_pb.js +109 -49
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +227 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +4525 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +121 -1
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +31 -1
- package/prisca/v1/quotation/quotation_pb.js +130 -10
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +55 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +609 -0
|
@@ -44,10 +44,13 @@ goog.exportSymbol('proto.GetVendorDetailResponse', null, global);
|
|
|
44
44
|
goog.exportSymbol('proto.GetVendorItemDetailPreload', null, global);
|
|
45
45
|
goog.exportSymbol('proto.GetVendorItemPreload', null, global);
|
|
46
46
|
goog.exportSymbol('proto.GetVendorProfileRequest', null, global);
|
|
47
|
+
goog.exportSymbol('proto.RegisterVendorRequest', null, global);
|
|
48
|
+
goog.exportSymbol('proto.RegisterVendorResponse', null, global);
|
|
47
49
|
goog.exportSymbol('proto.Relationship', null, global);
|
|
48
50
|
goog.exportSymbol('proto.TaxInformation', null, global);
|
|
49
51
|
goog.exportSymbol('proto.UpdateVendorRequest', null, global);
|
|
50
52
|
goog.exportSymbol('proto.UpdateVendorResponse', null, global);
|
|
53
|
+
goog.exportSymbol('proto.UpdateVendorStatusRequest', null, global);
|
|
51
54
|
goog.exportSymbol('proto.Vendor', null, global);
|
|
52
55
|
/**
|
|
53
56
|
* Generated by JsPbCodeGenerator.
|
|
@@ -238,6 +241,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
238
241
|
*/
|
|
239
242
|
proto.CreateVendorRequest.displayName = 'proto.CreateVendorRequest';
|
|
240
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Generated by JsPbCodeGenerator.
|
|
246
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
247
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
248
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
249
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
250
|
+
* valid.
|
|
251
|
+
* @extends {jspb.Message}
|
|
252
|
+
* @constructor
|
|
253
|
+
*/
|
|
254
|
+
proto.UpdateVendorStatusRequest = function(opt_data) {
|
|
255
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
256
|
+
};
|
|
257
|
+
goog.inherits(proto.UpdateVendorStatusRequest, jspb.Message);
|
|
258
|
+
if (goog.DEBUG && !COMPILED) {
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
* @override
|
|
262
|
+
*/
|
|
263
|
+
proto.UpdateVendorStatusRequest.displayName = 'proto.UpdateVendorStatusRequest';
|
|
264
|
+
}
|
|
241
265
|
/**
|
|
242
266
|
* Generated by JsPbCodeGenerator.
|
|
243
267
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -511,6 +535,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
511
535
|
*/
|
|
512
536
|
proto.GetVendorItemDetailPreload.displayName = 'proto.GetVendorItemDetailPreload';
|
|
513
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Generated by JsPbCodeGenerator.
|
|
540
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
541
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
542
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
543
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
544
|
+
* valid.
|
|
545
|
+
* @extends {jspb.Message}
|
|
546
|
+
* @constructor
|
|
547
|
+
*/
|
|
548
|
+
proto.RegisterVendorRequest = function(opt_data) {
|
|
549
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
550
|
+
};
|
|
551
|
+
goog.inherits(proto.RegisterVendorRequest, jspb.Message);
|
|
552
|
+
if (goog.DEBUG && !COMPILED) {
|
|
553
|
+
/**
|
|
554
|
+
* @public
|
|
555
|
+
* @override
|
|
556
|
+
*/
|
|
557
|
+
proto.RegisterVendorRequest.displayName = 'proto.RegisterVendorRequest';
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Generated by JsPbCodeGenerator.
|
|
561
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
562
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
563
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
564
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
565
|
+
* valid.
|
|
566
|
+
* @extends {jspb.Message}
|
|
567
|
+
* @constructor
|
|
568
|
+
*/
|
|
569
|
+
proto.RegisterVendorResponse = function(opt_data) {
|
|
570
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
571
|
+
};
|
|
572
|
+
goog.inherits(proto.RegisterVendorResponse, jspb.Message);
|
|
573
|
+
if (goog.DEBUG && !COMPILED) {
|
|
574
|
+
/**
|
|
575
|
+
* @public
|
|
576
|
+
* @override
|
|
577
|
+
*/
|
|
578
|
+
proto.RegisterVendorResponse.displayName = 'proto.RegisterVendorResponse';
|
|
579
|
+
}
|
|
514
580
|
|
|
515
581
|
/**
|
|
516
582
|
* List of repeated fields within this message type.
|
|
@@ -4035,6 +4101,166 @@ proto.CreateVendorRequest.prototype.hasBaseVendor = function() {
|
|
|
4035
4101
|
|
|
4036
4102
|
|
|
4037
4103
|
|
|
4104
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4105
|
+
/**
|
|
4106
|
+
* Creates an object representation of this proto.
|
|
4107
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4108
|
+
* Optional fields that are not set will be set to undefined.
|
|
4109
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4110
|
+
* For the list of reserved names please see:
|
|
4111
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4112
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4113
|
+
* JSPB instance for transitional soy proto support:
|
|
4114
|
+
* http://goto/soy-param-migration
|
|
4115
|
+
* @return {!Object}
|
|
4116
|
+
*/
|
|
4117
|
+
proto.UpdateVendorStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4118
|
+
return proto.UpdateVendorStatusRequest.toObject(opt_includeInstance, this);
|
|
4119
|
+
};
|
|
4120
|
+
|
|
4121
|
+
|
|
4122
|
+
/**
|
|
4123
|
+
* Static version of the {@see toObject} method.
|
|
4124
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4125
|
+
* the JSPB instance for transitional soy proto support:
|
|
4126
|
+
* http://goto/soy-param-migration
|
|
4127
|
+
* @param {!proto.UpdateVendorStatusRequest} msg The msg instance to transform.
|
|
4128
|
+
* @return {!Object}
|
|
4129
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4130
|
+
*/
|
|
4131
|
+
proto.UpdateVendorStatusRequest.toObject = function(includeInstance, msg) {
|
|
4132
|
+
var f, obj = {
|
|
4133
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4134
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4135
|
+
};
|
|
4136
|
+
|
|
4137
|
+
if (includeInstance) {
|
|
4138
|
+
obj.$jspbMessageInstance = msg;
|
|
4139
|
+
}
|
|
4140
|
+
return obj;
|
|
4141
|
+
};
|
|
4142
|
+
}
|
|
4143
|
+
|
|
4144
|
+
|
|
4145
|
+
/**
|
|
4146
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4147
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4148
|
+
* @return {!proto.UpdateVendorStatusRequest}
|
|
4149
|
+
*/
|
|
4150
|
+
proto.UpdateVendorStatusRequest.deserializeBinary = function(bytes) {
|
|
4151
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4152
|
+
var msg = new proto.UpdateVendorStatusRequest;
|
|
4153
|
+
return proto.UpdateVendorStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
4154
|
+
};
|
|
4155
|
+
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4159
|
+
* given reader into the given message object.
|
|
4160
|
+
* @param {!proto.UpdateVendorStatusRequest} msg The message object to deserialize into.
|
|
4161
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4162
|
+
* @return {!proto.UpdateVendorStatusRequest}
|
|
4163
|
+
*/
|
|
4164
|
+
proto.UpdateVendorStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4165
|
+
while (reader.nextField()) {
|
|
4166
|
+
if (reader.isEndGroup()) {
|
|
4167
|
+
break;
|
|
4168
|
+
}
|
|
4169
|
+
var field = reader.getFieldNumber();
|
|
4170
|
+
switch (field) {
|
|
4171
|
+
case 1:
|
|
4172
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4173
|
+
msg.setStatus(value);
|
|
4174
|
+
break;
|
|
4175
|
+
case 2:
|
|
4176
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4177
|
+
msg.setReferencesId(value);
|
|
4178
|
+
break;
|
|
4179
|
+
default:
|
|
4180
|
+
reader.skipField();
|
|
4181
|
+
break;
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4184
|
+
return msg;
|
|
4185
|
+
};
|
|
4186
|
+
|
|
4187
|
+
|
|
4188
|
+
/**
|
|
4189
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4190
|
+
* @return {!Uint8Array}
|
|
4191
|
+
*/
|
|
4192
|
+
proto.UpdateVendorStatusRequest.prototype.serializeBinary = function() {
|
|
4193
|
+
var writer = new jspb.BinaryWriter();
|
|
4194
|
+
proto.UpdateVendorStatusRequest.serializeBinaryToWriter(this, writer);
|
|
4195
|
+
return writer.getResultBuffer();
|
|
4196
|
+
};
|
|
4197
|
+
|
|
4198
|
+
|
|
4199
|
+
/**
|
|
4200
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4201
|
+
* format), writing to the given BinaryWriter.
|
|
4202
|
+
* @param {!proto.UpdateVendorStatusRequest} message
|
|
4203
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4204
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4205
|
+
*/
|
|
4206
|
+
proto.UpdateVendorStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4207
|
+
var f = undefined;
|
|
4208
|
+
f = message.getStatus();
|
|
4209
|
+
if (f.length > 0) {
|
|
4210
|
+
writer.writeString(
|
|
4211
|
+
1,
|
|
4212
|
+
f
|
|
4213
|
+
);
|
|
4214
|
+
}
|
|
4215
|
+
f = message.getReferencesId();
|
|
4216
|
+
if (f.length > 0) {
|
|
4217
|
+
writer.writeString(
|
|
4218
|
+
2,
|
|
4219
|
+
f
|
|
4220
|
+
);
|
|
4221
|
+
}
|
|
4222
|
+
};
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
/**
|
|
4226
|
+
* optional string status = 1;
|
|
4227
|
+
* @return {string}
|
|
4228
|
+
*/
|
|
4229
|
+
proto.UpdateVendorStatusRequest.prototype.getStatus = function() {
|
|
4230
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4231
|
+
};
|
|
4232
|
+
|
|
4233
|
+
|
|
4234
|
+
/**
|
|
4235
|
+
* @param {string} value
|
|
4236
|
+
* @return {!proto.UpdateVendorStatusRequest} returns this
|
|
4237
|
+
*/
|
|
4238
|
+
proto.UpdateVendorStatusRequest.prototype.setStatus = function(value) {
|
|
4239
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4240
|
+
};
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
/**
|
|
4244
|
+
* optional string references_id = 2;
|
|
4245
|
+
* @return {string}
|
|
4246
|
+
*/
|
|
4247
|
+
proto.UpdateVendorStatusRequest.prototype.getReferencesId = function() {
|
|
4248
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4249
|
+
};
|
|
4250
|
+
|
|
4251
|
+
|
|
4252
|
+
/**
|
|
4253
|
+
* @param {string} value
|
|
4254
|
+
* @return {!proto.UpdateVendorStatusRequest} returns this
|
|
4255
|
+
*/
|
|
4256
|
+
proto.UpdateVendorStatusRequest.prototype.setReferencesId = function(value) {
|
|
4257
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4258
|
+
};
|
|
4259
|
+
|
|
4260
|
+
|
|
4261
|
+
|
|
4262
|
+
|
|
4263
|
+
|
|
4038
4264
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4039
4265
|
/**
|
|
4040
4266
|
* Creates an object representation of this proto.
|
|
@@ -6360,4 +6586,387 @@ proto.GetVendorItemDetailPreload.prototype.clearTransactionBuilderItemDetailList
|
|
|
6360
6586
|
};
|
|
6361
6587
|
|
|
6362
6588
|
|
|
6589
|
+
|
|
6590
|
+
|
|
6591
|
+
|
|
6592
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6593
|
+
/**
|
|
6594
|
+
* Creates an object representation of this proto.
|
|
6595
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6596
|
+
* Optional fields that are not set will be set to undefined.
|
|
6597
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6598
|
+
* For the list of reserved names please see:
|
|
6599
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6600
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6601
|
+
* JSPB instance for transitional soy proto support:
|
|
6602
|
+
* http://goto/soy-param-migration
|
|
6603
|
+
* @return {!Object}
|
|
6604
|
+
*/
|
|
6605
|
+
proto.RegisterVendorRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6606
|
+
return proto.RegisterVendorRequest.toObject(opt_includeInstance, this);
|
|
6607
|
+
};
|
|
6608
|
+
|
|
6609
|
+
|
|
6610
|
+
/**
|
|
6611
|
+
* Static version of the {@see toObject} method.
|
|
6612
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6613
|
+
* the JSPB instance for transitional soy proto support:
|
|
6614
|
+
* http://goto/soy-param-migration
|
|
6615
|
+
* @param {!proto.RegisterVendorRequest} msg The msg instance to transform.
|
|
6616
|
+
* @return {!Object}
|
|
6617
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6618
|
+
*/
|
|
6619
|
+
proto.RegisterVendorRequest.toObject = function(includeInstance, msg) {
|
|
6620
|
+
var f, obj = {
|
|
6621
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6622
|
+
baseVendor: (f = msg.getBaseVendor()) && proto.BaseVendorRequest.toObject(includeInstance, f)
|
|
6623
|
+
};
|
|
6624
|
+
|
|
6625
|
+
if (includeInstance) {
|
|
6626
|
+
obj.$jspbMessageInstance = msg;
|
|
6627
|
+
}
|
|
6628
|
+
return obj;
|
|
6629
|
+
};
|
|
6630
|
+
}
|
|
6631
|
+
|
|
6632
|
+
|
|
6633
|
+
/**
|
|
6634
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6635
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6636
|
+
* @return {!proto.RegisterVendorRequest}
|
|
6637
|
+
*/
|
|
6638
|
+
proto.RegisterVendorRequest.deserializeBinary = function(bytes) {
|
|
6639
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6640
|
+
var msg = new proto.RegisterVendorRequest;
|
|
6641
|
+
return proto.RegisterVendorRequest.deserializeBinaryFromReader(msg, reader);
|
|
6642
|
+
};
|
|
6643
|
+
|
|
6644
|
+
|
|
6645
|
+
/**
|
|
6646
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6647
|
+
* given reader into the given message object.
|
|
6648
|
+
* @param {!proto.RegisterVendorRequest} msg The message object to deserialize into.
|
|
6649
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6650
|
+
* @return {!proto.RegisterVendorRequest}
|
|
6651
|
+
*/
|
|
6652
|
+
proto.RegisterVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6653
|
+
while (reader.nextField()) {
|
|
6654
|
+
if (reader.isEndGroup()) {
|
|
6655
|
+
break;
|
|
6656
|
+
}
|
|
6657
|
+
var field = reader.getFieldNumber();
|
|
6658
|
+
switch (field) {
|
|
6659
|
+
case 1:
|
|
6660
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6661
|
+
msg.setCompaniesReferencesId(value);
|
|
6662
|
+
break;
|
|
6663
|
+
case 2:
|
|
6664
|
+
var value = new proto.BaseVendorRequest;
|
|
6665
|
+
reader.readMessage(value,proto.BaseVendorRequest.deserializeBinaryFromReader);
|
|
6666
|
+
msg.setBaseVendor(value);
|
|
6667
|
+
break;
|
|
6668
|
+
default:
|
|
6669
|
+
reader.skipField();
|
|
6670
|
+
break;
|
|
6671
|
+
}
|
|
6672
|
+
}
|
|
6673
|
+
return msg;
|
|
6674
|
+
};
|
|
6675
|
+
|
|
6676
|
+
|
|
6677
|
+
/**
|
|
6678
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6679
|
+
* @return {!Uint8Array}
|
|
6680
|
+
*/
|
|
6681
|
+
proto.RegisterVendorRequest.prototype.serializeBinary = function() {
|
|
6682
|
+
var writer = new jspb.BinaryWriter();
|
|
6683
|
+
proto.RegisterVendorRequest.serializeBinaryToWriter(this, writer);
|
|
6684
|
+
return writer.getResultBuffer();
|
|
6685
|
+
};
|
|
6686
|
+
|
|
6687
|
+
|
|
6688
|
+
/**
|
|
6689
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6690
|
+
* format), writing to the given BinaryWriter.
|
|
6691
|
+
* @param {!proto.RegisterVendorRequest} message
|
|
6692
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6693
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6694
|
+
*/
|
|
6695
|
+
proto.RegisterVendorRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6696
|
+
var f = undefined;
|
|
6697
|
+
f = message.getCompaniesReferencesId();
|
|
6698
|
+
if (f.length > 0) {
|
|
6699
|
+
writer.writeString(
|
|
6700
|
+
1,
|
|
6701
|
+
f
|
|
6702
|
+
);
|
|
6703
|
+
}
|
|
6704
|
+
f = message.getBaseVendor();
|
|
6705
|
+
if (f != null) {
|
|
6706
|
+
writer.writeMessage(
|
|
6707
|
+
2,
|
|
6708
|
+
f,
|
|
6709
|
+
proto.BaseVendorRequest.serializeBinaryToWriter
|
|
6710
|
+
);
|
|
6711
|
+
}
|
|
6712
|
+
};
|
|
6713
|
+
|
|
6714
|
+
|
|
6715
|
+
/**
|
|
6716
|
+
* optional string companies_references_id = 1;
|
|
6717
|
+
* @return {string}
|
|
6718
|
+
*/
|
|
6719
|
+
proto.RegisterVendorRequest.prototype.getCompaniesReferencesId = function() {
|
|
6720
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6721
|
+
};
|
|
6722
|
+
|
|
6723
|
+
|
|
6724
|
+
/**
|
|
6725
|
+
* @param {string} value
|
|
6726
|
+
* @return {!proto.RegisterVendorRequest} returns this
|
|
6727
|
+
*/
|
|
6728
|
+
proto.RegisterVendorRequest.prototype.setCompaniesReferencesId = function(value) {
|
|
6729
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6730
|
+
};
|
|
6731
|
+
|
|
6732
|
+
|
|
6733
|
+
/**
|
|
6734
|
+
* optional BaseVendorRequest base_vendor = 2;
|
|
6735
|
+
* @return {?proto.BaseVendorRequest}
|
|
6736
|
+
*/
|
|
6737
|
+
proto.RegisterVendorRequest.prototype.getBaseVendor = function() {
|
|
6738
|
+
return /** @type{?proto.BaseVendorRequest} */ (
|
|
6739
|
+
jspb.Message.getWrapperField(this, proto.BaseVendorRequest, 2));
|
|
6740
|
+
};
|
|
6741
|
+
|
|
6742
|
+
|
|
6743
|
+
/**
|
|
6744
|
+
* @param {?proto.BaseVendorRequest|undefined} value
|
|
6745
|
+
* @return {!proto.RegisterVendorRequest} returns this
|
|
6746
|
+
*/
|
|
6747
|
+
proto.RegisterVendorRequest.prototype.setBaseVendor = function(value) {
|
|
6748
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
6749
|
+
};
|
|
6750
|
+
|
|
6751
|
+
|
|
6752
|
+
/**
|
|
6753
|
+
* Clears the message field making it undefined.
|
|
6754
|
+
* @return {!proto.RegisterVendorRequest} returns this
|
|
6755
|
+
*/
|
|
6756
|
+
proto.RegisterVendorRequest.prototype.clearBaseVendor = function() {
|
|
6757
|
+
return this.setBaseVendor(undefined);
|
|
6758
|
+
};
|
|
6759
|
+
|
|
6760
|
+
|
|
6761
|
+
/**
|
|
6762
|
+
* Returns whether this field is set.
|
|
6763
|
+
* @return {boolean}
|
|
6764
|
+
*/
|
|
6765
|
+
proto.RegisterVendorRequest.prototype.hasBaseVendor = function() {
|
|
6766
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6767
|
+
};
|
|
6768
|
+
|
|
6769
|
+
|
|
6770
|
+
|
|
6771
|
+
|
|
6772
|
+
|
|
6773
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6774
|
+
/**
|
|
6775
|
+
* Creates an object representation of this proto.
|
|
6776
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6777
|
+
* Optional fields that are not set will be set to undefined.
|
|
6778
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6779
|
+
* For the list of reserved names please see:
|
|
6780
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6781
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6782
|
+
* JSPB instance for transitional soy proto support:
|
|
6783
|
+
* http://goto/soy-param-migration
|
|
6784
|
+
* @return {!Object}
|
|
6785
|
+
*/
|
|
6786
|
+
proto.RegisterVendorResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6787
|
+
return proto.RegisterVendorResponse.toObject(opt_includeInstance, this);
|
|
6788
|
+
};
|
|
6789
|
+
|
|
6790
|
+
|
|
6791
|
+
/**
|
|
6792
|
+
* Static version of the {@see toObject} method.
|
|
6793
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6794
|
+
* the JSPB instance for transitional soy proto support:
|
|
6795
|
+
* http://goto/soy-param-migration
|
|
6796
|
+
* @param {!proto.RegisterVendorResponse} msg The msg instance to transform.
|
|
6797
|
+
* @return {!Object}
|
|
6798
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6799
|
+
*/
|
|
6800
|
+
proto.RegisterVendorResponse.toObject = function(includeInstance, msg) {
|
|
6801
|
+
var f, obj = {
|
|
6802
|
+
vendor: (f = msg.getVendor()) && proto.Vendor.toObject(includeInstance, f),
|
|
6803
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
6804
|
+
};
|
|
6805
|
+
|
|
6806
|
+
if (includeInstance) {
|
|
6807
|
+
obj.$jspbMessageInstance = msg;
|
|
6808
|
+
}
|
|
6809
|
+
return obj;
|
|
6810
|
+
};
|
|
6811
|
+
}
|
|
6812
|
+
|
|
6813
|
+
|
|
6814
|
+
/**
|
|
6815
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6816
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6817
|
+
* @return {!proto.RegisterVendorResponse}
|
|
6818
|
+
*/
|
|
6819
|
+
proto.RegisterVendorResponse.deserializeBinary = function(bytes) {
|
|
6820
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6821
|
+
var msg = new proto.RegisterVendorResponse;
|
|
6822
|
+
return proto.RegisterVendorResponse.deserializeBinaryFromReader(msg, reader);
|
|
6823
|
+
};
|
|
6824
|
+
|
|
6825
|
+
|
|
6826
|
+
/**
|
|
6827
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6828
|
+
* given reader into the given message object.
|
|
6829
|
+
* @param {!proto.RegisterVendorResponse} msg The message object to deserialize into.
|
|
6830
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6831
|
+
* @return {!proto.RegisterVendorResponse}
|
|
6832
|
+
*/
|
|
6833
|
+
proto.RegisterVendorResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6834
|
+
while (reader.nextField()) {
|
|
6835
|
+
if (reader.isEndGroup()) {
|
|
6836
|
+
break;
|
|
6837
|
+
}
|
|
6838
|
+
var field = reader.getFieldNumber();
|
|
6839
|
+
switch (field) {
|
|
6840
|
+
case 1:
|
|
6841
|
+
var value = new proto.Vendor;
|
|
6842
|
+
reader.readMessage(value,proto.Vendor.deserializeBinaryFromReader);
|
|
6843
|
+
msg.setVendor(value);
|
|
6844
|
+
break;
|
|
6845
|
+
case 2:
|
|
6846
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
6847
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
6848
|
+
msg.setMeta(value);
|
|
6849
|
+
break;
|
|
6850
|
+
default:
|
|
6851
|
+
reader.skipField();
|
|
6852
|
+
break;
|
|
6853
|
+
}
|
|
6854
|
+
}
|
|
6855
|
+
return msg;
|
|
6856
|
+
};
|
|
6857
|
+
|
|
6858
|
+
|
|
6859
|
+
/**
|
|
6860
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6861
|
+
* @return {!Uint8Array}
|
|
6862
|
+
*/
|
|
6863
|
+
proto.RegisterVendorResponse.prototype.serializeBinary = function() {
|
|
6864
|
+
var writer = new jspb.BinaryWriter();
|
|
6865
|
+
proto.RegisterVendorResponse.serializeBinaryToWriter(this, writer);
|
|
6866
|
+
return writer.getResultBuffer();
|
|
6867
|
+
};
|
|
6868
|
+
|
|
6869
|
+
|
|
6870
|
+
/**
|
|
6871
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6872
|
+
* format), writing to the given BinaryWriter.
|
|
6873
|
+
* @param {!proto.RegisterVendorResponse} message
|
|
6874
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6875
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6876
|
+
*/
|
|
6877
|
+
proto.RegisterVendorResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6878
|
+
var f = undefined;
|
|
6879
|
+
f = message.getVendor();
|
|
6880
|
+
if (f != null) {
|
|
6881
|
+
writer.writeMessage(
|
|
6882
|
+
1,
|
|
6883
|
+
f,
|
|
6884
|
+
proto.Vendor.serializeBinaryToWriter
|
|
6885
|
+
);
|
|
6886
|
+
}
|
|
6887
|
+
f = message.getMeta();
|
|
6888
|
+
if (f != null) {
|
|
6889
|
+
writer.writeMessage(
|
|
6890
|
+
2,
|
|
6891
|
+
f,
|
|
6892
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
6893
|
+
);
|
|
6894
|
+
}
|
|
6895
|
+
};
|
|
6896
|
+
|
|
6897
|
+
|
|
6898
|
+
/**
|
|
6899
|
+
* optional Vendor vendor = 1;
|
|
6900
|
+
* @return {?proto.Vendor}
|
|
6901
|
+
*/
|
|
6902
|
+
proto.RegisterVendorResponse.prototype.getVendor = function() {
|
|
6903
|
+
return /** @type{?proto.Vendor} */ (
|
|
6904
|
+
jspb.Message.getWrapperField(this, proto.Vendor, 1));
|
|
6905
|
+
};
|
|
6906
|
+
|
|
6907
|
+
|
|
6908
|
+
/**
|
|
6909
|
+
* @param {?proto.Vendor|undefined} value
|
|
6910
|
+
* @return {!proto.RegisterVendorResponse} returns this
|
|
6911
|
+
*/
|
|
6912
|
+
proto.RegisterVendorResponse.prototype.setVendor = function(value) {
|
|
6913
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
6914
|
+
};
|
|
6915
|
+
|
|
6916
|
+
|
|
6917
|
+
/**
|
|
6918
|
+
* Clears the message field making it undefined.
|
|
6919
|
+
* @return {!proto.RegisterVendorResponse} returns this
|
|
6920
|
+
*/
|
|
6921
|
+
proto.RegisterVendorResponse.prototype.clearVendor = function() {
|
|
6922
|
+
return this.setVendor(undefined);
|
|
6923
|
+
};
|
|
6924
|
+
|
|
6925
|
+
|
|
6926
|
+
/**
|
|
6927
|
+
* Returns whether this field is set.
|
|
6928
|
+
* @return {boolean}
|
|
6929
|
+
*/
|
|
6930
|
+
proto.RegisterVendorResponse.prototype.hasVendor = function() {
|
|
6931
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6932
|
+
};
|
|
6933
|
+
|
|
6934
|
+
|
|
6935
|
+
/**
|
|
6936
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
6937
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
6938
|
+
*/
|
|
6939
|
+
proto.RegisterVendorResponse.prototype.getMeta = function() {
|
|
6940
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
6941
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
6942
|
+
};
|
|
6943
|
+
|
|
6944
|
+
|
|
6945
|
+
/**
|
|
6946
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
6947
|
+
* @return {!proto.RegisterVendorResponse} returns this
|
|
6948
|
+
*/
|
|
6949
|
+
proto.RegisterVendorResponse.prototype.setMeta = function(value) {
|
|
6950
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
6951
|
+
};
|
|
6952
|
+
|
|
6953
|
+
|
|
6954
|
+
/**
|
|
6955
|
+
* Clears the message field making it undefined.
|
|
6956
|
+
* @return {!proto.RegisterVendorResponse} returns this
|
|
6957
|
+
*/
|
|
6958
|
+
proto.RegisterVendorResponse.prototype.clearMeta = function() {
|
|
6959
|
+
return this.setMeta(undefined);
|
|
6960
|
+
};
|
|
6961
|
+
|
|
6962
|
+
|
|
6963
|
+
/**
|
|
6964
|
+
* Returns whether this field is set.
|
|
6965
|
+
* @return {boolean}
|
|
6966
|
+
*/
|
|
6967
|
+
proto.RegisterVendorResponse.prototype.hasMeta = function() {
|
|
6968
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6969
|
+
};
|
|
6970
|
+
|
|
6971
|
+
|
|
6363
6972
|
goog.object.extend(exports, proto);
|