public static class GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLiteextends Object ,Type>
GeneratedMessage.GeneratedExtension. Users should ignore the contents of this class and only use objects of this type as parameters to extension accessors and ExtensionRegistry.add().
| Modifier and Type | Method and Description |
|---|---|
ContainingType |
getContainingTypeDefaultInstance()
Default instance of the type being extended, used to identify that type.
|
MessageLite |
getMessageDefaultInstance()
If the extension is an embedded message or group, returns the default instance of the message.
|
int |
getNumber()
Get the field number.
|
public ContainingType getContainingTypeDefaultInstance()
public int getNumber()
public MessageLitegetMessageDefaultInstance()