Uses of Class
com.google.protobuf.ExtensionLite
Packages that use ExtensionLite
-
Uses of ExtensionLite in com.google.protobuf
Subclasses of ExtensionLite in com.google.protobufModifier and TypeClassDescriptionclass
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 toGeneratedMessage.GeneratedExtension
.Methods in com.google.protobuf with parameters of type ExtensionLiteModifier and TypeMethodDescriptionfinal 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 <Type> BuilderType
GeneratedMessageV3.ExtendableBuilder.addExtension
(ExtensionLite<MessageType, List<Type>> extensionLite, Type value) Append a value to a repeated extension.private static <MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,
BuilderType>, BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>, T>
GeneratedMessageLite.GeneratedExtension<MessageType, T> GeneratedMessageLite.checkIsLite
(ExtensionLite<MessageType, T> extension) Checks that theExtension
is Lite and returns it as aGeneratedMessageLite.GeneratedExtension
.private static <MessageType extends GeneratedMessage.ExtendableMessage<MessageType>,
T>
Extension<MessageType, T> GeneratedMessage.checkNotLite
(ExtensionLite<MessageType, T> extension) Checks that theExtension
is non-Lite and returns it as aGeneratedMessage.GeneratedExtension
.private static <MessageType extends GeneratedMessageV3.ExtendableMessage<MessageType>,
T>
Extension<MessageType, T> GeneratedMessageV3.checkNotLite
(ExtensionLite<MessageType, T> extension) Checks that theExtension
is non-Lite and returns it as aGeneratedMessage.GeneratedExtension
.final <Type> BuilderType
GeneratedMessage.ExtendableBuilder.clearExtension
(ExtensionLite<MessageType, ?> extensionLite) Clear an extension.final BuilderType
GeneratedMessageLite.ExtendableBuilder.clearExtension
(ExtensionLite<MessageType, ?> extension) Clear an extension.final BuilderType
GeneratedMessageV3.ExtendableBuilder.clearExtension
(ExtensionLite<MessageType, ?> 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 <Type> Type
GeneratedMessageV3.ExtendableBuilder.getExtension
(ExtensionLite<MessageType, List<Type>> extensionLite, int index) Get one element of a repeated extension.final <Type> Type
GeneratedMessageV3.ExtendableBuilder.getExtension
(ExtensionLite<MessageType, Type> extensionLite) Get the value of an extension.final <Type> Type
GeneratedMessageV3.ExtendableMessage.getExtension
(ExtensionLite<MessageType, List<Type>> extensionLite, int index) Get one element of a repeated extension.final <Type> Type
GeneratedMessageV3.ExtendableMessage.getExtension
(ExtensionLite<MessageType, Type> extensionLite) Get the value of an extension.<Type> Type
GeneratedMessageV3.ExtendableMessageOrBuilder.getExtension
(ExtensionLite<MessageType, List<Type>> extension, int index) Get one element of a repeated extension.<Type> Type
GeneratedMessageV3.ExtendableMessageOrBuilder.getExtension
(ExtensionLite<MessageType, Type> 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 <Type> int
GeneratedMessageV3.ExtendableBuilder.getExtensionCount
(ExtensionLite<MessageType, List<Type>> extensionLite) Get the number of elements in a repeated extension.final <Type> int
GeneratedMessageV3.ExtendableMessage.getExtensionCount
(ExtensionLite<MessageType, List<Type>> extensionLite) Get the number of elements in a repeated extension.<Type> int
GeneratedMessageV3.ExtendableMessageOrBuilder.getExtensionCount
(ExtensionLite<MessageType, List<Type>> 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 <Type> boolean
GeneratedMessageV3.ExtendableBuilder.hasExtension
(ExtensionLite<MessageType, Type> extensionLite) Check if a singular extension is present.final <Type> boolean
GeneratedMessageV3.ExtendableMessage.hasExtension
(ExtensionLite<MessageType, Type> extensionLite) Check if a singular extension is present.<Type> boolean
GeneratedMessageV3.ExtendableMessageOrBuilder.hasExtension
(ExtensionLite<MessageType, Type> 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 <Type> BuilderType
GeneratedMessageV3.ExtendableBuilder.setExtension
(ExtensionLite<MessageType, List<Type>> extensionLite, int index, Type value) Set the value of one element of a repeated extension.final <Type> BuilderType
GeneratedMessageV3.ExtendableBuilder.setExtension
(ExtensionLite<MessageType, Type> extensionLite, Type value) Set the value of an extension.