public final class GraphByteArrayInput extends FilterInput<ByteArrayInput> implements GraphInput, Schema<Object>
input| Constructor and Description |
|---|
GraphByteArrayInput(ByteArrayInput input) |
GraphByteArrayInput(ByteArrayInput input,
int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName(int number) |
int |
getFieldNumber(String name) |
boolean |
isCurrentMessageReference() |
boolean |
isInitialized(Object owner) |
void |
mergeFrom(Input input,
Object message) |
<T> T |
mergeObject(T value,
Schema<T> schema) |
String |
messageFullName() |
String |
messageName() |
Object |
newMessage() |
<T> int |
readFieldNumber(Schema<T> schema) |
Class<? super Object> |
typeClass() |
void |
updateLast(Object morphedMessage,
Object lastMessage) |
void |
writeTo(Output output,
Object message) |
handleUnknownField, readBool, readByteArray, readByteBuffer, readBytes, readDouble, readEnum, readFixed32, readFixed64, readFloat, readInt32, readInt64, readSFixed32, readSFixed64, readSInt32, readSInt64, readString, readUInt32, readUInt64, transferByteRangeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleUnknownField, readBool, readByteArray, readByteBuffer, readBytes, readDouble, readEnum, readFixed32, readFixed64, readFloat, readInt32, readInt64, readSFixed32, readSFixed64, readSInt32, readSInt64, readString, readUInt32, readUInt64, transferByteRangeTopublic GraphByteArrayInput(ByteArrayInput input)
public GraphByteArrayInput(ByteArrayInput input, int initialCapacity)
public void updateLast(Object morphedMessage, Object lastMessage)
updateLast in interface GraphInputpublic boolean isCurrentMessageReference()
isCurrentMessageReference in interface GraphInputpublic <T> int readFieldNumber(Schema<T> schema) throws IOException
readFieldNumber in interface InputreadFieldNumber in class FilterInput<ByteArrayInput>IOExceptionpublic <T> T mergeObject(T value,
Schema<T> schema)
throws IOException
mergeObject in interface InputmergeObject in class FilterInput<ByteArrayInput>IOExceptionpublic String getFieldName(int number)
getFieldName in interface Schema<Object>public int getFieldNumber(String name)
getFieldNumber in interface Schema<Object>public boolean isInitialized(Object owner)
isInitialized in interface Schema<Object>public String messageFullName()
messageFullName in interface Schema<Object>public String messageName()
messageName in interface Schema<Object>public Object newMessage()
newMessage in interface Schema<Object>public void mergeFrom(Input input, Object message) throws IOException
mergeFrom in interface Schema<Object>IOExceptionpublic void writeTo(Output output, Object message) throws IOException
writeTo in interface Schema<Object>IOExceptionCopyright © 2009–2015. All rights reserved.