Program: 93144
Project: 93144
Buggy source:
protected Builder(com.google.api.services.bigquery.model.JobConfiguration configurationPb){
  JobConfigurationLoad loadConfigurationPb=configurationPb.getLoad();
  this.destinationTable=TableId.fromPb(loadConfigurationPb.getDestinationTable());
  if (loadConfigurationPb.getCreateDisposition() != null) {
    this.createDisposition=CreateDisposition.valueOf(loadConfigurationPb.getCreateDisposition());
  }
  if (loadConfigurationPb.getWriteDisposition() != null) {
    this.writeDisposition=WriteDisposition.valueOf(loadConfigurationPb.getWriteDisposition());
  }
  if (loadConfigurationPb.getSourceFormat() != null) {
    this.formatOptions=FormatOptions.of(loadConfigurationPb.getSourceFormat());
  }
  if (loadConfigurationPb.getAllowJaggedRows() != null || loadConfigurationPb.getAllowQuotedNewlines() != null || loadConfigurationPb.getEncoding() != null || loadConfigurationPb.getFieldDelimiter() != null || loadConfigurationPb.getQuote() != null || loadConfigurationPb.getSkipLeadingRows() != null) {
    CsvOptions.Builder builder=CsvOptions.builder().allowJaggedRows(loadConfigurationPb.getAllowJaggedRows()).allowQuotedNewLines(loadConfigurationPb.getAllowQuotedNewlines()).encoding(loadConfigurationPb.getEncoding()).fieldDelimiter(loadConfigurationPb.getFieldDelimiter()).quote(loadConfigurationPb.getQuote()).skipLeadingRows(loadConfigurationPb.getSkipLeadingRows());
    this.formatOptions=builder.build();
  }
  this.maxBadRecords=loadConfigurationPb.getMaxBadRecords();
  if (loadConfigurationPb.getSchema() != null) {
    this.schema=Schema.fromPb(loadConfigurationPb.getSchema());
  }
  this.ignoreUnknownValues=loadConfigurationPb.getIgnoreUnknownValues();
  this.projectionFields=loadConfigurationPb.getProjectionFields();
}

Fixed version (ground truth):
private Builder(com.google.api.services.bigquery.model.JobConfiguration configurationPb){
  JobConfigurationLoad loadConfigurationPb=configurationPb.getLoad();
  this.destinationTable=TableId.fromPb(loadConfigurationPb.getDestinationTable());
  if (loadConfigurationPb.getCreateDisposition() != null) {
    this.createDisposition=CreateDisposition.valueOf(loadConfigurationPb.getCreateDisposition());
  }
  if (loadConfigurationPb.getWriteDisposition() != null) {
    this.writeDisposition=WriteDisposition.valueOf(loadConfigurationPb.getWriteDisposition());
  }
  if (loadConfigurationPb.getSourceFormat() != null) {
    this.formatOptions=FormatOptions.of(loadConfigurationPb.getSourceFormat());
  }
  if (loadConfigurationPb.getAllowJaggedRows() != null || loadConfigurationPb.getAllowQuotedNewlines() != null || loadConfigurationPb.getEncoding() != null || loadConfigurationPb.getFieldDelimiter() != null || loadConfigurationPb.getQuote() != null || loadConfigurationPb.getSkipLeadingRows() != null) {
    CsvOptions.Builder builder=CsvOptions.builder().allowJaggedRows(loadConfigurationPb.getAllowJaggedRows()).allowQuotedNewLines(loadConfigurationPb.getAllowQuotedNewlines()).encoding(loadConfigurationPb.getEncoding()).fieldDelimiter(loadConfigurationPb.getFieldDelimiter()).quote(loadConfigurationPb.getQuote()).skipLeadingRows(loadConfigurationPb.getSkipLeadingRows());
    this.formatOptions=builder.build();
  }
  this.maxBadRecords=loadConfigurationPb.getMaxBadRecords();
  if (loadConfigurationPb.getSchema() != null) {
    this.schema=Schema.fromPb(loadConfigurationPb.getSchema());
  }
  this.ignoreUnknownValues=loadConfigurationPb.getIgnoreUnknownValues();
  this.projectionFields=loadConfigurationPb.getProjectionFields();
}