Digital payments company Square Inc. has leased all 356,000 square feet of office space in CIM Group's Uptown Station office-retail development in Oakland, California, setting a modern office lease record for the city and positioning itself to become its largest major technology company as businesses seek space in San Francisco's suburbs.