io.protostuff.runtime.FieldMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protostuff-runtime Show documentation
Show all versions of protostuff-runtime Show documentation
protobuf serialization for pre-existing objects
package io.protostuff.runtime;
import java.util.List;
/**
* Interface for map of fields - defines how to you get field by name or number (tag).
*
* @author Kostiantyn Shchepanovskyi
*/
interface FieldMap
{
Field getFieldByNumber(int n);
Field getFieldByName(String fieldName);
int getFieldCount();
List> getFields();
}