@Override
 public byte[] encode(InstrumentDefinitionMessage message) throws IOException {
   return message.toByteArray();
 }
 @Override
 public InstrumentDefinitionMessage decode(byte[] bytes) throws IOException {
   return InstrumentDefinitionMessage.parseFrom(bytes);
 }