@aptre/protobuf-es-lite 0.2.11 → 0.2.12

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.
@@ -730,11 +730,31 @@ export const FieldOptions_EditionDefault = createMessageType({
730
730
  export const FeatureSet = createMessageType({
731
731
  typeName: "google.protobuf.FeatureSet",
732
732
  fields: [
733
- { no: 1, name: "field_presence", kind: "enum", T: FeatureSet_FieldPresence_Enum },
733
+ {
734
+ no: 1,
735
+ name: "field_presence",
736
+ kind: "enum",
737
+ T: FeatureSet_FieldPresence_Enum,
738
+ },
734
739
  { no: 2, name: "enum_type", kind: "enum", T: FeatureSet_EnumType_Enum },
735
- { no: 3, name: "repeated_field_encoding", kind: "enum", T: FeatureSet_RepeatedFieldEncoding_Enum },
736
- { no: 4, name: "utf8_validation", kind: "enum", T: FeatureSet_Utf8Validation_Enum },
737
- { no: 5, name: "message_encoding", kind: "enum", T: FeatureSet_MessageEncoding_Enum },
740
+ {
741
+ no: 3,
742
+ name: "repeated_field_encoding",
743
+ kind: "enum",
744
+ T: FeatureSet_RepeatedFieldEncoding_Enum,
745
+ },
746
+ {
747
+ no: 4,
748
+ name: "utf8_validation",
749
+ kind: "enum",
750
+ T: FeatureSet_Utf8Validation_Enum,
751
+ },
752
+ {
753
+ no: 5,
754
+ name: "message_encoding",
755
+ kind: "enum",
756
+ T: FeatureSet_MessageEncoding_Enum,
757
+ },
738
758
  { no: 6, name: "json_format", kind: "enum", T: FeatureSet_JsonFormat_Enum },
739
759
  ],
740
760
  packedByDefault: false,
@@ -742,40 +762,153 @@ export const FeatureSet = createMessageType({
742
762
  export const UninterpretedOption_NamePart = createMessageType({
743
763
  typeName: "google.protobuf.UninterpretedOption.NamePart",
744
764
  fields: [
745
- { no: 1, name: "name_part", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
746
- { no: 2, name: "is_extension", kind: "scalar", T: 8 /* ScalarType.BOOL */, req: true },
765
+ {
766
+ no: 1,
767
+ name: "name_part",
768
+ kind: "scalar",
769
+ T: 9 /* ScalarType.STRING */,
770
+ req: true,
771
+ },
772
+ {
773
+ no: 2,
774
+ name: "is_extension",
775
+ kind: "scalar",
776
+ T: 8 /* ScalarType.BOOL */,
777
+ req: true,
778
+ },
747
779
  ],
748
780
  packedByDefault: false,
749
781
  });
750
782
  export const UninterpretedOption = createMessageType({
751
783
  typeName: "google.protobuf.UninterpretedOption",
752
784
  fields: [
753
- { no: 2, name: "name", kind: "message", T: () => UninterpretedOption_NamePart, repeated: true },
754
- { no: 3, name: "identifier_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
755
- { no: 4, name: "positive_int_value", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
756
- { no: 5, name: "negative_int_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
757
- { no: 6, name: "double_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
758
- { no: 7, name: "string_value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
759
- { no: 8, name: "aggregate_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
785
+ {
786
+ no: 2,
787
+ name: "name",
788
+ kind: "message",
789
+ T: () => UninterpretedOption_NamePart,
790
+ repeated: true,
791
+ },
792
+ {
793
+ no: 3,
794
+ name: "identifier_value",
795
+ kind: "scalar",
796
+ T: 9 /* ScalarType.STRING */,
797
+ },
798
+ {
799
+ no: 4,
800
+ name: "positive_int_value",
801
+ kind: "scalar",
802
+ T: 4 /* ScalarType.UINT64 */,
803
+ },
804
+ {
805
+ no: 5,
806
+ name: "negative_int_value",
807
+ kind: "scalar",
808
+ T: 3 /* ScalarType.INT64 */,
809
+ },
810
+ {
811
+ no: 6,
812
+ name: "double_value",
813
+ kind: "scalar",
814
+ T: 1 /* ScalarType.DOUBLE */,
815
+ },
816
+ {
817
+ no: 7,
818
+ name: "string_value",
819
+ kind: "scalar",
820
+ T: 12 /* ScalarType.BYTES */,
821
+ },
822
+ {
823
+ no: 8,
824
+ name: "aggregate_value",
825
+ kind: "scalar",
826
+ T: 9 /* ScalarType.STRING */,
827
+ },
760
828
  ],
761
829
  packedByDefault: false,
762
830
  });
763
831
  export const FieldOptions = createMessageType({
764
832
  typeName: "google.protobuf.FieldOptions",
765
833
  fields: [
766
- { no: 1, name: "ctype", kind: "enum", T: FieldOptions_CType_Enum, default: FieldOptions_CType.STRING },
834
+ {
835
+ no: 1,
836
+ name: "ctype",
837
+ kind: "enum",
838
+ T: FieldOptions_CType_Enum,
839
+ default: FieldOptions_CType.STRING,
840
+ },
767
841
  { no: 2, name: "packed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
768
- { no: 6, name: "jstype", kind: "enum", T: FieldOptions_JSType_Enum, default: FieldOptions_JSType.JS_NORMAL },
769
- { no: 5, name: "lazy", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
770
- { no: 15, name: "unverified_lazy", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
771
- { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
772
- { no: 10, name: "weak", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
773
- { no: 16, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
774
- { no: 17, name: "retention", kind: "enum", T: FieldOptions_OptionRetention_Enum },
775
- { no: 19, name: "targets", kind: "enum", T: FieldOptions_OptionTargetType_Enum, repeated: true },
776
- { no: 20, name: "edition_defaults", kind: "message", T: () => FieldOptions_EditionDefault, repeated: true },
842
+ {
843
+ no: 6,
844
+ name: "jstype",
845
+ kind: "enum",
846
+ T: FieldOptions_JSType_Enum,
847
+ default: FieldOptions_JSType.JS_NORMAL,
848
+ },
849
+ {
850
+ no: 5,
851
+ name: "lazy",
852
+ kind: "scalar",
853
+ T: 8 /* ScalarType.BOOL */,
854
+ default: false,
855
+ },
856
+ {
857
+ no: 15,
858
+ name: "unverified_lazy",
859
+ kind: "scalar",
860
+ T: 8 /* ScalarType.BOOL */,
861
+ default: false,
862
+ },
863
+ {
864
+ no: 3,
865
+ name: "deprecated",
866
+ kind: "scalar",
867
+ T: 8 /* ScalarType.BOOL */,
868
+ default: false,
869
+ },
870
+ {
871
+ no: 10,
872
+ name: "weak",
873
+ kind: "scalar",
874
+ T: 8 /* ScalarType.BOOL */,
875
+ default: false,
876
+ },
877
+ {
878
+ no: 16,
879
+ name: "debug_redact",
880
+ kind: "scalar",
881
+ T: 8 /* ScalarType.BOOL */,
882
+ default: false,
883
+ },
884
+ {
885
+ no: 17,
886
+ name: "retention",
887
+ kind: "enum",
888
+ T: FieldOptions_OptionRetention_Enum,
889
+ },
890
+ {
891
+ no: 19,
892
+ name: "targets",
893
+ kind: "enum",
894
+ T: FieldOptions_OptionTargetType_Enum,
895
+ repeated: true,
896
+ },
897
+ {
898
+ no: 20,
899
+ name: "edition_defaults",
900
+ kind: "message",
901
+ T: () => FieldOptions_EditionDefault,
902
+ repeated: true,
903
+ },
777
904
  { no: 21, name: "features", kind: "message", T: () => FeatureSet },
778
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
905
+ {
906
+ no: 999,
907
+ name: "uninterpreted_option",
908
+ kind: "message",
909
+ T: () => UninterpretedOption,
910
+ repeated: true,
911
+ },
779
912
  ],
780
913
  packedByDefault: false,
781
914
  });
@@ -784,25 +917,73 @@ export const FieldDescriptorProto = createMessageType({
784
917
  fields: [
785
918
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
786
919
  { no: 3, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
787
- { no: 4, name: "label", kind: "enum", T: FieldDescriptorProto_Label_Enum },
920
+ {
921
+ no: 4,
922
+ name: "label",
923
+ kind: "enum",
924
+ T: FieldDescriptorProto_Label_Enum,
925
+ },
788
926
  { no: 5, name: "type", kind: "enum", T: FieldDescriptorProto_Type_Enum },
789
- { no: 6, name: "type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
927
+ {
928
+ no: 6,
929
+ name: "type_name",
930
+ kind: "scalar",
931
+ T: 9 /* ScalarType.STRING */,
932
+ },
790
933
  { no: 2, name: "extendee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
791
- { no: 7, name: "default_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
792
- { no: 9, name: "oneof_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
793
- { no: 10, name: "json_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
934
+ {
935
+ no: 7,
936
+ name: "default_value",
937
+ kind: "scalar",
938
+ T: 9 /* ScalarType.STRING */,
939
+ },
940
+ {
941
+ no: 9,
942
+ name: "oneof_index",
943
+ kind: "scalar",
944
+ T: 5 /* ScalarType.INT32 */,
945
+ },
946
+ {
947
+ no: 10,
948
+ name: "json_name",
949
+ kind: "scalar",
950
+ T: 9 /* ScalarType.STRING */,
951
+ },
794
952
  { no: 8, name: "options", kind: "message", T: () => FieldOptions },
795
- { no: 17, name: "proto3_optional", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
953
+ {
954
+ no: 17,
955
+ name: "proto3_optional",
956
+ kind: "scalar",
957
+ T: 8 /* ScalarType.BOOL */,
958
+ },
796
959
  ],
797
960
  packedByDefault: false,
798
961
  });
799
962
  export const EnumValueOptions = createMessageType({
800
963
  typeName: "google.protobuf.EnumValueOptions",
801
964
  fields: [
802
- { no: 1, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
965
+ {
966
+ no: 1,
967
+ name: "deprecated",
968
+ kind: "scalar",
969
+ T: 8 /* ScalarType.BOOL */,
970
+ default: false,
971
+ },
803
972
  { no: 2, name: "features", kind: "message", T: () => FeatureSet },
804
- { no: 3, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
805
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
973
+ {
974
+ no: 3,
975
+ name: "debug_redact",
976
+ kind: "scalar",
977
+ T: 8 /* ScalarType.BOOL */,
978
+ default: false,
979
+ },
980
+ {
981
+ no: 999,
982
+ name: "uninterpreted_option",
983
+ kind: "message",
984
+ T: () => UninterpretedOption,
985
+ repeated: true,
986
+ },
806
987
  ],
807
988
  packedByDefault: false,
808
989
  });
@@ -819,10 +1000,27 @@ export const EnumOptions = createMessageType({
819
1000
  typeName: "google.protobuf.EnumOptions",
820
1001
  fields: [
821
1002
  { no: 2, name: "allow_alias", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
822
- { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
823
- { no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1003
+ {
1004
+ no: 3,
1005
+ name: "deprecated",
1006
+ kind: "scalar",
1007
+ T: 8 /* ScalarType.BOOL */,
1008
+ default: false,
1009
+ },
1010
+ {
1011
+ no: 6,
1012
+ name: "deprecated_legacy_json_field_conflicts",
1013
+ kind: "scalar",
1014
+ T: 8 /* ScalarType.BOOL */,
1015
+ },
824
1016
  { no: 7, name: "features", kind: "message", T: () => FeatureSet },
825
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1017
+ {
1018
+ no: 999,
1019
+ name: "uninterpreted_option",
1020
+ kind: "message",
1021
+ T: () => UninterpretedOption,
1022
+ repeated: true,
1023
+ },
826
1024
  ],
827
1025
  packedByDefault: false,
828
1026
  });
@@ -838,10 +1036,28 @@ export const EnumDescriptorProto = createMessageType({
838
1036
  typeName: "google.protobuf.EnumDescriptorProto",
839
1037
  fields: [
840
1038
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
841
- { no: 2, name: "value", kind: "message", T: () => EnumValueDescriptorProto, repeated: true },
1039
+ {
1040
+ no: 2,
1041
+ name: "value",
1042
+ kind: "message",
1043
+ T: () => EnumValueDescriptorProto,
1044
+ repeated: true,
1045
+ },
842
1046
  { no: 3, name: "options", kind: "message", T: () => EnumOptions },
843
- { no: 4, name: "reserved_range", kind: "message", T: () => EnumDescriptorProto_EnumReservedRange, repeated: true },
844
- { no: 5, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1047
+ {
1048
+ no: 4,
1049
+ name: "reserved_range",
1050
+ kind: "message",
1051
+ T: () => EnumDescriptorProto_EnumReservedRange,
1052
+ repeated: true,
1053
+ },
1054
+ {
1055
+ no: 5,
1056
+ name: "reserved_name",
1057
+ kind: "scalar",
1058
+ T: 9 /* ScalarType.STRING */,
1059
+ repeated: true,
1060
+ },
845
1061
  ],
846
1062
  packedByDefault: false,
847
1063
  });
@@ -849,7 +1065,12 @@ export const ExtensionRangeOptions_Declaration = createMessageType({
849
1065
  typeName: "google.protobuf.ExtensionRangeOptions.Declaration",
850
1066
  fields: [
851
1067
  { no: 1, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
852
- { no: 2, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1068
+ {
1069
+ no: 2,
1070
+ name: "full_name",
1071
+ kind: "scalar",
1072
+ T: 9 /* ScalarType.STRING */,
1073
+ },
853
1074
  { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
854
1075
  { no: 5, name: "reserved", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
855
1076
  { no: 6, name: "repeated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
@@ -859,10 +1080,28 @@ export const ExtensionRangeOptions_Declaration = createMessageType({
859
1080
  export const ExtensionRangeOptions = createMessageType({
860
1081
  typeName: "google.protobuf.ExtensionRangeOptions",
861
1082
  fields: [
862
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
863
- { no: 2, name: "declaration", kind: "message", T: () => ExtensionRangeOptions_Declaration, repeated: true },
1083
+ {
1084
+ no: 999,
1085
+ name: "uninterpreted_option",
1086
+ kind: "message",
1087
+ T: () => UninterpretedOption,
1088
+ repeated: true,
1089
+ },
1090
+ {
1091
+ no: 2,
1092
+ name: "declaration",
1093
+ kind: "message",
1094
+ T: () => ExtensionRangeOptions_Declaration,
1095
+ repeated: true,
1096
+ },
864
1097
  { no: 50, name: "features", kind: "message", T: () => FeatureSet },
865
- { no: 3, name: "verification", kind: "enum", T: ExtensionRangeOptions_VerificationState_Enum, default: ExtensionRangeOptions_VerificationState.UNVERIFIED },
1098
+ {
1099
+ no: 3,
1100
+ name: "verification",
1101
+ kind: "enum",
1102
+ T: ExtensionRangeOptions_VerificationState_Enum,
1103
+ default: ExtensionRangeOptions_VerificationState.UNVERIFIED,
1104
+ },
866
1105
  ],
867
1106
  packedByDefault: false,
868
1107
  });
@@ -871,7 +1110,12 @@ export const DescriptorProto_ExtensionRange = createMessageType({
871
1110
  fields: [
872
1111
  { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
873
1112
  { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
874
- { no: 3, name: "options", kind: "message", T: () => ExtensionRangeOptions },
1113
+ {
1114
+ no: 3,
1115
+ name: "options",
1116
+ kind: "message",
1117
+ T: () => ExtensionRangeOptions,
1118
+ },
875
1119
  ],
876
1120
  packedByDefault: false,
877
1121
  });
@@ -879,7 +1123,13 @@ export const OneofOptions = createMessageType({
879
1123
  typeName: "google.protobuf.OneofOptions",
880
1124
  fields: [
881
1125
  { no: 1, name: "features", kind: "message", T: () => FeatureSet },
882
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1126
+ {
1127
+ no: 999,
1128
+ name: "uninterpreted_option",
1129
+ kind: "message",
1130
+ T: () => UninterpretedOption,
1131
+ repeated: true,
1132
+ },
883
1133
  ],
884
1134
  packedByDefault: false,
885
1135
  });
@@ -894,13 +1144,42 @@ export const OneofDescriptorProto = createMessageType({
894
1144
  export const MessageOptions = createMessageType({
895
1145
  typeName: "google.protobuf.MessageOptions",
896
1146
  fields: [
897
- { no: 1, name: "message_set_wire_format", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
898
- { no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
899
- { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
1147
+ {
1148
+ no: 1,
1149
+ name: "message_set_wire_format",
1150
+ kind: "scalar",
1151
+ T: 8 /* ScalarType.BOOL */,
1152
+ default: false,
1153
+ },
1154
+ {
1155
+ no: 2,
1156
+ name: "no_standard_descriptor_accessor",
1157
+ kind: "scalar",
1158
+ T: 8 /* ScalarType.BOOL */,
1159
+ default: false,
1160
+ },
1161
+ {
1162
+ no: 3,
1163
+ name: "deprecated",
1164
+ kind: "scalar",
1165
+ T: 8 /* ScalarType.BOOL */,
1166
+ default: false,
1167
+ },
900
1168
  { no: 7, name: "map_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
901
- { no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1169
+ {
1170
+ no: 11,
1171
+ name: "deprecated_legacy_json_field_conflicts",
1172
+ kind: "scalar",
1173
+ T: 8 /* ScalarType.BOOL */,
1174
+ },
902
1175
  { no: 12, name: "features", kind: "message", T: () => FeatureSet },
903
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1176
+ {
1177
+ no: 999,
1178
+ name: "uninterpreted_option",
1179
+ kind: "message",
1180
+ T: () => UninterpretedOption,
1181
+ repeated: true,
1182
+ },
904
1183
  ],
905
1184
  packedByDefault: false,
906
1185
  });
@@ -916,25 +1195,91 @@ export const DescriptorProto = createMessageType({
916
1195
  typeName: "google.protobuf.DescriptorProto",
917
1196
  fields: [
918
1197
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
919
- { no: 2, name: "field", kind: "message", T: () => FieldDescriptorProto, repeated: true },
920
- { no: 6, name: "extension", kind: "message", T: () => FieldDescriptorProto, repeated: true },
921
- { no: 3, name: "nested_type", kind: "message", T: () => DescriptorProto, repeated: true },
922
- { no: 4, name: "enum_type", kind: "message", T: () => EnumDescriptorProto, repeated: true },
923
- { no: 5, name: "extension_range", kind: "message", T: () => DescriptorProto_ExtensionRange, repeated: true },
924
- { no: 8, name: "oneof_decl", kind: "message", T: () => OneofDescriptorProto, repeated: true },
1198
+ {
1199
+ no: 2,
1200
+ name: "field",
1201
+ kind: "message",
1202
+ T: () => FieldDescriptorProto,
1203
+ repeated: true,
1204
+ },
1205
+ {
1206
+ no: 6,
1207
+ name: "extension",
1208
+ kind: "message",
1209
+ T: () => FieldDescriptorProto,
1210
+ repeated: true,
1211
+ },
1212
+ {
1213
+ no: 3,
1214
+ name: "nested_type",
1215
+ kind: "message",
1216
+ T: () => DescriptorProto,
1217
+ repeated: true,
1218
+ },
1219
+ {
1220
+ no: 4,
1221
+ name: "enum_type",
1222
+ kind: "message",
1223
+ T: () => EnumDescriptorProto,
1224
+ repeated: true,
1225
+ },
1226
+ {
1227
+ no: 5,
1228
+ name: "extension_range",
1229
+ kind: "message",
1230
+ T: () => DescriptorProto_ExtensionRange,
1231
+ repeated: true,
1232
+ },
1233
+ {
1234
+ no: 8,
1235
+ name: "oneof_decl",
1236
+ kind: "message",
1237
+ T: () => OneofDescriptorProto,
1238
+ repeated: true,
1239
+ },
925
1240
  { no: 7, name: "options", kind: "message", T: () => MessageOptions },
926
- { no: 9, name: "reserved_range", kind: "message", T: () => DescriptorProto_ReservedRange, repeated: true },
927
- { no: 10, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1241
+ {
1242
+ no: 9,
1243
+ name: "reserved_range",
1244
+ kind: "message",
1245
+ T: () => DescriptorProto_ReservedRange,
1246
+ repeated: true,
1247
+ },
1248
+ {
1249
+ no: 10,
1250
+ name: "reserved_name",
1251
+ kind: "scalar",
1252
+ T: 9 /* ScalarType.STRING */,
1253
+ repeated: true,
1254
+ },
928
1255
  ],
929
1256
  packedByDefault: false,
930
1257
  });
931
1258
  export const MethodOptions = createMessageType({
932
1259
  typeName: "google.protobuf.MethodOptions",
933
1260
  fields: [
934
- { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
935
- { no: 34, name: "idempotency_level", kind: "enum", T: MethodOptions_IdempotencyLevel_Enum, default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN },
1261
+ {
1262
+ no: 33,
1263
+ name: "deprecated",
1264
+ kind: "scalar",
1265
+ T: 8 /* ScalarType.BOOL */,
1266
+ default: false,
1267
+ },
1268
+ {
1269
+ no: 34,
1270
+ name: "idempotency_level",
1271
+ kind: "enum",
1272
+ T: MethodOptions_IdempotencyLevel_Enum,
1273
+ default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN,
1274
+ },
936
1275
  { no: 35, name: "features", kind: "message", T: () => FeatureSet },
937
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1276
+ {
1277
+ no: 999,
1278
+ name: "uninterpreted_option",
1279
+ kind: "message",
1280
+ T: () => UninterpretedOption,
1281
+ repeated: true,
1282
+ },
938
1283
  ],
939
1284
  packedByDefault: false,
940
1285
  });
@@ -942,11 +1287,33 @@ export const MethodDescriptorProto = createMessageType({
942
1287
  typeName: "google.protobuf.MethodDescriptorProto",
943
1288
  fields: [
944
1289
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
945
- { no: 2, name: "input_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
946
- { no: 3, name: "output_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1290
+ {
1291
+ no: 2,
1292
+ name: "input_type",
1293
+ kind: "scalar",
1294
+ T: 9 /* ScalarType.STRING */,
1295
+ },
1296
+ {
1297
+ no: 3,
1298
+ name: "output_type",
1299
+ kind: "scalar",
1300
+ T: 9 /* ScalarType.STRING */,
1301
+ },
947
1302
  { no: 4, name: "options", kind: "message", T: () => MethodOptions },
948
- { no: 5, name: "client_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
949
- { no: 6, name: "server_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
1303
+ {
1304
+ no: 5,
1305
+ name: "client_streaming",
1306
+ kind: "scalar",
1307
+ T: 8 /* ScalarType.BOOL */,
1308
+ default: false,
1309
+ },
1310
+ {
1311
+ no: 6,
1312
+ name: "server_streaming",
1313
+ kind: "scalar",
1314
+ T: 8 /* ScalarType.BOOL */,
1315
+ default: false,
1316
+ },
950
1317
  ],
951
1318
  packedByDefault: false,
952
1319
  });
@@ -954,8 +1321,20 @@ export const ServiceOptions = createMessageType({
954
1321
  typeName: "google.protobuf.ServiceOptions",
955
1322
  fields: [
956
1323
  { no: 34, name: "features", kind: "message", T: () => FeatureSet },
957
- { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
958
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1324
+ {
1325
+ no: 33,
1326
+ name: "deprecated",
1327
+ kind: "scalar",
1328
+ T: 8 /* ScalarType.BOOL */,
1329
+ default: false,
1330
+ },
1331
+ {
1332
+ no: 999,
1333
+ name: "uninterpreted_option",
1334
+ kind: "message",
1335
+ T: () => UninterpretedOption,
1336
+ repeated: true,
1337
+ },
959
1338
  ],
960
1339
  packedByDefault: false,
961
1340
  });
@@ -963,7 +1342,13 @@ export const ServiceDescriptorProto = createMessageType({
963
1342
  typeName: "google.protobuf.ServiceDescriptorProto",
964
1343
  fields: [
965
1344
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
966
- { no: 2, name: "method", kind: "message", T: () => MethodDescriptorProto, repeated: true },
1345
+ {
1346
+ no: 2,
1347
+ name: "method",
1348
+ kind: "message",
1349
+ T: () => MethodDescriptorProto,
1350
+ repeated: true,
1351
+ },
967
1352
  { no: 3, name: "options", kind: "message", T: () => ServiceOptions },
968
1353
  ],
969
1354
  packedByDefault: false,
@@ -971,45 +1356,190 @@ export const ServiceDescriptorProto = createMessageType({
971
1356
  export const FileOptions = createMessageType({
972
1357
  typeName: "google.protobuf.FileOptions",
973
1358
  fields: [
974
- { no: 1, name: "java_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
975
- { no: 8, name: "java_outer_classname", kind: "scalar", T: 9 /* ScalarType.STRING */ },
976
- { no: 10, name: "java_multiple_files", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
977
- { no: 20, name: "java_generate_equals_and_hash", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
978
- { no: 27, name: "java_string_check_utf8", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
979
- { no: 9, name: "optimize_for", kind: "enum", T: FileOptions_OptimizeMode_Enum, default: FileOptions_OptimizeMode.SPEED },
980
- { no: 11, name: "go_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
981
- { no: 16, name: "cc_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
982
- { no: 17, name: "java_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
983
- { no: 18, name: "py_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
984
- { no: 23, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
985
- { no: 31, name: "cc_enable_arenas", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
986
- { no: 36, name: "objc_class_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
987
- { no: 37, name: "csharp_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
988
- { no: 39, name: "swift_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
989
- { no: 40, name: "php_class_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
990
- { no: 41, name: "php_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
991
- { no: 44, name: "php_metadata_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
992
- { no: 45, name: "ruby_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1359
+ {
1360
+ no: 1,
1361
+ name: "java_package",
1362
+ kind: "scalar",
1363
+ T: 9 /* ScalarType.STRING */,
1364
+ },
1365
+ {
1366
+ no: 8,
1367
+ name: "java_outer_classname",
1368
+ kind: "scalar",
1369
+ T: 9 /* ScalarType.STRING */,
1370
+ },
1371
+ {
1372
+ no: 10,
1373
+ name: "java_multiple_files",
1374
+ kind: "scalar",
1375
+ T: 8 /* ScalarType.BOOL */,
1376
+ default: false,
1377
+ },
1378
+ {
1379
+ no: 20,
1380
+ name: "java_generate_equals_and_hash",
1381
+ kind: "scalar",
1382
+ T: 8 /* ScalarType.BOOL */,
1383
+ },
1384
+ {
1385
+ no: 27,
1386
+ name: "java_string_check_utf8",
1387
+ kind: "scalar",
1388
+ T: 8 /* ScalarType.BOOL */,
1389
+ default: false,
1390
+ },
1391
+ {
1392
+ no: 9,
1393
+ name: "optimize_for",
1394
+ kind: "enum",
1395
+ T: FileOptions_OptimizeMode_Enum,
1396
+ default: FileOptions_OptimizeMode.SPEED,
1397
+ },
1398
+ {
1399
+ no: 11,
1400
+ name: "go_package",
1401
+ kind: "scalar",
1402
+ T: 9 /* ScalarType.STRING */,
1403
+ },
1404
+ {
1405
+ no: 16,
1406
+ name: "cc_generic_services",
1407
+ kind: "scalar",
1408
+ T: 8 /* ScalarType.BOOL */,
1409
+ default: false,
1410
+ },
1411
+ {
1412
+ no: 17,
1413
+ name: "java_generic_services",
1414
+ kind: "scalar",
1415
+ T: 8 /* ScalarType.BOOL */,
1416
+ default: false,
1417
+ },
1418
+ {
1419
+ no: 18,
1420
+ name: "py_generic_services",
1421
+ kind: "scalar",
1422
+ T: 8 /* ScalarType.BOOL */,
1423
+ default: false,
1424
+ },
1425
+ {
1426
+ no: 23,
1427
+ name: "deprecated",
1428
+ kind: "scalar",
1429
+ T: 8 /* ScalarType.BOOL */,
1430
+ default: false,
1431
+ },
1432
+ {
1433
+ no: 31,
1434
+ name: "cc_enable_arenas",
1435
+ kind: "scalar",
1436
+ T: 8 /* ScalarType.BOOL */,
1437
+ default: true,
1438
+ },
1439
+ {
1440
+ no: 36,
1441
+ name: "objc_class_prefix",
1442
+ kind: "scalar",
1443
+ T: 9 /* ScalarType.STRING */,
1444
+ },
1445
+ {
1446
+ no: 37,
1447
+ name: "csharp_namespace",
1448
+ kind: "scalar",
1449
+ T: 9 /* ScalarType.STRING */,
1450
+ },
1451
+ {
1452
+ no: 39,
1453
+ name: "swift_prefix",
1454
+ kind: "scalar",
1455
+ T: 9 /* ScalarType.STRING */,
1456
+ },
1457
+ {
1458
+ no: 40,
1459
+ name: "php_class_prefix",
1460
+ kind: "scalar",
1461
+ T: 9 /* ScalarType.STRING */,
1462
+ },
1463
+ {
1464
+ no: 41,
1465
+ name: "php_namespace",
1466
+ kind: "scalar",
1467
+ T: 9 /* ScalarType.STRING */,
1468
+ },
1469
+ {
1470
+ no: 44,
1471
+ name: "php_metadata_namespace",
1472
+ kind: "scalar",
1473
+ T: 9 /* ScalarType.STRING */,
1474
+ },
1475
+ {
1476
+ no: 45,
1477
+ name: "ruby_package",
1478
+ kind: "scalar",
1479
+ T: 9 /* ScalarType.STRING */,
1480
+ },
993
1481
  { no: 50, name: "features", kind: "message", T: () => FeatureSet },
994
- { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1482
+ {
1483
+ no: 999,
1484
+ name: "uninterpreted_option",
1485
+ kind: "message",
1486
+ T: () => UninterpretedOption,
1487
+ repeated: true,
1488
+ },
995
1489
  ],
996
1490
  packedByDefault: false,
997
1491
  });
998
1492
  export const SourceCodeInfo_Location = createMessageType({
999
1493
  typeName: "google.protobuf.SourceCodeInfo.Location",
1000
1494
  fields: [
1001
- { no: 1, name: "path", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1002
- { no: 2, name: "span", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1003
- { no: 3, name: "leading_comments", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1004
- { no: 4, name: "trailing_comments", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1005
- { no: 6, name: "leading_detached_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1495
+ {
1496
+ no: 1,
1497
+ name: "path",
1498
+ kind: "scalar",
1499
+ T: 5 /* ScalarType.INT32 */,
1500
+ repeated: true,
1501
+ packed: true,
1502
+ },
1503
+ {
1504
+ no: 2,
1505
+ name: "span",
1506
+ kind: "scalar",
1507
+ T: 5 /* ScalarType.INT32 */,
1508
+ repeated: true,
1509
+ packed: true,
1510
+ },
1511
+ {
1512
+ no: 3,
1513
+ name: "leading_comments",
1514
+ kind: "scalar",
1515
+ T: 9 /* ScalarType.STRING */,
1516
+ },
1517
+ {
1518
+ no: 4,
1519
+ name: "trailing_comments",
1520
+ kind: "scalar",
1521
+ T: 9 /* ScalarType.STRING */,
1522
+ },
1523
+ {
1524
+ no: 6,
1525
+ name: "leading_detached_comments",
1526
+ kind: "scalar",
1527
+ T: 9 /* ScalarType.STRING */,
1528
+ repeated: true,
1529
+ },
1006
1530
  ],
1007
1531
  packedByDefault: false,
1008
1532
  });
1009
1533
  export const SourceCodeInfo = createMessageType({
1010
1534
  typeName: "google.protobuf.SourceCodeInfo",
1011
1535
  fields: [
1012
- { no: 1, name: "location", kind: "message", T: () => SourceCodeInfo_Location, repeated: true },
1536
+ {
1537
+ no: 1,
1538
+ name: "location",
1539
+ kind: "message",
1540
+ T: () => SourceCodeInfo_Location,
1541
+ repeated: true,
1542
+ },
1013
1543
  ],
1014
1544
  packedByDefault: false,
1015
1545
  });
@@ -1018,15 +1548,62 @@ export const FileDescriptorProto = createMessageType({
1018
1548
  fields: [
1019
1549
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1020
1550
  { no: 2, name: "package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1021
- { no: 3, name: "dependency", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1022
- { no: 10, name: "public_dependency", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
1023
- { no: 11, name: "weak_dependency", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
1024
- { no: 4, name: "message_type", kind: "message", T: () => DescriptorProto, repeated: true },
1025
- { no: 5, name: "enum_type", kind: "message", T: () => EnumDescriptorProto, repeated: true },
1026
- { no: 6, name: "service", kind: "message", T: () => ServiceDescriptorProto, repeated: true },
1027
- { no: 7, name: "extension", kind: "message", T: () => FieldDescriptorProto, repeated: true },
1551
+ {
1552
+ no: 3,
1553
+ name: "dependency",
1554
+ kind: "scalar",
1555
+ T: 9 /* ScalarType.STRING */,
1556
+ repeated: true,
1557
+ },
1558
+ {
1559
+ no: 10,
1560
+ name: "public_dependency",
1561
+ kind: "scalar",
1562
+ T: 5 /* ScalarType.INT32 */,
1563
+ repeated: true,
1564
+ },
1565
+ {
1566
+ no: 11,
1567
+ name: "weak_dependency",
1568
+ kind: "scalar",
1569
+ T: 5 /* ScalarType.INT32 */,
1570
+ repeated: true,
1571
+ },
1572
+ {
1573
+ no: 4,
1574
+ name: "message_type",
1575
+ kind: "message",
1576
+ T: () => DescriptorProto,
1577
+ repeated: true,
1578
+ },
1579
+ {
1580
+ no: 5,
1581
+ name: "enum_type",
1582
+ kind: "message",
1583
+ T: () => EnumDescriptorProto,
1584
+ repeated: true,
1585
+ },
1586
+ {
1587
+ no: 6,
1588
+ name: "service",
1589
+ kind: "message",
1590
+ T: () => ServiceDescriptorProto,
1591
+ repeated: true,
1592
+ },
1593
+ {
1594
+ no: 7,
1595
+ name: "extension",
1596
+ kind: "message",
1597
+ T: () => FieldDescriptorProto,
1598
+ repeated: true,
1599
+ },
1028
1600
  { no: 8, name: "options", kind: "message", T: () => FileOptions },
1029
- { no: 9, name: "source_code_info", kind: "message", T: () => SourceCodeInfo },
1601
+ {
1602
+ no: 9,
1603
+ name: "source_code_info",
1604
+ kind: "message",
1605
+ T: () => SourceCodeInfo,
1606
+ },
1030
1607
  { no: 12, name: "syntax", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1031
1608
  { no: 14, name: "edition", kind: "enum", T: Edition_Enum },
1032
1609
  ],
@@ -1035,7 +1612,13 @@ export const FileDescriptorProto = createMessageType({
1035
1612
  export const FileDescriptorSet = createMessageType({
1036
1613
  typeName: "google.protobuf.FileDescriptorSet",
1037
1614
  fields: [
1038
- { no: 1, name: "file", kind: "message", T: () => FileDescriptorProto, repeated: true },
1615
+ {
1616
+ no: 1,
1617
+ name: "file",
1618
+ kind: "message",
1619
+ T: () => FileDescriptorProto,
1620
+ repeated: true,
1621
+ },
1039
1622
  ],
1040
1623
  packedByDefault: false,
1041
1624
  });
@@ -1050,7 +1633,13 @@ export const FeatureSetDefaults_FeatureSetEditionDefault = createMessageType({
1050
1633
  export const FeatureSetDefaults = createMessageType({
1051
1634
  typeName: "google.protobuf.FeatureSetDefaults",
1052
1635
  fields: [
1053
- { no: 1, name: "defaults", kind: "message", T: () => FeatureSetDefaults_FeatureSetEditionDefault, repeated: true },
1636
+ {
1637
+ no: 1,
1638
+ name: "defaults",
1639
+ kind: "message",
1640
+ T: () => FeatureSetDefaults_FeatureSetEditionDefault,
1641
+ repeated: true,
1642
+ },
1054
1643
  { no: 4, name: "minimum_edition", kind: "enum", T: Edition_Enum },
1055
1644
  { no: 5, name: "maximum_edition", kind: "enum", T: Edition_Enum },
1056
1645
  ],
@@ -1059,18 +1648,41 @@ export const FeatureSetDefaults = createMessageType({
1059
1648
  export const GeneratedCodeInfo_Annotation = createMessageType({
1060
1649
  typeName: "google.protobuf.GeneratedCodeInfo.Annotation",
1061
1650
  fields: [
1062
- { no: 1, name: "path", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1063
- { no: 2, name: "source_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1651
+ {
1652
+ no: 1,
1653
+ name: "path",
1654
+ kind: "scalar",
1655
+ T: 5 /* ScalarType.INT32 */,
1656
+ repeated: true,
1657
+ packed: true,
1658
+ },
1659
+ {
1660
+ no: 2,
1661
+ name: "source_file",
1662
+ kind: "scalar",
1663
+ T: 9 /* ScalarType.STRING */,
1664
+ },
1064
1665
  { no: 3, name: "begin", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1065
1666
  { no: 4, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1066
- { no: 5, name: "semantic", kind: "enum", T: GeneratedCodeInfo_Annotation_Semantic_Enum },
1667
+ {
1668
+ no: 5,
1669
+ name: "semantic",
1670
+ kind: "enum",
1671
+ T: GeneratedCodeInfo_Annotation_Semantic_Enum,
1672
+ },
1067
1673
  ],
1068
1674
  packedByDefault: false,
1069
1675
  });
1070
1676
  export const GeneratedCodeInfo = createMessageType({
1071
1677
  typeName: "google.protobuf.GeneratedCodeInfo",
1072
1678
  fields: [
1073
- { no: 1, name: "annotation", kind: "message", T: () => GeneratedCodeInfo_Annotation, repeated: true },
1679
+ {
1680
+ no: 1,
1681
+ name: "annotation",
1682
+ kind: "message",
1683
+ T: () => GeneratedCodeInfo_Annotation,
1684
+ repeated: true,
1685
+ },
1074
1686
  ],
1075
1687
  packedByDefault: false,
1076
1688
  });