private long computeAndGetSizeInBytes() {
    long size = super.sizeInBytes() + REQUEST_TYPE_SIZE + PARTITION_ID_PRESENT_FLAG_SIZE;
    if (partitionId != null) {
      size += partitionId.getBytes().length;
    }
    return size;
  }
@return the size in bytes of the serialized version of the request
ambry-protocol/src/main/java/com/github/ambry/protocol/AdminRequest.java