public ImageJob deepCopy() { return new ImageJob(this); }
ImageJob imageJob = new ImageJob(); fileOps.readShaderJobFileToImageJob(shaderJobFile, imageJob);
ImageJob imageJob = new ImageJob(); fileOps.readShaderJobFileToImageJob(shaderJobFile, imageJob); imageJob.setSkipRender(skipRender);
ImageJob imageJob = new ImageJob(); fileOps.readShaderJobFileToImageJob(shaderJobFile, imageJob); imageJob.setSkipRender(false);
/** * Performs a deep copy on <i>other</i>. */ public Job(Job other) { __isset_bitfield = other.__isset_bitfield; this.jobId = other.jobId; if (other.isSetNoJob()) { this.noJob = new NoJob(other.noJob); } if (other.isSetImageJob()) { this.imageJob = new ImageJob(other.imageJob); } if (other.isSetSkipJob()) { this.skipJob = new SkipJob(other.skipJob); } }
case 3: // IMAGE_JOB if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.imageJob = new ImageJob(); struct.imageJob.read(iprot); struct.setImageJobIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Job struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; struct.jobId = iprot.readI64(); struct.setJobIdIsSet(true); java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.noJob = new NoJob(); struct.noJob.read(iprot); struct.setNoJobIsSet(true); } if (incoming.get(1)) { struct.imageJob = new ImageJob(); struct.imageJob.read(iprot); struct.setImageJobIsSet(true); } if (incoming.get(2)) { struct.skipJob = new SkipJob(); struct.skipJob.read(iprot); struct.setSkipJobIsSet(true); } } }