Class ExtensionRegistry.ExtensionInfo (3.19.4)

public static final class ExtensionRegistry.ExtensionInfo

A (Descriptor, Message) pair, returned by lookup methods.

Inheritance

java.lang.Object > ExtensionRegistry.ExtensionInfo

Fields

defaultInstance

public final Message defaultInstance

A default instance of the extension's type, if it has a message type. Otherwise, null.

Field Value
Type Description
Message

descriptor

public final Descriptors.FieldDescriptor descriptor

The extension's descriptor.

Field Value
Type Description
Descriptors.FieldDescriptor