public abstract static class GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>> extends GeneratedMessageLite implements GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType>
GeneratedMessage.ExtendableMessage
.GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite,BuilderType extends GeneratedMessageLite.Builder>, GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage>, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
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.
|
getParserForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension
toByteArray, toByteString, writeDelimitedTo, writeTo
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultInstanceForType, isInitialized
getSerializedSize, newBuilderForType, toBuilder, writeTo
public final <Type> boolean hasExtension(GeneratedMessageLite.GeneratedExtension<MessageType,Type> extension)
hasExtension
in interface GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>
public final <Type> int getExtensionCount(GeneratedMessageLite.GeneratedExtension<MessageType,java.util.List<Type>> extension)
getExtensionCount
in interface GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>
public final <Type> Type getExtension(GeneratedMessageLite.GeneratedExtension<MessageType,Type> extension)
getExtension
in interface GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>
public final <Type> Type getExtension(GeneratedMessageLite.GeneratedExtension<MessageType,java.util.List<Type>> extension, int index)
getExtension
in interface GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>