public class AnySchema<T> extends FieldSchema<T>
fieldNumber, javaType, name, packed, primitive, protoField, tag, tagSize| Constructor and Description |
|---|
AnySchema(ProtoMapper protoMapper,
io.protostuff.compiler.model.Field protoField,
PropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
getAndWriteTo(OutputEx output,
T message) |
int |
mergeFrom(InputEx input,
T message) |
void |
writeTo(OutputEx output,
Object value)
write from map
|
getFieldNumber, getProtoField, isPrimitivepublic AnySchema(ProtoMapper protoMapper, io.protostuff.compiler.model.Field protoField, PropertyDescriptor propertyDescriptor)
public final int mergeFrom(InputEx input, T message) throws IOException
mergeFrom in class FieldSchema<T>IOExceptionpublic void getAndWriteTo(OutputEx output, T message) throws IOException
getAndWriteTo in class FieldSchema<T>IOExceptionpublic final void writeTo(OutputEx output, Object value) throws IOException
FieldSchemawriteTo in class FieldSchema<T>value - field value, will not be nullIOExceptionCopyright © 2017–2019 The Apache Software Foundation. All rights reserved.