Interface GraphInput
- All Superinterfaces:
Input
- All Known Implementing Classes:
GraphByteArrayInput, GraphCodedInput
An input that is stateful and keeps track of the references. This is useful for updating the reference of the last
message (polymorphic) deserialized.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the last message was read as a reference.voidupdateLast(Object morphedMessage, Object lastMessage) Updates the last reference (the tip/end of the index) kept if thelastMessagewas indeed the last message.Methods inherited from interface Input
handleUnknownField, mergeObject, readBool, readByteArray, readByteBuffer, readBytes, readBytes, readDouble, readEnum, readFieldNumber, readFixed32, readFixed64, readFloat, readInt32, readInt64, readSFixed32, readSFixed64, readSInt32, readSInt64, readString, readUInt32, readUInt64, transferByteRangeTo
-
Method Details
-
updateLast
-
isCurrentMessageReference
boolean isCurrentMessageReference()Returns true if the last message was read as a reference.
-