@ -215,14 +215,18 @@ typedef NS_OPTIONS(uint32_t, GPBDescriptorInitializationFlags) {
fields : ( void * ) fieldDescriptions
fieldCount : ( uint32_t ) fieldCount
storageSize : ( uint32_t ) storageSize
flags : ( GPBDescriptorInitializationFlags ) flags ;
flags : ( GPBDescriptorInitializationFlags ) flags
__attribute__ ( ( deprecated ( " Please use a newer version of protoc to regenerate your sources. "
" Support for this version will go away in the future. " ) ) ) ;
+ ( instancetype ) allocDescriptorForClass : ( Class ) messageClass
rootClass : ( Class ) rootClass
file : ( GPBFileDescriptor * ) file
fields : ( void * ) fieldDescriptions
fieldCount : ( uint32_t ) fieldCount
storageSize : ( uint32_t ) storageSize
flags : ( GPBDescriptorInitializationFlags ) flags ;
flags : ( GPBDescriptorInitializationFlags ) flags
__attribute__ ( ( deprecated ( " Please use a newer version of protoc to regenerate your sources. "
" Support for this version will go away in the future. " ) ) ) ;
- ( void ) setupContainingMessageClassName : ( const char * ) msgClassName ;
- ( void ) setupMessageClassNameSuffix : ( NSString * ) suffix ;
@ -282,13 +286,17 @@ typedef NS_OPTIONS(uint32_t, GPBEnumDescriptorInitializationFlags) {
valueNames : ( const char * ) valueNames
values : ( const int32_t * ) values
count : ( uint32_t ) valueCount
enumVerifier : ( GPBEnumValidationFunc ) enumVerifier ;
enumVerifier : ( GPBEnumValidationFunc ) enumVerifier
__attribute__ ( ( deprecated ( " Please use a newer version of protoc to regenerate your sources. "
" Support for this version will go away in the future. " ) ) ) ;
+ ( instancetype ) allocDescriptorForName : ( NSString * ) name
valueNames : ( const char * ) valueNames
values : ( const int32_t * ) values
count : ( uint32_t ) valueCount
enumVerifier : ( GPBEnumValidationFunc ) enumVerifier
extraTextFormatInfo : ( const char * ) extraTextFormatInfo ;
extraTextFormatInfo : ( const char * ) extraTextFormatInfo
__attribute__ ( ( deprecated ( " Please use a newer version of protoc to regenerate your sources. "
" Support for this version will go away in the future. " ) ) ) ;
@ end
@ interface GPBExtensionDescriptor ( ) {
@ -307,7 +315,9 @@ typedef NS_OPTIONS(uint32_t, GPBEnumDescriptorInitializationFlags) {
- ( instancetype ) initWithExtensionDescription : ( GPBExtensionDescription * ) desc
usesClassRefs : ( BOOL ) usesClassRefs ;
// Deprecated. Calls above with `usesClassRefs = NO`
- ( instancetype ) initWithExtensionDescription : ( GPBExtensionDescription * ) desc ;
- ( instancetype ) initWithExtensionDescription : ( GPBExtensionDescription * ) desc
__attribute__ ( ( deprecated ( " Please use a newer version of protoc to regenerate your sources. "
" Support for this version will go away in the future. " ) ) ) ;
- ( NSComparisonResult ) compareByFieldNumber : ( GPBExtensionDescriptor * ) other ;
@ end