super(org.opencb.biodata.models.variant.avro.Cosmic.SCHEMA$);
if (isValidValue(fields()[0], other.mutationId)) {
this.mutationId = data().deepCopy(fields()[0].schema(), other.mutationId);
fieldSetFlags()[0] = true;
this.primarySite = data().deepCopy(fields()[1].schema(), other.primarySite);
fieldSetFlags()[1] = true;
this.siteSubtype = data().deepCopy(fields()[2].schema(), other.siteSubtype);
fieldSetFlags()[2] = true;
this.primaryHistology = data().deepCopy(fields()[3].schema(), other.primaryHistology);
fieldSetFlags()[3] = true;
this.histologySubtype = data().deepCopy(fields()[4].schema(), other.histologySubtype);
fieldSetFlags()[4] = true;
this.sampleSource = data().deepCopy(fields()[5].schema(), other.sampleSource);
fieldSetFlags()[5] = true;
this.tumourOrigin = data().deepCopy(fields()[6].schema(), other.tumourOrigin);
fieldSetFlags()[6] = true;
this.geneName = data().deepCopy(fields()[7].schema(), other.geneName);
fieldSetFlags()[7] = true;
this.mutationSomaticStatus = data().deepCopy(fields()[8].schema(), other.mutationSomaticStatus);
fieldSetFlags()[8] = true;