If you are loading data into BigQuery using simple ETL approach of loading files to Google Cloud Storage and loading that file to BigQuery use the utilities in Google Cloud SDK instead of writing custom programs using the APIs. This will save lot of time as the utilities have most of the functions needed for processing and it is easy to manage and understand the scripts you develop because each line in the script is a documented command from the utilties.