yijunyu/c-to-rust huggingface dataset:
// Original:
public UpdateJourneyResult updateJourney(UpdateJourneyRequest request) {request = beforeClientExecution(request);return executeUpdateJourney(request);}

// Translation:
public virtual UpdateJourneyResponse UpdateJourney(UpdateJourneyRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateJourneyRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateJourneyResponseUnmarshaller.Instance;return Invoke<UpdateJourneyResponse>(request, options);}
// Original:
public RemoveTagsFromVaultResult removeTagsFromVault(RemoveTagsFromVaultRequest request) {request = beforeClientExecution(request);return executeRemoveTagsFromVault(request);}

// Translation:
public virtual RemoveTagsFromVaultResponse RemoveTagsFromVault(RemoveTagsFromVaultRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveTagsFromVaultRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveTagsFromVaultResponseUnmarshaller.Instance;return Invoke<RemoveTagsFromVaultResponse>(request, options);}
// Original:
public RevertCommand include(Ref commit) {checkCallable();commits.add(commit);return this;}

// Translation:
public virtual NGit.Api.RevertCommand Include(Ref commit){CheckCallable();commits.AddItem(commit);return this;}
// Original:
public DeleteFargateProfileResult deleteFargateProfile(DeleteFargateProfileRequest request) {request = beforeClientExecution(request);return executeDeleteFargateProfile(request);}

// Translation:
public virtual DeleteFargateProfileResponse DeleteFargateProfile(DeleteFargateProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFargateProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFargateProfileResponseUnmarshaller.Instance;return Invoke<DeleteFargateProfileResponse>(request, options);}
// Original:
public boolean evaluate(int cmpResult) {switch (_code) {case NONE:case EQ:return cmpResult == 0;case NE: return cmpResult != 0;case LT: return cmpResult <  0;case LE: return cmpResult <= 0;case GT: return cmpResult >  0;case GE: return cmpResult >= 0;}throw new RuntimeException("Cannot call boolean evaluate on non-equality operator '"+ _representation + "'");}

// Translation:
public bool Evaluate(int cmpResult){switch (_code){case NONE:case EQ:return cmpResult == 0;case NE: return cmpResult != 0;case LT: return cmpResult < 0;case LE: return cmpResult <= 0;case GT: return cmpResult > 0;case GE: return cmpResult >= 0;}throw new Exception("Cannot call bool Evaluate on non-equality operator '"+ _representation + "'");}
// Original:
public SeriesRecord getSeries() {return series;}

// Translation:
public SeriesRecord GetSeries(){return series;}
// Original:
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[UNCALCED]\n");buffer.append("    _reserved: ").append(_reserved).append('\n');buffer.append("[/UNCALCED]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[UNCALCED]\n");buffer.Append("[/UNCALCED]\n");return buffer.ToString();}
// Original:
public ListBotsResult listBots(ListBotsRequest request) {request = beforeClientExecution(request);return executeListBots(request);}

// Translation:
public virtual ListBotsResponse ListBots(ListBotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListBotsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListBotsResponseUnmarshaller.Instance;return Invoke<ListBotsResponse>(request, options);}
// Original:
public int getPort() {return port;}

// Translation:
public int getPort(){return port;}
// Original:
public void writeLong(long value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeLong(value);}

// Translation:
public virtual void writeLong(long value){throw new System.NotImplementedException();}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {I_MatchPredicate mp = createCriteriaPredicate(arg1, srcRowIndex, srcColumnIndex);if(mp == null) {return NumberEval.ZERO;}double result = countMatchingCellsInArea(arg0, mp);return new NumberEval(result);}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){IMatchPredicate mp = CreateCriteriaPredicate(arg1, srcRowIndex, srcColumnIndex);if (mp == null){return NumberEval.ZERO;}double result = CountMatchingCellsInArea(arg0, mp);return new NumberEval(result);}
// Original:
public boolean requiresCommitBody() {return true;}

// Translation:
public override bool RequiresCommitBody(){return true;}
// Original:
public DeleteVpcResult deleteVpc(DeleteVpcRequest request) {request = beforeClientExecution(request);return executeDeleteVpc(request);}

// Translation:
public virtual DeleteVpcResponse DeleteVpc(DeleteVpcRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVpcRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVpcResponseUnmarshaller.Instance;return Invoke<DeleteVpcResponse>(request, options);}
// Original:
public VoteOnProposalResult voteOnProposal(VoteOnProposalRequest request) {request = beforeClientExecution(request);return executeVoteOnProposal(request);}

// Translation:
public virtual VoteOnProposalResponse VoteOnProposal(VoteOnProposalRequest request){var options = new InvokeOptions();options.RequestMarshaller = VoteOnProposalRequestMarshaller.Instance;options.ResponseUnmarshaller = VoteOnProposalResponseUnmarshaller.Instance;return Invoke<VoteOnProposalResponse>(request, options);}
// Original:
public void grow() {costs = ArrayUtil.grow(costs, 1+count);lastRightID = ArrayUtil.grow(lastRightID, 1+count);backPos = ArrayUtil.grow(backPos, 1+count);backIndex = ArrayUtil.grow(backIndex, 1+count);backID = ArrayUtil.grow(backID, 1+count);final Type[] newBackType = new Type[backID.length];System.arraycopy(backType, 0, newBackType, 0, backType.length);backType = newBackType;}

// Translation:
public void Grow(){costs = ArrayUtil.Grow(costs, 1 + count);lastRightID = ArrayUtil.Grow(lastRightID, 1 + count);backPos = ArrayUtil.Grow(backPos, 1 + count);backIndex = ArrayUtil.Grow(backIndex, 1 + count);backID = ArrayUtil.Grow(backID, 1 + count);JapaneseTokenizerType[] newBackType = new JapaneseTokenizerType[backID.Length];System.Array.Copy(backType, 0, newBackType, 0, backType.Length);backType = newBackType;}
// Original:
public String toString() {return "MERGE_BASE"; }

// Translation:
public override string ToString(){return "MERGE_BASE";}
// Original:
public float readFloat() throws IOException {return primitiveTypes.readFloat();}

// Translation:
public virtual float readFloat(){throw new System.NotImplementedException();}
// Original:
public String substring(int start) {if (start >= 0 && start <= count) {if (start == count) {return "";}return new String(value, start, count - start);}throw indexAndLength(start);}

// Translation:
public virtual string substring(int start){if (start >= 0 && start <= count){if (start == count){return string.Empty;}return new string(value, start, count - start);}throw indexAndLength(start);}
// Original:
public DBCellRecord(RecordInputStream in) {field_1_row_offset   = in.readUShort();int size = in.remaining();field_2_cell_offsets = new short[ size / 2 ];for (int i=0;i<field_2_cell_offsets.length;i++) {field_2_cell_offsets[ i ] = in.readShort();}}

// Translation:
public DBCellRecord(RecordInputStream in1){field_1_row_offset = in1.ReadUShort();int size = in1.Remaining;field_2_cell_offsets = new short[size / 2];for (int i = 0; i < field_2_cell_offsets.Length; i++){field_2_cell_offsets[i] = in1.ReadShort();}}
// Original:
public DefaultAcsClient(IClientProfile profile) {this(profile, new StaticCredentialsProvider(profile));}

// Translation:
public DefaultAcsClient(IClientProfile profile) : this(){clientProfile = profile;credentialsProvider = new StaticCredentialsProvider(profile);clientProfile.SetCredentialsProvider(credentialsProvider);}
// Original:
public int findStartOffset(StringBuilder buffer, int start) {if( start > buffer.length() || start < 1 ) return start;int offset, count = maxScan;for( offset = start; offset > 0 && count > 0; count-- ){if( boundaryChars.contains( buffer.charAt( offset - 1 ) ) ) return offset;offset--;}if (offset == 0) {return 0;}return start;}

// Translation:
public virtual int FindStartOffset(StringBuilder buffer, int start){if (start > buffer.Length || start < 1) return start;int offset, count = m_maxScan;for (offset = start; offset > 0 && count > 0; count--){if (m_boundaryChars.Contains(buffer[offset - 1])) return offset;offset--;}if (offset == 0){return 0;}return start;}
// Original:
public BufferedTokenStream(TokenSource tokenSource) {if (tokenSource == null) {throw new NullPointerException("tokenSource cannot be null");}this.tokenSource = tokenSource;}

// Translation:
public BufferedTokenStream(ITokenSource tokenSource){if (tokenSource == null){throw new ArgumentNullException("tokenSource cannot be null");}this._tokenSource = tokenSource;}
// Original:
public final boolean isDirect() {return false;}

// Translation:
public sealed override bool isDirect(){return false;}
// Original:
public TokenMgrError(String message, int reason) {super(message);errorCode = reason;}

// Translation:
public TokenMgrError(string message, int reason): base(message){errorCode = reason;}
// Original:
public int getCells() {int size = 0;for (Row row : rows)size += row.getCells();return size;}

// Translation:
public virtual int GetCells(){int size = 0;foreach (Row row in rows)size += row.GetCells();return size;}
// Original:
public int findStartOfRowOutlineGroup(int row) {RowRecord rowRecord = this.getRow( row );int level = rowRecord.getOutlineLevel();int currentRow = row;while (currentRow >= 0 && this.getRow( currentRow ) != null) {rowRecord = this.getRow( currentRow );if (rowRecord.getOutlineLevel() < level) {return currentRow + 1;}currentRow--;}return currentRow + 1;}

// Translation:
public int FindStartOfRowOutlineGroup(int row){RowRecord rowRecord = this.GetRow(row);int level = rowRecord.OutlineLevel;int currentRow = row;while (this.GetRow(currentRow) != null){rowRecord = this.GetRow(currentRow);if (rowRecord.OutlineLevel < level)return currentRow + 1;currentRow--;}return currentRow + 1;}
// Original:
public DirCacheBuildIterator(DirCacheBuilder dcb) {super(dcb.getDirCache());builder = dcb;}

// Translation:
public DirCacheBuildIterator(DirCacheBuilder dcb) : base(dcb.GetDirCache()){builder = dcb;}
// Original:
public DeleteGraphResult deleteGraph(DeleteGraphRequest request) {request = beforeClientExecution(request);return executeDeleteGraph(request);}

// Translation:
public virtual DeleteGraphResponse DeleteGraph(DeleteGraphRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteGraphRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteGraphResponseUnmarshaller.Instance;return Invoke<DeleteGraphResponse>(request, options);}
// Original:
public String toString() {return "id=" + id + " version=" + version + " files=" + sourceFiles;}

// Translation:
public override string ToString(){return string.Format("id={0} version={1} files={2}", Id, Version, SourceFiles);}
// Original:
public static Calendar parseDate(String strVal) throws EvaluationException {String[] parts = Pattern.compile("/").split(strVal);if (parts.length != 3) {throw new EvaluationException(ErrorEval.VALUE_INVALID);}String part2 = parts[2];int spacePos = part2.indexOf(' ');if (spacePos > 0) {part2 = part2.substring(0, spacePos);}int f0;int f1;int f2;try {f0 = Integer.parseInt(parts[0]);f1 = Integer.parseInt(parts[1]);f2 = Integer.parseInt(part2);} catch (NumberFormatException e) {throw new EvaluationException(ErrorEval.VALUE_INVALID);}if (f0 < 0 || f1 < 0 || f2 < 0 || (f0 > 12 && f1 > 12 && f2 > 12)) {throw new EvaluationException(ErrorEval.VALUE_INVALID);}if (f0 >= 1900 && f0 < 9999) {return makeDate(f0, f1, f2);}throw new RuntimeException("Unable to determine date format for text '" + strVal + "'");}

// Translation:
public static DateTime ParseDate(String strVal){String[] parts = strVal.Split("-/".ToCharArray());if (parts.Length != 3){throw new EvaluationException(ErrorEval.VALUE_INVALID);}String part2 = parts[2];int spacePos = part2.IndexOf(' ');if (spacePos > 0){part2 = part2.Substring(0, spacePos);}int f0;int f1;int f2;try{f0 = int.Parse(parts[0]);f1 = int.Parse(parts[1]);f2 = int.Parse(part2);}catch (FormatException){throw new EvaluationException(ErrorEval.VALUE_INVALID);}if (f0 < 0 || f1 < 0 || f2 < 0 || (f0 > 12 && f1 > 12 && f2 > 12)){throw new EvaluationException(ErrorEval.VALUE_INVALID);}if (f0 >= 1900 && f0 < 9999){return MakeDate(f0, f1, f2);}#if !HIDE_UNREACHABLE_CODEif (false){return MakeDate(f2, f0, f1);}#endifthrow new RuntimeException("Unable to determine date format for text '" + strVal + "'");}
// Original:
public void removeMMClipCount() {remove1stProperty(PropertyIDMap.PID_MMCLIPCOUNT);}

// Translation:
public void RemoveMMClipCount(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_MMCLIPCOUNT);}
// Original:
public void setDeltaCacheSize(long size) {deltaCacheSize = size;}

// Translation:
public virtual void SetDeltaCacheSize(long size){deltaCacheSize = size;}
// Original:
public UpdateKnowledgeRequest() {super("Chatbot", "2017-10-11", "UpdateKnowledge", "beebot");setMethod(MethodType.POST);}

// Translation:
public UpdateKnowledgeRequest(): base("Chatbot", "2017-10-11", "UpdateKnowledge", "beebot", "openAPI"){Method = MethodType.POST;}
// Original:
public void readBytes(byte[] b, int offset, int len) {for(int i=0;i<len;i++) {b[offset+i] = bytes[pos--];}}

// Translation:
public override void ReadBytes(byte[] b, int offset, int len){for (int i = 0; i < len; i++){b[offset + i] = bytes[pos--];}}
// Original:
public void fillArc(int x, int y, int width, int height,int startAngle, int arcAngle){if (logger.check( POILogger.WARN ))logger.log(POILogger.WARN,"fillArc not supported");}

// Translation:
public void FillArc(int x, int y, int width, int height,int startAngle, int arcAngle){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "FillArc not supported");}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex,ValueEval arg0, ValueEval arg1) {double result;try {ValueVector vvY = createValueVector(arg0);ValueVector vvX = createValueVector(arg1);int size = vvX.getSize();if (size == 0 || vvY.getSize() != size) {return ErrorEval.NA;}result = evaluateInternal(vvX, vvY, size);} catch (EvaluationException e) {return e.getErrorEval();}if (Double.isNaN(result) || Double.isInfinite(result)) {return ErrorEval.NUM_ERROR;}return new NumberEval(result);}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex,ValueEval arg0, ValueEval arg1){double result;try{ValueVector vvY = CreateValueVector(arg0);ValueVector vvX = CreateValueVector(arg1);int size = vvX.Size;if (size == 0 || vvY.Size != size){return ErrorEval.NA;}result = EvaluateInternal(vvX, vvY, size);}catch (EvaluationException e){return e.GetErrorEval();}if (Double.IsNaN(result) || Double.IsInfinity(result)){return ErrorEval.NUM_ERROR;}return new NumberEval(result);}
// Original:
public void copyUpdatedCells(Workbook workbook) {_sewb.copyUpdatedCells(workbook);}

// Translation:
public void CopyUpdatedCells(IWorkbook workbook){_sewb.CopyUpdatedCells(workbook);}
// Original:
@Override public final String toString() {return key + "=" + value;}

// Translation:
public sealed override string ToString(){return key + "=" + value;}
// Original:
public DescribeReservedInstancesOfferingsResult describeReservedInstancesOfferings() {return describeReservedInstancesOfferings(new DescribeReservedInstancesOfferingsRequest());}

// Translation:
public virtual DescribeReservedInstancesOfferingsResponse DescribeReservedInstancesOfferings(){return DescribeReservedInstancesOfferings(new DescribeReservedInstancesOfferingsRequest());}
// Original:
public CacheParameterGroup createCacheParameterGroup(CreateCacheParameterGroupRequest request) {request = beforeClientExecution(request);return executeCreateCacheParameterGroup(request);}

// Translation:
public virtual CreateCacheParameterGroupResponse CreateCacheParameterGroup(CreateCacheParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCacheParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCacheParameterGroupResponseUnmarshaller.Instance;return Invoke<CreateCacheParameterGroupResponse>(request, options);}
// Original:
public OldStringRecord(RecordInputStream in) {sid = in.getSid();if (in.getSid() == biff2_sid) {field_1_string_len  = (short)in.readUByte();} else {field_1_string_len   = in.readShort();}field_2_bytes = IOUtils.safelyAllocate(field_1_string_len, MAX_RECORD_LENGTH);in.read(field_2_bytes, 0, field_1_string_len);}

// Translation:
public OldStringRecord(RecordInputStream in1){sid = in1.Sid;if (in1.Sid == biff2_sid){field_1_string_len = (short)in1.ReadUByte();}else{field_1_string_len = in1.ReadShort();}field_2_bytes = new byte[field_1_string_len];in1.Read(field_2_bytes, 0, field_1_string_len);}
// Original:
public long ramBytesUsed() {return TERMS_BASE_RAM_BYTES_USED + (fst!=null ? fst.ramBytesUsed() : 0)+ RamUsageEstimator.sizeOf(scratch.bytes()) + RamUsageEstimator.sizeOf(scratchUTF16.chars());}

// Translation:
public virtual long RamBytesUsed(){return (_fst != null) ? _fst.GetSizeInBytes() : 0;}
// Original:
public void fillRect(int x, int y, int width, int height){HSSFSimpleShape shape = escherGroup.createShape(new HSSFChildAnchor( x, y, x + width, y + height ) );shape.setShapeType(HSSFSimpleShape.OBJECT_TYPE_RECTANGLE);shape.setLineStyle(HSSFShape.LINESTYLE_NONE);shape.setFillColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());shape.setLineStyleColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());}

// Translation:
public void FillRect(int x, int y, int width, int height){HSSFSimpleShape shape = escherGroup.CreateShape(new HSSFChildAnchor(x, y, x + width, y + height));shape.ShapeType = (HSSFSimpleShape.OBJECT_TYPE_RECTANGLE);shape.LineStyle = LineStyle.None;shape.SetFillColor(foreground.R, foreground.G, foreground.B);shape.SetLineStyleColor(foreground.R, foreground.G, foreground.B);}
// Original:
public void add(OneMerge merge) {merges.add(merge);}

// Translation:
public virtual void Add(OneMerge merge){Merges.Add(merge);}
// Original:
public long computeNorm(FieldInvertState state) {return sims[0].computeNorm(state);}

// Translation:
public override long ComputeNorm(FieldInvertState state){return m_sims[0].ComputeNorm(state);}
// Original:
public PolicyAttribute(String attributeName, String attributeValue) {setAttributeName(attributeName);setAttributeValue(attributeValue);}

// Translation:
public PolicyAttribute(string attributeName, string attributeValue){_attributeName = attributeName;_attributeValue = attributeValue;}
// Original:
public String getAccessKeyId() {return publicKeyId;}

// Translation:
public string GetAccessKeyId(){return publicKeyId;}
// Original:
public ListJourneysResult listJourneys(ListJourneysRequest request) {request = beforeClientExecution(request);return executeListJourneys(request);}

// Translation:
public virtual ListJourneysResponse ListJourneys(ListJourneysRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListJourneysRequestMarshaller.Instance;options.ResponseUnmarshaller = ListJourneysResponseUnmarshaller.Instance;return Invoke<ListJourneysResponse>(request, options);}
// Original:
public FormulaCellCacheEntry getOrCreateFormulaCellEntry(EvaluationCell cell) {FormulaCellCacheEntry result = _formulaCellCache.get(cell);if (result == null) {result = new FormulaCellCacheEntry();_formulaCellCache.put(cell, result);}return result;}

// Translation:
public FormulaCellCacheEntry GetOrCreateFormulaCellEntry(IEvaluationCell cell){FormulaCellCacheEntry result = _formulaCellCache.Get(cell);if (result == null){result = new FormulaCellCacheEntry();_formulaCellCache.Put(cell, result);}return result;}
// Original:
public StartHumanLoopResult startHumanLoop(StartHumanLoopRequest request) {request = beforeClientExecution(request);return executeStartHumanLoop(request);}

// Translation:
public virtual StartHumanLoopResponse StartHumanLoop(StartHumanLoopRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartHumanLoopRequestMarshaller.Instance;options.ResponseUnmarshaller = StartHumanLoopResponseUnmarshaller.Instance;return Invoke<StartHumanLoopResponse>(request, options);}
// Original:
public List<RefSpec> getRefSpecs() {return refSpecs;}

// Translation:
public virtual IList<RefSpec> GetRefSpecs(){return refSpecs;}
// Original:
public void build(InputIterator iterator) throws IOException {if (iterator.hasPayloads()) {throw new IllegalArgumentException("this suggester doesn't support payloads");}if (iterator.hasContexts()) {throw new IllegalArgumentException("this suggester doesn't support contexts");}count = 0;BytesRef scratch = new BytesRef();InputIterator iter = new WFSTInputIterator(tempDir, tempFileNamePrefix, iterator);IntsRefBuilder scratchInts = new IntsRefBuilder();BytesRefBuilder previous = null;PositiveIntOutputs outputs = PositiveIntOutputs.getSingleton();FSTCompiler<Long> fstCompiler = new FSTCompiler<>(FST.INPUT_TYPE.BYTE1, outputs);while ((scratch = iter.next()) != null) {long cost = iter.weight();if (previous == null) {previous = new BytesRefBuilder();} else if (scratch.equals(previous.get())) {continue; }Util.toIntsRef(scratch, scratchInts);fstCompiler.add(scratchInts.get(), cost);previous.copyBytes(scratch);count++;}fst = fstCompiler.compile();}

// Translation:
public override void Build(IInputIterator iterator){if (iterator.HasPayloads){throw new ArgumentException("this suggester doesn't support payloads");}if (iterator.HasContexts){throw new ArgumentException("this suggester doesn't support contexts");}count = 0;var scratch = new BytesRef();IInputIterator iter = new WFSTInputIterator(this, iterator);var scratchInts = new Int32sRef();BytesRef previous = null;var outputs = PositiveInt32Outputs.Singleton;var builder = new Builder<long?>(FST.INPUT_TYPE.BYTE1, outputs);while ((scratch = iter.Next()) != null){long cost = iter.Weight;if (previous == null){previous = new BytesRef();}else if (scratch.Equals(previous)){continue; }Lucene.Net.Util.Fst.Util.ToInt32sRef(scratch, scratchInts);builder.Add(scratchInts, cost);previous.CopyBytes(scratch);count++;}fst = builder.Finish();}
// Original:
public Comparator<? super K> comparator() {if (ascending) {return TreeMap.this.comparator();} else {return Collections.reverseOrder(comparator);}}

// Translation:
public java.util.Comparator<K> comparator(){if (this.ascending){return this._enclosing.comparator();}else{return java.util.Collections.reverseOrder<K>(this._enclosing._comparator);}}
// Original:
public PrintHeadersRecord(RecordInputStream in) {field_1_print_headers = in.readShort();}

// Translation:
public PrintHeadersRecord(RecordInputStream in1){field_1_print_headers = in1.ReadShort();}
// Original:
public DeleteBranchCommand branchDelete() {return new DeleteBranchCommand(repo);}

// Translation:
public virtual DeleteBranchCommand BranchDelete(){return new DeleteBranchCommand(repo);}
// Original:
public DetectLabelsResult detectLabels(DetectLabelsRequest request) {request = beforeClientExecution(request);return executeDetectLabels(request);}

// Translation:
public virtual DetectLabelsResponse DetectLabels(DetectLabelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectLabelsRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectLabelsResponseUnmarshaller.Instance;return Invoke<DetectLabelsResponse>(request, options);}
// Original:
public FnGroupCountRecord(RecordInputStream in){field_1_count = in.readShort();}

// Translation:
public FnGroupCountRecord(RecordInputStream in1){field_1_count = in1.ReadShort();}