@aldiokta/protocgen 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
- package/prisca/v1/core/auth/auth_pb.js +212 -0
- package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
- package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1531 -0
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +11 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +385 -0
|
@@ -40,6 +40,17 @@ var MessagingServiceService = exports.MessagingServiceService = {
|
|
|
40
40
|
responseSerialize: serialize_SendEmailMessageResponse,
|
|
41
41
|
responseDeserialize: deserialize_SendEmailMessageResponse,
|
|
42
42
|
},
|
|
43
|
+
sendTeamsMessageRequest: {
|
|
44
|
+
path: '/MessagingService/SendTeamsMessageRequest',
|
|
45
|
+
requestStream: false,
|
|
46
|
+
responseStream: false,
|
|
47
|
+
requestType: prisca_v1_core_messaging_messaging_pb.SendEmailMessageRequest,
|
|
48
|
+
responseType: prisca_v1_core_messaging_messaging_pb.SendEmailMessageResponse,
|
|
49
|
+
requestSerialize: serialize_SendEmailMessageRequest,
|
|
50
|
+
requestDeserialize: deserialize_SendEmailMessageRequest,
|
|
51
|
+
responseSerialize: serialize_SendEmailMessageResponse,
|
|
52
|
+
responseDeserialize: deserialize_SendEmailMessageResponse,
|
|
53
|
+
},
|
|
43
54
|
};
|
|
44
55
|
|
|
45
56
|
exports.MessagingServiceClient = grpc.makeGenericClientConstructor(MessagingServiceService, 'MessagingService');
|
|
@@ -6,6 +6,28 @@ var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../.
|
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
7
|
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
|
|
8
8
|
|
|
9
|
+
function serialize_prisca_v1_core_transaction_builder_CreateTransactionBuilderDefaultReq(arg) {
|
|
10
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.CreateTransactionBuilderDefaultReq)) {
|
|
11
|
+
throw new Error('Expected argument of type prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq');
|
|
12
|
+
}
|
|
13
|
+
return Buffer.from(arg.serializeBinary());
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function deserialize_prisca_v1_core_transaction_builder_CreateTransactionBuilderDefaultReq(buffer_arg) {
|
|
17
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.CreateTransactionBuilderDefaultReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function serialize_prisca_v1_core_transaction_builder_CreateTransactionBuilderDefaultRes(arg) {
|
|
21
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.CreateTransactionBuilderDefaultRes)) {
|
|
22
|
+
throw new Error('Expected argument of type prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes');
|
|
23
|
+
}
|
|
24
|
+
return Buffer.from(arg.serializeBinary());
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function deserialize_prisca_v1_core_transaction_builder_CreateTransactionBuilderDefaultRes(buffer_arg) {
|
|
28
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.CreateTransactionBuilderDefaultRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
|
+
}
|
|
30
|
+
|
|
9
31
|
function serialize_prisca_v1_core_transaction_builder_EditTransactionBuilderById(arg) {
|
|
10
32
|
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.EditTransactionBuilderById)) {
|
|
11
33
|
throw new Error('Expected argument of type prisca.v1.core.transaction_builder.EditTransactionBuilderById');
|
|
@@ -460,6 +482,17 @@ createTransactionBuilder: {
|
|
|
460
482
|
responseSerialize: serialize_prisca_v1_core_transaction_builder_ResponseTransactionConfig,
|
|
461
483
|
responseDeserialize: deserialize_prisca_v1_core_transaction_builder_ResponseTransactionConfig,
|
|
462
484
|
},
|
|
485
|
+
createTransactionBuilderDefault: {
|
|
486
|
+
path: '/prisca.v1.core.transaction_builder.TransactionBuilderService/CreateTransactionBuilderDefault',
|
|
487
|
+
requestStream: false,
|
|
488
|
+
responseStream: false,
|
|
489
|
+
requestType: prisca_v1_core_transaction_builder_transaction_builder_pb.CreateTransactionBuilderDefaultReq,
|
|
490
|
+
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.CreateTransactionBuilderDefaultRes,
|
|
491
|
+
requestSerialize: serialize_prisca_v1_core_transaction_builder_CreateTransactionBuilderDefaultReq,
|
|
492
|
+
requestDeserialize: deserialize_prisca_v1_core_transaction_builder_CreateTransactionBuilderDefaultReq,
|
|
493
|
+
responseSerialize: serialize_prisca_v1_core_transaction_builder_CreateTransactionBuilderDefaultRes,
|
|
494
|
+
responseDeserialize: deserialize_prisca_v1_core_transaction_builder_CreateTransactionBuilderDefaultRes,
|
|
495
|
+
},
|
|
463
496
|
};
|
|
464
497
|
|
|
465
498
|
exports.TransactionBuilderServiceClient = grpc.makeGenericClientConstructor(TransactionBuilderServiceService, 'TransactionBuilderService');
|
|
@@ -25,6 +25,8 @@ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/m
|
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
26
|
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
|
|
27
27
|
goog.object.extend(proto, google_protobuf_any_pb);
|
|
28
|
+
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq', null, global);
|
|
29
|
+
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes', null, global);
|
|
28
30
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.EditTransactionBuilderById', null, global);
|
|
29
31
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.EditTransactionConfigById', null, global);
|
|
30
32
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.EditTransactionFieldsById', null, global);
|
|
@@ -1015,6 +1017,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1015
1017
|
*/
|
|
1016
1018
|
proto.prisca.v1.core.transaction_builder.ResponseTransactionConfigList.displayName = 'proto.prisca.v1.core.transaction_builder.ResponseTransactionConfigList';
|
|
1017
1019
|
}
|
|
1020
|
+
/**
|
|
1021
|
+
* Generated by JsPbCodeGenerator.
|
|
1022
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1023
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1024
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1025
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1026
|
+
* valid.
|
|
1027
|
+
* @extends {jspb.Message}
|
|
1028
|
+
* @constructor
|
|
1029
|
+
*/
|
|
1030
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq = function(opt_data) {
|
|
1031
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1032
|
+
};
|
|
1033
|
+
goog.inherits(proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq, jspb.Message);
|
|
1034
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1035
|
+
/**
|
|
1036
|
+
* @public
|
|
1037
|
+
* @override
|
|
1038
|
+
*/
|
|
1039
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.displayName = 'proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq';
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* Generated by JsPbCodeGenerator.
|
|
1043
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1044
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1045
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1046
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1047
|
+
* valid.
|
|
1048
|
+
* @extends {jspb.Message}
|
|
1049
|
+
* @constructor
|
|
1050
|
+
*/
|
|
1051
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes = function(opt_data) {
|
|
1052
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.repeatedFields_, null);
|
|
1053
|
+
};
|
|
1054
|
+
goog.inherits(proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes, jspb.Message);
|
|
1055
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1056
|
+
/**
|
|
1057
|
+
* @public
|
|
1058
|
+
* @override
|
|
1059
|
+
*/
|
|
1060
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.displayName = 'proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes';
|
|
1061
|
+
}
|
|
1018
1062
|
|
|
1019
1063
|
|
|
1020
1064
|
|
|
@@ -10588,4 +10632,345 @@ proto.prisca.v1.core.transaction_builder.ResponseTransactionConfigList.prototype
|
|
|
10588
10632
|
};
|
|
10589
10633
|
|
|
10590
10634
|
|
|
10635
|
+
|
|
10636
|
+
|
|
10637
|
+
|
|
10638
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10639
|
+
/**
|
|
10640
|
+
* Creates an object representation of this proto.
|
|
10641
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10642
|
+
* Optional fields that are not set will be set to undefined.
|
|
10643
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10644
|
+
* For the list of reserved names please see:
|
|
10645
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10646
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10647
|
+
* JSPB instance for transitional soy proto support:
|
|
10648
|
+
* http://goto/soy-param-migration
|
|
10649
|
+
* @return {!Object}
|
|
10650
|
+
*/
|
|
10651
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.prototype.toObject = function(opt_includeInstance) {
|
|
10652
|
+
return proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.toObject(opt_includeInstance, this);
|
|
10653
|
+
};
|
|
10654
|
+
|
|
10655
|
+
|
|
10656
|
+
/**
|
|
10657
|
+
* Static version of the {@see toObject} method.
|
|
10658
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10659
|
+
* the JSPB instance for transitional soy proto support:
|
|
10660
|
+
* http://goto/soy-param-migration
|
|
10661
|
+
* @param {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq} msg The msg instance to transform.
|
|
10662
|
+
* @return {!Object}
|
|
10663
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10664
|
+
*/
|
|
10665
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.toObject = function(includeInstance, msg) {
|
|
10666
|
+
var f, obj = {
|
|
10667
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
10668
|
+
};
|
|
10669
|
+
|
|
10670
|
+
if (includeInstance) {
|
|
10671
|
+
obj.$jspbMessageInstance = msg;
|
|
10672
|
+
}
|
|
10673
|
+
return obj;
|
|
10674
|
+
};
|
|
10675
|
+
}
|
|
10676
|
+
|
|
10677
|
+
|
|
10678
|
+
/**
|
|
10679
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10680
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10681
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq}
|
|
10682
|
+
*/
|
|
10683
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.deserializeBinary = function(bytes) {
|
|
10684
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10685
|
+
var msg = new proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq;
|
|
10686
|
+
return proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.deserializeBinaryFromReader(msg, reader);
|
|
10687
|
+
};
|
|
10688
|
+
|
|
10689
|
+
|
|
10690
|
+
/**
|
|
10691
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10692
|
+
* given reader into the given message object.
|
|
10693
|
+
* @param {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq} msg The message object to deserialize into.
|
|
10694
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10695
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq}
|
|
10696
|
+
*/
|
|
10697
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
10698
|
+
while (reader.nextField()) {
|
|
10699
|
+
if (reader.isEndGroup()) {
|
|
10700
|
+
break;
|
|
10701
|
+
}
|
|
10702
|
+
var field = reader.getFieldNumber();
|
|
10703
|
+
switch (field) {
|
|
10704
|
+
case 1:
|
|
10705
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10706
|
+
msg.setCompaniesReferencesId(value);
|
|
10707
|
+
break;
|
|
10708
|
+
default:
|
|
10709
|
+
reader.skipField();
|
|
10710
|
+
break;
|
|
10711
|
+
}
|
|
10712
|
+
}
|
|
10713
|
+
return msg;
|
|
10714
|
+
};
|
|
10715
|
+
|
|
10716
|
+
|
|
10717
|
+
/**
|
|
10718
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10719
|
+
* @return {!Uint8Array}
|
|
10720
|
+
*/
|
|
10721
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.prototype.serializeBinary = function() {
|
|
10722
|
+
var writer = new jspb.BinaryWriter();
|
|
10723
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.serializeBinaryToWriter(this, writer);
|
|
10724
|
+
return writer.getResultBuffer();
|
|
10725
|
+
};
|
|
10726
|
+
|
|
10727
|
+
|
|
10728
|
+
/**
|
|
10729
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10730
|
+
* format), writing to the given BinaryWriter.
|
|
10731
|
+
* @param {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq} message
|
|
10732
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10733
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10734
|
+
*/
|
|
10735
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.serializeBinaryToWriter = function(message, writer) {
|
|
10736
|
+
var f = undefined;
|
|
10737
|
+
f = message.getCompaniesReferencesId();
|
|
10738
|
+
if (f.length > 0) {
|
|
10739
|
+
writer.writeString(
|
|
10740
|
+
1,
|
|
10741
|
+
f
|
|
10742
|
+
);
|
|
10743
|
+
}
|
|
10744
|
+
};
|
|
10745
|
+
|
|
10746
|
+
|
|
10747
|
+
/**
|
|
10748
|
+
* optional string companies_references_id = 1;
|
|
10749
|
+
* @return {string}
|
|
10750
|
+
*/
|
|
10751
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.prototype.getCompaniesReferencesId = function() {
|
|
10752
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10753
|
+
};
|
|
10754
|
+
|
|
10755
|
+
|
|
10756
|
+
/**
|
|
10757
|
+
* @param {string} value
|
|
10758
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq} returns this
|
|
10759
|
+
*/
|
|
10760
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultReq.prototype.setCompaniesReferencesId = function(value) {
|
|
10761
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10762
|
+
};
|
|
10763
|
+
|
|
10764
|
+
|
|
10765
|
+
|
|
10766
|
+
/**
|
|
10767
|
+
* List of repeated fields within this message type.
|
|
10768
|
+
* @private {!Array<number>}
|
|
10769
|
+
* @const
|
|
10770
|
+
*/
|
|
10771
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.repeatedFields_ = [1];
|
|
10772
|
+
|
|
10773
|
+
|
|
10774
|
+
|
|
10775
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10776
|
+
/**
|
|
10777
|
+
* Creates an object representation of this proto.
|
|
10778
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10779
|
+
* Optional fields that are not set will be set to undefined.
|
|
10780
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10781
|
+
* For the list of reserved names please see:
|
|
10782
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10783
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10784
|
+
* JSPB instance for transitional soy proto support:
|
|
10785
|
+
* http://goto/soy-param-migration
|
|
10786
|
+
* @return {!Object}
|
|
10787
|
+
*/
|
|
10788
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.toObject = function(opt_includeInstance) {
|
|
10789
|
+
return proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.toObject(opt_includeInstance, this);
|
|
10790
|
+
};
|
|
10791
|
+
|
|
10792
|
+
|
|
10793
|
+
/**
|
|
10794
|
+
* Static version of the {@see toObject} method.
|
|
10795
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10796
|
+
* the JSPB instance for transitional soy proto support:
|
|
10797
|
+
* http://goto/soy-param-migration
|
|
10798
|
+
* @param {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes} msg The msg instance to transform.
|
|
10799
|
+
* @return {!Object}
|
|
10800
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10801
|
+
*/
|
|
10802
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.toObject = function(includeInstance, msg) {
|
|
10803
|
+
var f, obj = {
|
|
10804
|
+
transactionBuilderList: jspb.Message.toObjectList(msg.getTransactionBuilderList(),
|
|
10805
|
+
proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes.toObject, includeInstance),
|
|
10806
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
10807
|
+
};
|
|
10808
|
+
|
|
10809
|
+
if (includeInstance) {
|
|
10810
|
+
obj.$jspbMessageInstance = msg;
|
|
10811
|
+
}
|
|
10812
|
+
return obj;
|
|
10813
|
+
};
|
|
10814
|
+
}
|
|
10815
|
+
|
|
10816
|
+
|
|
10817
|
+
/**
|
|
10818
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10819
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10820
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes}
|
|
10821
|
+
*/
|
|
10822
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.deserializeBinary = function(bytes) {
|
|
10823
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10824
|
+
var msg = new proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes;
|
|
10825
|
+
return proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.deserializeBinaryFromReader(msg, reader);
|
|
10826
|
+
};
|
|
10827
|
+
|
|
10828
|
+
|
|
10829
|
+
/**
|
|
10830
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10831
|
+
* given reader into the given message object.
|
|
10832
|
+
* @param {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes} msg The message object to deserialize into.
|
|
10833
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10834
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes}
|
|
10835
|
+
*/
|
|
10836
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
10837
|
+
while (reader.nextField()) {
|
|
10838
|
+
if (reader.isEndGroup()) {
|
|
10839
|
+
break;
|
|
10840
|
+
}
|
|
10841
|
+
var field = reader.getFieldNumber();
|
|
10842
|
+
switch (field) {
|
|
10843
|
+
case 1:
|
|
10844
|
+
var value = new proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes;
|
|
10845
|
+
reader.readMessage(value,proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes.deserializeBinaryFromReader);
|
|
10846
|
+
msg.addTransactionBuilder(value);
|
|
10847
|
+
break;
|
|
10848
|
+
case 2:
|
|
10849
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
10850
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
10851
|
+
msg.setMeta(value);
|
|
10852
|
+
break;
|
|
10853
|
+
default:
|
|
10854
|
+
reader.skipField();
|
|
10855
|
+
break;
|
|
10856
|
+
}
|
|
10857
|
+
}
|
|
10858
|
+
return msg;
|
|
10859
|
+
};
|
|
10860
|
+
|
|
10861
|
+
|
|
10862
|
+
/**
|
|
10863
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10864
|
+
* @return {!Uint8Array}
|
|
10865
|
+
*/
|
|
10866
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.serializeBinary = function() {
|
|
10867
|
+
var writer = new jspb.BinaryWriter();
|
|
10868
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.serializeBinaryToWriter(this, writer);
|
|
10869
|
+
return writer.getResultBuffer();
|
|
10870
|
+
};
|
|
10871
|
+
|
|
10872
|
+
|
|
10873
|
+
/**
|
|
10874
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10875
|
+
* format), writing to the given BinaryWriter.
|
|
10876
|
+
* @param {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes} message
|
|
10877
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10878
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10879
|
+
*/
|
|
10880
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.serializeBinaryToWriter = function(message, writer) {
|
|
10881
|
+
var f = undefined;
|
|
10882
|
+
f = message.getTransactionBuilderList();
|
|
10883
|
+
if (f.length > 0) {
|
|
10884
|
+
writer.writeRepeatedMessage(
|
|
10885
|
+
1,
|
|
10886
|
+
f,
|
|
10887
|
+
proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes.serializeBinaryToWriter
|
|
10888
|
+
);
|
|
10889
|
+
}
|
|
10890
|
+
f = message.getMeta();
|
|
10891
|
+
if (f != null) {
|
|
10892
|
+
writer.writeMessage(
|
|
10893
|
+
2,
|
|
10894
|
+
f,
|
|
10895
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
10896
|
+
);
|
|
10897
|
+
}
|
|
10898
|
+
};
|
|
10899
|
+
|
|
10900
|
+
|
|
10901
|
+
/**
|
|
10902
|
+
* repeated TransactionBuilderWithDetailRes transaction_builder = 1;
|
|
10903
|
+
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>}
|
|
10904
|
+
*/
|
|
10905
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.getTransactionBuilderList = function() {
|
|
10906
|
+
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>} */ (
|
|
10907
|
+
jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes, 1));
|
|
10908
|
+
};
|
|
10909
|
+
|
|
10910
|
+
|
|
10911
|
+
/**
|
|
10912
|
+
* @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>} value
|
|
10913
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes} returns this
|
|
10914
|
+
*/
|
|
10915
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.setTransactionBuilderList = function(value) {
|
|
10916
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
10917
|
+
};
|
|
10918
|
+
|
|
10919
|
+
|
|
10920
|
+
/**
|
|
10921
|
+
* @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes=} opt_value
|
|
10922
|
+
* @param {number=} opt_index
|
|
10923
|
+
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes}
|
|
10924
|
+
*/
|
|
10925
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.addTransactionBuilder = function(opt_value, opt_index) {
|
|
10926
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes, opt_index);
|
|
10927
|
+
};
|
|
10928
|
+
|
|
10929
|
+
|
|
10930
|
+
/**
|
|
10931
|
+
* Clears the list making it empty but non-null.
|
|
10932
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes} returns this
|
|
10933
|
+
*/
|
|
10934
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.clearTransactionBuilderList = function() {
|
|
10935
|
+
return this.setTransactionBuilderList([]);
|
|
10936
|
+
};
|
|
10937
|
+
|
|
10938
|
+
|
|
10939
|
+
/**
|
|
10940
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
10941
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
10942
|
+
*/
|
|
10943
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.getMeta = function() {
|
|
10944
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
10945
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
10946
|
+
};
|
|
10947
|
+
|
|
10948
|
+
|
|
10949
|
+
/**
|
|
10950
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
10951
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes} returns this
|
|
10952
|
+
*/
|
|
10953
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.setMeta = function(value) {
|
|
10954
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
10955
|
+
};
|
|
10956
|
+
|
|
10957
|
+
|
|
10958
|
+
/**
|
|
10959
|
+
* Clears the message field making it undefined.
|
|
10960
|
+
* @return {!proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes} returns this
|
|
10961
|
+
*/
|
|
10962
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.clearMeta = function() {
|
|
10963
|
+
return this.setMeta(undefined);
|
|
10964
|
+
};
|
|
10965
|
+
|
|
10966
|
+
|
|
10967
|
+
/**
|
|
10968
|
+
* Returns whether this field is set.
|
|
10969
|
+
* @return {boolean}
|
|
10970
|
+
*/
|
|
10971
|
+
proto.prisca.v1.core.transaction_builder.CreateTransactionBuilderDefaultRes.prototype.hasMeta = function() {
|
|
10972
|
+
return jspb.Message.getField(this, 2) != null;
|
|
10973
|
+
};
|
|
10974
|
+
|
|
10975
|
+
|
|
10591
10976
|
goog.object.extend(exports, proto.prisca.v1.core.transaction_builder);
|