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