diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..38a4c47
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "gauge-proto"]
+ path = gauge-proto
+ url = https://github.com/getgauge/gauge-proto.git
diff --git a/_testdata/ReferenceDllProject/ReferenceDll.csproj b/_testdata/ReferenceDllProject/ReferenceDll.csproj
index 8395c1f..a34f1ff 100644
--- a/_testdata/ReferenceDllProject/ReferenceDll.csproj
+++ b/_testdata/ReferenceDllProject/ReferenceDll.csproj
@@ -6,7 +6,7 @@
-
+
diff --git a/_testdata/ReferenceProject/ReferenceProject.csproj b/_testdata/ReferenceProject/ReferenceProject.csproj
index 8395c1f..a34f1ff 100644
--- a/_testdata/ReferenceProject/ReferenceProject.csproj
+++ b/_testdata/ReferenceProject/ReferenceProject.csproj
@@ -6,7 +6,7 @@
-
+
diff --git a/_testdata/Sample/ExecutionHooks.cs b/_testdata/Sample/ExecutionHooks.cs
index 3f357b9..a826f58 100644
--- a/_testdata/Sample/ExecutionHooks.cs
+++ b/_testdata/Sample/ExecutionHooks.cs
@@ -31,6 +31,16 @@ public void AfterStep()
{
}
+ [BeforeConcept]
+ public void BeforeConcept()
+ {
+ }
+
+ [AfterConcept]
+ public void AfterConcept()
+ {
+ }
+
[BeforeSpec]
public void BeforeSpec()
{
diff --git a/_testdata/Sample/IntegrationTestSample.csproj b/_testdata/Sample/IntegrationTestSample.csproj
index 5d0ca69..5216469 100644
--- a/_testdata/Sample/IntegrationTestSample.csproj
+++ b/_testdata/Sample/IntegrationTestSample.csproj
@@ -5,6 +5,6 @@
-
+
diff --git a/_testdata/Sample/gauge_bin/Gauge.CSharp.Lib.dll b/_testdata/Sample/gauge_bin/Gauge.CSharp.Lib.dll
index 3402b6a..c0dd492 100755
Binary files a/_testdata/Sample/gauge_bin/Gauge.CSharp.Lib.dll and b/_testdata/Sample/gauge_bin/Gauge.CSharp.Lib.dll differ
diff --git a/_testdata/SampleDllReference/ExecutionHooks.cs b/_testdata/SampleDllReference/ExecutionHooks.cs
index 3f357b9..a826f58 100644
--- a/_testdata/SampleDllReference/ExecutionHooks.cs
+++ b/_testdata/SampleDllReference/ExecutionHooks.cs
@@ -31,6 +31,16 @@ public void AfterStep()
{
}
+ [BeforeConcept]
+ public void BeforeConcept()
+ {
+ }
+
+ [AfterConcept]
+ public void AfterConcept()
+ {
+ }
+
[BeforeSpec]
public void BeforeSpec()
{
diff --git a/_testdata/SampleDllReference/IntegrationTestSample.csproj b/_testdata/SampleDllReference/IntegrationTestSample.csproj
index aedf0eb..df58507 100644
--- a/_testdata/SampleDllReference/IntegrationTestSample.csproj
+++ b/_testdata/SampleDllReference/IntegrationTestSample.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/_testdata/SampleDllReference/gauge_bin/Gauge.CSharp.Lib.dll b/_testdata/SampleDllReference/gauge_bin/Gauge.CSharp.Lib.dll
index 3402b6a..c0dd492 100755
Binary files a/_testdata/SampleDllReference/gauge_bin/Gauge.CSharp.Lib.dll and b/_testdata/SampleDllReference/gauge_bin/Gauge.CSharp.Lib.dll differ
diff --git a/_testdata/SampleProjectReference/ExecutionHooks.cs b/_testdata/SampleProjectReference/ExecutionHooks.cs
index 3f357b9..a826f58 100644
--- a/_testdata/SampleProjectReference/ExecutionHooks.cs
+++ b/_testdata/SampleProjectReference/ExecutionHooks.cs
@@ -31,6 +31,16 @@ public void AfterStep()
{
}
+ [BeforeConcept]
+ public void BeforeConcept()
+ {
+ }
+
+ [AfterConcept]
+ public void AfterConcept()
+ {
+ }
+
[BeforeSpec]
public void BeforeSpec()
{
diff --git a/_testdata/SampleProjectReference/IntegrationTestSample.csproj b/_testdata/SampleProjectReference/IntegrationTestSample.csproj
index 0394fa7..44dbfe7 100644
--- a/_testdata/SampleProjectReference/IntegrationTestSample.csproj
+++ b/_testdata/SampleProjectReference/IntegrationTestSample.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/_testdata/SampleProjectReference/gauge_bin/Gauge.CSharp.Lib.dll b/_testdata/SampleProjectReference/gauge_bin/Gauge.CSharp.Lib.dll
index 3402b6a..c0dd492 100755
Binary files a/_testdata/SampleProjectReference/gauge_bin/Gauge.CSharp.Lib.dll and b/_testdata/SampleProjectReference/gauge_bin/Gauge.CSharp.Lib.dll differ
diff --git a/gauge-proto b/gauge-proto
new file mode 160000
index 0000000..9e50dbd
--- /dev/null
+++ b/gauge-proto
@@ -0,0 +1 @@
+Subproject commit 9e50dbd68dfac4c966c32e56358b677ef88a41c0
diff --git a/gen-proto.ps1 b/gen-proto.ps1
new file mode 100644
index 0000000..820eabf
--- /dev/null
+++ b/gen-proto.ps1
@@ -0,0 +1,32 @@
+# ----------------------------------------------------------------
+# Copyright (c) ThoughtWorks, Inc.
+# Licensed under the Apache License, Version 2.0
+# See LICENSE.txt in the project root for license information.
+# ----------------------------------------------------------------
+
+dotnet restore
+
+$grpc_tools_version = "2.61.0"
+$grpc_tools = Join-Path $HOME ".nuget\packages\grpc.tools\$grpc_tools_version\tools"
+
+$protoc = $null
+$grpc_csharp = $null
+
+if ($env:PROCESSOR_ARCHITECTURE -match 64){
+ $protoc = Resolve-Path $grpc_tools\windows_x64\protoc.exe
+ $grpc_csharp = Resolve-Path $grpc_tools\windows_x64\grpc_csharp_plugin.exe
+}
+else {
+ $protoc = Resolve-Path $grpc_tools\windows_x86\protoc.exe
+ $grpc_csharp = Resolve-Path $grpc_tools\windows_x86\grpc_csharp_plugin.exe
+}
+
+Write-Host "Generating Proto Classes.."
+
+
+gci ".\gauge-proto" -Filter "*.proto" | %{
+ Write-Host "Generating classes for $_"
+ &$protoc @('-I.\gauge-proto', '--csharp_out=.\src\Gauge.CSharp.Core','--grpc_out=.\src\Gauge.CSharp.Core',"--plugin=protoc-gen-grpc=$grpc_csharp", ".\gauge-proto\$_")
+}
+
+Write-Host "Done!"
diff --git a/genproto.sh b/genproto.sh
new file mode 100644
index 0000000..44b0bc0
--- /dev/null
+++ b/genproto.sh
@@ -0,0 +1,68 @@
+#! /bin/bash
+
+set_os_architecture() {
+ echo "Detecting architecture"
+ local _ostype="$(uname -s)"
+ local _cputype="$(uname -m)"
+
+ echo "uname -s reports: $_ostype"
+ echo "uname -m reports: $_cputype"
+
+ if [ "$_ostype" = Darwin -a "$_cputype" = i386 ]; then
+ # Darwin `uname -s` lies
+ if sysctl hw.optional.x86_64 | grep -q ': 1'; then
+ local _cputype=x86_64
+ fi
+ fi
+
+ case "$_ostype" in
+
+ Linux)
+ local _ostype=linux
+ ;;
+ Darwin)
+ local _ostype=macosx
+ ;;
+ *)
+ #err "Unknown OS type: $_ostype"
+ ;;
+ esac
+
+ case "$_cputype" in
+
+ i386 | i486 | i686 | i786 | x86)
+ local _cputype=x86
+ ;;
+ x86_64 | x86-64 | x64 | amd64)
+ local _cputype=x64
+ ;;
+ *)
+ #err "Unknown CPU type: $_cputype"
+ ;;
+ esac
+
+ echo "OS is $_ostype"
+ echo "Architecture is $_cputype"
+ ARCH="$_cputype"
+ OS="$_ostype"
+}
+
+
+set_os_architecture
+
+dotnet restore
+
+grpc_tools_version="2.61.0"
+protoc="$HOME"/.nuget/packages/build/grpc.tools/"grpc_tools_version"/tools/"$OS"_"$ARCH"/protoc
+grpc_csharp="$HOME"/.nuget/packages/build/grpc.tools/"grpc_tools_version"/tools/"$OS"_"$ARCH"/grpc_csharp_plugin
+
+chmod +x $protoc
+chmod +x $grpc_csharp
+
+echo "Generating Proto Classes.."
+
+for i in `ls ./gauge-proto/*.proto`; do
+ $protoc -I./gauge-proto --csharp_out=./src/Gauge.CSharp.Core --grpc_out=./src/Gauge.CSharp.Core --plugin=protoc-gen-grpc=$grpc_csharp $i
+done
+
+echo "Done"
\ No newline at end of file
diff --git a/src/ExecutableRunnerServiceHandler.cs b/src/ExecutableRunnerServiceHandler.cs
index 830d519..6e2b1c4 100644
--- a/src/ExecutableRunnerServiceHandler.cs
+++ b/src/ExecutableRunnerServiceHandler.cs
@@ -30,11 +30,13 @@ internal class ExecutableRunnerServiceHandler : AuthoringRunnerServiceHandler
private ScenarioExecutionEndingProcessor scenarioExecutionEndingProcessor;
private StepExecutionStartingProcessor stepExecutionStartingProcessor;
private StepExecutionEndingProcessor stepExecutionEndingProcessor;
+ private ConceptExecutionStartingProcessor conceptExecutionStartingProcessor;
+ private ConceptExecutionEndingProcessor conceptExecutionEndingProcessor;
private ExecuteStepProcessor executeStepProcessor;
private ScenarioDataStoreInitProcessor scenarioDataStoreInitProcessor;
private SpecDataStoreInitProcessor specDataStoreInitProcessor;
private SuiteDataStoreInitProcessor suiteDataStoreInitProcessor;
- public ExecutableRunnerServiceHandler(IActivatorWrapper activationWrapper, IReflectionWrapper reflectionWrapper,
+ public ExecutableRunnerServiceHandler(IActivatorWrapper activationWrapper, IReflectionWrapper reflectionWrapper,
IAssemblyLoader assemblyLoader, IStaticLoader loader, ExecutorPool pool, IHostApplicationLifetime lifetime)
: base(loader, pool, lifetime)
{
@@ -49,7 +51,7 @@ public override Task InitializeSuiteDataStore(SuiteData
return _pool.Execute(getStream(request.Stream), () => this.suiteDataStoreInitProcessor.Process());
}
- public override Task ExecuteStep(ExecuteStepRequest request, ServerCallContext context)
+ public override Task ExecuteStep(ExecuteStepRequest request, ServerCallContext context)
{
return _pool.Execute(getStream(request.Stream), () => this.executeStepProcessor.Process(request));
}
@@ -113,6 +115,17 @@ public override Task StartStepExecution(StepExecutionSt
return _pool.Execute(getStream(request.Stream), () => this.stepExecutionStartingProcessor.Process(request));
}
+ public override Task NotifyConceptExecutionStarting(ConceptExecutionStartingRequest request, ServerCallContext context)
+ {
+ return _pool.Execute(getStream(request.Stream), () => this.conceptExecutionStartingProcessor.Process(request));
+ }
+
+ public override Task NotifyConceptExecutionEnding(ConceptExecutionEndingRequest request, ServerCallContext context)
+ {
+ return _pool.Execute(getStream(request.Stream), () => this.conceptExecutionEndingProcessor.Process(request));
+ }
+
+
private void InitializeExecutionMessageHandlers()
{
var tableFormatter = new TableFormatter(this._assemblyLoader, this._activatorWrapper);
@@ -134,6 +147,8 @@ private void InitializeExecutionMessageHandlers()
this.scenarioExecutionEndingProcessor = new ScenarioExecutionEndingProcessor(executionOrchestrator);
this.stepExecutionStartingProcessor = new StepExecutionStartingProcessor(executionOrchestrator);
this.stepExecutionEndingProcessor = new StepExecutionEndingProcessor(executionOrchestrator);
+ this.conceptExecutionStartingProcessor = new ConceptExecutionStartingProcessor(executionOrchestrator);
+ this.conceptExecutionEndingProcessor = new ConceptExecutionEndingProcessor(executionOrchestrator);
this.executeStepProcessor = new ExecuteStepProcessor(_stepRegistry, executionOrchestrator, tableFormatter);
this.scenarioDataStoreInitProcessor = new ScenarioDataStoreInitProcessor(this._assemblyLoader);
this.specDataStoreInitProcessor = new SpecDataStoreInitProcessor(this._assemblyLoader);
diff --git a/src/ExecutionInfoMapper.cs b/src/ExecutionInfoMapper.cs
index 566c552..c35fa25 100644
--- a/src/ExecutionInfoMapper.cs
+++ b/src/ExecutionInfoMapper.cs
@@ -57,7 +57,10 @@ private dynamic StepFrom(StepInfo currentStep)
if (currentStep == null || currentStep.Step == null)
return activatorWrapper.CreateInstance(executionContextStepType);
- return activatorWrapper.CreateInstance(executionContextStepType, currentStep.Step.ActualStepText, currentStep.IsFailed);
+ return activatorWrapper.CreateInstance(
+ executionContextStepType,
+ currentStep.Step.ActualStepText, currentStep.IsFailed,
+ currentStep.StackTrace, currentStep.ErrorMessage);
}
}
}
\ No newline at end of file
diff --git a/src/Gauge.CSharp.Core/AbstractGaugeConnection.cs b/src/Gauge.CSharp.Core/AbstractGaugeConnection.cs
new file mode 100644
index 0000000..5621295
--- /dev/null
+++ b/src/Gauge.CSharp.Core/AbstractGaugeConnection.cs
@@ -0,0 +1,50 @@
+/*----------------------------------------------------------------
+ * Copyright (c) ThoughtWorks, Inc.
+ * Licensed under the Apache License, Version 2.0
+ * See LICENSE.txt in the project root for license information.
+ *----------------------------------------------------------------*/
+using System;
+using System.Collections.Generic;
+using Google.Protobuf;
+
+namespace Gauge.CSharp.Core
+{
+ public abstract class AbstractGaugeConnection : IDisposable
+ {
+ protected readonly ITcpClientWrapper TcpClientWrapper;
+
+ protected AbstractGaugeConnection(ITcpClientWrapper tcpClientWrapper)
+ {
+ TcpClientWrapper = tcpClientWrapper;
+ }
+
+ public bool Connected => TcpClientWrapper.Connected;
+
+ public void Dispose()
+ {
+ TcpClientWrapper.Close();
+ }
+
+ public void WriteMessage(IMessage request)
+ {
+ var bytes = request.ToByteArray();
+ var cos = new CodedOutputStream(TcpClientWrapper.GetStream());
+ cos.WriteUInt64((ulong) bytes.Length);
+ cos.Flush();
+ TcpClientWrapper.GetStream().Write(bytes, 0, bytes.Length);
+ TcpClientWrapper.GetStream().Flush();
+ }
+
+ public IEnumerable ReadBytes()
+ {
+ var networkStream = TcpClientWrapper.GetStream();
+ var codedInputStream = new CodedInputStream(networkStream);
+ return codedInputStream.ReadBytes();
+ }
+
+ protected static long GenerateMessageId()
+ {
+ return DateTime.Now.Ticks / TimeSpan.TicksPerMillisecond;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Gauge.CSharp.Core/Api.cs b/src/Gauge.CSharp.Core/Api.cs
new file mode 100644
index 0000000..b0dcc4b
--- /dev/null
+++ b/src/Gauge.CSharp.Core/Api.cs
@@ -0,0 +1,7026 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: api.proto
+//
+#pragma warning disable 1591, 0612, 3021, 8981
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Gauge.Messages {
+
+ /// Holder for reflection information generated from api.proto
+ public static partial class ApiReflection {
+
+ #region Descriptor
+ /// File descriptor for api.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static ApiReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "CglhcGkucHJvdG8SDmdhdWdlLm1lc3NhZ2VzGgpzcGVjLnByb3RvIhcKFUdl",
+ "dFByb2plY3RSb290UmVxdWVzdCItChZHZXRQcm9qZWN0Um9vdFJlc3BvbnNl",
+ "EhMKC3Byb2plY3RSb290GAEgASgJIhwKGkdldEluc3RhbGxhdGlvblJvb3RS",
+ "ZXF1ZXN0IjcKG0dldEluc3RhbGxhdGlvblJvb3RSZXNwb25zZRIYChBpbnN0",
+ "YWxsYXRpb25Sb290GAEgASgJIhQKEkdldEFsbFN0ZXBzUmVxdWVzdCJHChNH",
+ "ZXRBbGxTdGVwc1Jlc3BvbnNlEjAKCGFsbFN0ZXBzGAEgAygLMh4uZ2F1Z2Uu",
+ "bWVzc2FnZXMuUHJvdG9TdGVwVmFsdWUiHQoMU3BlY3NSZXF1ZXN0Eg0KBXNw",
+ "ZWNzGAEgAygJIq0BCg1TcGVjc1Jlc3BvbnNlEjkKB2RldGFpbHMYASADKAsy",
+ "KC5nYXVnZS5tZXNzYWdlcy5TcGVjc1Jlc3BvbnNlLlNwZWNEZXRhaWwaYQoK",
+ "U3BlY0RldGFpbBInCgRzcGVjGAEgASgLMhkuZ2F1Z2UubWVzc2FnZXMuUHJv",
+ "dG9TcGVjEioKC3BhcnNlRXJyb3JzGAIgAygLMhUuZ2F1Z2UubWVzc2FnZXMu",
+ "RXJyb3IiFwoVR2V0QWxsQ29uY2VwdHNSZXF1ZXN0IkcKFkdldEFsbENvbmNl",
+ "cHRzUmVzcG9uc2USLQoIY29uY2VwdHMYASADKAsyGy5nYXVnZS5tZXNzYWdl",
+ "cy5Db25jZXB0SW5mbyJmCgtDb25jZXB0SW5mbxIxCglzdGVwVmFsdWUYASAB",
+ "KAsyHi5nYXVnZS5tZXNzYWdlcy5Qcm90b1N0ZXBWYWx1ZRIQCghmaWxlcGF0",
+ "aBgCIAEoCRISCgpsaW5lTnVtYmVyGAMgASgFIj8KE0dldFN0ZXBWYWx1ZVJl",
+ "cXVlc3QSEAoIc3RlcFRleHQYASABKAkSFgoOaGFzSW5saW5lVGFibGUYAiAB",
+ "KAgiSQoUR2V0U3RlcFZhbHVlUmVzcG9uc2USMQoJc3RlcFZhbHVlGAEgASgL",
+ "Mh4uZ2F1Z2UubWVzc2FnZXMuUHJvdG9TdGVwVmFsdWUiMwofR2V0TGFuZ3Vh",
+ "Z2VQbHVnaW5MaWJQYXRoUmVxdWVzdBIQCghsYW5ndWFnZRgBIAEoCSIwCiBH",
+ "ZXRMYW5ndWFnZVBsdWdpbkxpYlBhdGhSZXNwb25zZRIMCgRwYXRoGAEgASgJ",
+ "Ih4KDUVycm9yUmVzcG9uc2USDQoFZXJyb3IYASABKAkiPQoZUGVyZm9ybVJl",
+ "ZmFjdG9yaW5nUmVxdWVzdBIPCgdvbGRTdGVwGAEgASgJEg8KB25ld1N0ZXAY",
+ "AiABKAkiUwoaUGVyZm9ybVJlZmFjdG9yaW5nUmVzcG9uc2USDwoHc3VjY2Vz",
+ "cxgBIAEoCBIOCgZlcnJvcnMYAiADKAkSFAoMZmlsZXNDaGFuZ2VkGAMgAygJ",
+ "ItEBChVFeHRyYWN0Q29uY2VwdFJlcXVlc3QSKQoLY29uY2VwdE5hbWUYASAB",
+ "KAsyFC5nYXVnZS5tZXNzYWdlcy5zdGVwEiMKBXN0ZXBzGAIgAygLMhQuZ2F1",
+ "Z2UubWVzc2FnZXMuc3RlcBIbChNjaGFuZ2VBY3Jvc3NQcm9qZWN0GAMgASgI",
+ "EhcKD2NvbmNlcHRGaWxlTmFtZRgEIAEoCRIyChBzZWxlY3RlZFRleHRJbmZv",
+ "GAUgASgLMhguZ2F1Z2UubWVzc2FnZXMudGV4dEluZm8iRwoIdGV4dEluZm8S",
+ "EAoIZmlsZU5hbWUYASABKAkSFgoOc3RhcnRpbmdMaW5lTm8YAiABKAUSEQoJ",
+ "ZW5kTGluZU5vGAMgASgFIjsKBHN0ZXASDAoEbmFtZRgBIAEoCRINCgV0YWJs",
+ "ZRgCIAEoCRIWCg5wYXJhbVRhYmxlTmFtZRgDIAEoCSJQChZFeHRyYWN0Q29u",
+ "Y2VwdFJlc3BvbnNlEhEKCWlzU3VjY2VzcxgBIAEoCBINCgVlcnJvchgCIAEo",
+ "CRIUCgxmaWxlc0NoYW5nZWQYAyADKAkiIwoSRm9ybWF0U3BlY3NSZXF1ZXN0",
+ "Eg0KBXNwZWNzGAEgAygJIjcKE0Zvcm1hdFNwZWNzUmVzcG9uc2USDgoGZXJy",
+ "b3JzGAEgAygJEhAKCHdhcm5pbmdzGAIgAygJIh8KHVVuc3VwcG9ydGVkQXBp",
+ "TWVzc2FnZVJlc3BvbnNlIqkRCgpBUElNZXNzYWdlEj4KC21lc3NhZ2VUeXBl",
+ "GAEgASgOMikuZ2F1Z2UubWVzc2FnZXMuQVBJTWVzc2FnZS5BUElNZXNzYWdl",
+ "VHlwZRIRCgltZXNzYWdlSWQYAiABKAMSQQoScHJvamVjdFJvb3RSZXF1ZXN0",
+ "GAMgASgLMiUuZ2F1Z2UubWVzc2FnZXMuR2V0UHJvamVjdFJvb3RSZXF1ZXN0",
+ "EkMKE3Byb2plY3RSb290UmVzcG9uc2UYBCABKAsyJi5nYXVnZS5tZXNzYWdl",
+ "cy5HZXRQcm9qZWN0Um9vdFJlc3BvbnNlEksKF2luc3RhbGxhdGlvblJvb3RS",
+ "ZXF1ZXN0GAUgASgLMiouZ2F1Z2UubWVzc2FnZXMuR2V0SW5zdGFsbGF0aW9u",
+ "Um9vdFJlcXVlc3QSTQoYaW5zdGFsbGF0aW9uUm9vdFJlc3BvbnNlGAYgASgL",
+ "MisuZ2F1Z2UubWVzc2FnZXMuR2V0SW5zdGFsbGF0aW9uUm9vdFJlc3BvbnNl",
+ "EjsKD2FsbFN0ZXBzUmVxdWVzdBgHIAEoCzIiLmdhdWdlLm1lc3NhZ2VzLkdl",
+ "dEFsbFN0ZXBzUmVxdWVzdBI9ChBhbGxTdGVwc1Jlc3BvbnNlGAggASgLMiMu",
+ "Z2F1Z2UubWVzc2FnZXMuR2V0QWxsU3RlcHNSZXNwb25zZRIyCgxzcGVjc1Jl",
+ "cXVlc3QYCSABKAsyHC5nYXVnZS5tZXNzYWdlcy5TcGVjc1JlcXVlc3QSNAoN",
+ "c3BlY3NSZXNwb25zZRgKIAEoCzIdLmdhdWdlLm1lc3NhZ2VzLlNwZWNzUmVz",
+ "cG9uc2USPQoQc3RlcFZhbHVlUmVxdWVzdBgLIAEoCzIjLmdhdWdlLm1lc3Nh",
+ "Z2VzLkdldFN0ZXBWYWx1ZVJlcXVlc3QSPwoRc3RlcFZhbHVlUmVzcG9uc2UY",
+ "DCABKAsyJC5nYXVnZS5tZXNzYWdlcy5HZXRTdGVwVmFsdWVSZXNwb25zZRJH",
+ "Cg5saWJQYXRoUmVxdWVzdBgNIAEoCzIvLmdhdWdlLm1lc3NhZ2VzLkdldExh",
+ "bmd1YWdlUGx1Z2luTGliUGF0aFJlcXVlc3QSSQoPbGliUGF0aFJlc3BvbnNl",
+ "GA4gASgLMjAuZ2F1Z2UubWVzc2FnZXMuR2V0TGFuZ3VhZ2VQbHVnaW5MaWJQ",
+ "YXRoUmVzcG9uc2USLAoFZXJyb3IYDyABKAsyHS5nYXVnZS5tZXNzYWdlcy5F",
+ "cnJvclJlc3BvbnNlEkEKEmFsbENvbmNlcHRzUmVxdWVzdBgQIAEoCzIlLmdh",
+ "dWdlLm1lc3NhZ2VzLkdldEFsbENvbmNlcHRzUmVxdWVzdBJDChNhbGxDb25j",
+ "ZXB0c1Jlc3BvbnNlGBEgASgLMiYuZ2F1Z2UubWVzc2FnZXMuR2V0QWxsQ29u",
+ "Y2VwdHNSZXNwb25zZRJMChlwZXJmb3JtUmVmYWN0b3JpbmdSZXF1ZXN0GBIg",
+ "ASgLMikuZ2F1Z2UubWVzc2FnZXMuUGVyZm9ybVJlZmFjdG9yaW5nUmVxdWVz",
+ "dBJOChpwZXJmb3JtUmVmYWN0b3JpbmdSZXNwb25zZRgTIAEoCzIqLmdhdWdl",
+ "Lm1lc3NhZ2VzLlBlcmZvcm1SZWZhY3RvcmluZ1Jlc3BvbnNlEkQKFWV4dHJh",
+ "Y3RDb25jZXB0UmVxdWVzdBgUIAEoCzIlLmdhdWdlLm1lc3NhZ2VzLkV4dHJh",
+ "Y3RDb25jZXB0UmVxdWVzdBJGChZleHRyYWN0Q29uY2VwdFJlc3BvbnNlGBUg",
+ "ASgLMiYuZ2F1Z2UubWVzc2FnZXMuRXh0cmFjdENvbmNlcHRSZXNwb25zZRI+",
+ "ChJmb3JtYXRTcGVjc1JlcXVlc3QYFiABKAsyIi5nYXVnZS5tZXNzYWdlcy5G",
+ "b3JtYXRTcGVjc1JlcXVlc3QSQAoTZm9ybWF0U3BlY3NSZXNwb25zZRgXIAEo",
+ "CzIjLmdhdWdlLm1lc3NhZ2VzLkZvcm1hdFNwZWNzUmVzcG9uc2USVAoddW5z",
+ "dXBwb3J0ZWRBcGlNZXNzYWdlUmVzcG9uc2UYGCABKAsyLS5nYXVnZS5tZXNz",
+ "YWdlcy5VbnN1cHBvcnRlZEFwaU1lc3NhZ2VSZXNwb25zZSLvBAoOQVBJTWVz",
+ "c2FnZVR5cGUSGQoVR2V0UHJvamVjdFJvb3RSZXF1ZXN0EAASGgoWR2V0UHJv",
+ "amVjdFJvb3RSZXNwb25zZRABEh4KGkdldEluc3RhbGxhdGlvblJvb3RSZXF1",
+ "ZXN0EAISHwobR2V0SW5zdGFsbGF0aW9uUm9vdFJlc3BvbnNlEAMSFgoSR2V0",
+ "QWxsU3RlcHNSZXF1ZXN0EAQSFgoSR2V0QWxsU3RlcFJlc3BvbnNlEAUSEAoM",
+ "U3BlY3NSZXF1ZXN0EAYSEQoNU3BlY3NSZXNwb25zZRAHEhcKE0dldFN0ZXBW",
+ "YWx1ZVJlcXVlc3QQCBIYChRHZXRTdGVwVmFsdWVSZXNwb25zZRAJEiMKH0dl",
+ "dExhbmd1YWdlUGx1Z2luTGliUGF0aFJlcXVlc3QQChIkCiBHZXRMYW5ndWFn",
+ "ZVBsdWdpbkxpYlBhdGhSZXNwb25zZRALEhEKDUVycm9yUmVzcG9uc2UQDBIZ",
+ "ChVHZXRBbGxDb25jZXB0c1JlcXVlc3QQDRIaChZHZXRBbGxDb25jZXB0c1Jl",
+ "c3BvbnNlEA4SHQoZUGVyZm9ybVJlZmFjdG9yaW5nUmVxdWVzdBAPEh4KGlBl",
+ "cmZvcm1SZWZhY3RvcmluZ1Jlc3BvbnNlEBASGQoVRXh0cmFjdENvbmNlcHRS",
+ "ZXF1ZXN0EBESGgoWRXh0cmFjdENvbmNlcHRSZXNwb25zZRASEhYKEkZvcm1h",
+ "dFNwZWNzUmVxdWVzdBATEhcKE0Zvcm1hdFNwZWNzUmVzcG9uc2UQFBIhCh1V",
+ "bnN1cHBvcnRlZEFwaU1lc3NhZ2VSZXNwb25zZRAVQlwKFmNvbS50aG91Z2h0",
+ "d29ya3MuZ2F1Z2VaMWdpdGh1Yi5jb20vZ2V0Z2F1Z2UvZ2F1Z2UtcHJvdG8v",
+ "Z28vZ2F1Z2VfbWVzc2FnZXOqAg5HYXVnZS5NZXNzYWdlc2IGcHJvdG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Gauge.Messages.SpecReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetProjectRootRequest), global::Gauge.Messages.GetProjectRootRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetProjectRootResponse), global::Gauge.Messages.GetProjectRootResponse.Parser, new[]{ "ProjectRoot" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetInstallationRootRequest), global::Gauge.Messages.GetInstallationRootRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetInstallationRootResponse), global::Gauge.Messages.GetInstallationRootResponse.Parser, new[]{ "InstallationRoot" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetAllStepsRequest), global::Gauge.Messages.GetAllStepsRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetAllStepsResponse), global::Gauge.Messages.GetAllStepsResponse.Parser, new[]{ "AllSteps" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecsRequest), global::Gauge.Messages.SpecsRequest.Parser, new[]{ "Specs" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecsResponse), global::Gauge.Messages.SpecsResponse.Parser, new[]{ "Details" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecsResponse.Types.SpecDetail), global::Gauge.Messages.SpecsResponse.Types.SpecDetail.Parser, new[]{ "Spec", "ParseErrors" }, null, null, null, null)}),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetAllConceptsRequest), global::Gauge.Messages.GetAllConceptsRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetAllConceptsResponse), global::Gauge.Messages.GetAllConceptsResponse.Parser, new[]{ "Concepts" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ConceptInfo), global::Gauge.Messages.ConceptInfo.Parser, new[]{ "StepValue", "Filepath", "LineNumber" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetStepValueRequest), global::Gauge.Messages.GetStepValueRequest.Parser, new[]{ "StepText", "HasInlineTable" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetStepValueResponse), global::Gauge.Messages.GetStepValueResponse.Parser, new[]{ "StepValue" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetLanguagePluginLibPathRequest), global::Gauge.Messages.GetLanguagePluginLibPathRequest.Parser, new[]{ "Language" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.GetLanguagePluginLibPathResponse), global::Gauge.Messages.GetLanguagePluginLibPathResponse.Parser, new[]{ "Path" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ErrorResponse), global::Gauge.Messages.ErrorResponse.Parser, new[]{ "Error" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.PerformRefactoringRequest), global::Gauge.Messages.PerformRefactoringRequest.Parser, new[]{ "OldStep", "NewStep" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.PerformRefactoringResponse), global::Gauge.Messages.PerformRefactoringResponse.Parser, new[]{ "Success", "Errors", "FilesChanged" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExtractConceptRequest), global::Gauge.Messages.ExtractConceptRequest.Parser, new[]{ "ConceptName", "Steps", "ChangeAcrossProject", "ConceptFileName", "SelectedTextInfo" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.textInfo), global::Gauge.Messages.textInfo.Parser, new[]{ "FileName", "StartingLineNo", "EndLineNo" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.step), global::Gauge.Messages.step.Parser, new[]{ "Name", "Table", "ParamTableName" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExtractConceptResponse), global::Gauge.Messages.ExtractConceptResponse.Parser, new[]{ "IsSuccess", "Error", "FilesChanged" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.FormatSpecsRequest), global::Gauge.Messages.FormatSpecsRequest.Parser, new[]{ "Specs" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.FormatSpecsResponse), global::Gauge.Messages.FormatSpecsResponse.Parser, new[]{ "Errors", "Warnings" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.UnsupportedApiMessageResponse), global::Gauge.Messages.UnsupportedApiMessageResponse.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.APIMessage), global::Gauge.Messages.APIMessage.Parser, new[]{ "MessageType", "MessageId", "ProjectRootRequest", "ProjectRootResponse", "InstallationRootRequest", "InstallationRootResponse", "AllStepsRequest", "AllStepsResponse", "SpecsRequest", "SpecsResponse", "StepValueRequest", "StepValueResponse", "LibPathRequest", "LibPathResponse", "Error", "AllConceptsRequest", "AllConceptsResponse", "PerformRefactoringRequest", "PerformRefactoringResponse", "ExtractConceptRequest", "ExtractConceptResponse", "FormatSpecsRequest", "FormatSpecsResponse", "UnsupportedApiMessageResponse" }, null, new[]{ typeof(global::Gauge.Messages.APIMessage.Types.APIMessageType) }, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ ///
+ //// Request to get the Root Directory of the project
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetProjectRootRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetProjectRootRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetProjectRootRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetProjectRootRequest(GetProjectRootRequest other) : this() {
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetProjectRootRequest Clone() {
+ return new GetProjectRootRequest(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetProjectRootRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetProjectRootRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetProjectRootRequest other) {
+ if (other == null) {
+ return;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response of GetProjectRootRequest.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetProjectRootResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetProjectRootResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetProjectRootResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetProjectRootResponse(GetProjectRootResponse other) : this() {
+ projectRoot_ = other.projectRoot_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetProjectRootResponse Clone() {
+ return new GetProjectRootResponse(this);
+ }
+
+ /// Field number for the "projectRoot" field.
+ public const int ProjectRootFieldNumber = 1;
+ private string projectRoot_ = "";
+ ///
+ //// Holds the absolute path of the Project Root directory.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ProjectRoot {
+ get { return projectRoot_; }
+ set {
+ projectRoot_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetProjectRootResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetProjectRootResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ProjectRoot != other.ProjectRoot) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ProjectRoot.Length != 0) hash ^= ProjectRoot.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (ProjectRoot.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(ProjectRoot);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (ProjectRoot.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(ProjectRoot);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (ProjectRoot.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectRoot);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetProjectRootResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ProjectRoot.Length != 0) {
+ ProjectRoot = other.ProjectRoot;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ ProjectRoot = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ ProjectRoot = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Request to get the Root Directory of the Gauge installation
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetInstallationRootRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInstallationRootRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[2]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetInstallationRootRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetInstallationRootRequest(GetInstallationRootRequest other) : this() {
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetInstallationRootRequest Clone() {
+ return new GetInstallationRootRequest(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetInstallationRootRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetInstallationRootRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetInstallationRootRequest other) {
+ if (other == null) {
+ return;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response of GetInstallationRootRequest
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetInstallationRootResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInstallationRootResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[3]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetInstallationRootResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetInstallationRootResponse(GetInstallationRootResponse other) : this() {
+ installationRoot_ = other.installationRoot_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetInstallationRootResponse Clone() {
+ return new GetInstallationRootResponse(this);
+ }
+
+ /// Field number for the "installationRoot" field.
+ public const int InstallationRootFieldNumber = 1;
+ private string installationRoot_ = "";
+ ///
+ //// Holds the absolute path of the Gauge installation directory
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string InstallationRoot {
+ get { return installationRoot_; }
+ set {
+ installationRoot_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetInstallationRootResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetInstallationRootResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (InstallationRoot != other.InstallationRoot) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (InstallationRoot.Length != 0) hash ^= InstallationRoot.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (InstallationRoot.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(InstallationRoot);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (InstallationRoot.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(InstallationRoot);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (InstallationRoot.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(InstallationRoot);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetInstallationRootResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.InstallationRoot.Length != 0) {
+ InstallationRoot = other.InstallationRoot;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ InstallationRoot = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ InstallationRoot = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Request to get all Steps in the project
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetAllStepsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllStepsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[4]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllStepsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllStepsRequest(GetAllStepsRequest other) : this() {
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllStepsRequest Clone() {
+ return new GetAllStepsRequest(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetAllStepsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetAllStepsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetAllStepsRequest other) {
+ if (other == null) {
+ return;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response to GetAllStepsRequest
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetAllStepsResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllStepsResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[5]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllStepsResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllStepsResponse(GetAllStepsResponse other) : this() {
+ allSteps_ = other.allSteps_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllStepsResponse Clone() {
+ return new GetAllStepsResponse(this);
+ }
+
+ /// Field number for the "allSteps" field.
+ public const int AllStepsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_allSteps_codec
+ = pb::FieldCodec.ForMessage(10, global::Gauge.Messages.ProtoStepValue.Parser);
+ private readonly pbc::RepeatedField allSteps_ = new pbc::RepeatedField();
+ ///
+ //// Holds a collection of Steps that are defined in the project.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField AllSteps {
+ get { return allSteps_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetAllStepsResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetAllStepsResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!allSteps_.Equals(other.allSteps_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= allSteps_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ allSteps_.WriteTo(output, _repeated_allSteps_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ allSteps_.WriteTo(ref output, _repeated_allSteps_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += allSteps_.CalculateSize(_repeated_allSteps_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetAllStepsResponse other) {
+ if (other == null) {
+ return;
+ }
+ allSteps_.Add(other.allSteps_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ allSteps_.AddEntriesFrom(input, _repeated_allSteps_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ allSteps_.AddEntriesFrom(ref input, _repeated_allSteps_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Request to get all Specs in the project
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class SpecsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[6]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecsRequest(SpecsRequest other) : this() {
+ specs_ = other.specs_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecsRequest Clone() {
+ return new SpecsRequest(this);
+ }
+
+ /// Field number for the "specs" field.
+ public const int SpecsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_specs_codec
+ = pb::FieldCodec.ForString(10);
+ private readonly pbc::RepeatedField specs_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Specs {
+ get { return specs_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SpecsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SpecsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!specs_.Equals(other.specs_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= specs_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ specs_.WriteTo(output, _repeated_specs_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ specs_.WriteTo(ref output, _repeated_specs_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += specs_.CalculateSize(_repeated_specs_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SpecsRequest other) {
+ if (other == null) {
+ return;
+ }
+ specs_.Add(other.specs_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ specs_.AddEntriesFrom(input, _repeated_specs_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ specs_.AddEntriesFrom(ref input, _repeated_specs_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response to GetAllSpecsRequest
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class SpecsResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecsResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[7]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecsResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecsResponse(SpecsResponse other) : this() {
+ details_ = other.details_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecsResponse Clone() {
+ return new SpecsResponse(this);
+ }
+
+ /// Field number for the "details" field.
+ public const int DetailsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_details_codec
+ = pb::FieldCodec.ForMessage(10, global::Gauge.Messages.SpecsResponse.Types.SpecDetail.Parser);
+ private readonly pbc::RepeatedField details_ = new pbc::RepeatedField();
+ ///
+ //// Holds a collection of Spec details.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Details {
+ get { return details_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SpecsResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SpecsResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!details_.Equals(other.details_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= details_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ details_.WriteTo(output, _repeated_details_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ details_.WriteTo(ref output, _repeated_details_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += details_.CalculateSize(_repeated_details_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SpecsResponse other) {
+ if (other == null) {
+ return;
+ }
+ details_.Add(other.details_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ details_.AddEntriesFrom(input, _repeated_details_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ details_.AddEntriesFrom(ref input, _repeated_details_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ #region Nested types
+ /// Container for nested types declared in the SpecsResponse message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static partial class Types {
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class SpecDetail : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecDetail());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.SpecsResponse.Descriptor.NestedTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecDetail() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecDetail(SpecDetail other) : this() {
+ spec_ = other.spec_ != null ? other.spec_.Clone() : null;
+ parseErrors_ = other.parseErrors_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SpecDetail Clone() {
+ return new SpecDetail(this);
+ }
+
+ /// Field number for the "spec" field.
+ public const int SpecFieldNumber = 1;
+ private global::Gauge.Messages.ProtoSpec spec_;
+ ///
+ //// Holds a collection of Specs that are defined in the project.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.ProtoSpec Spec {
+ get { return spec_; }
+ set {
+ spec_ = value;
+ }
+ }
+
+ /// Field number for the "parseErrors" field.
+ public const int ParseErrorsFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_parseErrors_codec
+ = pb::FieldCodec.ForMessage(18, global::Gauge.Messages.Error.Parser);
+ private readonly pbc::RepeatedField parseErrors_ = new pbc::RepeatedField();
+ ///
+ //// Holds a collection of parse errors present in the above spec.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField ParseErrors {
+ get { return parseErrors_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SpecDetail);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SpecDetail other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Spec, other.Spec)) return false;
+ if(!parseErrors_.Equals(other.parseErrors_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (spec_ != null) hash ^= Spec.GetHashCode();
+ hash ^= parseErrors_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ parseErrors_.WriteTo(output, _repeated_parseErrors_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (spec_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Spec);
+ }
+ parseErrors_.WriteTo(ref output, _repeated_parseErrors_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (spec_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Spec);
+ }
+ size += parseErrors_.CalculateSize(_repeated_parseErrors_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SpecDetail other) {
+ if (other == null) {
+ return;
+ }
+ if (other.spec_ != null) {
+ if (spec_ == null) {
+ Spec = new global::Gauge.Messages.ProtoSpec();
+ }
+ Spec.MergeFrom(other.Spec);
+ }
+ parseErrors_.Add(other.parseErrors_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Gauge.Messages.ProtoSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ parseErrors_.AddEntriesFrom(input, _repeated_parseErrors_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (spec_ == null) {
+ Spec = new global::Gauge.Messages.ProtoSpec();
+ }
+ input.ReadMessage(Spec);
+ break;
+ }
+ case 18: {
+ parseErrors_.AddEntriesFrom(ref input, _repeated_parseErrors_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ }
+ #endregion
+
+ }
+
+ ///
+ //// Request to get all Concepts in the project
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetAllConceptsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllConceptsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[8]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllConceptsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllConceptsRequest(GetAllConceptsRequest other) : this() {
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllConceptsRequest Clone() {
+ return new GetAllConceptsRequest(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetAllConceptsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetAllConceptsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetAllConceptsRequest other) {
+ if (other == null) {
+ return;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response to GetAllConceptsResponse
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetAllConceptsResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllConceptsResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[9]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllConceptsResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllConceptsResponse(GetAllConceptsResponse other) : this() {
+ concepts_ = other.concepts_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetAllConceptsResponse Clone() {
+ return new GetAllConceptsResponse(this);
+ }
+
+ /// Field number for the "concepts" field.
+ public const int ConceptsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_concepts_codec
+ = pb::FieldCodec.ForMessage(10, global::Gauge.Messages.ConceptInfo.Parser);
+ private readonly pbc::RepeatedField concepts_ = new pbc::RepeatedField();
+ ///
+ //// Holds a collection of Concepts that are defined in the project.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Concepts {
+ get { return concepts_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetAllConceptsResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetAllConceptsResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!concepts_.Equals(other.concepts_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= concepts_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ concepts_.WriteTo(output, _repeated_concepts_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ concepts_.WriteTo(ref output, _repeated_concepts_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += concepts_.CalculateSize(_repeated_concepts_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetAllConceptsResponse other) {
+ if (other == null) {
+ return;
+ }
+ concepts_.Add(other.concepts_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ concepts_.AddEntriesFrom(input, _repeated_concepts_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ concepts_.AddEntriesFrom(ref input, _repeated_concepts_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Details of a Concept
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class ConceptInfo : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConceptInfo());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[10]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ConceptInfo() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ConceptInfo(ConceptInfo other) : this() {
+ stepValue_ = other.stepValue_ != null ? other.stepValue_.Clone() : null;
+ filepath_ = other.filepath_;
+ lineNumber_ = other.lineNumber_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ConceptInfo Clone() {
+ return new ConceptInfo(this);
+ }
+
+ /// Field number for the "stepValue" field.
+ public const int StepValueFieldNumber = 1;
+ private global::Gauge.Messages.ProtoStepValue stepValue_;
+ ///
+ //// The text that defines a concept
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.ProtoStepValue StepValue {
+ get { return stepValue_; }
+ set {
+ stepValue_ = value;
+ }
+ }
+
+ /// Field number for the "filepath" field.
+ public const int FilepathFieldNumber = 2;
+ private string filepath_ = "";
+ ///
+ //// The absolute path to the file that contains the Concept
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Filepath {
+ get { return filepath_; }
+ set {
+ filepath_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "lineNumber" field.
+ public const int LineNumberFieldNumber = 3;
+ private int lineNumber_;
+ ///
+ //// The line number in the file where the concept is defined.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int LineNumber {
+ get { return lineNumber_; }
+ set {
+ lineNumber_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ConceptInfo);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ConceptInfo other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(StepValue, other.StepValue)) return false;
+ if (Filepath != other.Filepath) return false;
+ if (LineNumber != other.LineNumber) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (stepValue_ != null) hash ^= StepValue.GetHashCode();
+ if (Filepath.Length != 0) hash ^= Filepath.GetHashCode();
+ if (LineNumber != 0) hash ^= LineNumber.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (stepValue_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(StepValue);
+ }
+ if (Filepath.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Filepath);
+ }
+ if (LineNumber != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(LineNumber);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (stepValue_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(StepValue);
+ }
+ if (Filepath.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Filepath);
+ }
+ if (LineNumber != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(LineNumber);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (stepValue_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepValue);
+ }
+ if (Filepath.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Filepath);
+ }
+ if (LineNumber != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(LineNumber);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ConceptInfo other) {
+ if (other == null) {
+ return;
+ }
+ if (other.stepValue_ != null) {
+ if (stepValue_ == null) {
+ StepValue = new global::Gauge.Messages.ProtoStepValue();
+ }
+ StepValue.MergeFrom(other.StepValue);
+ }
+ if (other.Filepath.Length != 0) {
+ Filepath = other.Filepath;
+ }
+ if (other.LineNumber != 0) {
+ LineNumber = other.LineNumber;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (stepValue_ == null) {
+ StepValue = new global::Gauge.Messages.ProtoStepValue();
+ }
+ input.ReadMessage(StepValue);
+ break;
+ }
+ case 18: {
+ Filepath = input.ReadString();
+ break;
+ }
+ case 24: {
+ LineNumber = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (stepValue_ == null) {
+ StepValue = new global::Gauge.Messages.ProtoStepValue();
+ }
+ input.ReadMessage(StepValue);
+ break;
+ }
+ case 18: {
+ Filepath = input.ReadString();
+ break;
+ }
+ case 24: {
+ LineNumber = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Request to get a Step Value.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetStepValueRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStepValueRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[11]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetStepValueRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetStepValueRequest(GetStepValueRequest other) : this() {
+ stepText_ = other.stepText_;
+ hasInlineTable_ = other.hasInlineTable_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetStepValueRequest Clone() {
+ return new GetStepValueRequest(this);
+ }
+
+ /// Field number for the "stepText" field.
+ public const int StepTextFieldNumber = 1;
+ private string stepText_ = "";
+ ///
+ //// The text of the Step.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string StepText {
+ get { return stepText_; }
+ set {
+ stepText_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "hasInlineTable" field.
+ public const int HasInlineTableFieldNumber = 2;
+ private bool hasInlineTable_;
+ ///
+ //// Flag to indicate if the Step has an inline table.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasInlineTable {
+ get { return hasInlineTable_; }
+ set {
+ hasInlineTable_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetStepValueRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetStepValueRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (StepText != other.StepText) return false;
+ if (HasInlineTable != other.HasInlineTable) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (StepText.Length != 0) hash ^= StepText.GetHashCode();
+ if (HasInlineTable != false) hash ^= HasInlineTable.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (StepText.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(StepText);
+ }
+ if (HasInlineTable != false) {
+ output.WriteRawTag(16);
+ output.WriteBool(HasInlineTable);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (StepText.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(StepText);
+ }
+ if (HasInlineTable != false) {
+ output.WriteRawTag(16);
+ output.WriteBool(HasInlineTable);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (StepText.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(StepText);
+ }
+ if (HasInlineTable != false) {
+ size += 1 + 1;
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetStepValueRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.StepText.Length != 0) {
+ StepText = other.StepText;
+ }
+ if (other.HasInlineTable != false) {
+ HasInlineTable = other.HasInlineTable;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ StepText = input.ReadString();
+ break;
+ }
+ case 16: {
+ HasInlineTable = input.ReadBool();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ StepText = input.ReadString();
+ break;
+ }
+ case 16: {
+ HasInlineTable = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response to GetStepValueRequest
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetStepValueResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetStepValueResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[12]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetStepValueResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetStepValueResponse(GetStepValueResponse other) : this() {
+ stepValue_ = other.stepValue_ != null ? other.stepValue_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetStepValueResponse Clone() {
+ return new GetStepValueResponse(this);
+ }
+
+ /// Field number for the "stepValue" field.
+ public const int StepValueFieldNumber = 1;
+ private global::Gauge.Messages.ProtoStepValue stepValue_;
+ ///
+ //// The Step corresponding to the request provided.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.ProtoStepValue StepValue {
+ get { return stepValue_; }
+ set {
+ stepValue_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetStepValueResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetStepValueResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(StepValue, other.StepValue)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (stepValue_ != null) hash ^= StepValue.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (stepValue_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(StepValue);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (stepValue_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(StepValue);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (stepValue_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepValue);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetStepValueResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.stepValue_ != null) {
+ if (stepValue_ == null) {
+ StepValue = new global::Gauge.Messages.ProtoStepValue();
+ }
+ StepValue.MergeFrom(other.StepValue);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (stepValue_ == null) {
+ StepValue = new global::Gauge.Messages.ProtoStepValue();
+ }
+ input.ReadMessage(StepValue);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (stepValue_ == null) {
+ StepValue = new global::Gauge.Messages.ProtoStepValue();
+ }
+ input.ReadMessage(StepValue);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Request to get the location of language plugin's Lib directory
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetLanguagePluginLibPathRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetLanguagePluginLibPathRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[13]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetLanguagePluginLibPathRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetLanguagePluginLibPathRequest(GetLanguagePluginLibPathRequest other) : this() {
+ language_ = other.language_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetLanguagePluginLibPathRequest Clone() {
+ return new GetLanguagePluginLibPathRequest(this);
+ }
+
+ /// Field number for the "language" field.
+ public const int LanguageFieldNumber = 1;
+ private string language_ = "";
+ ///
+ //// The language to locate the lib directory for.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Language {
+ get { return language_; }
+ set {
+ language_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetLanguagePluginLibPathRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetLanguagePluginLibPathRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Language != other.Language) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Language.Length != 0) hash ^= Language.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Language.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Language);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Language.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Language);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Language.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Language);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetLanguagePluginLibPathRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Language.Length != 0) {
+ Language = other.Language;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Language = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Language = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response to GetLanguagePluginLibPathRequest
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetLanguagePluginLibPathResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetLanguagePluginLibPathResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[14]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetLanguagePluginLibPathResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetLanguagePluginLibPathResponse(GetLanguagePluginLibPathResponse other) : this() {
+ path_ = other.path_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetLanguagePluginLibPathResponse Clone() {
+ return new GetLanguagePluginLibPathResponse(this);
+ }
+
+ /// Field number for the "path" field.
+ public const int PathFieldNumber = 1;
+ private string path_ = "";
+ ///
+ //// Absolute path to the Lib directory of the language.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Path {
+ get { return path_; }
+ set {
+ path_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetLanguagePluginLibPathResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetLanguagePluginLibPathResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Path != other.Path) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Path.Length != 0) hash ^= Path.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Path.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Path);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Path.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Path);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Path.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Path);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetLanguagePluginLibPathResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Path.Length != 0) {
+ Path = other.Path;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Path = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Path = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// A generic failure response
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class ErrorResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ErrorResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[15]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ErrorResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ErrorResponse(ErrorResponse other) : this() {
+ error_ = other.error_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ErrorResponse Clone() {
+ return new ErrorResponse(this);
+ }
+
+ /// Field number for the "error" field.
+ public const int ErrorFieldNumber = 1;
+ private string error_ = "";
+ ///
+ //// Actual error message
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Error {
+ get { return error_; }
+ set {
+ error_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ErrorResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ErrorResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Error != other.Error) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Error.Length != 0) hash ^= Error.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Error.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Error);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Error.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Error);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Error.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Error);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ErrorResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Error.Length != 0) {
+ Error = other.Error;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Error = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Error = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Request to perform a Refactor
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class PerformRefactoringRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PerformRefactoringRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[16]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public PerformRefactoringRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public PerformRefactoringRequest(PerformRefactoringRequest other) : this() {
+ oldStep_ = other.oldStep_;
+ newStep_ = other.newStep_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public PerformRefactoringRequest Clone() {
+ return new PerformRefactoringRequest(this);
+ }
+
+ /// Field number for the "oldStep" field.
+ public const int OldStepFieldNumber = 1;
+ private string oldStep_ = "";
+ ///
+ //// Step to refactor
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string OldStep {
+ get { return oldStep_; }
+ set {
+ oldStep_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "newStep" field.
+ public const int NewStepFieldNumber = 2;
+ private string newStep_ = "";
+ ///
+ //// Change to be made
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string NewStep {
+ get { return newStep_; }
+ set {
+ newStep_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as PerformRefactoringRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(PerformRefactoringRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (OldStep != other.OldStep) return false;
+ if (NewStep != other.NewStep) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (OldStep.Length != 0) hash ^= OldStep.GetHashCode();
+ if (NewStep.Length != 0) hash ^= NewStep.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (OldStep.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(OldStep);
+ }
+ if (NewStep.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NewStep);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (OldStep.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(OldStep);
+ }
+ if (NewStep.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NewStep);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (OldStep.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(OldStep);
+ }
+ if (NewStep.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(NewStep);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(PerformRefactoringRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.OldStep.Length != 0) {
+ OldStep = other.OldStep;
+ }
+ if (other.NewStep.Length != 0) {
+ NewStep = other.NewStep;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ OldStep = input.ReadString();
+ break;
+ }
+ case 18: {
+ NewStep = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ OldStep = input.ReadString();
+ break;
+ }
+ case 18: {
+ NewStep = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response to PerformRefactoringRequest
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class PerformRefactoringResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PerformRefactoringResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[17]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public PerformRefactoringResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public PerformRefactoringResponse(PerformRefactoringResponse other) : this() {
+ success_ = other.success_;
+ errors_ = other.errors_.Clone();
+ filesChanged_ = other.filesChanged_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public PerformRefactoringResponse Clone() {
+ return new PerformRefactoringResponse(this);
+ }
+
+ /// Field number for the "success" field.
+ public const int SuccessFieldNumber = 1;
+ private bool success_;
+ ///
+ //// Flag indicating Success
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Success {
+ get { return success_; }
+ set {
+ success_ = value;
+ }
+ }
+
+ /// Field number for the "errors" field.
+ public const int ErrorsFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_errors_codec
+ = pb::FieldCodec.ForString(18);
+ private readonly pbc::RepeatedField errors_ = new pbc::RepeatedField();
+ ///
+ //// Error message if the refactoring was unsuccessful.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Errors {
+ get { return errors_; }
+ }
+
+ /// Field number for the "filesChanged" field.
+ public const int FilesChangedFieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_filesChanged_codec
+ = pb::FieldCodec.ForString(26);
+ private readonly pbc::RepeatedField filesChanged_ = new pbc::RepeatedField();
+ ///
+ //// Collection of files that were changed as part of the Refactoring.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField FilesChanged {
+ get { return filesChanged_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as PerformRefactoringResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(PerformRefactoringResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Success != other.Success) return false;
+ if(!errors_.Equals(other.errors_)) return false;
+ if(!filesChanged_.Equals(other.filesChanged_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Success != false) hash ^= Success.GetHashCode();
+ hash ^= errors_.GetHashCode();
+ hash ^= filesChanged_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Success != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(Success);
+ }
+ errors_.WriteTo(output, _repeated_errors_codec);
+ filesChanged_.WriteTo(output, _repeated_filesChanged_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Success != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(Success);
+ }
+ errors_.WriteTo(ref output, _repeated_errors_codec);
+ filesChanged_.WriteTo(ref output, _repeated_filesChanged_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Success != false) {
+ size += 1 + 1;
+ }
+ size += errors_.CalculateSize(_repeated_errors_codec);
+ size += filesChanged_.CalculateSize(_repeated_filesChanged_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(PerformRefactoringResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Success != false) {
+ Success = other.Success;
+ }
+ errors_.Add(other.errors_);
+ filesChanged_.Add(other.filesChanged_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ Success = input.ReadBool();
+ break;
+ }
+ case 18: {
+ errors_.AddEntriesFrom(input, _repeated_errors_codec);
+ break;
+ }
+ case 26: {
+ filesChanged_.AddEntriesFrom(input, _repeated_filesChanged_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ Success = input.ReadBool();
+ break;
+ }
+ case 18: {
+ errors_.AddEntriesFrom(ref input, _repeated_errors_codec);
+ break;
+ }
+ case 26: {
+ filesChanged_.AddEntriesFrom(ref input, _repeated_filesChanged_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Request to perform Extract to Concept refactoring
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class ExtractConceptRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExtractConceptRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[18]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ExtractConceptRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ExtractConceptRequest(ExtractConceptRequest other) : this() {
+ conceptName_ = other.conceptName_ != null ? other.conceptName_.Clone() : null;
+ steps_ = other.steps_.Clone();
+ changeAcrossProject_ = other.changeAcrossProject_;
+ conceptFileName_ = other.conceptFileName_;
+ selectedTextInfo_ = other.selectedTextInfo_ != null ? other.selectedTextInfo_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ExtractConceptRequest Clone() {
+ return new ExtractConceptRequest(this);
+ }
+
+ /// Field number for the "conceptName" field.
+ public const int ConceptNameFieldNumber = 1;
+ private global::Gauge.Messages.step conceptName_;
+ ///
+ //// The Concept name given by the user
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.step ConceptName {
+ get { return conceptName_; }
+ set {
+ conceptName_ = value;
+ }
+ }
+
+ /// Field number for the "steps" field.
+ public const int StepsFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_steps_codec
+ = pb::FieldCodec.ForMessage(18, global::Gauge.Messages.step.Parser);
+ private readonly pbc::RepeatedField steps_ = new pbc::RepeatedField();
+ ///
+ //// steps to extract
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Steps {
+ get { return steps_; }
+ }
+
+ /// Field number for the "changeAcrossProject" field.
+ public const int ChangeAcrossProjectFieldNumber = 3;
+ private bool changeAcrossProject_;
+ ///
+ //// Flag indicating if refactoring should be done across project
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool ChangeAcrossProject {
+ get { return changeAcrossProject_; }
+ set {
+ changeAcrossProject_ = value;
+ }
+ }
+
+ /// Field number for the "conceptFileName" field.
+ public const int ConceptFileNameFieldNumber = 4;
+ private string conceptFileName_ = "";
+ ///
+ //// The concept filename in which extracted concept will be added
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ConceptFileName {
+ get { return conceptFileName_; }
+ set {
+ conceptFileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "selectedTextInfo" field.
+ public const int SelectedTextInfoFieldNumber = 5;
+ private global::Gauge.Messages.textInfo selectedTextInfo_;
+ ///
+ //// Info related to selected text, only if changeAcrossProject is false
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.textInfo SelectedTextInfo {
+ get { return selectedTextInfo_; }
+ set {
+ selectedTextInfo_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ExtractConceptRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ExtractConceptRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(ConceptName, other.ConceptName)) return false;
+ if(!steps_.Equals(other.steps_)) return false;
+ if (ChangeAcrossProject != other.ChangeAcrossProject) return false;
+ if (ConceptFileName != other.ConceptFileName) return false;
+ if (!object.Equals(SelectedTextInfo, other.SelectedTextInfo)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (conceptName_ != null) hash ^= ConceptName.GetHashCode();
+ hash ^= steps_.GetHashCode();
+ if (ChangeAcrossProject != false) hash ^= ChangeAcrossProject.GetHashCode();
+ if (ConceptFileName.Length != 0) hash ^= ConceptFileName.GetHashCode();
+ if (selectedTextInfo_ != null) hash ^= SelectedTextInfo.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (conceptName_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(ConceptName);
+ }
+ steps_.WriteTo(output, _repeated_steps_codec);
+ if (ChangeAcrossProject != false) {
+ output.WriteRawTag(24);
+ output.WriteBool(ChangeAcrossProject);
+ }
+ if (ConceptFileName.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(ConceptFileName);
+ }
+ if (selectedTextInfo_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(SelectedTextInfo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (conceptName_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(ConceptName);
+ }
+ steps_.WriteTo(ref output, _repeated_steps_codec);
+ if (ChangeAcrossProject != false) {
+ output.WriteRawTag(24);
+ output.WriteBool(ChangeAcrossProject);
+ }
+ if (ConceptFileName.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(ConceptFileName);
+ }
+ if (selectedTextInfo_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(SelectedTextInfo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (conceptName_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConceptName);
+ }
+ size += steps_.CalculateSize(_repeated_steps_codec);
+ if (ChangeAcrossProject != false) {
+ size += 1 + 1;
+ }
+ if (ConceptFileName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ConceptFileName);
+ }
+ if (selectedTextInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectedTextInfo);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ExtractConceptRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.conceptName_ != null) {
+ if (conceptName_ == null) {
+ ConceptName = new global::Gauge.Messages.step();
+ }
+ ConceptName.MergeFrom(other.ConceptName);
+ }
+ steps_.Add(other.steps_);
+ if (other.ChangeAcrossProject != false) {
+ ChangeAcrossProject = other.ChangeAcrossProject;
+ }
+ if (other.ConceptFileName.Length != 0) {
+ ConceptFileName = other.ConceptFileName;
+ }
+ if (other.selectedTextInfo_ != null) {
+ if (selectedTextInfo_ == null) {
+ SelectedTextInfo = new global::Gauge.Messages.textInfo();
+ }
+ SelectedTextInfo.MergeFrom(other.SelectedTextInfo);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (conceptName_ == null) {
+ ConceptName = new global::Gauge.Messages.step();
+ }
+ input.ReadMessage(ConceptName);
+ break;
+ }
+ case 18: {
+ steps_.AddEntriesFrom(input, _repeated_steps_codec);
+ break;
+ }
+ case 24: {
+ ChangeAcrossProject = input.ReadBool();
+ break;
+ }
+ case 34: {
+ ConceptFileName = input.ReadString();
+ break;
+ }
+ case 42: {
+ if (selectedTextInfo_ == null) {
+ SelectedTextInfo = new global::Gauge.Messages.textInfo();
+ }
+ input.ReadMessage(SelectedTextInfo);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (conceptName_ == null) {
+ ConceptName = new global::Gauge.Messages.step();
+ }
+ input.ReadMessage(ConceptName);
+ break;
+ }
+ case 18: {
+ steps_.AddEntriesFrom(ref input, _repeated_steps_codec);
+ break;
+ }
+ case 24: {
+ ChangeAcrossProject = input.ReadBool();
+ break;
+ }
+ case 34: {
+ ConceptFileName = input.ReadString();
+ break;
+ }
+ case 42: {
+ if (selectedTextInfo_ == null) {
+ SelectedTextInfo = new global::Gauge.Messages.textInfo();
+ }
+ input.ReadMessage(SelectedTextInfo);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class textInfo : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new textInfo());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[19]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public textInfo() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public textInfo(textInfo other) : this() {
+ fileName_ = other.fileName_;
+ startingLineNo_ = other.startingLineNo_;
+ endLineNo_ = other.endLineNo_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public textInfo Clone() {
+ return new textInfo(this);
+ }
+
+ /// Field number for the "fileName" field.
+ public const int FileNameFieldNumber = 1;
+ private string fileName_ = "";
+ ///
+ //// The filename from where concept is being extracted
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string FileName {
+ get { return fileName_; }
+ set {
+ fileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "startingLineNo" field.
+ public const int StartingLineNoFieldNumber = 2;
+ private int startingLineNo_;
+ ///
+ //// storing the starting and ending line number of selected text
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int StartingLineNo {
+ get { return startingLineNo_; }
+ set {
+ startingLineNo_ = value;
+ }
+ }
+
+ /// Field number for the "endLineNo" field.
+ public const int EndLineNoFieldNumber = 3;
+ private int endLineNo_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int EndLineNo {
+ get { return endLineNo_; }
+ set {
+ endLineNo_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as textInfo);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(textInfo other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (FileName != other.FileName) return false;
+ if (StartingLineNo != other.StartingLineNo) return false;
+ if (EndLineNo != other.EndLineNo) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (FileName.Length != 0) hash ^= FileName.GetHashCode();
+ if (StartingLineNo != 0) hash ^= StartingLineNo.GetHashCode();
+ if (EndLineNo != 0) hash ^= EndLineNo.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (FileName.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(FileName);
+ }
+ if (StartingLineNo != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(StartingLineNo);
+ }
+ if (EndLineNo != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(EndLineNo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (FileName.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(FileName);
+ }
+ if (StartingLineNo != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(StartingLineNo);
+ }
+ if (EndLineNo != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(EndLineNo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (FileName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName);
+ }
+ if (StartingLineNo != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartingLineNo);
+ }
+ if (EndLineNo != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndLineNo);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(textInfo other) {
+ if (other == null) {
+ return;
+ }
+ if (other.FileName.Length != 0) {
+ FileName = other.FileName;
+ }
+ if (other.StartingLineNo != 0) {
+ StartingLineNo = other.StartingLineNo;
+ }
+ if (other.EndLineNo != 0) {
+ EndLineNo = other.EndLineNo;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ FileName = input.ReadString();
+ break;
+ }
+ case 16: {
+ StartingLineNo = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ EndLineNo = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ FileName = input.ReadString();
+ break;
+ }
+ case 16: {
+ StartingLineNo = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ EndLineNo = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class step : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new step());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[20]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public step() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public step(step other) : this() {
+ name_ = other.name_;
+ table_ = other.table_;
+ paramTableName_ = other.paramTableName_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public step Clone() {
+ return new step(this);
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 1;
+ private string name_ = "";
+ ///
+ //// name of the step
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "table" field.
+ public const int TableFieldNumber = 2;
+ private string table_ = "";
+ ///
+ //// table present in step as parameter
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Table {
+ get { return table_; }
+ set {
+ table_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "paramTableName" field.
+ public const int ParamTableNameFieldNumber = 3;
+ private string paramTableName_ = "";
+ ///
+ //// name of table in concept heading, if it comes as a param to concept
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ParamTableName {
+ get { return paramTableName_; }
+ set {
+ paramTableName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as step);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(step other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Name != other.Name) return false;
+ if (Table != other.Table) return false;
+ if (ParamTableName != other.ParamTableName) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (Table.Length != 0) hash ^= Table.GetHashCode();
+ if (ParamTableName.Length != 0) hash ^= ParamTableName.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (Table.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Table);
+ }
+ if (ParamTableName.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ParamTableName);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (Table.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Table);
+ }
+ if (ParamTableName.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(ParamTableName);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (Table.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Table);
+ }
+ if (ParamTableName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamTableName);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(step other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ if (other.Table.Length != 0) {
+ Table = other.Table;
+ }
+ if (other.ParamTableName.Length != 0) {
+ ParamTableName = other.ParamTableName;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ case 18: {
+ Table = input.ReadString();
+ break;
+ }
+ case 26: {
+ ParamTableName = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ case 18: {
+ Table = input.ReadString();
+ break;
+ }
+ case 26: {
+ ParamTableName = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response to perform Extract to Concept refactoring
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class ExtractConceptResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExtractConceptResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[21]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ExtractConceptResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ExtractConceptResponse(ExtractConceptResponse other) : this() {
+ isSuccess_ = other.isSuccess_;
+ error_ = other.error_;
+ filesChanged_ = other.filesChanged_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ExtractConceptResponse Clone() {
+ return new ExtractConceptResponse(this);
+ }
+
+ /// Field number for the "isSuccess" field.
+ public const int IsSuccessFieldNumber = 1;
+ private bool isSuccess_;
+ ///
+ //// Flag indicating Success
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool IsSuccess {
+ get { return isSuccess_; }
+ set {
+ isSuccess_ = value;
+ }
+ }
+
+ /// Field number for the "error" field.
+ public const int ErrorFieldNumber = 2;
+ private string error_ = "";
+ ///
+ //// Error message if the refactoring was unsuccessful.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Error {
+ get { return error_; }
+ set {
+ error_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "filesChanged" field.
+ public const int FilesChangedFieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_filesChanged_codec
+ = pb::FieldCodec.ForString(26);
+ private readonly pbc::RepeatedField filesChanged_ = new pbc::RepeatedField();
+ ///
+ //// Collection of files that were changed as part of the Refactoring.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField FilesChanged {
+ get { return filesChanged_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ExtractConceptResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ExtractConceptResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (IsSuccess != other.IsSuccess) return false;
+ if (Error != other.Error) return false;
+ if(!filesChanged_.Equals(other.filesChanged_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (IsSuccess != false) hash ^= IsSuccess.GetHashCode();
+ if (Error.Length != 0) hash ^= Error.GetHashCode();
+ hash ^= filesChanged_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (IsSuccess != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(IsSuccess);
+ }
+ if (Error.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Error);
+ }
+ filesChanged_.WriteTo(output, _repeated_filesChanged_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (IsSuccess != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(IsSuccess);
+ }
+ if (Error.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Error);
+ }
+ filesChanged_.WriteTo(ref output, _repeated_filesChanged_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (IsSuccess != false) {
+ size += 1 + 1;
+ }
+ if (Error.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Error);
+ }
+ size += filesChanged_.CalculateSize(_repeated_filesChanged_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ExtractConceptResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.IsSuccess != false) {
+ IsSuccess = other.IsSuccess;
+ }
+ if (other.Error.Length != 0) {
+ Error = other.Error;
+ }
+ filesChanged_.Add(other.filesChanged_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ IsSuccess = input.ReadBool();
+ break;
+ }
+ case 18: {
+ Error = input.ReadString();
+ break;
+ }
+ case 26: {
+ filesChanged_.AddEntriesFrom(input, _repeated_filesChanged_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ IsSuccess = input.ReadBool();
+ break;
+ }
+ case 18: {
+ Error = input.ReadString();
+ break;
+ }
+ case 26: {
+ filesChanged_.AddEntriesFrom(ref input, _repeated_filesChanged_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Request to format spec files
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class FormatSpecsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatSpecsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[22]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FormatSpecsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FormatSpecsRequest(FormatSpecsRequest other) : this() {
+ specs_ = other.specs_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FormatSpecsRequest Clone() {
+ return new FormatSpecsRequest(this);
+ }
+
+ /// Field number for the "specs" field.
+ public const int SpecsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_specs_codec
+ = pb::FieldCodec.ForString(10);
+ private readonly pbc::RepeatedField specs_ = new pbc::RepeatedField();
+ ///
+ //// Specs to be formatted
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Specs {
+ get { return specs_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as FormatSpecsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(FormatSpecsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!specs_.Equals(other.specs_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= specs_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ specs_.WriteTo(output, _repeated_specs_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ specs_.WriteTo(ref output, _repeated_specs_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += specs_.CalculateSize(_repeated_specs_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(FormatSpecsRequest other) {
+ if (other == null) {
+ return;
+ }
+ specs_.Add(other.specs_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ specs_.AddEntriesFrom(input, _repeated_specs_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ specs_.AddEntriesFrom(ref input, _repeated_specs_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response on formatting spec files
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class FormatSpecsResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatSpecsResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[23]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FormatSpecsResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FormatSpecsResponse(FormatSpecsResponse other) : this() {
+ errors_ = other.errors_.Clone();
+ warnings_ = other.warnings_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public FormatSpecsResponse Clone() {
+ return new FormatSpecsResponse(this);
+ }
+
+ /// Field number for the "errors" field.
+ public const int ErrorsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_errors_codec
+ = pb::FieldCodec.ForString(10);
+ private readonly pbc::RepeatedField errors_ = new pbc::RepeatedField();
+ ///
+ //// Errors occurred on formatting
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Errors {
+ get { return errors_; }
+ }
+
+ /// Field number for the "warnings" field.
+ public const int WarningsFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_warnings_codec
+ = pb::FieldCodec.ForString(18);
+ private readonly pbc::RepeatedField warnings_ = new pbc::RepeatedField();
+ ///
+ //// Warnings occurred on formatting
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Warnings {
+ get { return warnings_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as FormatSpecsResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(FormatSpecsResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!errors_.Equals(other.errors_)) return false;
+ if(!warnings_.Equals(other.warnings_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= errors_.GetHashCode();
+ hash ^= warnings_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ errors_.WriteTo(output, _repeated_errors_codec);
+ warnings_.WriteTo(output, _repeated_warnings_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ errors_.WriteTo(ref output, _repeated_errors_codec);
+ warnings_.WriteTo(ref output, _repeated_warnings_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += errors_.CalculateSize(_repeated_errors_codec);
+ size += warnings_.CalculateSize(_repeated_warnings_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(FormatSpecsResponse other) {
+ if (other == null) {
+ return;
+ }
+ errors_.Add(other.errors_);
+ warnings_.Add(other.warnings_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ errors_.AddEntriesFrom(input, _repeated_errors_codec);
+ break;
+ }
+ case 18: {
+ warnings_.AddEntriesFrom(input, _repeated_warnings_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ errors_.AddEntriesFrom(ref input, _repeated_errors_codec);
+ break;
+ }
+ case 18: {
+ warnings_.AddEntriesFrom(ref input, _repeated_warnings_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// Response when a API message request is not supported.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class UnsupportedApiMessageResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsupportedApiMessageResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[24]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UnsupportedApiMessageResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UnsupportedApiMessageResponse(UnsupportedApiMessageResponse other) : this() {
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UnsupportedApiMessageResponse Clone() {
+ return new UnsupportedApiMessageResponse(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UnsupportedApiMessageResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UnsupportedApiMessageResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UnsupportedApiMessageResponse other) {
+ if (other == null) {
+ return;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ //// A generic message composing of all possible operations.
+ //// One of the Request/Response fields will have value, depending on the MessageType set.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class APIMessage : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new APIMessage());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Gauge.Messages.ApiReflection.Descriptor.MessageTypes[25]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public APIMessage() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public APIMessage(APIMessage other) : this() {
+ messageType_ = other.messageType_;
+ messageId_ = other.messageId_;
+ projectRootRequest_ = other.projectRootRequest_ != null ? other.projectRootRequest_.Clone() : null;
+ projectRootResponse_ = other.projectRootResponse_ != null ? other.projectRootResponse_.Clone() : null;
+ installationRootRequest_ = other.installationRootRequest_ != null ? other.installationRootRequest_.Clone() : null;
+ installationRootResponse_ = other.installationRootResponse_ != null ? other.installationRootResponse_.Clone() : null;
+ allStepsRequest_ = other.allStepsRequest_ != null ? other.allStepsRequest_.Clone() : null;
+ allStepsResponse_ = other.allStepsResponse_ != null ? other.allStepsResponse_.Clone() : null;
+ specsRequest_ = other.specsRequest_ != null ? other.specsRequest_.Clone() : null;
+ specsResponse_ = other.specsResponse_ != null ? other.specsResponse_.Clone() : null;
+ stepValueRequest_ = other.stepValueRequest_ != null ? other.stepValueRequest_.Clone() : null;
+ stepValueResponse_ = other.stepValueResponse_ != null ? other.stepValueResponse_.Clone() : null;
+ libPathRequest_ = other.libPathRequest_ != null ? other.libPathRequest_.Clone() : null;
+ libPathResponse_ = other.libPathResponse_ != null ? other.libPathResponse_.Clone() : null;
+ error_ = other.error_ != null ? other.error_.Clone() : null;
+ allConceptsRequest_ = other.allConceptsRequest_ != null ? other.allConceptsRequest_.Clone() : null;
+ allConceptsResponse_ = other.allConceptsResponse_ != null ? other.allConceptsResponse_.Clone() : null;
+ performRefactoringRequest_ = other.performRefactoringRequest_ != null ? other.performRefactoringRequest_.Clone() : null;
+ performRefactoringResponse_ = other.performRefactoringResponse_ != null ? other.performRefactoringResponse_.Clone() : null;
+ extractConceptRequest_ = other.extractConceptRequest_ != null ? other.extractConceptRequest_.Clone() : null;
+ extractConceptResponse_ = other.extractConceptResponse_ != null ? other.extractConceptResponse_.Clone() : null;
+ formatSpecsRequest_ = other.formatSpecsRequest_ != null ? other.formatSpecsRequest_.Clone() : null;
+ formatSpecsResponse_ = other.formatSpecsResponse_ != null ? other.formatSpecsResponse_.Clone() : null;
+ unsupportedApiMessageResponse_ = other.unsupportedApiMessageResponse_ != null ? other.unsupportedApiMessageResponse_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public APIMessage Clone() {
+ return new APIMessage(this);
+ }
+
+ /// Field number for the "messageType" field.
+ public const int MessageTypeFieldNumber = 1;
+ private global::Gauge.Messages.APIMessage.Types.APIMessageType messageType_ = global::Gauge.Messages.APIMessage.Types.APIMessageType.GetProjectRootRequest;
+ ///
+ //// Type of API call being made
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.APIMessage.Types.APIMessageType MessageType {
+ get { return messageType_; }
+ set {
+ messageType_ = value;
+ }
+ }
+
+ /// Field number for the "messageId" field.
+ public const int MessageIdFieldNumber = 2;
+ private long messageId_;
+ ///
+ //// A unique id to represent this message. A response to the message should copy over this value.
+ //// This is used to synchronize messages & responses
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long MessageId {
+ get { return messageId_; }
+ set {
+ messageId_ = value;
+ }
+ }
+
+ /// Field number for the "projectRootRequest" field.
+ public const int ProjectRootRequestFieldNumber = 3;
+ private global::Gauge.Messages.GetProjectRootRequest projectRootRequest_;
+ ///
+ //// [GetProjectRootRequest](#gauge.messages.GetProjectRootRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetProjectRootRequest ProjectRootRequest {
+ get { return projectRootRequest_; }
+ set {
+ projectRootRequest_ = value;
+ }
+ }
+
+ /// Field number for the "projectRootResponse" field.
+ public const int ProjectRootResponseFieldNumber = 4;
+ private global::Gauge.Messages.GetProjectRootResponse projectRootResponse_;
+ ///
+ //// [GetProjectRootResponse](#gauge.messages.GetProjectRootResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetProjectRootResponse ProjectRootResponse {
+ get { return projectRootResponse_; }
+ set {
+ projectRootResponse_ = value;
+ }
+ }
+
+ /// Field number for the "installationRootRequest" field.
+ public const int InstallationRootRequestFieldNumber = 5;
+ private global::Gauge.Messages.GetInstallationRootRequest installationRootRequest_;
+ ///
+ //// [GetInstallationRootRequest](#gauge.messages.GetInstallationRootRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetInstallationRootRequest InstallationRootRequest {
+ get { return installationRootRequest_; }
+ set {
+ installationRootRequest_ = value;
+ }
+ }
+
+ /// Field number for the "installationRootResponse" field.
+ public const int InstallationRootResponseFieldNumber = 6;
+ private global::Gauge.Messages.GetInstallationRootResponse installationRootResponse_;
+ ///
+ //// [GetInstallationRootResponse](#gauge.messages.GetInstallationRootResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetInstallationRootResponse InstallationRootResponse {
+ get { return installationRootResponse_; }
+ set {
+ installationRootResponse_ = value;
+ }
+ }
+
+ /// Field number for the "allStepsRequest" field.
+ public const int AllStepsRequestFieldNumber = 7;
+ private global::Gauge.Messages.GetAllStepsRequest allStepsRequest_;
+ ///
+ //// [GetAllStepsRequest](#gauge.messages.GetAllStepsRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetAllStepsRequest AllStepsRequest {
+ get { return allStepsRequest_; }
+ set {
+ allStepsRequest_ = value;
+ }
+ }
+
+ /// Field number for the "allStepsResponse" field.
+ public const int AllStepsResponseFieldNumber = 8;
+ private global::Gauge.Messages.GetAllStepsResponse allStepsResponse_;
+ ///
+ //// [GetAllStepsResponse](#gauge.messages.GetAllStepsResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetAllStepsResponse AllStepsResponse {
+ get { return allStepsResponse_; }
+ set {
+ allStepsResponse_ = value;
+ }
+ }
+
+ /// Field number for the "specsRequest" field.
+ public const int SpecsRequestFieldNumber = 9;
+ private global::Gauge.Messages.SpecsRequest specsRequest_;
+ ///
+ //// [GetAllSpecsRequest](#gauge.messages.GetAllSpecsRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.SpecsRequest SpecsRequest {
+ get { return specsRequest_; }
+ set {
+ specsRequest_ = value;
+ }
+ }
+
+ /// Field number for the "specsResponse" field.
+ public const int SpecsResponseFieldNumber = 10;
+ private global::Gauge.Messages.SpecsResponse specsResponse_;
+ ///
+ //// [GetAllSpecsResponse](#gauge.messages.GetAllSpecsResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.SpecsResponse SpecsResponse {
+ get { return specsResponse_; }
+ set {
+ specsResponse_ = value;
+ }
+ }
+
+ /// Field number for the "stepValueRequest" field.
+ public const int StepValueRequestFieldNumber = 11;
+ private global::Gauge.Messages.GetStepValueRequest stepValueRequest_;
+ ///
+ //// [GetStepValueRequest](#gauge.messages.GetStepValueRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetStepValueRequest StepValueRequest {
+ get { return stepValueRequest_; }
+ set {
+ stepValueRequest_ = value;
+ }
+ }
+
+ /// Field number for the "stepValueResponse" field.
+ public const int StepValueResponseFieldNumber = 12;
+ private global::Gauge.Messages.GetStepValueResponse stepValueResponse_;
+ ///
+ //// [GetStepValueResponse](#gauge.messages.GetStepValueResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetStepValueResponse StepValueResponse {
+ get { return stepValueResponse_; }
+ set {
+ stepValueResponse_ = value;
+ }
+ }
+
+ /// Field number for the "libPathRequest" field.
+ public const int LibPathRequestFieldNumber = 13;
+ private global::Gauge.Messages.GetLanguagePluginLibPathRequest libPathRequest_;
+ ///
+ //// [GetLanguagePluginLibPathRequest](#gauge.messages.GetLanguagePluginLibPathRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetLanguagePluginLibPathRequest LibPathRequest {
+ get { return libPathRequest_; }
+ set {
+ libPathRequest_ = value;
+ }
+ }
+
+ /// Field number for the "libPathResponse" field.
+ public const int LibPathResponseFieldNumber = 14;
+ private global::Gauge.Messages.GetLanguagePluginLibPathResponse libPathResponse_;
+ ///
+ //// [GetLanguagePluginLibPathResponse](#gauge.messages.GetLanguagePluginLibPathResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetLanguagePluginLibPathResponse LibPathResponse {
+ get { return libPathResponse_; }
+ set {
+ libPathResponse_ = value;
+ }
+ }
+
+ /// Field number for the "error" field.
+ public const int ErrorFieldNumber = 15;
+ private global::Gauge.Messages.ErrorResponse error_;
+ ///
+ //// [ErrorResponse](#gauge.messages.ErrorResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.ErrorResponse Error {
+ get { return error_; }
+ set {
+ error_ = value;
+ }
+ }
+
+ /// Field number for the "allConceptsRequest" field.
+ public const int AllConceptsRequestFieldNumber = 16;
+ private global::Gauge.Messages.GetAllConceptsRequest allConceptsRequest_;
+ ///
+ //// [GetAllConceptsRequest](#gauge.messages.GetAllConceptsRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetAllConceptsRequest AllConceptsRequest {
+ get { return allConceptsRequest_; }
+ set {
+ allConceptsRequest_ = value;
+ }
+ }
+
+ /// Field number for the "allConceptsResponse" field.
+ public const int AllConceptsResponseFieldNumber = 17;
+ private global::Gauge.Messages.GetAllConceptsResponse allConceptsResponse_;
+ ///
+ //// [GetAllConceptsResponse](#gauge.messages.GetAllConceptsResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.GetAllConceptsResponse AllConceptsResponse {
+ get { return allConceptsResponse_; }
+ set {
+ allConceptsResponse_ = value;
+ }
+ }
+
+ /// Field number for the "performRefactoringRequest" field.
+ public const int PerformRefactoringRequestFieldNumber = 18;
+ private global::Gauge.Messages.PerformRefactoringRequest performRefactoringRequest_;
+ ///
+ //// [PerformRefactoringRequest](#gauge.messages.PerformRefactoringRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.PerformRefactoringRequest PerformRefactoringRequest {
+ get { return performRefactoringRequest_; }
+ set {
+ performRefactoringRequest_ = value;
+ }
+ }
+
+ /// Field number for the "performRefactoringResponse" field.
+ public const int PerformRefactoringResponseFieldNumber = 19;
+ private global::Gauge.Messages.PerformRefactoringResponse performRefactoringResponse_;
+ ///
+ //// [PerformRefactoringResponse](#gauge.messages.PerformRefactoringResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.PerformRefactoringResponse PerformRefactoringResponse {
+ get { return performRefactoringResponse_; }
+ set {
+ performRefactoringResponse_ = value;
+ }
+ }
+
+ /// Field number for the "extractConceptRequest" field.
+ public const int ExtractConceptRequestFieldNumber = 20;
+ private global::Gauge.Messages.ExtractConceptRequest extractConceptRequest_;
+ ///
+ //// [ExtractConceptRequest](#gauge.messages.ExtractConceptRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.ExtractConceptRequest ExtractConceptRequest {
+ get { return extractConceptRequest_; }
+ set {
+ extractConceptRequest_ = value;
+ }
+ }
+
+ /// Field number for the "extractConceptResponse" field.
+ public const int ExtractConceptResponseFieldNumber = 21;
+ private global::Gauge.Messages.ExtractConceptResponse extractConceptResponse_;
+ ///
+ //// [ExtractConceptResponse](#gauge.messages.ExtractConceptResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.ExtractConceptResponse ExtractConceptResponse {
+ get { return extractConceptResponse_; }
+ set {
+ extractConceptResponse_ = value;
+ }
+ }
+
+ /// Field number for the "formatSpecsRequest" field.
+ public const int FormatSpecsRequestFieldNumber = 22;
+ private global::Gauge.Messages.FormatSpecsRequest formatSpecsRequest_;
+ ///
+ //// [FormatSpecsRequest] (#gauge.messages.FormatSpecsRequest)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.FormatSpecsRequest FormatSpecsRequest {
+ get { return formatSpecsRequest_; }
+ set {
+ formatSpecsRequest_ = value;
+ }
+ }
+
+ /// Field number for the "formatSpecsResponse" field.
+ public const int FormatSpecsResponseFieldNumber = 23;
+ private global::Gauge.Messages.FormatSpecsResponse formatSpecsResponse_;
+ ///
+ //// [FormatSpecsResponse] (#gauge.messages.FormatSpecsResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.FormatSpecsResponse FormatSpecsResponse {
+ get { return formatSpecsResponse_; }
+ set {
+ formatSpecsResponse_ = value;
+ }
+ }
+
+ /// Field number for the "unsupportedApiMessageResponse" field.
+ public const int UnsupportedApiMessageResponseFieldNumber = 24;
+ private global::Gauge.Messages.UnsupportedApiMessageResponse unsupportedApiMessageResponse_;
+ ///
+ //// [UnsupportedApiMessageResponse] (#gauge.messages.UnsupportedApiMessageResponse)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Gauge.Messages.UnsupportedApiMessageResponse UnsupportedApiMessageResponse {
+ get { return unsupportedApiMessageResponse_; }
+ set {
+ unsupportedApiMessageResponse_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as APIMessage);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(APIMessage other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (MessageType != other.MessageType) return false;
+ if (MessageId != other.MessageId) return false;
+ if (!object.Equals(ProjectRootRequest, other.ProjectRootRequest)) return false;
+ if (!object.Equals(ProjectRootResponse, other.ProjectRootResponse)) return false;
+ if (!object.Equals(InstallationRootRequest, other.InstallationRootRequest)) return false;
+ if (!object.Equals(InstallationRootResponse, other.InstallationRootResponse)) return false;
+ if (!object.Equals(AllStepsRequest, other.AllStepsRequest)) return false;
+ if (!object.Equals(AllStepsResponse, other.AllStepsResponse)) return false;
+ if (!object.Equals(SpecsRequest, other.SpecsRequest)) return false;
+ if (!object.Equals(SpecsResponse, other.SpecsResponse)) return false;
+ if (!object.Equals(StepValueRequest, other.StepValueRequest)) return false;
+ if (!object.Equals(StepValueResponse, other.StepValueResponse)) return false;
+ if (!object.Equals(LibPathRequest, other.LibPathRequest)) return false;
+ if (!object.Equals(LibPathResponse, other.LibPathResponse)) return false;
+ if (!object.Equals(Error, other.Error)) return false;
+ if (!object.Equals(AllConceptsRequest, other.AllConceptsRequest)) return false;
+ if (!object.Equals(AllConceptsResponse, other.AllConceptsResponse)) return false;
+ if (!object.Equals(PerformRefactoringRequest, other.PerformRefactoringRequest)) return false;
+ if (!object.Equals(PerformRefactoringResponse, other.PerformRefactoringResponse)) return false;
+ if (!object.Equals(ExtractConceptRequest, other.ExtractConceptRequest)) return false;
+ if (!object.Equals(ExtractConceptResponse, other.ExtractConceptResponse)) return false;
+ if (!object.Equals(FormatSpecsRequest, other.FormatSpecsRequest)) return false;
+ if (!object.Equals(FormatSpecsResponse, other.FormatSpecsResponse)) return false;
+ if (!object.Equals(UnsupportedApiMessageResponse, other.UnsupportedApiMessageResponse)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (MessageType != global::Gauge.Messages.APIMessage.Types.APIMessageType.GetProjectRootRequest) hash ^= MessageType.GetHashCode();
+ if (MessageId != 0L) hash ^= MessageId.GetHashCode();
+ if (projectRootRequest_ != null) hash ^= ProjectRootRequest.GetHashCode();
+ if (projectRootResponse_ != null) hash ^= ProjectRootResponse.GetHashCode();
+ if (installationRootRequest_ != null) hash ^= InstallationRootRequest.GetHashCode();
+ if (installationRootResponse_ != null) hash ^= InstallationRootResponse.GetHashCode();
+ if (allStepsRequest_ != null) hash ^= AllStepsRequest.GetHashCode();
+ if (allStepsResponse_ != null) hash ^= AllStepsResponse.GetHashCode();
+ if (specsRequest_ != null) hash ^= SpecsRequest.GetHashCode();
+ if (specsResponse_ != null) hash ^= SpecsResponse.GetHashCode();
+ if (stepValueRequest_ != null) hash ^= StepValueRequest.GetHashCode();
+ if (stepValueResponse_ != null) hash ^= StepValueResponse.GetHashCode();
+ if (libPathRequest_ != null) hash ^= LibPathRequest.GetHashCode();
+ if (libPathResponse_ != null) hash ^= LibPathResponse.GetHashCode();
+ if (error_ != null) hash ^= Error.GetHashCode();
+ if (allConceptsRequest_ != null) hash ^= AllConceptsRequest.GetHashCode();
+ if (allConceptsResponse_ != null) hash ^= AllConceptsResponse.GetHashCode();
+ if (performRefactoringRequest_ != null) hash ^= PerformRefactoringRequest.GetHashCode();
+ if (performRefactoringResponse_ != null) hash ^= PerformRefactoringResponse.GetHashCode();
+ if (extractConceptRequest_ != null) hash ^= ExtractConceptRequest.GetHashCode();
+ if (extractConceptResponse_ != null) hash ^= ExtractConceptResponse.GetHashCode();
+ if (formatSpecsRequest_ != null) hash ^= FormatSpecsRequest.GetHashCode();
+ if (formatSpecsResponse_ != null) hash ^= FormatSpecsResponse.GetHashCode();
+ if (unsupportedApiMessageResponse_ != null) hash ^= UnsupportedApiMessageResponse.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (MessageType != global::Gauge.Messages.APIMessage.Types.APIMessageType.GetProjectRootRequest) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) MessageType);
+ }
+ if (MessageId != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(MessageId);
+ }
+ if (projectRootRequest_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(ProjectRootRequest);
+ }
+ if (projectRootResponse_ != null) {
+ output.WriteRawTag(34);
+ output.WriteMessage(ProjectRootResponse);
+ }
+ if (installationRootRequest_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(InstallationRootRequest);
+ }
+ if (installationRootResponse_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(InstallationRootResponse);
+ }
+ if (allStepsRequest_ != null) {
+ output.WriteRawTag(58);
+ output.WriteMessage(AllStepsRequest);
+ }
+ if (allStepsResponse_ != null) {
+ output.WriteRawTag(66);
+ output.WriteMessage(AllStepsResponse);
+ }
+ if (specsRequest_ != null) {
+ output.WriteRawTag(74);
+ output.WriteMessage(SpecsRequest);
+ }
+ if (specsResponse_ != null) {
+ output.WriteRawTag(82);
+ output.WriteMessage(SpecsResponse);
+ }
+ if (stepValueRequest_ != null) {
+ output.WriteRawTag(90);
+ output.WriteMessage(StepValueRequest);
+ }
+ if (stepValueResponse_ != null) {
+ output.WriteRawTag(98);
+ output.WriteMessage(StepValueResponse);
+ }
+ if (libPathRequest_ != null) {
+ output.WriteRawTag(106);
+ output.WriteMessage(LibPathRequest);
+ }
+ if (libPathResponse_ != null) {
+ output.WriteRawTag(114);
+ output.WriteMessage(LibPathResponse);
+ }
+ if (error_ != null) {
+ output.WriteRawTag(122);
+ output.WriteMessage(Error);
+ }
+ if (allConceptsRequest_ != null) {
+ output.WriteRawTag(130, 1);
+ output.WriteMessage(AllConceptsRequest);
+ }
+ if (allConceptsResponse_ != null) {
+ output.WriteRawTag(138, 1);
+ output.WriteMessage(AllConceptsResponse);
+ }
+ if (performRefactoringRequest_ != null) {
+ output.WriteRawTag(146, 1);
+ output.WriteMessage(PerformRefactoringRequest);
+ }
+ if (performRefactoringResponse_ != null) {
+ output.WriteRawTag(154, 1);
+ output.WriteMessage(PerformRefactoringResponse);
+ }
+ if (extractConceptRequest_ != null) {
+ output.WriteRawTag(162, 1);
+ output.WriteMessage(ExtractConceptRequest);
+ }
+ if (extractConceptResponse_ != null) {
+ output.WriteRawTag(170, 1);
+ output.WriteMessage(ExtractConceptResponse);
+ }
+ if (formatSpecsRequest_ != null) {
+ output.WriteRawTag(178, 1);
+ output.WriteMessage(FormatSpecsRequest);
+ }
+ if (formatSpecsResponse_ != null) {
+ output.WriteRawTag(186, 1);
+ output.WriteMessage(FormatSpecsResponse);
+ }
+ if (unsupportedApiMessageResponse_ != null) {
+ output.WriteRawTag(194, 1);
+ output.WriteMessage(UnsupportedApiMessageResponse);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (MessageType != global::Gauge.Messages.APIMessage.Types.APIMessageType.GetProjectRootRequest) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) MessageType);
+ }
+ if (MessageId != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(MessageId);
+ }
+ if (projectRootRequest_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(ProjectRootRequest);
+ }
+ if (projectRootResponse_ != null) {
+ output.WriteRawTag(34);
+ output.WriteMessage(ProjectRootResponse);
+ }
+ if (installationRootRequest_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(InstallationRootRequest);
+ }
+ if (installationRootResponse_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(InstallationRootResponse);
+ }
+ if (allStepsRequest_ != null) {
+ output.WriteRawTag(58);
+ output.WriteMessage(AllStepsRequest);
+ }
+ if (allStepsResponse_ != null) {
+ output.WriteRawTag(66);
+ output.WriteMessage(AllStepsResponse);
+ }
+ if (specsRequest_ != null) {
+ output.WriteRawTag(74);
+ output.WriteMessage(SpecsRequest);
+ }
+ if (specsResponse_ != null) {
+ output.WriteRawTag(82);
+ output.WriteMessage(SpecsResponse);
+ }
+ if (stepValueRequest_ != null) {
+ output.WriteRawTag(90);
+ output.WriteMessage(StepValueRequest);
+ }
+ if (stepValueResponse_ != null) {
+ output.WriteRawTag(98);
+ output.WriteMessage(StepValueResponse);
+ }
+ if (libPathRequest_ != null) {
+ output.WriteRawTag(106);
+ output.WriteMessage(LibPathRequest);
+ }
+ if (libPathResponse_ != null) {
+ output.WriteRawTag(114);
+ output.WriteMessage(LibPathResponse);
+ }
+ if (error_ != null) {
+ output.WriteRawTag(122);
+ output.WriteMessage(Error);
+ }
+ if (allConceptsRequest_ != null) {
+ output.WriteRawTag(130, 1);
+ output.WriteMessage(AllConceptsRequest);
+ }
+ if (allConceptsResponse_ != null) {
+ output.WriteRawTag(138, 1);
+ output.WriteMessage(AllConceptsResponse);
+ }
+ if (performRefactoringRequest_ != null) {
+ output.WriteRawTag(146, 1);
+ output.WriteMessage(PerformRefactoringRequest);
+ }
+ if (performRefactoringResponse_ != null) {
+ output.WriteRawTag(154, 1);
+ output.WriteMessage(PerformRefactoringResponse);
+ }
+ if (extractConceptRequest_ != null) {
+ output.WriteRawTag(162, 1);
+ output.WriteMessage(ExtractConceptRequest);
+ }
+ if (extractConceptResponse_ != null) {
+ output.WriteRawTag(170, 1);
+ output.WriteMessage(ExtractConceptResponse);
+ }
+ if (formatSpecsRequest_ != null) {
+ output.WriteRawTag(178, 1);
+ output.WriteMessage(FormatSpecsRequest);
+ }
+ if (formatSpecsResponse_ != null) {
+ output.WriteRawTag(186, 1);
+ output.WriteMessage(FormatSpecsResponse);
+ }
+ if (unsupportedApiMessageResponse_ != null) {
+ output.WriteRawTag(194, 1);
+ output.WriteMessage(UnsupportedApiMessageResponse);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (MessageType != global::Gauge.Messages.APIMessage.Types.APIMessageType.GetProjectRootRequest) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MessageType);
+ }
+ if (MessageId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(MessageId);
+ }
+ if (projectRootRequest_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProjectRootRequest);
+ }
+ if (projectRootResponse_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProjectRootResponse);
+ }
+ if (installationRootRequest_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(InstallationRootRequest);
+ }
+ if (installationRootResponse_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(InstallationRootResponse);
+ }
+ if (allStepsRequest_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllStepsRequest);
+ }
+ if (allStepsResponse_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllStepsResponse);
+ }
+ if (specsRequest_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpecsRequest);
+ }
+ if (specsResponse_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpecsResponse);
+ }
+ if (stepValueRequest_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepValueRequest);
+ }
+ if (stepValueResponse_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepValueResponse);
+ }
+ if (libPathRequest_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(LibPathRequest);
+ }
+ if (libPathResponse_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(LibPathResponse);
+ }
+ if (error_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Error);
+ }
+ if (allConceptsRequest_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(AllConceptsRequest);
+ }
+ if (allConceptsResponse_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(AllConceptsResponse);
+ }
+ if (performRefactoringRequest_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(PerformRefactoringRequest);
+ }
+ if (performRefactoringResponse_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(PerformRefactoringResponse);
+ }
+ if (extractConceptRequest_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(ExtractConceptRequest);
+ }
+ if (extractConceptResponse_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(ExtractConceptResponse);
+ }
+ if (formatSpecsRequest_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(FormatSpecsRequest);
+ }
+ if (formatSpecsResponse_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(FormatSpecsResponse);
+ }
+ if (unsupportedApiMessageResponse_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnsupportedApiMessageResponse);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(APIMessage other) {
+ if (other == null) {
+ return;
+ }
+ if (other.MessageType != global::Gauge.Messages.APIMessage.Types.APIMessageType.GetProjectRootRequest) {
+ MessageType = other.MessageType;
+ }
+ if (other.MessageId != 0L) {
+ MessageId = other.MessageId;
+ }
+ if (other.projectRootRequest_ != null) {
+ if (projectRootRequest_ == null) {
+ ProjectRootRequest = new global::Gauge.Messages.GetProjectRootRequest();
+ }
+ ProjectRootRequest.MergeFrom(other.ProjectRootRequest);
+ }
+ if (other.projectRootResponse_ != null) {
+ if (projectRootResponse_ == null) {
+ ProjectRootResponse = new global::Gauge.Messages.GetProjectRootResponse();
+ }
+ ProjectRootResponse.MergeFrom(other.ProjectRootResponse);
+ }
+ if (other.installationRootRequest_ != null) {
+ if (installationRootRequest_ == null) {
+ InstallationRootRequest = new global::Gauge.Messages.GetInstallationRootRequest();
+ }
+ InstallationRootRequest.MergeFrom(other.InstallationRootRequest);
+ }
+ if (other.installationRootResponse_ != null) {
+ if (installationRootResponse_ == null) {
+ InstallationRootResponse = new global::Gauge.Messages.GetInstallationRootResponse();
+ }
+ InstallationRootResponse.MergeFrom(other.InstallationRootResponse);
+ }
+ if (other.allStepsRequest_ != null) {
+ if (allStepsRequest_ == null) {
+ AllStepsRequest = new global::Gauge.Messages.GetAllStepsRequest();
+ }
+ AllStepsRequest.MergeFrom(other.AllStepsRequest);
+ }
+ if (other.allStepsResponse_ != null) {
+ if (allStepsResponse_ == null) {
+ AllStepsResponse = new global::Gauge.Messages.GetAllStepsResponse();
+ }
+ AllStepsResponse.MergeFrom(other.AllStepsResponse);
+ }
+ if (other.specsRequest_ != null) {
+ if (specsRequest_ == null) {
+ SpecsRequest = new global::Gauge.Messages.SpecsRequest();
+ }
+ SpecsRequest.MergeFrom(other.SpecsRequest);
+ }
+ if (other.specsResponse_ != null) {
+ if (specsResponse_ == null) {
+ SpecsResponse = new global::Gauge.Messages.SpecsResponse();
+ }
+ SpecsResponse.MergeFrom(other.SpecsResponse);
+ }
+ if (other.stepValueRequest_ != null) {
+ if (stepValueRequest_ == null) {
+ StepValueRequest = new global::Gauge.Messages.GetStepValueRequest();
+ }
+ StepValueRequest.MergeFrom(other.StepValueRequest);
+ }
+ if (other.stepValueResponse_ != null) {
+ if (stepValueResponse_ == null) {
+ StepValueResponse = new global::Gauge.Messages.GetStepValueResponse();
+ }
+ StepValueResponse.MergeFrom(other.StepValueResponse);
+ }
+ if (other.libPathRequest_ != null) {
+ if (libPathRequest_ == null) {
+ LibPathRequest = new global::Gauge.Messages.GetLanguagePluginLibPathRequest();
+ }
+ LibPathRequest.MergeFrom(other.LibPathRequest);
+ }
+ if (other.libPathResponse_ != null) {
+ if (libPathResponse_ == null) {
+ LibPathResponse = new global::Gauge.Messages.GetLanguagePluginLibPathResponse();
+ }
+ LibPathResponse.MergeFrom(other.LibPathResponse);
+ }
+ if (other.error_ != null) {
+ if (error_ == null) {
+ Error = new global::Gauge.Messages.ErrorResponse();
+ }
+ Error.MergeFrom(other.Error);
+ }
+ if (other.allConceptsRequest_ != null) {
+ if (allConceptsRequest_ == null) {
+ AllConceptsRequest = new global::Gauge.Messages.GetAllConceptsRequest();
+ }
+ AllConceptsRequest.MergeFrom(other.AllConceptsRequest);
+ }
+ if (other.allConceptsResponse_ != null) {
+ if (allConceptsResponse_ == null) {
+ AllConceptsResponse = new global::Gauge.Messages.GetAllConceptsResponse();
+ }
+ AllConceptsResponse.MergeFrom(other.AllConceptsResponse);
+ }
+ if (other.performRefactoringRequest_ != null) {
+ if (performRefactoringRequest_ == null) {
+ PerformRefactoringRequest = new global::Gauge.Messages.PerformRefactoringRequest();
+ }
+ PerformRefactoringRequest.MergeFrom(other.PerformRefactoringRequest);
+ }
+ if (other.performRefactoringResponse_ != null) {
+ if (performRefactoringResponse_ == null) {
+ PerformRefactoringResponse = new global::Gauge.Messages.PerformRefactoringResponse();
+ }
+ PerformRefactoringResponse.MergeFrom(other.PerformRefactoringResponse);
+ }
+ if (other.extractConceptRequest_ != null) {
+ if (extractConceptRequest_ == null) {
+ ExtractConceptRequest = new global::Gauge.Messages.ExtractConceptRequest();
+ }
+ ExtractConceptRequest.MergeFrom(other.ExtractConceptRequest);
+ }
+ if (other.extractConceptResponse_ != null) {
+ if (extractConceptResponse_ == null) {
+ ExtractConceptResponse = new global::Gauge.Messages.ExtractConceptResponse();
+ }
+ ExtractConceptResponse.MergeFrom(other.ExtractConceptResponse);
+ }
+ if (other.formatSpecsRequest_ != null) {
+ if (formatSpecsRequest_ == null) {
+ FormatSpecsRequest = new global::Gauge.Messages.FormatSpecsRequest();
+ }
+ FormatSpecsRequest.MergeFrom(other.FormatSpecsRequest);
+ }
+ if (other.formatSpecsResponse_ != null) {
+ if (formatSpecsResponse_ == null) {
+ FormatSpecsResponse = new global::Gauge.Messages.FormatSpecsResponse();
+ }
+ FormatSpecsResponse.MergeFrom(other.FormatSpecsResponse);
+ }
+ if (other.unsupportedApiMessageResponse_ != null) {
+ if (unsupportedApiMessageResponse_ == null) {
+ UnsupportedApiMessageResponse = new global::Gauge.Messages.UnsupportedApiMessageResponse();
+ }
+ UnsupportedApiMessageResponse.MergeFrom(other.UnsupportedApiMessageResponse);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ MessageType = (global::Gauge.Messages.APIMessage.Types.APIMessageType) input.ReadEnum();
+ break;
+ }
+ case 16: {
+ MessageId = input.ReadInt64();
+ break;
+ }
+ case 26: {
+ if (projectRootRequest_ == null) {
+ ProjectRootRequest = new global::Gauge.Messages.GetProjectRootRequest();
+ }
+ input.ReadMessage(ProjectRootRequest);
+ break;
+ }
+ case 34: {
+ if (projectRootResponse_ == null) {
+ ProjectRootResponse = new global::Gauge.Messages.GetProjectRootResponse();
+ }
+ input.ReadMessage(ProjectRootResponse);
+ break;
+ }
+ case 42: {
+ if (installationRootRequest_ == null) {
+ InstallationRootRequest = new global::Gauge.Messages.GetInstallationRootRequest();
+ }
+ input.ReadMessage(InstallationRootRequest);
+ break;
+ }
+ case 50: {
+ if (installationRootResponse_ == null) {
+ InstallationRootResponse = new global::Gauge.Messages.GetInstallationRootResponse();
+ }
+ input.ReadMessage(InstallationRootResponse);
+ break;
+ }
+ case 58: {
+ if (allStepsRequest_ == null) {
+ AllStepsRequest = new global::Gauge.Messages.GetAllStepsRequest();
+ }
+ input.ReadMessage(AllStepsRequest);
+ break;
+ }
+ case 66: {
+ if (allStepsResponse_ == null) {
+ AllStepsResponse = new global::Gauge.Messages.GetAllStepsResponse();
+ }
+ input.ReadMessage(AllStepsResponse);
+ break;
+ }
+ case 74: {
+ if (specsRequest_ == null) {
+ SpecsRequest = new global::Gauge.Messages.SpecsRequest();
+ }
+ input.ReadMessage(SpecsRequest);
+ break;
+ }
+ case 82: {
+ if (specsResponse_ == null) {
+ SpecsResponse = new global::Gauge.Messages.SpecsResponse();
+ }
+ input.ReadMessage(SpecsResponse);
+ break;
+ }
+ case 90: {
+ if (stepValueRequest_ == null) {
+ StepValueRequest = new global::Gauge.Messages.GetStepValueRequest();
+ }
+ input.ReadMessage(StepValueRequest);
+ break;
+ }
+ case 98: {
+ if (stepValueResponse_ == null) {
+ StepValueResponse = new global::Gauge.Messages.GetStepValueResponse();
+ }
+ input.ReadMessage(StepValueResponse);
+ break;
+ }
+ case 106: {
+ if (libPathRequest_ == null) {
+ LibPathRequest = new global::Gauge.Messages.GetLanguagePluginLibPathRequest();
+ }
+ input.ReadMessage(LibPathRequest);
+ break;
+ }
+ case 114: {
+ if (libPathResponse_ == null) {
+ LibPathResponse = new global::Gauge.Messages.GetLanguagePluginLibPathResponse();
+ }
+ input.ReadMessage(LibPathResponse);
+ break;
+ }
+ case 122: {
+ if (error_ == null) {
+ Error = new global::Gauge.Messages.ErrorResponse();
+ }
+ input.ReadMessage(Error);
+ break;
+ }
+ case 130: {
+ if (allConceptsRequest_ == null) {
+ AllConceptsRequest = new global::Gauge.Messages.GetAllConceptsRequest();
+ }
+ input.ReadMessage(AllConceptsRequest);
+ break;
+ }
+ case 138: {
+ if (allConceptsResponse_ == null) {
+ AllConceptsResponse = new global::Gauge.Messages.GetAllConceptsResponse();
+ }
+ input.ReadMessage(AllConceptsResponse);
+ break;
+ }
+ case 146: {
+ if (performRefactoringRequest_ == null) {
+ PerformRefactoringRequest = new global::Gauge.Messages.PerformRefactoringRequest();
+ }
+ input.ReadMessage(PerformRefactoringRequest);
+ break;
+ }
+ case 154: {
+ if (performRefactoringResponse_ == null) {
+ PerformRefactoringResponse = new global::Gauge.Messages.PerformRefactoringResponse();
+ }
+ input.ReadMessage(PerformRefactoringResponse);
+ break;
+ }
+ case 162: {
+ if (extractConceptRequest_ == null) {
+ ExtractConceptRequest = new global::Gauge.Messages.ExtractConceptRequest();
+ }
+ input.ReadMessage(ExtractConceptRequest);
+ break;
+ }
+ case 170: {
+ if (extractConceptResponse_ == null) {
+ ExtractConceptResponse = new global::Gauge.Messages.ExtractConceptResponse();
+ }
+ input.ReadMessage(ExtractConceptResponse);
+ break;
+ }
+ case 178: {
+ if (formatSpecsRequest_ == null) {
+ FormatSpecsRequest = new global::Gauge.Messages.FormatSpecsRequest();
+ }
+ input.ReadMessage(FormatSpecsRequest);
+ break;
+ }
+ case 186: {
+ if (formatSpecsResponse_ == null) {
+ FormatSpecsResponse = new global::Gauge.Messages.FormatSpecsResponse();
+ }
+ input.ReadMessage(FormatSpecsResponse);
+ break;
+ }
+ case 194: {
+ if (unsupportedApiMessageResponse_ == null) {
+ UnsupportedApiMessageResponse = new global::Gauge.Messages.UnsupportedApiMessageResponse();
+ }
+ input.ReadMessage(UnsupportedApiMessageResponse);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ MessageType = (global::Gauge.Messages.APIMessage.Types.APIMessageType) input.ReadEnum();
+ break;
+ }
+ case 16: {
+ MessageId = input.ReadInt64();
+ break;
+ }
+ case 26: {
+ if (projectRootRequest_ == null) {
+ ProjectRootRequest = new global::Gauge.Messages.GetProjectRootRequest();
+ }
+ input.ReadMessage(ProjectRootRequest);
+ break;
+ }
+ case 34: {
+ if (projectRootResponse_ == null) {
+ ProjectRootResponse = new global::Gauge.Messages.GetProjectRootResponse();
+ }
+ input.ReadMessage(ProjectRootResponse);
+ break;
+ }
+ case 42: {
+ if (installationRootRequest_ == null) {
+ InstallationRootRequest = new global::Gauge.Messages.GetInstallationRootRequest();
+ }
+ input.ReadMessage(InstallationRootRequest);
+ break;
+ }
+ case 50: {
+ if (installationRootResponse_ == null) {
+ InstallationRootResponse = new global::Gauge.Messages.GetInstallationRootResponse();
+ }
+ input.ReadMessage(InstallationRootResponse);
+ break;
+ }
+ case 58: {
+ if (allStepsRequest_ == null) {
+ AllStepsRequest = new global::Gauge.Messages.GetAllStepsRequest();
+ }
+ input.ReadMessage(AllStepsRequest);
+ break;
+ }
+ case 66: {
+ if (allStepsResponse_ == null) {
+ AllStepsResponse = new global::Gauge.Messages.GetAllStepsResponse();
+ }
+ input.ReadMessage(AllStepsResponse);
+ break;
+ }
+ case 74: {
+ if (specsRequest_ == null) {
+ SpecsRequest = new global::Gauge.Messages.SpecsRequest();
+ }
+ input.ReadMessage(SpecsRequest);
+ break;
+ }
+ case 82: {
+ if (specsResponse_ == null) {
+ SpecsResponse = new global::Gauge.Messages.SpecsResponse();
+ }
+ input.ReadMessage(SpecsResponse);
+ break;
+ }
+ case 90: {
+ if (stepValueRequest_ == null) {
+ StepValueRequest = new global::Gauge.Messages.GetStepValueRequest();
+ }
+ input.ReadMessage(StepValueRequest);
+ break;
+ }
+ case 98: {
+ if (stepValueResponse_ == null) {
+ StepValueResponse = new global::Gauge.Messages.GetStepValueResponse();
+ }
+ input.ReadMessage(StepValueResponse);
+ break;
+ }
+ case 106: {
+ if (libPathRequest_ == null) {
+ LibPathRequest = new global::Gauge.Messages.GetLanguagePluginLibPathRequest();
+ }
+ input.ReadMessage(LibPathRequest);
+ break;
+ }
+ case 114: {
+ if (libPathResponse_ == null) {
+ LibPathResponse = new global::Gauge.Messages.GetLanguagePluginLibPathResponse();
+ }
+ input.ReadMessage(LibPathResponse);
+ break;
+ }
+ case 122: {
+ if (error_ == null) {
+ Error = new global::Gauge.Messages.ErrorResponse();
+ }
+ input.ReadMessage(Error);
+ break;
+ }
+ case 130: {
+ if (allConceptsRequest_ == null) {
+ AllConceptsRequest = new global::Gauge.Messages.GetAllConceptsRequest();
+ }
+ input.ReadMessage(AllConceptsRequest);
+ break;
+ }
+ case 138: {
+ if (allConceptsResponse_ == null) {
+ AllConceptsResponse = new global::Gauge.Messages.GetAllConceptsResponse();
+ }
+ input.ReadMessage(AllConceptsResponse);
+ break;
+ }
+ case 146: {
+ if (performRefactoringRequest_ == null) {
+ PerformRefactoringRequest = new global::Gauge.Messages.PerformRefactoringRequest();
+ }
+ input.ReadMessage(PerformRefactoringRequest);
+ break;
+ }
+ case 154: {
+ if (performRefactoringResponse_ == null) {
+ PerformRefactoringResponse = new global::Gauge.Messages.PerformRefactoringResponse();
+ }
+ input.ReadMessage(PerformRefactoringResponse);
+ break;
+ }
+ case 162: {
+ if (extractConceptRequest_ == null) {
+ ExtractConceptRequest = new global::Gauge.Messages.ExtractConceptRequest();
+ }
+ input.ReadMessage(ExtractConceptRequest);
+ break;
+ }
+ case 170: {
+ if (extractConceptResponse_ == null) {
+ ExtractConceptResponse = new global::Gauge.Messages.ExtractConceptResponse();
+ }
+ input.ReadMessage(ExtractConceptResponse);
+ break;
+ }
+ case 178: {
+ if (formatSpecsRequest_ == null) {
+ FormatSpecsRequest = new global::Gauge.Messages.FormatSpecsRequest();
+ }
+ input.ReadMessage(FormatSpecsRequest);
+ break;
+ }
+ case 186: {
+ if (formatSpecsResponse_ == null) {
+ FormatSpecsResponse = new global::Gauge.Messages.FormatSpecsResponse();
+ }
+ input.ReadMessage(FormatSpecsResponse);
+ break;
+ }
+ case 194: {
+ if (unsupportedApiMessageResponse_ == null) {
+ UnsupportedApiMessageResponse = new global::Gauge.Messages.UnsupportedApiMessageResponse();
+ }
+ input.ReadMessage(UnsupportedApiMessageResponse);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ #region Nested types
+ /// Container for nested types declared in the APIMessage message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static partial class Types {
+ public enum APIMessageType {
+ [pbr::OriginalName("GetProjectRootRequest")] GetProjectRootRequest = 0,
+ [pbr::OriginalName("GetProjectRootResponse")] GetProjectRootResponse = 1,
+ [pbr::OriginalName("GetInstallationRootRequest")] GetInstallationRootRequest = 2,
+ [pbr::OriginalName("GetInstallationRootResponse")] GetInstallationRootResponse = 3,
+ [pbr::OriginalName("GetAllStepsRequest")] GetAllStepsRequest = 4,
+ [pbr::OriginalName("GetAllStepResponse")] GetAllStepResponse = 5,
+ [pbr::OriginalName("SpecsRequest")] SpecsRequest = 6,
+ [pbr::OriginalName("SpecsResponse")] SpecsResponse = 7,
+ [pbr::OriginalName("GetStepValueRequest")] GetStepValueRequest = 8,
+ [pbr::OriginalName("GetStepValueResponse")] GetStepValueResponse = 9,
+ [pbr::OriginalName("GetLanguagePluginLibPathRequest")] GetLanguagePluginLibPathRequest = 10,
+ [pbr::OriginalName("GetLanguagePluginLibPathResponse")] GetLanguagePluginLibPathResponse = 11,
+ [pbr::OriginalName("ErrorResponse")] ErrorResponse = 12,
+ [pbr::OriginalName("GetAllConceptsRequest")] GetAllConceptsRequest = 13,
+ [pbr::OriginalName("GetAllConceptsResponse")] GetAllConceptsResponse = 14,
+ [pbr::OriginalName("PerformRefactoringRequest")] PerformRefactoringRequest = 15,
+ [pbr::OriginalName("PerformRefactoringResponse")] PerformRefactoringResponse = 16,
+ [pbr::OriginalName("ExtractConceptRequest")] ExtractConceptRequest = 17,
+ [pbr::OriginalName("ExtractConceptResponse")] ExtractConceptResponse = 18,
+ [pbr::OriginalName("FormatSpecsRequest")] FormatSpecsRequest = 19,
+ [pbr::OriginalName("FormatSpecsResponse")] FormatSpecsResponse = 20,
+ [pbr::OriginalName("UnsupportedApiMessageResponse")] UnsupportedApiMessageResponse = 21,
+ }
+
+ }
+ #endregion
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/src/Gauge.CSharp.Core/GaugeApiConnection.cs b/src/Gauge.CSharp.Core/GaugeApiConnection.cs
new file mode 100644
index 0000000..716d481
--- /dev/null
+++ b/src/Gauge.CSharp.Core/GaugeApiConnection.cs
@@ -0,0 +1,54 @@
+/*----------------------------------------------------------------
+ * Copyright (c) ThoughtWorks, Inc.
+ * Licensed under the Apache License, Version 2.0
+ * See LICENSE.txt in the project root for license information.
+ *----------------------------------------------------------------*/
+using System.Collections.Generic;
+using System.Linq;
+using Gauge.Messages;
+using Google.Protobuf;
+
+namespace Gauge.CSharp.Core
+{
+ public class GaugeApiConnection : AbstractGaugeConnection, IGaugeApiConnection
+ {
+ public GaugeApiConnection(ITcpClientWrapper clientWrapper) : base(clientWrapper)
+ {
+ }
+
+ public IEnumerable GetStepValues(IEnumerable stepTexts, bool hasInlineTable)
+ {
+ foreach (var stepText in stepTexts)
+ {
+ var stepValueRequest = new GetStepValueRequest
+ {
+ StepText = stepText,
+ HasInlineTable = hasInlineTable
+ };
+ var stepValueRequestMessage = new APIMessage
+ {
+ MessageId = GenerateMessageId(),
+ MessageType = APIMessage.Types.APIMessageType.GetStepValueRequest,
+ StepValueRequest = stepValueRequest
+ };
+ var apiMessage = WriteAndReadApiMessage(stepValueRequestMessage);
+ yield return apiMessage.StepValueResponse.StepValue.StepValue;
+ }
+ }
+
+ public APIMessage WriteAndReadApiMessage(IMessage stepValueRequestMessage)
+ {
+ lock (TcpClientWrapper)
+ {
+ WriteMessage(stepValueRequestMessage);
+ return ReadMessage();
+ }
+ }
+
+ private APIMessage ReadMessage()
+ {
+ var responseBytes = ReadBytes();
+ return APIMessage.Parser.ParseFrom(responseBytes.ToArray());
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Gauge.CSharp.Core/GaugeConnection.cs b/src/Gauge.CSharp.Core/GaugeConnection.cs
new file mode 100644
index 0000000..4b1922f
--- /dev/null
+++ b/src/Gauge.CSharp.Core/GaugeConnection.cs
@@ -0,0 +1,14 @@
+/*----------------------------------------------------------------
+ * Copyright (c) ThoughtWorks, Inc.
+ * Licensed under the Apache License, Version 2.0
+ * See LICENSE.txt in the project root for license information.
+ *----------------------------------------------------------------*/
+namespace Gauge.CSharp.Core
+{
+ public class GaugeConnection : AbstractGaugeConnection
+ {
+ public GaugeConnection(ITcpClientWrapper tcpClientWrapper) : base(tcpClientWrapper)
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Gauge.CSharp.Core/IGaugeApiConnection.cs b/src/Gauge.CSharp.Core/IGaugeApiConnection.cs
new file mode 100644
index 0000000..f2b713b
--- /dev/null
+++ b/src/Gauge.CSharp.Core/IGaugeApiConnection.cs
@@ -0,0 +1,21 @@
+/*----------------------------------------------------------------
+ * Copyright (c) ThoughtWorks, Inc.
+ * Licensed under the Apache License, Version 2.0
+ * See LICENSE.txt in the project root for license information.
+ *----------------------------------------------------------------*/
+using System.Collections.Generic;
+using Gauge.Messages;
+using Google.Protobuf;
+
+namespace Gauge.CSharp.Core
+{
+ public interface IGaugeApiConnection
+ {
+ bool Connected { get; }
+ IEnumerable GetStepValues(IEnumerable stepTexts, bool hasInlineTable);
+ APIMessage WriteAndReadApiMessage(IMessage stepValueRequestMessage);
+ void WriteMessage(IMessage request);
+ IEnumerable ReadBytes();
+ void Dispose();
+ }
+}
\ No newline at end of file
diff --git a/src/Gauge.CSharp.Core/ITcpClientWrapper.cs b/src/Gauge.CSharp.Core/ITcpClientWrapper.cs
new file mode 100644
index 0000000..812743c
--- /dev/null
+++ b/src/Gauge.CSharp.Core/ITcpClientWrapper.cs
@@ -0,0 +1,16 @@
+/*----------------------------------------------------------------
+ * Copyright (c) ThoughtWorks, Inc.
+ * Licensed under the Apache License, Version 2.0
+ * See LICENSE.txt in the project root for license information.
+ *----------------------------------------------------------------*/
+using System.IO;
+
+namespace Gauge.CSharp.Core
+{
+ public interface ITcpClientWrapper
+ {
+ bool Connected { get; }
+ Stream GetStream();
+ void Close();
+ }
+}
\ No newline at end of file
diff --git a/src/Gauge.CSharp.Core/Lsp.cs b/src/Gauge.CSharp.Core/Lsp.cs
new file mode 100644
index 0000000..c46dd2e
--- /dev/null
+++ b/src/Gauge.CSharp.Core/Lsp.cs
@@ -0,0 +1,60 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: lsp.proto
+//
+#pragma warning disable 1591, 0612, 3021, 8981
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Gauge.Messages {
+
+ /// Holder for reflection information generated from lsp.proto
+ public static partial class LspReflection {
+
+ #region Descriptor
+ /// File descriptor for lsp.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static LspReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Cglsc3AucHJvdG8SDmdhdWdlLm1lc3NhZ2VzGg5tZXNzYWdlcy5wcm90bzKc",
+ "BwoKbHNwU2VydmljZRJYCgxHZXRTdGVwTmFtZXMSIC5nYXVnZS5tZXNzYWdl",
+ "cy5TdGVwTmFtZXNSZXF1ZXN0GiEuZ2F1Z2UubWVzc2FnZXMuU3RlcE5hbWVz",
+ "UmVzcG9uc2UiA4gCARJJCglDYWNoZUZpbGUSIC5nYXVnZS5tZXNzYWdlcy5D",
+ "YWNoZUZpbGVSZXF1ZXN0GhUuZ2F1Z2UubWVzc2FnZXMuRW1wdHkiA4gCARJk",
+ "ChBHZXRTdGVwUG9zaXRpb25zEiQuZ2F1Z2UubWVzc2FnZXMuU3RlcFBvc2l0",
+ "aW9uc1JlcXVlc3QaJS5nYXVnZS5tZXNzYWdlcy5TdGVwUG9zaXRpb25zUmVz",
+ "cG9uc2UiA4gCARJkChZHZXRJbXBsZW1lbnRhdGlvbkZpbGVzEhUuZ2F1Z2Uu",
+ "bWVzc2FnZXMuRW1wdHkaLi5nYXVnZS5tZXNzYWdlcy5JbXBsZW1lbnRhdGlv",
+ "bkZpbGVMaXN0UmVzcG9uc2UiA4gCARJdCg1JbXBsZW1lbnRTdHViEi0uZ2F1",
+ "Z2UubWVzc2FnZXMuU3R1YkltcGxlbWVudGF0aW9uQ29kZVJlcXVlc3QaGC5n",
+ "YXVnZS5tZXNzYWdlcy5GaWxlRGlmZiIDiAIBEl4KDFZhbGlkYXRlU3RlcBIj",
+ "LmdhdWdlLm1lc3NhZ2VzLlN0ZXBWYWxpZGF0ZVJlcXVlc3QaJC5nYXVnZS5t",
+ "ZXNzYWdlcy5TdGVwVmFsaWRhdGVSZXNwb25zZSIDiAIBElIKCFJlZmFjdG9y",
+ "Eh8uZ2F1Z2UubWVzc2FnZXMuUmVmYWN0b3JSZXF1ZXN0GiAuZ2F1Z2UubWVz",
+ "c2FnZXMuUmVmYWN0b3JSZXNwb25zZSIDiAIBElUKC0dldFN0ZXBOYW1lEh8u",
+ "Z2F1Z2UubWVzc2FnZXMuU3RlcE5hbWVSZXF1ZXN0GiAuZ2F1Z2UubWVzc2Fn",
+ "ZXMuU3RlcE5hbWVSZXNwb25zZSIDiAIBEmQKD0dldEdsb2JQYXR0ZXJucxIV",
+ "LmdhdWdlLm1lc3NhZ2VzLkVtcHR5GjUuZ2F1Z2UubWVzc2FnZXMuSW1wbGVt",
+ "ZW50YXRpb25GaWxlR2xvYlBhdHRlcm5SZXNwb25zZSIDiAIBEk0KC0tpbGxQ",
+ "cm9jZXNzEiIuZ2F1Z2UubWVzc2FnZXMuS2lsbFByb2Nlc3NSZXF1ZXN0GhUu",
+ "Z2F1Z2UubWVzc2FnZXMuRW1wdHkiA4gCAUJcChZjb20udGhvdWdodHdvcmtz",
+ "LmdhdWdlWjFnaXRodWIuY29tL2dldGdhdWdlL2dhdWdlLXByb3RvL2dvL2dh",
+ "dWdlX21lc3NhZ2VzqgIOR2F1Z2UuTWVzc2FnZXNiBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Gauge.Messages.MessagesReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, null, null));
+ }
+ #endregion
+
+ }
+}
+
+#endregion Designer generated code
diff --git a/src/Gauge.CSharp.Core/LspGrpc.cs b/src/Gauge.CSharp.Core/LspGrpc.cs
new file mode 100644
index 0000000..88ff991
--- /dev/null
+++ b/src/Gauge.CSharp.Core/LspGrpc.cs
@@ -0,0 +1,566 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: lsp.proto
+//
+// Original file comments:
+// ----------------------------------------------------------------
+// Copyright (c) ThoughtWorks, Inc.
+// Licensed under the Apache License, Version 2.0
+// See LICENSE in the project root for license information.
+// ----------------------------------------------------------------
+//
+#pragma warning disable 0414, 1591, 8981, 0612
+#region Designer generated code
+
+using grpc = global::Grpc.Core;
+
+namespace Gauge.Messages {
+ public static partial class lspService
+ {
+ static readonly string __ServiceName = "gauge.messages.lspService";
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
+ {
+ #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
+ if (message is global::Google.Protobuf.IBufferMessage)
+ {
+ context.SetPayloadLength(message.CalculateSize());
+ global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
+ context.Complete();
+ return;
+ }
+ #endif
+ context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static class __Helper_MessageCache
+ {
+ public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage
+ {
+ #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
+ if (__Helper_MessageCache.IsBufferMessage)
+ {
+ return parser.ParseFrom(context.PayloadAsReadOnlySequence());
+ }
+ #endif
+ return parser.ParseFrom(context.PayloadAsNewBuffer());
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StepNamesRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepNamesRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StepNamesResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepNamesResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_CacheFileRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.CacheFileRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_Empty = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.Empty.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StepPositionsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepPositionsRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StepPositionsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepPositionsResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_ImplementationFileListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ImplementationFileListResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StubImplementationCodeRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StubImplementationCodeRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_FileDiff = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.FileDiff.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StepValidateRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepValidateRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StepValidateResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepValidateResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_RefactorRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.RefactorRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_RefactorResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.RefactorResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StepNameRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepNameRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_StepNameResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepNameResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_ImplementationFileGlobPatternResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ImplementationFileGlobPatternResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_gauge_messages_KillProcessRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.KillProcessRequest.Parser));
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_GetStepNames = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "GetStepNames",
+ __Marshaller_gauge_messages_StepNamesRequest,
+ __Marshaller_gauge_messages_StepNamesResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_CacheFile = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "CacheFile",
+ __Marshaller_gauge_messages_CacheFileRequest,
+ __Marshaller_gauge_messages_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_GetStepPositions = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "GetStepPositions",
+ __Marshaller_gauge_messages_StepPositionsRequest,
+ __Marshaller_gauge_messages_StepPositionsResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_GetImplementationFiles = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "GetImplementationFiles",
+ __Marshaller_gauge_messages_Empty,
+ __Marshaller_gauge_messages_ImplementationFileListResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_ImplementStub = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "ImplementStub",
+ __Marshaller_gauge_messages_StubImplementationCodeRequest,
+ __Marshaller_gauge_messages_FileDiff);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_ValidateStep = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "ValidateStep",
+ __Marshaller_gauge_messages_StepValidateRequest,
+ __Marshaller_gauge_messages_StepValidateResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_Refactor = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "Refactor",
+ __Marshaller_gauge_messages_RefactorRequest,
+ __Marshaller_gauge_messages_RefactorResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_GetStepName = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "GetStepName",
+ __Marshaller_gauge_messages_StepNameRequest,
+ __Marshaller_gauge_messages_StepNameResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_GetGlobPatterns = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "GetGlobPatterns",
+ __Marshaller_gauge_messages_Empty,
+ __Marshaller_gauge_messages_ImplementationFileGlobPatternResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_KillProcess = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "KillProcess",
+ __Marshaller_gauge_messages_KillProcessRequest,
+ __Marshaller_gauge_messages_Empty);
+
+ /// Service descriptor
+ public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
+ {
+ get { return global::Gauge.Messages.LspReflection.Descriptor.Services[0]; }
+ }
+
+ /// Base class for server-side implementations of lspService
+ [grpc::BindServiceMethod(typeof(lspService), "BindService")]
+ public abstract partial class lspServiceBase
+ {
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task GetStepNames(global::Gauge.Messages.StepNamesRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task CacheFile(global::Gauge.Messages.CacheFileRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task GetStepPositions(global::Gauge.Messages.StepPositionsRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task GetImplementationFiles(global::Gauge.Messages.Empty request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task ImplementStub(global::Gauge.Messages.StubImplementationCodeRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task ValidateStep(global::Gauge.Messages.StepValidateRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task Refactor(global::Gauge.Messages.RefactorRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task GetStepName(global::Gauge.Messages.StepNameRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task GetGlobPatterns(global::Gauge.Messages.Empty request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task KillProcess(global::Gauge.Messages.KillProcessRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ }
+
+ /// Client for lspService
+ public partial class lspServiceClient : grpc::ClientBase
+ {
+ /// Creates a new client for lspService
+ /// The channel to use to make remote calls.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public lspServiceClient(grpc::ChannelBase channel) : base(channel)
+ {
+ }
+ /// Creates a new client for lspService that uses a custom CallInvoker.
+ /// The callInvoker to use to make remote calls.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public lspServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
+ {
+ }
+ /// Protected parameterless constructor to allow creation of test doubles.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected lspServiceClient() : base()
+ {
+ }
+ /// Protected constructor to allow creation of configured clients.
+ /// The client configuration.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected lspServiceClient(ClientBaseConfiguration configuration) : base(configuration)
+ {
+ }
+
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.StepNamesResponse GetStepNames(global::Gauge.Messages.StepNamesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetStepNames(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.StepNamesResponse GetStepNames(global::Gauge.Messages.StepNamesRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_GetStepNames, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetStepNamesAsync(global::Gauge.Messages.StepNamesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetStepNamesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetStepNamesAsync(global::Gauge.Messages.StepNamesRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_GetStepNames, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.Empty CacheFile(global::Gauge.Messages.CacheFileRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return CacheFile(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.Empty CacheFile(global::Gauge.Messages.CacheFileRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_CacheFile, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall CacheFileAsync(global::Gauge.Messages.CacheFileRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return CacheFileAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall CacheFileAsync(global::Gauge.Messages.CacheFileRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_CacheFile, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.StepPositionsResponse GetStepPositions(global::Gauge.Messages.StepPositionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetStepPositions(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.StepPositionsResponse GetStepPositions(global::Gauge.Messages.StepPositionsRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_GetStepPositions, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetStepPositionsAsync(global::Gauge.Messages.StepPositionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetStepPositionsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetStepPositionsAsync(global::Gauge.Messages.StepPositionsRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_GetStepPositions, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.ImplementationFileListResponse GetImplementationFiles(global::Gauge.Messages.Empty request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetImplementationFiles(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.ImplementationFileListResponse GetImplementationFiles(global::Gauge.Messages.Empty request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_GetImplementationFiles, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetImplementationFilesAsync(global::Gauge.Messages.Empty request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetImplementationFilesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetImplementationFilesAsync(global::Gauge.Messages.Empty request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_GetImplementationFiles, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.FileDiff ImplementStub(global::Gauge.Messages.StubImplementationCodeRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return ImplementStub(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.FileDiff ImplementStub(global::Gauge.Messages.StubImplementationCodeRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_ImplementStub, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall ImplementStubAsync(global::Gauge.Messages.StubImplementationCodeRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return ImplementStubAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall ImplementStubAsync(global::Gauge.Messages.StubImplementationCodeRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_ImplementStub, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.StepValidateResponse ValidateStep(global::Gauge.Messages.StepValidateRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return ValidateStep(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.StepValidateResponse ValidateStep(global::Gauge.Messages.StepValidateRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_ValidateStep, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall ValidateStepAsync(global::Gauge.Messages.StepValidateRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return ValidateStepAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall ValidateStepAsync(global::Gauge.Messages.StepValidateRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_ValidateStep, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.RefactorResponse Refactor(global::Gauge.Messages.RefactorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return Refactor(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.RefactorResponse Refactor(global::Gauge.Messages.RefactorRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_Refactor, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall RefactorAsync(global::Gauge.Messages.RefactorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return RefactorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall RefactorAsync(global::Gauge.Messages.RefactorRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_Refactor, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.StepNameResponse GetStepName(global::Gauge.Messages.StepNameRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetStepName(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.StepNameResponse GetStepName(global::Gauge.Messages.StepNameRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_GetStepName, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetStepNameAsync(global::Gauge.Messages.StepNameRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetStepNameAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetStepNameAsync(global::Gauge.Messages.StepNameRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_GetStepName, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.ImplementationFileGlobPatternResponse GetGlobPatterns(global::Gauge.Messages.Empty request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetGlobPatterns(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.ImplementationFileGlobPatternResponse GetGlobPatterns(global::Gauge.Messages.Empty request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_GetGlobPatterns, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetGlobPatternsAsync(global::Gauge.Messages.Empty request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetGlobPatternsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetGlobPatternsAsync(global::Gauge.Messages.Empty request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_GetGlobPatterns, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.Empty KillProcess(global::Gauge.Messages.KillProcessRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return KillProcess(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Gauge.Messages.Empty KillProcess(global::Gauge.Messages.KillProcessRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_KillProcess, null, options, request);
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall KillProcessAsync(global::Gauge.Messages.KillProcessRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return KillProcessAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ [global::System.ObsoleteAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall KillProcessAsync(global::Gauge.Messages.KillProcessRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_KillProcess, null, options, request);
+ }
+ /// Creates a new instance of client from given ClientBaseConfiguration.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected override lspServiceClient NewInstance(ClientBaseConfiguration configuration)
+ {
+ return new lspServiceClient(configuration);
+ }
+ }
+
+ /// Creates service definition that can be registered with a server
+ /// An object implementing the server-side handling logic.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public static grpc::ServerServiceDefinition BindService(lspServiceBase serviceImpl)
+ {
+ return grpc::ServerServiceDefinition.CreateBuilder()
+ .AddMethod(__Method_GetStepNames, serviceImpl.GetStepNames)
+ .AddMethod(__Method_CacheFile, serviceImpl.CacheFile)
+ .AddMethod(__Method_GetStepPositions, serviceImpl.GetStepPositions)
+ .AddMethod(__Method_GetImplementationFiles, serviceImpl.GetImplementationFiles)
+ .AddMethod(__Method_ImplementStub, serviceImpl.ImplementStub)
+ .AddMethod(__Method_ValidateStep, serviceImpl.ValidateStep)
+ .AddMethod(__Method_Refactor, serviceImpl.Refactor)
+ .AddMethod(__Method_GetStepName, serviceImpl.GetStepName)
+ .AddMethod(__Method_GetGlobPatterns, serviceImpl.GetGlobPatterns)
+ .AddMethod(__Method_KillProcess, serviceImpl.KillProcess).Build();
+ }
+
+ /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
+ /// Note: this method is part of an experimental API that can change or be removed without any prior notice.
+ /// Service methods will be bound by calling AddMethod on this object.
+ /// An object implementing the server-side handling logic.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public static void BindService(grpc::ServiceBinderBase serviceBinder, lspServiceBase serviceImpl)
+ {
+ serviceBinder.AddMethod(__Method_GetStepNames, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetStepNames));
+ serviceBinder.AddMethod(__Method_CacheFile, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CacheFile));
+ serviceBinder.AddMethod(__Method_GetStepPositions, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetStepPositions));
+ serviceBinder.AddMethod(__Method_GetImplementationFiles, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetImplementationFiles));
+ serviceBinder.AddMethod(__Method_ImplementStub, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ImplementStub));
+ serviceBinder.AddMethod(__Method_ValidateStep, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ValidateStep));
+ serviceBinder.AddMethod(__Method_Refactor, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.Refactor));
+ serviceBinder.AddMethod(__Method_GetStepName, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetStepName));
+ serviceBinder.AddMethod(__Method_GetGlobPatterns, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetGlobPatterns));
+ serviceBinder.AddMethod(__Method_KillProcess, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.KillProcess));
+ }
+
+ }
+}
+#endregion
diff --git a/src/Gauge.CSharp.Core/Messages.cs b/src/Gauge.CSharp.Core/Messages.cs
new file mode 100644
index 0000000..055db4d
--- /dev/null
+++ b/src/Gauge.CSharp.Core/Messages.cs
@@ -0,0 +1,14649 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: messages.proto
+//
+#pragma warning disable 1591, 0612, 3021, 8981
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Gauge.Messages {
+
+ /// Holder for reflection information generated from messages.proto
+ public static partial class MessagesReflection {
+
+ #region Descriptor
+ /// File descriptor for messages.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static MessagesReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Cg5tZXNzYWdlcy5wcm90bxIOZ2F1Z2UubWVzc2FnZXMaCnNwZWMucHJvdG8i",
+ "FAoSS2lsbFByb2Nlc3NSZXF1ZXN0IlgKF0V4ZWN1dGlvblN0YXR1c1Jlc3Bv",
+ "bnNlEj0KD2V4ZWN1dGlvblJlc3VsdBgBIAEoCzIkLmdhdWdlLm1lc3NhZ2Vz",
+ "LlByb3RvRXhlY3V0aW9uUmVzdWx0Ip4BChhFeGVjdXRpb25TdGFydGluZ1Jl",
+ "cXVlc3QSOwoUY3VycmVudEV4ZWN1dGlvbkluZm8YASABKAsyHS5nYXVnZS5t",
+ "ZXNzYWdlcy5FeGVjdXRpb25JbmZvEjUKC3N1aXRlUmVzdWx0GAIgASgLMiAu",
+ "Z2F1Z2UubWVzc2FnZXMuUHJvdG9TdWl0ZVJlc3VsdBIOCgZzdHJlYW0YAyAB",
+ "KAUinAEKFkV4ZWN1dGlvbkVuZGluZ1JlcXVlc3QSOwoUY3VycmVudEV4ZWN1",
+ "dGlvbkluZm8YASABKAsyHS5nYXVnZS5tZXNzYWdlcy5FeGVjdXRpb25JbmZv",
+ "EjUKC3N1aXRlUmVzdWx0GAIgASgLMiAuZ2F1Z2UubWVzc2FnZXMuUHJvdG9T",
+ "dWl0ZVJlc3VsdBIOCgZzdHJlYW0YAyABKAUioAEKHFNwZWNFeGVjdXRpb25T",
+ "dGFydGluZ1JlcXVlc3QSOwoUY3VycmVudEV4ZWN1dGlvbkluZm8YASABKAsy",
+ "HS5nYXVnZS5tZXNzYWdlcy5FeGVjdXRpb25JbmZvEjMKCnNwZWNSZXN1bHQY",
+ "AiABKAsyHy5nYXVnZS5tZXNzYWdlcy5Qcm90b1NwZWNSZXN1bHQSDgoGc3Ry",
+ "ZWFtGAMgASgFIp4BChpTcGVjRXhlY3V0aW9uRW5kaW5nUmVxdWVzdBI7ChRj",
+ "dXJyZW50RXhlY3V0aW9uSW5mbxgBIAEoCzIdLmdhdWdlLm1lc3NhZ2VzLkV4",
+ "ZWN1dGlvbkluZm8SMwoKc3BlY1Jlc3VsdBgCIAEoCzIfLmdhdWdlLm1lc3Nh",
+ "Z2VzLlByb3RvU3BlY1Jlc3VsdBIOCgZzdHJlYW0YAyABKAUirAEKIFNjZW5h",
+ "cmlvRXhlY3V0aW9uU3RhcnRpbmdSZXF1ZXN0EjsKFGN1cnJlbnRFeGVjdXRp",
+ "b25JbmZvGAEgASgLMh0uZ2F1Z2UubWVzc2FnZXMuRXhlY3V0aW9uSW5mbxI7",
+ "Cg5zY2VuYXJpb1Jlc3VsdBgCIAEoCzIjLmdhdWdlLm1lc3NhZ2VzLlByb3Rv",
+ "U2NlbmFyaW9SZXN1bHQSDgoGc3RyZWFtGAMgASgFIqoBCh5TY2VuYXJpb0V4",
+ "ZWN1dGlvbkVuZGluZ1JlcXVlc3QSOwoUY3VycmVudEV4ZWN1dGlvbkluZm8Y",
+ "ASABKAsyHS5nYXVnZS5tZXNzYWdlcy5FeGVjdXRpb25JbmZvEjsKDnNjZW5h",
+ "cmlvUmVzdWx0GAIgASgLMiMuZ2F1Z2UubWVzc2FnZXMuUHJvdG9TY2VuYXJp",
+ "b1Jlc3VsdBIOCgZzdHJlYW0YAyABKAUioAEKHFN0ZXBFeGVjdXRpb25TdGFy",
+ "dGluZ1JlcXVlc3QSOwoUY3VycmVudEV4ZWN1dGlvbkluZm8YASABKAsyHS5n",
+ "YXVnZS5tZXNzYWdlcy5FeGVjdXRpb25JbmZvEjMKCnN0ZXBSZXN1bHQYAiAB",
+ "KAsyHy5nYXVnZS5tZXNzYWdlcy5Qcm90b1N0ZXBSZXN1bHQSDgoGc3RyZWFt",
+ "GAMgASgFIp4BChpTdGVwRXhlY3V0aW9uRW5kaW5nUmVxdWVzdBI7ChRjdXJy",
+ "ZW50RXhlY3V0aW9uSW5mbxgBIAEoCzIdLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1",
+ "dGlvbkluZm8SMwoKc3RlcFJlc3VsdBgCIAEoCzIfLmdhdWdlLm1lc3NhZ2Vz",
+ "LlByb3RvU3RlcFJlc3VsdBIOCgZzdHJlYW0YAyABKAUiowEKH0NvbmNlcHRF",
+ "eGVjdXRpb25TdGFydGluZ1JlcXVlc3QSOwoUY3VycmVudEV4ZWN1dGlvbklu",
+ "Zm8YASABKAsyHS5nYXVnZS5tZXNzYWdlcy5FeGVjdXRpb25JbmZvEjMKCnN0",
+ "ZXBSZXN1bHQYAiABKAsyHy5nYXVnZS5tZXNzYWdlcy5Qcm90b1N0ZXBSZXN1",
+ "bHQSDgoGc3RyZWFtGAMgASgFIqEBCh1Db25jZXB0RXhlY3V0aW9uRW5kaW5n",
+ "UmVxdWVzdBI7ChRjdXJyZW50RXhlY3V0aW9uSW5mbxgBIAEoCzIdLmdhdWdl",
+ "Lm1lc3NhZ2VzLkV4ZWN1dGlvbkluZm8SMwoKc3RlcFJlc3VsdBgCIAEoCzIf",
+ "LmdhdWdlLm1lc3NhZ2VzLlByb3RvU3RlcFJlc3VsdBIOCgZzdHJlYW0YAyAB",
+ "KAUiMwoMRXhlY3V0aW9uQXJnEhAKCGZsYWdOYW1lGAEgASgJEhEKCWZsYWdW",
+ "YWx1ZRgCIAMoCSK2AgoNRXhlY3V0aW9uSW5mbxItCgtjdXJyZW50U3BlYxgB",
+ "IAEoCzIYLmdhdWdlLm1lc3NhZ2VzLlNwZWNJbmZvEjUKD2N1cnJlbnRTY2Vu",
+ "YXJpbxgCIAEoCzIcLmdhdWdlLm1lc3NhZ2VzLlNjZW5hcmlvSW5mbxItCgtj",
+ "dXJyZW50U3RlcBgDIAEoCzIYLmdhdWdlLm1lc3NhZ2VzLlN0ZXBJbmZvEhIK",
+ "CnN0YWNrdHJhY2UYBCABKAkSEwoLcHJvamVjdE5hbWUYBSABKAkSMwoNRXhl",
+ "Y3V0aW9uQXJncxgGIAMoCzIcLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1dGlvbkFy",
+ "ZxIgChhudW1iZXJPZkV4ZWN1dGlvblN0cmVhbXMYByABKAUSEAoIcnVubmVy",
+ "SWQYCCABKAUiSgoIU3BlY0luZm8SDAoEbmFtZRgBIAEoCRIQCghmaWxlTmFt",
+ "ZRgCIAEoCRIQCghpc0ZhaWxlZBgDIAEoCBIMCgR0YWdzGAQgAygJIjwKDFNj",
+ "ZW5hcmlvSW5mbxIMCgRuYW1lGAEgASgJEhAKCGlzRmFpbGVkGAIgASgIEgwK",
+ "BHRhZ3MYAyADKAkiiwEKCFN0ZXBJbmZvEjAKBHN0ZXAYASABKAsyIi5nYXVn",
+ "ZS5tZXNzYWdlcy5FeGVjdXRlU3RlcFJlcXVlc3QSEAoIaXNGYWlsZWQYAiAB",
+ "KAgSEgoKc3RhY2tUcmFjZRgDIAEoCRIUCgxlcnJvck1lc3NhZ2UYBCABKAkS",
+ "EQoJaXNDb25jZXB0GAUgASgIIpwBChJFeGVjdXRlU3RlcFJlcXVlc3QSFgoO",
+ "YWN0dWFsU3RlcFRleHQYASABKAkSFgoOcGFyc2VkU3RlcFRleHQYAiABKAkS",
+ "FwoPc2NlbmFyaW9GYWlsaW5nGAMgASgIEi0KCnBhcmFtZXRlcnMYBCADKAsy",
+ "GS5nYXVnZS5tZXNzYWdlcy5QYXJhbWV0ZXISDgoGc3RyZWFtGAUgASgFInYK",
+ "E1N0ZXBWYWxpZGF0ZVJlcXVlc3QSEAoIc3RlcFRleHQYASABKAkSGgoSbnVt",
+ "YmVyT2ZQYXJhbWV0ZXJzGAIgASgFEjEKCXN0ZXBWYWx1ZRgDIAEoCzIeLmdh",
+ "dWdlLm1lc3NhZ2VzLlByb3RvU3RlcFZhbHVlIucBChRTdGVwVmFsaWRhdGVS",
+ "ZXNwb25zZRIPCgdpc1ZhbGlkGAEgASgIEhQKDGVycm9yTWVzc2FnZRgCIAEo",
+ "CRJBCgllcnJvclR5cGUYAyABKA4yLi5nYXVnZS5tZXNzYWdlcy5TdGVwVmFs",
+ "aWRhdGVSZXNwb25zZS5FcnJvclR5cGUSEgoKc3VnZ2VzdGlvbhgEIAEoCSJR",
+ "CglFcnJvclR5cGUSIQodU1RFUF9JTVBMRU1FTlRBVElPTl9OT1RfRk9VTkQQ",
+ "ABIhCh1EVVBMSUNBVEVfU1RFUF9JTVBMRU1FTlRBVElPThABIk0KFFN1aXRl",
+ "RXhlY3V0aW9uUmVzdWx0EjUKC3N1aXRlUmVzdWx0GAEgASgLMiAuZ2F1Z2Uu",
+ "bWVzc2FnZXMuUHJvdG9TdWl0ZVJlc3VsdCJJChhTdWl0ZUV4ZWN1dGlvblJl",
+ "c3VsdEl0ZW0SLQoKcmVzdWx0SXRlbRgBIAEoCzIZLmdhdWdlLm1lc3NhZ2Vz",
+ "LlByb3RvSXRlbSISChBTdGVwTmFtZXNSZXF1ZXN0IiIKEVN0ZXBOYW1lc1Jl",
+ "c3BvbnNlEg0KBXN0ZXBzGAEgAygJIi4KHFNjZW5hcmlvRGF0YVN0b3JlSW5p",
+ "dFJlcXVlc3QSDgoGc3RyZWFtGAEgASgFIioKGFNwZWNEYXRhU3RvcmVJbml0",
+ "UmVxdWVzdBIOCgZzdHJlYW0YASABKAUiKwoZU3VpdGVEYXRhU3RvcmVJbml0",
+ "UmVxdWVzdBIOCgZzdHJlYW0YASABKAUiPQoRUGFyYW1ldGVyUG9zaXRpb24S",
+ "EwoLb2xkUG9zaXRpb24YASABKAUSEwoLbmV3UG9zaXRpb24YAiABKAUizQEK",
+ "D1JlZmFjdG9yUmVxdWVzdBI0CgxvbGRTdGVwVmFsdWUYASABKAsyHi5nYXVn",
+ "ZS5tZXNzYWdlcy5Qcm90b1N0ZXBWYWx1ZRI0CgxuZXdTdGVwVmFsdWUYAiAB",
+ "KAsyHi5nYXVnZS5tZXNzYWdlcy5Qcm90b1N0ZXBWYWx1ZRI5Cg5wYXJhbVBv",
+ "c2l0aW9ucxgDIAMoCzIhLmdhdWdlLm1lc3NhZ2VzLlBhcmFtZXRlclBvc2l0",
+ "aW9uEhMKC3NhdmVDaGFuZ2VzGAQgASgIImEKC0ZpbGVDaGFuZ2VzEhAKCGZp",
+ "bGVOYW1lGAEgASgJEhcKC2ZpbGVDb250ZW50GAIgASgJQgIYARInCgVkaWZm",
+ "cxgDIAMoCzIYLmdhdWdlLm1lc3NhZ2VzLlRleHREaWZmInoKEFJlZmFjdG9y",
+ "UmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCBINCgVlcnJvchgCIAEoCRIUCgxm",
+ "aWxlc0NoYW5nZWQYAyADKAkSMAoLZmlsZUNoYW5nZXMYBCADKAsyGy5nYXVn",
+ "ZS5tZXNzYWdlcy5GaWxlQ2hhbmdlcyIkCg9TdGVwTmFtZVJlcXVlc3QSEQoJ",
+ "c3RlcFZhbHVlGAEgASgJIpcBChBTdGVwTmFtZVJlc3BvbnNlEhUKDWlzU3Rl",
+ "cFByZXNlbnQYASABKAgSEAoIc3RlcE5hbWUYAiADKAkSEAoIaGFzQWxpYXMY",
+ "AyABKAgSEAoIZmlsZU5hbWUYBCABKAkSIgoEc3BhbhgFIAEoCzIULmdhdWdl",
+ "Lm1lc3NhZ2VzLlNwYW4SEgoKaXNFeHRlcm5hbBgGIAEoCCItChpVbnN1cHBv",
+ "cnRlZE1lc3NhZ2VSZXNwb25zZRIPCgdtZXNzYWdlGAEgASgJItEBChBDYWNo",
+ "ZUZpbGVSZXF1ZXN0Eg8KB2NvbnRlbnQYASABKAkSEAoIZmlsZVBhdGgYAiAB",
+ "KAkSEAoIaXNDbG9zZWQYAyABKAgSOwoGc3RhdHVzGAQgASgOMisuZ2F1Z2Uu",
+ "bWVzc2FnZXMuQ2FjaGVGaWxlUmVxdWVzdC5GaWxlU3RhdHVzIksKCkZpbGVT",
+ "dGF0dXMSCwoHQ0hBTkdFRBAAEgoKBkNMT1NFRBABEgsKB0NSRUFURUQQAhIL",
+ "CgdERUxFVEVEEAMSCgoGT1BFTkVEEAQiKAoUU3RlcFBvc2l0aW9uc1JlcXVl",
+ "c3QSEAoIZmlsZVBhdGgYASABKAkiuAEKFVN0ZXBQb3NpdGlvbnNSZXNwb25z",
+ "ZRJJCg1zdGVwUG9zaXRpb25zGAEgAygLMjIuZ2F1Z2UubWVzc2FnZXMuU3Rl",
+ "cFBvc2l0aW9uc1Jlc3BvbnNlLlN0ZXBQb3NpdGlvbhINCgVlcnJvchgCIAEo",
+ "CRpFCgxTdGVwUG9zaXRpb24SEQoJc3RlcFZhbHVlGAEgASgJEiIKBHNwYW4Y",
+ "AiABKAsyFC5nYXVnZS5tZXNzYWdlcy5TcGFuIiYKJEltcGxlbWVudGF0aW9u",
+ "RmlsZUdsb2JQYXR0ZXJuUmVxdWVzdCI9CiVJbXBsZW1lbnRhdGlvbkZpbGVH",
+ "bG9iUGF0dGVyblJlc3BvbnNlEhQKDGdsb2JQYXR0ZXJucxgBIAMoCSIfCh1J",
+ "bXBsZW1lbnRhdGlvbkZpbGVMaXN0UmVxdWVzdCJBCh5JbXBsZW1lbnRhdGlv",
+ "bkZpbGVMaXN0UmVzcG9uc2USHwoXaW1wbGVtZW50YXRpb25GaWxlUGF0aHMY",
+ "ASADKAkiTgodU3R1YkltcGxlbWVudGF0aW9uQ29kZVJlcXVlc3QSHgoWaW1w",
+ "bGVtZW50YXRpb25GaWxlUGF0aBgBIAEoCRINCgVjb2RlcxgCIAMoCSI/CghU",
+ "ZXh0RGlmZhIiCgRzcGFuGAEgASgLMhQuZ2F1Z2UubWVzc2FnZXMuU3BhbhIP",
+ "Cgdjb250ZW50GAIgASgJIkkKCEZpbGVEaWZmEhAKCGZpbGVQYXRoGAEgASgJ",
+ "EisKCXRleHREaWZmcxgCIAMoCzIYLmdhdWdlLm1lc3NhZ2VzLlRleHREaWZm",
+ "Ih0KCUtlZXBBbGl2ZRIQCghwbHVnaW5JZBgBIAEoCSKpAQoLU3BlY0RldGFp",
+ "bHMSNwoHZGV0YWlscxgBIAMoCzImLmdhdWdlLm1lc3NhZ2VzLlNwZWNEZXRh",
+ "aWxzLlNwZWNEZXRhaWwaYQoKU3BlY0RldGFpbBInCgRzcGVjGAEgASgLMhku",
+ "Z2F1Z2UubWVzc2FnZXMuUHJvdG9TcGVjEioKC3BhcnNlRXJyb3JzGAIgAygL",
+ "MhUuZ2F1Z2UubWVzc2FnZXMuRXJyb3IiBwoFRW1wdHki5x0KB01lc3NhZ2US",
+ "OAoLbWVzc2FnZVR5cGUYASABKA4yIy5nYXVnZS5tZXNzYWdlcy5NZXNzYWdl",
+ "Lk1lc3NhZ2VUeXBlEhEKCW1lc3NhZ2VJZBgCIAEoAxJKChhleGVjdXRpb25T",
+ "dGFydGluZ1JlcXVlc3QYAyABKAsyKC5nYXVnZS5tZXNzYWdlcy5FeGVjdXRp",
+ "b25TdGFydGluZ1JlcXVlc3QSUgocc3BlY0V4ZWN1dGlvblN0YXJ0aW5nUmVx",
+ "dWVzdBgEIAEoCzIsLmdhdWdlLm1lc3NhZ2VzLlNwZWNFeGVjdXRpb25TdGFy",
+ "dGluZ1JlcXVlc3QSTgoac3BlY0V4ZWN1dGlvbkVuZGluZ1JlcXVlc3QYBSAB",
+ "KAsyKi5nYXVnZS5tZXNzYWdlcy5TcGVjRXhlY3V0aW9uRW5kaW5nUmVxdWVz",
+ "dBJaCiBzY2VuYXJpb0V4ZWN1dGlvblN0YXJ0aW5nUmVxdWVzdBgGIAEoCzIw",
+ "LmdhdWdlLm1lc3NhZ2VzLlNjZW5hcmlvRXhlY3V0aW9uU3RhcnRpbmdSZXF1",
+ "ZXN0ElYKHnNjZW5hcmlvRXhlY3V0aW9uRW5kaW5nUmVxdWVzdBgHIAEoCzIu",
+ "LmdhdWdlLm1lc3NhZ2VzLlNjZW5hcmlvRXhlY3V0aW9uRW5kaW5nUmVxdWVz",
+ "dBJSChxzdGVwRXhlY3V0aW9uU3RhcnRpbmdSZXF1ZXN0GAggASgLMiwuZ2F1",
+ "Z2UubWVzc2FnZXMuU3RlcEV4ZWN1dGlvblN0YXJ0aW5nUmVxdWVzdBJOChpz",
+ "dGVwRXhlY3V0aW9uRW5kaW5nUmVxdWVzdBgJIAEoCzIqLmdhdWdlLm1lc3Nh",
+ "Z2VzLlN0ZXBFeGVjdXRpb25FbmRpbmdSZXF1ZXN0Ej4KEmV4ZWN1dGVTdGVw",
+ "UmVxdWVzdBgKIAEoCzIiLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1dGVTdGVwUmVx",
+ "dWVzdBJGChZleGVjdXRpb25FbmRpbmdSZXF1ZXN0GAsgASgLMiYuZ2F1Z2Uu",
+ "bWVzc2FnZXMuRXhlY3V0aW9uRW5kaW5nUmVxdWVzdBJAChNzdGVwVmFsaWRh",
+ "dGVSZXF1ZXN0GAwgASgLMiMuZ2F1Z2UubWVzc2FnZXMuU3RlcFZhbGlkYXRl",
+ "UmVxdWVzdBJCChRzdGVwVmFsaWRhdGVSZXNwb25zZRgNIAEoCzIkLmdhdWdl",
+ "Lm1lc3NhZ2VzLlN0ZXBWYWxpZGF0ZVJlc3BvbnNlEkgKF2V4ZWN1dGlvblN0",
+ "YXR1c1Jlc3BvbnNlGA4gASgLMicuZ2F1Z2UubWVzc2FnZXMuRXhlY3V0aW9u",
+ "U3RhdHVzUmVzcG9uc2USOgoQc3RlcE5hbWVzUmVxdWVzdBgPIAEoCzIgLmdh",
+ "dWdlLm1lc3NhZ2VzLlN0ZXBOYW1lc1JlcXVlc3QSPAoRc3RlcE5hbWVzUmVz",
+ "cG9uc2UYECABKAsyIS5nYXVnZS5tZXNzYWdlcy5TdGVwTmFtZXNSZXNwb25z",
+ "ZRJCChRzdWl0ZUV4ZWN1dGlvblJlc3VsdBgRIAEoCzIkLmdhdWdlLm1lc3Nh",
+ "Z2VzLlN1aXRlRXhlY3V0aW9uUmVzdWx0Ej4KEmtpbGxQcm9jZXNzUmVxdWVz",
+ "dBgSIAEoCzIiLmdhdWdlLm1lc3NhZ2VzLktpbGxQcm9jZXNzUmVxdWVzdBJS",
+ "ChxzY2VuYXJpb0RhdGFTdG9yZUluaXRSZXF1ZXN0GBMgASgLMiwuZ2F1Z2Uu",
+ "bWVzc2FnZXMuU2NlbmFyaW9EYXRhU3RvcmVJbml0UmVxdWVzdBJKChhzcGVj",
+ "RGF0YVN0b3JlSW5pdFJlcXVlc3QYFCABKAsyKC5nYXVnZS5tZXNzYWdlcy5T",
+ "cGVjRGF0YVN0b3JlSW5pdFJlcXVlc3QSTAoZc3VpdGVEYXRhU3RvcmVJbml0",
+ "UmVxdWVzdBgVIAEoCzIpLmdhdWdlLm1lc3NhZ2VzLlN1aXRlRGF0YVN0b3Jl",
+ "SW5pdFJlcXVlc3QSOAoPc3RlcE5hbWVSZXF1ZXN0GBYgASgLMh8uZ2F1Z2Uu",
+ "bWVzc2FnZXMuU3RlcE5hbWVSZXF1ZXN0EjoKEHN0ZXBOYW1lUmVzcG9uc2UY",
+ "FyABKAsyIC5nYXVnZS5tZXNzYWdlcy5TdGVwTmFtZVJlc3BvbnNlEjgKD3Jl",
+ "ZmFjdG9yUmVxdWVzdBgYIAEoCzIfLmdhdWdlLm1lc3NhZ2VzLlJlZmFjdG9y",
+ "UmVxdWVzdBI6ChByZWZhY3RvclJlc3BvbnNlGBkgASgLMiAuZ2F1Z2UubWVz",
+ "c2FnZXMuUmVmYWN0b3JSZXNwb25zZRJOChp1bnN1cHBvcnRlZE1lc3NhZ2VS",
+ "ZXNwb25zZRgaIAEoCzIqLmdhdWdlLm1lc3NhZ2VzLlVuc3VwcG9ydGVkTWVz",
+ "c2FnZVJlc3BvbnNlEjoKEGNhY2hlRmlsZVJlcXVlc3QYGyABKAsyIC5nYXVn",
+ "ZS5tZXNzYWdlcy5DYWNoZUZpbGVSZXF1ZXN0EkIKFHN0ZXBQb3NpdGlvbnNS",
+ "ZXF1ZXN0GBwgASgLMiQuZ2F1Z2UubWVzc2FnZXMuU3RlcFBvc2l0aW9uc1Jl",
+ "cXVlc3QSRAoVc3RlcFBvc2l0aW9uc1Jlc3BvbnNlGB0gASgLMiUuZ2F1Z2Uu",
+ "bWVzc2FnZXMuU3RlcFBvc2l0aW9uc1Jlc3BvbnNlElQKHWltcGxlbWVudGF0",
+ "aW9uRmlsZUxpc3RSZXF1ZXN0GB4gASgLMi0uZ2F1Z2UubWVzc2FnZXMuSW1w",
+ "bGVtZW50YXRpb25GaWxlTGlzdFJlcXVlc3QSVgoeaW1wbGVtZW50YXRpb25G",
+ "aWxlTGlzdFJlc3BvbnNlGB8gASgLMi4uZ2F1Z2UubWVzc2FnZXMuSW1wbGVt",
+ "ZW50YXRpb25GaWxlTGlzdFJlc3BvbnNlElQKHXN0dWJJbXBsZW1lbnRhdGlv",
+ "bkNvZGVSZXF1ZXN0GCAgASgLMi0uZ2F1Z2UubWVzc2FnZXMuU3R1YkltcGxl",
+ "bWVudGF0aW9uQ29kZVJlcXVlc3QSKgoIZmlsZURpZmYYISABKAsyGC5nYXVn",
+ "ZS5tZXNzYWdlcy5GaWxlRGlmZhJiCiRpbXBsZW1lbnRhdGlvbkZpbGVHbG9i",
+ "UGF0dGVyblJlcXVlc3QYIiABKAsyNC5nYXVnZS5tZXNzYWdlcy5JbXBsZW1l",
+ "bnRhdGlvbkZpbGVHbG9iUGF0dGVyblJlcXVlc3QSZAolaW1wbGVtZW50YXRp",
+ "b25GaWxlR2xvYlBhdHRlcm5SZXNwb25zZRgjIAEoCzI1LmdhdWdlLm1lc3Nh",
+ "Z2VzLkltcGxlbWVudGF0aW9uRmlsZUdsb2JQYXR0ZXJuUmVzcG9uc2USSgoY",
+ "c3VpdGVFeGVjdXRpb25SZXN1bHRJdGVtGCQgASgLMiguZ2F1Z2UubWVzc2Fn",
+ "ZXMuU3VpdGVFeGVjdXRpb25SZXN1bHRJdGVtEiwKCWtlZXBBbGl2ZRglIAEo",
+ "CzIZLmdhdWdlLm1lc3NhZ2VzLktlZXBBbGl2ZRJYCh9jb25jZXB0RXhlY3V0",
+ "aW9uU3RhcnRpbmdSZXF1ZXN0GCYgASgLMi8uZ2F1Z2UubWVzc2FnZXMuQ29u",
+ "Y2VwdEV4ZWN1dGlvblN0YXJ0aW5nUmVxdWVzdBJUCh1jb25jZXB0RXhlY3V0",
+ "aW9uRW5kaW5nUmVxdWVzdBgnIAEoCzItLmdhdWdlLm1lc3NhZ2VzLkNvbmNl",
+ "cHRFeGVjdXRpb25FbmRpbmdSZXF1ZXN0ItwHCgtNZXNzYWdlVHlwZRIVChFF",
+ "eGVjdXRpb25TdGFydGluZxAAEhkKFVNwZWNFeGVjdXRpb25TdGFydGluZxAB",
+ "EhcKE1NwZWNFeGVjdXRpb25FbmRpbmcQAhIdChlTY2VuYXJpb0V4ZWN1dGlv",
+ "blN0YXJ0aW5nEAMSGwoXU2NlbmFyaW9FeGVjdXRpb25FbmRpbmcQBBIZChVT",
+ "dGVwRXhlY3V0aW9uU3RhcnRpbmcQBRIXChNTdGVwRXhlY3V0aW9uRW5kaW5n",
+ "EAYSDwoLRXhlY3V0ZVN0ZXAQBxITCg9FeGVjdXRpb25FbmRpbmcQCBIXChNT",
+ "dGVwVmFsaWRhdGVSZXF1ZXN0EAkSGAoUU3RlcFZhbGlkYXRlUmVzcG9uc2UQ",
+ "ChIbChdFeGVjdXRpb25TdGF0dXNSZXNwb25zZRALEhQKEFN0ZXBOYW1lc1Jl",
+ "cXVlc3QQDBIVChFTdGVwTmFtZXNSZXNwb25zZRANEhYKEktpbGxQcm9jZXNz",
+ "UmVxdWVzdBAOEhgKFFN1aXRlRXhlY3V0aW9uUmVzdWx0EA8SGQoVU2NlbmFy",
+ "aW9EYXRhU3RvcmVJbml0EBASFQoRU3BlY0RhdGFTdG9yZUluaXQQERIWChJT",
+ "dWl0ZURhdGFTdG9yZUluaXQQEhITCg9TdGVwTmFtZVJlcXVlc3QQExIUChBT",
+ "dGVwTmFtZVJlc3BvbnNlEBQSEwoPUmVmYWN0b3JSZXF1ZXN0EBUSFAoQUmVm",
+ "YWN0b3JSZXNwb25zZRAWEh4KGlVuc3VwcG9ydGVkTWVzc2FnZVJlc3BvbnNl",
+ "EBcSFAoQQ2FjaGVGaWxlUmVxdWVzdBAYEhgKFFN0ZXBQb3NpdGlvbnNSZXF1",
+ "ZXN0EBkSGQoVU3RlcFBvc2l0aW9uc1Jlc3BvbnNlEBoSIQodSW1wbGVtZW50",
+ "YXRpb25GaWxlTGlzdFJlcXVlc3QQGxIiCh5JbXBsZW1lbnRhdGlvbkZpbGVM",
+ "aXN0UmVzcG9uc2UQHBIhCh1TdHViSW1wbGVtZW50YXRpb25Db2RlUmVxdWVz",
+ "dBAdEgwKCEZpbGVEaWZmEB4SKAokSW1wbGVtZW50YXRpb25GaWxlR2xvYlBh",
+ "dHRlcm5SZXF1ZXN0EB8SKQolSW1wbGVtZW50YXRpb25GaWxlR2xvYlBhdHRl",
+ "cm5SZXNwb25zZRAgEhwKGFN1aXRlRXhlY3V0aW9uUmVzdWx0SXRlbRAhEg0K",
+ "CUtlZXBBbGl2ZRAiEhwKGENvbmNlcHRFeGVjdXRpb25TdGFydGluZxAjEhoK",
+ "FkNvbmNlcHRFeGVjdXRpb25FbmRpbmcQJEJcChZjb20udGhvdWdodHdvcmtz",
+ "LmdhdWdlWjFnaXRodWIuY29tL2dldGdhdWdlL2dhdWdlLXByb3RvL2dvL2dh",
+ "dWdlX21lc3NhZ2VzqgIOR2F1Z2UuTWVzc2FnZXNiBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Gauge.Messages.SpecReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.KillProcessRequest), global::Gauge.Messages.KillProcessRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecutionStatusResponse), global::Gauge.Messages.ExecutionStatusResponse.Parser, new[]{ "ExecutionResult" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecutionStartingRequest), global::Gauge.Messages.ExecutionStartingRequest.Parser, new[]{ "CurrentExecutionInfo", "SuiteResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecutionEndingRequest), global::Gauge.Messages.ExecutionEndingRequest.Parser, new[]{ "CurrentExecutionInfo", "SuiteResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecExecutionStartingRequest), global::Gauge.Messages.SpecExecutionStartingRequest.Parser, new[]{ "CurrentExecutionInfo", "SpecResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecExecutionEndingRequest), global::Gauge.Messages.SpecExecutionEndingRequest.Parser, new[]{ "CurrentExecutionInfo", "SpecResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ScenarioExecutionStartingRequest), global::Gauge.Messages.ScenarioExecutionStartingRequest.Parser, new[]{ "CurrentExecutionInfo", "ScenarioResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ScenarioExecutionEndingRequest), global::Gauge.Messages.ScenarioExecutionEndingRequest.Parser, new[]{ "CurrentExecutionInfo", "ScenarioResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepExecutionStartingRequest), global::Gauge.Messages.StepExecutionStartingRequest.Parser, new[]{ "CurrentExecutionInfo", "StepResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepExecutionEndingRequest), global::Gauge.Messages.StepExecutionEndingRequest.Parser, new[]{ "CurrentExecutionInfo", "StepResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ConceptExecutionStartingRequest), global::Gauge.Messages.ConceptExecutionStartingRequest.Parser, new[]{ "CurrentExecutionInfo", "StepResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ConceptExecutionEndingRequest), global::Gauge.Messages.ConceptExecutionEndingRequest.Parser, new[]{ "CurrentExecutionInfo", "StepResult", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecutionArg), global::Gauge.Messages.ExecutionArg.Parser, new[]{ "FlagName", "FlagValue" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecutionInfo), global::Gauge.Messages.ExecutionInfo.Parser, new[]{ "CurrentSpec", "CurrentScenario", "CurrentStep", "Stacktrace", "ProjectName", "ExecutionArgs", "NumberOfExecutionStreams", "RunnerId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecInfo), global::Gauge.Messages.SpecInfo.Parser, new[]{ "Name", "FileName", "IsFailed", "Tags" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ScenarioInfo), global::Gauge.Messages.ScenarioInfo.Parser, new[]{ "Name", "IsFailed", "Tags" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepInfo), global::Gauge.Messages.StepInfo.Parser, new[]{ "Step", "IsFailed", "StackTrace", "ErrorMessage", "IsConcept" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecuteStepRequest), global::Gauge.Messages.ExecuteStepRequest.Parser, new[]{ "ActualStepText", "ParsedStepText", "ScenarioFailing", "Parameters", "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepValidateRequest), global::Gauge.Messages.StepValidateRequest.Parser, new[]{ "StepText", "NumberOfParameters", "StepValue" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepValidateResponse), global::Gauge.Messages.StepValidateResponse.Parser, new[]{ "IsValid", "ErrorMessage", "ErrorType", "Suggestion" }, null, new[]{ typeof(global::Gauge.Messages.StepValidateResponse.Types.ErrorType) }, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SuiteExecutionResult), global::Gauge.Messages.SuiteExecutionResult.Parser, new[]{ "SuiteResult" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SuiteExecutionResultItem), global::Gauge.Messages.SuiteExecutionResultItem.Parser, new[]{ "ResultItem" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepNamesRequest), global::Gauge.Messages.StepNamesRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepNamesResponse), global::Gauge.Messages.StepNamesResponse.Parser, new[]{ "Steps" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ScenarioDataStoreInitRequest), global::Gauge.Messages.ScenarioDataStoreInitRequest.Parser, new[]{ "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecDataStoreInitRequest), global::Gauge.Messages.SpecDataStoreInitRequest.Parser, new[]{ "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SuiteDataStoreInitRequest), global::Gauge.Messages.SuiteDataStoreInitRequest.Parser, new[]{ "Stream" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ParameterPosition), global::Gauge.Messages.ParameterPosition.Parser, new[]{ "OldPosition", "NewPosition" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.RefactorRequest), global::Gauge.Messages.RefactorRequest.Parser, new[]{ "OldStepValue", "NewStepValue", "ParamPositions", "SaveChanges" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.FileChanges), global::Gauge.Messages.FileChanges.Parser, new[]{ "FileName", "FileContent", "Diffs" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.RefactorResponse), global::Gauge.Messages.RefactorResponse.Parser, new[]{ "Success", "Error", "FilesChanged", "FileChanges" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepNameRequest), global::Gauge.Messages.StepNameRequest.Parser, new[]{ "StepValue" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepNameResponse), global::Gauge.Messages.StepNameResponse.Parser, new[]{ "IsStepPresent", "StepName", "HasAlias", "FileName", "Span", "IsExternal" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.UnsupportedMessageResponse), global::Gauge.Messages.UnsupportedMessageResponse.Parser, new[]{ "Message" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.CacheFileRequest), global::Gauge.Messages.CacheFileRequest.Parser, new[]{ "Content", "FilePath", "IsClosed", "Status" }, null, new[]{ typeof(global::Gauge.Messages.CacheFileRequest.Types.FileStatus) }, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepPositionsRequest), global::Gauge.Messages.StepPositionsRequest.Parser, new[]{ "FilePath" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepPositionsResponse), global::Gauge.Messages.StepPositionsResponse.Parser, new[]{ "StepPositions", "Error" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepPositionsResponse.Types.StepPosition), global::Gauge.Messages.StepPositionsResponse.Types.StepPosition.Parser, new[]{ "StepValue", "Span" }, null, null, null, null)}),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ImplementationFileGlobPatternRequest), global::Gauge.Messages.ImplementationFileGlobPatternRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ImplementationFileGlobPatternResponse), global::Gauge.Messages.ImplementationFileGlobPatternResponse.Parser, new[]{ "GlobPatterns" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ImplementationFileListRequest), global::Gauge.Messages.ImplementationFileListRequest.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ImplementationFileListResponse), global::Gauge.Messages.ImplementationFileListResponse.Parser, new[]{ "ImplementationFilePaths" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StubImplementationCodeRequest), global::Gauge.Messages.StubImplementationCodeRequest.Parser, new[]{ "ImplementationFilePath", "Codes" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.TextDiff), global::Gauge.Messages.TextDiff.Parser, new[]{ "Span", "Content" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.FileDiff), global::Gauge.Messages.FileDiff.Parser, new[]{ "FilePath", "TextDiffs" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.KeepAlive), global::Gauge.Messages.KeepAlive.Parser, new[]{ "PluginId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecDetails), global::Gauge.Messages.SpecDetails.Parser, new[]{ "Details" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecDetails.Types.SpecDetail), global::Gauge.Messages.SpecDetails.Types.SpecDetail.Parser, new[]{ "Spec", "ParseErrors" }, null, null, null, null)}),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.Empty), global::Gauge.Messages.Empty.Parser, null, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.Message), global::Gauge.Messages.Message.Parser, new[]{ "MessageType", "MessageId", "ExecutionStartingRequest", "SpecExecutionStartingRequest", "SpecExecutionEndingRequest", "ScenarioExecutionStartingRequest", "ScenarioExecutionEndingRequest", "StepExecutionStartingRequest", "StepExecutionEndingRequest", "ExecuteStepRequest", "ExecutionEndingRequest", "StepValidateRequest", "StepValidateResponse", "ExecutionStatusResponse", "StepNamesRequest", "StepNamesResponse", "SuiteExecutionResult", "KillProcessRequest", "ScenarioDataStoreInitRequest", "SpecDataStoreInitRequest", "SuiteDataStoreInitRequest", "StepNameRequest", "StepNameResponse", "RefactorRequest", "RefactorResponse", "UnsupportedMessageResponse", "CacheFileRequest", "StepPositionsRequest", "StepPositionsResponse", "ImplementationFileListRequest", "ImplementationFileListResponse", "StubImplementationCodeRequest", "FileDiff", "ImplementationFileGlobPatternRequest", "ImplementationFileGlobPatternResponse", "SuiteExecutionResultItem", "KeepAlive", "ConceptExecutionStartingRequest", "ConceptExecutionEndingRequest" }, null, new[]{ typeof(global::Gauge.Messages.Message.Types.MessageType) }, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ ///
+ //// Default request. Tells the runner to shutdown.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class KillProcessRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser