11"use strict" ;
22// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33// versions:
4- // protoc-gen-ts_proto v2.6.1
5- // protoc v5.29.4
4+ // protoc-gen-ts_proto v2.7.0
5+ // protoc v6.30.2
66// source: google/protobuf/descriptor.proto
77Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
8- exports . GeneratedCodeInfo_Annotation = exports . GeneratedCodeInfo = exports . SourceCodeInfo_Location = exports . SourceCodeInfo = exports . FeatureSetDefaults_FeatureSetEditionDefault = exports . FeatureSetDefaults = exports . FeatureSet = exports . UninterpretedOption_NamePart = exports . UninterpretedOption = exports . MethodOptions = exports . ServiceOptions = exports . EnumValueOptions = exports . EnumOptions = exports . OneofOptions = exports . FieldOptions_FeatureSupport = exports . FieldOptions_EditionDefault = exports . FieldOptions = exports . MessageOptions = exports . FileOptions = exports . MethodDescriptorProto = exports . ServiceDescriptorProto = exports . EnumValueDescriptorProto = exports . EnumDescriptorProto_EnumReservedRange = exports . EnumDescriptorProto = exports . OneofDescriptorProto = exports . FieldDescriptorProto = exports . ExtensionRangeOptions_Declaration = exports . ExtensionRangeOptions = exports . DescriptorProto_ReservedRange = exports . DescriptorProto_ExtensionRange = exports . DescriptorProto = exports . FileDescriptorProto = exports . FileDescriptorSet = exports . GeneratedCodeInfo_Annotation_Semantic = exports . FeatureSet_JsonFormat = exports . FeatureSet_MessageEncoding = exports . FeatureSet_Utf8Validation = exports . FeatureSet_RepeatedFieldEncoding = exports . FeatureSet_EnumType = exports . FeatureSet_FieldPresence = exports . MethodOptions_IdempotencyLevel = exports . FieldOptions_OptionTargetType = exports . FieldOptions_OptionRetention = exports . FieldOptions_JSType = exports . FieldOptions_CType = exports . FileOptions_OptimizeMode = exports . FieldDescriptorProto_Label = exports . FieldDescriptorProto_Type = exports . ExtensionRangeOptions_VerificationState = exports . Edition = void 0 ;
8+ exports . GeneratedCodeInfo = exports . SourceCodeInfo_Location = exports . SourceCodeInfo = exports . FeatureSetDefaults_FeatureSetEditionDefault = exports . FeatureSetDefaults = exports . FeatureSet = exports . UninterpretedOption_NamePart = exports . UninterpretedOption = exports . MethodOptions = exports . ServiceOptions = exports . EnumValueOptions = exports . EnumOptions = exports . OneofOptions = exports . FieldOptions_FeatureSupport = exports . FieldOptions_EditionDefault = exports . FieldOptions = exports . MessageOptions = exports . FileOptions = exports . MethodDescriptorProto = exports . ServiceDescriptorProto = exports . EnumValueDescriptorProto = exports . EnumDescriptorProto_EnumReservedRange = exports . EnumDescriptorProto = exports . OneofDescriptorProto = exports . FieldDescriptorProto = exports . ExtensionRangeOptions_Declaration = exports . ExtensionRangeOptions = exports . DescriptorProto_ReservedRange = exports . DescriptorProto_ExtensionRange = exports . DescriptorProto = exports . FileDescriptorProto = exports . FileDescriptorSet = exports . GeneratedCodeInfo_Annotation_Semantic = exports . FeatureSet_EnforceNamingStyle = exports . FeatureSet_JsonFormat = exports . FeatureSet_MessageEncoding = exports . FeatureSet_Utf8Validation = exports . FeatureSet_RepeatedFieldEncoding = exports . FeatureSet_EnumType = exports . FeatureSet_FieldPresence = exports . MethodOptions_IdempotencyLevel = exports . FieldOptions_OptionTargetType = exports . FieldOptions_OptionRetention = exports . FieldOptions_JSType = exports . FieldOptions_CType = exports . FileOptions_OptimizeMode = exports . FieldDescriptorProto_Label = exports . FieldDescriptorProto_Type = exports . ExtensionRangeOptions_VerificationState = exports . Edition = void 0 ;
9+ exports . GeneratedCodeInfo_Annotation = void 0 ;
910exports . editionFromJSON = editionFromJSON ;
1011exports . editionToJSON = editionToJSON ;
1112exports . extensionRangeOptions_VerificationStateFromJSON = extensionRangeOptions_VerificationStateFromJSON ;
@@ -38,6 +39,8 @@ exports.featureSet_MessageEncodingFromJSON = featureSet_MessageEncodingFromJSON;
3839exports . featureSet_MessageEncodingToJSON = featureSet_MessageEncodingToJSON ;
3940exports . featureSet_JsonFormatFromJSON = featureSet_JsonFormatFromJSON ;
4041exports . featureSet_JsonFormatToJSON = featureSet_JsonFormatToJSON ;
42+ exports . featureSet_EnforceNamingStyleFromJSON = featureSet_EnforceNamingStyleFromJSON ;
43+ exports . featureSet_EnforceNamingStyleToJSON = featureSet_EnforceNamingStyleToJSON ;
4144exports . generatedCodeInfo_Annotation_SemanticFromJSON = generatedCodeInfo_Annotation_SemanticFromJSON ;
4245exports . generatedCodeInfo_Annotation_SemanticToJSON = generatedCodeInfo_Annotation_SemanticToJSON ;
4346/* eslint-disable */
@@ -841,6 +844,39 @@ function featureSet_JsonFormatToJSON(object) {
841844 throw new globalThis . Error ( "Unrecognized enum value " + object + " for enum FeatureSet_JsonFormat" ) ;
842845 }
843846}
847+ var FeatureSet_EnforceNamingStyle ;
848+ ( function ( FeatureSet_EnforceNamingStyle ) {
849+ FeatureSet_EnforceNamingStyle [ FeatureSet_EnforceNamingStyle [ "ENFORCE_NAMING_STYLE_UNKNOWN" ] = 0 ] = "ENFORCE_NAMING_STYLE_UNKNOWN" ;
850+ FeatureSet_EnforceNamingStyle [ FeatureSet_EnforceNamingStyle [ "STYLE2024" ] = 1 ] = "STYLE2024" ;
851+ FeatureSet_EnforceNamingStyle [ FeatureSet_EnforceNamingStyle [ "STYLE_LEGACY" ] = 2 ] = "STYLE_LEGACY" ;
852+ } ) ( FeatureSet_EnforceNamingStyle || ( exports . FeatureSet_EnforceNamingStyle = FeatureSet_EnforceNamingStyle = { } ) ) ;
853+ function featureSet_EnforceNamingStyleFromJSON ( object ) {
854+ switch ( object ) {
855+ case 0 :
856+ case "ENFORCE_NAMING_STYLE_UNKNOWN" :
857+ return FeatureSet_EnforceNamingStyle . ENFORCE_NAMING_STYLE_UNKNOWN ;
858+ case 1 :
859+ case "STYLE2024" :
860+ return FeatureSet_EnforceNamingStyle . STYLE2024 ;
861+ case 2 :
862+ case "STYLE_LEGACY" :
863+ return FeatureSet_EnforceNamingStyle . STYLE_LEGACY ;
864+ default :
865+ throw new globalThis . Error ( "Unrecognized enum value " + object + " for enum FeatureSet_EnforceNamingStyle" ) ;
866+ }
867+ }
868+ function featureSet_EnforceNamingStyleToJSON ( object ) {
869+ switch ( object ) {
870+ case FeatureSet_EnforceNamingStyle . ENFORCE_NAMING_STYLE_UNKNOWN :
871+ return "ENFORCE_NAMING_STYLE_UNKNOWN" ;
872+ case FeatureSet_EnforceNamingStyle . STYLE2024 :
873+ return "STYLE2024" ;
874+ case FeatureSet_EnforceNamingStyle . STYLE_LEGACY :
875+ return "STYLE_LEGACY" ;
876+ default :
877+ throw new globalThis . Error ( "Unrecognized enum value " + object + " for enum FeatureSet_EnforceNamingStyle" ) ;
878+ }
879+ }
844880/**
845881 * Represents the identified object's effect on the element in the original
846882 * .proto file.
@@ -1818,6 +1854,9 @@ exports.FeatureSet = {
18181854 utf8Validation : isSet ( object . utf8Validation ) ? featureSet_Utf8ValidationFromJSON ( object . utf8Validation ) : 0 ,
18191855 messageEncoding : isSet ( object . messageEncoding ) ? featureSet_MessageEncodingFromJSON ( object . messageEncoding ) : 0 ,
18201856 jsonFormat : isSet ( object . jsonFormat ) ? featureSet_JsonFormatFromJSON ( object . jsonFormat ) : 0 ,
1857+ enforceNamingStyle : isSet ( object . enforceNamingStyle )
1858+ ? featureSet_EnforceNamingStyleFromJSON ( object . enforceNamingStyle )
1859+ : 0 ,
18211860 } ;
18221861 } ,
18231862 toJSON ( message ) {
@@ -1840,6 +1879,9 @@ exports.FeatureSet = {
18401879 if ( message . jsonFormat !== undefined && message . jsonFormat !== 0 ) {
18411880 obj . jsonFormat = featureSet_JsonFormatToJSON ( message . jsonFormat ) ;
18421881 }
1882+ if ( message . enforceNamingStyle !== undefined && message . enforceNamingStyle !== 0 ) {
1883+ obj . enforceNamingStyle = featureSet_EnforceNamingStyleToJSON ( message . enforceNamingStyle ) ;
1884+ }
18431885 return obj ;
18441886 } ,
18451887} ;
0 commit comments