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