protected static final class GeneratedMessageLite.SerializedForm
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
asBytes |
private java.lang.String |
messageClassName |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
SerializedForm(MessageLite regularForm)
Creates the serialized form by calling
MessageLite.toByteArray(). |
| Modifier and Type | Method and Description |
|---|---|
static GeneratedMessageLite.SerializedForm |
of(MessageLite message) |
protected java.lang.Object |
readResolve()
When read from an ObjectInputStream, this method converts this object
back to the regular form.
|
private java.lang.Object |
readResolveFallback()
Deprecated.
from v3.0.0-beta-3+, for compatibility with v2.5.0 and v2.6.1 generated code.
|
private static final long serialVersionUID
private final java.lang.String messageClassName
private final byte[] asBytes
SerializedForm(MessageLite regularForm)
MessageLite.toByteArray().regularForm - the message to serializepublic static GeneratedMessageLite.SerializedForm of(MessageLite message)
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException@Deprecated
private java.lang.Object readResolveFallback()
throws java.io.ObjectStreamException
java.io.ObjectStreamException