public abstract class ReadOnlyMessage extends Object implements com.google.protobuf.MessageLite
Constructor and Description |
---|
ReadOnlyMessage() |
Modifier and Type | Method and Description |
---|---|
int |
getSerializedSize() |
com.google.protobuf.MessageLite.Builder |
toBuilder() |
byte[] |
toByteArray() |
com.google.protobuf.ByteString |
toByteString() |
void |
writeDelimitedTo(OutputStream output) |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
void |
writeTo(OutputStream output) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
public com.google.protobuf.ByteString toByteString()
toByteString
in interface com.google.protobuf.MessageLite
public byte[] toByteArray()
toByteArray
in interface com.google.protobuf.MessageLite
public void writeTo(OutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public void writeDelimitedTo(OutputStream output) throws IOException
writeDelimitedTo
in interface com.google.protobuf.MessageLite
IOException
public com.google.protobuf.MessageLite.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite