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