public void writeTo(ByteBuf byteBuf) {
    byteBuf.writeBytes(partitionId.getBytes());
    messageInfoAndMetadataListSerde.serializeMessageInfoAndMetadataList(byteBuf);
    byteBuf.writeShort((short) errorCode.ordinal());
  }
Contains the partition and the message info list for a partition. This is used by
get response to specify the message info list in a partition
ambry-protocol/src/main/java/com/github/ambry/protocol/PartitionResponseInfo.java