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
CloneNotSupportedException
int serializedSizeUnframed()
int serializedSizeFramed()
void clear()
T assertInitialized() throws UninitializedMessageException
UninitializedMessageException
T mergeUnframed(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
T mergeFramed(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
T mergeUnframed(Buffer buffer) throws InvalidProtocolBufferException
InvalidProtocolBufferException
T mergeFramed(Buffer buffer) throws InvalidProtocolBufferException
InvalidProtocolBufferException
T mergeUnframed(InputStream input) throws IOException
IOException
T mergeFramed(InputStream input) throws IOException
IOException
T mergeUnframed(CodedInputStream input) throws IOException
IOException
T mergeFramed(CodedInputStream input) throws IOException
IOException
Buffer toUnframedBuffer()
Buffer toFramedBuffer()
byte[] toUnframedByteArray()
byte[] toFramedByteArray()
void writeUnframed(CodedOutputStream output) throws IOException
IOException
void writeFramed(CodedOutputStream output) throws IOException
IOException
void writeUnframed(OutputStream output) throws IOException
IOException
void writeFramed(OutputStream output) throws IOException
IOException
Copyright © 2010–2021 FuseSource, Corp.. All rights reserved.