add and set protobuf encoder
2 files changed