private void MaybeInitBuilder() { lock (this) { if (viaProto || builder == null) { builder = YarnProtos.LocalResourceProto.NewBuilder(proto); } viaProto = false; } }
public LocalResourcePBImpl() { builder = YarnProtos.LocalResourceProto.NewBuilder(); }