public static interface GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>> extends MessageLiteOrBuilder
Modifier and Type | Method and Description |
---|---|
<Type> Type |
getExtension(ExtensionLite<MessageType,List<Type>> extension,
int index)
Get one element of a repeated extension.
|
<Type> Type |
getExtension(ExtensionLite<MessageType,Type> extension)
Get the value of an extension.
|
<Type> int |
getExtensionCount(ExtensionLite<MessageType,List<Type>> extension)
Get the number of elements in a repeated extension.
|
<Type> boolean |
hasExtension(ExtensionLite<MessageType,Type> extension)
Check if a singular extension is present.
|
getDefaultInstanceForType, isInitialized
<Type> Type getExtension(ExtensionLite<MessageType,List<Type>> extension, int index)
<Type> Type getExtension(ExtensionLite<MessageType,Type> extension)
<Type> int getExtensionCount(ExtensionLite<MessageType,List<Type>> extension)
<Type> boolean hasExtension(ExtensionLite<MessageType,Type> extension)