@aldiokta/protocgen 1.1.35 → 1.1.37
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aldiokta/protocgen",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.37",
|
|
4
4
|
"description": "protocgen js generated for products v2",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"google-protobuf": "^4.0.0"
|
|
13
13
|
}
|
|
14
|
-
}
|
|
14
|
+
}
|
|
@@ -83,6 +83,17 @@ function deserialize_GetTransactionBuilderByIdWithDetail(buffer_arg) {
|
|
|
83
83
|
return prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionBuilderByIdWithDetail.deserializeBinary(new Uint8Array(buffer_arg));
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
function serialize_GetTransactionBuilderByNameWithDetail(arg) {
|
|
87
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionBuilderByNameWithDetail)) {
|
|
88
|
+
throw new Error('Expected argument of type GetTransactionBuilderByNameWithDetail');
|
|
89
|
+
}
|
|
90
|
+
return Buffer.from(arg.serializeBinary());
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function deserialize_GetTransactionBuilderByNameWithDetail(buffer_arg) {
|
|
94
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionBuilderByNameWithDetail.deserializeBinary(new Uint8Array(buffer_arg));
|
|
95
|
+
}
|
|
96
|
+
|
|
86
97
|
function serialize_GetTransactionBuilderList(arg) {
|
|
87
98
|
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionBuilderList)) {
|
|
88
99
|
throw new Error('Expected argument of type GetTransactionBuilderList');
|
|
@@ -303,6 +314,17 @@ function deserialize_TransactionFieldsRequest(buffer_arg) {
|
|
|
303
314
|
return prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
304
315
|
}
|
|
305
316
|
|
|
317
|
+
function serialize_TransactionFieldsRequestWithName(arg) {
|
|
318
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionFieldsRequestWithName)) {
|
|
319
|
+
throw new Error('Expected argument of type TransactionFieldsRequestWithName');
|
|
320
|
+
}
|
|
321
|
+
return Buffer.from(arg.serializeBinary());
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
function deserialize_TransactionFieldsRequestWithName(buffer_arg) {
|
|
325
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionFieldsRequestWithName.deserializeBinary(new Uint8Array(buffer_arg));
|
|
326
|
+
}
|
|
327
|
+
|
|
306
328
|
|
|
307
329
|
var TransactionBuilderServiceService = exports.TransactionBuilderServiceService = {
|
|
308
330
|
// builder
|
|
@@ -328,6 +350,17 @@ createTransactionBuilder: {
|
|
|
328
350
|
responseSerialize: serialize_ResponseTransactionFieldsList,
|
|
329
351
|
responseDeserialize: deserialize_ResponseTransactionFieldsList,
|
|
330
352
|
},
|
|
353
|
+
createTransactionFieldsWithName: {
|
|
354
|
+
path: '/TransactionBuilderService/CreateTransactionFieldsWithName',
|
|
355
|
+
requestStream: false,
|
|
356
|
+
responseStream: false,
|
|
357
|
+
requestType: prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionFieldsRequestWithName,
|
|
358
|
+
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionFieldsList,
|
|
359
|
+
requestSerialize: serialize_TransactionFieldsRequestWithName,
|
|
360
|
+
requestDeserialize: deserialize_TransactionFieldsRequestWithName,
|
|
361
|
+
responseSerialize: serialize_ResponseTransactionFieldsList,
|
|
362
|
+
responseDeserialize: deserialize_ResponseTransactionFieldsList,
|
|
363
|
+
},
|
|
331
364
|
createTransactionConfig: {
|
|
332
365
|
path: '/TransactionBuilderService/CreateTransactionConfig',
|
|
333
366
|
requestStream: false,
|
|
@@ -361,6 +394,17 @@ createTransactionBuilder: {
|
|
|
361
394
|
responseSerialize: serialize_ResponseTransactionBuilderWithDetails,
|
|
362
395
|
responseDeserialize: deserialize_ResponseTransactionBuilderWithDetails,
|
|
363
396
|
},
|
|
397
|
+
getTransactionBuilderWithDetailByName: {
|
|
398
|
+
path: '/TransactionBuilderService/GetTransactionBuilderWithDetailByName',
|
|
399
|
+
requestStream: false,
|
|
400
|
+
responseStream: false,
|
|
401
|
+
requestType: prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionBuilderByNameWithDetail,
|
|
402
|
+
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionBuilderWithDetails,
|
|
403
|
+
requestSerialize: serialize_GetTransactionBuilderByNameWithDetail,
|
|
404
|
+
requestDeserialize: deserialize_GetTransactionBuilderByNameWithDetail,
|
|
405
|
+
responseSerialize: serialize_ResponseTransactionBuilderWithDetails,
|
|
406
|
+
responseDeserialize: deserialize_ResponseTransactionBuilderWithDetails,
|
|
407
|
+
},
|
|
364
408
|
getTransactionFields: {
|
|
365
409
|
path: '/TransactionBuilderService/GetTransactionFields',
|
|
366
410
|
requestStream: false,
|
|
@@ -504,6 +548,17 @@ createTransactionBuilder: {
|
|
|
504
548
|
responseSerialize: serialize_ResponseTransactionBuilderWithDetail,
|
|
505
549
|
responseDeserialize: deserialize_ResponseTransactionBuilderWithDetail,
|
|
506
550
|
},
|
|
551
|
+
getListTransactionBuilderByName: {
|
|
552
|
+
path: '/TransactionBuilderService/GetListTransactionBuilderByName',
|
|
553
|
+
requestStream: false,
|
|
554
|
+
responseStream: false,
|
|
555
|
+
requestType: prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionBuilderList,
|
|
556
|
+
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionBuilderList,
|
|
557
|
+
requestSerialize: serialize_GetTransactionBuilderList,
|
|
558
|
+
requestDeserialize: deserialize_GetTransactionBuilderList,
|
|
559
|
+
responseSerialize: serialize_ResponseTransactionBuilderList,
|
|
560
|
+
responseDeserialize: deserialize_ResponseTransactionBuilderList,
|
|
561
|
+
},
|
|
507
562
|
getListTransactionConfig: {
|
|
508
563
|
path: '/TransactionBuilderService/GetListTransactionConfig',
|
|
509
564
|
requestStream: false,
|
|
@@ -29,6 +29,7 @@ goog.exportSymbol('proto.FieldRulesWithProp', null, global);
|
|
|
29
29
|
goog.exportSymbol('proto.FieldViews', null, global);
|
|
30
30
|
goog.exportSymbol('proto.GetTransactionBuilderById', null, global);
|
|
31
31
|
goog.exportSymbol('proto.GetTransactionBuilderByIdWithDetail', null, global);
|
|
32
|
+
goog.exportSymbol('proto.GetTransactionBuilderByNameWithDetail', null, global);
|
|
32
33
|
goog.exportSymbol('proto.GetTransactionBuilderList', null, global);
|
|
33
34
|
goog.exportSymbol('proto.GetTransactionConfigById', null, global);
|
|
34
35
|
goog.exportSymbol('proto.GetTransactionConfigList', null, global);
|
|
@@ -66,6 +67,7 @@ goog.exportSymbol('proto.TransactionBuilderWithDetailWorkflowCriteriaRes', null,
|
|
|
66
67
|
goog.exportSymbol('proto.TransactionBuilderWithDetails', null, global);
|
|
67
68
|
goog.exportSymbol('proto.TransactionConfigRequest', null, global);
|
|
68
69
|
goog.exportSymbol('proto.TransactionFieldsRequest', null, global);
|
|
70
|
+
goog.exportSymbol('proto.TransactionFieldsRequestWithName', null, global);
|
|
69
71
|
goog.exportSymbol('proto.Value', null, global);
|
|
70
72
|
/**
|
|
71
73
|
* Generated by JsPbCodeGenerator.
|
|
@@ -550,6 +552,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
550
552
|
*/
|
|
551
553
|
proto.GetTransactionBuilderByIdWithDetail.displayName = 'proto.GetTransactionBuilderByIdWithDetail';
|
|
552
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
* Generated by JsPbCodeGenerator.
|
|
557
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
558
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
559
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
560
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
561
|
+
* valid.
|
|
562
|
+
* @extends {jspb.Message}
|
|
563
|
+
* @constructor
|
|
564
|
+
*/
|
|
565
|
+
proto.GetTransactionBuilderByNameWithDetail = function(opt_data) {
|
|
566
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
567
|
+
};
|
|
568
|
+
goog.inherits(proto.GetTransactionBuilderByNameWithDetail, jspb.Message);
|
|
569
|
+
if (goog.DEBUG && !COMPILED) {
|
|
570
|
+
/**
|
|
571
|
+
* @public
|
|
572
|
+
* @override
|
|
573
|
+
*/
|
|
574
|
+
proto.GetTransactionBuilderByNameWithDetail.displayName = 'proto.GetTransactionBuilderByNameWithDetail';
|
|
575
|
+
}
|
|
553
576
|
/**
|
|
554
577
|
* Generated by JsPbCodeGenerator.
|
|
555
578
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -613,6 +636,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
613
636
|
*/
|
|
614
637
|
proto.TransactionFieldsRequest.displayName = 'proto.TransactionFieldsRequest';
|
|
615
638
|
}
|
|
639
|
+
/**
|
|
640
|
+
* Generated by JsPbCodeGenerator.
|
|
641
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
642
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
643
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
644
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
645
|
+
* valid.
|
|
646
|
+
* @extends {jspb.Message}
|
|
647
|
+
* @constructor
|
|
648
|
+
*/
|
|
649
|
+
proto.TransactionFieldsRequestWithName = function(opt_data) {
|
|
650
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.TransactionFieldsRequestWithName.repeatedFields_, null);
|
|
651
|
+
};
|
|
652
|
+
goog.inherits(proto.TransactionFieldsRequestWithName, jspb.Message);
|
|
653
|
+
if (goog.DEBUG && !COMPILED) {
|
|
654
|
+
/**
|
|
655
|
+
* @public
|
|
656
|
+
* @override
|
|
657
|
+
*/
|
|
658
|
+
proto.TransactionFieldsRequestWithName.displayName = 'proto.TransactionFieldsRequestWithName';
|
|
659
|
+
}
|
|
616
660
|
/**
|
|
617
661
|
* Generated by JsPbCodeGenerator.
|
|
618
662
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6735,6 +6779,136 @@ proto.GetTransactionBuilderByIdWithDetail.prototype.setId = function(value) {
|
|
|
6735
6779
|
|
|
6736
6780
|
|
|
6737
6781
|
|
|
6782
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6783
|
+
/**
|
|
6784
|
+
* Creates an object representation of this proto.
|
|
6785
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6786
|
+
* Optional fields that are not set will be set to undefined.
|
|
6787
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6788
|
+
* For the list of reserved names please see:
|
|
6789
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6790
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6791
|
+
* JSPB instance for transitional soy proto support:
|
|
6792
|
+
* http://goto/soy-param-migration
|
|
6793
|
+
* @return {!Object}
|
|
6794
|
+
*/
|
|
6795
|
+
proto.GetTransactionBuilderByNameWithDetail.prototype.toObject = function(opt_includeInstance) {
|
|
6796
|
+
return proto.GetTransactionBuilderByNameWithDetail.toObject(opt_includeInstance, this);
|
|
6797
|
+
};
|
|
6798
|
+
|
|
6799
|
+
|
|
6800
|
+
/**
|
|
6801
|
+
* Static version of the {@see toObject} method.
|
|
6802
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6803
|
+
* the JSPB instance for transitional soy proto support:
|
|
6804
|
+
* http://goto/soy-param-migration
|
|
6805
|
+
* @param {!proto.GetTransactionBuilderByNameWithDetail} msg The msg instance to transform.
|
|
6806
|
+
* @return {!Object}
|
|
6807
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6808
|
+
*/
|
|
6809
|
+
proto.GetTransactionBuilderByNameWithDetail.toObject = function(includeInstance, msg) {
|
|
6810
|
+
var f, obj = {
|
|
6811
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6812
|
+
};
|
|
6813
|
+
|
|
6814
|
+
if (includeInstance) {
|
|
6815
|
+
obj.$jspbMessageInstance = msg;
|
|
6816
|
+
}
|
|
6817
|
+
return obj;
|
|
6818
|
+
};
|
|
6819
|
+
}
|
|
6820
|
+
|
|
6821
|
+
|
|
6822
|
+
/**
|
|
6823
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6824
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6825
|
+
* @return {!proto.GetTransactionBuilderByNameWithDetail}
|
|
6826
|
+
*/
|
|
6827
|
+
proto.GetTransactionBuilderByNameWithDetail.deserializeBinary = function(bytes) {
|
|
6828
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6829
|
+
var msg = new proto.GetTransactionBuilderByNameWithDetail;
|
|
6830
|
+
return proto.GetTransactionBuilderByNameWithDetail.deserializeBinaryFromReader(msg, reader);
|
|
6831
|
+
};
|
|
6832
|
+
|
|
6833
|
+
|
|
6834
|
+
/**
|
|
6835
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6836
|
+
* given reader into the given message object.
|
|
6837
|
+
* @param {!proto.GetTransactionBuilderByNameWithDetail} msg The message object to deserialize into.
|
|
6838
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6839
|
+
* @return {!proto.GetTransactionBuilderByNameWithDetail}
|
|
6840
|
+
*/
|
|
6841
|
+
proto.GetTransactionBuilderByNameWithDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
6842
|
+
while (reader.nextField()) {
|
|
6843
|
+
if (reader.isEndGroup()) {
|
|
6844
|
+
break;
|
|
6845
|
+
}
|
|
6846
|
+
var field = reader.getFieldNumber();
|
|
6847
|
+
switch (field) {
|
|
6848
|
+
case 1:
|
|
6849
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6850
|
+
msg.setName(value);
|
|
6851
|
+
break;
|
|
6852
|
+
default:
|
|
6853
|
+
reader.skipField();
|
|
6854
|
+
break;
|
|
6855
|
+
}
|
|
6856
|
+
}
|
|
6857
|
+
return msg;
|
|
6858
|
+
};
|
|
6859
|
+
|
|
6860
|
+
|
|
6861
|
+
/**
|
|
6862
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6863
|
+
* @return {!Uint8Array}
|
|
6864
|
+
*/
|
|
6865
|
+
proto.GetTransactionBuilderByNameWithDetail.prototype.serializeBinary = function() {
|
|
6866
|
+
var writer = new jspb.BinaryWriter();
|
|
6867
|
+
proto.GetTransactionBuilderByNameWithDetail.serializeBinaryToWriter(this, writer);
|
|
6868
|
+
return writer.getResultBuffer();
|
|
6869
|
+
};
|
|
6870
|
+
|
|
6871
|
+
|
|
6872
|
+
/**
|
|
6873
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6874
|
+
* format), writing to the given BinaryWriter.
|
|
6875
|
+
* @param {!proto.GetTransactionBuilderByNameWithDetail} message
|
|
6876
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6877
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6878
|
+
*/
|
|
6879
|
+
proto.GetTransactionBuilderByNameWithDetail.serializeBinaryToWriter = function(message, writer) {
|
|
6880
|
+
var f = undefined;
|
|
6881
|
+
f = message.getName();
|
|
6882
|
+
if (f.length > 0) {
|
|
6883
|
+
writer.writeString(
|
|
6884
|
+
1,
|
|
6885
|
+
f
|
|
6886
|
+
);
|
|
6887
|
+
}
|
|
6888
|
+
};
|
|
6889
|
+
|
|
6890
|
+
|
|
6891
|
+
/**
|
|
6892
|
+
* optional string name = 1;
|
|
6893
|
+
* @return {string}
|
|
6894
|
+
*/
|
|
6895
|
+
proto.GetTransactionBuilderByNameWithDetail.prototype.getName = function() {
|
|
6896
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6897
|
+
};
|
|
6898
|
+
|
|
6899
|
+
|
|
6900
|
+
/**
|
|
6901
|
+
* @param {string} value
|
|
6902
|
+
* @return {!proto.GetTransactionBuilderByNameWithDetail} returns this
|
|
6903
|
+
*/
|
|
6904
|
+
proto.GetTransactionBuilderByNameWithDetail.prototype.setName = function(value) {
|
|
6905
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6906
|
+
};
|
|
6907
|
+
|
|
6908
|
+
|
|
6909
|
+
|
|
6910
|
+
|
|
6911
|
+
|
|
6738
6912
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6739
6913
|
/**
|
|
6740
6914
|
* Creates an object representation of this proto.
|
|
@@ -7234,6 +7408,196 @@ proto.TransactionFieldsRequest.prototype.clearTransactionBuilderFieldsList = fun
|
|
|
7234
7408
|
|
|
7235
7409
|
|
|
7236
7410
|
|
|
7411
|
+
/**
|
|
7412
|
+
* List of repeated fields within this message type.
|
|
7413
|
+
* @private {!Array<number>}
|
|
7414
|
+
* @const
|
|
7415
|
+
*/
|
|
7416
|
+
proto.TransactionFieldsRequestWithName.repeatedFields_ = [2];
|
|
7417
|
+
|
|
7418
|
+
|
|
7419
|
+
|
|
7420
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7421
|
+
/**
|
|
7422
|
+
* Creates an object representation of this proto.
|
|
7423
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7424
|
+
* Optional fields that are not set will be set to undefined.
|
|
7425
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7426
|
+
* For the list of reserved names please see:
|
|
7427
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7428
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7429
|
+
* JSPB instance for transitional soy proto support:
|
|
7430
|
+
* http://goto/soy-param-migration
|
|
7431
|
+
* @return {!Object}
|
|
7432
|
+
*/
|
|
7433
|
+
proto.TransactionFieldsRequestWithName.prototype.toObject = function(opt_includeInstance) {
|
|
7434
|
+
return proto.TransactionFieldsRequestWithName.toObject(opt_includeInstance, this);
|
|
7435
|
+
};
|
|
7436
|
+
|
|
7437
|
+
|
|
7438
|
+
/**
|
|
7439
|
+
* Static version of the {@see toObject} method.
|
|
7440
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7441
|
+
* the JSPB instance for transitional soy proto support:
|
|
7442
|
+
* http://goto/soy-param-migration
|
|
7443
|
+
* @param {!proto.TransactionFieldsRequestWithName} msg The msg instance to transform.
|
|
7444
|
+
* @return {!Object}
|
|
7445
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7446
|
+
*/
|
|
7447
|
+
proto.TransactionFieldsRequestWithName.toObject = function(includeInstance, msg) {
|
|
7448
|
+
var f, obj = {
|
|
7449
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7450
|
+
transactionBuilderFieldsList: jspb.Message.toObjectList(msg.getTransactionBuilderFieldsList(),
|
|
7451
|
+
proto.TransactionBuilderFieldsBase.toObject, includeInstance)
|
|
7452
|
+
};
|
|
7453
|
+
|
|
7454
|
+
if (includeInstance) {
|
|
7455
|
+
obj.$jspbMessageInstance = msg;
|
|
7456
|
+
}
|
|
7457
|
+
return obj;
|
|
7458
|
+
};
|
|
7459
|
+
}
|
|
7460
|
+
|
|
7461
|
+
|
|
7462
|
+
/**
|
|
7463
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7464
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7465
|
+
* @return {!proto.TransactionFieldsRequestWithName}
|
|
7466
|
+
*/
|
|
7467
|
+
proto.TransactionFieldsRequestWithName.deserializeBinary = function(bytes) {
|
|
7468
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7469
|
+
var msg = new proto.TransactionFieldsRequestWithName;
|
|
7470
|
+
return proto.TransactionFieldsRequestWithName.deserializeBinaryFromReader(msg, reader);
|
|
7471
|
+
};
|
|
7472
|
+
|
|
7473
|
+
|
|
7474
|
+
/**
|
|
7475
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7476
|
+
* given reader into the given message object.
|
|
7477
|
+
* @param {!proto.TransactionFieldsRequestWithName} msg The message object to deserialize into.
|
|
7478
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7479
|
+
* @return {!proto.TransactionFieldsRequestWithName}
|
|
7480
|
+
*/
|
|
7481
|
+
proto.TransactionFieldsRequestWithName.deserializeBinaryFromReader = function(msg, reader) {
|
|
7482
|
+
while (reader.nextField()) {
|
|
7483
|
+
if (reader.isEndGroup()) {
|
|
7484
|
+
break;
|
|
7485
|
+
}
|
|
7486
|
+
var field = reader.getFieldNumber();
|
|
7487
|
+
switch (field) {
|
|
7488
|
+
case 1:
|
|
7489
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7490
|
+
msg.setName(value);
|
|
7491
|
+
break;
|
|
7492
|
+
case 2:
|
|
7493
|
+
var value = new proto.TransactionBuilderFieldsBase;
|
|
7494
|
+
reader.readMessage(value,proto.TransactionBuilderFieldsBase.deserializeBinaryFromReader);
|
|
7495
|
+
msg.addTransactionBuilderFields(value);
|
|
7496
|
+
break;
|
|
7497
|
+
default:
|
|
7498
|
+
reader.skipField();
|
|
7499
|
+
break;
|
|
7500
|
+
}
|
|
7501
|
+
}
|
|
7502
|
+
return msg;
|
|
7503
|
+
};
|
|
7504
|
+
|
|
7505
|
+
|
|
7506
|
+
/**
|
|
7507
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7508
|
+
* @return {!Uint8Array}
|
|
7509
|
+
*/
|
|
7510
|
+
proto.TransactionFieldsRequestWithName.prototype.serializeBinary = function() {
|
|
7511
|
+
var writer = new jspb.BinaryWriter();
|
|
7512
|
+
proto.TransactionFieldsRequestWithName.serializeBinaryToWriter(this, writer);
|
|
7513
|
+
return writer.getResultBuffer();
|
|
7514
|
+
};
|
|
7515
|
+
|
|
7516
|
+
|
|
7517
|
+
/**
|
|
7518
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7519
|
+
* format), writing to the given BinaryWriter.
|
|
7520
|
+
* @param {!proto.TransactionFieldsRequestWithName} message
|
|
7521
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7522
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7523
|
+
*/
|
|
7524
|
+
proto.TransactionFieldsRequestWithName.serializeBinaryToWriter = function(message, writer) {
|
|
7525
|
+
var f = undefined;
|
|
7526
|
+
f = message.getName();
|
|
7527
|
+
if (f.length > 0) {
|
|
7528
|
+
writer.writeString(
|
|
7529
|
+
1,
|
|
7530
|
+
f
|
|
7531
|
+
);
|
|
7532
|
+
}
|
|
7533
|
+
f = message.getTransactionBuilderFieldsList();
|
|
7534
|
+
if (f.length > 0) {
|
|
7535
|
+
writer.writeRepeatedMessage(
|
|
7536
|
+
2,
|
|
7537
|
+
f,
|
|
7538
|
+
proto.TransactionBuilderFieldsBase.serializeBinaryToWriter
|
|
7539
|
+
);
|
|
7540
|
+
}
|
|
7541
|
+
};
|
|
7542
|
+
|
|
7543
|
+
|
|
7544
|
+
/**
|
|
7545
|
+
* optional string name = 1;
|
|
7546
|
+
* @return {string}
|
|
7547
|
+
*/
|
|
7548
|
+
proto.TransactionFieldsRequestWithName.prototype.getName = function() {
|
|
7549
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7550
|
+
};
|
|
7551
|
+
|
|
7552
|
+
|
|
7553
|
+
/**
|
|
7554
|
+
* @param {string} value
|
|
7555
|
+
* @return {!proto.TransactionFieldsRequestWithName} returns this
|
|
7556
|
+
*/
|
|
7557
|
+
proto.TransactionFieldsRequestWithName.prototype.setName = function(value) {
|
|
7558
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7559
|
+
};
|
|
7560
|
+
|
|
7561
|
+
|
|
7562
|
+
/**
|
|
7563
|
+
* repeated TransactionBuilderFieldsBase transaction_builder_fields = 2;
|
|
7564
|
+
* @return {!Array<!proto.TransactionBuilderFieldsBase>}
|
|
7565
|
+
*/
|
|
7566
|
+
proto.TransactionFieldsRequestWithName.prototype.getTransactionBuilderFieldsList = function() {
|
|
7567
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsBase>} */ (
|
|
7568
|
+
jspb.Message.getRepeatedWrapperField(this, proto.TransactionBuilderFieldsBase, 2));
|
|
7569
|
+
};
|
|
7570
|
+
|
|
7571
|
+
|
|
7572
|
+
/**
|
|
7573
|
+
* @param {!Array<!proto.TransactionBuilderFieldsBase>} value
|
|
7574
|
+
* @return {!proto.TransactionFieldsRequestWithName} returns this
|
|
7575
|
+
*/
|
|
7576
|
+
proto.TransactionFieldsRequestWithName.prototype.setTransactionBuilderFieldsList = function(value) {
|
|
7577
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
7578
|
+
};
|
|
7579
|
+
|
|
7580
|
+
|
|
7581
|
+
/**
|
|
7582
|
+
* @param {!proto.TransactionBuilderFieldsBase=} opt_value
|
|
7583
|
+
* @param {number=} opt_index
|
|
7584
|
+
* @return {!proto.TransactionBuilderFieldsBase}
|
|
7585
|
+
*/
|
|
7586
|
+
proto.TransactionFieldsRequestWithName.prototype.addTransactionBuilderFields = function(opt_value, opt_index) {
|
|
7587
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.TransactionBuilderFieldsBase, opt_index);
|
|
7588
|
+
};
|
|
7589
|
+
|
|
7590
|
+
|
|
7591
|
+
/**
|
|
7592
|
+
* Clears the list making it empty but non-null.
|
|
7593
|
+
* @return {!proto.TransactionFieldsRequestWithName} returns this
|
|
7594
|
+
*/
|
|
7595
|
+
proto.TransactionFieldsRequestWithName.prototype.clearTransactionBuilderFieldsList = function() {
|
|
7596
|
+
return this.setTransactionBuilderFieldsList([]);
|
|
7597
|
+
};
|
|
7598
|
+
|
|
7599
|
+
|
|
7600
|
+
|
|
7237
7601
|
|
|
7238
7602
|
|
|
7239
7603
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|