public abstract class GeneratedMessageLite extends AbstractMessageLiteimplements Serializable
GeneratedMessage.
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneratedMessageLite
|
static class |
GeneratedMessageLite
Lite equivalent of
GeneratedMessage.ExtendableBuilder.
|
static class |
GeneratedMessageLite
Lite equivalent of
GeneratedMessage.ExtendableMessage.
|
static interface |
GeneratedMessageLite
Lite equivalent of
GeneratedMessage.ExtendableMessageOrBuilder.
|
static class |
GeneratedMessageLite
Lite equivalent to
GeneratedMessage.GeneratedExtension.
|
memoizedHashCode| Modifier | Constructor and Description |
|---|---|
protected |
GeneratedMessageLite()
|
protected |
GeneratedMessageLite(GeneratedMessageLite
|
| Modifier and Type | Method and Description |
|---|---|
Parser |
getParserForType()
Gets the parser for a message of the same type as this message.
|
protected void |
makeExtensionsImmutable()
Used by parsing constructors in generated classes.
|
static <ContainingType extends MessageLite |
newRepeatedGeneratedExtension(ContainingType containingTypeDefaultInstance, MessageLite
For use by generated code only.
|
static <ContainingType extends MessageLite |
newSingularGeneratedExtension(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite
For use by generated code only.
|
protected boolean |
parseUnknownField(CodedInputStream
Called by subclasses to parse an unknown field.
|
protected Object |
writeReplace()
Replaces this object in the output stream with a serialized form.
|
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSerializedSize, newBuilderForType, toBuilder, writeTogetDefaultInstanceForType, isInitializedprotected GeneratedMessageLite()
protected GeneratedMessageLite(GeneratedMessageLite.Builder builder)
public Parser<? extends MessageLite > getParserForType()
MessageLite
protected boolean parseUnknownField(CodedInputStreaminput, CodedOutputStream unknownFieldsCodedOutput, ExtensionRegistryLite extensionRegistry, int tag) throws IOException
true unless the tag is an end-group tag.
IOException
protected void makeExtensionsImmutable()
public static <ContainingType extends MessageLite,Type> GeneratedMessageLite .GeneratedExtension <ContainingType ,Type> newSingularGeneratedExtension(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite messageDefaultInstance, Internal .EnumLiteMap <?> enumTypeMap, int number, WireFormat .FieldType type, Class singularType)
public static <ContainingType extends MessageLite,Type> GeneratedMessageLite .GeneratedExtension <ContainingType ,Type> newRepeatedGeneratedExtension(ContainingType containingTypeDefaultInstance, MessageLite messageDefaultInstance, Internal .EnumLiteMap <?> enumTypeMap, int number, WireFormat .FieldType type, boolean isPacked, Class singularType)
protected ObjectwriteReplace() throws ObjectStreamException
return super.writeReplace();
ObjectStreamException