public virtual TaskType GetTaskType() { MRServiceProtos.GetTaskReportsRequestProtoOrBuilder p = viaProto ? proto : builder; if (!p.HasTaskType()) { return(null); } return(ConvertFromProtoFormat(p.GetTaskType())); }
public virtual JobId GetJobId() { MRServiceProtos.GetTaskReportsRequestProtoOrBuilder p = viaProto ? proto : builder; if (this.jobId != null) { return(this.jobId); } if (!p.HasJobId()) { return(null); } this.jobId = ConvertFromProtoFormat(p.GetJobId()); return(this.jobId); }