|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType,Type>
public static final class GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
Lite equivalent to 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().
Method Summary | |
---|---|
ContainingType |
getContainingTypeDefaultInstance()
Default instance of the type being extended, used to identify that type. |
MessageLite |
getMessageDefaultInstance()
If the extension is an embedded message, this is the default instance of that type. |
int |
getNumber()
Get the field number. |
void |
internalInitRepeated(ContainingType containingTypeDefaultInstance,
MessageLite messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type,
boolean isPacked)
For use by generated code only. |
void |
internalInitSingular(ContainingType containingTypeDefaultInstance,
Type defaultValue,
MessageLite messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type)
For use by generated code only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void internalInitSingular(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type)
public void internalInitRepeated(ContainingType containingTypeDefaultInstance, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked)
public ContainingType getContainingTypeDefaultInstance()
public int getNumber()
public MessageLite getMessageDefaultInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |