@aldiokta/protocgen 1.0.0 → 1.0.2

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.
@@ -42,10 +42,33 @@ goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionF
42
42
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.TransactionBuilder', null, global);
43
43
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.TransactionBuilderConfig', null, global);
44
44
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.TransactionBuilderFields', null, global);
45
+ goog.exportSymbol('proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase', null, global);
45
46
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.TransactionBuilderRequest', null, global);
46
47
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetails', null, global);
47
48
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.TransactionConfigRequest', null, global);
48
49
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest', null, global);
50
+ goog.exportSymbol('proto.prisca.v1.core.transaction_builder.Value', null, global);
51
+ /**
52
+ * Generated by JsPbCodeGenerator.
53
+ * @param {Array=} opt_data Optional initial data array, typically from a
54
+ * server response, or constructed directly in Javascript. The array is used
55
+ * in place and becomes part of the constructed object. It is not cloned.
56
+ * If no data is provided, the constructed object will be empty, but still
57
+ * valid.
58
+ * @extends {jspb.Message}
59
+ * @constructor
60
+ */
61
+ proto.prisca.v1.core.transaction_builder.Value = function(opt_data) {
62
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
+ };
64
+ goog.inherits(proto.prisca.v1.core.transaction_builder.Value, jspb.Message);
65
+ if (goog.DEBUG && !COMPILED) {
66
+ /**
67
+ * @public
68
+ * @override
69
+ */
70
+ proto.prisca.v1.core.transaction_builder.Value.displayName = 'proto.prisca.v1.core.transaction_builder.Value';
71
+ }
49
72
  /**
50
73
  * Generated by JsPbCodeGenerator.
51
74
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -67,6 +90,27 @@ if (goog.DEBUG && !COMPILED) {
67
90
  */
68
91
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.displayName = 'proto.prisca.v1.core.transaction_builder.TransactionBuilderFields';
69
92
  }
93
+ /**
94
+ * Generated by JsPbCodeGenerator.
95
+ * @param {Array=} opt_data Optional initial data array, typically from a
96
+ * server response, or constructed directly in Javascript. The array is used
97
+ * in place and becomes part of the constructed object. It is not cloned.
98
+ * If no data is provided, the constructed object will be empty, but still
99
+ * valid.
100
+ * @extends {jspb.Message}
101
+ * @constructor
102
+ */
103
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase = function(opt_data) {
104
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.repeatedFields_, null);
105
+ };
106
+ goog.inherits(proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase, jspb.Message);
107
+ if (goog.DEBUG && !COMPILED) {
108
+ /**
109
+ * @public
110
+ * @override
111
+ */
112
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.displayName = 'proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase';
113
+ }
70
114
  /**
71
115
  * Generated by JsPbCodeGenerator.
72
116
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -530,6 +574,166 @@ if (goog.DEBUG && !COMPILED) {
530
574
  proto.prisca.v1.core.transaction_builder.ResponseTransactionConfigList.displayName = 'proto.prisca.v1.core.transaction_builder.ResponseTransactionConfigList';
531
575
  }
532
576
 
577
+
578
+
579
+ if (jspb.Message.GENERATE_TO_OBJECT) {
580
+ /**
581
+ * Creates an object representation of this proto.
582
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
583
+ * Optional fields that are not set will be set to undefined.
584
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
585
+ * For the list of reserved names please see:
586
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
587
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
588
+ * JSPB instance for transitional soy proto support:
589
+ * http://goto/soy-param-migration
590
+ * @return {!Object}
591
+ */
592
+ proto.prisca.v1.core.transaction_builder.Value.prototype.toObject = function(opt_includeInstance) {
593
+ return proto.prisca.v1.core.transaction_builder.Value.toObject(opt_includeInstance, this);
594
+ };
595
+
596
+
597
+ /**
598
+ * Static version of the {@see toObject} method.
599
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
600
+ * the JSPB instance for transitional soy proto support:
601
+ * http://goto/soy-param-migration
602
+ * @param {!proto.prisca.v1.core.transaction_builder.Value} msg The msg instance to transform.
603
+ * @return {!Object}
604
+ * @suppress {unusedLocalVariables} f is only used for nested messages
605
+ */
606
+ proto.prisca.v1.core.transaction_builder.Value.toObject = function(includeInstance, msg) {
607
+ var f, obj = {
608
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
609
+ value: jspb.Message.getFieldWithDefault(msg, 2, "")
610
+ };
611
+
612
+ if (includeInstance) {
613
+ obj.$jspbMessageInstance = msg;
614
+ }
615
+ return obj;
616
+ };
617
+ }
618
+
619
+
620
+ /**
621
+ * Deserializes binary data (in protobuf wire format).
622
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
623
+ * @return {!proto.prisca.v1.core.transaction_builder.Value}
624
+ */
625
+ proto.prisca.v1.core.transaction_builder.Value.deserializeBinary = function(bytes) {
626
+ var reader = new jspb.BinaryReader(bytes);
627
+ var msg = new proto.prisca.v1.core.transaction_builder.Value;
628
+ return proto.prisca.v1.core.transaction_builder.Value.deserializeBinaryFromReader(msg, reader);
629
+ };
630
+
631
+
632
+ /**
633
+ * Deserializes binary data (in protobuf wire format) from the
634
+ * given reader into the given message object.
635
+ * @param {!proto.prisca.v1.core.transaction_builder.Value} msg The message object to deserialize into.
636
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
637
+ * @return {!proto.prisca.v1.core.transaction_builder.Value}
638
+ */
639
+ proto.prisca.v1.core.transaction_builder.Value.deserializeBinaryFromReader = function(msg, reader) {
640
+ while (reader.nextField()) {
641
+ if (reader.isEndGroup()) {
642
+ break;
643
+ }
644
+ var field = reader.getFieldNumber();
645
+ switch (field) {
646
+ case 1:
647
+ var value = /** @type {string} */ (reader.readString());
648
+ msg.setKey(value);
649
+ break;
650
+ case 2:
651
+ var value = /** @type {string} */ (reader.readString());
652
+ msg.setValue(value);
653
+ break;
654
+ default:
655
+ reader.skipField();
656
+ break;
657
+ }
658
+ }
659
+ return msg;
660
+ };
661
+
662
+
663
+ /**
664
+ * Serializes the message to binary data (in protobuf wire format).
665
+ * @return {!Uint8Array}
666
+ */
667
+ proto.prisca.v1.core.transaction_builder.Value.prototype.serializeBinary = function() {
668
+ var writer = new jspb.BinaryWriter();
669
+ proto.prisca.v1.core.transaction_builder.Value.serializeBinaryToWriter(this, writer);
670
+ return writer.getResultBuffer();
671
+ };
672
+
673
+
674
+ /**
675
+ * Serializes the given message to binary data (in protobuf wire
676
+ * format), writing to the given BinaryWriter.
677
+ * @param {!proto.prisca.v1.core.transaction_builder.Value} message
678
+ * @param {!jspb.BinaryWriter} writer
679
+ * @suppress {unusedLocalVariables} f is only used for nested messages
680
+ */
681
+ proto.prisca.v1.core.transaction_builder.Value.serializeBinaryToWriter = function(message, writer) {
682
+ var f = undefined;
683
+ f = message.getKey();
684
+ if (f.length > 0) {
685
+ writer.writeString(
686
+ 1,
687
+ f
688
+ );
689
+ }
690
+ f = message.getValue();
691
+ if (f.length > 0) {
692
+ writer.writeString(
693
+ 2,
694
+ f
695
+ );
696
+ }
697
+ };
698
+
699
+
700
+ /**
701
+ * optional string key = 1;
702
+ * @return {string}
703
+ */
704
+ proto.prisca.v1.core.transaction_builder.Value.prototype.getKey = function() {
705
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
706
+ };
707
+
708
+
709
+ /**
710
+ * @param {string} value
711
+ * @return {!proto.prisca.v1.core.transaction_builder.Value} returns this
712
+ */
713
+ proto.prisca.v1.core.transaction_builder.Value.prototype.setKey = function(value) {
714
+ return jspb.Message.setProto3StringField(this, 1, value);
715
+ };
716
+
717
+
718
+ /**
719
+ * optional string value = 2;
720
+ * @return {string}
721
+ */
722
+ proto.prisca.v1.core.transaction_builder.Value.prototype.getValue = function() {
723
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
724
+ };
725
+
726
+
727
+ /**
728
+ * @param {string} value
729
+ * @return {!proto.prisca.v1.core.transaction_builder.Value} returns this
730
+ */
731
+ proto.prisca.v1.core.transaction_builder.Value.prototype.setValue = function(value) {
732
+ return jspb.Message.setProto3StringField(this, 2, value);
733
+ };
734
+
735
+
736
+
533
737
  /**
534
738
  * List of repeated fields within this message type.
535
739
  * @private {!Array<number>}
@@ -575,7 +779,8 @@ label: jspb.Message.getFieldWithDefault(msg, 4, ""),
575
779
  hintText: jspb.Message.getFieldWithDefault(msg, 5, ""),
576
780
  placeHolder: jspb.Message.getFieldWithDefault(msg, 6, ""),
577
781
  max: jspb.Message.getFieldWithDefault(msg, 7, 0),
578
- optionList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
782
+ optionList: jspb.Message.toObjectList(msg.getOptionList(),
783
+ proto.prisca.v1.core.transaction_builder.Value.toObject, includeInstance),
579
784
  isRequired: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
580
785
  isShow: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
581
786
  dataSource: jspb.Message.getFieldWithDefault(msg, 11, ""),
@@ -586,7 +791,8 @@ autoFill: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
586
791
  keyOfFill: jspb.Message.getFieldWithDefault(msg, 16, ""),
587
792
  parentKey: jspb.Message.getFieldWithDefault(msg, 17, ""),
588
793
  isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
589
- orders: jspb.Message.getFieldWithDefault(msg, 19, 0)
794
+ orders: jspb.Message.getFieldWithDefault(msg, 19, 0),
795
+ value: jspb.Message.getFieldWithDefault(msg, 20, "")
590
796
  };
591
797
 
592
798
  if (includeInstance) {
@@ -635,67 +841,787 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.deserializeBin
635
841
  var value = /** @type {string} */ (reader.readString());
636
842
  msg.setKey(value);
637
843
  break;
638
- case 4:
844
+ case 4:
845
+ var value = /** @type {string} */ (reader.readString());
846
+ msg.setLabel(value);
847
+ break;
848
+ case 5:
849
+ var value = /** @type {string} */ (reader.readString());
850
+ msg.setHintText(value);
851
+ break;
852
+ case 6:
853
+ var value = /** @type {string} */ (reader.readString());
854
+ msg.setPlaceHolder(value);
855
+ break;
856
+ case 7:
857
+ var value = /** @type {number} */ (reader.readInt64());
858
+ msg.setMax(value);
859
+ break;
860
+ case 8:
861
+ var value = new proto.prisca.v1.core.transaction_builder.Value;
862
+ reader.readMessage(value,proto.prisca.v1.core.transaction_builder.Value.deserializeBinaryFromReader);
863
+ msg.addOption(value);
864
+ break;
865
+ case 9:
866
+ var value = /** @type {boolean} */ (reader.readBool());
867
+ msg.setIsRequired(value);
868
+ break;
869
+ case 10:
870
+ var value = /** @type {boolean} */ (reader.readBool());
871
+ msg.setIsShow(value);
872
+ break;
873
+ case 11:
874
+ var value = /** @type {string} */ (reader.readString());
875
+ msg.setDataSource(value);
876
+ break;
877
+ case 12:
878
+ var value = /** @type {string} */ (reader.readString());
879
+ msg.setType(value);
880
+ break;
881
+ case 13:
882
+ var value = /** @type {string} */ (reader.readString());
883
+ msg.setDefaultValue(value);
884
+ break;
885
+ case 14:
886
+ var value = /** @type {string} */ (reader.readString());
887
+ msg.setSelectedValue(value);
888
+ break;
889
+ case 15:
890
+ var value = /** @type {boolean} */ (reader.readBool());
891
+ msg.setAutoFill(value);
892
+ break;
893
+ case 16:
894
+ var value = /** @type {string} */ (reader.readString());
895
+ msg.setKeyOfFill(value);
896
+ break;
897
+ case 17:
898
+ var value = /** @type {string} */ (reader.readString());
899
+ msg.setParentKey(value);
900
+ break;
901
+ case 18:
902
+ var value = /** @type {boolean} */ (reader.readBool());
903
+ msg.setIsMaster(value);
904
+ break;
905
+ case 19:
906
+ var value = /** @type {number} */ (reader.readInt64());
907
+ msg.setOrders(value);
908
+ break;
909
+ case 20:
910
+ var value = /** @type {string} */ (reader.readString());
911
+ msg.setValue(value);
912
+ break;
913
+ default:
914
+ reader.skipField();
915
+ break;
916
+ }
917
+ }
918
+ return msg;
919
+ };
920
+
921
+
922
+ /**
923
+ * Serializes the message to binary data (in protobuf wire format).
924
+ * @return {!Uint8Array}
925
+ */
926
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.serializeBinary = function() {
927
+ var writer = new jspb.BinaryWriter();
928
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinaryToWriter(this, writer);
929
+ return writer.getResultBuffer();
930
+ };
931
+
932
+
933
+ /**
934
+ * Serializes the given message to binary data (in protobuf wire
935
+ * format), writing to the given BinaryWriter.
936
+ * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} message
937
+ * @param {!jspb.BinaryWriter} writer
938
+ * @suppress {unusedLocalVariables} f is only used for nested messages
939
+ */
940
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinaryToWriter = function(message, writer) {
941
+ var f = undefined;
942
+ f = message.getId();
943
+ if (f !== 0) {
944
+ writer.writeInt64(
945
+ 1,
946
+ f
947
+ );
948
+ }
949
+ f = message.getTransactionBuilderId();
950
+ if (f !== 0) {
951
+ writer.writeInt64(
952
+ 2,
953
+ f
954
+ );
955
+ }
956
+ f = message.getKey();
957
+ if (f.length > 0) {
958
+ writer.writeString(
959
+ 3,
960
+ f
961
+ );
962
+ }
963
+ f = message.getLabel();
964
+ if (f.length > 0) {
965
+ writer.writeString(
966
+ 4,
967
+ f
968
+ );
969
+ }
970
+ f = message.getHintText();
971
+ if (f.length > 0) {
972
+ writer.writeString(
973
+ 5,
974
+ f
975
+ );
976
+ }
977
+ f = message.getPlaceHolder();
978
+ if (f.length > 0) {
979
+ writer.writeString(
980
+ 6,
981
+ f
982
+ );
983
+ }
984
+ f = message.getMax();
985
+ if (f !== 0) {
986
+ writer.writeInt64(
987
+ 7,
988
+ f
989
+ );
990
+ }
991
+ f = message.getOptionList();
992
+ if (f.length > 0) {
993
+ writer.writeRepeatedMessage(
994
+ 8,
995
+ f,
996
+ proto.prisca.v1.core.transaction_builder.Value.serializeBinaryToWriter
997
+ );
998
+ }
999
+ f = message.getIsRequired();
1000
+ if (f) {
1001
+ writer.writeBool(
1002
+ 9,
1003
+ f
1004
+ );
1005
+ }
1006
+ f = message.getIsShow();
1007
+ if (f) {
1008
+ writer.writeBool(
1009
+ 10,
1010
+ f
1011
+ );
1012
+ }
1013
+ f = message.getDataSource();
1014
+ if (f.length > 0) {
1015
+ writer.writeString(
1016
+ 11,
1017
+ f
1018
+ );
1019
+ }
1020
+ f = message.getType();
1021
+ if (f.length > 0) {
1022
+ writer.writeString(
1023
+ 12,
1024
+ f
1025
+ );
1026
+ }
1027
+ f = message.getDefaultValue();
1028
+ if (f.length > 0) {
1029
+ writer.writeString(
1030
+ 13,
1031
+ f
1032
+ );
1033
+ }
1034
+ f = message.getSelectedValue();
1035
+ if (f.length > 0) {
1036
+ writer.writeString(
1037
+ 14,
1038
+ f
1039
+ );
1040
+ }
1041
+ f = message.getAutoFill();
1042
+ if (f) {
1043
+ writer.writeBool(
1044
+ 15,
1045
+ f
1046
+ );
1047
+ }
1048
+ f = message.getKeyOfFill();
1049
+ if (f.length > 0) {
1050
+ writer.writeString(
1051
+ 16,
1052
+ f
1053
+ );
1054
+ }
1055
+ f = message.getParentKey();
1056
+ if (f.length > 0) {
1057
+ writer.writeString(
1058
+ 17,
1059
+ f
1060
+ );
1061
+ }
1062
+ f = message.getIsMaster();
1063
+ if (f) {
1064
+ writer.writeBool(
1065
+ 18,
1066
+ f
1067
+ );
1068
+ }
1069
+ f = message.getOrders();
1070
+ if (f !== 0) {
1071
+ writer.writeInt64(
1072
+ 19,
1073
+ f
1074
+ );
1075
+ }
1076
+ f = message.getValue();
1077
+ if (f.length > 0) {
1078
+ writer.writeString(
1079
+ 20,
1080
+ f
1081
+ );
1082
+ }
1083
+ };
1084
+
1085
+
1086
+ /**
1087
+ * optional int64 id = 1;
1088
+ * @return {number}
1089
+ */
1090
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getId = function() {
1091
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1092
+ };
1093
+
1094
+
1095
+ /**
1096
+ * @param {number} value
1097
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1098
+ */
1099
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setId = function(value) {
1100
+ return jspb.Message.setProto3IntField(this, 1, value);
1101
+ };
1102
+
1103
+
1104
+ /**
1105
+ * optional int64 transaction_builder_id = 2;
1106
+ * @return {number}
1107
+ */
1108
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getTransactionBuilderId = function() {
1109
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1110
+ };
1111
+
1112
+
1113
+ /**
1114
+ * @param {number} value
1115
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1116
+ */
1117
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setTransactionBuilderId = function(value) {
1118
+ return jspb.Message.setProto3IntField(this, 2, value);
1119
+ };
1120
+
1121
+
1122
+ /**
1123
+ * optional string key = 3;
1124
+ * @return {string}
1125
+ */
1126
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getKey = function() {
1127
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1128
+ };
1129
+
1130
+
1131
+ /**
1132
+ * @param {string} value
1133
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1134
+ */
1135
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setKey = function(value) {
1136
+ return jspb.Message.setProto3StringField(this, 3, value);
1137
+ };
1138
+
1139
+
1140
+ /**
1141
+ * optional string label = 4;
1142
+ * @return {string}
1143
+ */
1144
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getLabel = function() {
1145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1146
+ };
1147
+
1148
+
1149
+ /**
1150
+ * @param {string} value
1151
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1152
+ */
1153
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setLabel = function(value) {
1154
+ return jspb.Message.setProto3StringField(this, 4, value);
1155
+ };
1156
+
1157
+
1158
+ /**
1159
+ * optional string hint_text = 5;
1160
+ * @return {string}
1161
+ */
1162
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getHintText = function() {
1163
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1164
+ };
1165
+
1166
+
1167
+ /**
1168
+ * @param {string} value
1169
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1170
+ */
1171
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setHintText = function(value) {
1172
+ return jspb.Message.setProto3StringField(this, 5, value);
1173
+ };
1174
+
1175
+
1176
+ /**
1177
+ * optional string place_holder = 6;
1178
+ * @return {string}
1179
+ */
1180
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getPlaceHolder = function() {
1181
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1182
+ };
1183
+
1184
+
1185
+ /**
1186
+ * @param {string} value
1187
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1188
+ */
1189
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setPlaceHolder = function(value) {
1190
+ return jspb.Message.setProto3StringField(this, 6, value);
1191
+ };
1192
+
1193
+
1194
+ /**
1195
+ * optional int64 max = 7;
1196
+ * @return {number}
1197
+ */
1198
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getMax = function() {
1199
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
1200
+ };
1201
+
1202
+
1203
+ /**
1204
+ * @param {number} value
1205
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1206
+ */
1207
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setMax = function(value) {
1208
+ return jspb.Message.setProto3IntField(this, 7, value);
1209
+ };
1210
+
1211
+
1212
+ /**
1213
+ * repeated Value option = 8;
1214
+ * @return {!Array<!proto.prisca.v1.core.transaction_builder.Value>}
1215
+ */
1216
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getOptionList = function() {
1217
+ return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.Value>} */ (
1218
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.Value, 8));
1219
+ };
1220
+
1221
+
1222
+ /**
1223
+ * @param {!Array<!proto.prisca.v1.core.transaction_builder.Value>} value
1224
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1225
+ */
1226
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setOptionList = function(value) {
1227
+ return jspb.Message.setRepeatedWrapperField(this, 8, value);
1228
+ };
1229
+
1230
+
1231
+ /**
1232
+ * @param {!proto.prisca.v1.core.transaction_builder.Value=} opt_value
1233
+ * @param {number=} opt_index
1234
+ * @return {!proto.prisca.v1.core.transaction_builder.Value}
1235
+ */
1236
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.addOption = function(opt_value, opt_index) {
1237
+ return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.prisca.v1.core.transaction_builder.Value, opt_index);
1238
+ };
1239
+
1240
+
1241
+ /**
1242
+ * Clears the list making it empty but non-null.
1243
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1244
+ */
1245
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.clearOptionList = function() {
1246
+ return this.setOptionList([]);
1247
+ };
1248
+
1249
+
1250
+ /**
1251
+ * optional bool is_required = 9;
1252
+ * @return {boolean}
1253
+ */
1254
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getIsRequired = function() {
1255
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
1256
+ };
1257
+
1258
+
1259
+ /**
1260
+ * @param {boolean} value
1261
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1262
+ */
1263
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setIsRequired = function(value) {
1264
+ return jspb.Message.setProto3BooleanField(this, 9, value);
1265
+ };
1266
+
1267
+
1268
+ /**
1269
+ * optional bool is_show = 10;
1270
+ * @return {boolean}
1271
+ */
1272
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getIsShow = function() {
1273
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
1274
+ };
1275
+
1276
+
1277
+ /**
1278
+ * @param {boolean} value
1279
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1280
+ */
1281
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setIsShow = function(value) {
1282
+ return jspb.Message.setProto3BooleanField(this, 10, value);
1283
+ };
1284
+
1285
+
1286
+ /**
1287
+ * optional string data_source = 11;
1288
+ * @return {string}
1289
+ */
1290
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getDataSource = function() {
1291
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1292
+ };
1293
+
1294
+
1295
+ /**
1296
+ * @param {string} value
1297
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1298
+ */
1299
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setDataSource = function(value) {
1300
+ return jspb.Message.setProto3StringField(this, 11, value);
1301
+ };
1302
+
1303
+
1304
+ /**
1305
+ * optional string type = 12;
1306
+ * @return {string}
1307
+ */
1308
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getType = function() {
1309
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1310
+ };
1311
+
1312
+
1313
+ /**
1314
+ * @param {string} value
1315
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1316
+ */
1317
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setType = function(value) {
1318
+ return jspb.Message.setProto3StringField(this, 12, value);
1319
+ };
1320
+
1321
+
1322
+ /**
1323
+ * optional string default_value = 13;
1324
+ * @return {string}
1325
+ */
1326
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getDefaultValue = function() {
1327
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1328
+ };
1329
+
1330
+
1331
+ /**
1332
+ * @param {string} value
1333
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1334
+ */
1335
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setDefaultValue = function(value) {
1336
+ return jspb.Message.setProto3StringField(this, 13, value);
1337
+ };
1338
+
1339
+
1340
+ /**
1341
+ * optional string selected_value = 14;
1342
+ * @return {string}
1343
+ */
1344
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getSelectedValue = function() {
1345
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
1346
+ };
1347
+
1348
+
1349
+ /**
1350
+ * @param {string} value
1351
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1352
+ */
1353
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setSelectedValue = function(value) {
1354
+ return jspb.Message.setProto3StringField(this, 14, value);
1355
+ };
1356
+
1357
+
1358
+ /**
1359
+ * optional bool auto_fill = 15;
1360
+ * @return {boolean}
1361
+ */
1362
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getAutoFill = function() {
1363
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
1364
+ };
1365
+
1366
+
1367
+ /**
1368
+ * @param {boolean} value
1369
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1370
+ */
1371
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setAutoFill = function(value) {
1372
+ return jspb.Message.setProto3BooleanField(this, 15, value);
1373
+ };
1374
+
1375
+
1376
+ /**
1377
+ * optional string key_of_fill = 16;
1378
+ * @return {string}
1379
+ */
1380
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getKeyOfFill = function() {
1381
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
1382
+ };
1383
+
1384
+
1385
+ /**
1386
+ * @param {string} value
1387
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1388
+ */
1389
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setKeyOfFill = function(value) {
1390
+ return jspb.Message.setProto3StringField(this, 16, value);
1391
+ };
1392
+
1393
+
1394
+ /**
1395
+ * optional string parent_key = 17;
1396
+ * @return {string}
1397
+ */
1398
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getParentKey = function() {
1399
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
1400
+ };
1401
+
1402
+
1403
+ /**
1404
+ * @param {string} value
1405
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1406
+ */
1407
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setParentKey = function(value) {
1408
+ return jspb.Message.setProto3StringField(this, 17, value);
1409
+ };
1410
+
1411
+
1412
+ /**
1413
+ * optional bool is_master = 18;
1414
+ * @return {boolean}
1415
+ */
1416
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getIsMaster = function() {
1417
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false));
1418
+ };
1419
+
1420
+
1421
+ /**
1422
+ * @param {boolean} value
1423
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1424
+ */
1425
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setIsMaster = function(value) {
1426
+ return jspb.Message.setProto3BooleanField(this, 18, value);
1427
+ };
1428
+
1429
+
1430
+ /**
1431
+ * optional int64 orders = 19;
1432
+ * @return {number}
1433
+ */
1434
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getOrders = function() {
1435
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
1436
+ };
1437
+
1438
+
1439
+ /**
1440
+ * @param {number} value
1441
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1442
+ */
1443
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setOrders = function(value) {
1444
+ return jspb.Message.setProto3IntField(this, 19, value);
1445
+ };
1446
+
1447
+
1448
+ /**
1449
+ * optional string value = 20;
1450
+ * @return {string}
1451
+ */
1452
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getValue = function() {
1453
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
1454
+ };
1455
+
1456
+
1457
+ /**
1458
+ * @param {string} value
1459
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1460
+ */
1461
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setValue = function(value) {
1462
+ return jspb.Message.setProto3StringField(this, 20, value);
1463
+ };
1464
+
1465
+
1466
+
1467
+ /**
1468
+ * List of repeated fields within this message type.
1469
+ * @private {!Array<number>}
1470
+ * @const
1471
+ */
1472
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.repeatedFields_ = [6];
1473
+
1474
+
1475
+
1476
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1477
+ /**
1478
+ * Creates an object representation of this proto.
1479
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1480
+ * Optional fields that are not set will be set to undefined.
1481
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1482
+ * For the list of reserved names please see:
1483
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1484
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1485
+ * JSPB instance for transitional soy proto support:
1486
+ * http://goto/soy-param-migration
1487
+ * @return {!Object}
1488
+ */
1489
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.toObject = function(opt_includeInstance) {
1490
+ return proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.toObject(opt_includeInstance, this);
1491
+ };
1492
+
1493
+
1494
+ /**
1495
+ * Static version of the {@see toObject} method.
1496
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1497
+ * the JSPB instance for transitional soy proto support:
1498
+ * http://goto/soy-param-migration
1499
+ * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} msg The msg instance to transform.
1500
+ * @return {!Object}
1501
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1502
+ */
1503
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.toObject = function(includeInstance, msg) {
1504
+ var f, obj = {
1505
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
1506
+ label: jspb.Message.getFieldWithDefault(msg, 2, ""),
1507
+ hintText: jspb.Message.getFieldWithDefault(msg, 3, ""),
1508
+ placeHolder: jspb.Message.getFieldWithDefault(msg, 4, ""),
1509
+ max: jspb.Message.getFieldWithDefault(msg, 5, 0),
1510
+ optionList: jspb.Message.toObjectList(msg.getOptionList(),
1511
+ proto.prisca.v1.core.transaction_builder.Value.toObject, includeInstance),
1512
+ isRequired: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
1513
+ isShow: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
1514
+ dataSource: jspb.Message.getFieldWithDefault(msg, 9, ""),
1515
+ type: jspb.Message.getFieldWithDefault(msg, 10, ""),
1516
+ defaultValue: jspb.Message.getFieldWithDefault(msg, 11, ""),
1517
+ selectedValue: jspb.Message.getFieldWithDefault(msg, 12, ""),
1518
+ autoFill: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
1519
+ keyOfFill: jspb.Message.getFieldWithDefault(msg, 14, ""),
1520
+ parentKey: jspb.Message.getFieldWithDefault(msg, 15, ""),
1521
+ isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
1522
+ orders: jspb.Message.getFieldWithDefault(msg, 17, 0)
1523
+ };
1524
+
1525
+ if (includeInstance) {
1526
+ obj.$jspbMessageInstance = msg;
1527
+ }
1528
+ return obj;
1529
+ };
1530
+ }
1531
+
1532
+
1533
+ /**
1534
+ * Deserializes binary data (in protobuf wire format).
1535
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1536
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase}
1537
+ */
1538
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.deserializeBinary = function(bytes) {
1539
+ var reader = new jspb.BinaryReader(bytes);
1540
+ var msg = new proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase;
1541
+ return proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.deserializeBinaryFromReader(msg, reader);
1542
+ };
1543
+
1544
+
1545
+ /**
1546
+ * Deserializes binary data (in protobuf wire format) from the
1547
+ * given reader into the given message object.
1548
+ * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} msg The message object to deserialize into.
1549
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1550
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase}
1551
+ */
1552
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.deserializeBinaryFromReader = function(msg, reader) {
1553
+ while (reader.nextField()) {
1554
+ if (reader.isEndGroup()) {
1555
+ break;
1556
+ }
1557
+ var field = reader.getFieldNumber();
1558
+ switch (field) {
1559
+ case 1:
1560
+ var value = /** @type {string} */ (reader.readString());
1561
+ msg.setKey(value);
1562
+ break;
1563
+ case 2:
639
1564
  var value = /** @type {string} */ (reader.readString());
640
1565
  msg.setLabel(value);
641
1566
  break;
642
- case 5:
1567
+ case 3:
643
1568
  var value = /** @type {string} */ (reader.readString());
644
1569
  msg.setHintText(value);
645
1570
  break;
646
- case 6:
1571
+ case 4:
647
1572
  var value = /** @type {string} */ (reader.readString());
648
1573
  msg.setPlaceHolder(value);
649
1574
  break;
650
- case 7:
1575
+ case 5:
651
1576
  var value = /** @type {number} */ (reader.readInt64());
652
1577
  msg.setMax(value);
653
1578
  break;
654
- case 8:
655
- var value = /** @type {string} */ (reader.readString());
1579
+ case 6:
1580
+ var value = new proto.prisca.v1.core.transaction_builder.Value;
1581
+ reader.readMessage(value,proto.prisca.v1.core.transaction_builder.Value.deserializeBinaryFromReader);
656
1582
  msg.addOption(value);
657
1583
  break;
658
- case 9:
1584
+ case 7:
659
1585
  var value = /** @type {boolean} */ (reader.readBool());
660
1586
  msg.setIsRequired(value);
661
1587
  break;
662
- case 10:
1588
+ case 8:
663
1589
  var value = /** @type {boolean} */ (reader.readBool());
664
1590
  msg.setIsShow(value);
665
1591
  break;
666
- case 11:
1592
+ case 9:
667
1593
  var value = /** @type {string} */ (reader.readString());
668
1594
  msg.setDataSource(value);
669
1595
  break;
670
- case 12:
1596
+ case 10:
671
1597
  var value = /** @type {string} */ (reader.readString());
672
1598
  msg.setType(value);
673
1599
  break;
674
- case 13:
1600
+ case 11:
675
1601
  var value = /** @type {string} */ (reader.readString());
676
1602
  msg.setDefaultValue(value);
677
1603
  break;
678
- case 14:
1604
+ case 12:
679
1605
  var value = /** @type {string} */ (reader.readString());
680
1606
  msg.setSelectedValue(value);
681
1607
  break;
682
- case 15:
1608
+ case 13:
683
1609
  var value = /** @type {boolean} */ (reader.readBool());
684
1610
  msg.setAutoFill(value);
685
1611
  break;
686
- case 16:
1612
+ case 14:
687
1613
  var value = /** @type {string} */ (reader.readString());
688
1614
  msg.setKeyOfFill(value);
689
1615
  break;
690
- case 17:
1616
+ case 15:
691
1617
  var value = /** @type {string} */ (reader.readString());
692
1618
  msg.setParentKey(value);
693
1619
  break;
694
- case 18:
1620
+ case 16:
695
1621
  var value = /** @type {boolean} */ (reader.readBool());
696
1622
  msg.setIsMaster(value);
697
1623
  break;
698
- case 19:
1624
+ case 17:
699
1625
  var value = /** @type {number} */ (reader.readInt64());
700
1626
  msg.setOrders(value);
701
1627
  break;
@@ -712,9 +1638,9 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.deserializeBin
712
1638
  * Serializes the message to binary data (in protobuf wire format).
713
1639
  * @return {!Uint8Array}
714
1640
  */
715
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.serializeBinary = function() {
1641
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.serializeBinary = function() {
716
1642
  var writer = new jspb.BinaryWriter();
717
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinaryToWriter(this, writer);
1643
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeBinaryToWriter(this, writer);
718
1644
  return writer.getResultBuffer();
719
1645
  };
720
1646
 
@@ -722,142 +1648,129 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.seri
722
1648
  /**
723
1649
  * Serializes the given message to binary data (in protobuf wire
724
1650
  * format), writing to the given BinaryWriter.
725
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} message
1651
+ * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} message
726
1652
  * @param {!jspb.BinaryWriter} writer
727
1653
  * @suppress {unusedLocalVariables} f is only used for nested messages
728
1654
  */
729
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinaryToWriter = function(message, writer) {
1655
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeBinaryToWriter = function(message, writer) {
730
1656
  var f = undefined;
731
- f = message.getId();
732
- if (f !== 0) {
733
- writer.writeInt64(
734
- 1,
735
- f
736
- );
737
- }
738
- f = message.getTransactionBuilderId();
739
- if (f !== 0) {
740
- writer.writeInt64(
741
- 2,
742
- f
743
- );
744
- }
745
1657
  f = message.getKey();
746
1658
  if (f.length > 0) {
747
1659
  writer.writeString(
748
- 3,
1660
+ 1,
749
1661
  f
750
1662
  );
751
1663
  }
752
1664
  f = message.getLabel();
753
1665
  if (f.length > 0) {
754
1666
  writer.writeString(
755
- 4,
1667
+ 2,
756
1668
  f
757
1669
  );
758
1670
  }
759
1671
  f = message.getHintText();
760
1672
  if (f.length > 0) {
761
1673
  writer.writeString(
762
- 5,
1674
+ 3,
763
1675
  f
764
1676
  );
765
1677
  }
766
1678
  f = message.getPlaceHolder();
767
1679
  if (f.length > 0) {
768
1680
  writer.writeString(
769
- 6,
1681
+ 4,
770
1682
  f
771
1683
  );
772
1684
  }
773
1685
  f = message.getMax();
774
1686
  if (f !== 0) {
775
1687
  writer.writeInt64(
776
- 7,
1688
+ 5,
777
1689
  f
778
1690
  );
779
1691
  }
780
1692
  f = message.getOptionList();
781
1693
  if (f.length > 0) {
782
- writer.writeRepeatedString(
783
- 8,
784
- f
1694
+ writer.writeRepeatedMessage(
1695
+ 6,
1696
+ f,
1697
+ proto.prisca.v1.core.transaction_builder.Value.serializeBinaryToWriter
785
1698
  );
786
1699
  }
787
1700
  f = message.getIsRequired();
788
1701
  if (f) {
789
1702
  writer.writeBool(
790
- 9,
1703
+ 7,
791
1704
  f
792
1705
  );
793
1706
  }
794
1707
  f = message.getIsShow();
795
1708
  if (f) {
796
1709
  writer.writeBool(
797
- 10,
1710
+ 8,
798
1711
  f
799
1712
  );
800
1713
  }
801
1714
  f = message.getDataSource();
802
1715
  if (f.length > 0) {
803
1716
  writer.writeString(
804
- 11,
1717
+ 9,
805
1718
  f
806
1719
  );
807
1720
  }
808
1721
  f = message.getType();
809
1722
  if (f.length > 0) {
810
1723
  writer.writeString(
811
- 12,
1724
+ 10,
812
1725
  f
813
1726
  );
814
1727
  }
815
1728
  f = message.getDefaultValue();
816
1729
  if (f.length > 0) {
817
1730
  writer.writeString(
818
- 13,
1731
+ 11,
819
1732
  f
820
1733
  );
821
1734
  }
822
1735
  f = message.getSelectedValue();
823
1736
  if (f.length > 0) {
824
1737
  writer.writeString(
825
- 14,
1738
+ 12,
826
1739
  f
827
1740
  );
828
1741
  }
829
1742
  f = message.getAutoFill();
830
1743
  if (f) {
831
1744
  writer.writeBool(
832
- 15,
1745
+ 13,
833
1746
  f
834
1747
  );
835
1748
  }
836
1749
  f = message.getKeyOfFill();
837
1750
  if (f.length > 0) {
838
1751
  writer.writeString(
839
- 16,
1752
+ 14,
840
1753
  f
841
1754
  );
842
1755
  }
843
1756
  f = message.getParentKey();
844
1757
  if (f.length > 0) {
845
1758
  writer.writeString(
846
- 17,
1759
+ 15,
847
1760
  f
848
1761
  );
849
1762
  }
850
1763
  f = message.getIsMaster();
851
1764
  if (f) {
852
1765
  writer.writeBool(
853
- 18,
1766
+ 16,
854
1767
  f
855
1768
  );
856
1769
  }
857
1770
  f = message.getOrders();
858
1771
  if (f !== 0) {
859
1772
  writer.writeInt64(
860
- 19,
1773
+ 17,
861
1774
  f
862
1775
  );
863
1776
  }
@@ -865,363 +1778,328 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinar
865
1778
 
866
1779
 
867
1780
  /**
868
- * optional int64 id = 1;
869
- * @return {number}
870
- */
871
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getId = function() {
872
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
873
- };
874
-
875
-
876
- /**
877
- * @param {number} value
878
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
879
- */
880
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setId = function(value) {
881
- return jspb.Message.setProto3IntField(this, 1, value);
882
- };
883
-
884
-
885
- /**
886
- * optional int64 transaction_builder_id = 2;
887
- * @return {number}
888
- */
889
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getTransactionBuilderId = function() {
890
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
891
- };
892
-
893
-
894
- /**
895
- * @param {number} value
896
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
897
- */
898
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setTransactionBuilderId = function(value) {
899
- return jspb.Message.setProto3IntField(this, 2, value);
900
- };
901
-
902
-
903
- /**
904
- * optional string key = 3;
1781
+ * optional string key = 1;
905
1782
  * @return {string}
906
1783
  */
907
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getKey = function() {
908
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1784
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getKey = function() {
1785
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
909
1786
  };
910
1787
 
911
1788
 
912
1789
  /**
913
1790
  * @param {string} value
914
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1791
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
915
1792
  */
916
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setKey = function(value) {
917
- return jspb.Message.setProto3StringField(this, 3, value);
1793
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setKey = function(value) {
1794
+ return jspb.Message.setProto3StringField(this, 1, value);
918
1795
  };
919
1796
 
920
1797
 
921
1798
  /**
922
- * optional string label = 4;
1799
+ * optional string label = 2;
923
1800
  * @return {string}
924
1801
  */
925
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getLabel = function() {
926
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1802
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getLabel = function() {
1803
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
927
1804
  };
928
1805
 
929
1806
 
930
1807
  /**
931
1808
  * @param {string} value
932
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1809
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
933
1810
  */
934
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setLabel = function(value) {
935
- return jspb.Message.setProto3StringField(this, 4, value);
1811
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setLabel = function(value) {
1812
+ return jspb.Message.setProto3StringField(this, 2, value);
936
1813
  };
937
1814
 
938
1815
 
939
1816
  /**
940
- * optional string hint_text = 5;
1817
+ * optional string hint_text = 3;
941
1818
  * @return {string}
942
1819
  */
943
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getHintText = function() {
944
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1820
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getHintText = function() {
1821
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
945
1822
  };
946
1823
 
947
1824
 
948
1825
  /**
949
1826
  * @param {string} value
950
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1827
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
951
1828
  */
952
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setHintText = function(value) {
953
- return jspb.Message.setProto3StringField(this, 5, value);
1829
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setHintText = function(value) {
1830
+ return jspb.Message.setProto3StringField(this, 3, value);
954
1831
  };
955
1832
 
956
1833
 
957
1834
  /**
958
- * optional string place_holder = 6;
1835
+ * optional string place_holder = 4;
959
1836
  * @return {string}
960
1837
  */
961
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getPlaceHolder = function() {
962
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1838
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getPlaceHolder = function() {
1839
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
963
1840
  };
964
1841
 
965
1842
 
966
1843
  /**
967
1844
  * @param {string} value
968
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1845
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
969
1846
  */
970
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setPlaceHolder = function(value) {
971
- return jspb.Message.setProto3StringField(this, 6, value);
1847
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setPlaceHolder = function(value) {
1848
+ return jspb.Message.setProto3StringField(this, 4, value);
972
1849
  };
973
1850
 
974
1851
 
975
1852
  /**
976
- * optional int64 max = 7;
1853
+ * optional int64 max = 5;
977
1854
  * @return {number}
978
1855
  */
979
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getMax = function() {
980
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
1856
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getMax = function() {
1857
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
981
1858
  };
982
1859
 
983
1860
 
984
1861
  /**
985
1862
  * @param {number} value
986
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1863
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
987
1864
  */
988
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setMax = function(value) {
989
- return jspb.Message.setProto3IntField(this, 7, value);
1865
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setMax = function(value) {
1866
+ return jspb.Message.setProto3IntField(this, 5, value);
990
1867
  };
991
1868
 
992
1869
 
993
1870
  /**
994
- * repeated string option = 8;
995
- * @return {!Array<string>}
1871
+ * repeated Value option = 6;
1872
+ * @return {!Array<!proto.prisca.v1.core.transaction_builder.Value>}
996
1873
  */
997
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getOptionList = function() {
998
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
1874
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getOptionList = function() {
1875
+ return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.Value>} */ (
1876
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.Value, 6));
999
1877
  };
1000
1878
 
1001
1879
 
1002
1880
  /**
1003
- * @param {!Array<string>} value
1004
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1005
- */
1006
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setOptionList = function(value) {
1007
- return jspb.Message.setField(this, 8, value || []);
1881
+ * @param {!Array<!proto.prisca.v1.core.transaction_builder.Value>} value
1882
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1883
+ */
1884
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setOptionList = function(value) {
1885
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
1008
1886
  };
1009
1887
 
1010
1888
 
1011
1889
  /**
1012
- * @param {string} value
1890
+ * @param {!proto.prisca.v1.core.transaction_builder.Value=} opt_value
1013
1891
  * @param {number=} opt_index
1014
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1892
+ * @return {!proto.prisca.v1.core.transaction_builder.Value}
1015
1893
  */
1016
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.addOption = function(value, opt_index) {
1017
- return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
1894
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.addOption = function(opt_value, opt_index) {
1895
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.prisca.v1.core.transaction_builder.Value, opt_index);
1018
1896
  };
1019
1897
 
1020
1898
 
1021
1899
  /**
1022
1900
  * Clears the list making it empty but non-null.
1023
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1901
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1024
1902
  */
1025
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.clearOptionList = function() {
1903
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.clearOptionList = function() {
1026
1904
  return this.setOptionList([]);
1027
1905
  };
1028
1906
 
1029
1907
 
1030
1908
  /**
1031
- * optional bool is_required = 9;
1909
+ * optional bool is_required = 7;
1032
1910
  * @return {boolean}
1033
1911
  */
1034
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getIsRequired = function() {
1035
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
1912
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getIsRequired = function() {
1913
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
1036
1914
  };
1037
1915
 
1038
1916
 
1039
1917
  /**
1040
1918
  * @param {boolean} value
1041
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1919
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1042
1920
  */
1043
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setIsRequired = function(value) {
1044
- return jspb.Message.setProto3BooleanField(this, 9, value);
1921
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setIsRequired = function(value) {
1922
+ return jspb.Message.setProto3BooleanField(this, 7, value);
1045
1923
  };
1046
1924
 
1047
1925
 
1048
1926
  /**
1049
- * optional bool is_show = 10;
1927
+ * optional bool is_show = 8;
1050
1928
  * @return {boolean}
1051
1929
  */
1052
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getIsShow = function() {
1053
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
1930
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getIsShow = function() {
1931
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
1054
1932
  };
1055
1933
 
1056
1934
 
1057
1935
  /**
1058
1936
  * @param {boolean} value
1059
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1937
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1060
1938
  */
1061
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setIsShow = function(value) {
1062
- return jspb.Message.setProto3BooleanField(this, 10, value);
1939
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setIsShow = function(value) {
1940
+ return jspb.Message.setProto3BooleanField(this, 8, value);
1063
1941
  };
1064
1942
 
1065
1943
 
1066
1944
  /**
1067
- * optional string data_source = 11;
1945
+ * optional string data_source = 9;
1068
1946
  * @return {string}
1069
1947
  */
1070
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getDataSource = function() {
1071
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1948
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getDataSource = function() {
1949
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1072
1950
  };
1073
1951
 
1074
1952
 
1075
1953
  /**
1076
1954
  * @param {string} value
1077
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1955
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1078
1956
  */
1079
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setDataSource = function(value) {
1080
- return jspb.Message.setProto3StringField(this, 11, value);
1957
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setDataSource = function(value) {
1958
+ return jspb.Message.setProto3StringField(this, 9, value);
1081
1959
  };
1082
1960
 
1083
1961
 
1084
1962
  /**
1085
- * optional string type = 12;
1963
+ * optional string type = 10;
1086
1964
  * @return {string}
1087
1965
  */
1088
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getType = function() {
1089
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1966
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getType = function() {
1967
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1090
1968
  };
1091
1969
 
1092
1970
 
1093
1971
  /**
1094
1972
  * @param {string} value
1095
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1973
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1096
1974
  */
1097
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setType = function(value) {
1098
- return jspb.Message.setProto3StringField(this, 12, value);
1975
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setType = function(value) {
1976
+ return jspb.Message.setProto3StringField(this, 10, value);
1099
1977
  };
1100
1978
 
1101
1979
 
1102
1980
  /**
1103
- * optional string default_value = 13;
1981
+ * optional string default_value = 11;
1104
1982
  * @return {string}
1105
1983
  */
1106
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getDefaultValue = function() {
1107
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1984
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getDefaultValue = function() {
1985
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1108
1986
  };
1109
1987
 
1110
1988
 
1111
1989
  /**
1112
1990
  * @param {string} value
1113
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
1991
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1114
1992
  */
1115
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setDefaultValue = function(value) {
1116
- return jspb.Message.setProto3StringField(this, 13, value);
1993
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setDefaultValue = function(value) {
1994
+ return jspb.Message.setProto3StringField(this, 11, value);
1117
1995
  };
1118
1996
 
1119
1997
 
1120
1998
  /**
1121
- * optional string selected_value = 14;
1999
+ * optional string selected_value = 12;
1122
2000
  * @return {string}
1123
2001
  */
1124
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getSelectedValue = function() {
1125
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2002
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getSelectedValue = function() {
2003
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1126
2004
  };
1127
2005
 
1128
2006
 
1129
2007
  /**
1130
2008
  * @param {string} value
1131
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
2009
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1132
2010
  */
1133
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setSelectedValue = function(value) {
1134
- return jspb.Message.setProto3StringField(this, 14, value);
2011
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setSelectedValue = function(value) {
2012
+ return jspb.Message.setProto3StringField(this, 12, value);
1135
2013
  };
1136
2014
 
1137
2015
 
1138
2016
  /**
1139
- * optional bool auto_fill = 15;
2017
+ * optional bool auto_fill = 13;
1140
2018
  * @return {boolean}
1141
2019
  */
1142
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getAutoFill = function() {
1143
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
2020
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getAutoFill = function() {
2021
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
1144
2022
  };
1145
2023
 
1146
2024
 
1147
2025
  /**
1148
2026
  * @param {boolean} value
1149
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
2027
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1150
2028
  */
1151
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setAutoFill = function(value) {
1152
- return jspb.Message.setProto3BooleanField(this, 15, value);
2029
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setAutoFill = function(value) {
2030
+ return jspb.Message.setProto3BooleanField(this, 13, value);
1153
2031
  };
1154
2032
 
1155
2033
 
1156
2034
  /**
1157
- * optional string key_of_fill = 16;
2035
+ * optional string key_of_fill = 14;
1158
2036
  * @return {string}
1159
2037
  */
1160
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getKeyOfFill = function() {
1161
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
2038
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getKeyOfFill = function() {
2039
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
1162
2040
  };
1163
2041
 
1164
2042
 
1165
2043
  /**
1166
2044
  * @param {string} value
1167
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
2045
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1168
2046
  */
1169
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setKeyOfFill = function(value) {
1170
- return jspb.Message.setProto3StringField(this, 16, value);
2047
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setKeyOfFill = function(value) {
2048
+ return jspb.Message.setProto3StringField(this, 14, value);
1171
2049
  };
1172
2050
 
1173
2051
 
1174
2052
  /**
1175
- * optional string parent_key = 17;
2053
+ * optional string parent_key = 15;
1176
2054
  * @return {string}
1177
2055
  */
1178
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getParentKey = function() {
1179
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
2056
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getParentKey = function() {
2057
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
1180
2058
  };
1181
2059
 
1182
2060
 
1183
2061
  /**
1184
2062
  * @param {string} value
1185
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
2063
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1186
2064
  */
1187
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setParentKey = function(value) {
1188
- return jspb.Message.setProto3StringField(this, 17, value);
2065
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setParentKey = function(value) {
2066
+ return jspb.Message.setProto3StringField(this, 15, value);
1189
2067
  };
1190
2068
 
1191
2069
 
1192
2070
  /**
1193
- * optional bool is_master = 18;
2071
+ * optional bool is_master = 16;
1194
2072
  * @return {boolean}
1195
2073
  */
1196
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getIsMaster = function() {
1197
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false));
2074
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getIsMaster = function() {
2075
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
1198
2076
  };
1199
2077
 
1200
2078
 
1201
2079
  /**
1202
2080
  * @param {boolean} value
1203
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
2081
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1204
2082
  */
1205
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setIsMaster = function(value) {
1206
- return jspb.Message.setProto3BooleanField(this, 18, value);
2083
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setIsMaster = function(value) {
2084
+ return jspb.Message.setProto3BooleanField(this, 16, value);
1207
2085
  };
1208
2086
 
1209
2087
 
1210
2088
  /**
1211
- * optional int64 orders = 19;
2089
+ * optional int64 orders = 17;
1212
2090
  * @return {number}
1213
2091
  */
1214
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getOrders = function() {
1215
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
2092
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getOrders = function() {
2093
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
1216
2094
  };
1217
2095
 
1218
2096
 
1219
2097
  /**
1220
2098
  * @param {number} value
1221
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
2099
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
1222
2100
  */
1223
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setOrders = function(value) {
1224
- return jspb.Message.setProto3IntField(this, 19, value);
2101
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setOrders = function(value) {
2102
+ return jspb.Message.setProto3IntField(this, 17, value);
1225
2103
  };
1226
2104
 
1227
2105
 
@@ -2537,7 +3415,7 @@ proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest.toObject = fun
2537
3415
  var f, obj = {
2538
3416
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2539
3417
  transactionBuilderFieldsList: jspb.Message.toObjectList(msg.getTransactionBuilderFieldsList(),
2540
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.toObject, includeInstance)
3418
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.toObject, includeInstance)
2541
3419
  };
2542
3420
 
2543
3421
  if (includeInstance) {
@@ -2579,8 +3457,8 @@ proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest.deserializeBin
2579
3457
  msg.setId(value);
2580
3458
  break;
2581
3459
  case 2:
2582
- var value = new proto.prisca.v1.core.transaction_builder.TransactionBuilderFields;
2583
- reader.readMessage(value,proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.deserializeBinaryFromReader);
3460
+ var value = new proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase;
3461
+ reader.readMessage(value,proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.deserializeBinaryFromReader);
2584
3462
  msg.addTransactionBuilderFields(value);
2585
3463
  break;
2586
3464
  default:
@@ -2624,7 +3502,7 @@ proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest.serializeBinar
2624
3502
  writer.writeRepeatedMessage(
2625
3503
  2,
2626
3504
  f,
2627
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinaryToWriter
3505
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeBinaryToWriter
2628
3506
  );
2629
3507
  }
2630
3508
  };
@@ -2649,17 +3527,17 @@ proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest.prototype.setI
2649
3527
 
2650
3528
 
2651
3529
  /**
2652
- * repeated TransactionBuilderFields transaction_builder_fields = 2;
2653
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields>}
3530
+ * repeated TransactionBuilderFieldsBase transaction_builder_fields = 2;
3531
+ * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase>}
2654
3532
  */
2655
3533
  proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest.prototype.getTransactionBuilderFieldsList = function() {
2656
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields>} */ (
2657
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.TransactionBuilderFields, 2));
3534
+ return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase>} */ (
3535
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase, 2));
2658
3536
  };
2659
3537
 
2660
3538
 
2661
3539
  /**
2662
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields>} value
3540
+ * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase>} value
2663
3541
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest} returns this
2664
3542
  */
2665
3543
  proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest.prototype.setTransactionBuilderFieldsList = function(value) {
@@ -2668,12 +3546,12 @@ proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest.prototype.setT
2668
3546
 
2669
3547
 
2670
3548
  /**
2671
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields=} opt_value
3549
+ * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase=} opt_value
2672
3550
  * @param {number=} opt_index
2673
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields}
3551
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase}
2674
3552
  */
2675
3553
  proto.prisca.v1.core.transaction_builder.TransactionFieldsRequest.prototype.addTransactionBuilderFields = function(opt_value, opt_index) {
2676
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFields, opt_index);
3554
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase, opt_index);
2677
3555
  };
2678
3556
 
2679
3557