public virtual MRProtos.TaskAttemptIdProto GetProto() { lock (this) { MergeLocalToProto(); proto = viaProto ? proto : ((MRProtos.TaskAttemptIdProto)builder.Build()); viaProto = true; return(proto); } }
private void MergeLocalToProto() { lock (this) { if (viaProto) { MaybeInitBuilder(); } MergeLocalToBuilder(); proto = ((MRProtos.TaskAttemptIdProto)builder.Build()); viaProto = true; } }
public TaskAttemptIdPBImpl(MRProtos.TaskAttemptIdProto proto) { this.proto = proto; viaProto = true; }
private TaskAttemptIdPBImpl ConvertFromProtoFormat(MRProtos.TaskAttemptIdProto p) { return(new TaskAttemptIdPBImpl(p)); }