# Uses of Class
com.google.protobuf.ExtensionLite

Packages that use ExtensionLite
Package
Description
com.google.protobuf

## Uses of ExtensionLite in com.google.protobuf

Subclasses of ExtensionLite in com.google.protobuf
Modifier and Type
Class
Description
`class`
`Extension<ContainingType extends MessageLite,Type>`
Interface that generated extensions implement.
`static class`
`GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>`
Type used to represent generated extensions.
`static class`
`GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>`
Lite equivalent to `GeneratedMessage.GeneratedExtension`.
Methods in com.google.protobuf with parameters of type ExtensionLite
Modifier and Type
Method
Description
`final void`
ExtensionRegistryLite.`add(ExtensionLite<?,?> extension)`
Add an extension from a lite generated file to the registry only if it is a non-lite extension i.e.
`final <Type> BuilderType`
GeneratedMessage.ExtendableBuilder.`addExtension(ExtensionLite<MessageType,List<Type>> extensionLite, Type value)`
Append a value to a repeated extension.
`final <Type> BuilderType`
GeneratedMessageLite.ExtendableBuilder.`addExtension(ExtensionLite<MessageType,List<Type>> extension, Type value)`
Append a value to a repeated extension.
`final <T> BuilderT`
GeneratedMessageV3.ExtendableBuilder.`addExtension(ExtensionLite<MessageT,List<T>> extensionLite, T value)`
Append a value to a repeated extension.
`final <Type> BuilderType`
GeneratedMessage.ExtendableBuilder.`clearExtension(ExtensionLite<MessageType,?> extensionLite)`
Clear an extension.
`final BuilderType`
GeneratedMessageLite.ExtendableBuilder.`clearExtension(ExtensionLite<MessageType,?> extension)`
Clear an extension.
`final <T> BuilderT`
GeneratedMessageV3.ExtendableBuilder.`clearExtension(ExtensionLite<MessageT,T> extensionLite)`
Clear an extension.
`final <Type> Type`
GeneratedMessage.ExtendableBuilder.`getExtension(ExtensionLite<MessageType,List<Type>> extensionLite, int index)`
Get one element of a repeated extension.
`final <Type> Type`
GeneratedMessage.ExtendableBuilder.`getExtension(ExtensionLite<MessageType,Type> extensionLite)`
Get the value of an extension.
`final <Type> Type`
GeneratedMessage.ExtendableMessage.`getExtension(ExtensionLite<MessageType,List<Type>> extensionLite, int index)`
Get one element of a repeated extension.
`final <Type> Type`
GeneratedMessage.ExtendableMessage.`getExtension(ExtensionLite<MessageType,Type> extensionLite)`
Get the value of an extension.
`<Type> Type`
GeneratedMessage.ExtendableMessageOrBuilder.`getExtension(ExtensionLite<MessageType,List<Type>> extension, int index)`
Get one element of a repeated extension.
`<Type> Type`
GeneratedMessage.ExtendableMessageOrBuilder.`getExtension(ExtensionLite<MessageType,Type> extension)`
Get the value of an extension.
`final <Type> Type`
GeneratedMessageLite.ExtendableBuilder.`getExtension(ExtensionLite<MessageType,List<Type>> extension, int index)`
Get one element of a repeated extension.
`final <Type> Type`
GeneratedMessageLite.ExtendableBuilder.`getExtension(ExtensionLite<MessageType,Type> extension)`
Get the value of an extension.
`final <Type> Type`
GeneratedMessageLite.ExtendableMessage.`getExtension(ExtensionLite<MessageType,List<Type>> extension, int index)`
Get one element of a repeated extension.
`final <Type> Type`
GeneratedMessageLite.ExtendableMessage.`getExtension(ExtensionLite<MessageType,Type> extension)`
Get the value of an extension.
`<Type> Type`
GeneratedMessageLite.ExtendableMessageOrBuilder.`getExtension(ExtensionLite<MessageType,List<Type>> extension, int index)`
Get one element of a repeated extension.
`<Type> Type`
GeneratedMessageLite.ExtendableMessageOrBuilder.`getExtension(ExtensionLite<MessageType,Type> extension)`
Get the value of an extension.
`final <T> T`
GeneratedMessageV3.ExtendableBuilder.`getExtension(ExtensionLite<MessageT,List<T>> extensionLite, int index)`
Get one element of a repeated extension.
`final <T> T`
GeneratedMessageV3.ExtendableBuilder.`getExtension(ExtensionLite<MessageT,T> extensionLite)`
Get the value of an extension.
`final <T> T`
GeneratedMessageV3.ExtendableMessage.`getExtension(ExtensionLite<MessageT,List<T>> extensionLite, int index)`
Get one element of a repeated extension.
`final <T> T`
GeneratedMessageV3.ExtendableMessage.`getExtension(ExtensionLite<MessageT,T> extensionLite)`
Get the value of an extension.
`<T> T`
GeneratedMessageV3.ExtendableMessageOrBuilder.`getExtension(ExtensionLite<MessageT,List<T>> extension, int index)`
Get one element of a repeated extension.
`<T> T`
GeneratedMessageV3.ExtendableMessageOrBuilder.`getExtension(ExtensionLite<MessageT,T> extension)`
Get the value of an extension.
`final <Type> int`
GeneratedMessage.ExtendableBuilder.`getExtensionCount(ExtensionLite<MessageType,List<Type>> extensionLite)`
Get the number of elements in a repeated extension.
`final <Type> int`
GeneratedMessage.ExtendableMessage.`getExtensionCount(ExtensionLite<MessageType,List<Type>> extensionLite)`
Get the number of elements in a repeated extension.
`<Type> int`
GeneratedMessage.ExtendableMessageOrBuilder.`getExtensionCount(ExtensionLite<MessageType,List<Type>> extension)`
Get the number of elements in a repeated extension.
`final <Type> int`
GeneratedMessageLite.ExtendableBuilder.`getExtensionCount(ExtensionLite<MessageType,List<Type>> extension)`
Get the number of elements in a repeated extension.
`final <Type> int`
GeneratedMessageLite.ExtendableMessage.`getExtensionCount(ExtensionLite<MessageType,List<Type>> extension)`
Get the number of elements in a repeated extension.
`<Type> int`
GeneratedMessageLite.ExtendableMessageOrBuilder.`getExtensionCount(ExtensionLite<MessageType,List<Type>> extension)`
Get the number of elements in a repeated extension.
`final <T> int`
GeneratedMessageV3.ExtendableBuilder.`getExtensionCount(ExtensionLite<MessageT,List<T>> extensionLite)`
Get the number of elements in a repeated extension.
`final <T> int`
GeneratedMessageV3.ExtendableMessage.`getExtensionCount(ExtensionLite<MessageT,List<T>> extensionLite)`
Get the number of elements in a repeated extension.
`<T> int`
GeneratedMessageV3.ExtendableMessageOrBuilder.`getExtensionCount(ExtensionLite<MessageT,List<T>> extension)`
Get the number of elements in a repeated extension.
`final <Type> boolean`
GeneratedMessage.ExtendableBuilder.`hasExtension(ExtensionLite<MessageType,Type> extensionLite)`
Check if a singular extension is present.
`final <Type> boolean`
GeneratedMessage.ExtendableMessage.`hasExtension(ExtensionLite<MessageType,Type> extensionLite)`
Check if a singular extension is present.
`<Type> boolean`
GeneratedMessage.ExtendableMessageOrBuilder.`hasExtension(ExtensionLite<MessageType,Type> extension)`
Check if a singular extension is present.
`final <Type> boolean`
GeneratedMessageLite.ExtendableBuilder.`hasExtension(ExtensionLite<MessageType,Type> extension)`
Check if a singular extension is present.
`final <Type> boolean`
GeneratedMessageLite.ExtendableMessage.`hasExtension(ExtensionLite<MessageType,Type> extension)`
Check if a singular extension is present.
`<Type> boolean`
GeneratedMessageLite.ExtendableMessageOrBuilder.`hasExtension(ExtensionLite<MessageType,Type> extension)`
Check if a singular extension is present.
`final <T> boolean`
GeneratedMessageV3.ExtendableBuilder.`hasExtension(ExtensionLite<MessageT,T> extensionLite)`
Check if a singular extension is present.
`final <T> boolean`
GeneratedMessageV3.ExtendableMessage.`hasExtension(ExtensionLite<MessageT,T> extensionLite)`
Check if a singular extension is present.
`<T> boolean`
GeneratedMessageV3.ExtendableMessageOrBuilder.`hasExtension(ExtensionLite<MessageT,T> extension)`
Check if a singular extension is present.
`final <Type> BuilderType`
GeneratedMessage.ExtendableBuilder.`setExtension(ExtensionLite<MessageType,List<Type>> extensionLite, int index, Type value)`
Set the value of one element of a repeated extension.
`final <Type> BuilderType`
GeneratedMessage.ExtendableBuilder.`setExtension(ExtensionLite<MessageType,Type> extensionLite, Type value)`
Set the value of an extension.
`final <Type> BuilderType`
GeneratedMessageLite.ExtendableBuilder.`setExtension(ExtensionLite<MessageType,List<Type>> extension, int index, Type value)`
Set the value of one element of a repeated extension.
`final <Type> BuilderType`
GeneratedMessageLite.ExtendableBuilder.`setExtension(ExtensionLite<MessageType,Type> extension, Type value)`
Set the value of an extension.
`final <T> BuilderT`
GeneratedMessageV3.ExtendableBuilder.`setExtension(ExtensionLite<MessageT,List<T>> extensionLite, int index, T value)`
Set the value of one element of a repeated extension.
`final <T> BuilderT`
GeneratedMessageV3.ExtendableBuilder.`setExtension(ExtensionLite<MessageT,T> extensionLite, T value)`
Set the value of an extension.