public static interface GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>> extends MessageLiteOrBuilder
GeneratedMessage.ExtendableMessageOrBuilder
.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> boolean hasExtension(ExtensionLite<MessageType,Type> extension)
<Type> int getExtensionCount(ExtensionLite<MessageType,List<Type>> extension)
<Type> Type getExtension(ExtensionLite<MessageType,Type> extension)
<Type> Type getExtension(ExtensionLite<MessageType,List<Type>> extension, int index)
Copyright © 2008–2021. All rights reserved.