private void MaybeInitBuilder() { lock (this) { if (viaProto || builder == null) { builder = MRProtos.TaskAttemptIdProto.NewBuilder(proto); } viaProto = false; } }
public TaskAttemptIdPBImpl() { builder = MRProtos.TaskAttemptIdProto.NewBuilder(); }