# Uses of Class
com.google.protobuf.GeneratedMessage.GeneratedExtension

Packages that use GeneratedMessage.GeneratedExtension
Package
Description
com.google.protobuf

## Uses of GeneratedMessage.GeneratedExtension in com.google.protobuf

Fields in com.google.protobuf declared as GeneratedMessage.GeneratedExtension
Modifier and Type
Field
Description
`static final GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,JavaFeaturesProto.JavaFeatures>`
JavaFeaturesProto.`java_`
`extend .google.protobuf.FeatureSet { ...`
Methods in com.google.protobuf that return GeneratedMessage.GeneratedExtension
Modifier and Type
Method
Description
`static <ContainingT extends Message, T>
GeneratedMessage.GeneratedExtension<ContainingT,T>`
GeneratedMessage.`newFileScopedGeneratedExtension(Class<?> singularType, Message defaultInstance)`
For use by generated code only.
`static <ContainingT extends Message, T>
GeneratedMessage.GeneratedExtension<ContainingT,T>`
GeneratedMessage.`newMessageScopedGeneratedExtension(Message scope, int descriptorIndex, Class<?> singularType, Message defaultInstance)`
For use by generated code only.
Methods in com.google.protobuf with parameters of type GeneratedMessage.GeneratedExtension
Modifier and Type
Method
Description
`void`
ExtensionRegistry.`add(GeneratedMessage.GeneratedExtension<?,?> extension)`
Add an extension from a generated file to the registry.
`<T> BuilderT`
GeneratedMessageV3.ExtendableBuilder.`addExtension(GeneratedMessage.GeneratedExtension<MessageT,List<T>> extension, T value)`
Deprecated.
`<T> BuilderT`
GeneratedMessageV3.ExtendableBuilder.`clearExtension(GeneratedMessage.GeneratedExtension<MessageT,T> extension)`
Deprecated.
`final <T> T`
GeneratedMessageV3.ExtendableBuilder.`getExtension(GeneratedMessage.GeneratedExtension<MessageT,List<T>> extension, int index)`
Deprecated.
`final <T> T`
GeneratedMessageV3.ExtendableBuilder.`getExtension(GeneratedMessage.GeneratedExtension<MessageT,T> extension)`
Deprecated.
`final <T> T`
GeneratedMessageV3.ExtendableMessage.`getExtension(GeneratedMessage.GeneratedExtension<MessageT,List<T>> extension, int index)`
Deprecated.
`final <T> T`
GeneratedMessageV3.ExtendableMessage.`getExtension(GeneratedMessage.GeneratedExtension<MessageT,T> extension)`
Deprecated.
`<T> T`
GeneratedMessageV3.ExtendableMessageOrBuilder.`getExtension(GeneratedMessage.GeneratedExtension<MessageT,List<T>> extension, int index)`
Deprecated.
`<T> T`
GeneratedMessageV3.ExtendableMessageOrBuilder.`getExtension(GeneratedMessage.GeneratedExtension<MessageT,T> extension)`
Deprecated.
`final <T> int`
GeneratedMessageV3.ExtendableBuilder.`getExtensionCount(GeneratedMessage.GeneratedExtension<MessageT,List<T>> extension)`
Deprecated.
`final <T> int`
GeneratedMessageV3.ExtendableMessage.`getExtensionCount(GeneratedMessage.GeneratedExtension<MessageT,List<T>> extension)`
Deprecated.
`<T> int`
GeneratedMessageV3.ExtendableMessageOrBuilder.`getExtensionCount(GeneratedMessage.GeneratedExtension<MessageT,List<T>> extension)`
Deprecated.
`final <T> boolean`
GeneratedMessageV3.ExtendableBuilder.`hasExtension(GeneratedMessage.GeneratedExtension<MessageT,T> extension)`
Deprecated.
`final <T> boolean`
GeneratedMessageV3.ExtendableMessage.`hasExtension(GeneratedMessage.GeneratedExtension<MessageT,T> extension)`
Deprecated.
`<T> boolean`
GeneratedMessageV3.ExtendableMessageOrBuilder.`hasExtension(GeneratedMessage.GeneratedExtension<MessageT,T> extension)`
Deprecated.
`<T> BuilderT`
GeneratedMessageV3.ExtendableBuilder.`setExtension(GeneratedMessage.GeneratedExtension<MessageT,List<T>> extension, int index, T value)`
Deprecated.
`<T> BuilderT`
GeneratedMessageV3.ExtendableBuilder.`setExtension(GeneratedMessage.GeneratedExtension<MessageT,T> extension, T value)`
Deprecated.