Package com.google.protobuf
Class GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
- java.lang.Object
-
- com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType,Type>
-
- Enclosing class:
- GeneratedMessageLite
public static class GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type> extends java.lang.ObjectLite equivalent toGeneratedMessage.GeneratedExtension. Users should ignore the contents of this class and only use objects of this type as parameters to extension accessors and ExtensionRegistry.add().
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainingTypegetContainingTypeDefaultInstance()Default instance of the type being extended, used to identify that type.MessageLitegetMessageDefaultInstance()If the extension is an embedded message or group, returns the default instance of the message.intgetNumber()Get the field number.
-
-
-
Method Detail
-
getContainingTypeDefaultInstance
public ContainingType getContainingTypeDefaultInstance()
Default instance of the type being extended, used to identify that type.
-
getNumber
public int getNumber()
Get the field number.
-
getMessageDefaultInstance
public MessageLite getMessageDefaultInstance()
If the extension is an embedded message or group, returns the default instance of the message.
-
-