/// <exception cref="System.IO.IOException"/>
 public virtual void StartLogSegment(RequestInfo reqInfo, long txid, int layoutVersion
                                     )
 {
     QJournalProtocolProtos.StartLogSegmentRequestProto req = ((QJournalProtocolProtos.StartLogSegmentRequestProto
                                                                )QJournalProtocolProtos.StartLogSegmentRequestProto.NewBuilder().SetReqInfo(Convert
                                                                                                                                                (reqInfo)).SetTxid(txid).SetLayoutVersion(layoutVersion).Build());
     try
     {
         rpcProxy.StartLogSegment(NullController, req);
     }
     catch (ServiceException e)
     {
         throw ProtobufHelper.GetRemoteException(e);
     }
 }
 /// <seealso cref="Org.Apache.Hadoop.Hdfs.Server.Protocol.JournalProtocol.StartLogSegment(Org.Apache.Hadoop.Hdfs.Server.Protocol.JournalInfo, long, long)
 ///     "></seealso>
 /// <exception cref="Com.Google.Protobuf.ServiceException"/>
 public virtual QJournalProtocolProtos.StartLogSegmentResponseProto StartLogSegment
     (RpcController controller, QJournalProtocolProtos.StartLogSegmentRequestProto req
     )
 {
     try
     {
         int layoutVersion = req.HasLayoutVersion() ? req.GetLayoutVersion() : NameNodeLayoutVersion
                             .CurrentLayoutVersion;
         impl.StartLogSegment(Convert(req.GetReqInfo()), req.GetTxid(), layoutVersion);
     }
     catch (IOException e)
     {
         throw new ServiceException(e);
     }
     return(VoidStartLogSegmentResponse);
 }