diff --git a/protobuf/runtime/src/com/google/protobuf/GeneratedMessage.h b/protobuf/runtime/src/com/google/protobuf/GeneratedMessage.h index 3c2c8a162e..b5919203e5 100644 --- a/protobuf/runtime/src/com/google/protobuf/GeneratedMessage.h +++ b/protobuf/runtime/src/com/google/protobuf/GeneratedMessage.h @@ -137,6 +137,9 @@ J2OBJC_TYPE_LITERAL_HEADER(ComGoogleProtobufGeneratedMessage_ExtendableMessage) - (id)setExtensionWithComGoogleProtobufExtensionLite: (ComGoogleProtobufExtensionLite *)extension withInt:(jint)index withId:(id)value; - (id)setExtensionWithComGoogleProtobufExtension:(CGPExtension *)extension withId:(id)value; +- (id)setExtensionWithComGoogleProtobufExtension:(CGPExtension *)extension + withInt:(jint)index + withId:(id)value; - (id)setExtensionWithComGoogleProtobufGeneratedMessage_GeneratedExtension: (CGPGeneratedExtension *)extension withId:(id)value; - (id)setExtensionWithComGoogleProtobufGeneratedMessage_GeneratedExtension: diff --git a/protobuf/runtime/src/com/google/protobuf/GeneratedMessage.mm b/protobuf/runtime/src/com/google/protobuf/GeneratedMessage.mm index d0a9e22b47..551425dda9 100644 --- a/protobuf/runtime/src/com/google/protobuf/GeneratedMessage.mm +++ b/protobuf/runtime/src/com/google/protobuf/GeneratedMessage.mm @@ -4168,6 +4168,11 @@ - (id)setExtensionWithComGoogleProtobufExtensionLite: - (id)setExtensionWithComGoogleProtobufExtension:(CGPExtension *)extension withId:(id)value { return [self setExtensionWithComGoogleProtobufExtensionLite:extension withId:value]; } +- (id)setExtensionWithComGoogleProtobufExtension:(CGPExtension *)extension + withInt:(jint)index + withId:(id)value { + return [self setExtensionWithComGoogleProtobufExtensionLite:extension withInt:index withId:value]; +} - (id)setExtensionWithComGoogleProtobufGeneratedMessage_GeneratedExtension: (CGPGeneratedExtension *)extension withId:(id)value { return [self setExtensionWithComGoogleProtobufExtensionLite:extension withId:value];