yijunyu/c-to-rust huggingface dataset:
// Original:
public SheetRangeEvaluator(int firstSheetIndex, int lastSheetIndex, SheetRefEvaluator[] sheetEvaluators) {if (firstSheetIndex < 0) {throw new IllegalArgumentException("Invalid firstSheetIndex: " + firstSheetIndex + ".");}if (lastSheetIndex < firstSheetIndex) {throw new IllegalArgumentException("Invalid lastSheetIndex: " + lastSheetIndex + " for firstSheetIndex: " + firstSheetIndex + ".");}_firstSheetIndex = firstSheetIndex;_lastSheetIndex = lastSheetIndex;_sheetEvaluators = sheetEvaluators.clone();}

// Translation:
public SheetRangeEvaluator(int firstSheetIndex, int lastSheetIndex, SheetRefEvaluator[] sheetEvaluators){if (firstSheetIndex < 0){throw new ArgumentException("Invalid firstSheetIndex: " + firstSheetIndex + ".");}if (lastSheetIndex < firstSheetIndex){throw new ArgumentException("Invalid lastSheetIndex: " + lastSheetIndex + " for firstSheetIndex: " + firstSheetIndex + ".");}_firstSheetIndex = firstSheetIndex;_lastSheetIndex = lastSheetIndex;_sheetEvaluators = sheetEvaluators;}
// Original:
public RevokeTokenRequest() {super("OnsMqtt", "2019-12-11", "RevokeToken", "onsmqtt");setMethod(MethodType.POST);}

// Translation:
public RevokeTokenRequest(): base("OnsMqtt", "2019-12-11", "RevokeToken", "onsmqtt", "openAPI"){Method = MethodType.POST;}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {try {ValueEval ve = OperandResolver.getSingleValue(arg0, srcRowIndex, srcColumnIndex);double result = OperandResolver.coerceValueToDouble(ve);if (Double.isNaN(result) || Double.isInfinite(result)) {throw new EvaluationException(ErrorEval.NUM_ERROR);}if (arg1 instanceof RefListEval) {return eval(result, ((RefListEval)arg1), true);}final AreaEval aeRange = convertRangeArg(arg1);return eval(result, aeRange, true);} catch (EvaluationException e) {return e.getErrorEval();}}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){AreaEval aeRange;double result;try{ValueEval ve = OperandResolver.GetSingleValue(arg0, srcRowIndex, srcColumnIndex);result = OperandResolver.CoerceValueToDouble(ve);if (Double.IsNaN(result) || Double.IsInfinity(result)){throw new EvaluationException(ErrorEval.NUM_ERROR);}aeRange = ConvertRangeArg(arg1);}catch (EvaluationException e){return e.GetErrorEval();}return eval(srcRowIndex, srcColumnIndex, result, aeRange, true);}
// Original:
public String toFormulaString() {return "";}

// Translation:
public override String ToFormulaString(){return "";}
// Original:
public byte readByte() throws IOException {if (bufferPos == bufferSize) {refill();}assert bufferPos == buffer.position() : "bufferPos=" + bufferPos + " vs buffer.position()=" + buffer.position();bufferPos++;return buffer.get();}

// Translation:
public sbyte readByte() throws IOException{if (bufferPos == bufferSize){refill();}Debug.Assert(bufferPos == buffer.position(), "bufferPos=" + bufferPos + " vs buffer.position()=" + buffer.position());bufferPos++;return buffer.get();}
// Original:
public ListTargetsByRuleResult listTargetsByRule(ListTargetsByRuleRequest request) {request = beforeClientExecution(request);return executeListTargetsByRule(request);}

// Translation:
public virtual ListTargetsByRuleResponse ListTargetsByRule(ListTargetsByRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTargetsByRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTargetsByRuleResponseUnmarshaller.Instance;return Invoke<ListTargetsByRuleResponse>(request, options);}
// Original:
public DisassociateQualificationFromWorkerResult disassociateQualificationFromWorker(DisassociateQualificationFromWorkerRequest request) {request = beforeClientExecution(request);return executeDisassociateQualificationFromWorker(request);}

// Translation:
public virtual DisassociateQualificationFromWorkerResponse DisassociateQualificationFromWorker(DisassociateQualificationFromWorkerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateQualificationFromWorkerRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateQualificationFromWorkerResponseUnmarshaller.Instance;return Invoke<DisassociateQualificationFromWorkerResponse>(request, options);}
// Original:
public boolean equals(Object obj) {if (this == obj) return true;if (obj == null) return false;if (getClass() != obj.getClass()) return false;CompiledAutomaton other = (CompiledAutomaton) obj;if (type != other.type) return false;if (type == AUTOMATON_TYPE.SINGLE) {if (!term.equals(other.term)) return false;} else if (type == AUTOMATON_TYPE.NORMAL) {if (!runAutomaton.equals(other.runAutomaton)) return false;}return true;}

// Translation:
public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (this.GetType() != obj.GetType()){return false;}CompiledAutomaton other = (CompiledAutomaton)obj;if (Type != other.Type){return false;}if (Type == AUTOMATON_TYPE.SINGLE || Type == AUTOMATON_TYPE.PREFIX){if (!Term.Equals(other.Term)){return false;}}else if (Type == AUTOMATON_TYPE.NORMAL){if (!RunAutomaton.Equals(other.RunAutomaton)){return false;}}return true;}
// Original:
public static CharFilterFactory forName(String name, Map<String,String> args) {return loader.newInstance(name, args);}

// Translation:
public static CharFilterFactory ForName(string name, IDictionary<string, string> args){return loader.NewInstance(name, args);}
// Original:
public String toString() {String[] units = { "bytes", "KiB", "MiB", "GiB" };long sz = getIndexSize();int u = 0;while (1024 <= sz && u < units.length - 1) {int rem = (int) (sz % 1024);sz /= 1024;if (rem != 0)sz++;u++;}return "DeltaIndex[" + sz + " " + units[u] + "]";}

// Translation:
public override string ToString(){string[] units = new string[] { "bytes", "KiB", "MiB", "GiB" };long sz = GetIndexSize();int u = 0;while (1024 <= sz && u < units.Length - 1){int rem = (int)(sz % 1024);sz /= 1024;if (rem != 0){sz++;}u++;}return "DeltaIndex[" + sz + " " + units[u] + "]";}
// Original:
public SimilarityConfig build() {return new SimilarityConfig(this);}

// Translation:
public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}
// Original:
public void mark(int readLimit) throws IOException {throw new IOException();}

// Translation:
public virtual void mark(int readLimit){throw new System.IO.IOException();}
// Original:
public void collect(int doc) throws IOException {final long time = clock.get();if (time - timeout > 0L) {if (greedy) {in.collect(doc);}throw new TimeExceededException( timeout-t0, time-t0, docBase + doc );}in.collect(doc);}

// Translation:
public virtual void Collect(int doc){long time = clock.Get();if (timeout < time){if (greedy){collector.Collect(doc);}throw new TimeExceededException(timeout - t0, time - t0, docBase + doc);}collector.Collect(doc);}
// Original:
public LocalFile(File directory, int inCoreLimit) {super(inCoreLimit);this.directory = directory;}

// Translation:
public LocalFile(FilePath directory, int inCoreLimit) : base(inCoreLimit){this.directory = directory;}
// Original:
@Override public E remove(int index) {Object[] a = array;int s = size;if (index >= s) {throwIndexOutOfBoundsException(index, s);}@SuppressWarnings("unchecked") E result = (E) a[index];System.arraycopy(a, index + 1, a, index, --s - index);a[s] = null;  size = s;modCount++;return result;}

// Translation:
public override E remove(int index){object[] a = array;int s = _size;if (index >= s){throwIndexOutOfBoundsException(index, s);}E result = (E)a[index];System.Array.Copy(a, index + 1, a, index, --s - index);a[s] = null;_size = s;modCount++;return result;}
// Original:
public RequestUploadCredentialsResult requestUploadCredentials(RequestUploadCredentialsRequest request) {request = beforeClientExecution(request);return executeRequestUploadCredentials(request);}

// Translation:
public virtual RequestUploadCredentialsResponse RequestUploadCredentials(RequestUploadCredentialsRequest request){var options = new InvokeOptions();options.RequestMarshaller = RequestUploadCredentialsRequestMarshaller.Instance;options.ResponseUnmarshaller = RequestUploadCredentialsResponseUnmarshaller.Instance;return Invoke<RequestUploadCredentialsResponse>(request, options);}
// Original:
public void copyTo(OutputStream out) throws MissingObjectException,IOException {if (isLarge()) {try (ObjectStream in = openStream()) {final long sz = in.getSize();byte[] tmp = new byte[8192];long copied = 0;while (copied < sz) {int n = in.read(tmp);if (n < 0)throw new EOFException();out.write(tmp, 0, n);copied += n;}if (0 <= in.read())throw new EOFException();}} else {out.write(getCachedBytes());}}

// Translation:
public virtual void CopyTo(OutputStream @out){if (IsLarge()){ObjectStream @in = OpenStream();try{long sz = @in.GetSize();byte[] tmp = new byte[8192];long copied = 0;while (copied < sz){int n = @in.Read(tmp);if (n < 0){throw new EOFException();}@out.Write(tmp, 0, n);copied += n;}if (0 <= @in.Read()){throw new EOFException();}}finally{@in.Close();}}else{@out.Write(GetCachedBytes());}}
// Original:
@Override public V remove(Object key) {if (key == null) {return removeNullKey();}int hash = secondaryHash(key.hashCode());HashMapEntry<K, V>[] tab = table;int index = hash & (tab.length - 1);for (HashMapEntry<K, V> e = tab[index], prev = null;e != null; prev = e, e = e.next) {if (e.hash == hash && key.equals(e.key)) {if (prev == null) {tab[index] = e.next;} else {prev.next = e.next;}modCount++;size--;postRemove(e);return e.value;}}return null;}

// Translation:
public override V remove(object key){if (key == null){return removeNullKey();}int hash = secondaryHash(key.GetHashCode());java.util.HashMap.HashMapEntry<K, V>[] tab = table;int index = hash & (tab.Length - 1);{java.util.HashMap.HashMapEntry<K, V> e = tab[index];java.util.HashMap.HashMapEntry<K, V> prev = null;for (; e != null; prev = e, e = e.next){if (e.hash == hash && key.Equals(e.key)){if (prev == null){tab[index] = e.next;}else{prev.next = e.next;}modCount++;_size--;postRemove(e);return e.value;}}}return default(V);}
// Original:
public RevFilter negate() {return a;}

// Translation:
public override RevFilter Negate(){return a;}
// Original:
public DescribeVpcsResult describeVpcs(DescribeVpcsRequest request) {request = beforeClientExecution(request);return executeDescribeVpcs(request);}

// Translation:
public virtual DescribeVpcsResponse DescribeVpcs(DescribeVpcsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpcsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpcsResponseUnmarshaller.Instance;return Invoke<DescribeVpcsResponse>(request, options);}
// Original:
public UpdateGameSessionQueueResult updateGameSessionQueue(UpdateGameSessionQueueRequest request) {request = beforeClientExecution(request);return executeUpdateGameSessionQueue(request);}

// Translation:
public virtual UpdateGameSessionQueueResponse UpdateGameSessionQueue(UpdateGameSessionQueueRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGameSessionQueueRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGameSessionQueueResponseUnmarshaller.Instance;return Invoke<UpdateGameSessionQueueResponse>(request, options);}
// Original:
public String getTitle() {return title;}

// Translation:
public String GetTitle(){return title;}
// Original:
public final void setNewHeads(List<Head> newHeads) {if (this.newHeads != null)throw new IllegalStateException(JGitText.get().propertyIsAlreadyNonNull);this.newHeads = newHeads;}

// Translation:
public void SetNewHeads(IList<Head> newHeads){if (this.newHeads != null){throw new InvalidOperationException(JGitText.Get().propertyIsAlreadyNonNull);}this.newHeads = newHeads;}
// Original:
public ObjectId getExpectedOldObjectId() {return expectedOldObjectId;}

// Translation:
public virtual ObjectId GetExpectedOldObjectId(){return expectedOldObjectId;}
// Original:
public GetRecordsResult getRecords(GetRecordsRequest request) {request = beforeClientExecution(request);return executeGetRecords(request);}

// Translation:
public virtual GetRecordsResponse GetRecords(GetRecordsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRecordsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRecordsResponseUnmarshaller.Instance;return Invoke<GetRecordsResponse>(request, options);}
// Original:
public Deleted3DPxg(int externalWorkbookNumber, String sheetName) {this.externalWorkbookNumber = externalWorkbookNumber;this.sheetName = sheetName;}

// Translation:
public Deleted3DPxg(int externalWorkbookNumber, String sheetName){this.externalWorkbookNumber = externalWorkbookNumber;this.sheetName = sheetName;}
// Original:
public void execute(Lexer lexer) {lexer.skip();}

// Translation:
public void Execute(Lexer lexer){lexer.Skip();}
// Original:
public DescribeScheduledInstancesResult describeScheduledInstances(DescribeScheduledInstancesRequest request) {request = beforeClientExecution(request);return executeDescribeScheduledInstances(request);}

// Translation:
public virtual DescribeScheduledInstancesResponse DescribeScheduledInstances(DescribeScheduledInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeScheduledInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeScheduledInstancesResponseUnmarshaller.Instance;return Invoke<DescribeScheduledInstancesResponse>(request, options);}
// Original:
public MultiFields(Fields[] subs, ReaderSlice[] subSlices) {this.subs = subs;this.subSlices = subSlices;}

// Translation:
public MultiFields(Fields[] subs, ReaderSlice[] subSlices){this.subs = subs;this.subSlices = subSlices;}
// Original:
public int peekNextSid() {if(!hasNext()) {return -1;}return _list.get(_nextIndex).getSid();}

// Translation:
public int PeekNextSid(){if (!HasNext()){return -1;}return ((Record)_list[_nextIndex]).Sid;}
// Original:
public ConfigureAgentResult configureAgent(ConfigureAgentRequest request) {request = beforeClientExecution(request);return executeConfigureAgent(request);}

// Translation:
public virtual ConfigureAgentResponse ConfigureAgent(ConfigureAgentRequest request){var options = new InvokeOptions();options.RequestMarshaller = ConfigureAgentRequestMarshaller.Instance;options.ResponseUnmarshaller = ConfigureAgentResponseUnmarshaller.Instance;return Invoke<ConfigureAgentResponse>(request, options);}
// Original:
public GetStreamingDistributionResult getStreamingDistribution(GetStreamingDistributionRequest request) {request = beforeClientExecution(request);return executeGetStreamingDistribution(request);}

// Translation:
public virtual GetStreamingDistributionResponse GetStreamingDistribution(GetStreamingDistributionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetStreamingDistributionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetStreamingDistributionResponseUnmarshaller.Instance;return Invoke<GetStreamingDistributionResponse>(request, options);}
// Original:
public ListTrialComponentsResult listTrialComponents(ListTrialComponentsRequest request) {request = beforeClientExecution(request);return executeListTrialComponents(request);}

// Translation:
public virtual ListTrialComponentsResponse ListTrialComponents(ListTrialComponentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTrialComponentsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTrialComponentsResponseUnmarshaller.Instance;return Invoke<ListTrialComponentsResponse>(request, options);}
// Original:
public ByteBuffer putShort(int index, short value) {throw new ReadOnlyBufferException();}

// Translation:
public override java.nio.ByteBuffer putShort(int index, short value){throw new System.NotImplementedException();}
// Original:
public int compareNormalised(NormalisedDecimal other) {int cmp = _relativeDecimalExponent - other._relativeDecimalExponent;if (cmp != 0) {return cmp;}if (_wholePart > other._wholePart) {return 1;}if (_wholePart < other._wholePart) {return -1;}return _fractionalPart - other._fractionalPart;}

// Translation:
public int CompareNormalised(NormalisedDecimal other){int cmp = _relativeDecimalExponent - other._relativeDecimalExponent;if (cmp != 0){return cmp;}if (_wholePart > other._wholePart){return 1;}if (_wholePart < other._wholePart){return -1;}return _fractionalPart - other._fractionalPart;}
// Original:
public TokenStream create(TokenStream input) {return new JapaneseKatakanaStemFilter(input, minimumLength);}

// Translation:
public override TokenStream Create(TokenStream input){return new JapaneseKatakanaStemFilter(input, minimumLength);}
// Original:
public EnableAvailabilityZonesForLoadBalancerResult enableAvailabilityZonesForLoadBalancer(EnableAvailabilityZonesForLoadBalancerRequest request) {request = beforeClientExecution(request);return executeEnableAvailabilityZonesForLoadBalancer(request);}

// Translation:
public virtual EnableAvailabilityZonesForLoadBalancerResponse EnableAvailabilityZonesForLoadBalancer(EnableAvailabilityZonesForLoadBalancerRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableAvailabilityZonesForLoadBalancerRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableAvailabilityZonesForLoadBalancerResponseUnmarshaller.Instance;return Invoke<EnableAvailabilityZonesForLoadBalancerResponse>(request, options);}
// Original:
public UpdateEnvironmentResult updateEnvironment(UpdateEnvironmentRequest request) {request = beforeClientExecution(request);return executeUpdateEnvironment(request);}

// Translation:
public virtual UpdateEnvironmentResponse UpdateEnvironment(UpdateEnvironmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance;return Invoke<UpdateEnvironmentResponse>(request, options);}
// Original:
public ListTagsForDomainResult listTagsForDomain(ListTagsForDomainRequest request) {request = beforeClientExecution(request);return executeListTagsForDomain(request);}

// Translation:
public virtual ListTagsForDomainResponse ListTagsForDomain(ListTagsForDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTagsForDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTagsForDomainResponseUnmarshaller.Instance;return Invoke<ListTagsForDomainResponse>(request, options);}
// Original:
public static double log(double base, double x) {return Math.log(x) / Math.log(base);}

// Translation:
public static double Log(double @base, double x){return Math.Log(x) / Math.Log(@base);}
// Original:
public final void writeBoolean(boolean val) throws IOException {out.write(val ? 1 : 0);written++;}

// Translation:
public virtual void writeBoolean(bool val){throw new System.NotImplementedException();}
// Original:
public boolean equals(Object other) {if (!(other instanceof ByteBuffer)) {return false;}ByteBuffer otherBuffer = (ByteBuffer) other;if (remaining() != otherBuffer.remaining()) {return false;}int myPosition = position;int otherPosition = otherBuffer.position;boolean equalSoFar = true;while (equalSoFar && (myPosition < limit)) {equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}

// Translation:
public override bool Equals(object other){if (!(other is java.nio.ByteBuffer)){return false;}java.nio.ByteBuffer otherBuffer = (java.nio.ByteBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFar && (myPosition < _limit)){equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}
// Original:
public DescribeVirtualGatewaysResult describeVirtualGateways() {return describeVirtualGateways(new DescribeVirtualGatewaysRequest());}

// Translation:
public virtual DescribeVirtualGatewaysResponse DescribeVirtualGateways(){return DescribeVirtualGateways(new DescribeVirtualGatewaysRequest());}
// Original:
public FieldConfig getFieldConfig(String fieldName) {FieldConfig fieldConfig = new FieldConfig(StringUtils.toString(fieldName));for (FieldConfigListener listener : this.listeners) {listener.buildFieldConfig(fieldConfig);}return fieldConfig;}

// Translation:
public virtual FieldConfig GetFieldConfig(string fieldName){FieldConfig fieldConfig = new FieldConfig(StringUtils.ToString(fieldName));foreach (IFieldConfigListener listener in this.listeners){listener.BuildFieldConfig(fieldConfig);}return fieldConfig;}
// Original:
public void setProperty(Row row, int column) {Cell cell = CellUtil.getCell(row, column);CellUtil.setCellStyleProperty(cell, _propertyName, _propertyValue);}

// Translation:
public void SetProperty(IRow row, int column){ICell cell = CellUtil.GetCell(row, column);CellUtil.SetCellStyleProperty(cell, _workbook, _propertyName, _propertyValue);}
// Original:
public RebootInstancesResult rebootInstances(RebootInstancesRequest request) {request = beforeClientExecution(request);return executeRebootInstances(request);}

// Translation:
public virtual RebootInstancesResponse RebootInstances(RebootInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootInstancesResponseUnmarshaller.Instance;return Invoke<RebootInstancesResponse>(request, options);}
// Original:
public Predicate(int ruleIndex, int predIndex, boolean isCtxDependent) {this.ruleIndex = ruleIndex;this.predIndex = predIndex;this.isCtxDependent = isCtxDependent;}

// Translation:
public Predicate(int ruleIndex, int predIndex, bool isCtxDependent){this.ruleIndex = ruleIndex;this.predIndex = predIndex;this.isCtxDependent = isCtxDependent;}
// Original:
public void fillPolygon(int[] xPoints, int[] yPoints,int nPoints){int right  = findBiggest(xPoints);int bottom = findBiggest(yPoints);int left   = findSmallest(xPoints);int top    = findSmallest(yPoints);HSSFPolygon shape = escherGroup.createPolygon(new HSSFChildAnchor(left,top,right,bottom) );shape.setPolygonDrawArea(right - left, bottom - top);shape.setPoints(addToAll(xPoints, -left), addToAll(yPoints, -top));shape.setLineStyleColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());shape.setFillColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());}

// Translation:
public void FillPolygon(int[] xPoints, int[] yPoints,int nPoints){int right = FindBiggest(xPoints);int bottom = FindBiggest(yPoints);int left = FindSmallest(xPoints);int top = FindSmallest(yPoints);HSSFPolygon shape = escherGroup.CreatePolygon(new HSSFChildAnchor(left, top, right, bottom));shape.SetPolygonDrawArea(right - left, bottom - top);shape.SetPoints(AddToAll(xPoints, -left), AddToAll(yPoints, -top));shape.SetLineStyleColor(foreground.R, foreground.G, foreground.B);shape.SetFillColor(foreground.R, foreground.G, foreground.B);}
// Original:
public ListEventsRequest() {super("Status", "2020-01-17", "ListEvents", "StatusAPI");setMethod(MethodType.POST);}

// Translation:
public ListEventsRequest(): base("CloudPhoto", "2017-07-11", "ListEvents", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
// Original:
public ListIAMPolicyAssignmentsResult listIAMPolicyAssignments(ListIAMPolicyAssignmentsRequest request) {request = beforeClientExecution(request);return executeListIAMPolicyAssignments(request);}

// Translation:
public virtual ListIAMPolicyAssignmentsResponse ListIAMPolicyAssignments(ListIAMPolicyAssignmentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListIAMPolicyAssignmentsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListIAMPolicyAssignmentsResponseUnmarshaller.Instance;return Invoke<ListIAMPolicyAssignmentsResponse>(request, options);}
// Original:
public CountingOutputStream(OutputStream out) {this.out = out;}

// Translation:
public CountingOutputStream(OutputStream @out){this.@out = @out;}