@aptre/protobuf-es-lite 0.3.0 → 0.4.0

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.
@@ -27,7 +27,7 @@
27
27
  // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
28
  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
29
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
- import { createEnumType, createMessageType, ScalarType } from "../../index.js";
30
+ import { createEnumType, createMessageType, ScalarType, } from "../../index.js";
31
31
  export const protobufPackage = "google.protobuf";
32
32
  /**
33
33
  * The full set of known editions.
@@ -704,12 +704,48 @@ export const FieldOptions_EditionDefault = createMessageType({
704
704
  export const FeatureSet = createMessageType({
705
705
  typeName: "google.protobuf.FeatureSet",
706
706
  fields: [
707
- { no: 1, name: "field_presence", kind: "enum", T: FeatureSet_FieldPresence_Enum, opt: true },
708
- { no: 2, name: "enum_type", kind: "enum", T: FeatureSet_EnumType_Enum, opt: true },
709
- { no: 3, name: "repeated_field_encoding", kind: "enum", T: FeatureSet_RepeatedFieldEncoding_Enum, opt: true },
710
- { no: 4, name: "utf8_validation", kind: "enum", T: FeatureSet_Utf8Validation_Enum, opt: true },
711
- { no: 5, name: "message_encoding", kind: "enum", T: FeatureSet_MessageEncoding_Enum, opt: true },
712
- { no: 6, name: "json_format", kind: "enum", T: FeatureSet_JsonFormat_Enum, opt: true },
707
+ {
708
+ no: 1,
709
+ name: "field_presence",
710
+ kind: "enum",
711
+ T: FeatureSet_FieldPresence_Enum,
712
+ opt: true,
713
+ },
714
+ {
715
+ no: 2,
716
+ name: "enum_type",
717
+ kind: "enum",
718
+ T: FeatureSet_EnumType_Enum,
719
+ opt: true,
720
+ },
721
+ {
722
+ no: 3,
723
+ name: "repeated_field_encoding",
724
+ kind: "enum",
725
+ T: FeatureSet_RepeatedFieldEncoding_Enum,
726
+ opt: true,
727
+ },
728
+ {
729
+ no: 4,
730
+ name: "utf8_validation",
731
+ kind: "enum",
732
+ T: FeatureSet_Utf8Validation_Enum,
733
+ opt: true,
734
+ },
735
+ {
736
+ no: 5,
737
+ name: "message_encoding",
738
+ kind: "enum",
739
+ T: FeatureSet_MessageEncoding_Enum,
740
+ opt: true,
741
+ },
742
+ {
743
+ no: 6,
744
+ name: "json_format",
745
+ kind: "enum",
746
+ T: FeatureSet_JsonFormat_Enum,
747
+ opt: true,
748
+ },
713
749
  ],
714
750
  packedByDefault: false,
715
751
  });
@@ -717,8 +753,20 @@ export const FeatureSet = createMessageType({
717
753
  export const UninterpretedOption_NamePart = createMessageType({
718
754
  typeName: "google.protobuf.UninterpretedOption.NamePart",
719
755
  fields: [
720
- { no: 1, name: "name_part", kind: "scalar", T: ScalarType.STRING, req: true },
721
- { no: 2, name: "is_extension", kind: "scalar", T: ScalarType.BOOL, req: true },
756
+ {
757
+ no: 1,
758
+ name: "name_part",
759
+ kind: "scalar",
760
+ T: ScalarType.STRING,
761
+ req: true,
762
+ },
763
+ {
764
+ no: 2,
765
+ name: "is_extension",
766
+ kind: "scalar",
767
+ T: ScalarType.BOOL,
768
+ req: true,
769
+ },
722
770
  ],
723
771
  packedByDefault: false,
724
772
  });
@@ -726,13 +774,55 @@ export const UninterpretedOption_NamePart = createMessageType({
726
774
  export const UninterpretedOption = createMessageType({
727
775
  typeName: "google.protobuf.UninterpretedOption",
728
776
  fields: [
729
- { no: 2, name: "name", kind: "message", T: () => UninterpretedOption_NamePart, repeated: true },
730
- { no: 3, name: "identifier_value", kind: "scalar", T: ScalarType.STRING, opt: true },
731
- { no: 4, name: "positive_int_value", kind: "scalar", T: ScalarType.UINT64, opt: true },
732
- { no: 5, name: "negative_int_value", kind: "scalar", T: ScalarType.INT64, opt: true },
733
- { no: 6, name: "double_value", kind: "scalar", T: ScalarType.DOUBLE, opt: true },
734
- { no: 7, name: "string_value", kind: "scalar", T: ScalarType.BYTES, opt: true },
735
- { no: 8, name: "aggregate_value", kind: "scalar", T: ScalarType.STRING, opt: true },
777
+ {
778
+ no: 2,
779
+ name: "name",
780
+ kind: "message",
781
+ T: () => UninterpretedOption_NamePart,
782
+ repeated: true,
783
+ },
784
+ {
785
+ no: 3,
786
+ name: "identifier_value",
787
+ kind: "scalar",
788
+ T: ScalarType.STRING,
789
+ opt: true,
790
+ },
791
+ {
792
+ no: 4,
793
+ name: "positive_int_value",
794
+ kind: "scalar",
795
+ T: ScalarType.UINT64,
796
+ opt: true,
797
+ },
798
+ {
799
+ no: 5,
800
+ name: "negative_int_value",
801
+ kind: "scalar",
802
+ T: ScalarType.INT64,
803
+ opt: true,
804
+ },
805
+ {
806
+ no: 6,
807
+ name: "double_value",
808
+ kind: "scalar",
809
+ T: ScalarType.DOUBLE,
810
+ opt: true,
811
+ },
812
+ {
813
+ no: 7,
814
+ name: "string_value",
815
+ kind: "scalar",
816
+ T: ScalarType.BYTES,
817
+ opt: true,
818
+ },
819
+ {
820
+ no: 8,
821
+ name: "aggregate_value",
822
+ kind: "scalar",
823
+ T: ScalarType.STRING,
824
+ opt: true,
825
+ },
736
826
  ],
737
827
  packedByDefault: false,
738
828
  });
@@ -740,19 +830,98 @@ export const UninterpretedOption = createMessageType({
740
830
  export const FieldOptions = createMessageType({
741
831
  typeName: "google.protobuf.FieldOptions",
742
832
  fields: [
743
- { no: 1, name: "ctype", kind: "enum", T: FieldOptions_CType_Enum, opt: true, default: FieldOptions_CType.STRING },
833
+ {
834
+ no: 1,
835
+ name: "ctype",
836
+ kind: "enum",
837
+ T: FieldOptions_CType_Enum,
838
+ opt: true,
839
+ default: FieldOptions_CType.STRING,
840
+ },
744
841
  { no: 2, name: "packed", kind: "scalar", T: ScalarType.BOOL, opt: true },
745
- { no: 6, name: "jstype", kind: "enum", T: FieldOptions_JSType_Enum, opt: true, default: FieldOptions_JSType.JS_NORMAL },
746
- { no: 5, name: "lazy", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
747
- { no: 15, name: "unverified_lazy", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
748
- { no: 3, name: "deprecated", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
749
- { no: 10, name: "weak", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
750
- { no: 16, name: "debug_redact", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
751
- { no: 17, name: "retention", kind: "enum", T: FieldOptions_OptionRetention_Enum, opt: true },
752
- { no: 19, name: "targets", kind: "enum", T: FieldOptions_OptionTargetType_Enum, repeated: true },
753
- { no: 20, name: "edition_defaults", kind: "message", T: () => FieldOptions_EditionDefault, repeated: true },
754
- { no: 21, name: "features", kind: "message", T: () => FeatureSet, opt: true },
755
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
842
+ {
843
+ no: 6,
844
+ name: "jstype",
845
+ kind: "enum",
846
+ T: FieldOptions_JSType_Enum,
847
+ opt: true,
848
+ default: FieldOptions_JSType.JS_NORMAL,
849
+ },
850
+ {
851
+ no: 5,
852
+ name: "lazy",
853
+ kind: "scalar",
854
+ T: ScalarType.BOOL,
855
+ opt: true,
856
+ default: false,
857
+ },
858
+ {
859
+ no: 15,
860
+ name: "unverified_lazy",
861
+ kind: "scalar",
862
+ T: ScalarType.BOOL,
863
+ opt: true,
864
+ default: false,
865
+ },
866
+ {
867
+ no: 3,
868
+ name: "deprecated",
869
+ kind: "scalar",
870
+ T: ScalarType.BOOL,
871
+ opt: true,
872
+ default: false,
873
+ },
874
+ {
875
+ no: 10,
876
+ name: "weak",
877
+ kind: "scalar",
878
+ T: ScalarType.BOOL,
879
+ opt: true,
880
+ default: false,
881
+ },
882
+ {
883
+ no: 16,
884
+ name: "debug_redact",
885
+ kind: "scalar",
886
+ T: ScalarType.BOOL,
887
+ opt: true,
888
+ default: false,
889
+ },
890
+ {
891
+ no: 17,
892
+ name: "retention",
893
+ kind: "enum",
894
+ T: FieldOptions_OptionRetention_Enum,
895
+ opt: true,
896
+ },
897
+ {
898
+ no: 19,
899
+ name: "targets",
900
+ kind: "enum",
901
+ T: FieldOptions_OptionTargetType_Enum,
902
+ repeated: true,
903
+ },
904
+ {
905
+ no: 20,
906
+ name: "edition_defaults",
907
+ kind: "message",
908
+ T: () => FieldOptions_EditionDefault,
909
+ repeated: true,
910
+ },
911
+ {
912
+ no: 21,
913
+ name: "features",
914
+ kind: "message",
915
+ T: () => FeatureSet,
916
+ opt: true,
917
+ },
918
+ {
919
+ no: 999,
920
+ name: "uninterpreted_option",
921
+ kind: "message",
922
+ T: () => UninterpretedOption,
923
+ repeated: true,
924
+ },
756
925
  ],
757
926
  packedByDefault: false,
758
927
  });
@@ -762,15 +931,69 @@ export const FieldDescriptorProto = createMessageType({
762
931
  fields: [
763
932
  { no: 1, name: "name", kind: "scalar", T: ScalarType.STRING, opt: true },
764
933
  { no: 3, name: "number", kind: "scalar", T: ScalarType.INT32, opt: true },
765
- { no: 4, name: "label", kind: "enum", T: FieldDescriptorProto_Label_Enum, opt: true },
766
- { no: 5, name: "type", kind: "enum", T: FieldDescriptorProto_Type_Enum, opt: true },
767
- { no: 6, name: "type_name", kind: "scalar", T: ScalarType.STRING, opt: true },
768
- { no: 2, name: "extendee", kind: "scalar", T: ScalarType.STRING, opt: true },
769
- { no: 7, name: "default_value", kind: "scalar", T: ScalarType.STRING, opt: true },
770
- { no: 9, name: "oneof_index", kind: "scalar", T: ScalarType.INT32, opt: true },
771
- { no: 10, name: "json_name", kind: "scalar", T: ScalarType.STRING, opt: true },
772
- { no: 8, name: "options", kind: "message", T: () => FieldOptions, opt: true },
773
- { no: 17, name: "proto3_optional", kind: "scalar", T: ScalarType.BOOL, opt: true },
934
+ {
935
+ no: 4,
936
+ name: "label",
937
+ kind: "enum",
938
+ T: FieldDescriptorProto_Label_Enum,
939
+ opt: true,
940
+ },
941
+ {
942
+ no: 5,
943
+ name: "type",
944
+ kind: "enum",
945
+ T: FieldDescriptorProto_Type_Enum,
946
+ opt: true,
947
+ },
948
+ {
949
+ no: 6,
950
+ name: "type_name",
951
+ kind: "scalar",
952
+ T: ScalarType.STRING,
953
+ opt: true,
954
+ },
955
+ {
956
+ no: 2,
957
+ name: "extendee",
958
+ kind: "scalar",
959
+ T: ScalarType.STRING,
960
+ opt: true,
961
+ },
962
+ {
963
+ no: 7,
964
+ name: "default_value",
965
+ kind: "scalar",
966
+ T: ScalarType.STRING,
967
+ opt: true,
968
+ },
969
+ {
970
+ no: 9,
971
+ name: "oneof_index",
972
+ kind: "scalar",
973
+ T: ScalarType.INT32,
974
+ opt: true,
975
+ },
976
+ {
977
+ no: 10,
978
+ name: "json_name",
979
+ kind: "scalar",
980
+ T: ScalarType.STRING,
981
+ opt: true,
982
+ },
983
+ {
984
+ no: 8,
985
+ name: "options",
986
+ kind: "message",
987
+ T: () => FieldOptions,
988
+ opt: true,
989
+ },
990
+ {
991
+ no: 17,
992
+ name: "proto3_optional",
993
+ kind: "scalar",
994
+ T: ScalarType.BOOL,
995
+ opt: true,
996
+ },
774
997
  ],
775
998
  packedByDefault: false,
776
999
  });
@@ -778,10 +1001,36 @@ export const FieldDescriptorProto = createMessageType({
778
1001
  export const EnumValueOptions = createMessageType({
779
1002
  typeName: "google.protobuf.EnumValueOptions",
780
1003
  fields: [
781
- { no: 1, name: "deprecated", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
782
- { no: 2, name: "features", kind: "message", T: () => FeatureSet, opt: true },
783
- { no: 3, name: "debug_redact", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
784
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1004
+ {
1005
+ no: 1,
1006
+ name: "deprecated",
1007
+ kind: "scalar",
1008
+ T: ScalarType.BOOL,
1009
+ opt: true,
1010
+ default: false,
1011
+ },
1012
+ {
1013
+ no: 2,
1014
+ name: "features",
1015
+ kind: "message",
1016
+ T: () => FeatureSet,
1017
+ opt: true,
1018
+ },
1019
+ {
1020
+ no: 3,
1021
+ name: "debug_redact",
1022
+ kind: "scalar",
1023
+ T: ScalarType.BOOL,
1024
+ opt: true,
1025
+ default: false,
1026
+ },
1027
+ {
1028
+ no: 999,
1029
+ name: "uninterpreted_option",
1030
+ kind: "message",
1031
+ T: () => UninterpretedOption,
1032
+ repeated: true,
1033
+ },
785
1034
  ],
786
1035
  packedByDefault: false,
787
1036
  });
@@ -791,7 +1040,13 @@ export const EnumValueDescriptorProto = createMessageType({
791
1040
  fields: [
792
1041
  { no: 1, name: "name", kind: "scalar", T: ScalarType.STRING, opt: true },
793
1042
  { no: 2, name: "number", kind: "scalar", T: ScalarType.INT32, opt: true },
794
- { no: 3, name: "options", kind: "message", T: () => EnumValueOptions, opt: true },
1043
+ {
1044
+ no: 3,
1045
+ name: "options",
1046
+ kind: "message",
1047
+ T: () => EnumValueOptions,
1048
+ opt: true,
1049
+ },
795
1050
  ],
796
1051
  packedByDefault: false,
797
1052
  });
@@ -799,11 +1054,42 @@ export const EnumValueDescriptorProto = createMessageType({
799
1054
  export const EnumOptions = createMessageType({
800
1055
  typeName: "google.protobuf.EnumOptions",
801
1056
  fields: [
802
- { no: 2, name: "allow_alias", kind: "scalar", T: ScalarType.BOOL, opt: true },
803
- { no: 3, name: "deprecated", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
804
- { no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: ScalarType.BOOL, opt: true },
805
- { no: 7, name: "features", kind: "message", T: () => FeatureSet, opt: true },
806
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1057
+ {
1058
+ no: 2,
1059
+ name: "allow_alias",
1060
+ kind: "scalar",
1061
+ T: ScalarType.BOOL,
1062
+ opt: true,
1063
+ },
1064
+ {
1065
+ no: 3,
1066
+ name: "deprecated",
1067
+ kind: "scalar",
1068
+ T: ScalarType.BOOL,
1069
+ opt: true,
1070
+ default: false,
1071
+ },
1072
+ {
1073
+ no: 6,
1074
+ name: "deprecated_legacy_json_field_conflicts",
1075
+ kind: "scalar",
1076
+ T: ScalarType.BOOL,
1077
+ opt: true,
1078
+ },
1079
+ {
1080
+ no: 7,
1081
+ name: "features",
1082
+ kind: "message",
1083
+ T: () => FeatureSet,
1084
+ opt: true,
1085
+ },
1086
+ {
1087
+ no: 999,
1088
+ name: "uninterpreted_option",
1089
+ kind: "message",
1090
+ T: () => UninterpretedOption,
1091
+ repeated: true,
1092
+ },
807
1093
  ],
808
1094
  packedByDefault: false,
809
1095
  });
@@ -821,10 +1107,34 @@ export const EnumDescriptorProto = createMessageType({
821
1107
  typeName: "google.protobuf.EnumDescriptorProto",
822
1108
  fields: [
823
1109
  { no: 1, name: "name", kind: "scalar", T: ScalarType.STRING, opt: true },
824
- { no: 2, name: "value", kind: "message", T: () => EnumValueDescriptorProto, repeated: true },
825
- { no: 3, name: "options", kind: "message", T: () => EnumOptions, opt: true },
826
- { no: 4, name: "reserved_range", kind: "message", T: () => EnumDescriptorProto_EnumReservedRange, repeated: true },
827
- { no: 5, name: "reserved_name", kind: "scalar", T: ScalarType.STRING, repeated: true },
1110
+ {
1111
+ no: 2,
1112
+ name: "value",
1113
+ kind: "message",
1114
+ T: () => EnumValueDescriptorProto,
1115
+ repeated: true,
1116
+ },
1117
+ {
1118
+ no: 3,
1119
+ name: "options",
1120
+ kind: "message",
1121
+ T: () => EnumOptions,
1122
+ opt: true,
1123
+ },
1124
+ {
1125
+ no: 4,
1126
+ name: "reserved_range",
1127
+ kind: "message",
1128
+ T: () => EnumDescriptorProto_EnumReservedRange,
1129
+ repeated: true,
1130
+ },
1131
+ {
1132
+ no: 5,
1133
+ name: "reserved_name",
1134
+ kind: "scalar",
1135
+ T: ScalarType.STRING,
1136
+ repeated: true,
1137
+ },
828
1138
  ],
829
1139
  packedByDefault: false,
830
1140
  });
@@ -833,10 +1143,28 @@ export const ExtensionRangeOptions_Declaration = createMessageType({
833
1143
  typeName: "google.protobuf.ExtensionRangeOptions.Declaration",
834
1144
  fields: [
835
1145
  { no: 1, name: "number", kind: "scalar", T: ScalarType.INT32, opt: true },
836
- { no: 2, name: "full_name", kind: "scalar", T: ScalarType.STRING, opt: true },
1146
+ {
1147
+ no: 2,
1148
+ name: "full_name",
1149
+ kind: "scalar",
1150
+ T: ScalarType.STRING,
1151
+ opt: true,
1152
+ },
837
1153
  { no: 3, name: "type", kind: "scalar", T: ScalarType.STRING, opt: true },
838
- { no: 5, name: "reserved", kind: "scalar", T: ScalarType.BOOL, opt: true },
839
- { no: 6, name: "repeated", kind: "scalar", T: ScalarType.BOOL, opt: true },
1154
+ {
1155
+ no: 5,
1156
+ name: "reserved",
1157
+ kind: "scalar",
1158
+ T: ScalarType.BOOL,
1159
+ opt: true,
1160
+ },
1161
+ {
1162
+ no: 6,
1163
+ name: "repeated",
1164
+ kind: "scalar",
1165
+ T: ScalarType.BOOL,
1166
+ opt: true,
1167
+ },
840
1168
  ],
841
1169
  packedByDefault: false,
842
1170
  });
@@ -844,10 +1172,35 @@ export const ExtensionRangeOptions_Declaration = createMessageType({
844
1172
  export const ExtensionRangeOptions = createMessageType({
845
1173
  typeName: "google.protobuf.ExtensionRangeOptions",
846
1174
  fields: [
847
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
848
- { no: 2, name: "declaration", kind: "message", T: () => ExtensionRangeOptions_Declaration, repeated: true },
849
- { no: 50, name: "features", kind: "message", T: () => FeatureSet, opt: true },
850
- { no: 3, name: "verification", kind: "enum", T: ExtensionRangeOptions_VerificationState_Enum, opt: true, default: ExtensionRangeOptions_VerificationState.UNVERIFIED },
1175
+ {
1176
+ no: 999,
1177
+ name: "uninterpreted_option",
1178
+ kind: "message",
1179
+ T: () => UninterpretedOption,
1180
+ repeated: true,
1181
+ },
1182
+ {
1183
+ no: 2,
1184
+ name: "declaration",
1185
+ kind: "message",
1186
+ T: () => ExtensionRangeOptions_Declaration,
1187
+ repeated: true,
1188
+ },
1189
+ {
1190
+ no: 50,
1191
+ name: "features",
1192
+ kind: "message",
1193
+ T: () => FeatureSet,
1194
+ opt: true,
1195
+ },
1196
+ {
1197
+ no: 3,
1198
+ name: "verification",
1199
+ kind: "enum",
1200
+ T: ExtensionRangeOptions_VerificationState_Enum,
1201
+ opt: true,
1202
+ default: ExtensionRangeOptions_VerificationState.UNVERIFIED,
1203
+ },
851
1204
  ],
852
1205
  packedByDefault: false,
853
1206
  });
@@ -857,7 +1210,13 @@ export const DescriptorProto_ExtensionRange = createMessageType({
857
1210
  fields: [
858
1211
  { no: 1, name: "start", kind: "scalar", T: ScalarType.INT32, opt: true },
859
1212
  { no: 2, name: "end", kind: "scalar", T: ScalarType.INT32, opt: true },
860
- { no: 3, name: "options", kind: "message", T: () => ExtensionRangeOptions, opt: true },
1213
+ {
1214
+ no: 3,
1215
+ name: "options",
1216
+ kind: "message",
1217
+ T: () => ExtensionRangeOptions,
1218
+ opt: true,
1219
+ },
861
1220
  ],
862
1221
  packedByDefault: false,
863
1222
  });
@@ -865,8 +1224,20 @@ export const DescriptorProto_ExtensionRange = createMessageType({
865
1224
  export const OneofOptions = createMessageType({
866
1225
  typeName: "google.protobuf.OneofOptions",
867
1226
  fields: [
868
- { no: 1, name: "features", kind: "message", T: () => FeatureSet, opt: true },
869
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1227
+ {
1228
+ no: 1,
1229
+ name: "features",
1230
+ kind: "message",
1231
+ T: () => FeatureSet,
1232
+ opt: true,
1233
+ },
1234
+ {
1235
+ no: 999,
1236
+ name: "uninterpreted_option",
1237
+ kind: "message",
1238
+ T: () => UninterpretedOption,
1239
+ repeated: true,
1240
+ },
870
1241
  ],
871
1242
  packedByDefault: false,
872
1243
  });
@@ -875,7 +1246,13 @@ export const OneofDescriptorProto = createMessageType({
875
1246
  typeName: "google.protobuf.OneofDescriptorProto",
876
1247
  fields: [
877
1248
  { no: 1, name: "name", kind: "scalar", T: ScalarType.STRING, opt: true },
878
- { no: 2, name: "options", kind: "message", T: () => OneofOptions, opt: true },
1249
+ {
1250
+ no: 2,
1251
+ name: "options",
1252
+ kind: "message",
1253
+ T: () => OneofOptions,
1254
+ opt: true,
1255
+ },
879
1256
  ],
880
1257
  packedByDefault: false,
881
1258
  });
@@ -883,13 +1260,52 @@ export const OneofDescriptorProto = createMessageType({
883
1260
  export const MessageOptions = createMessageType({
884
1261
  typeName: "google.protobuf.MessageOptions",
885
1262
  fields: [
886
- { no: 1, name: "message_set_wire_format", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
887
- { no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
888
- { no: 3, name: "deprecated", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
1263
+ {
1264
+ no: 1,
1265
+ name: "message_set_wire_format",
1266
+ kind: "scalar",
1267
+ T: ScalarType.BOOL,
1268
+ opt: true,
1269
+ default: false,
1270
+ },
1271
+ {
1272
+ no: 2,
1273
+ name: "no_standard_descriptor_accessor",
1274
+ kind: "scalar",
1275
+ T: ScalarType.BOOL,
1276
+ opt: true,
1277
+ default: false,
1278
+ },
1279
+ {
1280
+ no: 3,
1281
+ name: "deprecated",
1282
+ kind: "scalar",
1283
+ T: ScalarType.BOOL,
1284
+ opt: true,
1285
+ default: false,
1286
+ },
889
1287
  { no: 7, name: "map_entry", kind: "scalar", T: ScalarType.BOOL, opt: true },
890
- { no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: ScalarType.BOOL, opt: true },
891
- { no: 12, name: "features", kind: "message", T: () => FeatureSet, opt: true },
892
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1288
+ {
1289
+ no: 11,
1290
+ name: "deprecated_legacy_json_field_conflicts",
1291
+ kind: "scalar",
1292
+ T: ScalarType.BOOL,
1293
+ opt: true,
1294
+ },
1295
+ {
1296
+ no: 12,
1297
+ name: "features",
1298
+ kind: "message",
1299
+ T: () => FeatureSet,
1300
+ opt: true,
1301
+ },
1302
+ {
1303
+ no: 999,
1304
+ name: "uninterpreted_option",
1305
+ kind: "message",
1306
+ T: () => UninterpretedOption,
1307
+ repeated: true,
1308
+ },
893
1309
  ],
894
1310
  packedByDefault: false,
895
1311
  });
@@ -907,15 +1323,69 @@ export const DescriptorProto = createMessageType({
907
1323
  typeName: "google.protobuf.DescriptorProto",
908
1324
  fields: [
909
1325
  { no: 1, name: "name", kind: "scalar", T: ScalarType.STRING, opt: true },
910
- { no: 2, name: "field", kind: "message", T: () => FieldDescriptorProto, repeated: true },
911
- { no: 6, name: "extension", kind: "message", T: () => FieldDescriptorProto, repeated: true },
912
- { no: 3, name: "nested_type", kind: "message", T: () => DescriptorProto, repeated: true },
913
- { no: 4, name: "enum_type", kind: "message", T: () => EnumDescriptorProto, repeated: true },
914
- { no: 5, name: "extension_range", kind: "message", T: () => DescriptorProto_ExtensionRange, repeated: true },
915
- { no: 8, name: "oneof_decl", kind: "message", T: () => OneofDescriptorProto, repeated: true },
916
- { no: 7, name: "options", kind: "message", T: () => MessageOptions, opt: true },
917
- { no: 9, name: "reserved_range", kind: "message", T: () => DescriptorProto_ReservedRange, repeated: true },
918
- { no: 10, name: "reserved_name", kind: "scalar", T: ScalarType.STRING, repeated: true },
1326
+ {
1327
+ no: 2,
1328
+ name: "field",
1329
+ kind: "message",
1330
+ T: () => FieldDescriptorProto,
1331
+ repeated: true,
1332
+ },
1333
+ {
1334
+ no: 6,
1335
+ name: "extension",
1336
+ kind: "message",
1337
+ T: () => FieldDescriptorProto,
1338
+ repeated: true,
1339
+ },
1340
+ {
1341
+ no: 3,
1342
+ name: "nested_type",
1343
+ kind: "message",
1344
+ T: () => DescriptorProto,
1345
+ repeated: true,
1346
+ },
1347
+ {
1348
+ no: 4,
1349
+ name: "enum_type",
1350
+ kind: "message",
1351
+ T: () => EnumDescriptorProto,
1352
+ repeated: true,
1353
+ },
1354
+ {
1355
+ no: 5,
1356
+ name: "extension_range",
1357
+ kind: "message",
1358
+ T: () => DescriptorProto_ExtensionRange,
1359
+ repeated: true,
1360
+ },
1361
+ {
1362
+ no: 8,
1363
+ name: "oneof_decl",
1364
+ kind: "message",
1365
+ T: () => OneofDescriptorProto,
1366
+ repeated: true,
1367
+ },
1368
+ {
1369
+ no: 7,
1370
+ name: "options",
1371
+ kind: "message",
1372
+ T: () => MessageOptions,
1373
+ opt: true,
1374
+ },
1375
+ {
1376
+ no: 9,
1377
+ name: "reserved_range",
1378
+ kind: "message",
1379
+ T: () => DescriptorProto_ReservedRange,
1380
+ repeated: true,
1381
+ },
1382
+ {
1383
+ no: 10,
1384
+ name: "reserved_name",
1385
+ kind: "scalar",
1386
+ T: ScalarType.STRING,
1387
+ repeated: true,
1388
+ },
919
1389
  ],
920
1390
  packedByDefault: false,
921
1391
  });
@@ -923,10 +1393,36 @@ export const DescriptorProto = createMessageType({
923
1393
  export const MethodOptions = createMessageType({
924
1394
  typeName: "google.protobuf.MethodOptions",
925
1395
  fields: [
926
- { no: 33, name: "deprecated", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
927
- { no: 34, name: "idempotency_level", kind: "enum", T: MethodOptions_IdempotencyLevel_Enum, opt: true, default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN },
928
- { no: 35, name: "features", kind: "message", T: () => FeatureSet, opt: true },
929
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1396
+ {
1397
+ no: 33,
1398
+ name: "deprecated",
1399
+ kind: "scalar",
1400
+ T: ScalarType.BOOL,
1401
+ opt: true,
1402
+ default: false,
1403
+ },
1404
+ {
1405
+ no: 34,
1406
+ name: "idempotency_level",
1407
+ kind: "enum",
1408
+ T: MethodOptions_IdempotencyLevel_Enum,
1409
+ opt: true,
1410
+ default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN,
1411
+ },
1412
+ {
1413
+ no: 35,
1414
+ name: "features",
1415
+ kind: "message",
1416
+ T: () => FeatureSet,
1417
+ opt: true,
1418
+ },
1419
+ {
1420
+ no: 999,
1421
+ name: "uninterpreted_option",
1422
+ kind: "message",
1423
+ T: () => UninterpretedOption,
1424
+ repeated: true,
1425
+ },
930
1426
  ],
931
1427
  packedByDefault: false,
932
1428
  });
@@ -935,11 +1431,43 @@ export const MethodDescriptorProto = createMessageType({
935
1431
  typeName: "google.protobuf.MethodDescriptorProto",
936
1432
  fields: [
937
1433
  { no: 1, name: "name", kind: "scalar", T: ScalarType.STRING, opt: true },
938
- { no: 2, name: "input_type", kind: "scalar", T: ScalarType.STRING, opt: true },
939
- { no: 3, name: "output_type", kind: "scalar", T: ScalarType.STRING, opt: true },
940
- { no: 4, name: "options", kind: "message", T: () => MethodOptions, opt: true },
941
- { no: 5, name: "client_streaming", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
942
- { no: 6, name: "server_streaming", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
1434
+ {
1435
+ no: 2,
1436
+ name: "input_type",
1437
+ kind: "scalar",
1438
+ T: ScalarType.STRING,
1439
+ opt: true,
1440
+ },
1441
+ {
1442
+ no: 3,
1443
+ name: "output_type",
1444
+ kind: "scalar",
1445
+ T: ScalarType.STRING,
1446
+ opt: true,
1447
+ },
1448
+ {
1449
+ no: 4,
1450
+ name: "options",
1451
+ kind: "message",
1452
+ T: () => MethodOptions,
1453
+ opt: true,
1454
+ },
1455
+ {
1456
+ no: 5,
1457
+ name: "client_streaming",
1458
+ kind: "scalar",
1459
+ T: ScalarType.BOOL,
1460
+ opt: true,
1461
+ default: false,
1462
+ },
1463
+ {
1464
+ no: 6,
1465
+ name: "server_streaming",
1466
+ kind: "scalar",
1467
+ T: ScalarType.BOOL,
1468
+ opt: true,
1469
+ default: false,
1470
+ },
943
1471
  ],
944
1472
  packedByDefault: false,
945
1473
  });
@@ -947,9 +1475,28 @@ export const MethodDescriptorProto = createMessageType({
947
1475
  export const ServiceOptions = createMessageType({
948
1476
  typeName: "google.protobuf.ServiceOptions",
949
1477
  fields: [
950
- { no: 34, name: "features", kind: "message", T: () => FeatureSet, opt: true },
951
- { no: 33, name: "deprecated", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
952
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1478
+ {
1479
+ no: 34,
1480
+ name: "features",
1481
+ kind: "message",
1482
+ T: () => FeatureSet,
1483
+ opt: true,
1484
+ },
1485
+ {
1486
+ no: 33,
1487
+ name: "deprecated",
1488
+ kind: "scalar",
1489
+ T: ScalarType.BOOL,
1490
+ opt: true,
1491
+ default: false,
1492
+ },
1493
+ {
1494
+ no: 999,
1495
+ name: "uninterpreted_option",
1496
+ kind: "message",
1497
+ T: () => UninterpretedOption,
1498
+ repeated: true,
1499
+ },
953
1500
  ],
954
1501
  packedByDefault: false,
955
1502
  });
@@ -958,8 +1505,20 @@ export const ServiceDescriptorProto = createMessageType({
958
1505
  typeName: "google.protobuf.ServiceDescriptorProto",
959
1506
  fields: [
960
1507
  { no: 1, name: "name", kind: "scalar", T: ScalarType.STRING, opt: true },
961
- { no: 2, name: "method", kind: "message", T: () => MethodDescriptorProto, repeated: true },
962
- { no: 3, name: "options", kind: "message", T: () => ServiceOptions, opt: true },
1508
+ {
1509
+ no: 2,
1510
+ name: "method",
1511
+ kind: "message",
1512
+ T: () => MethodDescriptorProto,
1513
+ repeated: true,
1514
+ },
1515
+ {
1516
+ no: 3,
1517
+ name: "options",
1518
+ kind: "message",
1519
+ T: () => ServiceOptions,
1520
+ opt: true,
1521
+ },
963
1522
  ],
964
1523
  packedByDefault: false,
965
1524
  });
@@ -967,27 +1526,161 @@ export const ServiceDescriptorProto = createMessageType({
967
1526
  export const FileOptions = createMessageType({
968
1527
  typeName: "google.protobuf.FileOptions",
969
1528
  fields: [
970
- { no: 1, name: "java_package", kind: "scalar", T: ScalarType.STRING, opt: true },
971
- { no: 8, name: "java_outer_classname", kind: "scalar", T: ScalarType.STRING, opt: true },
972
- { no: 10, name: "java_multiple_files", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
973
- { no: 20, name: "java_generate_equals_and_hash", kind: "scalar", T: ScalarType.BOOL, opt: true },
974
- { no: 27, name: "java_string_check_utf8", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
975
- { no: 9, name: "optimize_for", kind: "enum", T: FileOptions_OptimizeMode_Enum, opt: true, default: FileOptions_OptimizeMode.SPEED },
976
- { no: 11, name: "go_package", kind: "scalar", T: ScalarType.STRING, opt: true },
977
- { no: 16, name: "cc_generic_services", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
978
- { no: 17, name: "java_generic_services", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
979
- { no: 18, name: "py_generic_services", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
980
- { no: 23, name: "deprecated", kind: "scalar", T: ScalarType.BOOL, opt: true, default: false },
981
- { no: 31, name: "cc_enable_arenas", kind: "scalar", T: ScalarType.BOOL, opt: true, default: true },
982
- { no: 36, name: "objc_class_prefix", kind: "scalar", T: ScalarType.STRING, opt: true },
983
- { no: 37, name: "csharp_namespace", kind: "scalar", T: ScalarType.STRING, opt: true },
984
- { no: 39, name: "swift_prefix", kind: "scalar", T: ScalarType.STRING, opt: true },
985
- { no: 40, name: "php_class_prefix", kind: "scalar", T: ScalarType.STRING, opt: true },
986
- { no: 41, name: "php_namespace", kind: "scalar", T: ScalarType.STRING, opt: true },
987
- { no: 44, name: "php_metadata_namespace", kind: "scalar", T: ScalarType.STRING, opt: true },
988
- { no: 45, name: "ruby_package", kind: "scalar", T: ScalarType.STRING, opt: true },
989
- { no: 50, name: "features", kind: "message", T: () => FeatureSet, opt: true },
990
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1529
+ {
1530
+ no: 1,
1531
+ name: "java_package",
1532
+ kind: "scalar",
1533
+ T: ScalarType.STRING,
1534
+ opt: true,
1535
+ },
1536
+ {
1537
+ no: 8,
1538
+ name: "java_outer_classname",
1539
+ kind: "scalar",
1540
+ T: ScalarType.STRING,
1541
+ opt: true,
1542
+ },
1543
+ {
1544
+ no: 10,
1545
+ name: "java_multiple_files",
1546
+ kind: "scalar",
1547
+ T: ScalarType.BOOL,
1548
+ opt: true,
1549
+ default: false,
1550
+ },
1551
+ {
1552
+ no: 20,
1553
+ name: "java_generate_equals_and_hash",
1554
+ kind: "scalar",
1555
+ T: ScalarType.BOOL,
1556
+ opt: true,
1557
+ },
1558
+ {
1559
+ no: 27,
1560
+ name: "java_string_check_utf8",
1561
+ kind: "scalar",
1562
+ T: ScalarType.BOOL,
1563
+ opt: true,
1564
+ default: false,
1565
+ },
1566
+ {
1567
+ no: 9,
1568
+ name: "optimize_for",
1569
+ kind: "enum",
1570
+ T: FileOptions_OptimizeMode_Enum,
1571
+ opt: true,
1572
+ default: FileOptions_OptimizeMode.SPEED,
1573
+ },
1574
+ {
1575
+ no: 11,
1576
+ name: "go_package",
1577
+ kind: "scalar",
1578
+ T: ScalarType.STRING,
1579
+ opt: true,
1580
+ },
1581
+ {
1582
+ no: 16,
1583
+ name: "cc_generic_services",
1584
+ kind: "scalar",
1585
+ T: ScalarType.BOOL,
1586
+ opt: true,
1587
+ default: false,
1588
+ },
1589
+ {
1590
+ no: 17,
1591
+ name: "java_generic_services",
1592
+ kind: "scalar",
1593
+ T: ScalarType.BOOL,
1594
+ opt: true,
1595
+ default: false,
1596
+ },
1597
+ {
1598
+ no: 18,
1599
+ name: "py_generic_services",
1600
+ kind: "scalar",
1601
+ T: ScalarType.BOOL,
1602
+ opt: true,
1603
+ default: false,
1604
+ },
1605
+ {
1606
+ no: 23,
1607
+ name: "deprecated",
1608
+ kind: "scalar",
1609
+ T: ScalarType.BOOL,
1610
+ opt: true,
1611
+ default: false,
1612
+ },
1613
+ {
1614
+ no: 31,
1615
+ name: "cc_enable_arenas",
1616
+ kind: "scalar",
1617
+ T: ScalarType.BOOL,
1618
+ opt: true,
1619
+ default: true,
1620
+ },
1621
+ {
1622
+ no: 36,
1623
+ name: "objc_class_prefix",
1624
+ kind: "scalar",
1625
+ T: ScalarType.STRING,
1626
+ opt: true,
1627
+ },
1628
+ {
1629
+ no: 37,
1630
+ name: "csharp_namespace",
1631
+ kind: "scalar",
1632
+ T: ScalarType.STRING,
1633
+ opt: true,
1634
+ },
1635
+ {
1636
+ no: 39,
1637
+ name: "swift_prefix",
1638
+ kind: "scalar",
1639
+ T: ScalarType.STRING,
1640
+ opt: true,
1641
+ },
1642
+ {
1643
+ no: 40,
1644
+ name: "php_class_prefix",
1645
+ kind: "scalar",
1646
+ T: ScalarType.STRING,
1647
+ opt: true,
1648
+ },
1649
+ {
1650
+ no: 41,
1651
+ name: "php_namespace",
1652
+ kind: "scalar",
1653
+ T: ScalarType.STRING,
1654
+ opt: true,
1655
+ },
1656
+ {
1657
+ no: 44,
1658
+ name: "php_metadata_namespace",
1659
+ kind: "scalar",
1660
+ T: ScalarType.STRING,
1661
+ opt: true,
1662
+ },
1663
+ {
1664
+ no: 45,
1665
+ name: "ruby_package",
1666
+ kind: "scalar",
1667
+ T: ScalarType.STRING,
1668
+ opt: true,
1669
+ },
1670
+ {
1671
+ no: 50,
1672
+ name: "features",
1673
+ kind: "message",
1674
+ T: () => FeatureSet,
1675
+ opt: true,
1676
+ },
1677
+ {
1678
+ no: 999,
1679
+ name: "uninterpreted_option",
1680
+ kind: "message",
1681
+ T: () => UninterpretedOption,
1682
+ repeated: true,
1683
+ },
991
1684
  ],
992
1685
  packedByDefault: false,
993
1686
  });
@@ -995,11 +1688,43 @@ export const FileOptions = createMessageType({
995
1688
  export const SourceCodeInfo_Location = createMessageType({
996
1689
  typeName: "google.protobuf.SourceCodeInfo.Location",
997
1690
  fields: [
998
- { no: 1, name: "path", kind: "scalar", T: ScalarType.INT32, repeated: true, packed: true },
999
- { no: 2, name: "span", kind: "scalar", T: ScalarType.INT32, repeated: true, packed: true },
1000
- { no: 3, name: "leading_comments", kind: "scalar", T: ScalarType.STRING, opt: true },
1001
- { no: 4, name: "trailing_comments", kind: "scalar", T: ScalarType.STRING, opt: true },
1002
- { no: 6, name: "leading_detached_comments", kind: "scalar", T: ScalarType.STRING, repeated: true },
1691
+ {
1692
+ no: 1,
1693
+ name: "path",
1694
+ kind: "scalar",
1695
+ T: ScalarType.INT32,
1696
+ repeated: true,
1697
+ packed: true,
1698
+ },
1699
+ {
1700
+ no: 2,
1701
+ name: "span",
1702
+ kind: "scalar",
1703
+ T: ScalarType.INT32,
1704
+ repeated: true,
1705
+ packed: true,
1706
+ },
1707
+ {
1708
+ no: 3,
1709
+ name: "leading_comments",
1710
+ kind: "scalar",
1711
+ T: ScalarType.STRING,
1712
+ opt: true,
1713
+ },
1714
+ {
1715
+ no: 4,
1716
+ name: "trailing_comments",
1717
+ kind: "scalar",
1718
+ T: ScalarType.STRING,
1719
+ opt: true,
1720
+ },
1721
+ {
1722
+ no: 6,
1723
+ name: "leading_detached_comments",
1724
+ kind: "scalar",
1725
+ T: ScalarType.STRING,
1726
+ repeated: true,
1727
+ },
1003
1728
  ],
1004
1729
  packedByDefault: false,
1005
1730
  });
@@ -1007,7 +1732,13 @@ export const SourceCodeInfo_Location = createMessageType({
1007
1732
  export const SourceCodeInfo = createMessageType({
1008
1733
  typeName: "google.protobuf.SourceCodeInfo",
1009
1734
  fields: [
1010
- { no: 1, name: "location", kind: "message", T: () => SourceCodeInfo_Location, repeated: true },
1735
+ {
1736
+ no: 1,
1737
+ name: "location",
1738
+ kind: "message",
1739
+ T: () => SourceCodeInfo_Location,
1740
+ repeated: true,
1741
+ },
1011
1742
  ],
1012
1743
  packedByDefault: false,
1013
1744
  });
@@ -1016,17 +1747,83 @@ export const FileDescriptorProto = createMessageType({
1016
1747
  typeName: "google.protobuf.FileDescriptorProto",
1017
1748
  fields: [
1018
1749
  { no: 1, name: "name", kind: "scalar", T: ScalarType.STRING, opt: true },
1019
- { no: 2, name: "package", kind: "scalar", T: ScalarType.STRING, opt: true },
1020
- { no: 3, name: "dependency", kind: "scalar", T: ScalarType.STRING, repeated: true },
1021
- { no: 10, name: "public_dependency", kind: "scalar", T: ScalarType.INT32, repeated: true },
1022
- { no: 11, name: "weak_dependency", kind: "scalar", T: ScalarType.INT32, repeated: true },
1023
- { no: 4, name: "message_type", kind: "message", T: () => DescriptorProto, repeated: true },
1024
- { no: 5, name: "enum_type", kind: "message", T: () => EnumDescriptorProto, repeated: true },
1025
- { no: 6, name: "service", kind: "message", T: () => ServiceDescriptorProto, repeated: true },
1026
- { no: 7, name: "extension", kind: "message", T: () => FieldDescriptorProto, repeated: true },
1027
- { no: 8, name: "options", kind: "message", T: () => FileOptions, opt: true },
1028
- { no: 9, name: "source_code_info", kind: "message", T: () => SourceCodeInfo, opt: true },
1029
- { no: 12, name: "syntax", kind: "scalar", T: ScalarType.STRING, opt: true },
1750
+ {
1751
+ no: 2,
1752
+ name: "package",
1753
+ kind: "scalar",
1754
+ T: ScalarType.STRING,
1755
+ opt: true,
1756
+ },
1757
+ {
1758
+ no: 3,
1759
+ name: "dependency",
1760
+ kind: "scalar",
1761
+ T: ScalarType.STRING,
1762
+ repeated: true,
1763
+ },
1764
+ {
1765
+ no: 10,
1766
+ name: "public_dependency",
1767
+ kind: "scalar",
1768
+ T: ScalarType.INT32,
1769
+ repeated: true,
1770
+ },
1771
+ {
1772
+ no: 11,
1773
+ name: "weak_dependency",
1774
+ kind: "scalar",
1775
+ T: ScalarType.INT32,
1776
+ repeated: true,
1777
+ },
1778
+ {
1779
+ no: 4,
1780
+ name: "message_type",
1781
+ kind: "message",
1782
+ T: () => DescriptorProto,
1783
+ repeated: true,
1784
+ },
1785
+ {
1786
+ no: 5,
1787
+ name: "enum_type",
1788
+ kind: "message",
1789
+ T: () => EnumDescriptorProto,
1790
+ repeated: true,
1791
+ },
1792
+ {
1793
+ no: 6,
1794
+ name: "service",
1795
+ kind: "message",
1796
+ T: () => ServiceDescriptorProto,
1797
+ repeated: true,
1798
+ },
1799
+ {
1800
+ no: 7,
1801
+ name: "extension",
1802
+ kind: "message",
1803
+ T: () => FieldDescriptorProto,
1804
+ repeated: true,
1805
+ },
1806
+ {
1807
+ no: 8,
1808
+ name: "options",
1809
+ kind: "message",
1810
+ T: () => FileOptions,
1811
+ opt: true,
1812
+ },
1813
+ {
1814
+ no: 9,
1815
+ name: "source_code_info",
1816
+ kind: "message",
1817
+ T: () => SourceCodeInfo,
1818
+ opt: true,
1819
+ },
1820
+ {
1821
+ no: 12,
1822
+ name: "syntax",
1823
+ kind: "scalar",
1824
+ T: ScalarType.STRING,
1825
+ opt: true,
1826
+ },
1030
1827
  { no: 14, name: "edition", kind: "enum", T: Edition_Enum, opt: true },
1031
1828
  ],
1032
1829
  packedByDefault: false,
@@ -1035,7 +1832,13 @@ export const FileDescriptorProto = createMessageType({
1035
1832
  export const FileDescriptorSet = createMessageType({
1036
1833
  typeName: "google.protobuf.FileDescriptorSet",
1037
1834
  fields: [
1038
- { no: 1, name: "file", kind: "message", T: () => FileDescriptorProto, repeated: true },
1835
+ {
1836
+ no: 1,
1837
+ name: "file",
1838
+ kind: "message",
1839
+ T: () => FileDescriptorProto,
1840
+ repeated: true,
1841
+ },
1039
1842
  ],
1040
1843
  packedByDefault: false,
1041
1844
  });
@@ -1044,7 +1847,13 @@ export const FeatureSetDefaults_FeatureSetEditionDefault = createMessageType({
1044
1847
  typeName: "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault",
1045
1848
  fields: [
1046
1849
  { no: 3, name: "edition", kind: "enum", T: Edition_Enum, opt: true },
1047
- { no: 2, name: "features", kind: "message", T: () => FeatureSet, opt: true },
1850
+ {
1851
+ no: 2,
1852
+ name: "features",
1853
+ kind: "message",
1854
+ T: () => FeatureSet,
1855
+ opt: true,
1856
+ },
1048
1857
  ],
1049
1858
  packedByDefault: false,
1050
1859
  });
@@ -1052,9 +1861,27 @@ export const FeatureSetDefaults_FeatureSetEditionDefault = createMessageType({
1052
1861
  export const FeatureSetDefaults = createMessageType({
1053
1862
  typeName: "google.protobuf.FeatureSetDefaults",
1054
1863
  fields: [
1055
- { no: 1, name: "defaults", kind: "message", T: () => FeatureSetDefaults_FeatureSetEditionDefault, repeated: true },
1056
- { no: 4, name: "minimum_edition", kind: "enum", T: Edition_Enum, opt: true },
1057
- { no: 5, name: "maximum_edition", kind: "enum", T: Edition_Enum, opt: true },
1864
+ {
1865
+ no: 1,
1866
+ name: "defaults",
1867
+ kind: "message",
1868
+ T: () => FeatureSetDefaults_FeatureSetEditionDefault,
1869
+ repeated: true,
1870
+ },
1871
+ {
1872
+ no: 4,
1873
+ name: "minimum_edition",
1874
+ kind: "enum",
1875
+ T: Edition_Enum,
1876
+ opt: true,
1877
+ },
1878
+ {
1879
+ no: 5,
1880
+ name: "maximum_edition",
1881
+ kind: "enum",
1882
+ T: Edition_Enum,
1883
+ opt: true,
1884
+ },
1058
1885
  ],
1059
1886
  packedByDefault: false,
1060
1887
  });
@@ -1062,11 +1889,30 @@ export const FeatureSetDefaults = createMessageType({
1062
1889
  export const GeneratedCodeInfo_Annotation = createMessageType({
1063
1890
  typeName: "google.protobuf.GeneratedCodeInfo.Annotation",
1064
1891
  fields: [
1065
- { no: 1, name: "path", kind: "scalar", T: ScalarType.INT32, repeated: true, packed: true },
1066
- { no: 2, name: "source_file", kind: "scalar", T: ScalarType.STRING, opt: true },
1892
+ {
1893
+ no: 1,
1894
+ name: "path",
1895
+ kind: "scalar",
1896
+ T: ScalarType.INT32,
1897
+ repeated: true,
1898
+ packed: true,
1899
+ },
1900
+ {
1901
+ no: 2,
1902
+ name: "source_file",
1903
+ kind: "scalar",
1904
+ T: ScalarType.STRING,
1905
+ opt: true,
1906
+ },
1067
1907
  { no: 3, name: "begin", kind: "scalar", T: ScalarType.INT32, opt: true },
1068
1908
  { no: 4, name: "end", kind: "scalar", T: ScalarType.INT32, opt: true },
1069
- { no: 5, name: "semantic", kind: "enum", T: GeneratedCodeInfo_Annotation_Semantic_Enum, opt: true },
1909
+ {
1910
+ no: 5,
1911
+ name: "semantic",
1912
+ kind: "enum",
1913
+ T: GeneratedCodeInfo_Annotation_Semantic_Enum,
1914
+ opt: true,
1915
+ },
1070
1916
  ],
1071
1917
  packedByDefault: false,
1072
1918
  });
@@ -1074,7 +1920,13 @@ export const GeneratedCodeInfo_Annotation = createMessageType({
1074
1920
  export const GeneratedCodeInfo = createMessageType({
1075
1921
  typeName: "google.protobuf.GeneratedCodeInfo",
1076
1922
  fields: [
1077
- { no: 1, name: "annotation", kind: "message", T: () => GeneratedCodeInfo_Annotation, repeated: true },
1923
+ {
1924
+ no: 1,
1925
+ name: "annotation",
1926
+ kind: "message",
1927
+ T: () => GeneratedCodeInfo_Annotation,
1928
+ repeated: true,
1929
+ },
1078
1930
  ],
1079
1931
  packedByDefault: false,
1080
1932
  });