public interface Message<T>
| Modifier and Type | Method and Description |
|---|---|
T |
assertInitialized() |
void |
clear() |
T |
clone() |
T |
mergeFramed(Buffer buffer) |
T |
mergeFramed(byte[] data) |
T |
mergeFramed(CodedInputStream input) |
T |
mergeFramed(InputStream input) |
T |
mergeFrom(T other) |
T |
mergeUnframed(Buffer buffer) |
T |
mergeUnframed(byte[] data) |
T |
mergeUnframed(CodedInputStream input) |
T |
mergeUnframed(InputStream input) |
int |
serializedSizeFramed() |
int |
serializedSizeUnframed() |
Buffer |
toFramedBuffer() |
byte[] |
toFramedByteArray() |
Buffer |
toUnframedBuffer() |
byte[] |
toUnframedByteArray() |
void |
writeFramed(CodedOutputStream output) |
void |
writeFramed(OutputStream output) |
void |
writeUnframed(CodedOutputStream output) |
void |
writeUnframed(OutputStream output) |
T clone() throws CloneNotSupportedException
CloneNotSupportedExceptionint serializedSizeUnframed()
int serializedSizeFramed()
void clear()
T assertInitialized() throws UninitializedMessageException
UninitializedMessageExceptionT mergeUnframed(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionT mergeFramed(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionT mergeUnframed(Buffer buffer) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionT mergeFramed(Buffer buffer) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionT mergeUnframed(InputStream input) throws IOException
IOExceptionT mergeFramed(InputStream input) throws IOException
IOExceptionT mergeUnframed(CodedInputStream input) throws IOException
IOExceptionT mergeFramed(CodedInputStream input) throws IOException
IOExceptionBuffer toUnframedBuffer()
Buffer toFramedBuffer()
byte[] toUnframedByteArray()
byte[] toFramedByteArray()
void writeUnframed(CodedOutputStream output) throws IOException
IOExceptionvoid writeFramed(CodedOutputStream output) throws IOException
IOExceptionvoid writeUnframed(OutputStream output) throws IOException
IOExceptionvoid writeFramed(OutputStream output) throws IOException
IOExceptionCopyright © 2010–2025 FuseSource, Corp.. All rights reserved.