public DataValidationConstraint createTextLengthConstraint(int operatorType, String formula1, String formula2) {return DVConstraint.createNumericConstraint(ValidationType.TEXT_LENGTH, operatorType, formula1, formula2);}

public IDataValidationConstraint CreateTextLengthConstraint(int operatorType, String formula1, String formula2){return DVConstraint.CreateNumericConstraint(ValidationType.TEXT_LENGTH, operatorType, formula1, formula2);}

[User] public DataValidationConstraint createTextLengthConstraint(int operatorType, String formula1, String formula2) {return DVConstraint.createNumericConstraint(ValidationType.TEXT_LENGTH, operatorType, formula1, formula2);}

[Assistant] public IDataValidationConstraint CreateTextLengthConstraint(int operatorType, String formula1, String formula2){return DVConstraint.CreateNumericConstraint(ValidationType.TEXT_LENGTH, operatorType, formula1, formula2);}


public void writeShort(int v) {writeContinueIfRequired(2);_ulrOutput.writeShort(v);}

public void WriteShort(int v){_out.WriteShort(v);_size += 2;}

[User] public void writeShort(int v) {writeContinueIfRequired(2);_ulrOutput.writeShort(v);}

[Assistant] public void WriteShort(int v){_out.WriteShort(v);_size += 2;}


public final short getShort(int index) {checkIndex(index, SizeOf.SHORT);return Memory.peekShort(backingArray, offset + index, order);}

public sealed override short getShort(int index){checkIndex(index, libcore.io.SizeOf.SHORT);return libcore.io.Memory.peekShort(backingArray, offset + index, _order);}

[User] public final short getShort(int index) {checkIndex(index, SizeOf.SHORT);return Memory.peekShort(backingArray, offset + index, order);}

[Assistant] public sealed override short getShort(int index){checkIndex(index, libcore.io.SizeOf.SHORT);return libcore.io.Memory.peekShort(backingArray, offset + index, _order);}


public static FuncPtg create(int functionIndex) {FunctionMetadata fm = FunctionMetadataRegistry.getFunctionByIndex(functionIndex);if(fm == null) {throw new RuntimeException("Invalid built-in function index (" + functionIndex + ")");}return new FuncPtg(functionIndex, fm);}

public static FuncPtg Create(int functionIndex) {FunctionMetadata fm = FunctionMetadataRegistry.GetFunctionByIndex(functionIndex);if(fm == null) {throw new Exception("Invalid built-in function index (" + functionIndex + ")");}return new FuncPtg(functionIndex, fm);}

[User] public static FuncPtg create(int functionIndex) {FunctionMetadata fm = FunctionMetadataRegistry.getFunctionByIndex(functionIndex);if(fm == null) {throw new RuntimeException("Invalid built-in function index (" + functionIndex + ")");}return new FuncPtg(functionIndex, fm);}

[Assistant] public static FuncPtg Create(int functionIndex) {FunctionMetadata fm = FunctionMetadataRegistry.GetFunctionByIndex(functionIndex);if(fm == null) {throw new Exception("Invalid built-in function index (" + functionIndex + ")");}return new FuncPtg(functionIndex, fm);}


public String toString() {return "{"+ruleIndex+":"+predIndex+"}?";}

public override string ToString(){return "{" + ruleIndex + ":" + predIndex + "}?";}

[User] public String toString() {return "{"+ruleIndex+":"+predIndex+"}?";}

[Assistant] public override string ToString(){return "{" + ruleIndex + ":" + predIndex + "}?";}


public ListDashboardsResult listDashboards(ListDashboardsRequest request) {request = beforeClientExecution(request);return executeListDashboards(request);}

public virtual ListDashboardsResponse ListDashboards(ListDashboardsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDashboardsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDashboardsResponseUnmarshaller.Instance;return Invoke<ListDashboardsResponse>(request, options);}

[User] public ListDashboardsResult listDashboards(ListDashboardsRequest request) {request = beforeClientExecution(request);return executeListDashboards(request);}

[Assistant] public virtual ListDashboardsResponse ListDashboards(ListDashboardsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDashboardsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDashboardsResponseUnmarshaller.Instance;return Invoke<ListDashboardsResponse>(request, options);}


public DeleteVoiceTemplateResult deleteVoiceTemplate(DeleteVoiceTemplateRequest request) {request = beforeClientExecution(request);return executeDeleteVoiceTemplate(request);}

public virtual DeleteVoiceTemplateResponse DeleteVoiceTemplate(DeleteVoiceTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVoiceTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVoiceTemplateResponseUnmarshaller.Instance;return Invoke<DeleteVoiceTemplateResponse>(request, options);}

[User] public DeleteVoiceTemplateResult deleteVoiceTemplate(DeleteVoiceTemplateRequest request) {request = beforeClientExecution(request);return executeDeleteVoiceTemplate(request);}

[Assistant] public virtual DeleteVoiceTemplateResponse DeleteVoiceTemplate(DeleteVoiceTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVoiceTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVoiceTemplateResponseUnmarshaller.Instance;return Invoke<DeleteVoiceTemplateResponse>(request, options);}


public void addListenerForAllRecords(HSSFListener lsnr) {short[] rectypes = RecordFactory.getAllKnownRecordSIDs();for (short rectype : rectypes) {addListener(lsnr, rectype);}}

public void AddListenerForAllRecords(IHSSFListener lsnr){short[] rectypes = RecordFactory.GetAllKnownRecordSIDs();for (int k = 0; k < rectypes.Length; k++){AddListener(lsnr, rectypes[k]);}}

[User] public void addListenerForAllRecords(HSSFListener lsnr) {short[] rectypes = RecordFactory.getAllKnownRecordSIDs();for (short rectype : rectypes) {addListener(lsnr, rectype);}}

[Assistant] public void AddListenerForAllRecords(IHSSFListener lsnr){short[] rectypes = RecordFactory.GetAllKnownRecordSIDs();for (int k = 0; k < rectypes.Length; k++){AddListener(lsnr, rectypes[k]);}}


public DescribeLocalGatewayRouteTablesResult describeLocalGatewayRouteTables(DescribeLocalGatewayRouteTablesRequest request) {request = beforeClientExecution(request);return executeDescribeLocalGatewayRouteTables(request);}

public virtual DescribeLocalGatewayRouteTablesResponse DescribeLocalGatewayRouteTables(DescribeLocalGatewayRouteTablesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLocalGatewayRouteTablesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLocalGatewayRouteTablesResponseUnmarshaller.Instance;return Invoke<DescribeLocalGatewayRouteTablesResponse>(request, options);}

[User] public DescribeLocalGatewayRouteTablesResult describeLocalGatewayRouteTables(DescribeLocalGatewayRouteTablesRequest request) {request = beforeClientExecution(request);return executeDescribeLocalGatewayRouteTables(request);}

[Assistant] public virtual DescribeLocalGatewayRouteTablesResponse DescribeLocalGatewayRouteTables(DescribeLocalGatewayRouteTablesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLocalGatewayRouteTablesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLocalGatewayRouteTablesResponseUnmarshaller.Instance;return Invoke<DescribeLocalGatewayRouteTablesResponse>(request, options);}


public EnableDomainAutoRenewResult enableDomainAutoRenew(EnableDomainAutoRenewRequest request) {request = beforeClientExecution(request);return executeEnableDomainAutoRenew(request);}

public virtual EnableDomainAutoRenewResponse EnableDomainAutoRenew(EnableDomainAutoRenewRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableDomainAutoRenewRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableDomainAutoRenewResponseUnmarshaller.Instance;return Invoke<EnableDomainAutoRenewResponse>(request, options);}

[User] public EnableDomainAutoRenewResult enableDomainAutoRenew(EnableDomainAutoRenewRequest request) {request = beforeClientExecution(request);return executeEnableDomainAutoRenew(request);}

[Assistant] public virtual EnableDomainAutoRenewResponse EnableDomainAutoRenew(EnableDomainAutoRenewRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableDomainAutoRenewRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableDomainAutoRenewResponseUnmarshaller.Instance;return Invoke<EnableDomainAutoRenewResponse>(request, options);}


public String toString() {StringBuilder result = new StringBuilder();result.append(type.toString());result.append('<');result.append(name);result.append(':');if (fieldsData != null) {result.append(fieldsData);}result.append('>');return result.toString();}

public override string ToString(){StringBuilder result = new StringBuilder();result.Append(m_type.ToString());result.Append('<');result.Append(m_name);result.Append(':');if (FieldsData != null){result.Append(FieldsData);}result.Append('>');return result.ToString();}

[User] public String toString() {StringBuilder result = new StringBuilder();result.append(type.toString());result.append('<');result.append(name);result.append(':');if (fieldsData != null) {result.append(fieldsData);}result.append('>');return result.toString();}

[Assistant] public override string ToString(){StringBuilder result = new StringBuilder();result.Append(m_type.ToString());result.Append('<');result.Append(m_name);result.Append(':');if (FieldsData != null){result.Append(FieldsData);}result.Append('>');return result.ToString();}


public DescribeConversionTasksResult describeConversionTasks() {return describeConversionTasks(new DescribeConversionTasksRequest());}

public virtual DescribeConversionTasksResponse DescribeConversionTasks(){return DescribeConversionTasks(new DescribeConversionTasksRequest());}

[User] public DescribeConversionTasksResult describeConversionTasks() {return describeConversionTasks(new DescribeConversionTasksRequest());}

[Assistant] public virtual DescribeConversionTasksResponse DescribeConversionTasks(){return DescribeConversionTasks(new DescribeConversionTasksRequest());}


public GetFieldLevelEncryptionProfileConfigResult getFieldLevelEncryptionProfileConfig(GetFieldLevelEncryptionProfileConfigRequest request) {request = beforeClientExecution(request);return executeGetFieldLevelEncryptionProfileConfig(request);}

public virtual GetFieldLevelEncryptionProfileConfigResponse GetFieldLevelEncryptionProfileConfig(GetFieldLevelEncryptionProfileConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFieldLevelEncryptionProfileConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileConfigResponseUnmarshaller.Instance;return Invoke<GetFieldLevelEncryptionProfileConfigResponse>(request, options);}

[User] public GetFieldLevelEncryptionProfileConfigResult getFieldLevelEncryptionProfileConfig(GetFieldLevelEncryptionProfileConfigRequest request) {request = beforeClientExecution(request);return executeGetFieldLevelEncryptionProfileConfig(request);}

[Assistant] public virtual GetFieldLevelEncryptionProfileConfigResponse GetFieldLevelEncryptionProfileConfig(GetFieldLevelEncryptionProfileConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFieldLevelEncryptionProfileConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileConfigResponseUnmarshaller.Instance;return Invoke<GetFieldLevelEncryptionProfileConfigResponse>(request, options);}


public ListInstancesResult listInstances(ListInstancesRequest request) {request = beforeClientExecution(request);return executeListInstances(request);}

public virtual ListInstancesResponse ListInstances(ListInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListInstancesResponseUnmarshaller.Instance;return Invoke<ListInstancesResponse>(request, options);}

[User] public ListInstancesResult listInstances(ListInstancesRequest request) {request = beforeClientExecution(request);return executeListInstances(request);}

[Assistant] public virtual ListInstancesResponse ListInstances(ListInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListInstancesResponseUnmarshaller.Instance;return Invoke<ListInstancesResponse>(request, options);}


public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int j = 0; j < iterations; ++j) {final byte block = blocks[blocksOffset++];values[valuesOffset++] = (block >>> 6) & 3;values[valuesOffset++] = (block >>> 4) & 3;values[valuesOffset++] = (block >>> 2) & 3;values[valuesOffset++] = block & 3;}}

public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){var block = blocks[blocksOffset++];values[valuesOffset++] = ((int)((uint)block >> 6)) & 3;values[valuesOffset++] = ((int)((uint)block >> 4)) & 3;values[valuesOffset++] = ((int)((uint)block >> 2)) & 3;values[valuesOffset++] = block & 3;}}

[User] public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int j = 0; j < iterations; ++j) {final byte block = blocks[blocksOffset++];values[valuesOffset++] = (block >>> 6) & 3;values[valuesOffset++] = (block >>> 4) & 3;values[valuesOffset++] = (block >>> 2) & 3;values[valuesOffset++] = block & 3;}}

[Assistant] public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){var block = blocks[blocksOffset++];values[valuesOffset++] = ((int)((uint)block >> 6)) & 3;values[valuesOffset++] = ((int)((uint)block >> 4)) & 3;values[valuesOffset++] = ((int)((uint)block >> 2)) & 3;values[valuesOffset++] = block & 3;}}


public int read(byte[] dst, int pos, int cnt) throws IOException {try {int n = 0;while (n < cnt) {int r = inf.inflate(dst, pos + n, cnt - n);n += r;if (inf.finished())break;if (inf.needsInput()) {onObjectData(src, buf, p, bAvail);use(bAvail);p = fill(src, 1);inf.setInput(buf, p, bAvail);} else if (r == 0) {throw new CorruptObjectException(MessageFormat.format(JGitText.get().packfileCorruptionDetected,JGitText.get().unknownZlibError));}}actualSize += n;return 0 < n ? n : -1;} catch (DataFormatException dfe) {throw new CorruptObjectException(MessageFormat.format(JGitText.get().packfileCorruptionDetected, dfe.getMessage()));}}

public override int Read(byte[] dst, int pos, int cnt){try{int n = 0;while (n < cnt){int r = this.inf.Inflate(dst, pos + n, cnt - n);if (r == 0){if (this.inf.IsFinished){break;}if (this.inf.IsNeedingInput){this._enclosing.OnObjectData(this.src, this._enclosing.buf, this.p, this._enclosing.bAvail);this._enclosing.Use(this._enclosing.bAvail);this.p = this._enclosing.Fill(this.src, 1);this.inf.SetInput(this._enclosing.buf, this.p, this._enclosing.bAvail);}else{throw new CorruptObjectException(MessageFormat.Format(JGitText.Get().packfileCorruptionDetected, JGitText.Get().unknownZlibError));}}else{n += r;}}this.actualSize += n;return 0 < n ? n : -1;}catch (SharpZipBaseException dfe){throw new CorruptObjectException(MessageFormat.Format(JGitText.Get().packfileCorruptionDetected, dfe.Message));}}

[User] public int read(byte[] dst, int pos, int cnt) throws IOException {try {int n = 0;while (n < cnt) {int r = inf.inflate(dst, pos + n, cnt - n);n += r;if (inf.finished())break;if (inf.needsInput()) {onObjectData(src, buf, p, bAvail);use(bAvail);p = fill(src, 1);inf.setInput(buf, p, bAvail);} else if (r == 0) {throw new CorruptObjectException(MessageFormat.format(JGitText.get().packfileCorruptionDetected,JGitText.get().unknownZlibError));}}actualSize += n;return 0 < n ? n : -1;} catch (DataFormatException dfe) {throw new CorruptObjectException(MessageFormat.format(JGitText.get().packfileCorruptionDetected, dfe.getMessage()));}}

[Assistant] public override int Read(byte[] dst, int pos, int cnt){try{int n = 0;while (n < cnt){int r = this.inf.Inflate(dst, pos + n, cnt - n);if (r == 0){if (this.inf.IsFinished){break;}if (this.inf.IsNeedingInput){this._enclosing.OnObjectData(this.src, this._enclosing.buf, this.p, this._enclosing.bAvail);this._enclosing.Use(this._enclosing.bAvail);this.p = this._enclosing.Fill(this.src, 1);this.inf.SetInput(this._enclosing.buf, this.p, this._enclosing.bAvail);}else{throw new CorruptObjectException(MessageFormat.Format(JGitText.Get().packfileCorruptionDetected, JGitText.Get().unknownZlibError));}}else{n += r;}}this.actualSize += n;return 0 < n ? n : -1;}catch (SharpZipBaseException dfe){throw new CorruptObjectException(MessageFormat.Format(JGitText.Get().packfileCorruptionDetected, dfe.Message));}}


public WorkflowExecutionCount countClosedWorkflowExecutions(CountClosedWorkflowExecutionsRequest request) {request = beforeClientExecution(request);return executeCountClosedWorkflowExecutions(request);}

public virtual CountClosedWorkflowExecutionsResponse CountClosedWorkflowExecutions(CountClosedWorkflowExecutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CountClosedWorkflowExecutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = CountClosedWorkflowExecutionsResponseUnmarshaller.Instance;return Invoke<CountClosedWorkflowExecutionsResponse>(request, options);}

[User] public WorkflowExecutionCount countClosedWorkflowExecutions(CountClosedWorkflowExecutionsRequest request) {request = beforeClientExecution(request);return executeCountClosedWorkflowExecutions(request);}

[Assistant] public virtual CountClosedWorkflowExecutionsResponse CountClosedWorkflowExecutions(CountClosedWorkflowExecutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CountClosedWorkflowExecutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = CountClosedWorkflowExecutionsResponseUnmarshaller.Instance;return Invoke<CountClosedWorkflowExecutionsResponse>(request, options);}


public E remove() {return removeFirstImpl();}

public virtual E remove(){return removeFirstImpl();}

[User] public E remove() {return removeFirstImpl();}

[Assistant] public virtual E remove(){return removeFirstImpl();}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE) {final String number;if (numberVE instanceof RefEval) {RefEval re = (RefEval) numberVE;number = OperandResolver.coerceValueToString(re.getInnerValueEval(re.getFirstSheetIndex()));} else {number = OperandResolver.coerceValueToString(numberVE);}if (number.length() > 10) {return ErrorEval.NUM_ERROR;}String unsigned;boolean isPositive;if (number.length() < 10) {unsigned = number;isPositive = true;} else {unsigned = number.substring(1);isPositive = number.startsWith("0");}String value;try {if (isPositive) {int sum = getDecimalValue(unsigned);value = String.valueOf(sum);} else {String inverted = toggleBits(unsigned);int sum = getDecimalValue(inverted);sum++;value = "-" + sum;}} catch (NumberFormatException e) {return ErrorEval.NUM_ERROR;}return new NumberEval(Long.parseLong(value));}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE){String number;if (numberVE is RefEval){RefEval re = (RefEval)numberVE;number = OperandResolver.CoerceValueToString(re.GetInnerValueEval(re.FirstSheetIndex));}else{number = OperandResolver.CoerceValueToString(numberVE);}if (number.Length > 10){return ErrorEval.NUM_ERROR;}String unsigned;bool isPositive;if (number.Length < 10){unsigned = number;isPositive = true;}else{unsigned = number.Substring(1);isPositive = number.StartsWith("0");}String value;try{if (isPositive){int sum = getDecimalValue(unsigned);value = sum.ToString();}else{String inverted = toggleBits(unsigned);int sum = getDecimalValue(inverted);sum++;value = "-" + sum.ToString();}}catch (FormatException){return ErrorEval.NUM_ERROR;}return new NumberEval(long.Parse(value));}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE) {final String number;if (numberVE instanceof RefEval) {RefEval re = (RefEval) numberVE;number = OperandResolver.coerceValueToString(re.getInnerValueEval(re.getFirstSheetIndex()));} else {number = OperandResolver.coerceValueToString(numberVE);}if (number.length() > 10) {return ErrorEval.NUM_ERROR;}String unsigned;boolean isPositive;if (number.length() < 10) {unsigned = number;isPositive = true;} else {unsigned = number.substring(1);isPositive = number.startsWith("0");}String value;try {if (isPositive) {int sum = getDecimalValue(unsigned);value = String.valueOf(sum);} else {String inverted = toggleBits(unsigned);int sum = getDecimalValue(inverted);sum++;value = "-" + sum;}} catch (NumberFormatException e) {return ErrorEval.NUM_ERROR;}return new NumberEval(Long.parseLong(value));}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE){String number;if (numberVE is RefEval){RefEval re = (RefEval)numberVE;number = OperandResolver.CoerceValueToString(re.GetInnerValueEval(re.FirstSheetIndex));}else{number = OperandResolver.CoerceValueToString(numberVE);}if (number.Length > 10){return ErrorEval.NUM_ERROR;}String unsigned;bool isPositive;if (number.Length < 10){unsigned = number;isPositive = true;}else{unsigned = number.Substring(1);isPositive = number.StartsWith("0");}String value;try{if (isPositive){int sum = getDecimalValue(unsigned);value = sum.ToString();}else{String inverted = toggleBits(unsigned);int sum = getDecimalValue(inverted);sum++;value = "-" + sum.ToString();}}catch (FormatException){return ErrorEval.NUM_ERROR;}return new NumberEval(long.Parse(value));}


public ObjectId getOldId() {return oldId;}

public virtual ObjectId GetOldId(){return oldId;}

[User] public ObjectId getOldId() {return oldId;}

[Assistant] public virtual ObjectId GetOldId(){return oldId;}


public FeatProtection(RecordInputStream in) {fSD = in.readInt();passwordVerifier = in.readInt();title = StringUtil.readUnicodeString(in);securityDescriptor = in.readRemainder();}

public FeatProtection(RecordInputStream in1){fSD = in1.ReadInt();passwordVerifier = in1.ReadInt();title = StringUtil.ReadUnicodeString(in1);securityDescriptor = in1.ReadRemainder();}

[User] public FeatProtection(RecordInputStream in) {fSD = in.readInt();passwordVerifier = in.readInt();title = StringUtil.readUnicodeString(in);securityDescriptor = in.readRemainder();}

[Assistant] public FeatProtection(RecordInputStream in1){fSD = in1.ReadInt();passwordVerifier = in1.ReadInt();title = StringUtil.ReadUnicodeString(in1);securityDescriptor = in1.ReadRemainder();}


public UpdateContactAttributesResult updateContactAttributes(UpdateContactAttributesRequest request) {request = beforeClientExecution(request);return executeUpdateContactAttributes(request);}

public virtual UpdateContactAttributesResponse UpdateContactAttributes(UpdateContactAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateContactAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateContactAttributesResponseUnmarshaller.Instance;return Invoke<UpdateContactAttributesResponse>(request, options);}

[User] public UpdateContactAttributesResult updateContactAttributes(UpdateContactAttributesRequest request) {request = beforeClientExecution(request);return executeUpdateContactAttributes(request);}

[Assistant] public virtual UpdateContactAttributesResponse UpdateContactAttributes(UpdateContactAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateContactAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateContactAttributesResponseUnmarshaller.Instance;return Invoke<UpdateContactAttributesResponse>(request, options);}


public DescribeClientVpnEndpointsResult describeClientVpnEndpoints(DescribeClientVpnEndpointsRequest request) {request = beforeClientExecution(request);return executeDescribeClientVpnEndpoints(request);}

public virtual DescribeClientVpnEndpointsResponse DescribeClientVpnEndpoints(DescribeClientVpnEndpointsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClientVpnEndpointsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClientVpnEndpointsResponseUnmarshaller.Instance;return Invoke<DescribeClientVpnEndpointsResponse>(request, options);}

[User] public DescribeClientVpnEndpointsResult describeClientVpnEndpoints(DescribeClientVpnEndpointsRequest request) {request = beforeClientExecution(request);return executeDescribeClientVpnEndpoints(request);}

[Assistant] public virtual DescribeClientVpnEndpointsResponse DescribeClientVpnEndpoints(DescribeClientVpnEndpointsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClientVpnEndpointsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClientVpnEndpointsResponseUnmarshaller.Instance;return Invoke<DescribeClientVpnEndpointsResponse>(request, options);}


public DescribeCacheSecurityGroupsResult describeCacheSecurityGroups(DescribeCacheSecurityGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeCacheSecurityGroups(request);}

public virtual DescribeCacheSecurityGroupsResponse DescribeCacheSecurityGroups(DescribeCacheSecurityGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCacheSecurityGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCacheSecurityGroupsResponseUnmarshaller.Instance;return Invoke<DescribeCacheSecurityGroupsResponse>(request, options);}

[User] public DescribeCacheSecurityGroupsResult describeCacheSecurityGroups(DescribeCacheSecurityGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeCacheSecurityGroups(request);}

[Assistant] public virtual DescribeCacheSecurityGroupsResponse DescribeCacheSecurityGroups(DescribeCacheSecurityGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCacheSecurityGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCacheSecurityGroupsResponseUnmarshaller.Instance;return Invoke<DescribeCacheSecurityGroupsResponse>(request, options);}


public boolean equals(Object object) {synchronized (Hashtable.this) {return super.equals(object);}}

public override bool Equals(object @object){lock (this._enclosing){return base.Equals(@object);}}

[User] public boolean equals(Object object) {synchronized (Hashtable.this) {return super.equals(object);}}

[Assistant] public override bool Equals(object @object){lock (this._enclosing){return base.Equals(@object);}}


public static List<TransportProtocol> getTransportProtocols() {int cnt = protocols.size();List<TransportProtocol> res = new ArrayList<>(cnt);for (WeakReference<TransportProtocol> ref : protocols) {TransportProtocol proto = ref.get();if (proto != null)res.add(proto);elseprotocols.remove(ref);}return Collections.unmodifiableList(res);}

public static IList<TransportProtocol> GetTransportProtocols(){int cnt = protocols.Count;IList<TransportProtocol> res = new AList<TransportProtocol>(cnt);foreach (JavaWeakReference<TransportProtocol> @ref in protocols){TransportProtocol proto = @ref.Get();if (proto != null){res.AddItem(proto);}else{protocols.Remove(@ref);}}return Sharpen.Collections.UnmodifiableList(res);}

[User] public static List<TransportProtocol> getTransportProtocols() {int cnt = protocols.size();List<TransportProtocol> res = new ArrayList<>(cnt);for (WeakReference<TransportProtocol> ref : protocols) {TransportProtocol proto = ref.get();if (proto != null)res.add(proto);elseprotocols.remove(ref);}return Collections.unmodifiableList(res);}

[Assistant] public static IList<TransportProtocol> GetTransportProtocols(){int cnt = protocols.Count;IList<TransportProtocol> res = new AList<TransportProtocol>(cnt);foreach (JavaWeakReference<TransportProtocol> @ref in protocols){TransportProtocol proto = @ref.Get();if (proto != null){res.AddItem(proto);}else{protocols.Remove(@ref);}}return Sharpen.Collections.UnmodifiableList(res);}


public SrndTermQuery(String termText, boolean quoted) {super(quoted);this.termText = termText;}

public SrndTermQuery(string termText, bool quoted): base(quoted){this.termText = termText;}

[User] public SrndTermQuery(String termText, boolean quoted) {super(quoted);this.termText = termText;}

[Assistant] public SrndTermQuery(string termText, bool quoted): base(quoted){this.termText = termText;}


public CreateEmailTemplateResult createEmailTemplate(CreateEmailTemplateRequest request) {request = beforeClientExecution(request);return executeCreateEmailTemplate(request);}

public virtual CreateEmailTemplateResponse CreateEmailTemplate(CreateEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEmailTemplateResponseUnmarshaller.Instance;return Invoke<CreateEmailTemplateResponse>(request, options);}

[User] public CreateEmailTemplateResult createEmailTemplate(CreateEmailTemplateRequest request) {request = beforeClientExecution(request);return executeCreateEmailTemplate(request);}

[Assistant] public virtual CreateEmailTemplateResponse CreateEmailTemplate(CreateEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEmailTemplateResponseUnmarshaller.Instance;return Invoke<CreateEmailTemplateResponse>(request, options);}


public ByteBuffer putChar(char value) {return putShort((short) value);}

public override java.nio.ByteBuffer putChar(char value){return putShort((short)value);}

[User] public ByteBuffer putChar(char value) {return putShort((short) value);}

[Assistant] public override java.nio.ByteBuffer putChar(char value){return putShort((short)value);}


public static String getLocalizedMessage(String key) {return getLocalizedMessage(key, Locale.getDefault());}

public static string GetLocalizedMessage(string key){return GetLocalizedMessage(key, CultureInfo.InvariantCulture);}

[User] public static String getLocalizedMessage(String key) {return getLocalizedMessage(key, Locale.getDefault());}

[Assistant] public static string GetLocalizedMessage(string key){return GetLocalizedMessage(key, CultureInfo.InvariantCulture);}


public Snapshot deleteSnapshot(DeleteSnapshotRequest request) {request = beforeClientExecution(request);return executeDeleteSnapshot(request);}

public virtual DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSnapshotResponseUnmarshaller.Instance;return Invoke<DeleteSnapshotResponse>(request, options);}

[User] public Snapshot deleteSnapshot(DeleteSnapshotRequest request) {request = beforeClientExecution(request);return executeDeleteSnapshot(request);}

[Assistant] public virtual DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSnapshotResponseUnmarshaller.Instance;return Invoke<DeleteSnapshotResponse>(request, options);}


public ListMemberAccountsResult listMemberAccounts(ListMemberAccountsRequest request) {request = beforeClientExecution(request);return executeListMemberAccounts(request);}

public virtual ListMemberAccountsResponse ListMemberAccounts(ListMemberAccountsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListMemberAccountsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListMemberAccountsResponseUnmarshaller.Instance;return Invoke<ListMemberAccountsResponse>(request, options);}

[User] public ListMemberAccountsResult listMemberAccounts(ListMemberAccountsRequest request) {request = beforeClientExecution(request);return executeListMemberAccounts(request);}

[Assistant] public virtual ListMemberAccountsResponse ListMemberAccounts(ListMemberAccountsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListMemberAccountsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListMemberAccountsResponseUnmarshaller.Instance;return Invoke<ListMemberAccountsResponse>(request, options);}


public boolean shouldRefresh() {long now = System.currentTimeMillis();return now - lastFailedRefreshTime > refreshIntervalInMillSeconds;}

public bool ShouldRefresh(){var now = DateTime.UtcNow.Ticks;return now - lastFailedRefreshTime > refreshIntervalInMillSeconds;}

[User] public boolean shouldRefresh() {long now = System.currentTimeMillis();return now - lastFailedRefreshTime > refreshIntervalInMillSeconds;}

[Assistant] public bool ShouldRefresh(){var now = DateTime.UtcNow.Ticks;return now - lastFailedRefreshTime > refreshIntervalInMillSeconds;}


public void setRefLogMessage(String msg, boolean appendStatus) {if (msg == null && !appendStatus)disableRefLog();else if (msg == null && appendStatus) {refLogMessage = ""; refLogIncludeResult = true;} else {refLogMessage = msg;refLogIncludeResult = appendStatus;}}

public virtual void SetRefLogMessage(string msg, bool appendStatus){if (msg == null && !appendStatus){DisableRefLog();}else{if (msg == null && appendStatus){refLogMessage = string.Empty;refLogIncludeResult = true;}else{refLogMessage = msg;refLogIncludeResult = appendStatus;}}}

[User] public void setRefLogMessage(String msg, boolean appendStatus) {if (msg == null && !appendStatus)disableRefLog();else if (msg == null && appendStatus) {refLogMessage = ""; refLogIncludeResult = true;} else {refLogMessage = msg;refLogIncludeResult = appendStatus;}}

[Assistant] public virtual void SetRefLogMessage(string msg, bool appendStatus){if (msg == null && !appendStatus){DisableRefLog();}else{if (msg == null && appendStatus){refLogMessage = string.Empty;refLogIncludeResult = true;}else{refLogMessage = msg;refLogIncludeResult = appendStatus;}}}


public Status getStatus() {return myStatus;}

public virtual RemoteRefUpdate.Status GetStatus(){return status;}

[User] public Status getStatus() {return myStatus;}

[Assistant] public virtual RemoteRefUpdate.Status GetStatus(){return status;}


public GetDeploymentStrategyResult getDeploymentStrategy(GetDeploymentStrategyRequest request) {request = beforeClientExecution(request);return executeGetDeploymentStrategy(request);}

public virtual GetDeploymentStrategyResponse GetDeploymentStrategy(GetDeploymentStrategyRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance;return Invoke<GetDeploymentStrategyResponse>(request, options);}

[User] public GetDeploymentStrategyResult getDeploymentStrategy(GetDeploymentStrategyRequest request) {request = beforeClientExecution(request);return executeGetDeploymentStrategy(request);}

[Assistant] public virtual GetDeploymentStrategyResponse GetDeploymentStrategy(GetDeploymentStrategyRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance;return Invoke<GetDeploymentStrategyResponse>(request, options);}


public DeleteEventResult deleteEvent(DeleteEventRequest request) {request = beforeClientExecution(request);return executeDeleteEvent(request);}

public virtual DeleteEventResponse DeleteEvent(DeleteEventRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventResponseUnmarshaller.Instance;return Invoke<DeleteEventResponse>(request, options);}

[User] public DeleteEventResult deleteEvent(DeleteEventRequest request) {request = beforeClientExecution(request);return executeDeleteEvent(request);}

[Assistant] public virtual DeleteEventResponse DeleteEvent(DeleteEventRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventResponseUnmarshaller.Instance;return Invoke<DeleteEventResponse>(request, options);}


public ListQueryLoggingConfigsResult listQueryLoggingConfigs(ListQueryLoggingConfigsRequest request) {request = beforeClientExecution(request);return executeListQueryLoggingConfigs(request);}

public virtual ListQueryLoggingConfigsResponse ListQueryLoggingConfigs(ListQueryLoggingConfigsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListQueryLoggingConfigsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListQueryLoggingConfigsResponseUnmarshaller.Instance;return Invoke<ListQueryLoggingConfigsResponse>(request, options);}

[User] public ListQueryLoggingConfigsResult listQueryLoggingConfigs(ListQueryLoggingConfigsRequest request) {request = beforeClientExecution(request);return executeListQueryLoggingConfigs(request);}

[Assistant] public virtual ListQueryLoggingConfigsResponse ListQueryLoggingConfigs(ListQueryLoggingConfigsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListQueryLoggingConfigsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListQueryLoggingConfigsResponseUnmarshaller.Instance;return Invoke<ListQueryLoggingConfigsResponse>(request, options);}


public BatchGetDeploymentTargetsResult batchGetDeploymentTargets(BatchGetDeploymentTargetsRequest request) {request = beforeClientExecution(request);return executeBatchGetDeploymentTargets(request);}

public virtual BatchGetDeploymentTargetsResponse BatchGetDeploymentTargets(BatchGetDeploymentTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchGetDeploymentTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchGetDeploymentTargetsResponseUnmarshaller.Instance;return Invoke<BatchGetDeploymentTargetsResponse>(request, options);}

[User] public BatchGetDeploymentTargetsResult batchGetDeploymentTargets(BatchGetDeploymentTargetsRequest request) {request = beforeClientExecution(request);return executeBatchGetDeploymentTargets(request);}

[Assistant] public virtual BatchGetDeploymentTargetsResponse BatchGetDeploymentTargets(BatchGetDeploymentTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchGetDeploymentTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchGetDeploymentTargetsResponseUnmarshaller.Instance;return Invoke<BatchGetDeploymentTargetsResponse>(request, options);}


public GetRulesResult getRules(GetRulesRequest request) {request = beforeClientExecution(request);return executeGetRules(request);}

public virtual GetRulesResponse GetRules(GetRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRulesResponseUnmarshaller.Instance;return Invoke<GetRulesResponse>(request, options);}

[User] public GetRulesResult getRules(GetRulesRequest request) {request = beforeClientExecution(request);return executeGetRules(request);}

[Assistant] public virtual GetRulesResponse GetRules(GetRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRulesResponseUnmarshaller.Instance;return Invoke<GetRulesResponse>(request, options);}


public void setMessage(String newMessage) {message = newMessage;}

public virtual void SetMessage(string newMessage){message = newMessage;}

[User] public void setMessage(String newMessage) {message = newMessage;}

[Assistant] public virtual void SetMessage(string newMessage){message = newMessage;}


public String toString(String field) {return null;}

public override string ToString(string field){return null;}

[User] public String toString(String field) {return null;}

[Assistant] public override string ToString(string field){return null;}


public ReplicationGroup completeMigration(CompleteMigrationRequest request) {request = beforeClientExecution(request);return executeCompleteMigration(request);}

public virtual CompleteMigrationResponse CompleteMigration(CompleteMigrationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CompleteMigrationRequestMarshaller.Instance;options.ResponseUnmarshaller = CompleteMigrationResponseUnmarshaller.Instance;return Invoke<CompleteMigrationResponse>(request, options);}

[User] public ReplicationGroup completeMigration(CompleteMigrationRequest request) {request = beforeClientExecution(request);return executeCompleteMigration(request);}

[Assistant] public virtual CompleteMigrationResponse CompleteMigration(CompleteMigrationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CompleteMigrationRequestMarshaller.Instance;options.ResponseUnmarshaller = CompleteMigrationResponseUnmarshaller.Instance;return Invoke<CompleteMigrationResponse>(request, options);}


public SupBookRecord(RecordInputStream in) {int recLen = in.remaining();field_1_number_of_sheets = in.readShort();if(recLen > SMALL_RECORD_SIZE) {_isAddInFunctions = false;field_2_encoded_url = in.readString();String[] sheetNames = new String[field_1_number_of_sheets];for (int i = 0; i < sheetNames.length; i++) {sheetNames[i] = in.readString();}field_3_sheet_names = sheetNames;return;}field_2_encoded_url = null;field_3_sheet_names = null;short nextShort = in.readShort();if(nextShort == TAG_INTERNAL_REFERENCES) {_isAddInFunctions = false;} else if(nextShort == TAG_ADD_IN_FUNCTIONS) {_isAddInFunctions = true;if(field_1_number_of_sheets != 1) {throw new RuntimeException("Expected 0x0001 for number of sheets field in 'Add-In Functions' but got ("+ field_1_number_of_sheets + ")");}} else {throw new RuntimeException("invalid EXTERNALBOOK code ("+ Integer.toHexString(nextShort) + ")");}}

public SupBookRecord(RecordInputStream in1){int recLen = in1.Remaining;field_1_number_of_sheets = in1.ReadShort();if (recLen > SMALL_RECORD_SIZE){_isAddInFunctions = false;field_2_encoded_url = in1.ReadString();String[] sheetNames = new String[field_1_number_of_sheets];for (int i = 0; i < sheetNames.Length; i++){sheetNames[i] = in1.ReadString();}field_3_sheet_names = sheetNames;return;}field_2_encoded_url = null;field_3_sheet_names = null;short nextShort = in1.ReadShort();if (nextShort == TAG_INTERNAL_REFERENCES){_isAddInFunctions = false;}else if (nextShort == TAG_ADD_IN_FUNCTIONS){_isAddInFunctions = true;if (field_1_number_of_sheets != 1){throw new Exception("Expected 0x0001 for number of sheets field in 'Add-In Functions' but got ("+ field_1_number_of_sheets + ")");}}else{throw new Exception("invalid EXTERNALBOOK code ("+ StringUtil.ToHexString(nextShort) + ")");}}

[User] public SupBookRecord(RecordInputStream in) {int recLen = in.remaining();field_1_number_of_sheets = in.readShort();if(recLen > SMALL_RECORD_SIZE) {_isAddInFunctions = false;field_2_encoded_url = in.readString();String[] sheetNames = new String[field_1_number_of_sheets];for (int i = 0; i < sheetNames.length; i++) {sheetNames[i] = in.readString();}field_3_sheet_names = sheetNames;return;}field_2_encoded_url = null;field_3_sheet_names = null;short nextShort = in.readShort();if(nextShort == TAG_INTERNAL_REFERENCES) {_isAddInFunctions = false;} else if(nextShort == TAG_ADD_IN_FUNCTIONS) {_isAddInFunctions = true;if(field_1_number_of_sheets != 1) {throw new RuntimeException("Expected 0x0001 for number of sheets field in 'Add-In Functions' but got ("+ field_1_number_of_sheets + ")");}} else {throw new RuntimeException("invalid EXTERNALBOOK code ("+ Integer.toHexString(nextShort) + ")");}}

[Assistant] public SupBookRecord(RecordInputStream in1){int recLen = in1.Remaining;field_1_number_of_sheets = in1.ReadShort();if (recLen > SMALL_RECORD_SIZE){_isAddInFunctions = false;field_2_encoded_url = in1.ReadString();String[] sheetNames = new String[field_1_number_of_sheets];for (int i = 0; i < sheetNames.Length; i++){sheetNames[i] = in1.ReadString();}field_3_sheet_names = sheetNames;return;}field_2_encoded_url = null;field_3_sheet_names = null;short nextShort = in1.ReadShort();if (nextShort == TAG_INTERNAL_REFERENCES){_isAddInFunctions = false;}else if (nextShort == TAG_ADD_IN_FUNCTIONS){_isAddInFunctions = true;if (field_1_number_of_sheets != 1){throw new Exception("Expected 0x0001 for number of sheets field in 'Add-In Functions' but got ("+ field_1_number_of_sheets + ")");}}else{throw new Exception("invalid EXTERNALBOOK code ("+ StringUtil.ToHexString(nextShort) + ")");}}


public GetEmailTemplateResult getEmailTemplate(GetEmailTemplateRequest request) {request = beforeClientExecution(request);return executeGetEmailTemplate(request);}

public virtual GetEmailTemplateResponse GetEmailTemplate(GetEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = GetEmailTemplateResponseUnmarshaller.Instance;return Invoke<GetEmailTemplateResponse>(request, options);}

[User] public GetEmailTemplateResult getEmailTemplate(GetEmailTemplateRequest request) {request = beforeClientExecution(request);return executeGetEmailTemplate(request);}

[Assistant] public virtual GetEmailTemplateResponse GetEmailTemplate(GetEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = GetEmailTemplateResponseUnmarshaller.Instance;return Invoke<GetEmailTemplateResponse>(request, options);}


public void setByte(int index, int value) {switch (index >> 2) {case 0:w1 = set(w1, index & 3, value);break;case 1:w2 = set(w2, index & 3, value);break;case 2:w3 = set(w3, index & 3, value);break;case 3:w4 = set(w4, index & 3, value);break;case 4:w5 = set(w5, index & 3, value);break;default:throw new ArrayIndexOutOfBoundsException(index);}}

public virtual void SetByte(int index, int value){switch (index >> 2){case 0:{w1 = Set(w1, index & 3, value);break;}case 1:{w2 = Set(w2, index & 3, value);break;}case 2:{w3 = Set(w3, index & 3, value);break;}case 3:{w4 = Set(w4, index & 3, value);break;}case 4:{w5 = Set(w5, index & 3, value);break;}default:{throw Sharpen.Extensions.CreateIndexOutOfRangeException(index);}}}

[User] public void setByte(int index, int value) {switch (index >> 2) {case 0:w1 = set(w1, index & 3, value);break;case 1:w2 = set(w2, index & 3, value);break;case 2:w3 = set(w3, index & 3, value);break;case 3:w4 = set(w4, index & 3, value);break;case 4:w5 = set(w5, index & 3, value);break;default:throw new ArrayIndexOutOfBoundsException(index);}}

[Assistant] public virtual void SetByte(int index, int value){switch (index >> 2){case 0:{w1 = Set(w1, index & 3, value);break;}case 1:{w2 = Set(w2, index & 3, value);break;}case 2:{w3 = Set(w3, index & 3, value);break;}case 3:{w4 = Set(w4, index & 3, value);break;}case 4:{w5 = Set(w5, index & 3, value);break;}default:{throw Sharpen.Extensions.CreateIndexOutOfRangeException(index);}}}


public LongBuffer put(int index, long c) {throw new ReadOnlyBufferException();}

public override java.nio.LongBuffer put(int index, long c){throw new java.nio.ReadOnlyBufferException();}

[User] public LongBuffer put(int index, long c) {throw new ReadOnlyBufferException();}

[Assistant] public override java.nio.LongBuffer put(int index, long c){throw new java.nio.ReadOnlyBufferException();}


public SumTotalTermFreqValueSource(String indexedField) {this.indexedField = indexedField;}

public SumTotalTermFreqValueSource(string indexedField){this.m_indexedField = indexedField;}

[User] public SumTotalTermFreqValueSource(String indexedField) {this.indexedField = indexedField;}

[Assistant] public SumTotalTermFreqValueSource(string indexedField){this.m_indexedField = indexedField;}


public NavigableSet<E> tailSet(E start, boolean startInclusive) {Comparator<? super E> c = backingMap.comparator();if (c == null) {((Comparable<E>) start).compareTo(start);} else {c.compare(start, start);}return new TreeSet<E>(backingMap.tailMap(start, startInclusive));}

public virtual java.util.NavigableSet<E> tailSet(E start, bool startInclusive){java.util.Comparator<E> c = backingMap.comparator();if (c == null){((java.lang.Comparable<E>)start).compareTo(start);}else{c.compare(start, start);}return new java.util.TreeSet<E>(backingMap.tailMap(start, startInclusive));}

[User] public NavigableSet<E> tailSet(E start, boolean startInclusive) {Comparator<? super E> c = backingMap.comparator();if (c == null) {((Comparable<E>) start).compareTo(start);} else {c.compare(start, start);}return new TreeSet<E>(backingMap.tailMap(start, startInclusive));}

[Assistant] public virtual java.util.NavigableSet<E> tailSet(E start, bool startInclusive){java.util.Comparator<E> c = backingMap.comparator();if (c == null){((java.lang.Comparable<E>)start).compareTo(start);}else{c.compare(start, start);}return new java.util.TreeSet<E>(backingMap.tailMap(start, startInclusive));}


public ReadJobResult readJob(ReadJobRequest request) {request = beforeClientExecution(request);return executeReadJob(request);}

public virtual ReadJobResponse ReadJob(ReadJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReadJobRequestMarshaller.Instance;options.ResponseUnmarshaller = ReadJobResponseUnmarshaller.Instance;return Invoke<ReadJobResponse>(request, options);}

[User] public ReadJobResult readJob(ReadJobRequest request) {request = beforeClientExecution(request);return executeReadJob(request);}

[Assistant] public virtual ReadJobResponse ReadJob(ReadJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReadJobRequestMarshaller.Instance;options.ResponseUnmarshaller = ReadJobResponseUnmarshaller.Instance;return Invoke<ReadJobResponse>(request, options);}


public GetSignalingChannelEndpointResult getSignalingChannelEndpoint(GetSignalingChannelEndpointRequest request) {request = beforeClientExecution(request);return executeGetSignalingChannelEndpoint(request);}

public virtual GetSignalingChannelEndpointResponse GetSignalingChannelEndpoint(GetSignalingChannelEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSignalingChannelEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSignalingChannelEndpointResponseUnmarshaller.Instance;return Invoke<GetSignalingChannelEndpointResponse>(request, options);}

[User] public GetSignalingChannelEndpointResult getSignalingChannelEndpoint(GetSignalingChannelEndpointRequest request) {request = beforeClientExecution(request);return executeGetSignalingChannelEndpoint(request);}

[Assistant] public virtual GetSignalingChannelEndpointResponse GetSignalingChannelEndpoint(GetSignalingChannelEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSignalingChannelEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSignalingChannelEndpointResponseUnmarshaller.Instance;return Invoke<GetSignalingChannelEndpointResponse>(request, options);}


public VariableGapTermsIndexWriter(SegmentWriteState state, IndexTermSelector policy) throws IOException {final String indexFileName = IndexFileNames.segmentFileName(state.segmentInfo.name, state.segmentSuffix, TERMS_INDEX_EXTENSION);out = state.directory.createOutput(indexFileName, state.context);boolean success = false;try {fieldInfos = state.fieldInfos;this.policy = policy;CodecUtil.writeIndexHeader(out, CODEC_NAME, VERSION_CURRENT, state.segmentInfo.getId(), state.segmentSuffix);success = true;} finally {if (!success) {IOUtils.closeWhileHandlingException(out);}}}

public VariableGapTermsIndexWriter(SegmentWriteState state, IndexTermSelector policy){string indexFileName = IndexFileNames.SegmentFileName(state.SegmentInfo.Name, state.SegmentSuffix, TERMS_INDEX_EXTENSION);m_output = state.Directory.CreateOutput(indexFileName, state.Context);bool success = false;try{fieldInfos = state.FieldInfos;this.policy = policy;WriteHeader(m_output);success = true;}finally{if (!success){IOUtils.DisposeWhileHandlingException(m_output);}}}

[User] public VariableGapTermsIndexWriter(SegmentWriteState state, IndexTermSelector policy) throws IOException {final String indexFileName = IndexFileNames.segmentFileName(state.segmentInfo.name, state.segmentSuffix, TERMS_INDEX_EXTENSION);out = state.directory.createOutput(indexFileName, state.context);boolean success = false;try {fieldInfos = state.fieldInfos;this.policy = policy;CodecUtil.writeIndexHeader(out, CODEC_NAME, VERSION_CURRENT, state.segmentInfo.getId(), state.segmentSuffix);success = true;} finally {if (!success) {IOUtils.closeWhileHandlingException(out);}}}

[Assistant] public VariableGapTermsIndexWriter(SegmentWriteState state, IndexTermSelector policy){string indexFileName = IndexFileNames.SegmentFileName(state.SegmentInfo.Name, state.SegmentSuffix, TERMS_INDEX_EXTENSION);m_output = state.Directory.CreateOutput(indexFileName, state.Context);bool success = false;try{fieldInfos = state.FieldInfos;this.policy = policy;WriteHeader(m_output);success = true;}finally{if (!success){IOUtils.DisposeWhileHandlingException(m_output);}}}


@Override public boolean add(E object) {Object[] a = array;int s = size;if (s == a.length) {Object[] newArray = new Object[s +(s < (MIN_CAPACITY_INCREMENT / 2) ?MIN_CAPACITY_INCREMENT : s >> 1)];System.arraycopy(a, 0, newArray, 0, s);array = a = newArray;}a[s] = object;size = s + 1;modCount++;return true;}

public override bool add(E @object){object[] a = array;int s = _size;if (s == a.Length){object[] newArray = new object[s + (s < (java.util.ArrayList.MIN_CAPACITY_INCREMENT/ 2) ? java.util.ArrayList.MIN_CAPACITY_INCREMENT : s >> 1)];System.Array.Copy(a, 0, newArray, 0, s);array = a = newArray;}a[s] = @object;_size = s + 1;modCount++;return true;}

[User] @Override public boolean add(E object) {Object[] a = array;int s = size;if (s == a.length) {Object[] newArray = new Object[s +(s < (MIN_CAPACITY_INCREMENT / 2) ?MIN_CAPACITY_INCREMENT : s >> 1)];System.arraycopy(a, 0, newArray, 0, s);array = a = newArray;}a[s] = object;size = s + 1;modCount++;return true;}

[Assistant] public override bool add(E @object){object[] a = array;int s = _size;if (s == a.Length){object[] newArray = new object[s + (s < (java.util.ArrayList.MIN_CAPACITY_INCREMENT/ 2) ? java.util.ArrayList.MIN_CAPACITY_INCREMENT : s >> 1)];System.Array.Copy(a, 0, newArray, 0, s);array = a = newArray;}a[s] = @object;_size = s + 1;modCount++;return true;}


public Set<Integer> toSet() {Set<Integer> s = new HashSet<Integer>();for (Interval I : intervals) {int a = I.a;int b = I.b;for (int v=a; v<=b; v++) {s.add(v);}}return s;}

public virtual HashSet<int> ToSet(){HashSet<int> s = new HashSet<int>();foreach (Interval I in intervals){int a = I.a;int b = I.b;for (int v = a; v <= b; v++){s.Add(v);}}return s;}

[User] public Set<Integer> toSet() {Set<Integer> s = new HashSet<Integer>();for (Interval I : intervals) {int a = I.a;int b = I.b;for (int v=a; v<=b; v++) {s.add(v);}}return s;}

[Assistant] public virtual HashSet<int> ToSet(){HashSet<int> s = new HashSet<int>();foreach (Interval I in intervals){int a = I.a;int b = I.b;for (int v = a; v <= b; v++){s.Add(v);}}return s;}


public final void writeBoolean(boolean val) throws IOException {write(val ? 1 : 0);}

public virtual void writeBoolean(bool val){throw new System.NotImplementedException();}

[User] public final void writeBoolean(boolean val) throws IOException {write(val ? 1 : 0);}

[Assistant] public virtual void writeBoolean(bool val){throw new System.NotImplementedException();}


public void serialize(LittleEndianOutput out) {throw new RecordFormatException( "Sorry, you can't serialize MulRK in this release");}

public override void Serialize(ILittleEndianOutput out1){throw new RecordFormatException("Sorry, you can't serialize MulRK in this release");}

[User] public void serialize(LittleEndianOutput out) {throw new RecordFormatException( "Sorry, you can't serialize MulRK in this release");}

[Assistant] public override void Serialize(ILittleEndianOutput out1){throw new RecordFormatException("Sorry, you can't serialize MulRK in this release");}


public T get(int index) {if (index < 0 || size <= index)throw new IndexOutOfBoundsException(String.valueOf(index));return directory[toDirectoryIndex(index)][toBlockIndex(index)];}

public override T Get(int index){if (index < 0 || size <= index){throw new IndexOutOfRangeException(index.ToString());}return directory[ToDirectoryIndex(index)][ToBlockIndex(index)];}

[User] public T get(int index) {if (index < 0 || size <= index)throw new IndexOutOfBoundsException(String.valueOf(index));return directory[toDirectoryIndex(index)][toBlockIndex(index)];}

[Assistant] public override T Get(int index){if (index < 0 || size <= index){throw new IndexOutOfRangeException(index.ToString());}return directory[ToDirectoryIndex(index)][ToBlockIndex(index)];}


public DeleteSnapshotCopyGrantResult deleteSnapshotCopyGrant(DeleteSnapshotCopyGrantRequest request) {request = beforeClientExecution(request);return executeDeleteSnapshotCopyGrant(request);}

public virtual DeleteSnapshotCopyGrantResponse DeleteSnapshotCopyGrant(DeleteSnapshotCopyGrantRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSnapshotCopyGrantRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSnapshotCopyGrantResponseUnmarshaller.Instance;return Invoke<DeleteSnapshotCopyGrantResponse>(request, options);}

[User] public DeleteSnapshotCopyGrantResult deleteSnapshotCopyGrant(DeleteSnapshotCopyGrantRequest request) {request = beforeClientExecution(request);return executeDeleteSnapshotCopyGrant(request);}

[Assistant] public virtual DeleteSnapshotCopyGrantResponse DeleteSnapshotCopyGrant(DeleteSnapshotCopyGrantRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSnapshotCopyGrantRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSnapshotCopyGrantResponseUnmarshaller.Instance;return Invoke<DeleteSnapshotCopyGrantResponse>(request, options);}


public void ResetFontStyle(){SetFontStyle(false, false);}

[User] public void resetFontStyle(){setFontStyle(false,false);}

[Assistant] public void ResetFontStyle(){SetFontStyle(false, false);}


public static int getEncodedSize(int numberOfRanges) {return 2 + CellRangeAddress.getEncodedSize(numberOfRanges);}

public static int GetEncodedSize(int numberOfRanges){return 2 + CellRangeAddress.GetEncodedSize(numberOfRanges);}

[User] public static int getEncodedSize(int numberOfRanges) {return 2 + CellRangeAddress.getEncodedSize(numberOfRanges);}

[Assistant] public static int GetEncodedSize(int numberOfRanges){return 2 + CellRangeAddress.GetEncodedSize(numberOfRanges);}


public ListJobsRequest(String vaultName) {setVaultName(vaultName);}

public ListJobsRequest(string vaultName){_vaultName = vaultName;}

[User] public ListJobsRequest(String vaultName) {setVaultName(vaultName);}

[Assistant] public ListJobsRequest(string vaultName){_vaultName = vaultName;}


public DeletePlacementGroupRequest(String groupName) {setGroupName(groupName);}

public DeletePlacementGroupRequest(string groupName){_groupName = groupName;}

[User] public DeletePlacementGroupRequest(String groupName) {setGroupName(groupName);}

[Assistant] public DeletePlacementGroupRequest(string groupName){_groupName = groupName;}


public void fill() {lazyInit();final int blockSize = 1000;while (true) {int fetched = fetch(blockSize);if (fetched < blockSize) {return;}}}

public virtual void Fill(){LazyInit();int blockSize = 1000;while (true){int fetched = Fetch(blockSize);if (fetched < blockSize){return;}}}

[User] public void fill() {lazyInit();final int blockSize = 1000;while (true) {int fetched = fetch(blockSize);if (fetched < blockSize) {return;}}}

[Assistant] public virtual void Fill(){LazyInit();int blockSize = 1000;while (true){int fetched = Fetch(blockSize);if (fetched < blockSize){return;}}}


public DescribeGlobalClustersResult describeGlobalClusters(DescribeGlobalClustersRequest request) {request = beforeClientExecution(request);return executeDescribeGlobalClusters(request);}

public virtual DescribeGlobalClustersResponse DescribeGlobalClusters(DescribeGlobalClustersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeGlobalClustersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeGlobalClustersResponseUnmarshaller.Instance;return Invoke<DescribeGlobalClustersResponse>(request, options);}

[User] public DescribeGlobalClustersResult describeGlobalClusters(DescribeGlobalClustersRequest request) {request = beforeClientExecution(request);return executeDescribeGlobalClusters(request);}

[Assistant] public virtual DescribeGlobalClustersResponse DescribeGlobalClusters(DescribeGlobalClustersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeGlobalClustersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeGlobalClustersResponseUnmarshaller.Instance;return Invoke<DescribeGlobalClustersResponse>(request, options);}


public PutVoiceConnectorTerminationResult putVoiceConnectorTermination(PutVoiceConnectorTerminationRequest request) {request = beforeClientExecution(request);return executePutVoiceConnectorTermination(request);}

public virtual PutVoiceConnectorTerminationResponse PutVoiceConnectorTermination(PutVoiceConnectorTerminationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutVoiceConnectorTerminationRequestMarshaller.Instance;options.ResponseUnmarshaller = PutVoiceConnectorTerminationResponseUnmarshaller.Instance;return Invoke<PutVoiceConnectorTerminationResponse>(request, options);}

[User] public PutVoiceConnectorTerminationResult putVoiceConnectorTermination(PutVoiceConnectorTerminationRequest request) {request = beforeClientExecution(request);return executePutVoiceConnectorTermination(request);}

[Assistant] public virtual PutVoiceConnectorTerminationResponse PutVoiceConnectorTermination(PutVoiceConnectorTerminationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutVoiceConnectorTerminationRequestMarshaller.Instance;options.ResponseUnmarshaller = PutVoiceConnectorTerminationResponseUnmarshaller.Instance;return Invoke<PutVoiceConnectorTerminationResponse>(request, options);}


public static int strcmp(char[] a, int startA, char[] b, int startB) {for (; a[startA] == b[startB]; startA++, startB++) {if (a[startA] == 0) {return 0;}}return a[startA] - b[startB];}

public static int StrCmp(char[] a, int startA, char[] b, int startB){for (; a[startA] == b[startB]; startA++, startB++){if (a[startA] == 0){return 0;}}return a[startA] - b[startB];}

[User] public static int strcmp(char[] a, int startA, char[] b, int startB) {for (; a[startA] == b[startB]; startA++, startB++) {if (a[startA] == 0) {return 0;}}return a[startA] - b[startB];}

[Assistant] public static int StrCmp(char[] a, int startA, char[] b, int startB){for (; a[startA] == b[startB]; startA++, startB++){if (a[startA] == 0){return 0;}}return a[startA] - b[startB];}


public StartSentimentDetectionJobResult startSentimentDetectionJob(StartSentimentDetectionJobRequest request) {request = beforeClientExecution(request);return executeStartSentimentDetectionJob(request);}

public virtual StartSentimentDetectionJobResponse StartSentimentDetectionJob(StartSentimentDetectionJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartSentimentDetectionJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StartSentimentDetectionJobResponseUnmarshaller.Instance;return Invoke<StartSentimentDetectionJobResponse>(request, options);}

[User] public StartSentimentDetectionJobResult startSentimentDetectionJob(StartSentimentDetectionJobRequest request) {request = beforeClientExecution(request);return executeStartSentimentDetectionJob(request);}

[Assistant] public virtual StartSentimentDetectionJobResponse StartSentimentDetectionJob(StartSentimentDetectionJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartSentimentDetectionJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StartSentimentDetectionJobResponseUnmarshaller.Instance;return Invoke<StartSentimentDetectionJobResponse>(request, options);}


public HSSFCell createCell(int column){return this.createCell(column,CellType.BLANK);}

public ICell CreateCell(int column){return this.CreateCell(column, CellType.Blank);}

[User] public HSSFCell createCell(int column){return this.createCell(column,CellType.BLANK);}

[Assistant] public ICell CreateCell(int column){return this.CreateCell(column, CellType.Blank);}


public RecalcIdRecord(RecordInputStream in) {in.readUShort(); _reserved0 = in.readUShort();_engineId = in.readInt();}

public RecalcIdRecord(RecordInputStream in1){in1.ReadUShort(); _reserved0 = in1.ReadUShort();_engineId = in1.ReadInt();}

[User] public RecalcIdRecord(RecordInputStream in) {in.readUShort(); _reserved0 = in.readUShort();_engineId = in.readInt();}

[Assistant] public RecalcIdRecord(RecordInputStream in1){in1.ReadUShort(); _reserved0 = in1.ReadUShort();_engineId = in1.ReadInt();}


public static int getEncodedSizeWithoutArrayData(Ptg[] ptgs) {int result = 0;for (Ptg ptg : ptgs) {if (ptg instanceof ArrayPtg) {result += ArrayPtg.PLAIN_TOKEN_SIZE;} else {result += ptg.getSize();}}return result;}

public static int GetEncodedSizeWithoutArrayData(Ptg[] ptgs){int result = 0;for (int i = 0; i < ptgs.Length; i++){Ptg ptg = ptgs[i];if (ptg is ArrayPtg){result += ArrayPtg.PLAIN_TOKEN_SIZE;}else{result += ptg.Size;}}return result;}

[User] public static int getEncodedSizeWithoutArrayData(Ptg[] ptgs) {int result = 0;for (Ptg ptg : ptgs) {if (ptg instanceof ArrayPtg) {result += ArrayPtg.PLAIN_TOKEN_SIZE;} else {result += ptg.getSize();}}return result;}

[Assistant] public static int GetEncodedSizeWithoutArrayData(Ptg[] ptgs){int result = 0;for (int i = 0; i < ptgs.Length; i++){Ptg ptg = ptgs[i];if (ptg is ArrayPtg){result += ArrayPtg.PLAIN_TOKEN_SIZE;}else{result += ptg.Size;}}return result;}


public static double ceiling(double n, double s) {if (n>0 && s<0) {return Double.NaN;} else {return (n == 0 || s == 0) ? 0 : Math.ceil(n/s) * s;}}

public static double Ceiling(double n, double s){double c;if ((n < 0 && s > 0) || (n > 0 && s < 0)){c = double.NaN;}else{c = (n == 0 || s == 0) ? 0 : Math.Ceiling(n / s) * s;}return c;}

[User] public static double ceiling(double n, double s) {if (n>0 && s<0) {return Double.NaN;} else {return (n == 0 || s == 0) ? 0 : Math.ceil(n/s) * s;}}

[Assistant] public static double Ceiling(double n, double s){double c;if ((n < 0 && s > 0) || (n > 0 && s < 0)){c = double.NaN;}else{c = (n == 0 || s == 0) ? 0 : Math.Ceiling(n / s) * s;}return c;}


public ListResolverRulesResult listResolverRules(ListResolverRulesRequest request) {request = beforeClientExecution(request);return executeListResolverRules(request);}

public virtual ListResolverRulesResponse ListResolverRules(ListResolverRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListResolverRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListResolverRulesResponseUnmarshaller.Instance;return Invoke<ListResolverRulesResponse>(request, options);}

[User] public ListResolverRulesResult listResolverRules(ListResolverRulesRequest request) {request = beforeClientExecution(request);return executeListResolverRules(request);}

[Assistant] public virtual ListResolverRulesResponse ListResolverRules(ListResolverRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListResolverRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListResolverRulesResponseUnmarshaller.Instance;return Invoke<ListResolverRulesResponse>(request, options);}


public ListBusinessReportSchedulesResult listBusinessReportSchedules(ListBusinessReportSchedulesRequest request) {request = beforeClientExecution(request);return executeListBusinessReportSchedules(request);}

public virtual ListBusinessReportSchedulesResponse ListBusinessReportSchedules(ListBusinessReportSchedulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListBusinessReportSchedulesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListBusinessReportSchedulesResponseUnmarshaller.Instance;return Invoke<ListBusinessReportSchedulesResponse>(request, options);}

[User] public ListBusinessReportSchedulesResult listBusinessReportSchedules(ListBusinessReportSchedulesRequest request) {request = beforeClientExecution(request);return executeListBusinessReportSchedules(request);}

[Assistant] public virtual ListBusinessReportSchedulesResponse ListBusinessReportSchedules(ListBusinessReportSchedulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListBusinessReportSchedulesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListBusinessReportSchedulesResponseUnmarshaller.Instance;return Invoke<ListBusinessReportSchedulesResponse>(request, options);}


public EscherDgRecord createDgRecord() {EscherDgRecord dg = new EscherDgRecord();dg.setRecordId( EscherDgRecord.RECORD_ID );short dgId = findNewDrawingGroupId();dg.setOptions( (short) ( dgId << 4 ) );dg.setNumShapes( 0 );dg.setLastMSOSPID( -1 );drawingGroups.add(dg);dgg.addCluster( dgId, 0 );dgg.setDrawingsSaved( dgg.getDrawingsSaved() + 1 );return dg;}

public virtual EscherDgRecord CreateDgRecord(){EscherDgRecord dg = new EscherDgRecord();dg.RecordId = EscherDgRecord.RECORD_ID;short dgId = FindNewDrawingGroupId();dg.Options=(short)(dgId << 4);dg.NumShapes=0;dg.LastMSOSPID=(-1);drawingGroups.Add(dg);dgg.AddCluster(dgId, 0);dgg.DrawingsSaved=dgg.DrawingsSaved + 1;return dg;}

[User] public EscherDgRecord createDgRecord() {EscherDgRecord dg = new EscherDgRecord();dg.setRecordId( EscherDgRecord.RECORD_ID );short dgId = findNewDrawingGroupId();dg.setOptions( (short) ( dgId << 4 ) );dg.setNumShapes( 0 );dg.setLastMSOSPID( -1 );drawingGroups.add(dg);dgg.addCluster( dgId, 0 );dgg.setDrawingsSaved( dgg.getDrawingsSaved() + 1 );return dg;}

[Assistant] public virtual EscherDgRecord CreateDgRecord(){EscherDgRecord dg = new EscherDgRecord();dg.RecordId = EscherDgRecord.RECORD_ID;short dgId = FindNewDrawingGroupId();dg.Options=(short)(dgId << 4);dg.NumShapes=0;dg.LastMSOSPID=(-1);drawingGroups.Add(dg);dgg.AddCluster(dgId, 0);dgg.DrawingsSaved=dgg.DrawingsSaved + 1;return dg;}


public Transport open(URIish uri)throws NotSupportedException, TransportException {throw new NotSupportedException(JGitText.get().transportNeedsRepository);}

public virtual NGit.Transport.Transport Open(URIish uri){throw new NotSupportedException(JGitText.Get().transportNeedsRepository);}

[User] public Transport open(URIish uri)throws NotSupportedException, TransportException {throw new NotSupportedException(JGitText.get().transportNeedsRepository);}

[Assistant] public virtual NGit.Transport.Transport Open(URIish uri){throw new NotSupportedException(JGitText.Get().transportNeedsRepository);}


public int compare(Ref o1, Ref o2) {return compareTo(o1, o2);}

public virtual int Compare(Ref o1, Ref o2){return CompareTo(o1, o2);}

[User] public int compare(Ref o1, Ref o2) {return compareTo(o1, o2);}

[Assistant] public virtual int Compare(Ref o1, Ref o2){return CompareTo(o1, o2);}


public OrdRange(int start, int end) {this.start = start;this.end = end;}

public OrdRange(int start, int end){this.Start = start;this.End = end;}

[User] public OrdRange(int start, int end) {this.start = start;this.end = end;}

[Assistant] public OrdRange(int start, int end){this.Start = start;this.End = end;}


public boolean add(E object) {return backingMap.put(object, this) == null;}

public override bool add(E @object){return backingMap.put(@object, this) == null;}

[User] public boolean add(E object) {return backingMap.put(object, this) == null;}

[Assistant] public override bool add(E @object){return backingMap.put(@object, this) == null;}


public void write(String s) {reserve(s.length());s.getChars(0,s.length(),buf, len);len +=s.length();}

public virtual void Write(int b){Write((char)b);}

[User] public void write(String s) {reserve(s.length());s.getChars(0,s.length(),buf, len);len +=s.length();}

[Assistant] public virtual void Write(int b){Write((char)b);}


public long skip(long cnt) throws IOException {try {beginRead();return super.skip(cnt);} catch (InterruptedIOException e) {throw readTimedOut(e);} finally {endRead();}}

public override long Skip(long cnt){try{BeginRead();return base.Skip(cnt);}catch (ThreadInterruptedException){throw ReadTimedOut();}finally{EndRead();}}

[User] public long skip(long cnt) throws IOException {try {beginRead();return super.skip(cnt);} catch (InterruptedIOException e) {throw readTimedOut(e);} finally {endRead();}}

[Assistant] public override long Skip(long cnt){try{BeginRead();return base.Skip(cnt);}catch (ThreadInterruptedException){throw ReadTimedOut();}finally{EndRead();}}


public StepDetail(StepConfig stepConfig, StepExecutionStatusDetail executionStatusDetail) {setStepConfig(stepConfig);setExecutionStatusDetail(executionStatusDetail);}

public StepDetail(StepConfig stepConfig, StepExecutionStatusDetail executionStatusDetail){_stepConfig = stepConfig;_executionStatusDetail = executionStatusDetail;}

[User] public StepDetail(StepConfig stepConfig, StepExecutionStatusDetail executionStatusDetail) {setStepConfig(stepConfig);setExecutionStatusDetail(executionStatusDetail);}

[Assistant] public StepDetail(StepConfig stepConfig, StepExecutionStatusDetail executionStatusDetail){_stepConfig = stepConfig;_executionStatusDetail = executionStatusDetail;}


final public Token getToken(int index) {Token t = token;for (int i = 0; i < index; i++) {if (t.next != null) t = t.next;else t = t.next = token_source.getNextToken();}return t;}

public Token GetToken(int index){Token t = Token;for (int i = 0; i < index; i++){if (t.Next != null) t = t.Next;else t = t.Next = TokenSource.GetNextToken();}return t;}

[User] final public Token getToken(int index) {Token t = token;for (int i = 0; i < index; i++) {if (t.next != null) t = t.next;else t = t.next = token_source.getNextToken();}return t;}

[Assistant] public Token GetToken(int index){Token t = Token;for (int i = 0; i < index; i++){if (t.Next != null) t = t.Next;else t = t.Next = TokenSource.GetNextToken();}return t;}


public Object[] toArray() {synchronized (mutex) {return delegate().toArray();}}

public virtual object[] toArray(){lock (mutex){return c.toArray();}}

[User] public Object[] toArray() {synchronized (mutex) {return delegate().toArray();}}

[Assistant] public virtual object[] toArray(){lock (mutex){return c.toArray();}}


public DBParameterGroup createDBParameterGroup(CreateDBParameterGroupRequest request) {request = beforeClientExecution(request);return executeCreateDBParameterGroup(request);}

public virtual CreateDBParameterGroupResponse CreateDBParameterGroup(CreateDBParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBParameterGroupResponseUnmarshaller.Instance;return Invoke<CreateDBParameterGroupResponse>(request, options);}

[User] public DBParameterGroup createDBParameterGroup(CreateDBParameterGroupRequest request) {request = beforeClientExecution(request);return executeCreateDBParameterGroup(request);}

[Assistant] public virtual CreateDBParameterGroupResponse CreateDBParameterGroup(CreateDBParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBParameterGroupResponseUnmarshaller.Instance;return Invoke<CreateDBParameterGroupResponse>(request, options);}


public StringBuilder append(boolean b) {append0(b ? "true" : "false");return this;}

public java.lang.StringBuilder append(bool b){append0(b ? "true" : "false");return this;}

[User] public StringBuilder append(boolean b) {append0(b ? "true" : "false");return this;}

[Assistant] public java.lang.StringBuilder append(bool b){append0(b ? "true" : "false");return this;}


public void execute(Lexer lexer, CharStream input, int startIndex) {boolean requiresSeek = false;int stopIndex = input.index();try {for (LexerAction lexerAction : lexerActions) {if (lexerAction instanceof LexerIndexedCustomAction) {int offset = ((LexerIndexedCustomAction)lexerAction).getOffset();input.seek(startIndex + offset);lexerAction = ((LexerIndexedCustomAction)lexerAction).getAction();requiresSeek = (startIndex + offset) != stopIndex;}else if (lexerAction.isPositionDependent()) {input.seek(stopIndex);requiresSeek = false;}lexerAction.execute(lexer);}}finally {if (requiresSeek) {input.seek(stopIndex);}}}

public virtual void Execute(Lexer lexer, ICharStream input, int startIndex){bool requiresSeek = false;int stopIndex = input.Index;try{foreach (ILexerAction lexerAction in lexerActions){ILexerAction action = lexerAction;if (action is LexerIndexedCustomAction){int offset = ((LexerIndexedCustomAction)action).Offset;input.Seek(startIndex + offset);action = ((LexerIndexedCustomAction)action).Action;requiresSeek = (startIndex + offset) != stopIndex;}else{if (action.IsPositionDependent){input.Seek(stopIndex);requiresSeek = false;}}action.Execute(lexer);}}finally{if (requiresSeek){input.Seek(stopIndex);}}}

[User] public void execute(Lexer lexer, CharStream input, int startIndex) {boolean requiresSeek = false;int stopIndex = input.index();try {for (LexerAction lexerAction : lexerActions) {if (lexerAction instanceof LexerIndexedCustomAction) {int offset = ((LexerIndexedCustomAction)lexerAction).getOffset();input.seek(startIndex + offset);lexerAction = ((LexerIndexedCustomAction)lexerAction).getAction();requiresSeek = (startIndex + offset) != stopIndex;}else if (lexerAction.isPositionDependent()) {input.seek(stopIndex);requiresSeek = false;}lexerAction.execute(lexer);}}finally {if (requiresSeek) {input.seek(stopIndex);}}}

[Assistant] public virtual void Execute(Lexer lexer, ICharStream input, int startIndex){bool requiresSeek = false;int stopIndex = input.Index;try{foreach (ILexerAction lexerAction in lexerActions){ILexerAction action = lexerAction;if (action is LexerIndexedCustomAction){int offset = ((LexerIndexedCustomAction)action).Offset;input.Seek(startIndex + offset);action = ((LexerIndexedCustomAction)action).Action;requiresSeek = (startIndex + offset) != stopIndex;}else{if (action.IsPositionDependent){input.Seek(stopIndex);requiresSeek = false;}}action.Execute(lexer);}}finally{if (requiresSeek){input.Seek(stopIndex);}}}


public ListMailboxPermissionsResult listMailboxPermissions(ListMailboxPermissionsRequest request) {request = beforeClientExecution(request);return executeListMailboxPermissions(request);}

public virtual ListMailboxPermissionsResponse ListMailboxPermissions(ListMailboxPermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListMailboxPermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListMailboxPermissionsResponseUnmarshaller.Instance;return Invoke<ListMailboxPermissionsResponse>(request, options);}

[User] public ListMailboxPermissionsResult listMailboxPermissions(ListMailboxPermissionsRequest request) {request = beforeClientExecution(request);return executeListMailboxPermissions(request);}

[Assistant] public virtual ListMailboxPermissionsResponse ListMailboxPermissions(ListMailboxPermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListMailboxPermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListMailboxPermissionsResponseUnmarshaller.Instance;return Invoke<ListMailboxPermissionsResponse>(request, options);}


public ConditionalFormattingTable(RecordStream rs) {while (rs.peekNextRecord() instanceof CFHeaderBase) {_cfHeaders.add(CFRecordsAggregate.createCFAggregate(rs));}}

public ConditionalFormattingTable(RecordStream rs){IList temp = new ArrayList();while (rs.PeekNextClass() == typeof(CFHeaderRecord)){temp.Add(CFRecordsAggregate.CreateCFAggregate(rs));}_cfHeaders = temp;}

[User] public ConditionalFormattingTable(RecordStream rs) {while (rs.peekNextRecord() instanceof CFHeaderBase) {_cfHeaders.add(CFRecordsAggregate.createCFAggregate(rs));}}

[Assistant] public ConditionalFormattingTable(RecordStream rs){IList temp = new ArrayList();while (rs.PeekNextClass() == typeof(CFHeaderRecord)){temp.Add(CFRecordsAggregate.CreateCFAggregate(rs));}_cfHeaders = temp;}


public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final int byte0 = blocks[blocksOffset++] & 0xFF;final int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 4) | (byte1 >>> 4);final int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 15) << 8) | byte2;}}

public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 4) | ((int)((uint)byte1 >> 4));int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 15) << 8) | byte2;}}

[User] public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final int byte0 = blocks[blocksOffset++] & 0xFF;final int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 4) | (byte1 >>> 4);final int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 15) << 8) | byte2;}}

[Assistant] public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 4) | ((int)((uint)byte1 >> 4));int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 15) << 8) | byte2;}}


public Map<String, Ref> getTags() {try {return getRefDatabase().getRefs(Constants.R_TAGS);} catch (IOException e) {throw new UncheckedIOException(e);}}

public virtual IDictionary<string, Ref> GetTags(){try{return RefDatabase.GetRefs(Constants.R_TAGS);}catch (IOException){return new Dictionary<string, Ref>();}}

[User] public Map<String, Ref> getTags() {try {return getRefDatabase().getRefs(Constants.R_TAGS);} catch (IOException e) {throw new UncheckedIOException(e);}}

[Assistant] public virtual IDictionary<string, Ref> GetTags(){try{return RefDatabase.GetRefs(Constants.R_TAGS);}catch (IOException){return new Dictionary<string, Ref>();}}


public ComposedQuery(List<SrndQuery> qs, boolean operatorInfix, String opName) {recompose(qs);this.operatorInfix = operatorInfix;this.opName = opName;}

public ComposedQuery(IList<SrndQuery> qs, bool operatorInfix, string opName){Recompose(qs);this.operatorInfix = operatorInfix;this.m_opName = opName;}

[User] public ComposedQuery(List<SrndQuery> qs, boolean operatorInfix, String opName) {recompose(qs);this.operatorInfix = operatorInfix;this.opName = opName;}

[Assistant] public ComposedQuery(IList<SrndQuery> qs, bool operatorInfix, string opName){Recompose(qs);this.operatorInfix = operatorInfix;this.m_opName = opName;}


public TestRoleResult testRole(TestRoleRequest request) {request = beforeClientExecution(request);return executeTestRole(request);}

public virtual TestRoleResponse TestRole(TestRoleRequest request){var options = new InvokeOptions();options.RequestMarshaller = TestRoleRequestMarshaller.Instance;options.ResponseUnmarshaller = TestRoleResponseUnmarshaller.Instance;return Invoke<TestRoleResponse>(request, options);}

[User] public TestRoleResult testRole(TestRoleRequest request) {request = beforeClientExecution(request);return executeTestRole(request);}

[Assistant] public virtual TestRoleResponse TestRole(TestRoleRequest request){var options = new InvokeOptions();options.RequestMarshaller = TestRoleRequestMarshaller.Instance;options.ResponseUnmarshaller = TestRoleResponseUnmarshaller.Instance;return Invoke<TestRoleResponse>(request, options);}


public String toString() {final StringBuilder r = new StringBuilder();r.append("(");for (int i = 0; i < subfilters.length; i++) {if (i > 0)r.append(" AND ");r.append(subfilters[i].toString());}r.append(")");return r.toString();}

public override string ToString(){StringBuilder r = new StringBuilder();r.Append("(");for (int i = 0; i < subfilters.Length; i++){if (i > 0){r.Append(" OR ");}r.Append(subfilters[i].ToString());}r.Append(")");return r.ToString();}

[User] public String toString() {final StringBuilder r = new StringBuilder();r.append("(");for (int i = 0; i < subfilters.length; i++) {if (i > 0)r.append(" AND ");r.append(subfilters[i].toString());}r.append(")");return r.toString();}

[Assistant] public override string ToString(){StringBuilder r = new StringBuilder();r.Append("(");for (int i = 0; i < subfilters.Length; i++){if (i > 0){r.Append(" OR ");}r.Append(subfilters[i].ToString());}r.Append(")");return r.ToString();}


public ModifyVpcAttributeResult modifyVpcAttribute(ModifyVpcAttributeRequest request) {request = beforeClientExecution(request);return executeModifyVpcAttribute(request);}

public virtual ModifyVpcAttributeResponse ModifyVpcAttribute(ModifyVpcAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpcAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpcAttributeResponseUnmarshaller.Instance;return Invoke<ModifyVpcAttributeResponse>(request, options);}

[User] public ModifyVpcAttributeResult modifyVpcAttribute(ModifyVpcAttributeRequest request) {request = beforeClientExecution(request);return executeModifyVpcAttribute(request);}

[Assistant] public virtual ModifyVpcAttributeResponse ModifyVpcAttribute(ModifyVpcAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpcAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpcAttributeResponseUnmarshaller.Instance;return Invoke<ModifyVpcAttributeResponse>(request, options);}


public void seekExact(long ord) throws IOException {throw new UnsupportedOperationException();}

public override void SeekExact(long ord){throw new System.NotSupportedException();}

[User] public void seekExact(long ord) throws IOException {throw new UnsupportedOperationException();}

[Assistant] public override void SeekExact(long ord){throw new System.NotSupportedException();}


public ArabicNormalizationFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public ArabicNormalizationFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

[User] public ArabicNormalizationFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public ArabicNormalizationFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public boolean equals(Object obj) {if (!(obj instanceof BookSheetKey)) {return false;}BookSheetKey other = (BookSheetKey) obj;return _bookIndex == other._bookIndex && _sheetIndex == other._sheetIndex;}

public override bool Equals(Object obj){BookSheetKey other = (BookSheetKey)obj;return _bookIndex == other._bookIndex && _sheetIndex == other._sheetIndex;}

[User] public boolean equals(Object obj) {if (!(obj instanceof BookSheetKey)) {return false;}BookSheetKey other = (BookSheetKey) obj;return _bookIndex == other._bookIndex && _sheetIndex == other._sheetIndex;}

[Assistant] public override bool Equals(Object obj){BookSheetKey other = (BookSheetKey)obj;return _bookIndex == other._bookIndex && _sheetIndex == other._sheetIndex;}


public TermQuery(Term t, TermStates states) {assert states != null;term = Objects.requireNonNull(t);perReaderTermState = Objects.requireNonNull(states);}

public TermQuery(Term t, TermContext states){Debug.Assert(states != null);term = t;docFreq = states.DocFreq;perReaderTermState = states;}

[User] public TermQuery(Term t, TermStates states) {assert states != null;term = Objects.requireNonNull(t);perReaderTermState = Objects.requireNonNull(states);}

[Assistant] public TermQuery(Term t, TermContext states){Debug.Assert(states != null);term = t;docFreq = states.DocFreq;perReaderTermState = states;}


public GetClusterCredentialsResult getClusterCredentials(GetClusterCredentialsRequest request) {request = beforeClientExecution(request);return executeGetClusterCredentials(request);}

public virtual GetClusterCredentialsResponse GetClusterCredentials(GetClusterCredentialsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetClusterCredentialsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetClusterCredentialsResponseUnmarshaller.Instance;return Invoke<GetClusterCredentialsResponse>(request, options);}

[User] public GetClusterCredentialsResult getClusterCredentials(GetClusterCredentialsRequest request) {request = beforeClientExecution(request);return executeGetClusterCredentials(request);}

[Assistant] public virtual GetClusterCredentialsResponse GetClusterCredentials(GetClusterCredentialsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetClusterCredentialsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetClusterCredentialsResponseUnmarshaller.Instance;return Invoke<GetClusterCredentialsResponse>(request, options);}


public boolean equals(Object other) {return (getClass() == other.getClass()) && this.equalsSameType(other);}

public override bool Equals(object other){return (this.GetType() == other.GetType()) && this.EqualsSameType(other);}

[User] public boolean equals(Object other) {return (getClass() == other.getClass()) && this.equalsSameType(other);}

[Assistant] public override bool Equals(object other){return (this.GetType() == other.GetType()) && this.EqualsSameType(other);}


public Item clone() {return new Item(parent, child);}

public object Clone(){return new Item(parent, child);}

[User] public Item clone() {return new Item(parent, child);}

[Assistant] public object Clone(){return new Item(parent, child);}


public UpdateClusterResult updateCluster(UpdateClusterRequest request) {request = beforeClientExecution(request);return executeUpdateCluster(request);}

public virtual UpdateClusterResponse UpdateCluster(UpdateClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateClusterResponseUnmarshaller.Instance;return Invoke<UpdateClusterResponse>(request, options);}

[User] public UpdateClusterResult updateCluster(UpdateClusterRequest request) {request = beforeClientExecution(request);return executeUpdateCluster(request);}

[Assistant] public virtual UpdateClusterResponse UpdateCluster(UpdateClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateClusterResponseUnmarshaller.Instance;return Invoke<UpdateClusterResponse>(request, options);}


public E get(int index) {synchronized (mutex) {return delegate().get(index);}}

public virtual E get(int location){lock (mutex){return list.get(location);}}

[User] public E get(int index) {synchronized (mutex) {return delegate().get(index);}}

[Assistant] public virtual E get(int location){lock (mutex){return list.get(location);}}


public LogCommand setMaxCount(int maxCount) {checkCallable();this.maxCount = maxCount;return this;}

public virtual NGit.Api.LogCommand SetMaxCount(int maxCount){CheckCallable();this.maxCount = maxCount;return this;}

[User] public LogCommand setMaxCount(int maxCount) {checkCallable();this.maxCount = maxCount;return this;}

[Assistant] public virtual NGit.Api.LogCommand SetMaxCount(int maxCount){CheckCallable();this.maxCount = maxCount;return this;}


public GetInsightRuleReportResult getInsightRuleReport(GetInsightRuleReportRequest request) {request = beforeClientExecution(request);return executeGetInsightRuleReport(request);}

public virtual GetInsightRuleReportResponse GetInsightRuleReport(GetInsightRuleReportRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInsightRuleReportRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInsightRuleReportResponseUnmarshaller.Instance;return Invoke<GetInsightRuleReportResponse>(request, options);}

[User] public GetInsightRuleReportResult getInsightRuleReport(GetInsightRuleReportRequest request) {request = beforeClientExecution(request);return executeGetInsightRuleReport(request);}

[Assistant] public virtual GetInsightRuleReportResponse GetInsightRuleReport(GetInsightRuleReportRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInsightRuleReportRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInsightRuleReportResponseUnmarshaller.Instance;return Invoke<GetInsightRuleReportResponse>(request, options);}


public CommonToken(Token oldToken) {type = oldToken.getType();line = oldToken.getLine();index = oldToken.getTokenIndex();charPositionInLine = oldToken.getCharPositionInLine();channel = oldToken.getChannel();start = oldToken.getStartIndex();stop = oldToken.getStopIndex();if (oldToken instanceof CommonToken) {text = ((CommonToken)oldToken).text;source = ((CommonToken)oldToken).source;}else {text = oldToken.getText();source = new Pair<TokenSource, CharStream>(oldToken.getTokenSource(), oldToken.getInputStream());}}

public CommonToken(IToken oldToken){_type = oldToken.Type;_line = oldToken.Line;index = oldToken.TokenIndex;charPositionInLine = oldToken.Column;_channel = oldToken.Channel;start = oldToken.StartIndex;stop = oldToken.StopIndex;if (oldToken is Antlr4.Runtime.CommonToken){_text = ((Antlr4.Runtime.CommonToken)oldToken)._text;source = ((Antlr4.Runtime.CommonToken)oldToken).source;}else{_text = oldToken.Text;source = Tuple.Create(oldToken.TokenSource, oldToken.InputStream);}}

[User] public CommonToken(Token oldToken) {type = oldToken.getType();line = oldToken.getLine();index = oldToken.getTokenIndex();charPositionInLine = oldToken.getCharPositionInLine();channel = oldToken.getChannel();start = oldToken.getStartIndex();stop = oldToken.getStopIndex();if (oldToken instanceof CommonToken) {text = ((CommonToken)oldToken).text;source = ((CommonToken)oldToken).source;}else {text = oldToken.getText();source = new Pair<TokenSource, CharStream>(oldToken.getTokenSource(), oldToken.getInputStream());}}

[Assistant] public CommonToken(IToken oldToken){_type = oldToken.Type;_line = oldToken.Line;index = oldToken.TokenIndex;charPositionInLine = oldToken.Column;_channel = oldToken.Channel;start = oldToken.StartIndex;stop = oldToken.StopIndex;if (oldToken is Antlr4.Runtime.CommonToken){_text = ((Antlr4.Runtime.CommonToken)oldToken)._text;source = ((Antlr4.Runtime.CommonToken)oldToken).source;}else{_text = oldToken.Text;source = Tuple.Create(oldToken.TokenSource, oldToken.InputStream);}}


public ListSolutionsResult listSolutions(ListSolutionsRequest request) {request = beforeClientExecution(request);return executeListSolutions(request);}

public virtual ListSolutionsResponse ListSolutions(ListSolutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSolutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSolutionsResponseUnmarshaller.Instance;return Invoke<ListSolutionsResponse>(request, options);}

[User] public ListSolutionsResult listSolutions(ListSolutionsRequest request) {request = beforeClientExecution(request);return executeListSolutions(request);}

[Assistant] public virtual ListSolutionsResponse ListSolutions(ListSolutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSolutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSolutionsResponseUnmarshaller.Instance;return Invoke<ListSolutionsResponse>(request, options);}


public boolean hasPrevious() {return index > from;}

public virtual bool hasPrevious(){return index > from;}

[User] public boolean hasPrevious() {return index > from;}

[Assistant] public virtual bool hasPrevious(){return index > from;}


public final void end() {if (finalState != null) {restoreState(finalState);}}

public override void End(){if (finalState != null){RestoreState(finalState);}}

[User] public final void end() {if (finalState != null) {restoreState(finalState);}}

[Assistant] public override void End(){if (finalState != null){RestoreState(finalState);}}


public DoubleBuffer put(int index, double c) {checkIndex(index);backingArray[offset + index] = c;return this;}

public override java.nio.DoubleBuffer put(int index, double c){checkIndex(index);backingArray[offset + index] = c;return this;}

[User] public DoubleBuffer put(int index, double c) {checkIndex(index);backingArray[offset + index] = c;return this;}

[Assistant] public override java.nio.DoubleBuffer put(int index, double c){checkIndex(index);backingArray[offset + index] = c;return this;}


public ThreeWayMerger newMerger(Repository db) {return new ResolveMerger(db, false);}

public override Merger NewMerger(Repository db){return new ResolveMerger(db, false);}

[User] public ThreeWayMerger newMerger(Repository db) {return new ResolveMerger(db, false);}

[Assistant] public override Merger NewMerger(Repository db){return new ResolveMerger(db, false);}


public static long pop_union(long[] arr1, long[] arr2, int wordOffset, int numWords) {long popCount = 0;for (int i = wordOffset, end = wordOffset + numWords; i < end; ++i) {popCount += Long.bitCount(arr1[i] | arr2[i]);}return popCount;}

public static long Pop_Union(long[] arr1, long[] arr2, int wordOffset, int numWords){long popCount = 0;for (int i = wordOffset, end = wordOffset + numWords; i < end; ++i){popCount += (arr1[i] | arr2[i]).PopCount();}return popCount;}

[User] public static long pop_union(long[] arr1, long[] arr2, int wordOffset, int numWords) {long popCount = 0;for (int i = wordOffset, end = wordOffset + numWords; i < end; ++i) {popCount += Long.bitCount(arr1[i] | arr2[i]);}return popCount;}

[Assistant] public static long Pop_Union(long[] arr1, long[] arr2, int wordOffset, int numWords){long popCount = 0;for (int i = wordOffset, end = wordOffset + numWords; i < end; ++i){popCount += (arr1[i] | arr2[i]).PopCount();}return popCount;}


public LongBuffer put(long c) {if (position == limit) {throw new BufferOverflowException();}backingArray[offset + position++] = c;return this;}

public override java.nio.LongBuffer put(long c){if (_position == _limit){throw new java.nio.BufferOverflowException();}backingArray[offset + _position++] = c;return this;}

[User] public LongBuffer put(long c) {if (position == limit) {throw new BufferOverflowException();}backingArray[offset + position++] = c;return this;}

[Assistant] public override java.nio.LongBuffer put(long c){if (_position == _limit){throw new java.nio.BufferOverflowException();}backingArray[offset + _position++] = c;return this;}